diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..367e8e5 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,32 @@ +--- +name: Bug report +about: 'Something is not working as expected ' +title: '' +labels: bug +assignees: '' + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Versions (please complete the following information):** + - Beat Saber: [e.g. 1.0.0] + - Beat On Release: [e.g. 1.0.0] + - Sidequest [e.g. 5.0.0] + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..91161ee --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,23 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '' +labels: enhancement +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Screenshots** +If possible, add screenshots to help explain your idea. + +**Additional context** +Add any other context or screenshots about the feature request here. diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md new file mode 100644 index 0000000..80c472a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.md @@ -0,0 +1,11 @@ +--- +name: Question +about: There is something I want to ask +title: '' +labels: question +assignees: '' + +--- + +**What is your question?** +A clear and concise description of what the question is. Ex. how do I install Beat On? [...] diff --git a/.gitignore b/.gitignore index c06d066..f5339f1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ # Built application files *.apk +!beaton-wrapper.apk *.ap_ # Files for the ART/Dalvik VM @@ -41,6 +42,11 @@ captures/ .idea/dictionaries .idea/libraries .idea/caches +.idea/deployment.xml +.idea/encodings.xml +.idea/markdown-navigator.xml +.idea/markdown-navigator/ +.idea/modules.xml # Keystore files # Uncomment the following line if you do not want to check your keystore files in. diff --git a/.gitmodules b/.gitmodules index 826dd75..bcaf6a6 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,3 +4,6 @@ [submodule "beatsaber-hook"] path = beatsaber-hook url = https://github.com/emulamer/beatsaber-hook +[submodule "SyncSaberService"] + path = SyncSaberService + url = https://github.com/Zingabopp/SyncSaberService/ diff --git a/BeatOn.sln b/BeatOn.sln index 246cd97..c04c868 100644 --- a/BeatOn.sln +++ b/BeatOn.sln @@ -15,6 +15,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "InstallHelperInterop", "Ins EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assplorer", "QuestomAssets\Assplorer\Assplorer.csproj", "{97BB1A0F-E383-4AE6-9AAC-8CA2F24C577F}" EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BeatmapAssetMaker", "QuestomAssets\BeatMapAssetMaker\BeatmapAssetMaker.csproj", "{DB4F8C58-2479-4C96-85C9-F06D2DA36ECB}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FeedReader", "SyncSaberService\FeedReader\FeedReader.csproj", "{D846C41A-95F1-468B-8B29-738CF3D92C3E}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -61,18 +65,18 @@ Global {DC823CC6-E535-456D-8401-94596DFA6D8F}.Debug|x64.Build.0 = Debug|Any CPU {DC823CC6-E535-456D-8401-94596DFA6D8F}.Debug|x86.ActiveCfg = Debug|Any CPU {DC823CC6-E535-456D-8401-94596DFA6D8F}.Debug|x86.Build.0 = Debug|Any CPU - {DC823CC6-E535-456D-8401-94596DFA6D8F}.Emulator Debug|Any CPU.ActiveCfg = Emulator Debug|Any CPU - {DC823CC6-E535-456D-8401-94596DFA6D8F}.Emulator Debug|Any CPU.Build.0 = Emulator Debug|Any CPU - {DC823CC6-E535-456D-8401-94596DFA6D8F}.Emulator Debug|x64.ActiveCfg = Emulator Debug|Any CPU - {DC823CC6-E535-456D-8401-94596DFA6D8F}.Emulator Debug|x64.Build.0 = Emulator Debug|Any CPU - {DC823CC6-E535-456D-8401-94596DFA6D8F}.Emulator Debug|x86.ActiveCfg = Emulator Debug|Any CPU - {DC823CC6-E535-456D-8401-94596DFA6D8F}.Emulator Debug|x86.Build.0 = Emulator Debug|Any CPU - {DC823CC6-E535-456D-8401-94596DFA6D8F}.Profiler|Any CPU.ActiveCfg = Profiler|Any CPU - {DC823CC6-E535-456D-8401-94596DFA6D8F}.Profiler|Any CPU.Build.0 = Profiler|Any CPU - {DC823CC6-E535-456D-8401-94596DFA6D8F}.Profiler|x64.ActiveCfg = Profiler|Any CPU - {DC823CC6-E535-456D-8401-94596DFA6D8F}.Profiler|x64.Build.0 = Profiler|Any CPU - {DC823CC6-E535-456D-8401-94596DFA6D8F}.Profiler|x86.ActiveCfg = Profiler|Any CPU - {DC823CC6-E535-456D-8401-94596DFA6D8F}.Profiler|x86.Build.0 = Profiler|Any CPU + {DC823CC6-E535-456D-8401-94596DFA6D8F}.Emulator Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DC823CC6-E535-456D-8401-94596DFA6D8F}.Emulator Debug|Any CPU.Build.0 = Debug|Any CPU + {DC823CC6-E535-456D-8401-94596DFA6D8F}.Emulator Debug|x64.ActiveCfg = Debug|Any CPU + {DC823CC6-E535-456D-8401-94596DFA6D8F}.Emulator Debug|x64.Build.0 = Debug|Any CPU + {DC823CC6-E535-456D-8401-94596DFA6D8F}.Emulator Debug|x86.ActiveCfg = Debug|Any CPU + {DC823CC6-E535-456D-8401-94596DFA6D8F}.Emulator Debug|x86.Build.0 = Debug|Any CPU + {DC823CC6-E535-456D-8401-94596DFA6D8F}.Profiler|Any CPU.ActiveCfg = Release|Any CPU + {DC823CC6-E535-456D-8401-94596DFA6D8F}.Profiler|Any CPU.Build.0 = Release|Any CPU + {DC823CC6-E535-456D-8401-94596DFA6D8F}.Profiler|x64.ActiveCfg = Release|Any CPU + {DC823CC6-E535-456D-8401-94596DFA6D8F}.Profiler|x64.Build.0 = Release|Any CPU + {DC823CC6-E535-456D-8401-94596DFA6D8F}.Profiler|x86.ActiveCfg = Release|Any CPU + {DC823CC6-E535-456D-8401-94596DFA6D8F}.Profiler|x86.Build.0 = Release|Any CPU {DC823CC6-E535-456D-8401-94596DFA6D8F}.Release|Any CPU.ActiveCfg = Release|Any CPU {DC823CC6-E535-456D-8401-94596DFA6D8F}.Release|Any CPU.Build.0 = Release|Any CPU {DC823CC6-E535-456D-8401-94596DFA6D8F}.Release|x64.ActiveCfg = Release|Any CPU @@ -187,6 +191,54 @@ Global {97BB1A0F-E383-4AE6-9AAC-8CA2F24C577F}.Release|x64.Build.0 = Release|Any CPU {97BB1A0F-E383-4AE6-9AAC-8CA2F24C577F}.Release|x86.ActiveCfg = Release|Any CPU {97BB1A0F-E383-4AE6-9AAC-8CA2F24C577F}.Release|x86.Build.0 = Release|Any CPU + {DB4F8C58-2479-4C96-85C9-F06D2DA36ECB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DB4F8C58-2479-4C96-85C9-F06D2DA36ECB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DB4F8C58-2479-4C96-85C9-F06D2DA36ECB}.Debug|x64.ActiveCfg = Debug|Any CPU + {DB4F8C58-2479-4C96-85C9-F06D2DA36ECB}.Debug|x64.Build.0 = Debug|Any CPU + {DB4F8C58-2479-4C96-85C9-F06D2DA36ECB}.Debug|x86.ActiveCfg = Debug|Any CPU + {DB4F8C58-2479-4C96-85C9-F06D2DA36ECB}.Debug|x86.Build.0 = Debug|Any CPU + {DB4F8C58-2479-4C96-85C9-F06D2DA36ECB}.Emulator Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DB4F8C58-2479-4C96-85C9-F06D2DA36ECB}.Emulator Debug|Any CPU.Build.0 = Debug|Any CPU + {DB4F8C58-2479-4C96-85C9-F06D2DA36ECB}.Emulator Debug|x64.ActiveCfg = Debug|Any CPU + {DB4F8C58-2479-4C96-85C9-F06D2DA36ECB}.Emulator Debug|x64.Build.0 = Debug|Any CPU + {DB4F8C58-2479-4C96-85C9-F06D2DA36ECB}.Emulator Debug|x86.ActiveCfg = Debug|Any CPU + {DB4F8C58-2479-4C96-85C9-F06D2DA36ECB}.Emulator Debug|x86.Build.0 = Debug|Any CPU + {DB4F8C58-2479-4C96-85C9-F06D2DA36ECB}.Profiler|Any CPU.ActiveCfg = Debug|Any CPU + {DB4F8C58-2479-4C96-85C9-F06D2DA36ECB}.Profiler|Any CPU.Build.0 = Debug|Any CPU + {DB4F8C58-2479-4C96-85C9-F06D2DA36ECB}.Profiler|x64.ActiveCfg = Debug|Any CPU + {DB4F8C58-2479-4C96-85C9-F06D2DA36ECB}.Profiler|x64.Build.0 = Debug|Any CPU + {DB4F8C58-2479-4C96-85C9-F06D2DA36ECB}.Profiler|x86.ActiveCfg = Debug|Any CPU + {DB4F8C58-2479-4C96-85C9-F06D2DA36ECB}.Profiler|x86.Build.0 = Debug|Any CPU + {DB4F8C58-2479-4C96-85C9-F06D2DA36ECB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DB4F8C58-2479-4C96-85C9-F06D2DA36ECB}.Release|Any CPU.Build.0 = Release|Any CPU + {DB4F8C58-2479-4C96-85C9-F06D2DA36ECB}.Release|x64.ActiveCfg = Release|Any CPU + {DB4F8C58-2479-4C96-85C9-F06D2DA36ECB}.Release|x64.Build.0 = Release|Any CPU + {DB4F8C58-2479-4C96-85C9-F06D2DA36ECB}.Release|x86.ActiveCfg = Release|Any CPU + {DB4F8C58-2479-4C96-85C9-F06D2DA36ECB}.Release|x86.Build.0 = Release|Any CPU + {D846C41A-95F1-468B-8B29-738CF3D92C3E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D846C41A-95F1-468B-8B29-738CF3D92C3E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D846C41A-95F1-468B-8B29-738CF3D92C3E}.Debug|x64.ActiveCfg = Debug|Any CPU + {D846C41A-95F1-468B-8B29-738CF3D92C3E}.Debug|x64.Build.0 = Debug|Any CPU + {D846C41A-95F1-468B-8B29-738CF3D92C3E}.Debug|x86.ActiveCfg = Debug|Any CPU + {D846C41A-95F1-468B-8B29-738CF3D92C3E}.Debug|x86.Build.0 = Debug|Any CPU + {D846C41A-95F1-468B-8B29-738CF3D92C3E}.Emulator Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D846C41A-95F1-468B-8B29-738CF3D92C3E}.Emulator Debug|Any CPU.Build.0 = Debug|Any CPU + {D846C41A-95F1-468B-8B29-738CF3D92C3E}.Emulator Debug|x64.ActiveCfg = Debug|Any CPU + {D846C41A-95F1-468B-8B29-738CF3D92C3E}.Emulator Debug|x64.Build.0 = Debug|Any CPU + {D846C41A-95F1-468B-8B29-738CF3D92C3E}.Emulator Debug|x86.ActiveCfg = Debug|Any CPU + {D846C41A-95F1-468B-8B29-738CF3D92C3E}.Emulator Debug|x86.Build.0 = Debug|Any CPU + {D846C41A-95F1-468B-8B29-738CF3D92C3E}.Profiler|Any CPU.ActiveCfg = Debug|Any CPU + {D846C41A-95F1-468B-8B29-738CF3D92C3E}.Profiler|Any CPU.Build.0 = Debug|Any CPU + {D846C41A-95F1-468B-8B29-738CF3D92C3E}.Profiler|x64.ActiveCfg = Debug|Any CPU + {D846C41A-95F1-468B-8B29-738CF3D92C3E}.Profiler|x64.Build.0 = Debug|Any CPU + {D846C41A-95F1-468B-8B29-738CF3D92C3E}.Profiler|x86.ActiveCfg = Debug|Any CPU + {D846C41A-95F1-468B-8B29-738CF3D92C3E}.Profiler|x86.Build.0 = Debug|Any CPU + {D846C41A-95F1-468B-8B29-738CF3D92C3E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D846C41A-95F1-468B-8B29-738CF3D92C3E}.Release|Any CPU.Build.0 = Release|Any CPU + {D846C41A-95F1-468B-8B29-738CF3D92C3E}.Release|x64.ActiveCfg = Release|Any CPU + {D846C41A-95F1-468B-8B29-738CF3D92C3E}.Release|x64.Build.0 = Release|Any CPU + {D846C41A-95F1-468B-8B29-738CF3D92C3E}.Release|x86.ActiveCfg = Release|Any CPU + {D846C41A-95F1-468B-8B29-738CF3D92C3E}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/BeatOn/Assets/resources/Lawless.png b/BeatOn/Assets/resources/Lawless.png new file mode 100644 index 0000000..75fc258 Binary files /dev/null and b/BeatOn/Assets/resources/Lawless.png differ diff --git a/BeatOn/Assets/resources/LightShow.png b/BeatOn/Assets/resources/LightShow.png new file mode 100644 index 0000000..0ad7320 Binary files /dev/null and b/BeatOn/Assets/resources/LightShow.png differ diff --git a/BeatOn/Assets/www/3rdpartylicenses.txt b/BeatOn/Assets/www/3rdpartylicenses.txt index 2be1d17..12e28c7 100644 --- a/BeatOn/Assets/www/3rdpartylicenses.txt +++ b/BeatOn/Assets/www/3rdpartylicenses.txt @@ -91,16 +91,28 @@ THE SOFTWARE. @angular/material/card +@angular/material/checkbox + +@angular/material/chips + +@angular/material/core + @angular/material/dialog @angular/material/form-field +@angular/material/grid-list + @angular/material/icon +@angular/material/list + @angular/material/menu @angular/material/progress-spinner +@angular/material/slide-toggle + @angular/material/tabs @angular/material/toolbar @@ -368,6 +380,106 @@ Apache-2.0 See the License for the specific language governing permissions and limitations under the License. +ng-lazyload-image +MIT +The MIT License (MIT) + +Copyright (c) 2016 Oskar Karlsson + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +ngx-color-picker +MIT +MIT License + +Copyright (c) 2017 ZEF Oy + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +ngx-cookie-service +MIT +MIT License + +Copyright (c) 2017 7leads GmbH + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +ngx-smart-modal +MIT +MIT License + +Copyright (c) 2017 BiiG + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + ngx-toastr MIT The MIT License (MIT) diff --git a/BeatOn/Assets/www/MaterialIcons-Regular.e79bfd88537def476913.eot b/BeatOn/Assets/www/MaterialIcons-Regular.eot similarity index 100% rename from BeatOn/Assets/www/MaterialIcons-Regular.e79bfd88537def476913.eot rename to BeatOn/Assets/www/MaterialIcons-Regular.eot diff --git a/BeatOn/Assets/www/MaterialIcons-Regular.a37b0c01c0baf1888ca8.ttf b/BeatOn/Assets/www/MaterialIcons-Regular.ttf similarity index 100% rename from BeatOn/Assets/www/MaterialIcons-Regular.a37b0c01c0baf1888ca8.ttf rename to BeatOn/Assets/www/MaterialIcons-Regular.ttf diff --git a/BeatOn/Assets/www/MaterialIcons-Regular.012cf6a10129e2275d79.woff b/BeatOn/Assets/www/MaterialIcons-Regular.woff similarity index 100% rename from BeatOn/Assets/www/MaterialIcons-Regular.012cf6a10129e2275d79.woff rename to BeatOn/Assets/www/MaterialIcons-Regular.woff diff --git a/BeatOn/Assets/www/MaterialIcons-Regular.570eb83859dc23dd0eec.woff2 b/BeatOn/Assets/www/MaterialIcons-Regular.woff2 similarity index 100% rename from BeatOn/Assets/www/MaterialIcons-Regular.570eb83859dc23dd0eec.woff2 rename to BeatOn/Assets/www/MaterialIcons-Regular.woff2 diff --git a/BeatOn/Assets/www/assets/default-pack-cover.png b/BeatOn/Assets/www/assets/default-pack-cover.png new file mode 100644 index 0000000..1c41180 Binary files /dev/null and b/BeatOn/Assets/www/assets/default-pack-cover.png differ diff --git a/BeatOn/Assets/www/assets/gameplay.png b/BeatOn/Assets/www/assets/gameplay.png new file mode 100644 index 0000000..5fa0eb7 Binary files /dev/null and b/BeatOn/Assets/www/assets/gameplay.png differ diff --git a/BeatOn/Assets/www/assets/library.png b/BeatOn/Assets/www/assets/library.png new file mode 100644 index 0000000..d048052 Binary files /dev/null and b/BeatOn/Assets/www/assets/library.png differ diff --git a/BeatOn/Assets/www/assets/note.png b/BeatOn/Assets/www/assets/note.png new file mode 100644 index 0000000..2346b77 Binary files /dev/null and b/BeatOn/Assets/www/assets/note.png differ diff --git a/BeatOn/Assets/www/assets/other.png b/BeatOn/Assets/www/assets/other.png new file mode 100644 index 0000000..6f0bfc5 Binary files /dev/null and b/BeatOn/Assets/www/assets/other.png differ diff --git a/BeatOn/Assets/www/assets/saber.png b/BeatOn/Assets/www/assets/saber.png new file mode 100644 index 0000000..7570473 Binary files /dev/null and b/BeatOn/Assets/www/assets/saber.png differ diff --git a/BeatOn/Assets/www/index.html b/BeatOn/Assets/www/index.html index ea29a1f..95bb0bb 100644 --- a/BeatOn/Assets/www/index.html +++ b/BeatOn/Assets/www/index.html @@ -3,15 +3,15 @@ Beat On - + - + - + diff --git a/BeatOn/Assets/www/logo.6c1a8c36d9fd1df75fae.png b/BeatOn/Assets/www/logo.png similarity index 100% rename from BeatOn/Assets/www/logo.6c1a8c36d9fd1df75fae.png rename to BeatOn/Assets/www/logo.png diff --git a/BeatOn/Assets/www/main-es2015.302915d7041f1503b021.js b/BeatOn/Assets/www/main-es2015.302915d7041f1503b021.js deleted file mode 100644 index 9ed000a..0000000 --- a/BeatOn/Assets/www/main-es2015.302915d7041f1503b021.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(t,e,n){t.exports=n("zUnb")},yLV6:function(t,e,n){var a;!function(o,r,i,s){"use strict";var l,c=["","webkit","Moz","MS","ms","o"],d=r.createElement("div"),u="function",m=Math.round,h=Math.abs,g=Date.now;function p(t,e,n){return setTimeout(M(t,n),e)}function f(t,e,n){return!!Array.isArray(t)&&(b(t,n[e],n),!0)}function b(t,e,n){var a;if(t)if(t.forEach)t.forEach(e,n);else if(t.length!==s)for(a=0;a\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",r=o.console&&(o.console.warn||o.console.log);return r&&r.call(o.console,a,n),t.apply(this,arguments)}}l="function"!=typeof Object.assign?function(t){if(t===s||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n-1}function E(t){return t.trim().split(/\s+/g)}function T(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var a=0;an[e]}):a.sort()),a}function A(t,e){for(var n,a,o=e[0].toUpperCase()+e.slice(1),r=0;r1&&!n.firstMultiple?n.firstMultiple=et(e):1===o&&(n.firstMultiple=!1);var r=n.firstInput,i=n.firstMultiple,l=i?i.center:r.center,c=e.center=nt(a);e.timeStamp=g(),e.deltaTime=e.timeStamp-r.timeStamp,e.angle=it(l,c),e.distance=rt(l,c),function(t,e){var n=e.center,a=t.offsetDelta||{},o=t.prevDelta||{},r=t.prevInput||{};e.eventType!==B&&r.eventType!==H||(o=t.prevDelta={x:r.deltaX||0,y:r.deltaY||0},a=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=o.x+(n.x-a.x),e.deltaY=o.y+(n.y-a.y)}(n,e),e.offsetDirection=ot(e.deltaX,e.deltaY);var d,u,m=at(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=m.x,e.overallVelocityY=m.y,e.overallVelocity=h(m.x)>h(m.y)?m.x:m.y,e.scale=i?(d=i.pointers,rt((u=a)[0],u[1],X)/rt(d[0],d[1],X)):1,e.rotation=i?function(t,e){return it(a[1],a[0],X)+it(t[1],t[0],X)}(i.pointers):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,function(t,e){var n,a,o,r,i=t.lastInterval||e,l=e.timeStamp-i.timeStamp;if(e.eventType!=j&&(l>V||i.velocity===s)){var c=e.deltaX-i.deltaX,d=e.deltaY-i.deltaY,u=at(l,c,d);a=u.x,o=u.y,n=h(u.x)>h(u.y)?u.x:u.y,r=ot(c,d),t.lastInterval=e}else n=i.velocity,a=i.velocityX,o=i.velocityY,r=i.direction;e.velocity=n,e.velocityX=a,e.velocityY=o,e.direction=r}(n,e);var p=t.element;k(e.srcEvent.target,p)&&(p=e.srcEvent.target),e.target=p}(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function et(t){for(var e=[],n=0;n=h(e)?t<0?$:q:e<0?W:Y}function rt(t,e,n){n||(n=K);var a=e[n[0]]-t[n[0]],o=e[n[1]]-t[n[1]];return Math.sqrt(a*a+o*o)}function it(t,e,n){return n||(n=K),180*Math.atan2(e[n[1]]-t[n[1]],e[n[0]]-t[n[0]])/Math.PI}J.prototype={handler:function(){},init:function(){this.evEl&&x(this.element,this.evEl,this.domHandler),this.evTarget&&x(this.target,this.evTarget,this.domHandler),this.evWin&&x(N(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&w(this.element,this.evEl,this.domHandler),this.evTarget&&w(this.target,this.evTarget,this.domHandler),this.evWin&&w(N(this.element),this.evWin,this.domHandler)}};var st={mousedown:B,mousemove:2,mouseup:H},lt="mousedown",ct="mousemove mouseup";function dt(){this.evEl=lt,this.evWin=ct,this.pressed=!1,J.apply(this,arguments)}O(dt,J,{handler:function(t){var e=st[t.type];e&B&&0===t.button&&(this.pressed=!0),2&e&&1!==t.which&&(e=H),this.pressed&&(e&H&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:"mouse",srcEvent:t}))}});var ut={pointerdown:B,pointermove:2,pointerup:H,pointercancel:j,pointerout:j},mt={2:"touch",3:"pen",4:"mouse",5:"kinect"},ht="pointerdown",gt="pointermove pointerup pointercancel";function pt(){this.evEl=ht,this.evWin=gt,J.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}o.MSPointerEvent&&!o.PointerEvent&&(ht="MSPointerDown",gt="MSPointerMove MSPointerUp MSPointerCancel"),O(pt,J,{handler:function(t){var e=this.store,n=!1,a=t.type.toLowerCase().replace("ms",""),o=ut[a],r=mt[t.pointerType]||t.pointerType,i="touch"==r,s=T(e,t.pointerId,"pointerId");o&B&&(0===t.button||i)?s<0&&(e.push(t),s=e.length-1):o&(H|j)&&(n=!0),s<0||(e[s]=t,this.callback(this.manager,o,{pointers:e,changedPointers:[t],pointerType:r,srcEvent:t}),n&&e.splice(s,1))}});var ft={touchstart:B,touchmove:2,touchend:H,touchcancel:j},bt="touchstart",_t="touchstart touchmove touchend touchcancel";function Ct(){this.evTarget=bt,this.evWin=_t,this.started=!1,J.apply(this,arguments)}O(Ct,J,{handler:function(t){var e=ft[t.type];if(e===B&&(this.started=!0),this.started){var n=(function(t,e){var n=I(t.touches),a=I(t.changedTouches);return e&(H|j)&&(n=R(n.concat(a),"identifier",!0)),[n,a]}).call(this,t,e);e&(H|j)&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:t})}}});var Pt={touchstart:B,touchmove:2,touchend:H,touchcancel:j},Ot="touchstart touchmove touchend touchcancel";function Mt(){this.evTarget=Ot,this.targetIds={},J.apply(this,arguments)}O(Mt,J,{handler:function(t){var e=Pt[t.type],n=(function(t,e){var n=I(t.touches),a=this.targetIds;if(e&(2|B)&&1===n.length)return a[n[0].identifier]=!0,[n,n];var o,r,i=I(t.changedTouches),s=[],l=this.target;if(r=n.filter(function(t){return k(t.target,l)}),e===B)for(o=0;o-1&&a.splice(t,1)},yt)}}O(vt,J,{handler:function(t,e,n){var a="mouse"==n.pointerType;if(!(a&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if("touch"==n.pointerType)(function(t,e){t&B?(this.primaryTouch=e.changedPointers[0].identifier,xt.call(this,e)):t&(H|j)&&xt.call(this,e)}).call(this,e,n);else if(a&&(function(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,a=0;a-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var e=this,n=this.state;function a(n){e.manager.emit(n,t)}n=At&&a(e.options.event+Lt(n))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=32},canEmit:function(){for(var t=0;te.threshold&&o&e.direction},attrTest:function(t){return Bt.prototype.attrTest.call(this,t)&&(this.state&It||!(this.state&It)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=Ft(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),O(jt,Bt,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&It)},emit:function(t){1!==t.scale&&(t.additionalEvent=this.options.event+(t.scale<1?"in":"out")),this._super.emit.call(this,t)}}),O(Ut,zt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,a=t.distancee.time;if(this._input=t,!a||!n||t.eventType&(H|j)&&!o)this.reset();else if(t.eventType&B)this.reset(),this._timer=p(function(){this.state=Dt,this.tryEmit()},e.time,this);else if(t.eventType&H)return Dt;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===Dt&&(t&&t.eventType&H?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=g(),this.manager.emit(this.options.event,this._input)))}}),O($t,Bt,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&It)}}),O(qt,Bt,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:G|Z,pointers:1},getTouchAction:function(){return Ht.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&(G|Z)?e=t.overallVelocity:n&G?e=t.overallVelocityX:n&Z&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&h(e)>this.options.velocity&&t.eventType&H},emit:function(t){var e=Ft(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),O(Wt,zt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return["manipulation"]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,a=t.distance{throw t})}const s={closed:!0,next(t){},error(t){if(r.useDeprecatedSynchronousErrorHandling)throw t;i(t)},complete(){}},l=Array.isArray||(t=>t&&"number"==typeof t.length);function c(t){return null!==t&&"object"==typeof t}function d(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}d.prototype=Object.create(Error.prototype);const u=d,m=(()=>{class t{constructor(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}unsubscribe(){let t,e=!1;if(this.closed)return;let{_parent:n,_parents:o,_unsubscribe:r,_subscriptions:i}=this;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;let s=-1,d=o?o.length:0;for(;n;)n.remove(this),n=++st.concat(e instanceof u?e.errors:e),[])}const g="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class p extends m{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=s;break;case 1:if(!t){this.destination=s;break}if("object"==typeof t){t instanceof p?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new f(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new f(this,t,e,n)}}[g](){return this}static create(t,e,n){const a=new p(t,e,n);return a.syncErrorThrowable=!1,a}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{_parent:t,_parents:e}=this;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=t,this._parents=e,this}}class f extends p{constructor(t,e,n,o){let r;super(),this._parentSubscriber=t;let i=this;a(e)?r=e:e&&(r=e.next,n=e.error,o=e.complete,e!==s&&(a((i=Object.create(e)).unsubscribe)&&this.add(i.unsubscribe.bind(i)),i.unsubscribe=this.unsubscribe.bind(this))),this._context=i,this._next=r,this._error=n,this._complete=o}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;r.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}=r;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):i(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;i(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);r.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(),r.useDeprecatedSynchronousErrorHandling)throw n;i(n)}}__tryOrSetError(t,e,n){if(!r.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(a){return r.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=a,t.syncErrorThrown=!0,!0):(i(a),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const b="function"==typeof Symbol&&Symbol.observable||"@@observable";function _(){}function C(...t){return P(t)}function P(t){return t?1===t.length?t[0]:function(e){return t.reduce((t,e)=>e(t),e)}:_}const O=(()=>{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:a}=this,o=function(t,e,n){if(t){if(t instanceof p)return t;if(t[g])return t[g]()}return t||e||n?new p(t,e,n):new p(s)}(t,e,n);if(o.add(a?a.call(o,this.source):this.source||r.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),r.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o}_trySubscribe(t){try{return this._subscribe(t)}catch(e){r.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:a}=t;if(e||a)return!1;t=n&&n instanceof p?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=M(e))((e,n)=>{let a;a=this.subscribe(e=>{try{t(e)}catch(o){n(o),a&&a.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[b](){return this}pipe(...t){return 0===t.length?this:P(t)(this)}toPromise(t){return new(t=M(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=(e=>new t(e)),t})();function M(t){if(t||(t=r.Promise||Promise),!t)throw new Error("no Promise impl found");return t}function y(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}y.prototype=Object.create(Error.prototype);const v=y;class x extends m{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}class w extends p{constructor(t){super(t),this.destination=t}}const k=(()=>{class t extends O{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[g](){return new w(this)}lift(t){const e=new S(this,this);return e.operator=t,e}next(t){if(this.closed)throw new v;if(!this.isStopped){const{observers:e}=this,n=e.length,a=e.slice();for(let o=0;onew S(t,e)),t})();class S extends k{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):m.EMPTY}}function E(t){return t&&"function"==typeof t.schedule}class T extends p{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}const I=t=>e=>{for(let n=0,a=t.length;ne=>(t.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,i),e);function A(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const D=A(),N=t=>e=>{const n=t[D]();for(;;){const t=n.next();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},z=t=>e=>{const n=t[b]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)},L=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function F(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const V=t=>{if(t instanceof O)return e=>t._isScalar?(e.next(t.value),void e.complete()):t.subscribe(e);if(t&&"function"==typeof t[b])return z(t);if(L(t))return I(t);if(F(t))return R(t);if(t&&"function"==typeof t[D])return N(t);{const e=c(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected.`+" You can provide an Observable, Promise, Array, or Iterable.")}};function B(t,e,n,a,o=new T(t,n,a)){if(!o.closed)return V(e)(o)}class H extends p{notifyNext(t,e,n,a,o){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}function j(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 U(t,e))}}class U{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new $(t,this.project,this.thisArg))}}class $ extends p{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}function q(t,e){return new O(e?n=>{const a=new m;let o=0;return a.add(e.schedule(function(){o!==t.length?(n.next(t[o++]),n.closed||a.add(this.schedule())):n.complete()})),a}:I(t))}function W(t,e){if(!e)return t instanceof O?t:new O(V(t));if(null!=t){if(function(t){return t&&"function"==typeof t[b]}(t))return function(t,e){return new O(e?n=>{const a=new m;return a.add(e.schedule(()=>{const o=t[b]();a.add(o.subscribe({next(t){a.add(e.schedule(()=>n.next(t)))},error(t){a.add(e.schedule(()=>n.error(t)))},complete(){a.add(e.schedule(()=>n.complete()))}}))})),a}:z(t))}(t,e);if(F(t))return function(t,e){return new O(e?n=>{const a=new m;return a.add(e.schedule(()=>t.then(t=>{a.add(e.schedule(()=>{n.next(t),a.add(e.schedule(()=>n.complete()))}))},t=>{a.add(e.schedule(()=>n.error(t)))}))),a}:R(t))}(t,e);if(L(t))return q(t,e);if(function(t){return t&&"function"==typeof t[D]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new O(e?n=>{const a=new m;let o;return a.add(()=>{o&&"function"==typeof o.return&&o.return()}),a.add(e.schedule(()=>{o=t[D](),a.add(e.schedule(function(){if(n.closed)return;let t,e;try{const r=o.next();t=r.value,e=r.done}catch(a){return void n.error(a)}e?n.complete():(n.next(t),this.schedule())}))})),a}:N(t))}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}function Y(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?a=>a.pipe(Y((n,a)=>W(t(n,a)).pipe(j((t,o)=>e(n,t,a,o))),n)):("number"==typeof e&&(n=e),e=>e.lift(new G(t,n)))}class G{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new Z(t,this.project,this.concurrent))}}class Z extends H{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function Q(t){return t}function K(t=Number.POSITIVE_INFINITY){return Y(Q,t)}function X(...t){let e=Number.POSITIVE_INFINITY,n=null,a=t[t.length-1];return E(a)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof a&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof O?t[0]:K(e)(q(t,n))}function J(){return function(t){return t.lift(new tt(t))}}class tt{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const a=new et(t,n),o=e.subscribe(a);return a.closed||(a.connection=n.connect()),o}}class et extends p{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,a=t._connection;this.connection=null,!a||n&&a!==n||a.unsubscribe()}}const nt=class extends O{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 m).add(this.source.subscribe(new ot(this.getSubject(),this))),t.closed?(this._connection=null,t=m.EMPTY):this._connection=t),t}refCount(){return J()(this)}}.prototype,at={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:nt._subscribe},_isComplete:{value:nt._isComplete,writable:!0},getSubject:{value:nt.getSubject},connect:{value:nt.connect},refCount:{value:nt.refCount}};class ot extends w{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function rt(){return new k}function it(){return t=>J()(function(t,e){return function(e){let n;n="function"==typeof t?t:function(){return t};const a=Object.create(e,at);return a.source=e,a.subjectFactory=n,a}}(rt)(t))}const st="__parameters__";function lt(t,e,n){const a=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function o(...t){if(this instanceof o)return a.apply(this,t),this;const e=new o(...t);return n.annotation=e,n;function n(t,n,a){const o=t.hasOwnProperty(st)?t[st]:Object.defineProperty(t,st,{value:[]})[st];for(;o.length<=a;)o.push(null);return(o[a]=o[a]||[]).push(e),t}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o}const ct=lt("Inject",t=>({token:t})),dt=lt("Optional"),ut=lt("Self"),mt=lt("SkipSelf");var ht=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});function gt(t){for(let e in t)if(t[e]===gt)return e;throw Error("Could not find renamed property on target object.")}function pt(t){return{providedIn:t.providedIn||null,factory:t.factory,value:void 0}}const ft=pt;function bt(t){return t&&t.hasOwnProperty(_t)?t[_t]:null}const _t=gt({ngInjectableDef:gt});function Ct(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(Ct).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)}const Pt=gt({__forward_ref__:gt});function Ot(t){return t.__forward_ref__=Ot,t.toString=function(){return Ct(this())},t}function Mt(t){const e=t;return"function"==typeof e&&e.hasOwnProperty(Pt)&&e.__forward_ref__===Ot?e():t}function yt(){const t="undefined"!=typeof globalThis&&globalThis,e="undefined"!=typeof window&&window,n="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,a="undefined"!=typeof global&&global;return t||a||e||n}const vt=yt();let xt,wt=void 0;function kt(t){const e=wt;return wt=t,e}function St(t,e=ht.Default){return(xt||function(t,e=ht.Default){if(void 0===wt)throw new Error("inject() must be called from an injection context");return null===wt?function(t,e,n){const a=bt(t);if(a&&"root"==a.providedIn)return void 0===a.value?a.value=a.factory():a.value;if(n&ht.Optional)return null;throw new Error(`Injector: NOT_FOUND [${Ct(t)}]`)}(t,0,e):wt.get(t,e&ht.Optional?null:void 0,e)})(t,e)}const Et=St;class Tt{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.ngInjectableDef=pt({providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const It="__source",Rt=new Object,At=new Tt("INJECTOR",-1);class Dt{get(t,e=Rt){if(e===Rt){const e=new Error(`NullInjectorError: No provider for ${Ct(t)}!`);throw e.name="NullInjectorError",e}return e}}const Nt=(()=>{class t{static create(t,e){return Array.isArray(t)?new qt(t,e):new qt(t.providers,t.parent,t.name||null)}}return t.THROW_IF_NOT_FOUND=Rt,t.NULL=new Dt,t.ngInjectableDef=pt({providedIn:"any",factory:()=>St(At)}),t.__NG_ELEMENT_ID__=-1,t})(),zt=function(t){return t},Lt=[],Ft=zt,Vt=function(){return Array.prototype.slice.call(arguments)},Bt=gt({provide:String,useValue:gt}),Ht="ngTokenPath",jt="ngTempTokenPath",Ut=/\n/gm,$t="\u0275";class qt{constructor(t,e=Nt.NULL,n=null){this.parent=e,this.source=n;const a=this._records=new Map;a.set(Nt,{token:Nt,fn:zt,deps:Lt,value:this,useNew:!1}),a.set(At,{token:At,fn:zt,deps:Lt,value:this,useNew:!1}),function t(e,n){if(n)if((n=Mt(n))instanceof Array)for(let a=0;at.push(Ct(n))),`StaticInjector[${t.join(", ")}]`}}function Wt(t){return Gt("Cannot mix multi providers and regular providers",t)}function Yt(t,e,n,a=null){t=t&&"\n"===t.charAt(0)&&t.charAt(1)==$t?t.substr(2):t;let o=Ct(e);if(e instanceof Array)o=e.map(Ct).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let a=e[n];t.push(n+":"+("string"==typeof a?JSON.stringify(a):Ct(a)))}o=`{${t.join(", ")}}`}return`${n}${a?"("+a+")":""}[${o}]: ${t.replace(Ut,"\n ")}`}function Gt(t,e){return new Error(Yt(t,e,"StaticInjectorError"))}const Zt="ngDebugContext",Qt="ngOriginalError",Kt="ngErrorLogger",Xt=new Tt("AnalyzeForEntryComponents"),Jt=function(){var t={Emulated:0,Native:1,None:2,ShadowDom:3};return t[t.Emulated]="Emulated",t[t.Native]="Native",t[t.None]="None",t[t.ShadowDom]="ShadowDom",t}(),te=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(vt))();function ee(t){return t[Zt]}function ne(t){return t[Qt]}function ae(t,...e){t.error(...e)}class oe{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),a=function(t){return t[Kt]||ae}(t);a(this._console,"ERROR",t),e&&a(this._console,"ORIGINAL ERROR",e),n&&a(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?ee(t)?ee(t):this._findContext(ne(t)):null}_findOriginalError(t){let e=ne(t);for(;e&&ne(e);)e=ne(e);return e}}let re=!0,ie=!1;function se(){return ie=!0,re}class le{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t),this.inertBodyElement=this.inertDocument.createElement("body"),t.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='

',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}getInertBodyElement_XHR(t){t=""+t+"";try{t=encodeURI(t)}catch(a){return null}const e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(void 0);const n=e.response.body;return n.removeChild(n.firstChild),n}getInertBodyElement_DOMParser(t){t=""+t+"";try{const n=(new window.DOMParser).parseFromString(t,"text/html").body;return n.removeChild(n.firstChild),n}catch(e){return null}}getInertBodyElement_InertDocument(t){const e=this.inertDocument.createElement("template");return"content"in e?(e.innerHTML=t,e):(this.inertBodyElement.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)}stripCustomNsAttrs(t){const e=t.attributes;for(let a=e.length-1;0ue(t.trim())).join(", ")),this.buf.push(" ",e,'="',we(i),'"')}var a;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();_e.hasOwnProperty(e)&&!ge.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(we(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 ve=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,xe=/([^\#-~ |!])/g;function we(t){return t.replace(/&/g,"&").replace(ve,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(xe,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let ke;function Se(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}const Ee=function(){var t={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return t[t.NONE]="NONE",t[t.HTML]="HTML",t[t.STYLE]="STYLE",t[t.SCRIPT]="SCRIPT",t[t.URL]="URL",t[t.RESOURCE_URL]="RESOURCE_URL",t}();class Te{}const Ie=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Re=/^url\(([^)]+)\)$/,Ae=/([A-Z])/g;function De(t){try{return null!=t?t.toString().slice(0,30):t}catch(e){return"[ERROR] Exception while trying to serialize the value"}}function Ne(t){return!!t&&"function"==typeof t.then}function ze(t){return!!t&&"function"==typeof t.subscribe}let Le=null;function Fe(){if(!Le){const t=vt.Symbol;if(t&&t.iterator)Le=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e{class t{}return t.NULL=new Qe,t})();class Xe{constructor(t,e,n){this._parent=e,this._ngModule=n,this._factories=new Map;for(let a=0;a{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=(()=>on(t)),t})(),on=nn;class rn{}class sn{}const ln=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}(),cn=(()=>{class t{}return t.__NG_ELEMENT_ID__=(()=>dn()),t})(),dn=nn;class un{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const mn=new un("8.0.1");class hn{constructor(){}supports(t){return je(t)}create(t){return new pn(t)}}const gn=(t,e)=>e;class pn{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||gn}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,a=0,o=null;for(;e||n;){const r=!n||e&&e.currentIndex{a=this._trackByFn(e,t),null!==o&&Ve(o.trackById,a)?(r&&(o=this._verifyReinsertion(o,t,a,e)),Ve(o.item,t)||this._addIdentityChange(o,t)):(o=this._mismatch(o,t,a,e),r=!0),o=o._next,e++}),this.length=e;return this._truncate(o),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t,e;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,a){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,a))?(Ve(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,a)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Ve(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,a)):t=this._addAfter(new fn(e,n),o,a),t}_verifyReinsertion(t,e,n,a){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?t=this._reinsertAfter(o,t._prev,a):t.currentIndex!=a&&(t.currentIndex=a,this._addToMoves(t,a)),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 a=t._prevRemoved,o=t._nextRemoved;return null===a?this._removalsHead=o:a._nextRemoved=o,null===o?this._removalsTail=a:o._prevRemoved=a,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 a=null===e?this._itHead:e._next;return t._next=a,t._prev=e,null===a?this._itTail=t:a._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new _n),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?t:(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t,t)}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new _n),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 fn{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 bn{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)&&Ve(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 _n{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new bn,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 Cn(t,e,n){const a=t.previousIndex;if(null===a)return a;let o=0;return n&&a{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const a=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,a)}}),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 a=n._prev,o=n._next;return a&&(a._next=o),o&&(o._prev=a),n._next=null,n._prev=null,n}const n=new Mn(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){Ve(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 Mn{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}}const yn=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new mt,new dt]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.ngInjectableDef=pt({providedIn:"root",factory:()=>new t([new hn])}),t})(),vn=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new mt,new dt]]}}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.ngInjectableDef=pt({providedIn:"root",factory:()=>new t([new Pn])}),t})(),xn=(()=>{class t{}return t.__NG_ELEMENT_ID__=(()=>wn()),t})(),wn=(...t)=>{},kn=[new Pn],Sn=new yn([new hn]),En=new vn(kn),Tn=(()=>{class t{}return t.__NG_ELEMENT_ID__=(()=>In(t,an)),t})(),In=nn,Rn=(()=>{class t{}return t.__NG_ELEMENT_ID__=(()=>An(t,an)),t})(),An=nn;function Dn(t,e,n,a){let o=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '${e}'. Current value: '${n}'.`;return a&&(o+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(t,e){const n=new Error(t);return Nn(n,e),n}(o,t)}function Nn(t,e){t[Zt]=e,t[Kt]=e.logError.bind(e)}function zn(t){return new Error(`ViewDestroyedError: Attempt to use a destroyed view: ${t}`)}function Ln(t,e,n){const a=t.state,o=1792&a;return o===e?(t.state=-1793&a|n,t.initIndex=-1,!0):o===n}function Fn(t,e,n){return(1792&t.state)===e&&t.initIndex<=n&&(t.initIndex=n+1,!0)}function Vn(t,e){return t.nodes[e]}function Bn(t,e){return t.nodes[e]}function Hn(t,e){return t.nodes[e]}function jn(t,e){return t.nodes[e]}function Un(t,e){return t.nodes[e]}const $n={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0},qn=()=>{},Wn=new Map;function Yn(t){let e=Wn.get(t);return e||(e=Ct(t)+"_"+Wn.size,Wn.set(t,e)),e}function Gn(t,e,n,a){if(He.isWrapped(a)){a=He.unwrap(a);const o=t.def.nodes[e].bindingIndex+n,r=He.unwrap(t.oldValues[o]);t.oldValues[o]=new He(r)}return a}const Zn="$$undefined",Qn="$$empty";function Kn(t){return{id:Zn,styles:t.styles,encapsulation:t.encapsulation,data:t.data}}let Xn=0;function Jn(t,e,n,a){return!(!(2&t.state)&&Ve(t.oldValues[e.bindingIndex+n],a))}function ta(t,e,n,a){return!!Jn(t,e,n,a)&&(t.oldValues[e.bindingIndex+n]=a,!0)}function ea(t,e,n,a){const o=t.oldValues[e.bindingIndex+n];if(1&t.state||!Be(o,a)){const r=e.bindings[n].name;throw Dn($n.createDebugContext(t,e.nodeIndex),`${r}: ${o}`,`${r}: ${a}`,0!=(1&t.state))}}function na(t){let e=t;for(;e;)2&e.def.flags&&(e.state|=8),e=e.viewContainerParent||e.parent}function aa(t,e){let n=t;for(;n&&n!==e;)n.state|=64,n=n.viewContainerParent||n.parent}function oa(t,e,n,a){try{return na(33554432&t.def.nodes[e].flags?Bn(t,e).componentView:t),$n.handleEvent(t,e,n,a)}catch(o){t.root.errorHandler.handleError(o)}}function ra(t){return t.parent?Bn(t.parent,t.parentNodeDef.nodeIndex):null}function ia(t){return t.parent?t.parentNodeDef.parent:null}function sa(t,e){switch(201347067&e.flags){case 1:return Bn(t,e.nodeIndex).renderElement;case 2:return Vn(t,e.nodeIndex).renderText}}function la(t){return!!t.parent&&!!(32768&t.parentNodeDef.flags)}function ca(t){return!(!t.parent||32768&t.parentNodeDef.flags)}function da(t){return 1<{"number"==typeof t?(e[t]=o,n|=da(t)):a[t]=o}),{matchedQueries:e,references:a,matchedQueryIds:n}}function ma(t,e){return t.map(t=>{let n,a;return Array.isArray(t)?[a,n]=t:(a=0,n=t),n&&("function"==typeof n||"object"==typeof n)&&e&&Object.defineProperty(n,It,{value:e,configurable:!0}),{flags:a,token:n,tokenKey:Yn(n)}})}function ha(t,e,n){let a=n.renderParent;return a?0==(1&a.flags)||0==(33554432&a.flags)||a.element.componentRendererType&&a.element.componentRendererType.encapsulation===Jt.Native?Bn(t,n.renderParent.nodeIndex).renderElement:void 0:e}const ga=new WeakMap;function pa(t){let e=ga.get(t);return e||((e=t(()=>qn)).factory=t,ga.set(t,e)),e}function fa(t,e,n,a,o){3===e&&(n=t.renderer.parentNode(sa(t,t.def.lastRenderRootNode))),ba(t,e,0,t.def.nodes.length-1,n,a,o)}function ba(t,e,n,a,o,r,i){for(let s=n;s<=a;s++){const n=t.def.nodes[s];11&n.flags&&Ca(t,n,e,o,r,i),s+=n.childCount}}function _a(t,e,n,a,o,r){let i=t;for(;i&&!la(i);)i=i.parent;const s=i.parent,l=ia(i),c=l.nodeIndex+l.childCount;for(let d=l.nodeIndex+1;d<=c;d++){const t=s.def.nodes[d];t.ngContentIndex===e&&Ca(s,t,n,a,o,r),d+=t.childCount}if(!s.parent){const i=t.root.projectableNodes[e];if(i)for(let e=0;e-1}(o)||"root"===r.providedIn&&o._def.isRoot))){const n=t._providers.length;return t._def.providers[n]=t._def.providersByKey[e.tokenKey]={flags:5120,value:l.factory,deps:[],index:n,token:e.token},t._providers[n]=va,t._providers[n]=Ta(t,t._def.providersByKey[e.tokenKey])}return 4&e.flags?n:t._parent.get(e.token,n)}finally{kt(a)}var o,r}function Ta(t,e){let n;switch(201347067&e.flags){case 512:n=function(t,e,n){const a=n.length;switch(a){case 0:return new e;case 1:return new e(Ea(t,n[0]));case 2:return new e(Ea(t,n[0]),Ea(t,n[1]));case 3:return new e(Ea(t,n[0]),Ea(t,n[1]),Ea(t,n[2]));default:const o=new Array(a);for(let e=0;e=n.length)&&(e=n.length-1),e<0)return null;const a=n[e];return a.viewContainerParent=null,Na(n,e),$n.dirtyParentQueries(a),Aa(a),a}function Ra(t,e,n){const a=e?sa(e,e.def.lastRenderRootNode):t.renderElement,o=n.renderer.parentNode(a),r=n.renderer.nextSibling(a);fa(n,2,o,r,void 0)}function Aa(t){fa(t,3,null,null,void 0)}function Da(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Na(t,e){e>=t.length-1?t.pop():t.splice(e,1)}const za=new Object;function La(t,e,n,a,o,r){return new Fa(t,e,n,a,o,r)}class Fa extends Ye{constructor(t,e,n,a,o,r){super(),this.selector=t,this.componentType=e,this._inputs=a,this._outputs=o,this.ngContentSelectors=r,this.viewDefFactory=n}get inputs(){const t=[],e=this._inputs;for(let n in e)t.push({propName:n,templateName:e[n]});return t}get outputs(){const t=[];for(let e in this._outputs)t.push({propName:e,templateName:this._outputs[e]});return t}create(t,e,n,a){if(!a)throw new Error("ngModule should be provided");const o=pa(this.viewDefFactory),r=o.nodes[0].element.componentProvider.nodeIndex,i=$n.createRootView(t,e||[],n,o,a,za),s=Hn(i,r).instance;return n&&i.renderer.setAttribute(Bn(i,0).renderElement,"ng-version",mn.full),new Va(i,new Ua(i),s)}}class Va extends We{constructor(t,e,n){super(),this._view=t,this._viewRef=e,this._component=n,this._elDef=this._view.def.nodes[0],this.hostView=e,this.changeDetectorRef=e,this.instance=n}get location(){return new an(Bn(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new Ya(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(t){this._viewRef.onDestroy(t)}}function Ba(t,e,n){return new Ha(t,e,n)}class Ha{constructor(t,e,n){this._view=t,this._elDef=e,this._data=n,this._embeddedViews=[]}get element(){return new an(this._data.renderElement)}get injector(){return new Ya(this._view,this._elDef)}get parentInjector(){let t=this._view,e=this._elDef.parent;for(;!e&&t;)e=ia(t),t=t.parent;return t?new Ya(t,e):new Ya(this._view,null)}clear(){for(let t=this._embeddedViews.length-1;t>=0;t--){const e=Ia(this._data,t);$n.destroyView(e)}}get(t){const e=this._embeddedViews[t];if(e){const t=new Ua(e);return t.attachToViewContainerRef(this),t}return null}get length(){return this._embeddedViews.length}createEmbeddedView(t,e,n){const a=t.createEmbeddedView(e||{});return this.insert(a,n),a}createComponent(t,e,n,a,o){const r=n||this.parentInjector;o||t instanceof Je||(o=r.get(tn));const i=t.create(r,a,void 0,o);return this.insert(i.hostView,e),i}insert(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");const n=t;return function(t,e,n,a){let o=e.viewContainer._embeddedViews;null==n&&(n=o.length),a.viewContainerParent=t,Da(o,n,a),function(t,e){const n=ra(e);if(!n||n===t||16&e.state)return;e.state|=16;let a=n.template._projectedViews;a||(a=n.template._projectedViews=[]),a.push(e),function(t,n){if(4&n.flags)return;e.parent.def.nodeFlags|=4,n.flags|=4;let a=n.parent;for(;a;)a.childFlags|=4,a=a.parent}(0,e.parentNodeDef)}(e,a),$n.dirtyParentQueries(a),Ra(e,n>0?o[n-1]:null,a)}(this._view,this._data,e,n._view),n.attachToViewContainerRef(this),t}move(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");const n=this._embeddedViews.indexOf(t._view);return function(t,e,a){const o=t.viewContainer._embeddedViews,r=o[n];Na(o,n),null==a&&(a=o.length),Da(o,a,r),$n.dirtyParentQueries(r),Aa(r),Ra(t,a>0?o[a-1]:null,r)}(this._data,0,e),t}indexOf(t){return this._embeddedViews.indexOf(t._view)}remove(t){const e=Ia(this._data,t);e&&$n.destroyView(e)}detach(t){const e=Ia(this._data,t);return e?new Ua(e):null}}function ja(t){return new Ua(t)}class Ua{constructor(t){this._view=t,this._viewContainerRef=null,this._appRef=null}get rootNodes(){return function(t){const e=[];return fa(t,0,void 0,void 0,e),e}(this._view)}get context(){return this._view.context}get destroyed(){return 0!=(128&this._view.state)}markForCheck(){na(this._view)}detach(){this._view.state&=-5}detectChanges(){const t=this._view.root.rendererFactory;t.begin&&t.begin();try{$n.checkAndUpdateView(this._view)}finally{t.end&&t.end()}}checkNoChanges(){$n.checkNoChangesView(this._view)}reattach(){this._view.state|=4}onDestroy(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)}destroy(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),$n.destroyView(this._view)}detachFromAppRef(){this._appRef=null,Aa(this._view),$n.dirtyParentQueries(this._view)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}attachToViewContainerRef(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}}function $a(t,e){return new qa(t,e)}class qa extends Tn{constructor(t,e){super(),this._parentView=t,this._def=e}createEmbeddedView(t){return new Ua($n.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))}get elementRef(){return new an(Bn(this._parentView,this._def.nodeIndex).renderElement)}}function Wa(t,e){return new Ya(t,e)}class Ya{constructor(t,e){this.view=t,this.elDef=e}get(t,e=Nt.THROW_IF_NOT_FOUND){return $n.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:Yn(t)},e)}}function Ga(t,e){const n=t.def.nodes[e];if(1&n.flags){const e=Bn(t,n.nodeIndex);return n.element.template?e.template:e.renderElement}if(2&n.flags)return Vn(t,n.nodeIndex).renderText;if(20240&n.flags)return Hn(t,n.nodeIndex).instance;throw new Error(`Illegal state: read nodeValue for node index ${e}`)}function Za(t){return new Qa(t.renderer)}class Qa{constructor(t){this.delegate=t}selectRootElement(t){return this.delegate.selectRootElement(t)}createElement(t,e){const[n,a]=Ma(e),o=this.delegate.createElement(a,n);return t&&this.delegate.appendChild(t,o),o}createViewRoot(t){return t}createTemplateAnchor(t){const e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e}createText(t,e){const n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n}projectNodes(t,e){for(let n=0;nt())}onDestroy(t){this._destroyListeners.push(t)}}const Ja=Yn(rn),to=Yn(cn),eo=Yn(an),no=Yn(Rn),ao=Yn(Tn),oo=Yn(xn),ro=Yn(Nt),io=Yn(At);function so(t,e,n,a,o,r,i,s){const l=[];if(i)for(let d in i){const[t,e]=i[d];l[t]={flags:8,name:d,nonMinifiedName:e,ns:null,securityContext:null,suffix:null}}const c=[];if(s)for(let d in s)c.push({type:1,propName:d,target:null,eventName:s[d]});return uo(t,e|=16384,n,a,o,o,r,l,c)}function lo(t,e,n){return uo(-1,t|=16,null,0,e,e,n)}function co(t,e,n,a,o){return uo(-1,t,e,0,n,a,o)}function uo(t,e,n,a,o,r,i,s,l){const{matchedQueries:c,references:d,matchedQueryIds:u}=ua(n);l||(l=[]),s||(s=[]),r=Mt(r);const m=ma(i,Ct(o));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:u,references:d,ngContentIndex:-1,childCount:a,bindings:s,bindingFlags:ya(s),outputs:l,element:null,provider:{token:o,value:r,deps:m},text:null,query:null,ngContent:null}}function mo(t,e){return fo(t,e)}function ho(t,e){let n=t;for(;n.parent&&!la(n);)n=n.parent;return bo(n.parent,ia(n),!0,e.provider.value,e.provider.deps)}function go(t,e){const n=bo(t,e.parent,(32768&e.flags)>0,e.provider.value,e.provider.deps);if(e.outputs.length)for(let a=0;aoa(t,e,n,a)}function fo(t,e){const n=(8192&e.flags)>0,a=e.provider;switch(201347067&e.flags){case 512:return bo(t,e.parent,n,a.value,a.deps);case 1024:return function(t,e,n,a,o){const r=o.length;switch(r){case 0:return a();case 1:return a(Co(t,e,n,o[0]));case 2:return a(Co(t,e,n,o[0]),Co(t,e,n,o[1]));case 3:return a(Co(t,e,n,o[0]),Co(t,e,n,o[1]),Co(t,e,n,o[2]));default:const i=Array(r);for(let a=0;ate});class wo extends k{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let a,o=t=>null,r=()=>null;t&&"object"==typeof t?(a=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(o=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(r=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(a=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(o=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(r=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const i=super.subscribe(a,o,r);return t instanceof m&&t.add(i),i}}class ko{constructor(){this.dirty=!0,this._results=[],this.changes=new wo,this.length=0}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()}[Fe()](){return this._results[Fe()]()}toString(){return this._results.toString()}reset(t){this._results=function t(e,n){void 0===n&&(n=e);for(let a=0;a(class{constructor(t){this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}))(),Io=new Tt("AppId");function Ro(){return`${Ao()}${Ao()}${Ao()}`}function Ao(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Do=new Tt("Platform Initializer"),No=new Tt("Platform ID"),zo=new Tt("appBootstrapListener"),Lo=(()=>(class{log(t){console.log(t)}warn(t){console.warn(t)}}))();function Fo(){throw new Error("Runtime compiler is not loaded")}const Vo=Fo,Bo=Fo,Ho=Fo,jo=Fo,Uo=(()=>(class{constructor(){this.compileModuleSync=Vo,this.compileModuleAsync=Bo,this.compileModuleAndAllComponentsSync=Ho,this.compileModuleAndAllComponentsAsync=jo}clearCache(){}clearCacheFor(t){}getModuleId(t){}}))();class $o{}let qo,Wo;function Yo(){const t=vt.wtf;return!(!t||!(qo=t.trace)||(Wo=qo.events,0))}const Go=Yo(),Zo=Go?function(t,e=null){return Wo.createScope(t,e)}:(t,e)=>(function(t,e){return null}),Qo=Go?function(t,e){return qo.leaveScope(t,e),e}:(t,e)=>e,Ko=(()=>Promise.resolve(0))();function Xo(t){"undefined"==typeof Zone?Ko.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Jo{constructor({enableLongStackTrace:t=!1}){if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new wo(!1),this.onMicrotaskEmpty=new wo(!1),this.onStable=new wo(!1),this.onError=new wo(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");var e;Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(e=this)._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,n,a,o,r,i)=>{try{return ar(e),t.invokeTask(a,o,r,i)}finally{or(e)}},onInvoke:(t,n,a,o,r,i,s)=>{try{return ar(e),t.invoke(a,o,r,i,s)}finally{or(e)}},onHasTask:(t,n,a,o)=>{t.hasTask(a,o),n===a&&("microTask"==o.change?(e.hasPendingMicrotasks=o.microTask,nr(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,n,a,o)=>(t.handleError(a,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Jo.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Jo.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,a){const o=this._inner,r=o.scheduleEventTask("NgZoneEvent: "+a,t,er,tr,tr);try{return o.runTask(r,e,n)}finally{o.cancelTask(r)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}function tr(){}const er={};function nr(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 ar(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function or(t){t._nesting--,nr(t)}class rr{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new wo,this.onMicrotaskEmpty=new wo,this.onStable=new wo,this.onError=new wo}run(t){return t()}runGuarded(t){return t()}runOutsideAngular(t){return t()}runTask(t){return t()}}const ir=(()=>(class{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:()=>{Jo.assertNotInAngularZone(),Xo(()=>{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())Xo(()=>{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 a=-1;e&&e>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==a),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:a,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}))(),sr=(()=>{class t{constructor(){this._applications=new Map,dr.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 dr.findTestabilityInTree(this,t,e)}}return t.ctorParameters=(()=>[]),t})();class lr{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}let cr,dr=new lr,ur=function(t){return t instanceof Je};const mr=new Tt("AllowMultipleToken");class hr{constructor(t,e){this.name=t,this.token=e}}function gr(t,e,n=[]){const a=`Platform: ${e}`,o=new Tt(a);return(e=[])=>{let r=pr();if(!r||r.injector.get(mr,!1))if(t)t(n.concat(e).concat({provide:o,useValue:!0}));else{const t=n.concat(e).concat({provide:o,useValue:!0});!function(t){if(cr&&!cr.destroyed&&!cr.injector.get(mr,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");cr=t.get(fr);const e=t.get(Do,null);e&&e.forEach(t=>t())}(Nt.create({providers:t,name:a}))}return function(t){const e=pr();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}(o)}}function pr(){return cr&&!cr.destroyed?cr:null}const fr=(()=>(class{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n="noop"===(o=e?e.ngZone:void 0)?new rr:("zone.js"===o?void 0:o)||new Jo({enableLongStackTrace:se()}),a=[{provide:Jo,useValue:n}];var o;return n.run(()=>{const e=Nt.create({providers:a,parent:this.injector,name:t.moduleType.name}),o=t.create(e),r=o.injector.get(oe,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return o.onDestroy(()=>Cr(this._modules,o)),n.runOutsideAngular(()=>n.onError.subscribe({next:t=>{r.handleError(t)}})),function(t,e,n){try{const o=n();return Ne(o)?o.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):o}catch(a){throw e.runOutsideAngular(()=>t.handleError(a)),a}}(r,n,()=>{const t=o.injector.get(To);return t.runInitializers(),t.donePromise.then(()=>(this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,e=[]){const n=br({},e);return function(t,e,n){return t.get($o).createCompiler([e]).compileModuleAsync(n)}(this.injector,n,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(_r);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${Ct(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}}))();function br(t,e){return Array.isArray(e)?e.reduce(br,t):Object.assign({},t,e)}const _r=(()=>{class t{constructor(t,e,n,a,o,r){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=a,this._componentFactoryResolver=o,this._initStatus=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=se(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new O(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),s=new O(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{Jo.assertNotInAngularZone(),Xo(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Jo.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=X(i,s.pipe(it()))}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 Ye?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const a=ur(n)?null:this._injector.get(tn),o=n.create(Nt.NULL,[],e||n.selector,a);o.onDestroy(()=>{this._unloadComponent(o)});const r=o.injector.get(ir,null);return r&&o.injector.get(sr).registerApplication(o.location.nativeElement,r),this._loadComponent(o),se()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");const e=t._tickScope();try{this._runningTick=!0;for(let t of this._views)t.detectChanges();if(this._enforceNoNewChanges)for(let t of this._views)t.checkNoChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1,Qo(e)}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Cr(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(zo,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}_unloadComponent(t){this.detachView(t.hostView),Cr(this.components,t)}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy())}get viewCount(){return this._views.length}}return t._tickScope=Zo("ApplicationRef#tick()"),t})();function Cr(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Pr{}const Or={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Mr=(()=>(class{constructor(t,e){this._compiler=t,this._config=e||Or}load(t){return this._compiler instanceof Uo?this.loadFactory(t):this.loadAndCompile(t)}loadAndCompile(t){let[e,a]=t.split("#");return void 0===a&&(a="default"),n("zn8P")(e).then(t=>t[a]).then(t=>yr(t,e,a)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,a]=t.split("#"),o="NgFactory";return void 0===a&&(a="default",o=""),n("zn8P")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[a+o]).then(t=>yr(t,e,a))}}))();function yr(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}class vr{constructor(t,e){this.name=t,this.callback=e}}class xr{constructor(t,e,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=t,e&&e instanceof wr&&e.addChild(this)}get injector(){return this._debugContext.injector}get componentInstance(){return this._debugContext.component}get context(){return this._debugContext.context}get references(){return this._debugContext.references}get providerTokens(){return this._debugContext.providerTokens}}class wr extends xr{constructor(t,e,n){super(t,e,n),this.properties={},this.attributes={},this.classes={},this.styles={},this.childNodes=[],this.nativeElement=t}addChild(t){t&&(this.childNodes.push(t),t.parent=this)}removeChild(t){const e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))}insertChildrenAfter(t,e){const n=this.childNodes.indexOf(t);-1!==n&&(this.childNodes.splice(n+1,0,...e),e.forEach(e=>{e.parent&&e.parent.removeChild(e),t.parent=this}))}insertBefore(t,e){const n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))}query(t){return this.queryAll(t)[0]||null}queryAll(t){const e=[];return function t(e,n,a){e.childNodes.forEach(e=>{e instanceof wr&&(n(e)&&a.push(e),t(e,n,a))})}(this,t,e),e}queryAllNodes(t){const e=[];return function t(e,n,a){e instanceof wr&&e.childNodes.forEach(e=>{n(e)&&a.push(e),e instanceof wr&&t(e,n,a)})}(this,t,e),e}get children(){return this.childNodes.filter(t=>t instanceof wr)}triggerEventHandler(t,e){this.listeners.forEach(n=>{n.name==t&&n.callback(e)})}}const kr=new Map,Sr=function(t){return kr.get(t)||null};function Er(t){kr.set(t.nativeNode,t)}const Tr=gr(null,"core",[{provide:No,useValue:"unknown"},{provide:fr,deps:[Nt]},{provide:sr,deps:[]},{provide:Lo,deps:[]}]),Ir=new Tt("LocaleId");function Rr(){return Sn}function Ar(){return En}function Dr(t){return t||"en-US"}function Nr(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}const zr=(()=>(class{constructor(t){}}))();function Lr(t,e,n,a,o,r){t|=1;const{matchedQueries:i,references:s,matchedQueryIds:l}=ua(e);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:i,matchedQueryIds:l,references:s,ngContentIndex:n,childCount:a,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:r?pa(r):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:o||qn},provider:null,text:null,query:null,ngContent:null}}function Fr(t,e,n,a,o,r,i=[],s,l,c,d,u){c||(c=qn);const{matchedQueries:m,references:h,matchedQueryIds:g}=ua(n);let p=null,f=null;r&&([p,f]=Ma(r)),s=s||[];const b=new Array(s.length);for(let P=0;P{const[n,a]=Ma(t);return[n,a,e]});return u=function(t){if(t&&t.id===Zn){const e=null!=t.encapsulation&&t.encapsulation!==Jt.None||t.styles.length||Object.keys(t.data).length;t.id=e?`c${Xn++}`:Qn}return t&&t.id===Qn&&(t=null),t||null}(u),d&&(e|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:m,matchedQueryIds:g,references:h,ngContentIndex:a,childCount:o,bindings:b,bindingFlags:ya(b),outputs:_,element:{ns:p,name:f,attrs:C,template:null,componentProvider:null,componentView:d||null,componentRendererType:u,publicProviders:null,allProviders:null,handleEvent:c||qn},provider:null,text:null,query:null,ngContent:null}}function Vr(t,e,n){const a=n.element,o=t.root.selectorOrNode,r=t.renderer;let i;if(t.parent||!o){i=a.name?r.createElement(a.name,a.ns):r.createComment("");const o=ha(t,e,n);o&&r.appendChild(o,i)}else i=r.selectRootElement(o,!!a.componentRendererType&&a.componentRendererType.encapsulation===Jt.ShadowDom);if(a.attrs)for(let s=0;soa(t,e,n,a)}function jr(t,e,n,a){if(!ta(t,e,n,a))return!1;const o=e.bindings[n],r=Bn(t,e.nodeIndex),i=r.renderElement,s=o.name;switch(15&o.flags){case 1:!function(t,e,n,a,o,r){const i=e.securityContext;let s=i?t.root.sanitizer.sanitize(i,r):r;s=null!=s?s.toString():null;const l=t.renderer;null!=r?l.setAttribute(n,o,s,a):l.removeAttribute(n,o,a)}(t,o,i,o.ns,s,a);break;case 2:!function(t,e,n,a){const o=t.renderer;a?o.addClass(e,n):o.removeClass(e,n)}(t,i,s,a);break;case 4:!function(t,e,n,a,o){let r=t.root.sanitizer.sanitize(Ee.STYLE,o);if(null!=r){r=r.toString();const t=e.suffix;null!=t&&(r+=t)}else r=null;const i=t.renderer;null!=r?i.setStyle(n,a,r):i.removeStyle(n,a)}(t,o,i,s,a);break;case 8:!function(t,e,n,a,o){const r=e.securityContext;let i=r?t.root.sanitizer.sanitize(r,o):o;t.renderer.setProperty(n,a,i)}(33554432&e.flags&&32&o.flags?r.componentView:t,o,i,s,a)}return!0}function Ur(t,e,n){let a=[];for(let o in n)a.push({propName:o,bindingType:n[o]});return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:e,filterId:da(e),bindings:a},ngContent:null}}function $r(t){const e=t.def.nodeMatchedQueries;for(;t.parent&&ca(t);){let n=t.parentNodeDef;t=t.parent;const a=n.nodeIndex+n.childCount;for(let o=0;o<=a;o++){const a=t.def.nodes[o];67108864&a.flags&&536870912&a.flags&&(a.query.filterId&e)===a.query.filterId&&Un(t,o).setDirty(),!(1&a.flags&&o+a.childCount0)c=t,ni(t)||(d=t);else for(;c&&g===c.nodeIndex+c.childCount;){const t=c.parent;t&&(t.childFlags|=c.childFlags,t.childMatchedQueries|=c.childMatchedQueries),d=(c=t)&&ni(c)?c.renderParent:c}}return{factory:null,nodeFlags:i,rootNodeFlags:s,nodeMatchedQueries:l,flags:t,nodes:e,updateDirectives:n||qn,updateRenderer:a||qn,handleEvent:(t,n,a,o)=>e[n].element.handleEvent(t,a,o),bindingCount:o,outputCount:r,lastRenderRootNode:h}}function ni(t){return 0!=(1&t.flags)&&null===t.element.name}function ai(t,e,n){const a=e.element&&e.element.template;if(a){if(!a.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(a.lastRenderRootNode&&16777216&a.lastRenderRootNode.flags)throw new Error(`Illegal State: Last root node of a template can't have embedded views, at index ${e.nodeIndex}!`)}if(20224&e.flags&&0==(1&(t?t.flags:0)))throw new Error(`Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index ${e.nodeIndex}!`);if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error(`Illegal State: Content Query nodes need to be children of directives, at index ${e.nodeIndex}!`);if(134217728&e.flags&&t)throw new Error(`Illegal State: View Query nodes have to be top level nodes, at index ${e.nodeIndex}!`)}if(e.childCount){const a=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=a&&e.nodeIndex+e.childCount>a)throw new Error(`Illegal State: childCount of node leads outside of parent, at index ${e.nodeIndex}!`)}}function oi(t,e,n,a){const o=si(t.root,t.renderer,t,e,n);return li(o,t.component,a),ci(o),o}function ri(t,e,n){const a=si(t,t.renderer,null,null,e);return li(a,n,n),ci(a),a}function ii(t,e,n,a){const o=e.element.componentRendererType;let r;return r=o?t.root.rendererFactory.createRenderer(a,o):t.root.renderer,si(t.root,r,t,e.element.componentProvider,n)}function si(t,e,n,a,o){const r=new Array(o.nodes.length),i=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:a,context:null,component:null,nodes:r,state:13,root:t,renderer:e,oldValues:new Array(o.bindingCount),disposables:i,initIndex:-1}}function li(t,e,n){t.component=e,t.context=n}function ci(t){let e;la(t)&&(e=Bn(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);const n=t.def,a=t.nodes;for(let o=0;o0&&jr(t,e,0,n)&&(h=!0),m>1&&jr(t,e,1,a)&&(h=!0),m>2&&jr(t,e,2,o)&&(h=!0),m>3&&jr(t,e,3,r)&&(h=!0),m>4&&jr(t,e,4,i)&&(h=!0),m>5&&jr(t,e,5,s)&&(h=!0),m>6&&jr(t,e,6,l)&&(h=!0),m>7&&jr(t,e,7,c)&&(h=!0),m>8&&jr(t,e,8,d)&&(h=!0),m>9&&jr(t,e,9,u)&&(h=!0),h}(t,e,n,a,o,r,i,s,l,c,d,u);case 2:return function(t,e,n,a,o,r,i,s,l,c,d,u){let m=!1;const h=e.bindings,g=h.length;if(g>0&&ta(t,e,0,n)&&(m=!0),g>1&&ta(t,e,1,a)&&(m=!0),g>2&&ta(t,e,2,o)&&(m=!0),g>3&&ta(t,e,3,r)&&(m=!0),g>4&&ta(t,e,4,i)&&(m=!0),g>5&&ta(t,e,5,s)&&(m=!0),g>6&&ta(t,e,6,l)&&(m=!0),g>7&&ta(t,e,7,c)&&(m=!0),g>8&&ta(t,e,8,d)&&(m=!0),g>9&&ta(t,e,9,u)&&(m=!0),m){let m=e.text.prefix;g>0&&(m+=ti(n,h[0])),g>1&&(m+=ti(a,h[1])),g>2&&(m+=ti(o,h[2])),g>3&&(m+=ti(r,h[3])),g>4&&(m+=ti(i,h[4])),g>5&&(m+=ti(s,h[5])),g>6&&(m+=ti(l,h[6])),g>7&&(m+=ti(c,h[7])),g>8&&(m+=ti(d,h[8])),g>9&&(m+=ti(u,h[9]));const p=Vn(t,e.nodeIndex).renderText;t.renderer.setValue(p,m)}return m}(t,e,n,a,o,r,i,s,l,c,d,u);case 16384:return function(t,e,n,a,o,r,i,s,l,c,d,u){const m=Hn(t,e.nodeIndex),h=m.instance;let g=!1,p=void 0;const f=e.bindings.length;return f>0&&Jn(t,e,0,n)&&(g=!0,p=Oo(t,m,e,0,n,p)),f>1&&Jn(t,e,1,a)&&(g=!0,p=Oo(t,m,e,1,a,p)),f>2&&Jn(t,e,2,o)&&(g=!0,p=Oo(t,m,e,2,o,p)),f>3&&Jn(t,e,3,r)&&(g=!0,p=Oo(t,m,e,3,r,p)),f>4&&Jn(t,e,4,i)&&(g=!0,p=Oo(t,m,e,4,i,p)),f>5&&Jn(t,e,5,s)&&(g=!0,p=Oo(t,m,e,5,s,p)),f>6&&Jn(t,e,6,l)&&(g=!0,p=Oo(t,m,e,6,l,p)),f>7&&Jn(t,e,7,c)&&(g=!0,p=Oo(t,m,e,7,c,p)),f>8&&Jn(t,e,8,d)&&(g=!0,p=Oo(t,m,e,8,d,p)),f>9&&Jn(t,e,9,u)&&(g=!0,p=Oo(t,m,e,9,u,p)),p&&h.ngOnChanges(p),65536&e.flags&&Fn(t,256,e.nodeIndex)&&h.ngOnInit(),262144&e.flags&&h.ngDoCheck(),g}(t,e,n,a,o,r,i,s,l,c,d,u);case 32:case 64:case 128:return function(t,e,n,a,o,r,i,s,l,c,d,u){const m=e.bindings;let h=!1;const g=m.length;if(g>0&&ta(t,e,0,n)&&(h=!0),g>1&&ta(t,e,1,a)&&(h=!0),g>2&&ta(t,e,2,o)&&(h=!0),g>3&&ta(t,e,3,r)&&(h=!0),g>4&&ta(t,e,4,i)&&(h=!0),g>5&&ta(t,e,5,s)&&(h=!0),g>6&&ta(t,e,6,l)&&(h=!0),g>7&&ta(t,e,7,c)&&(h=!0),g>8&&ta(t,e,8,d)&&(h=!0),g>9&&ta(t,e,9,u)&&(h=!0),h){const h=jn(t,e.nodeIndex);let p;switch(201347067&e.flags){case 32:p=new Array(m.length),g>0&&(p[0]=n),g>1&&(p[1]=a),g>2&&(p[2]=o),g>3&&(p[3]=r),g>4&&(p[4]=i),g>5&&(p[5]=s),g>6&&(p[6]=l),g>7&&(p[7]=c),g>8&&(p[8]=d),g>9&&(p[9]=u);break;case 64:p={},g>0&&(p[m[0].name]=n),g>1&&(p[m[1].name]=a),g>2&&(p[m[2].name]=o),g>3&&(p[m[3].name]=r),g>4&&(p[m[4].name]=i),g>5&&(p[m[5].name]=s),g>6&&(p[m[6].name]=l),g>7&&(p[m[7].name]=c),g>8&&(p[m[8].name]=d),g>9&&(p[m[9].name]=u);break;case 128:const t=n;switch(g){case 1:p=t.transform(n);break;case 2:p=t.transform(a);break;case 3:p=t.transform(a,o);break;case 4:p=t.transform(a,o,r);break;case 5:p=t.transform(a,o,r,i);break;case 6:p=t.transform(a,o,r,i,s);break;case 7:p=t.transform(a,o,r,i,s,l);break;case 8:p=t.transform(a,o,r,i,s,l,c);break;case 9:p=t.transform(a,o,r,i,s,l,c,d);break;case 10:p=t.transform(a,o,r,i,s,l,c,d,u)}}h.value=p}return h}(t,e,n,a,o,r,i,s,l,c,d,u);default:throw"unreachable"}}(t,e,a,o,r,i,s,l,c,d,u,m):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){let a=!1;for(let o=0;o0&&ea(t,e,0,n),m>1&&ea(t,e,1,a),m>2&&ea(t,e,2,o),m>3&&ea(t,e,3,r),m>4&&ea(t,e,4,i),m>5&&ea(t,e,5,s),m>6&&ea(t,e,6,l),m>7&&ea(t,e,7,c),m>8&&ea(t,e,8,d),m>9&&ea(t,e,9,u)}(t,e,a,o,r,i,s,l,c,d,u,m):function(t,e,n){for(let a=0;a{const a=Ti.get(t.token);3840&t.flags&&a&&(e=!0,n=n||a.deprecatedBehavior)}),t.modules.forEach(t=>{Ii.forEach((a,o)=>{bt(o).providedIn===t&&(e=!0,n=n||a.deprecatedBehavior)})}),{hasOverrides:e,hasDeprecatedOverrides:n})}(t);return e?(function(t){for(let e=0;e0){let e=new Set(t.modules);Ii.forEach((a,o)=>{if(e.has(bt(o).providedIn)){let e={token:o,flags:a.flags|(n?4096:0),deps:ma(a.deps),value:a.value,index:t.providers.length};t.providers.push(e),t.providersByKey[Yn(o)]=e}})}}(t=t.factory(()=>qn)),t):t}(a))}const Ti=new Map,Ii=new Map,Ri=new Map;function Ai(t){let e;Ti.set(t.token,t),"function"==typeof t.token&&(e=bt(t.token))&&"function"==typeof e.providedIn&&Ii.set(t.token,t)}function Di(t,e){const n=pa(e.viewDefFactory),a=pa(n.nodes[0].element.componentView);Ri.set(t,a)}function Ni(){Ti.clear(),Ii.clear(),Ri.clear()}function zi(t){if(0===Ti.size)return t;const e=function(t){const e=[];let n=null;for(let a=0;aqn);for(let a=0;a"-"+t[1].toLowerCase())}`)]=De(s))}const a=e.parent,s=Bn(t,a.nodeIndex).renderElement;if(a.element.name)for(let e in n){const a=n[e];null!=a?t.renderer.setAttribute(s,e,a):t.renderer.removeAttribute(s,e)}else t.renderer.setValue(s,`bindings=${JSON.stringify(n,null,2)}`)}}var o,r}function Ki(t,e,n,a){gi(t,e,n,...a)}function Xi(t,e){for(let n=e;n++r===o?t.error.bind(t,...e):qn),rnew ts(t,e),handleEvent:Yi,updateDirectives:Gi,updateRenderer:Zi}:{setCurrentNode:()=>{},createRootView:vi,createEmbeddedView:oi,createComponentView:ii,createNgModuleRef:Ka,overrideProvider:qn,overrideComponentView:qn,clearOverrides:qn,checkAndUpdateView:ui,checkNoChangesView:di,destroyView:fi,createDebugContext:(t,e)=>new ts(t,e),handleEvent:(t,e,n,a)=>t.def.handleEvent(t,e,n,a),updateDirectives:(t,e)=>t.def.updateDirectives(0===e?Li:Fi,t),updateRenderer:(t,e)=>t.def.updateRenderer(0===e?Li:Fi,t)};$n.setCurrentNode=t.setCurrentNode,$n.createRootView=t.createRootView,$n.createEmbeddedView=t.createEmbeddedView,$n.createComponentView=t.createComponentView,$n.createNgModuleRef=t.createNgModuleRef,$n.overrideProvider=t.overrideProvider,$n.overrideComponentView=t.overrideComponentView,$n.clearOverrides=t.clearOverrides,$n.checkAndUpdateView=t.checkAndUpdateView,$n.checkNoChangesView=t.checkNoChangesView,$n.destroyView=t.destroyView,$n.resolveDep=Co,$n.createDebugContext=t.createDebugContext,$n.handleEvent=t.handleEvent,$n.updateDirectives=t.updateDirectives,$n.updateRenderer=t.updateRenderer,$n.dirtyParentQueries=$r}();const e=function(t){const e=Array.from(t.providers),n=Array.from(t.modules),a={};for(const o in t.providersByKey)a[o]=t.providersByKey[o];return{factory:t.factory,isRoot:t.isRoot,providers:e,modules:n,providersByKey:a}}(pa(this._ngModuleDefFactory));return $n.createNgModuleRef(this.moduleType,t||Nt.NULL,this._bootstrapComponents,e)}}class ls{}const cs=(()=>{class t{}return t.DEV_API_ENDPOINT="http://localhost:51000",t.DEV_WS_ENDPOINT="ws://localhost:51001",t.API_ENDPOINT="",t.WS_ENDPOINT_OVERRIDE=null,t})();var ds=function(t){return t[t.Name=0]="Name",t[t.MaxDifficulty=1]="MaxDifficulty",t[t.LevelAuthor=2]="LevelAuthor",t}({});const us=new O(t=>t.complete());function ms(t){return t?function(t){return new O(e=>t.schedule(()=>e.complete()))}(t):us}function hs(t){const e=new O(e=>{e.next(t),e.complete()});return e._isScalar=!0,e.value=t,e}function gs(...t){let e=t[t.length-1];switch(E(e)?t.pop():e=void 0,t.length){case 0:return ms(e);case 1:return e?q(t,e):hs(t[0]);default:return q(t,e)}}function ps(t,e){return Y(t,e,1)}function fs(t,e){return function(n){return n.lift(new bs(t,e))}}class bs{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 p{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}class Cs{}const Ps=new Tt("Location Initialized");class Os{}const Ms=new Tt("appBaseHref"),ys=(()=>{class t{constructor(e,n){this._subject=new wo,this._urlChangeListeners=[],this._platformStrategy=e;const a=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=t.stripTrailingSlash(vs(a)),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(e,n=""){return this.path()==this.normalize(e+t.normalizeQueryParams(n))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,vs(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(e,n="",a=null){this._platformStrategy.pushState(a,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+t.normalizeQueryParams(n)),a)}replaceState(e,n="",a=null){this._platformStrategy.replaceState(a,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+t.normalizeQueryParams(n)),a)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(t){this._urlChangeListeners.push(t),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})}static normalizeQueryParams(t){return t&&"?"!==t[0]?"?"+t:t}static joinWithSlash(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}static stripTrailingSlash(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}}return t})();function vs(t){return t.replace(/\/index.html$/,"")}const xs=(()=>(class extends Os{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",null!=e&&(this._baseHref=e)}onPopState(t){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=ys.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,a){let o=this.prepareExternalUrl(n+ys.normalizeQueryParams(a));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(t,e,o)}replaceState(t,e,n,a){let o=this.prepareExternalUrl(n+ys.normalizeQueryParams(a));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}))(),ws=(()=>(class extends Os{constructor(t,e){if(super(),this._platformLocation=t,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}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return ys.joinWithSlash(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+ys.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,a){const o=this.prepareExternalUrl(n+ys.normalizeQueryParams(a));this._platformLocation.pushState(t,e,o)}replaceState(t,e,n,a){const o=this.prepareExternalUrl(n+ys.normalizeQueryParams(a));this._platformLocation.replaceState(t,e,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}))(),ks=void 0;var Ss=["en",[["a","p"],["AM","PM"],ks],[["AM","PM"],ks,ks],[["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"]],ks,[["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"]],ks,[["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}",ks,"{1} 'at' {0}",ks],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];const Es={},Ts=function(){var t={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return t[t.Zero]="Zero",t[t.One]="One",t[t.Two]="Two",t[t.Few]="Few",t[t.Many]="Many",t[t.Other]="Other",t}(),Is=new Tt("UseV4Plurals");class Rs{}const As=(()=>(class extends Rs{constructor(t,e){super(),this.locale=t,this.deprecatedPluralFn=e}getPluralCategory(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):function(t){return function(t){const e=t.toLowerCase().replace(/_/g,"-");let n=Es[e];if(n)return n;const a=e.split("-")[0];if(n=Es[a])return n;if("en"===a)return Ss;throw new Error(`Missing locale data for the locale "${t}".`)}(t)[18]}(e||this.locale)(t)){case Ts.Zero:return"zero";case Ts.One:return"one";case Ts.Two:return"two";case Ts.Few:return"few";case Ts.Many:return"many";default:return"other"}}}))();function Ds(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[a,o]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(a.trim()===e)return decodeURIComponent(o)}return null}class Ns{}const zs=(()=>(class{constructor(t,e,n,a){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=a,this._initialClasses=[]}getValue(){return null}setClass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}setNgClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(je(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}applyChanges(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${Ct(t.item)}`);this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}))(),Ls=(()=>{class t{constructor(t){this._delegate=t}getValue(){return this._delegate.getValue()}}return t.ngDirectiveDef=void 0,t})(),Fs=(()=>(class extends Ls{constructor(t){super(t)}set klass(t){this._delegate.setClass(t)}set ngClass(t){this._delegate.setNgClass(t)}ngDoCheck(){this._delegate.applyChanges()}}))();class Vs{constructor(t,e,n,a){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=a}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}}const Bs=(()=>(class{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){se()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(t)}. `+"See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,a)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new Vs(null,this._ngForOf,-1,-1),a),o=new Hs(t,n);e.push(o)}else if(null==a)this._viewContainer.remove(n);else{const o=this._viewContainer.get(n);this._viewContainer.move(o,a);const r=new Hs(t,o);e.push(r)}});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}}))();class Hs{constructor(t,e){this.record=t,this.view=e}}const js=(()=>(class{constructor(t,e){this._viewContainer=t,this._context=new Us,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){$s("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){$s("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 ngTemplateGuard_ngIf(t,e){return!0}}))();class Us{constructor(){this.$implicit=null,this.ngIf=null}}function $s(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Ct(e)}'.`)}class qs{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()}}const Ws=(()=>(class{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{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new qs(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}))();class Gs{}const Zs=(()=>(class{constructor(t,e,n){this._ngEl=t,this._differs=e,this._renderer=n}getValue(){return null}setNgStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}applyChanges(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_applyChanges(t){t.forEachRemovedItem(t=>this._setStyle(t.key,null)),t.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),t.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}_setStyle(t,e){const[n,a]=t.split(".");null!=(e=null!=e&&a?`${e}${a}`:e)?this._renderer.setStyle(this._ngEl.nativeElement,n,e):this._renderer.removeStyle(this._ngEl.nativeElement,n)}}))(),Qs=(()=>{class t{constructor(t){this._delegate=t}getValue(){return this._delegate.getValue()}}return t.ngDirectiveDef=void 0,t})(),Ks=(()=>(class extends Qs{constructor(t){super(t)}set ngStyle(t){this._delegate.setNgStyle(t)}ngDoCheck(){this._delegate.applyChanges()}}))();class Xs{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class Js{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const tl=new Js,el=new Xs,nl=(()=>{class t{constructor(t){this._ref=t,this._latestValue=null,this._latestReturnedValue=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)):Ve(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,He.wrap(this._latestValue)):(t&&this._subscribe(t),this._latestReturnedValue=this._latestValue,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(Ne(e))return tl;if(ze(e))return el;throw Error(`InvalidPipeArgument: '${e}' for pipe '${Ct(t)}'`)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t})(),al=(()=>(class{}))(),ol=new Tt("DocumentToken"),rl="browser",il="server";function sl(t){return t===rl}function ll(t){return t===il}const cl=(()=>{class t{}return t.ngInjectableDef=pt({providedIn:"root",factory:()=>new dl(St(ol),window,St(oe))}),t})();class dl{constructor(t,e,n){this.document=t,this.window=e,this.errorHandler=n,this.offset=(()=>[0,0])}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(t){this.supportScrollRestoration()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(this.supportScrollRestoration()){t=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(t):t.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{const n=this.document.querySelector(`#${t}`);if(n)return void this.scrollToElement(n);const a=this.document.querySelector(`[name='${t}']`);if(a)return void this.scrollToElement(a)}catch(e){this.errorHandler.handleError(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,a=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],a-o[1])}supportScrollRestoration(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}}}class ul{}class ml{}class hl{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),a=n.toLowerCase(),o=t.slice(e+1).trim();this.maybeSetNormalizedName(n,a),this.headers.has(a)?this.headers.get(a).push(o):this.headers.set(a,[o])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const a=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(a,n),this.maybeSetNormalizedName(e,a))})}: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 hl?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 hl;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof hl?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 a=("a"===t.op?this.headers.get(e):void 0)||[];a.push(...n),this.headers.set(e,a);break;case"d":const o=t.value;if(o){let t=this.headers.get(e);if(!t)return;0===(t=t.filter(t=>-1===o.indexOf(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 gl{encodeKey(t){return pl(t)}encodeValue(t){return pl(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function pl(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class fl{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new gl,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.split("&").forEach(t=>{const a=t.indexOf("="),[o,r]=-1==a?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,a)),e.decodeValue(t.slice(a+1))],i=n.get(o)||[];i.push(r),n.set(o,i)}),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"})}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("&")}).join("&")}clone(t){const e=new fl({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(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(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)}}function bl(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function _l(t){return"undefined"!=typeof Blob&&t instanceof Blob}function Cl(t){return"undefined"!=typeof FormData&&t instanceof FormData}class Pl{constructor(t,e,n,a){let o;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)||a?(this.body=void 0!==n?n:null,o=a):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.params&&(this.params=o.params)),this.headers||(this.headers=new hl),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]),s)),t.setParams&&(l=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),l)),new Pl(e,n,o,{params:l,headers:s,reportProgress:i,responseType:a,withCredentials:r})}}const Ol=function(){var t={Sent:0,UploadProgress:1,ResponseHeader:2,DownloadProgress:3,Response:4,User:5};return t[t.Sent]="Sent",t[t.UploadProgress]="UploadProgress",t[t.ResponseHeader]="ResponseHeader",t[t.DownloadProgress]="DownloadProgress",t[t.Response]="Response",t[t.User]="User",t}();class Ml{constructor(t,e=200,n="OK"){this.headers=t.headers||new hl,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 yl extends Ml{constructor(t={}){super(t),this.type=Ol.ResponseHeader}clone(t={}){return new yl({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 vl extends Ml{constructor(t={}){super(t),this.type=Ol.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new vl({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 xl extends Ml{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 wl(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}const kl=(()=>(class{constructor(t){this.handler=t}request(t,e,n={}){let a;if(t instanceof Pl)a=t;else{let o=void 0;o=n.headers instanceof hl?n.headers:new hl(n.headers);let r=void 0;n.params&&(r=n.params instanceof fl?n.params:new fl({fromObject:n.params})),a=new Pl(t,e,void 0!==n.body?n.body:null,{headers:o,params:r,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const o=gs(a).pipe(ps(t=>this.handler.handle(t)));if(t instanceof Pl||"events"===n.observe)return o;const r=o.pipe(fs(t=>t instanceof vl));switch(n.observe||"body"){case"body":switch(a.responseType){case"arraybuffer":return r.pipe(j(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return r.pipe(j(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return r.pipe(j(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return r.pipe(j(t=>t.body))}case"response":return r;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 fl).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,wl(n,e))}post(t,e,n={}){return this.request("POST",t,wl(n,e))}put(t,e,n={}){return this.request("PUT",t,wl(n,e))}}))();class Sl{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const El=new Tt("HTTP_INTERCEPTORS"),Tl=(()=>(class{intercept(t,e){return e.handle(t)}}))(),Il=/^\)\]\}',?\n/;class Rl{}const Al=(()=>(class{constructor(){}build(){return new XMLHttpRequest}}))(),Dl=(()=>(class{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new O(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 a=t.serializeBody();let o=null;const r=()=>{if(null!==o)return o;const e=1223===n.status?204:n.status,a=n.statusText||"OK",r=new hl(n.getAllResponseHeaders()),i=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 o=new yl({headers:r,status:e,statusText:a,url:i})},i=()=>{let{headers:a,status:o,statusText:i,url:s}=r(),l=null;204!==o&&(l=void 0===n.response?n.responseText:n.response),0===o&&(o=l?200:0);let c=o>=200&&o<300;if("json"===t.responseType&&"string"==typeof l){const t=l;l=l.replace(Il,"");try{l=""!==l?JSON.parse(l):null}catch(d){l=t,c&&(c=!1,l={error:d,text:l})}}c?(e.next(new vl({body:l,headers:a,status:o,statusText:i,url:s||void 0})),e.complete()):e.error(new xl({error:l,headers:a,status:o,statusText:i,url:s||void 0}))},s=t=>{const{url:a}=r(),o=new xl({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:a||void 0});e.error(o)};let l=!1;const c=a=>{l||(e.next(r()),l=!0);let o={type:Ol.DownloadProgress,loaded:a.loaded};a.lengthComputable&&(o.total=a.total),"text"===t.responseType&&n.responseText&&(o.partialText=n.responseText),e.next(o)},d=t=>{let n={type:Ol.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",i),n.addEventListener("error",s),t.reportProgress&&(n.addEventListener("progress",c),null!==a&&n.upload&&n.upload.addEventListener("progress",d)),n.send(a),e.next({type:Ol.Sent}),()=>{n.removeEventListener("error",s),n.removeEventListener("load",i),t.reportProgress&&(n.removeEventListener("progress",c),null!==a&&n.upload&&n.upload.removeEventListener("progress",d)),n.abort()}})}}))(),Nl=new Tt("XSRF_COOKIE_NAME"),zl=new Tt("XSRF_HEADER_NAME");class Ll{}const Fl=(()=>(class{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=Ds(t,this.cookieName),this.lastCookieString=t),this.lastToken}}))(),Vl=(()=>(class{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 a=this.tokenService.getToken();return null===a||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,a)})),e.handle(t)}}))(),Bl=(()=>(class{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(El,[]);this.chain=t.reduceRight((t,e)=>new Sl(t,e),this.backend)}return this.chain.handle(t)}}))(),Hl=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:Vl,useClass:Tl}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:Nl,useValue:e.cookieName}:[],e.headerName?{provide:zl,useValue:e.headerName}:[]]}}}return t})(),jl=(()=>(class{}))(),Ul=(()=>{class t{constructor(t){this.http=t,this.hostname=cs.API_ENDPOINT}getModStatus(){return this.http.get(this.hostname+"/host/mod/status")}installModStep1(){return this.http.post(this.hostname+"/host/mod/install/step1","")}installModStep2(){return this.http.post(this.hostname+"/host/mod/install/step2","")}installModStep3(){return this.http.post(this.hostname+"/host/mod/install/step3","")}resetAssets(){return this.http.post(this.hostname+"/host/mod/resetassets","")}uninstallBeatSaber(){return this.http.post(this.hostname+"/host/mod/uninstallbeatsaber","")}getNetInfo(){return this.http.get(this.hostname+"/host/mod/netinfo")}getConfig(){return this.http.get(this.hostname+"/host/beatsaber/config")}uploadFile(t){return this.http.post(this.hostname+"/host/beatsaber/upload",t)}commitConfig(){return this.http.post(this.hostname+"/host/beatsaber/commitconfig","")}reloadSongsFromFolders(){return this.http.post(this.hostname+"/host/beatsaber/reloadsongfolders","")}putConfig(t){return this.http.put(this.hostname+"/host/beatsaber/config",t)}autoCreatePlaylists(t,e){return this.http.post(this.hostname+"/host/beatsaber/playlist/autocreate?sortorder="+ds[t]+"maxnumpernameplaylist="+e,{})}}return t.ngInjectableDef=pt({factory:function(){return new t(St(kl))},token:t,providedIn:"root"}),t})();class $l extends k{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new v;return this._value}next(t){super.next(this._value=t)}}function ql(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}ql.prototype=Object.create(Error.prototype);const Wl=ql,Yl={};function Gl(...t){let e=null,n=null;return E(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&l(t[0])&&(t=t[0]),q(t,n).lift(new Zl(e))}class Zl{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new Ql(t,this.resultSelector))}}class Ql extends H{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(Yl),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(a){return void e.error(a)}return(n?W(n):ms()).subscribe(e)})}function Xl(){return K(1)}function Jl(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}Jl.prototype=Object.create(Error.prototype);const tc=Jl;function ec(t){return function(e){return 0===t?ms():e.lift(new nc(t))}}class nc{constructor(t){if(this.total=t,this.total<0)throw new tc}call(t,e){return e.subscribe(new ac(t,this.total))}}class ac extends p{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,a=this.count++;e.length0){const n=this.count>=this.total?this.total:this.count,a=this.ring;for(let o=0;ooc({hasValue:!1,next(){this.hasValue=!0},complete(){if(!this.hasValue)throw t()}});function lc(t=null){return e=>e.lift(new cc(t))}class cc{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new dc(t,this.defaultValue))}}class dc extends p{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()}}function uc(t,e){const n=arguments.length>=2;return a=>a.pipe(t?fs((e,n)=>t(e,n,a)):Q,ec(1),n?lc(e):sc(()=>new Wl))}function mc(t){return function(e){const n=new hc(t),a=e.lift(n);return n.caught=a}}class hc{constructor(t){this.selector=t}call(t,e){return e.subscribe(new gc(t,this.selector,this.caught))}}class gc extends H{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 a=new T(this,void 0,void 0);this.add(a),B(this,n,void 0,void 0,a)}}}function pc(t){return e=>0===t?ms():e.lift(new fc(t))}class fc{constructor(t){if(this.total=t,this.total<0)throw new tc}call(t,e){return e.subscribe(new bc(t,this.total))}}class bc extends p{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()))}}function _c(t,e){const n=arguments.length>=2;return a=>a.pipe(t?fs((e,n)=>t(e,n,a)):Q,pc(1),n?lc(e):sc(()=>new Wl))}class Cc{constructor(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}call(t,e){return e.subscribe(new Pc(t,this.predicate,this.thisArg,this.source))}}class Pc extends p{constructor(t,e,n,a){super(t),this.predicate=e,this.thisArg=n,this.source=a,this.index=0,this.thisArg=n||this}notifyComplete(t){this.destination.next(t),this.destination.complete()}_next(t){let e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}function Oc(t,e){return"function"==typeof e?n=>n.pipe(Oc((n,a)=>W(t(n,a)).pipe(j((t,o)=>e(n,t,a,o))))):e=>e.lift(new Mc(t))}class Mc{constructor(t){this.project=t}call(t,e){return e.subscribe(new yc(t,this.project))}}class yc extends H{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(a){return void this.destination.error(a)}this._innerSub(e,t,n)}_innerSub(t,e,n){const a=this.innerSubscription;a&&a.unsubscribe();const o=new T(this,void 0,void 0);this.destination.add(o),this.innerSubscription=B(this,t,e,n,o)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(t,e,n,a,o){this.destination.next(e)}}function vc(...t){return e=>{let n=t[t.length-1];E(n)?t.pop():n=null;const a=t.length;return function(...t){return Xl()(gs(...t))}(1!==a||n?a>0?q(t,n):ms(n):hs(t[0]),e)}}function xc(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(a){return a.lift(new wc(t,e,n))}}class wc{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new kc(t,this.accumulator,this.seed,this.hasSeed))}}class kc extends p{constructor(t,e,n,a){super(t),this.accumulator=e,this._seed=n,this.hasSeed=a,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(a){this.destination.error(a)}this.seed=n,this.destination.next(n)}}function Sc(t){return e=>e.lift(new Ec(t))}class Ec{constructor(t){this.callback=t}call(t,e){return e.subscribe(new Tc(t,this.callback))}}class Tc extends p{constructor(t,e){super(t),this.add(new m(e))}}let Ic=null;function Rc(){return Ic}class Ac{constructor(){this.resourceLoaderType=null}get attrToPropMap(){return this._attrToPropMap}set attrToPropMap(t){this._attrToPropMap=t}}class Dc extends Ac{constructor(){super(),this._animationPrefix=null,this._transitionEnd=null;try{const e=this.createElement("div",document);if(null!=this.getStyle(e,"animationName"))this._animationPrefix="";else{const t=["Webkit","Moz","O","ms"];for(let n=0;n{null!=this.getStyle(e,t)&&(this._transitionEnd=n[t])})}catch(t){this._animationPrefix=null,this._transitionEnd=null}}getDistributedNodes(t){return t.getDistributedNodes()}resolveAndSetHref(t,e,n){t.href=null==n?e:e+"/../"+n}supportsDOMEvents(){return!0}supportsNativeShadowDOM(){return"function"==typeof document.body.createShadowRoot}getAnimationPrefix(){return this._animationPrefix?this._animationPrefix:""}getTransitionEnd(){return this._transitionEnd?this._transitionEnd:""}supportsAnimation(){return null!=this._animationPrefix&&null!=this._transitionEnd}}const Nc={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},zc=3,Lc={"\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"},Fc={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"},Vc=(()=>{if(vt.Node)return vt.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))}})();class Bc extends Dc{parse(t){throw new Error("parse not implemented")}static makeCurrent(){var t;t=new Bc,Ic||(Ic=t)}hasProperty(t,e){return e in t}setProperty(t,e,n){t[e]=n}getProperty(t,e){return t[e]}invoke(t,e,n){t[e](...n)}logError(t){window.console&&(console.error?console.error(t):console.log(t))}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}get attrToPropMap(){return Nc}contains(t,e){return Vc.call(t,e)}querySelector(t,e){return t.querySelector(e)}querySelectorAll(t,e){return t.querySelectorAll(e)}on(t,e,n){t.addEventListener(e,n,!1)}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}createMouseEvent(t){const e=this.getDefaultDocument().createEvent("MouseEvent");return e.initEvent(t,!0,!0),e}createEvent(t){const e=this.getDefaultDocument().createEvent("Event");return e.initEvent(t,!0,!0),e}preventDefault(t){t.preventDefault(),t.returnValue=!1}isPrevented(t){return t.defaultPrevented||null!=t.returnValue&&!t.returnValue}getInnerHTML(t){return t.innerHTML}getTemplateContent(t){return"content"in t&&this.isTemplateElement(t)?t.content:null}getOuterHTML(t){return t.outerHTML}nodeName(t){return t.nodeName}nodeValue(t){return t.nodeValue}type(t){return t.type}content(t){return this.hasProperty(t,"content")?t.content:t}firstChild(t){return t.firstChild}nextSibling(t){return t.nextSibling}parentElement(t){return t.parentNode}childNodes(t){return t.childNodes}childNodesAsList(t){const e=t.childNodes,n=new Array(e.length);for(let a=0;at.insertBefore(n,e))}insertAfter(t,e,n){t.insertBefore(n,e.nextSibling)}setInnerHTML(t,e){t.innerHTML=e}getText(t){return t.textContent}setText(t,e){t.textContent=e}getValue(t){return t.value}setValue(t,e){t.value=e}getChecked(t){return t.checked}setChecked(t,e){t.checked=e}createComment(t){return this.getDefaultDocument().createComment(t)}createTemplate(t){const e=this.getDefaultDocument().createElement("template");return e.innerHTML=t,e}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createElementNS(t,e,n){return(n=n||this.getDefaultDocument()).createElementNS(t,e)}createTextNode(t,e){return(e=e||this.getDefaultDocument()).createTextNode(t)}createScriptTag(t,e,n){const a=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return a.setAttribute(t,e),a}createStyleElement(t,e){const n=(e=e||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(t,e)),n}createShadowRoot(t){return t.createShadowRoot()}getShadowRoot(t){return t.shadowRoot}getHost(t){return t.host}clone(t){return t.cloneNode(!0)}getElementsByClassName(t,e){return t.getElementsByClassName(e)}getElementsByTagName(t,e){return t.getElementsByTagName(e)}classList(t){return Array.prototype.slice.call(t.classList,0)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}hasClass(t,e){return t.classList.contains(e)}setStyle(t,e,n){t.style[e]=n}removeStyle(t,e){t.style[e]=""}getStyle(t,e){return t.style[e]}hasStyle(t,e,n){const a=this.getStyle(t,e)||"";return n?a==n:a.length>0}tagName(t){return t.tagName}attributeMap(t){const e=new Map,n=t.attributes;for(let a=0;a{class t extends Cs{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=Rc().getLocation(),this._history=Rc().getHistory()}getBaseHrefFromDOM(){return Rc().getBaseHref(this._doc)}onPopState(t){Rc().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){Rc().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}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){Uc()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){Uc()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return t.ctorParameters=(()=>[{type:void 0,decorators:[{type:ct,args:[ol]}]}]),t})(),qc=new Tt("TRANSITION_ID"),Wc=[{provide:Eo,useFactory:function(t,e,n){return()=>{n.get(To).donePromise.then(()=>{const n=Rc();Array.prototype.slice.apply(n.querySelectorAll(e,"style[ng-transition]")).filter(e=>n.getAttribute(e,"ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[qc,ol,Nt],multi:!0}];class Yc{static init(){var t;t=new Yc,dr=t}addToWindow(t){vt.getAngularTestability=((e,n=!0)=>{const a=t.findTestabilityInTree(e,n);if(null==a)throw new Error("Could not find testability for element.");return a}),vt.getAllAngularTestabilities=(()=>t.getAllTestabilities()),vt.getAllAngularRootElements=(()=>t.getAllRootElements()),vt.frameworkStabilizers||(vt.frameworkStabilizers=[]),vt.frameworkStabilizers.push(t=>{const e=vt.getAllAngularTestabilities();let n=e.length,a=!1;const o=function(e){a=a||e,0==--n&&t(a)};e.forEach(function(t){t.whenStable(o)})})}findTestabilityInTree(t,e,n){if(null==e)return null;const a=t.getTestability(e);return null!=a?a:n?Rc().isShadowRoot(e)?this.findTestabilityInTree(t,Rc().getHost(e),!0):this.findTestabilityInTree(t,Rc().parentElement(e),!0):null}}function Gc(t,e){"undefined"!=typeof COMPILED&&COMPILED||((vt.ng=vt.ng||{})[t]=e)}const Zc=(()=>({ApplicationRef:_r,NgZone:Jo}))();function Qc(t){return Sr(t)}const Kc=new Tt("EventManagerPlugins"),Xc=(()=>(class{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 a=0;a(class{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)}}))(),ed=(()=>(class extends td{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>Rc().remove(t))}}))(),nd={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/"},ad=/%COMP%/g,od="_nghost-%COMP%",rd="_ngcontent-%COMP%";function id(t,e,n){for(let a=0;a{!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}const ld=(()=>(class{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new cd(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case Jt.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new md(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case Jt.Native:case Jt.ShadowDom:return new hd(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=id(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}))();class cd{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(nd[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,a){if(a){e=`${a}:${e}`;const o=nd[a];o?t.setAttributeNS(o,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const a=nd[n];a?t.removeAttributeNS(a,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,a){a&ln.DashCase?t.style.setProperty(e,n,a&ln.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&ln.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){ud(e,"property"),t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return ud(e,"listener"),"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,sd(n)):this.eventManager.addEventListener(t,e,sd(n))}}const dd=(()=>"@".charCodeAt(0))();function ud(t,e){if(t.charCodeAt(0)===dd)throw new Error(`Found the synthetic ${e} ${t}. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.`)}class md extends cd{constructor(t,e,n,a){super(t),this.component=n;const o=id(a+"-"+n.id,n.styles,[]);e.addStyles(o),this.contentAttr=rd.replace(ad,a+"-"+n.id),this.hostAttr=od.replace(ad,a+"-"+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 hd extends cd{constructor(t,e,n,a){super(t),this.sharedStylesHost=e,this.hostEl=n,this.component=a,this.shadowRoot=a.encapsulation===Jt.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const o=id(a.id,a.styles,[]);for(let r=0;r"undefined"!=typeof Zone&&Zone.__symbol__||function(t){return"__zone_symbol__"+t})(),pd=gd("addEventListener"),fd=gd("removeEventListener"),bd={},_d="__zone_symbol__propagationStopped",Cd=(()=>{const t="undefined"!=typeof Zone&&Zone[gd("BLACK_LISTED_EVENTS")];if(t){const e={};return t.forEach(t=>{e[t]=t}),e}})(),Pd=function(t){return!!Cd&&Cd.hasOwnProperty(t)},Od=function(t){const e=bd[t.type];if(!e)return;const n=this[e];if(!n)return;const a=[t];if(1===n.length){const t=n[0];return t.zone!==Zone.current?t.zone.run(t.handler,this,a):t.handler.apply(this,a)}{const e=n.slice();for(let n=0;n(class extends Jc{constructor(t,e,n){super(t),this.ngZone=e,n&&ll(n)||this.patchEvent()}patchEvent(){if("undefined"==typeof Event||!Event||!Event.prototype)return;if(Event.prototype.__zone_symbol__stopImmediatePropagation)return;const t=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[_d]=!0),t&&t.apply(this,arguments)}}supports(t){return!0}addEventListener(t,e,n){let a=n;if(!t[pd]||Jo.isInAngularZone()&&!Pd(e))t.addEventListener(e,a,!1);else{let n=bd[e];n||(n=bd[e]=gd("ANGULAR"+e+"FALSE"));let o=t[n];const r=o&&o.length>0;o||(o=t[n]=[]);const i=Pd(e)?Zone.root:Zone.current;if(0===o.length)o.push({zone:i,handler:a});else{let t=!1;for(let e=0;ethis.removeEventListener(t,e,a)}removeEventListener(t,e,n){let a=t[fd];if(!a)return t.removeEventListener.apply(t,[e,n,!1]);let o=bd[e],r=o&&t[o];if(!r)return t.removeEventListener.apply(t,[e,n,!1]);let i=!1;for(let s=0;s(class{constructor(){this.events=[],this.overrides={}}buildHammer(t){const e=new Hammer(t,this.options);e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0});for(const n in this.overrides)e.get(n).set(this.overrides[n]);return e}}))(),kd=(()=>(class extends Jc{constructor(t,e,n,a){super(t),this._config=e,this.console=n,this.loader=a}supports(t){return!(!yd.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t)||!window.Hammer&&!this.loader&&(this.console.warn(`The "${t}" event cannot be bound because Hammer.JS is not `+"loaded and no custom loader has been specified."),1))}addEventListener(t,e,n){const a=this.manager.getZone();if(e=e.toLowerCase(),!window.Hammer&&this.loader){let a=!1,o=()=>{a=!0};return this.loader().then(()=>{if(!window.Hammer)return this.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(o=(()=>{}));a||(o=this.addEventListener(t,e,n))}).catch(()=>{this.console.warn(`The "${e}" event cannot be bound because the custom `+"Hammer.JS loader failed."),o=(()=>{})}),()=>{o()}}return a.runOutsideAngular(()=>{const o=this._config.buildHammer(t),r=function(t){a.runGuarded(function(){n(t)})};return o.on(e,r),()=>{o.off(e,r),"function"==typeof o.destroy&&o.destroy()}})}isCustomEvent(t){return this._config.events.indexOf(t)>-1}}))(),Sd=["alt","control","meta","shift"],Ed={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},Td=(()=>{class t extends Jc{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,a){const o=t.parseEventName(n),r=t.eventCallback(o.fullKey,a,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Rc().onAndCancel(e,o.domEventName,r))}static parseEventName(e){const n=e.toLowerCase().split("."),a=n.shift();if(0===n.length||"keydown"!==a&&"keyup"!==a)return null;const o=t._normalizeKey(n.pop());let r="";if(Sd.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),r+=t+".")}),r+=o,0!=n.length||0===o.length)return null;const i={};return i.domEventName=a,i.fullKey=r,i}static getEventFullKey(t){let e="",n=Rc().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Sd.forEach(a=>{a!=n&&(0,Ed[a])(t)&&(e+=a+".")}),e+=n}static eventCallback(e,n,a){return o=>{t.getEventFullKey(o)===e&&a.runGuarded(()=>n(o))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t})();class Id{}const Rd=(()=>(class extends Id{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case Ee.NONE:return e;case Ee.HTML:return e instanceof Dd?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),function(t,e){let n=null;try{ke=ke||new le(t);let a=e?String(e):"";n=ke.getInertBodyElement(a);let o=5,r=a;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,a=r,r=n.innerHTML,n=ke.getInertBodyElement(a)}while(a!==r);const i=new ye,s=i.sanitizeChildren(Se(n)||n);return se()&&i.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n){const t=Se(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}(this._doc,String(e)));case Ee.STYLE:return e instanceof Nd?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),function(t){if(!(t=String(t).trim()))return"";const e=t.match(Re);return e&&ue(e[1])===e[1]||t.match(Ie)&&function(t){let e=!0,n=!0;for(let a=0;a{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:Io,useValue:e.appId},{provide:qc,useExisting:Io},Wc]}}}return t})();"undefined"!=typeof window&&window;class jd{constructor(t,e){this.id=t,this.url=e}}class Ud extends jd{constructor(t,e,n="imperative",a=null){super(t,e),this.navigationTrigger=n,this.restoredState=a}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class $d extends jd{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class qd extends jd{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Wd extends jd{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Yd extends jd{constructor(t,e,n,a){super(t,e),this.urlAfterRedirects=n,this.state=a}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Gd extends jd{constructor(t,e,n,a){super(t,e),this.urlAfterRedirects=n,this.state=a}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Zd extends jd{constructor(t,e,n,a,o){super(t,e),this.urlAfterRedirects=n,this.state=a,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Qd extends jd{constructor(t,e,n,a){super(t,e),this.urlAfterRedirects=n,this.state=a}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Kd extends jd{constructor(t,e,n,a){super(t,e),this.urlAfterRedirects=n,this.state=a}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Xd{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Jd{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class tu{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class eu{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class nu{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class au{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ou{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const ru=(()=>(class{}))(),iu="primary";class su{constructor(t){this.params=t||{}}has(t){return this.params.hasOwnProperty(t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function lu(t){return new su(t)}const cu="ngNavigationCancelingError";function du(t){const e=Error("NavigationCancelingError: "+t);return e[cu]=!0,e}function uu(t,e,n){const a=n.path.split("/");if(a.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||a.length0?t[t.length-1]:null}function Pu(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Ou(t){return ze(t)?t:Ne(t)?W(Promise.resolve(t)):gs(t)}function Mu(t,e,n){return n?function(t,e){return bu(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!wu(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(const a in n.children){if(!e.children[a])return!1;if(!t(e.children[a],n.children[a]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>e[n]===t[n])}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,a,o){if(n.segments.length>o.length){return!!wu(n.segments.slice(0,o.length),o)&&!a.hasChildren()}if(n.segments.length===o.length){if(!wu(n.segments,o))return!1;for(const e in a.children){if(!n.children[e])return!1;if(!t(n.children[e],a.children[e]))return!1}return!0}{const t=o.slice(0,n.segments.length),r=o.slice(n.segments.length);return!!wu(n.segments,t)&&!!n.children[iu]&&e(n.children[iu],a,r)}}(e,n,n.segments)}(t.root,e.root)}class yu{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=lu(this.queryParams)),this._queryParamMap}toString(){return Tu.serialize(this)}}class vu{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Pu(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Iu(this)}}class xu{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=lu(this.parameters)),this._parameterMap}toString(){return Lu(this)}}function wu(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}function ku(t,e){let n=[];return Pu(t.children,(t,a)=>{a===iu&&(n=n.concat(e(t,a)))}),Pu(t.children,(t,a)=>{a!==iu&&(n=n.concat(e(t,a)))}),n}class Su{}class Eu{parse(t){const e=new ju(t);return new yu(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`${`/${function t(e,n){if(!e.hasChildren())return Iu(e);if(n){const n=e.children[iu]?t(e.children[iu],!1):"",a=[];return Pu(e.children,(e,n)=>{n!==iu&&a.push(`${n}:${t(e,!1)}`)}),a.length>0?`${n}(${a.join("//")})`:n}{const n=ku(e,(n,a)=>a===iu?[t(e.children[iu],!1)]:[`${a}:${t(n,!1)}`]);return`${Iu(e)}/(${n.join("//")})`}}(t.root,!0)}`}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${Au(e)}=${Au(t)}`).join("&"):`${Au(e)}=${Au(n)}`});return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const Tu=new Eu;function Iu(t){return t.segments.map(t=>Lu(t)).join("/")}function Ru(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Au(t){return Ru(t).replace(/%3B/gi,";")}function Du(t){return Ru(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Nu(t){return decodeURIComponent(t)}function zu(t){return Nu(t.replace(/\+/g,"%20"))}function Lu(t){return`${Du(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${Du(t)}=${Du(e[t])}`).join("")}`;var e}const Fu=/^[^\/()?;=#]+/;function Vu(t){const e=t.match(Fu);return e?e[0]:""}const Bu=/^[^=?&#]+/,Hu=/^[^?&#]+/;class ju{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new vu([],{}):new vu([],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[iu]=new vu(t,e)),n}parseSegment(){const t=Vu(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new xu(Nu(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Vu(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=Vu(this.remaining);t&&this.capture(n=t)}t[Nu(e)]=Nu(n)}parseQueryParam(t){const e=function(t){const e=t.match(Bu);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(Hu);return e?e[0]:""}(this.remaining);t&&this.capture(n=t)}const a=zu(e),o=zu(n);if(t.hasOwnProperty(a)){let e=t[a];Array.isArray(e)||(t[a]=e=[e]),e.push(o)}else t[a]=o}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Vu(this.remaining),a=this.remaining[n.length];if("/"!==a&&")"!==a&&";"!==a)throw new Error(`Cannot parse url '${this.url}'`);let o=void 0;n.indexOf(":")>-1?(o=n.substr(0,n.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=iu);const r=this.parseChildren();e[o]=1===Object.keys(r).length?r[iu]:new vu([],r),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 Uu{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=$u(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=$u(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=qu(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return qu(t,this._root).map(t=>t.value)}}function $u(t,e){if(t===e.value)return e;for(const n of e.children){const e=$u(t,n);if(e)return e}return null}function qu(t,e){if(t===e.value)return[e];for(const n of e.children){const a=qu(t,n);if(a.length)return a.unshift(e),a}return[]}class Wu{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Yu(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Gu extends Uu{constructor(t,e){super(t),this.snapshot=e,tm(this,t)}toString(){return this.snapshot.toString()}}function Zu(t,e){const n=function(t,e){const n=new Xu([],{},{},"",{},iu,e,null,t.root,-1,{});return new Ju("",new Wu(n,[]))}(t,e),a=new $l([new xu("",{})]),o=new $l({}),r=new $l({}),i=new $l({}),s=new $l(""),l=new Qu(a,o,i,s,r,iu,e,n.root);return l.snapshot=n.root,new Gu(new Wu(l,[]),n)}class Qu{constructor(t,e,n,a,o,r,i,s){this.url=t,this.params=e,this.queryParams=n,this.fragment=a,this.data=o,this.outlet=r,this.component=i,this._futureSnapshot=s}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(j(t=>lu(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(j(t=>lu(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ku(t,e="emptyOnly"){const n=t.pathFromRoot;let a=0;if("always"!==e)for(a=n.length-1;a>=1;){const t=n[a],e=n[a-1];if(t.routeConfig&&""===t.routeConfig.path)a--;else{if(e.component)break;a--}}return function(t){return t.reduce((t,e)=>({params:Object.assign({},t.params,e.params),data:Object.assign({},t.data,e.data),resolve:Object.assign({},t.resolve,e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(a))}class Xu{constructor(t,e,n,a,o,r,i,s,l,c,d){this.url=t,this.params=e,this.queryParams=n,this.fragment=a,this.data=o,this.outlet=r,this.component=i,this.routeConfig=s,this._urlSegment=l,this._lastPathIndex=c,this._resolve=d}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=lu(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=lu(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ju extends Uu{constructor(t,e){super(e),this.url=t,tm(this,e)}toString(){return em(this._root)}}function tm(t,e){e.value._routerState=t,e.children.forEach(e=>tm(t,e))}function em(t){const e=t.children.length>0?` { ${t.children.map(em).join(", ")} } `:"";return`${t.value}${e}`}function nm(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,bu(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),bu(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;nbu(t.parameters,a[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||am(t.parent,e.parent))}function om(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function rm(t,e,n,a,o){let r={};return a&&Pu(a,(t,e)=>{r[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new yu(n.root===t?e:function t(e,n,a){const o={};return Pu(e.children,(e,r)=>{o[r]=e===n?a:t(e,n,a)}),new vu(e.segments,o)}(n.root,t,e),r,o)}class im{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&om(n[0]))throw new Error("Root segment cannot have matrix parameters");const a=n.find(t=>"object"==typeof t&&null!=t&&t.outlets);if(a&&a!==Cu(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class sm{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function lm(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[iu]:`${t}`}function cm(t,e,n){if(t||(t=new vu([],{})),0===t.segments.length&&t.hasChildren())return dm(t,e,n);const a=function(t,e,n){let a=0,o=e;const r={match:!1,pathIndex:0,commandIndex:0};for(;o=n.length)return r;const e=t.segments[o],i=lm(n[a]),s=a0&&void 0===i)break;if(i&&s&&"object"==typeof s&&void 0===s.outlets){if(!gm(i,s,e))return r;a+=2}else{if(!gm(i,{},e))return r;a++}o++}return{match:!0,pathIndex:o,commandIndex:a}}(t,e,n),o=n.slice(a.commandIndex);if(a.match&&a.pathIndex{null!==n&&(o[a]=cm(t.children[a],e,n))}),Pu(t.children,(t,e)=>{void 0===a[e]&&(o[e]=t)}),new vu(t.segments,o)}}function um(t,e,n){const a=t.segments.slice(0,e);let o=0;for(;o{null!==t&&(e[n]=um(new vu([],{}),0,t))}),e}function hm(t){const e={};return Pu(t,(t,n)=>e[n]=`${t}`),e}function gm(t,e,n){return t==n.path&&bu(e,n.parameters)}const pm=(t,e,n)=>j(a=>(new fm(e,a.targetRouterState,a.currentRouterState,n).activate(t),a));class fm{constructor(t,e,n,a){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=a}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),nm(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const a=Yu(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,a[e],n),delete a[e]}),Pu(a,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const a=t.value,o=e?e.value:null;if(a===o)if(a.component){const o=n.getContext(a.outlet);o&&this.deactivateChildRoutes(t,e,o.children)}else this.deactivateChildRoutes(t,e,n);else o&&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(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:a})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet);if(n){const a=Yu(t),o=t.value.component?n.children:e;Pu(a,(t,e)=>this.deactivateRouteAndItsChildren(t,o)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(t,e,n){const a=Yu(e);t.children.forEach(t=>{this.activateRoutes(t,a[t.value.outlet],n),this.forwardEvent(new au(t.value.snapshot))}),t.children.length&&this.forwardEvent(new eu(t.value.snapshot))}activateRoutes(t,e,n){const a=t.value,o=e?e.value:null;if(nm(a),a===o)if(a.component){const o=n.getOrCreateContext(a.outlet);this.activateChildRoutes(t,e,o.children)}else this.activateChildRoutes(t,e,n);else if(a.component){const e=n.getOrCreateContext(a.outlet);if(this.routeReuseStrategy.shouldAttach(a.snapshot)){const t=this.routeReuseStrategy.retrieve(a.snapshot);this.routeReuseStrategy.store(a.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),bm(t.route)}else{const n=function(t){for(let e=a.snapshot.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(),o=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=a,e.resolver=o,e.outlet&&e.outlet.activateWith(a,o),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function bm(t){nm(t.value),t.children.forEach(bm)}function _m(t){return"function"==typeof t}function Cm(t){return t instanceof yu}class Pm{constructor(t){this.segmentGroup=t||null}}class Om{constructor(t){this.urlTree=t}}function Mm(t){return new O(e=>e.error(new Pm(t)))}function ym(t){return new O(e=>e.error(new Om(t)))}function vm(t){return new O(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class xm{constructor(t,e,n,a,o){this.configLoader=e,this.urlSerializer=n,this.urlTree=a,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(tn)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,iu).pipe(j(t=>this.createUrlTree(t,this.urlTree.queryParams,this.urlTree.fragment))).pipe(mc(t=>{if(t instanceof Om)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof Pm)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,iu).pipe(j(e=>this.createUrlTree(e,t.queryParams,t.fragment))).pipe(mc(t=>{if(t instanceof Pm)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const a=t.segments.length>0?new vu([],{[iu]:t}):t;return new yu(a,e,n)}expandSegmentGroup(t,e,n,a){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(j(t=>new vu([],t))):this.expandSegment(t,n,e,n.segments,a,!0)}expandChildren(t,e,n){return function(t,e){if(0===Object.keys(t).length)return gs({});const n=[],a=[],o={};return Pu(t,(t,r)=>{const i=e(r,t).pipe(j(t=>o[r]=t));r===iu?n.push(i):a.push(i)}),gs.apply(null,n.concat(a)).pipe(Xl(),uc(),j(()=>o))}(n.children,(n,a)=>this.expandSegmentGroup(t,e,a,n))}expandSegment(t,e,n,a,o,r){return gs(...n).pipe(j(i=>this.expandSegmentAgainstRoute(t,e,n,i,a,o,r).pipe(mc(t=>{if(t instanceof Pm)return gs(null);throw t}))),Xl(),_c(t=>!!t),mc((t,n)=>{if(t instanceof Wl||"EmptyError"===t.name){if(this.noLeftoversInUrl(e,a,o))return gs(new vu([],{}));throw new Pm(e)}throw t}))}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}expandSegmentAgainstRoute(t,e,n,a,o,r,i){return Em(a)!==r?Mm(e):void 0===a.redirectTo?this.matchSegmentAgainstRoute(t,e,a,o):i&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,a,o,r):Mm(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,a,o,r){return"**"===a.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,a,r):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,a,o,r)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,a){const o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?ym(o):this.lineralizeSegments(n,o).pipe(Y(n=>{const o=new vu(n,{});return this.expandSegment(t,o,e,n,a,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,a,o,r){const{matched:i,consumedSegments:s,lastChild:l,positionalParamSegments:c}=wm(e,a,o);if(!i)return Mm(e);const d=this.applyRedirectCommands(s,a.redirectTo,c);return a.redirectTo.startsWith("/")?ym(d):this.lineralizeSegments(a,d).pipe(Y(a=>this.expandSegment(t,e,n,a.concat(o.slice(l)),r,!1)))}matchSegmentAgainstRoute(t,e,n,a){if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(j(t=>(n._loadedConfig=t,new vu(a,{})))):gs(new vu(a,{}));const{matched:o,consumedSegments:r,lastChild:i}=wm(e,n,a);if(!o)return Mm(e);const s=a.slice(i);return this.getChildConfig(t,n,a).pipe(Y(t=>{const n=t.module,a=t.routes,{segmentGroup:o,slicedSegments:i}=function(t,e,n,a){return n.length>0&&function(t,e,n){return a.some(n=>Sm(t,e,n)&&Em(n)!==iu)}(t,n)?{segmentGroup:km(new vu(e,function(t,e){const n={};n[iu]=e;for(const a of t)""===a.path&&Em(a)!==iu&&(n[Em(a)]=new vu([],{}));return n}(a,new vu(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return a.some(n=>Sm(t,e,n))}(t,n)?{segmentGroup:km(new vu(t.segments,function(t,e,n,a){const o={};for(const r of n)Sm(t,e,r)&&!a[Em(r)]&&(o[Em(r)]=new vu([],{}));return Object.assign({},a,o)}(t,n,a,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,r,s,a);return 0===i.length&&o.hasChildren()?this.expandChildren(n,a,o).pipe(j(t=>new vu(r,t))):0===a.length&&0===i.length?gs(new vu(r,{})):this.expandSegment(n,o,a,i,iu,!0).pipe(j(t=>new vu(r.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?gs(new mu(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?gs(e._loadedConfig):function(t,e,n){const a=e.canLoad;return a&&0!==a.length?W(a).pipe(j(a=>{const o=t.get(a);let r;if(function(t){return t&&_m(t.canLoad)}(o))r=o.canLoad(e,n);else{if(!_m(o))throw new Error("Invalid CanLoad guard");r=o(e,n)}return Ou(r)})).pipe(Xl(),(o=(t=>!0===t),t=>t.lift(new Cc(o,void 0,t)))):gs(!0);var o}(t.injector,e,n).pipe(Y(n=>n?this.configLoader.load(t.injector,e).pipe(j(t=>(e._loadedConfig=t,t))):function(t){return new O(e=>e.error(du(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):gs(new mu([],t))}lineralizeSegments(t,e){let n=[],a=e.root;for(;;){if(n=n.concat(a.segments),0===a.numberOfChildren)return gs(n);if(a.numberOfChildren>1||!a.children[iu])return vm(t.redirectTo);a=a.children[iu]}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,a){const o=this.createSegmentGroup(t,e.root,n,a);return new yu(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return Pu(t,(t,a)=>{if("string"==typeof t&&t.startsWith(":")){const o=t.substring(1);n[a]=e[o]}else n[a]=t}),n}createSegmentGroup(t,e,n,a){const o=this.createSegments(t,e.segments,n,a);let r={};return Pu(e.children,(e,o)=>{r[o]=this.createSegmentGroup(t,e,n,a)}),new vu(o,r)}createSegments(t,e,n,a){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,a):this.findOrReturn(e,n))}findPosParam(t,e,n){const a=n[e.path.substring(1)];if(!a)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return a}findOrReturn(t,e){let n=0;for(const a of e){if(a.path===t.path)return e.splice(n),a;n++}return t}}function wm(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const a=(e.matcher||uu)(n,t,e);return a?{matched:!0,consumedSegments:a.consumed,lastChild:a.consumed.length,positionalParamSegments:a.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function km(t){if(1===t.numberOfChildren&&t.children[iu]){const e=t.children[iu];return new vu(t.segments.concat(e.segments),e.children)}return t}function Sm(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Em(t){return t.outlet||iu}class Tm{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Im{constructor(t,e){this.component=t,this.route=e}}function Rm(t,e,n){const a=t._root;return function t(e,n,a,o,r={canDeactivateChecks:[],canActivateChecks:[]}){const i=Yu(n);return e.children.forEach(e=>{!function(e,n,a,o,r={canDeactivateChecks:[],canActivateChecks:[]}){const i=e.value,s=n?n.value:null,l=a?a.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){const c=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!wu(t.url,e.url);case"pathParamsOrQueryParamsChange":return!wu(t.url,e.url)||!bu(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!am(t,e)||!bu(t.queryParams,e.queryParams);case"paramsChange":default:return!am(t,e)}}(s,i,i.routeConfig.runGuardsAndResolvers);if(c?r.canActivateChecks.push(new Tm(o)):(i.data=s.data,i._resolvedData=s._resolvedData),t(e,n,i.component?l?l.children:null:a,o,r),c){r.canDeactivateChecks.push(new Im(l&&l.outlet&&l.outlet.component||null,s))}}else s&&Dm(n,l,r),r.canActivateChecks.push(new Tm(o)),t(e,null,i.component?l?l.children:null:a,o,r)}(e,i[e.value.outlet],a,o.concat([e.value]),r),delete i[e.value.outlet]}),Pu(i,(t,e)=>Dm(t,a.getContext(e),r)),r}(a,e?e._root:null,n,[a.value])}function Am(t,e,n){const a=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(a?a.module.injector:n).get(t)}function Dm(t,e,n){const a=Yu(t),o=t.value;Pu(a,(t,a)=>{Dm(t,o.component?e?e.children.getContext(a):null:e,n)}),n.canDeactivateChecks.push(new Im(o.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,o))}const Nm=Symbol("INITIAL_VALUE");function zm(){return Oc(t=>Gl(...t.map(t=>t.pipe(pc(1),vc(Nm)))).pipe(xc((t,e)=>{let n=!1;return e.reduce((t,a,o)=>{if(t!==Nm)return t;if(a===Nm&&(n=!0),!n){if(!1===a)return a;if(o===e.length-1||Cm(a))return a}return t},t)},Nm),fs(t=>t!==Nm),j(t=>Cm(t)?t:!0===t),pc(1)))}function Lm(t,e){return null!==t&&e&&e(new nu(t)),gs(!0)}function Fm(t,e){return null!==t&&e&&e(new tu(t)),gs(!0)}function Vm(t,e,n){const a=e.routeConfig?e.routeConfig.canActivate:null;return a&&0!==a.length?gs(a.map(a=>Kl(()=>{const o=Am(a,e,n);let r;if(function(t){return t&&_m(t.canActivate)}(o))r=Ou(o.canActivate(e,t));else{if(!_m(o))throw new Error("Invalid CanActivate guard");r=Ou(o(e,t))}return r.pipe(_c())}))).pipe(zm()):gs(!0)}function Bm(t,e,n){const a=e[e.length-1],o=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=>Kl(()=>gs(e.guards.map(o=>{const r=Am(o,e.node,n);let i;if(function(t){return t&&_m(t.canActivateChild)}(r))i=Ou(r.canActivateChild(a,t));else{if(!_m(r))throw new Error("Invalid CanActivateChild guard");i=Ou(r(a,t))}return i.pipe(_c())})).pipe(zm())));return gs(o).pipe(zm())}class Hm{}class jm{constructor(t,e,n,a,o,r){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=a,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=r}recognize(){try{const e=qm(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,n=this.processSegmentGroup(this.config,e,iu),a=new Xu([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},iu,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new Wu(a,n),r=new Ju(this.url,o);return this.inheritParamsAndData(r._root),gs(r)}catch(t){return new O(e=>e.error(t))}}inheritParamsAndData(t){const e=t.value,n=Ku(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=ku(e,(e,n)=>this.processSegmentGroup(t,e,n));return function(t){const e={};n.forEach(t=>{const n=e[t.value.outlet];if(n){const e=n.url.map(t=>t.toString()).join("/"),a=t.value.url.map(t=>t.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${e}' and '${a}'.`)}e[t.value.outlet]=t.value})}(),n.sort((t,e)=>t.value.outlet===iu?-1:e.value.outlet===iu?1:t.value.outlet.localeCompare(e.value.outlet)),n}processSegment(t,e,n,a){for(const r of t)try{return this.processSegmentAgainstRoute(r,e,n,a)}catch(o){if(!(o instanceof Hm))throw o}if(this.noLeftoversInUrl(e,n,a))return[];throw new Hm}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}processSegmentAgainstRoute(t,e,n,a){if(t.redirectTo)throw new Hm;if((t.outlet||iu)!==a)throw new Hm;let o,r=[],i=[];if("**"===t.path){const r=n.length>0?Cu(n).parameters:{};o=new Xu(n,r,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Gm(t),a,t.component,t,Um(e),$m(e)+n.length,Zm(t))}else{const s=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new Hm;return{consumedSegments:[],lastChild:0,parameters:{}}}const a=(e.matcher||uu)(n,t,e);if(!a)throw new Hm;const o={};Pu(a.posParams,(t,e)=>{o[e]=t.path});const r=a.consumed.length>0?Object.assign({},o,a.consumed[a.consumed.length-1].parameters):o;return{consumedSegments:a.consumed,lastChild:a.consumed.length,parameters:r}}(e,t,n);r=s.consumedSegments,i=n.slice(s.lastChild),o=new Xu(r,s.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Gm(t),a,t.component,t,Um(e),$m(e)+r.length,Zm(t))}const s=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:c}=qm(e,r,i,s,this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const t=this.processChildren(s,l);return[new Wu(o,t)]}if(0===s.length&&0===c.length)return[new Wu(o,[])];const d=this.processSegment(s,l,c,iu);return[new Wu(o,d)]}}function Um(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function $m(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function qm(t,e,n,a,o){if(n.length>0&&function(t,e,n){return a.some(n=>Wm(t,e,n)&&Ym(n)!==iu)}(t,n)){const o=new vu(e,function(t,e,n,a){const o={};o[iu]=a,a._sourceSegment=t,a._segmentIndexShift=e.length;for(const r of n)if(""===r.path&&Ym(r)!==iu){const n=new vu([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,o[Ym(r)]=n}return o}(t,e,a,new vu(n,t.children)));return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return a.some(n=>Wm(t,e,n))}(t,n)){const r=new vu(t.segments,function(t,e,n,a,o,r){const i={};for(const s of a)if(Wm(t,n,s)&&!o[Ym(s)]){const n=new vu([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===r?t.segments.length:e.length,i[Ym(s)]=n}return Object.assign({},o,i)}(t,e,n,a,t.children,o));return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:n}}const r=new vu(t.segments,t.children);return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:n}}function Wm(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Ym(t){return t.outlet||iu}function Gm(t){return t.data||{}}function Zm(t){return t.resolve||{}}function Qm(t,e,n,a){const o=Am(t,e,a);return Ou(o.resolve?o.resolve(e,n):o(e,n))}function Km(t){return function(e){return e.pipe(Oc(e=>{const n=t(e);return n?W(n).pipe(j(()=>e)):W([e])}))}}class Xm{}class Jm{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}const th=new Tt("ROUTES");class eh{constructor(t,e,n,a){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=a}load(t,e){return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(j(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const a=n.create(t);return new mu(_u(a.injector.get(th)).map(fu),a)}))}loadModuleFactory(t){return"string"==typeof t?W(this.loader.load(t)):Ou(t()).pipe(Y(t=>t instanceof en?gs(t):W(this.compiler.compileModuleAsync(t))))}}class nh{}class ah{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function oh(t){throw t}function rh(t,e,n){return e.parse("/")}function ih(t,e){return gs(null)}class sh{constructor(t,e,n,a,o,r,i,s){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=a,this.config=s,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new k,this.errorHandler=oh,this.malformedUriErrorHandler=rh,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:ih,afterPreactivation:ih},this.urlHandlingStrategy=new ah,this.routeReuseStrategy=new Jm,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(tn),this.console=o.get(Lo);const l=o.get(Jo);this.isNgZoneEnabled=l instanceof Jo,this.resetConfig(s),this.currentUrlTree=new yu(new vu([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new eh(r,i,t=>this.triggerEvent(new Xd(t)),t=>this.triggerEvent(new Jd(t))),this.routerState=Zu(this.currentUrlTree,this.rootComponentType),this.transitions=new $l({id: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()}setupNavigations(t){const e=this.events;return t.pipe(fs(t=>0!==t.id),j(t=>Object.assign({},t,{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),Oc(t=>{let n=!1,a=!1;return gs(t).pipe(oc(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign({},this.lastSuccessfulNavigation,{previousNavigation:null}):null}}),Oc(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return gs(t).pipe(Oc(t=>{const n=this.transitions.getValue();return e.next(new Ud(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?us:[t]}),Oc(t=>Promise.resolve(t)),function(t,e,n,a){return function(o){return o.pipe(Oc(o=>(function(t,e,n,a,r){return new xm(t,e,n,o.extractedUrl,r).apply()})(t,e,n,0,a).pipe(j(t=>Object.assign({},o,{urlAfterRedirects:t})))))}}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),oc(t=>{this.currentNavigation=Object.assign({},this.currentNavigation,{finalUrl:t.urlAfterRedirects})}),function(t,e,n,a,o){return function(r){return r.pipe(Y(r=>(function(t,e,n,a,o="emptyOnly",r="legacy"){return new jm(t,e,n,a,o,r).recognize()})(t,e,r.urlAfterRedirects,n(r.urlAfterRedirects),a,o).pipe(j(t=>Object.assign({},r,{targetSnapshot:t})))))}}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),oc(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),oc(t=>{const n=new Yd(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:a,source:o,restoredState:r,extras:i}=t,s=new Ud(n,this.serializeUrl(a),o,r);e.next(s);const l=Zu(a,this.rootComponentType).snapshot;return gs(Object.assign({},t,{targetSnapshot:l,urlAfterRedirects:a,extras:Object.assign({},i,{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),us}),Km(t=>{const{targetSnapshot:e,id:n,extractedUrl:a,rawUrl:o,extras:{skipLocationChange:r,replaceUrl:i}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:a,rawUrlTree:o,skipLocationChange:!!r,replaceUrl:!!i})}),oc(t=>{const e=new Gd(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),j(t=>Object.assign({},t,{guards:Rm(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return function(n){return n.pipe(Y(n=>{const{targetSnapshot:a,currentSnapshot:o,guards:{canActivateChecks:r,canDeactivateChecks:i}}=n;return 0===i.length&&0===r.length?gs(Object.assign({},n,{guardsResult:!0})):function(t,e,n,a){return W(i).pipe(Y(t=>(function(t,e,n,a,o){const r=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return r&&0!==r.length?gs(r.map(r=>{const i=Am(r,e,o);let s;if(function(t){return t&&_m(t.canDeactivate)}(i))s=Ou(i.canDeactivate(t,e,n,a));else{if(!_m(i))throw new Error("Invalid CanDeactivate guard");s=Ou(i(t,e,n,a))}return s.pipe(_c())})).pipe(zm()):gs(!0)})(t.component,t.route,n,e,a)),_c(t=>!0!==t,!0))}(0,a,o,t).pipe(Y(n=>n&&function(t){return"boolean"==typeof n}()?function(t,e,n,a){return W(r).pipe(ps(e=>W([Fm(e.route.parent,a),Lm(e.route,a),Bm(t,e.path,n),Vm(t,e.route,n)]).pipe(Xl(),_c(t=>!0!==t,!0))),_c(t=>!0!==t,!0))}(a,0,t,e):gs(n)),j(t=>Object.assign({},n,{guardsResult:t})))}))}}(this.ngModule.injector,t=>this.triggerEvent(t)),oc(t=>{if(Cm(t.guardsResult)){const e=du(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}}),oc(t=>{const e=new Zd(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),fs(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new qd(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0}),Km(t=>{if(t.guards.canActivateChecks.length)return gs(t).pipe(oc(t=>{const e=new Qd(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),function(t,e){return function(n){return n.pipe(Y(n=>{const{targetSnapshot:a,guards:{canActivateChecks:o}}=n;return o.length?W(o).pipe(ps(n=>(function(t,e,n,o){return function(t,e,n,a){const o=Object.keys(t);if(0===o.length)return gs({});if(1===o.length){const r=o[0];return Qm(t[r],e,n,a).pipe(j(t=>({[r]:t})))}const r={};return W(o).pipe(Y(o=>Qm(t[o],e,n,a).pipe(j(t=>(r[o]=t,t))))).pipe(uc(),j(()=>r))}(t._resolve,t,a,o).pipe(j(e=>(t._resolvedData=e,t.data=Object.assign({},t.data,Ku(t,n).resolve),null)))})(n.route,0,t,e)),function(t,e){return arguments.length>=2?function(e){return C(xc(t,void 0),ec(1),lc(void 0))(e)}:function(e){return C(xc((e,n,a)=>t(e)),ec(1))(e)}}((t,e)=>t),j(t=>n)):gs(n)}))}}(this.paramsInheritanceStrategy,this.ngModule.injector),oc(t=>{const e=new Kd(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),Km(t=>{const{targetSnapshot:e,id:n,extractedUrl:a,rawUrl:o,extras:{skipLocationChange:r,replaceUrl:i}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:a,rawUrlTree:o,skipLocationChange:!!r,replaceUrl:!!i})}),j(t=>{const e=function(t,e,n){const a=function t(e,n,a){if(a&&e.shouldReuseRoute(n.value,a.value.snapshot)){const o=a.value;o._futureSnapshot=n.value;const r=function(e,n,a){return n.children.map(n=>{for(const o of a.children)if(e.shouldReuseRoute(o.value.snapshot,n.value))return t(e,n,o);return t(e,n)})}(e,n,a);return new Wu(o,r)}{const a=e.retrieve(n.value);if(a){const t=a.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(let a=0;at(e,n));return new Wu(a,r)}}var o}(t,e._root,n?n._root:void 0);return new Gu(a,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign({},t,{targetRouterState:e})}),oc(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),pm(this.rootContexts,this.routeReuseStrategy,t=>this.triggerEvent(t)),oc({next(){n=!0},complete(){n=!0}}),Sc(()=>{if(!n&&!a){this.resetUrlToCurrentUrlTree();const n=new qd(t.id,this.serializeUrl(t.extractedUrl),`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`);e.next(n),t.resolve(!1)}this.currentNavigation=null}),mc(n=>{if(a=!0,function(t){return n&&n[cu]}()){const a=Cm(n.url);a||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const o=new qd(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(o),t.resolve(!1),a&&this.navigateByUrl(n.url)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const a=new Wd(t.id,this.serializeUrl(t.extractedUrl),n);e.next(a);try{t.resolve(this.errorHandler(n))}catch(o){t.reject(o)}}return us}))}))}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({},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=>{let e=this.parseUrl(t.url);const n="popstate"===t.type?"popstate":"hashchange",a=t.state&&t.state.navigationId?t.state:null;setTimeout(()=>{this.scheduleNavigation(e,n,a,{replaceUrl:!0})},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){hu(t),this.config=t.map(fu),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)}createUrlTree(t,e={}){const{relativeTo:n,queryParams:a,fragment:o,preserveQueryParams:r,queryParamsHandling:i,preserveFragment:s}=e;se()&&r&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const l=n||this.routerState.root,c=s?this.currentUrlTree.fragment:o;let d=null;if(i)switch(i){case"merge":d=Object.assign({},this.currentUrlTree.queryParams,a);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=a||null}else d=r?this.currentUrlTree.queryParams:a||null;return null!==d&&(d=this.removeEmptyProps(d)),function(t,e,n,a,o){if(0===n.length)return rm(e.root,e.root,e,a,o);const r=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new im(!0,0,t);let e=0,n=!1;const a=t.reduce((t,a,o)=>{if("object"==typeof a&&null!=a){if(a.outlets){const e={};return Pu(a.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(a.segmentPath)return[...t,a.segmentPath]}return"string"!=typeof a?[...t,a]:0===o?(a.split("/").forEach((a,o)=>{0==o&&"."===a||(0==o&&""===a?n=!0:".."===a?e++:""!=a&&t.push(a))}),t):[...t,a]},[]);return new im(n,e,a)}(n);if(r.toRoot())return rm(e.root,new vu([],{}),e,a,o);const i=function(t,n,a){if(t.isAbsolute)return new sm(e.root,!0,0);if(-1===a.snapshot._lastPathIndex)return new sm(a.snapshot._urlSegment,!0,0);const o=om(t.commands[0])?0:1;return function(e,n,r){let i=a.snapshot._urlSegment,s=a.snapshot._lastPathIndex+o,l=t.numberOfDoubleDots;for(;l>s;){if(l-=s,!(i=i.parent))throw new Error("Invalid number of '../'");s=i.segments.length}return new sm(i,!1,s-l)}()}(r,0,t),s=i.processChildren?dm(i.segmentGroup,i.index,r.commands):cm(i.segmentGroup,i.index,r.commands);return rm(i.segmentGroup,s,e,a,o)}(l,this.currentUrlTree,t,d,c)}navigateByUrl(t,e={skipLocationChange:!1}){se()&&this.isNgZoneEnabled&&!Jo.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const n=Cm(t)?t:this.parseUrl(t),a=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(a,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e{const a=t[n];return null!=a&&(e[n]=a),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.events.next(new $d(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,n,a){const o=this.getTransition();if(o&&"imperative"!==e&&"imperative"===o.source&&o.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(o&&"hashchange"==e&&"popstate"===o.source&&o.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(o&&"popstate"==e&&"hashchange"===o.source&&o.rawUrl.toString()===t.toString())return Promise.resolve(!0);let r=null,i=null;const s=new Promise((t,e)=>{r=t,i=e}),l=++this.navigationId;return this.setTransition({id:l,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:a,resolve:r,reject:i,promise:s,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),s.catch(t=>Promise.reject(t))}setBrowserUrl(t,e,n,a){const o=this.urlSerializer.serialize(t);a=a||{},this.location.isCurrentPathEqualTo(o)||e?this.location.replaceState(o,"",Object.assign({},a,{navigationId:n})):this.location.go(o,"",Object.assign({},a,{navigationId:n}))}resetStateAndUrl(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}const lh=(()=>(class{constructor(t,e,n,a,o){this.router=t,this.route=e,this.commands=[],null==n&&a.setAttribute(o.nativeElement,"tabindex","0")}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){se()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=t}onClick(){const t={skipLocationChange:dh(this.skipLocationChange),replaceUrl:dh(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:dh(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:dh(this.preserveFragment)})}}))(),ch=(()=>(class{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.subscription=t.events.subscribe(t=>{t instanceof $d&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){se()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=t}ngOnChanges(t){this.updateTargetUrlAndHref()}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,a){if(0!==t||e||n||a)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const o={skipLocationChange:dh(this.skipLocationChange),replaceUrl:dh(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:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:dh(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:dh(this.preserveFragment)})}}))();function dh(t){return""===t||!!t}const uh=(()=>(class{constructor(t,e,n,a,o){this.router=t,this.element=e,this.renderer=n,this.link=a,this.linkWithHref=o,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.subscription=t.events.subscribe(t=>{t instanceof $d&&this.update()})}ngAfterContentInit(){this.links.changes.subscribe(t=>this.update()),this.linksWithHrefs.changes.subscribe(t=>this.update()),this.update()}set routerLinkActive(t){const e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(t=>!!t)}ngOnChanges(t){this.update()}ngOnDestroy(){this.subscription.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(()=>{const t=this.hasActiveLinks();this.isActive!==t&&(this.isActive=t,this.classes.forEach(e=>{t?this.renderer.addClass(this.element.nativeElement,e):this.renderer.removeClass(this.element.nativeElement,e)}))})}isLinkActive(t){return e=>t.isActive(e.urlTree,this.routerLinkActiveOptions.exact)}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)}}))();class mh{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new hh,this.attachRef=null}}class hh{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)}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 mh,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}const gh=(()=>(class{constructor(t,e,n,a,o){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new wo,this.deactivateEvents=new wo,this.name=a||iu,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),a=this.parentContexts.getOrCreateContext(this.name).children,o=new ph(t,a,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,o),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}))();class ph{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===Qu?this.route:t===hh?this.childContexts:this.parent.get(t,e)}}class fh{}class bh{preload(t,e){return e().pipe(mc(()=>gs(null)))}}class _h{preload(t,e){return gs(null)}}const Ch=(()=>(class{constructor(t,e,n,a,o){this.router=t,this.injector=a,this.preloadingStrategy=o,this.loader=new eh(e,n,e=>t.triggerEvent(new Xd(e)),e=>t.triggerEvent(new Jd(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(fs(t=>t instanceof $d),ps(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(tn);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const a of e)if(a.loadChildren&&!a.canLoad&&a._loadedConfig){const t=a._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else a.loadChildren&&!a.canLoad?n.push(this.preloadConfig(t,a)):a.children&&n.push(this.processRoutes(t,a.children));return W(n).pipe(K(),j(t=>void 0))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>this.loader.load(t.injector,e).pipe(Y(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}))();class Ph{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 Ud?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof $d&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof ou&&(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 ou(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}const Oh=new Tt("ROUTER_CONFIGURATION"),Mh=new Tt("ROUTER_FORROOT_GUARD"),yh=[ys,{provide:Su,useClass:Eu},{provide:sh,useFactory:Th,deps:[_r,Su,hh,ys,Nt,So,Uo,th,Oh,[nh,new dt],[Xm,new dt]]},hh,{provide:Qu,useFactory:Ih,deps:[sh]},{provide:So,useClass:Mr},Ch,_h,bh,{provide:Oh,useValue:{enableTracing:!1}}];function vh(){return new hr("Router",sh)}const xh=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[yh,Eh(e),{provide:Mh,useFactory:Sh,deps:[[sh,new dt,new mt]]},{provide:Oh,useValue:n||{}},{provide:Os,useFactory:kh,deps:[Cs,[new ct(Ms),new dt],Oh]},{provide:Ph,useFactory:wh,deps:[sh,cl,Oh]},{provide:fh,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:_h},{provide:hr,multi:!0,useFactory:vh},[Rh,{provide:Eo,multi:!0,useFactory:Ah,deps:[Rh]},{provide:Nh,useFactory:Dh,deps:[Rh]},{provide:zo,multi:!0,useExisting:Nh}]]}}static forChild(e){return{ngModule:t,providers:[Eh(e)]}}}return t})();function wh(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new Ph(t,e,n)}function kh(t,e,n={}){return n.useHash?new xs(t,e):new ws(t,e)}function Sh(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Eh(t){return[{provide:Xt,multi:!0,useValue:t},{provide:th,multi:!0,useValue:t}]}function Th(t,e,n,a,o,r,i,s,l={},c,d){const u=new sh(null,e,n,a,o,r,i,_u(s));if(c&&(u.urlHandlingStrategy=c),d&&(u.routeReuseStrategy=d),l.errorHandler&&(u.errorHandler=l.errorHandler),l.malformedUriErrorHandler&&(u.malformedUriErrorHandler=l.malformedUriErrorHandler),l.enableTracing){const t=Rc();u.events.subscribe(e=>{t.logGroup(`Router Event: ${e.constructor.name}`),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return l.onSameUrlNavigation&&(u.onSameUrlNavigation=l.onSameUrlNavigation),l.paramsInheritanceStrategy&&(u.paramsInheritanceStrategy=l.paramsInheritanceStrategy),l.urlUpdateStrategy&&(u.urlUpdateStrategy=l.urlUpdateStrategy),l.relativeLinkResolution&&(u.relativeLinkResolution=l.relativeLinkResolution),u}function Ih(t){return t.routerState.root}const Rh=(()=>(class{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new k}appInitializer(){return this.injector.get(Ps,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(sh),a=this.injector.get(Oh);if(this.isLegacyDisabled(a)||this.isLegacyEnabled(a))t(!0);else if("disabled"===a.initialNavigation)n.setUpLocationChangeListener(),t(!0);else{if("enabled"!==a.initialNavigation)throw new Error(`Invalid initialNavigation options: '${a.initialNavigation}'`);n.hooks.afterPreactivation=(()=>this.initNavigation?gs(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone)),n.initialNavigation()}return e})}bootstrapListener(t){const e=this.injector.get(Oh),n=this.injector.get(Ch),a=this.injector.get(Ph),o=this.injector.get(sh),r=this.injector.get(_r);t===r.components[0]&&(this.isLegacyEnabled(e)?o.initialNavigation():this.isLegacyDisabled(e)&&o.setUpLocationChangeListener(),n.setUpPreloading(),a.init(),o.resetRootComponentType(r.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation}isLegacyDisabled(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation}}))();function Ah(t){return t.appInitializer.bind(t)}function Dh(t){return t.bootstrapListener.bind(t)}const Nh=new Tt("Router Initializer"),zh=(()=>{class t{constructor(t,e){this.appRef=t,this.beatOnApi=e,this.connectionStatus=Vh.Disconnected,this.setupMessage=new wo,this.toastMessage=new wo,this.downloadStatusMessage=new wo,this.configChangeMessage=new wo,this.opStatusMessage=new wo,this.connectionStatusChanged=new wo,cs.WS_ENDPOINT_OVERRIDE?(this.netConfig={Url:cs.API_ENDPOINT,WebSocketUrl:cs.WS_ENDPOINT_OVERRIDE},this.openSocket()):e.getNetInfo().subscribe(t=>{this.netConfig=t,console.log("HostMessageService got net config info, websocket is at "+this.netConfig.WebSocketUrl),this.openSocket()},t=>{console.log("Critical error: could not get net info for web socket!")})}openSocket(){null==this.websocket||this.websocket.readyState!==WebSocket.OPEN?(null!=this.websocket&&this.websocket.close(),this.connectionStatus=Vh.Connecting,this.connectionStatusChanged.emit(this.connectionStatus),this.websocket=new WebSocket(this.netConfig.WebSocketUrl),this.websocket.onopen=(t=>{console.log("Connection opened"),this.connectionStatus=Vh.Connected,this.connectionStatusChanged.emit(this.connectionStatus)}),this.websocket.onmessage=(t=>{this.connectionStatus!=Vh.Connected&&(this.connectionStatus=Vh.Connected,this.connectionStatusChanged.emit(this.connectionStatus));var e=new FileReader;e.onload=(()=>{let t=e.result,n=JSON.parse(t);"SetupEvent"==n.Type?this.setupMessage.emit(n):"Toast"==n.Type?this.toastMessage.emit(n):"DownloadStatus"==n.Type?this.downloadStatusMessage.emit(n):"ConfigChange"==n.Type?this.configChangeMessage.emit(n):(n.Type="OpStatus")?this.opStatusMessage.emit(n):console.log(`Unknown host message: ${t}`),this.appRef.tick()}),e.readAsText(t.data)}),this.websocket.onclose=(t=>{this.connectionStatus=Vh.Disconnected,this.connectionStatusChanged.emit(this.connectionStatus),console.log("Connection was closed, reconnecting in several seconds...")}),this.websocket.onerror=(t=>{this.connectionStatus=Vh.Error,this.connectionStatusChanged.emit(this.connectionStatus),console.log("WEBSOCKET ERROR OH NOOOOO!")})):console.log("HostMessageService.openSocket called, but the connection is already open.")}reconnect(){null!=this.websocket&&this.websocket.readyState===WebSocket.OPEN||this.openSocket()}sendClientMessage(t){this.websocket.send(JSON.stringify(t))}}return t.ngInjectableDef=pt({factory:function(){return new t(St(_r),St(Ul))},token:t,providedIn:"root"}),t})();var Lh,Fh,Vh=function(t){return t[t.Disconnected=0]="Disconnected",t[t.Connecting=1]="Connecting",t[t.Connected=2]="Connected",t[t.Error=3]="Error",t}({});!function(t){t.Error="Error",t.Warning="Warning",t.Info="Info",t.Success="Success"}(Lh||(Lh={})),function(t){t.Step1Complete="Step1Complete",t.Step2Complete="Step2Complete",t.Step3Complete="Step3Complete",t.Error="Error",t.StatusMessage="StatusMessage"}(Fh||(Fh={}));class Bh{constructor(t,e,n,a,o,r){this.toastId=t,this.config=e,this.message=n,this.title=a,this.toastType=o,this.toastRef=r,this._onTap=new k,this._onAction=new k,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(t){this._onAction.next(t)}onAction(){return this._onAction.asObservable()}}const Hh={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},jh=new Tt("ToastConfig");class Uh{constructor(t,e){this.component=t,this.injector=e}attach(t,e){return this._attachedHost=t,t.attach(this,e)}detach(){const t=this._attachedHost;if(t)return this._attachedHost=void 0,t.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class $h{attach(t,e){return this._attachedPortal=t,this.attachComponentPortal(t,e)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(t){this._disposeFn=t}}class qh extends $h{constructor(t,e,n){super(),this._hostDomElement=t,this._componentFactoryResolver=e,this._appRef=n}attachComponentPortal(t,e){const n=this._componentFactoryResolver.resolveComponentFactory(t.component);let a;return a=n.create(t.injector),this._appRef.attachView(a.hostView),this.setDisposeFn(()=>{this._appRef.detachView(a.hostView),a.destroy()}),e?this._hostDomElement.insertBefore(this._getComponentRootNode(a),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(a)),a}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}const Wh=(()=>{let t=class{constructor(t){this._document=t}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t=this._document.createElement("div");t.classList.add("overlay-container"),this._document.body.appendChild(t),this._containerElement=t}};return t.ngInjectableDef=ft({factory:function(){return new t(Et(ol))},token:t,providedIn:"root"}),t})();class Yh{constructor(t){this._portalHost=t}attach(t,e=!0){return this._portalHost.attach(t,e)}detach(){return this._portalHost.detach()}}const Gh=(()=>{let t=class{constructor(t,e,n,a){this._overlayContainer=t,this._componentFactoryResolver=e,this._appRef=n,this._document=a,this._paneElements=new Map}create(t,e){return this._createOverlayRef(this.getPaneElement(t,e))}getPaneElement(t="",e){return this._paneElements.get(e)||this._paneElements.set(e,{}),this._paneElements.get(e)[t]||(this._paneElements.get(e)[t]=this._createPaneElement(t,e)),this._paneElements.get(e)[t]}_createPaneElement(t,e){const n=this._document.createElement("div");return n.id="toast-container",n.classList.add(t),n.classList.add("toast-container"),e?e.getContainerElement().appendChild(n):this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalHost(t){return new qh(t,this._componentFactoryResolver,this._appRef)}_createOverlayRef(t){return new Yh(this._createPortalHost(t))}};return t.ngInjectableDef=ft({factory:function(){return new t(Et(Wh),Et(Ke),Et(_r),Et(ol))},token:t,providedIn:"root"}),t})();class Zh{constructor(t){this._overlayRef=t,this.duplicatesCount=0,this._afterClosed=new k,this._activate=new k,this._manualClose=new k,this._resetTimeout=new k,this._countDuplicate=new k}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(t,e){t&&this._resetTimeout.next(),e&&this._countDuplicate.next(++this.duplicatesCount)}}class Qh{constructor(t,e){this._toastPackage=t,this._parentInjector=e}get(t,e,n){return t===Bh?this._toastPackage:this._parentInjector.get(t,e,n)}}const Kh=(()=>{let t=class{constructor(t,e,n,a,o){this.overlay=e,this._injector=n,this.sanitizer=a,this.ngZone=o,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig=Object.assign({},t.default,t.config),t.config.iconClasses&&(this.toastrConfig.iconClasses=Object.assign({},t.default.iconClasses,t.config.iconClasses))}show(t,e,n={},a=""){return this._preBuildNotification(a,t,e,this.applyConfig(n))}success(t,e,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",t,e,this.applyConfig(n))}error(t,e,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",t,e,this.applyConfig(n))}info(t,e,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",t,e,this.applyConfig(n))}warning(t,e,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",t,e,this.applyConfig(n))}clear(t){for(const e of this.toasts)if(void 0!==t){if(e.toastId===t)return void e.toastRef.manualClose()}else e.toastRef.manualClose()}remove(t){const e=this._findToast(t);if(!e)return!1;if(e.activeToast.toastRef.close(),this.toasts.splice(e.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length)return!1;if(this.currentlyActivethis._buildNotification(t,e,n,a)):this._buildNotification(t,e,n,a)}_buildNotification(t,e,n,a){if(!a.toastComponent)throw new Error("toastComponent required");const o=this.findDuplicate(e,this.toastrConfig.resetTimeoutOnDuplicate,this.toastrConfig.countDuplicates);if(e&&this.toastrConfig.preventDuplicates&&null!==o)return o;this.previousToastMessage=e;let r=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(r=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const i=this.overlay.create(a.positionClass,this.overlayContainer);this.index=this.index+1;let s=e;e&&a.enableHtml&&(s=this.sanitizer.sanitize(Ee.HTML,e));const l=new Zh(i),c=new Bh(this.index,a,s,n,t,l),d=new Qh(c,this._injector),u=new Uh(a.toastComponent,d),m=i.attach(u,this.toastrConfig.newestOnTop);l.componentInstance=m._component;const h={toastId:this.index,message:e||"",toastRef:l,onShown:l.afterActivate(),onHidden:l.afterClosed(),onTap:c.onTap(),onAction:c.onAction(),portal:m};return r||setTimeout(()=>{h.toastRef.activate(),this.currentlyActive=this.currentlyActive+1}),this.toasts.push(h),h}};return t.ngInjectableDef=ft({factory:function(){return new t(Et(jh),Et(Gh),Et(At),Et(Id),Et(Jo))},token:t,providedIn:"root"}),t})(),Xh=(()=>(class{constructor(t,e,n){this.toastrService=t,this.toastPackage=e,this.ngZone=n,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=e.message,this.title=e.title,this.options=e.config,this.originalTimeout=e.config.timeOut,this.toastClasses=`${e.toastType} ${e.config.toastClass}`,this.sub=e.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=e.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=e.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=e.toastRef.countDuplicate().subscribe(t=>{this.duplicatesCount=t})}get displayStyle(){return"inactive"===this.state.value?"none":"inherit"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state=Object.assign({},this.state,{value:"active"}),!this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const t=(new Date).getTime();this.width=(this.hideTime-t)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state=Object.assign({},this.state,{value:"active"}),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state=Object.assign({},this.state,{value:"removed"}),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(t,e){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(t),e)):this.timeout=setTimeout(()=>t(),e)}outsideInterval(t,e){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(t),e)):this.intervalId=setInterval(()=>t(),e)}runInsideAngular(t){this.ngZone?this.ngZone.run(()=>t()):t()}}))();var Jh;const tg=Object.assign({},Hh,{toastComponent:Xh}),eg=(()=>Jh=class{static forRoot(t={}){return{ngModule:Jh,providers:[{provide:jh,useValue:{default:tg,config:t}}]}}})(),ng=(()=>{class t{constructor(t,e,n){this.beatOnApi=t,this.msgSvc=e,this.toastr=n,this.configUpdated=new wo,console.log("config service subscribing to host config change event"),this.msgSvc.configChangeMessage.subscribe(t=>{console.log("config service got updated config message"),this.currentConfig=t.UpdatedConfig,this.configUpdated.emit(t.UpdatedConfig)})}getConfig(){return new O(t=>{null!=this.currentConfig?t.next(this.currentConfig):this.beatOnApi.getConfig().subscribe(e=>{this.currentConfig=e,t.next(e)},e=>{this.toastr.error("Unable to load configuration","Showstopping Error",{timeOut:30}),this.currentConfig={IsCommitted:!0,Config:{}},t.next(this.currentConfig)})})}ngOnInit(){}refreshConfig(){this.beatOnApi.getConfig().subscribe(t=>{this.currentConfig=t,this.configUpdated.emit(t)},t=>{console.log("ERROR"+t)})}}return t.ngInjectableDef=pt({factory:function(){return new t(St(Ul),St(zh),St(Kh))},token:t,providedIn:"root"}),t})(),ag=(()=>{class t{constructor(){this.isBrowserShown=!1}isAppLoaded(){var e=null!=window[t.INTERFACE_NAME];return console.log("isAppLoaded called, result: "+e),e}refreshBrowser(){console.log("calling interface refresh browser"),window[t.INTERFACE_NAME].refreshBrowser()}showBrowser(){var e=document.getElementById("mainContentDiv").getBoundingClientRect();console.log("calling interface show browser with offset "+e.top),window[t.INTERFACE_NAME].showBrowser(e.top),this.isBrowserShown=!0}hideBrowser(){console.log("calling interface hide browser"),window[t.INTERFACE_NAME].hideBrowser(),this.isBrowserShown=!1}browserGoBack(){console.log("calling interface browser go back"),window[t.INTERFACE_NAME].browserGoBack()}navigateBrowser(e){console.log("calling navigate browser with "+e),window[t.INTERFACE_NAME].navigateBrowser(e)}showToast(e,n,a,o){console.log("calling toast"),window[t.INTERFACE_NAME].showToast(e,n,Lh[a],o)}}return t.INTERFACE_NAME="BeatOnAppInterface",t.ngInjectableDef=pt({factory:function(){return new t},token:t,providedIn:"root"}),t})();class og{constructor(t,e,n,a,o){this.dialogRef=t,this.data=e,this.msgSvc=n,this.cdr=a,this.appIntegration=o,this.messages=new Array,this.mainText="",this.mainText=e.mainText;var r=!1;t.afterOpened().subscribe(()=>{this.appIntegration.isBrowserShown&&this.appIntegration.isAppLoaded()&&(this.appIntegration.hideBrowser(),r=!0)}),t.beforeClosed().subscribe(()=>{r&&this.appIntegration.isAppLoaded()&&this.appIntegration.showBrowser()}),this.msgSvc.setupMessage.subscribe(t=>{console.log("Got message in spinner "+t.SetupEvent),t.SetupEvent==Fh.StatusMessage&&(console.log("pussing message to view"),this.messages.push(t.Message),this.cdr.detectChanges())})}addMessage(t){this.messages.push(t.data.Message)}ngOnInit(){}}var rg=function(t){return t[t.Queued="Queued"]="Queued",t[t.Started="Started"]="Started",t[t.Complete="Complete"]="Complete",t[t.Failed="Failed"]="Failed",t}({});const ig=(()=>{class t{constructor(){this.backClicked=new wo,this.navigate=new wo,this.refreshClicked=new wo}triggerBackClicked(){this.backClicked.emit(!0)}triggerRefreshClicked(){this.refreshClicked.emit(!0)}triggerNavigate(t){this.navigate.emit(t)}}return t.ngInjectableDef=pt({factory:function(){return new t},token:t,providedIn:"root"}),t})();class sg{constructor(t,e,n,a,o,r,i,s){this.beatOnApi=t,this.router=e,this.msgSvc=n,this.toastr=a,this.cfgSvc=o,this.dialog=r,this.toolbarEvents=i,this.appIntegration=s,this.modStatusLoaded=!1,this.title="Beat On",this.showRefreshButton=!1,this.showBackButton=!1,this.showBrowser=!1,this.resultJson="",this.modStatus={CurrentStatus:""},this.config={IsCommitted:!0,Config:null},this.connectionStatus=Vh.Disconnected,this.msgSvc.opStatusMessage.subscribe(t=>{this.opInProgress=t.Ops.findIndex(t=>t.Status!=rg.Failed)>-1}),this.router.events.subscribe(t=>{}),this.msgSvc.toastMessage.subscribe(t=>this.showToast(t)),this.cfgSvc.configUpdated.subscribe(t=>{this.config=t}),this.msgSvc.connectionStatusChanged.subscribe(t=>{this.connectionStatus=t}),this.router.events.subscribe(t=>{t instanceof Ud&&(this.showBackButton="/main/browser"==t.url,this.showRefreshButton="/main/browser"==t.url,this.showBrowser="/main/browser"==t.url,"/"==t.url&&(this.modStatusLoaded=!1,this.checkModStatus()))}),this.msgSvc.setupMessage.subscribe(t=>{switch(t.SetupEvent){case Fh.Step1Complete:this.router.navigateByUrl("/setupstep2");break;case Fh.Step2Complete:this.router.navigateByUrl("/setupstep3");break;case Fh.Step3Complete:this.router.navigateByUrl("/")}})}ngOnInit(){this.checkModStatus()}commitConfig(){const t=this.dialog.open(og,{width:"450px",height:"350px",disableClose:!0,data:{mainText:"Updating config... Do not exit Beat On yet!"}});this.beatOnApi.commitConfig().subscribe(e=>{t.close()},e=>{t.close()})}showToast(t){if(this.appIntegration.isBrowserShown)return console.log("redirecting toast to host since browser is visible"),void this.appIntegration.showToast(t.Title,t.Message,t.ToastType,t.Timeout);switch(console.log("browser is not shown, doing toast on web"),t.ToastType){case Lh.Error:this.toastr.error(t.Message,t.Title,{timeOut:t.Timeout});break;case Lh.Info:this.toastr.info(t.Message,t.Title,{timeOut:t.Timeout});break;case Lh.Success:this.toastr.success(t.Message,t.Title,{timeOut:t.Timeout});break;case Lh.Warning:this.toastr.warning(t.Message,t.Title,{timeOut:t.Timeout})}}getConnStatusColor(){return this.connectionStatus==Vh.Connected?"green":this.connectionStatus==Vh.Connecting?"orange":"gray"}getConnStatusIcon(){return this.connectionStatus==Vh.Connected||this.connectionStatus==Vh.Connecting}reconnect(){this.msgSvc.reconnect()}checkModStatus(){this.beatOnApi.getModStatus().subscribe(t=>{this.modStatusLoaded=!0,this.modStatus=t,"ModInstallNotStarted"==this.modStatus.CurrentStatus?this.router.navigateByUrl("/setup"):"ReadyForModApply"==this.modStatus.CurrentStatus?this.router.navigateByUrl("/setupstep2"):"ReadyForInstall"==this.modStatus.CurrentStatus?this.router.navigateByUrl("/setupstep3"):"ModInstalled"==this.modStatus.CurrentStatus&&this.cfgSvc.getConfig().subscribe(t=>{this.config=t,this.router.navigateByUrl("/main/browser")})})}onClickModStatus(){}onClickInstallModStep1(){this.beatOnApi.installModStep1().subscribe(t=>{this.modStatusLoaded=!0,this.modStatus=t,this.resultJson=JSON.stringify(t)})}onClickInstallModStep2(){this.beatOnApi.installModStep2().subscribe(t=>{this.modStatus=t,this.resultJson=JSON.stringify(t)})}clickBack(){this.toolbarEvents.triggerBackClicked()}clickRefresh(){this.toolbarEvents.triggerRefreshClicked()}linkSelected(t){this.toolbarEvents.triggerNavigate(t)}}var lg=Kn({encapsulation:2,styles:[],data:{animation:[{type:7,name:"flyInOut",definitions:[{type:0,name:"inactive",styles:{type:6,styles:{opacity:0},offset:null},options:void 0},{type:0,name:"active",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:0,name:"removed",styles:{type:6,styles:{opacity:0},offset:null},options:void 0},{type:1,expr:"inactive => active",animation:{type:4,styles:null,timings:"{{ easeTime }}ms {{ easing }}"},options:null},{type:1,expr:"active => removed",animation:{type:4,styles:null,timings:"{{ easeTime }}ms {{ easing }}"},options:null}],options:{}}]}});function cg(t){return ei(0,[(t()(),Fr(0,0,null,null,2,"button",[["aria-label","Close"],["class","toast-close-button"]],null,[[null,"click"]],function(t,e,n){var a=!0;return"click"===e&&(a=!1!==t.component.remove()&&a),a},null,null)),(t()(),Fr(1,0,null,null,1,"span",[["aria-hidden","true"]],null,null,null,null,null)),(t()(),Xr(-1,null,["\xd7"]))],null,null)}function dg(t){return ei(0,[(t()(),Fr(0,0,null,null,1,null,null,null,null,null,null,null)),(t()(),Xr(1,null,["[","]"]))],null,function(t,e){t(e,1,0,e.component.duplicatesCount+1)})}function ug(t){return ei(0,[(t()(),Fr(0,0,null,null,3,"div",[],[[8,"className",0],[1,"aria-label",0]],null,null,null,null)),(t()(),Xr(1,null,[" "," "])),(t()(),Lr(16777216,null,null,1,null,dg)),so(3,16384,null,0,js,[Rn,Tn],{ngIf:[0,"ngIf"]},null)],function(t,e){t(e,3,0,e.component.duplicatesCount)},function(t,e){var n=e.component;t(e,0,0,n.options.titleClass,n.title),t(e,1,0,n.title)})}function mg(t){return ei(0,[(t()(),Fr(0,0,null,null,0,"div",[["aria-live","polite"],["role","alertdialog"]],[[8,"className",0],[8,"innerHTML",1]],null,null,null,null))],null,function(t,e){var n=e.component;t(e,0,0,n.options.messageClass,n.message)})}function hg(t){return ei(0,[(t()(),Fr(0,0,null,null,1,"div",[["aria-live","polite"],["role","alertdialog"]],[[8,"className",0],[1,"aria-label",0]],null,null,null,null)),(t()(),Xr(1,null,[" "," "]))],null,function(t,e){var n=e.component;t(e,0,0,n.options.messageClass,n.message),t(e,1,0,n.message)})}function gg(t){return ei(0,[(t()(),Fr(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),Fr(1,0,null,null,0,"div",[["class","toast-progress"]],[[4,"width",null]],null,null,null,null))],null,function(t,e){t(e,1,0,e.component.width+"%")})}function pg(t){return ei(0,[(t()(),Lr(16777216,null,null,1,null,cg)),so(1,16384,null,0,js,[Rn,Tn],{ngIf:[0,"ngIf"]},null),(t()(),Lr(16777216,null,null,1,null,ug)),so(3,16384,null,0,js,[Rn,Tn],{ngIf:[0,"ngIf"]},null),(t()(),Lr(16777216,null,null,1,null,mg)),so(5,16384,null,0,js,[Rn,Tn],{ngIf:[0,"ngIf"]},null),(t()(),Lr(16777216,null,null,1,null,hg)),so(7,16384,null,0,js,[Rn,Tn],{ngIf:[0,"ngIf"]},null),(t()(),Lr(16777216,null,null,1,null,gg)),so(9,16384,null,0,js,[Rn,Tn],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,1,0,n.options.closeButton),t(e,3,0,n.title),t(e,5,0,n.message&&n.options.enableHtml),t(e,7,0,n.message&&!n.options.enableHtml),t(e,9,0,n.options.progressBar)},null)}function fg(t){return ei(0,[(t()(),Fr(0,0,null,null,1,"div",[["toast-component",""]],[[8,"className",0],[40,"@flyInOut",0],[4,"display",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],function(t,e,n){var a=!0;return"click"===e&&(a=!1!==Ga(t,1).tapToast()&&a),"mouseenter"===e&&(a=!1!==Ga(t,1).stickAround()&&a),"mouseleave"===e&&(a=!1!==Ga(t,1).delayedHideToast()&&a),a},pg,lg)),so(1,180224,null,0,Xh,[Kh,Bh,Jo],null,null)],null,function(t,e){t(e,0,0,Ga(e,1).toastClasses,Ga(e,1).state,Ga(e,1).displayStyle)})}var bg=La("[toast-component]",Xh,fg,{},{},[]),_g=Kn({encapsulation:2,styles:[],data:{}});function Cg(t){return ei(0,[(t()(),Fr(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),so(1,212992,null,0,gh,[hh,Rn,Ke,[8,null],xn],null,null)],function(t,e){t(e,1,0)},null)}function Pg(t){return ei(0,[(t()(),Fr(0,0,null,null,1,"ng-component",[],null,null,null,Cg,_g)),so(1,49152,null,0,ru,[],null,null)],null,null)}var Og=La("ng-component",ru,Pg,{},{},[]);const Mg=(()=>(class{}))(),yg=(()=>(class{}))(),vg=(()=>(class{}))(),xg=(()=>(class{constructor(){this.align="start"}}))(),wg=(()=>(class{}))(),kg=(()=>(class{}))(),Sg=(()=>(class{}))(),Eg=(()=>(class{}))(),Tg=new Tt("cdk-dir-doc",{providedIn:"root",factory:function(){return Et(ol)}}),Ig=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new wo,t){const e=t.documentElement?t.documentElement.dir:null,n=(t.body?t.body.dir:null)||e;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return t.ngInjectableDef=pt({factory:function(){return new t(St(Tg,8))},token:t,providedIn:"root"}),t})(),Rg=(()=>(class{}))();function Ag(t){return null!=t&&"false"!==`${t}`}function Dg(t,e=0){return function(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):e}function Ng(t){return Array.isArray(t)?t:[t]}function zg(t){return null==t?"":"string"==typeof t?t:`${t}px`}function Lg(t){return t instanceof an?t.nativeElement:t}let Fg;try{Fg="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(KS){Fg=!1}const Vg=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?sl(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Fg)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return t.ngInjectableDef=pt({factory:function(){return new t(St(No,8))},token:t,providedIn:"root"}),t})(),Bg=(()=>(class{}))();let Hg;const jg=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Ug(){if(Hg)return Hg;if("object"!=typeof document||!document)return Hg=new Set(jg);let t=document.createElement("input");return Hg=new Set(jg.filter(e=>(t.setAttribute("type",e),t.type===e)))}let $g;function qg(t){return function(){if(null==$g&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>$g=!0}))}finally{$g=$g||!1}return $g}()?t:!!t.capture}const Wg=function(){var t={NORMAL:0,NEGATED:1,INVERTED:2};return t[t.NORMAL]="NORMAL",t[t.NEGATED]="NEGATED",t[t.INVERTED]="INVERTED",t}();let Yg;function Gg(){if("object"!=typeof document||!document)return Wg.NORMAL;if(!Yg){const t=document.createElement("div"),e=t.style;t.dir="rtl",e.height="1px",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";const n=document.createElement("div"),a=n.style;a.width="2px",a.height="1px",t.appendChild(n),document.body.appendChild(t),Yg=Wg.NORMAL,0===t.scrollLeft&&(t.scrollLeft=1,Yg=0===t.scrollLeft?Wg.NEGATED:Wg.INVERTED),t.parentNode.removeChild(t)}return Yg}const Zg=9,Qg=27,Kg=37,Xg=38,Jg=39,tp=40,ep=48,np=57,ap=65,op=90;function rp(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}class ip extends m{constructor(t,e){super()}schedule(t,e=0){return this}}class sp extends ip{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,a=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(a,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(a,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n=!1,a=void 0;try{this.work(t)}catch(o){n=!0,a=!!o&&o||new Error(o)}if(n)return this.unsubscribe(),a}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,a=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==a&&n.splice(a,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}const lp=(()=>{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 cp extends lp{constructor(t,e=lp.now){super(t,()=>cp.delegate&&cp.delegate!==this?cp.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return cp.delegate&&cp.delegate!==this?cp.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}const dp=new cp(sp);function up(t,e=dp){return n=>n.lift(new mp(t,e))}class mp{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new hp(t,this.dueTime,this.scheduler))}}class hp extends p{constructor(t,e,n){super(t),this.dueTime=e,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(gp,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 gp(t){t.debouncedNext()}class pp{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new k,this._typeaheadSubscription=m.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._skipPredicateFn=(t=>t.disabled),this._pressedLetters=[],this.tabOut=new k,this.change=new k,t instanceof ko&&t.changes.subscribe(t=>{if(this._activeItem){const e=t.toArray().indexOf(this._activeItem);e>-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e)}})}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){if(this._items.length&&this._items.some(t=>"function"!=typeof t.getLabel))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(oc(t=>this._pressedLetters.push(t)),up(t),fs(()=>this._pressedLetters.length>0),j(()=>this._pressedLetters.join(""))).subscribe(t=>{const e=this._getItemsArray();for(let n=1;n!t[e]||this._allowedModifierKeys.indexOf(e)>-1);switch(e){case Zg:return void this.tabOut.next();case tp:if(this._vertical&&n){this.setNextItemActive();break}return;case Xg:if(this._vertical&&n){this.setPreviousItemActive();break}return;case Jg:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case Kg:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((n||rp(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=ap&&e<=op||e>=ep&&e<=np)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),n="number"==typeof t?t:e.indexOf(t),a=e[n];this._activeItem=null==a?null:a,this._activeItemIndex=n}updateActiveItemIndex(t){this.updateActiveItem(t)}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let n=1;n<=e.length;n++){const a=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[a]))return void this.setActiveItem(a)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof ko?this._items.toArray():this._items}}class fp extends pp{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}const bp=(()=>{class t{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const e=function(t){try{return t.frameElement}catch(KS){return null}}((n=t).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(e){const t=e&&e.nodeName.toLowerCase();if(-1===Cp(e))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===t)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(e))return!1}let a=t.nodeName.toLowerCase(),o=Cp(t);if(t.hasAttribute("contenteditable"))return-1!==o;if("iframe"===a)return!1;if("audio"===a){if(!t.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===a){if(!t.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==a||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){let e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&t.tabIndex>=0}isFocusable(t){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){let e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||_p(t))}(t)&&!this.isDisabled(t)&&this.isVisible(t)}}return t.ngInjectableDef=pt({factory:function(){return new t(St(Vg))},token:t,providedIn:"root"}),t})();function _p(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function Cp(t){if(!_p(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class Pp{constructor(t,e,n,a,o=!1){this._element=t,this._checker=e,this._ngZone=n,this._document=a,this._hasAttached=!1,this.startAnchorListener=(()=>this.focusLastTabbableElement()),this.endAnchorListener=(()=>this.focusFirstTabbableElement()),this._enabled=!0,o||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement()))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], `+`[cdkFocusRegion${t}], `+`[cdk-focus-${t}]`);for(let n=0;n=0;n--){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(t)return t}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.asObservable().pipe(pc(1)).subscribe(t)}}const Op=(()=>{class t{constructor(t,e,n){this._checker=t,this._ngZone=e,this._document=n}create(t,e=!1){return new Pp(t,this._checker,this._ngZone,this._document,e)}}return t.ngInjectableDef=pt({factory:function(){return new t(St(bp),St(Jo),St(ol))},token:t,providedIn:"root"}),t})(),Mp=650,yp=qg({passive:!0,capture:!0}),vp=(()=>{class t{constructor(t,e){this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._documentKeydownListener=(()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")}),this._documentMousedownListener=(()=>{this._lastTouchTarget||this._setOriginForCurrentEventQueue("mouse")}),this._documentTouchstartListener=(t=>{null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=t.target,this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,Mp)}),this._windowFocusListener=(()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)})}monitor(t,e=!1){if(!this._platform.isBrowser)return gs(null);const n=Lg(t);if(this._elementInfo.has(n)){let t=this._elementInfo.get(n);return t.checkChildren=e,t.subject.asObservable()}let a={unlisten:()=>{},checkChildren:e,subject:new k};this._elementInfo.set(n,a),this._incrementMonitoredElementCount();let o=t=>this._onFocus(t,n),r=t=>this._onBlur(t,n);return this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",o,!0),n.addEventListener("blur",r,!0)}),a.unlisten=(()=>{n.removeEventListener("focus",o,!0),n.removeEventListener("blur",r,!0)}),a.subject.asObservable()}stopMonitoring(t){const e=Lg(t),n=this._elementInfo.get(e);n&&(n.unlisten(),n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._decrementMonitoredElementCount())}focusVia(t,e,n){const a=Lg(t);this._setOriginForCurrentEventQueue(e),"function"==typeof a.focus&&a.focus(n)}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_toggleClass(t,e,n){n?t.classList.add(e):t.classList.remove(e)}_setClasses(t,e){this._elementInfo.get(t)&&(this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e))}_setOriginForCurrentEventQueue(t){this._ngZone.runOutsideAngular(()=>{this._origin=t,this._originTimeoutId=setTimeout(()=>this._origin=null,1)})}_wasCausedByTouch(t){let e=t.target;return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))}_onFocus(t,e){const n=this._elementInfo.get(e);if(!n||!n.checkChildren&&e!==t.target)return;let a=this._origin;a||(a=this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"),this._setClasses(e,a),this._emitOrigin(n.subject,a),this._lastFocusOrigin=a}_onBlur(t,e){const n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))}_emitOrigin(t,e){this._ngZone.run(()=>t.next(e))}_incrementMonitoredElementCount(){1==++this._monitoredElementCount&&this._platform.isBrowser&&this._ngZone.runOutsideAngular(()=>{document.addEventListener("keydown",this._documentKeydownListener,yp),document.addEventListener("mousedown",this._documentMousedownListener,yp),document.addEventListener("touchstart",this._documentTouchstartListener,yp),window.addEventListener("focus",this._windowFocusListener)})}_decrementMonitoredElementCount(){--this._monitoredElementCount||(document.removeEventListener("keydown",this._documentKeydownListener,yp),document.removeEventListener("mousedown",this._documentMousedownListener,yp),document.removeEventListener("touchstart",this._documentTouchstartListener,yp),window.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId))}}return t.ngInjectableDef=pt({factory:function(){return new t(St(Jo),St(Vg))},token:t,providedIn:"root"}),t})();function xp(t){return 0===t.buttons}const wp=(()=>(class{}))(),kp=new Tt("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),Sp=(()=>(class{constructor(t,e){this._sanityChecksEnabled=t,this._hammerLoader=e,this._hasDoneGlobalChecks=!1,this._hasCheckedHammer=!1,this._document="object"==typeof document&&document?document:null,this._window="object"==typeof window&&window?window:null,this._areChecksEnabled()&&!this._hasDoneGlobalChecks&&(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._hasDoneGlobalChecks=!0)}_areChecksEnabled(){return this._sanityChecksEnabled&&se()&&!this._isTestEnv()}_isTestEnv(){const t=this._window;return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){this._document&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!this._document||!this._document.body||"function"!=typeof getComputedStyle)return;const t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);const e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}_checkHammerIsAvailable(){!this._hasCheckedHammer&&this._window&&(!this._areChecksEnabled()||this._window.Hammer||this._hammerLoader||console.warn("Could not find HammerJS. Certain Angular Material components may not work correctly."),this._hasCheckedHammer=!0)}}))();function Ep(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=Ag(t)}}}function Tp(t,e){return class extends t{get color(){return this._color}set color(t){const n=t||e;n!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),n&&this._elementRef.nativeElement.classList.add(`mat-${n}`),this._color=n)}constructor(...t){super(...t),this.color=e}}}function Ip(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Ag(t)}}}function Rp(t,e=0){return class extends t{constructor(...t){super(...t),this._tabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?t:e}}}function Ap(t){return class extends t{constructor(...t){super(...t),this.errorState=!1,this.stateChanges=new k}updateErrorState(){const t=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==t&&(this.errorState=e,this.stateChanges.next())}}}let Dp;try{Dp="undefined"!=typeof Intl}catch(KS){Dp=!1}const Np=(()=>{class t{isErrorState(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}return t.ngInjectableDef=pt({factory:function(){return new t},token:t,providedIn:"root"}),t})(),zp=new Tt("MAT_HAMMER_OPTIONS"),Lp=["longpress","slide","slidestart","slideend","slideright","slideleft"],Fp={on:()=>{},off:()=>{}},Vp=(()=>(class extends wd{constructor(t,e){super(),this._hammerOptions=t,this.events=Lp,e&&e._checkHammerIsAvailable()}buildHammer(t){const e="undefined"!=typeof window?window.Hammer:null;if(!e)return Fp;const n=new e(t,this._hammerOptions||void 0),a=new e.Pan,o=new e.Swipe,r=new e.Press,i=this._createRecognizer(a,{event:"slide",threshold:0},o),s=this._createRecognizer(r,{event:"longpress",time:500});return a.recognizeWith(o),s.recognizeWith(i),n.add([o,r,a,i,s]),n}_createRecognizer(t,e,...n){let a=new t.constructor(e);return n.push(t),n.forEach(t=>a.recognizeWith(t)),a}}))(),Bp=(()=>(class{}))(),Hp=function(){var t={FADING_IN:0,VISIBLE:1,FADING_OUT:2,HIDDEN:3};return t[t.FADING_IN]="FADING_IN",t[t.VISIBLE]="VISIBLE",t[t.FADING_OUT]="FADING_OUT",t[t.HIDDEN]="HIDDEN",t}();class jp{constructor(t,e,n){this._renderer=t,this.element=e,this.config=n,this.state=Hp.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const Up={enterDuration:450,exitDuration:400},$p=800,qp=qg({passive:!0});class Wp{constructor(t,e,n,a){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._triggerEvents=new Map,this._activeRipples=new Set,this._onMousedown=(t=>{const e=xp(t),n=this._lastTouchStartEvent&&Date.now(){if(!this._target.rippleDisabled){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const e=t.changedTouches;for(let t=0;t{this._isPointerDown&&(this._isPointerDown=!1,this._activeRipples.forEach(t=>{!t.config.persistent&&(t.state===Hp.VISIBLE||t.config.terminateOnPointerUp&&t.state===Hp.FADING_IN)&&t.fadeOut()}))}),a.isBrowser&&(this._containerElement=n.nativeElement,this._triggerEvents.set("mousedown",this._onMousedown).set("mouseup",this._onPointerUp).set("mouseleave",this._onPointerUp).set("touchstart",this._onTouchStart).set("touchend",this._onPointerUp).set("touchcancel",this._onPointerUp))}fadeInRipple(t,e,n={}){const a=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=Object.assign({},Up,n.animation);n.centered&&(t=a.left+a.width/2,e=a.top+a.height/2);const r=n.radius||function(t,e,n){const a=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),o=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(a*a+o*o)}(t,e,a),i=t-a.left,s=e-a.top,l=o.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=`${i-r}px`,c.style.top=`${s-r}px`,c.style.height=`${2*r}px`,c.style.width=`${2*r}px`,c.style.backgroundColor=n.color||null,c.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";const d=new jp(this,c,n);return d.state=Hp.FADING_IN,this._activeRipples.add(d),n.persistent||(this._mostRecentTransientRipple=d),this._runTimeoutOutsideZone(()=>{const t=d===this._mostRecentTransientRipple;d.state=Hp.VISIBLE,n.persistent||t&&this._isPointerDown||d.fadeOut()},l),d}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const n=t.element,a=Object.assign({},Up,t.config.animation);n.style.transitionDuration=`${a.exitDuration}ms`,n.style.opacity="0",t.state=Hp.FADING_OUT,this._runTimeoutOutsideZone(()=>{t.state=Hp.HIDDEN,n.parentNode.removeChild(n)},a.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}setupTriggerEvents(t){t&&t!==this._triggerElement&&(this._removeTriggerEvents(),this._ngZone.runOutsideAngular(()=>{this._triggerEvents.forEach((e,n)=>{t.addEventListener(n,e,qp)})}),this._triggerElement=t)}_runTimeoutOutsideZone(t,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(t,e))}_removeTriggerEvents(){this._triggerElement&&this._triggerEvents.forEach((t,e)=>{this._triggerElement.removeEventListener(e,t,qp)})}}const Yp=new Tt("mat-ripple-global-options"),Gp=(()=>(class{constructor(t,e,n,a,o){this._elementRef=t,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=a||{},this._rippleRenderer=new Wp(this,e,t,n),"NoopAnimations"===o&&(this._globalOptions.animation={enterDuration:0,exitDuration:0})}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign({},this._globalOptions.animation,this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,e=0,n){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign({},this.rippleConfig,n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign({},this.rippleConfig,t))}}))(),Zp=(()=>(class{}))(),Qp=new Tt("mat-label-global-options");var Kp=Kn({encapsulation:2,styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(.4,0,.2,1);display:block;position:relative;padding:16px;border-radius:4px}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}@media (-ms-high-contrast:active){.mat-card{outline:solid 1px}}.mat-card-actions,.mat-card-content,.mat-card-subtitle{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media (max-width:599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card-content>:first-child,.mat-card>:first-child{margin-top:0}.mat-card-content>:last-child:not(.mat-card-footer),.mat-card>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child{margin-left:0;margin-right:0}.mat-card-subtitle:not(:first-child),.mat-card-title:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}"],data:{}});function Xp(t){return ei(2,[Gr(null,0),Gr(null,1)],null,null)}var Jp=Kn({encapsulation:2,styles:[],data:{}});function tf(t){return ei(2,[Gr(null,0),(t()(),Fr(1,0,null,null,1,"div",[["class","mat-card-header-text"]],null,null,null,null,null)),Gr(null,1),Gr(null,2)],null,null)}function ef(t,e){return new O(e?n=>e.schedule(nf,0,{error:t,subscriber:n}):e=>e.error(t))}function nf({error:t,subscriber:e}){e.error(t)}function af(...t){let e;return"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&l(t[0])&&(t=t[0]),0===t.length?us:e?af(t).pipe(j(t=>e(...t))):new O(e=>new of(e,t))}class of extends H{constructor(t,e){super(t),this.sources=e,this.completed=0,this.haveValues=0;const n=e.length;this.values=new Array(n);for(let a=0;a{class t{constructor(t,e,n){this._httpClient=t,this._sanitizer=e,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._defaultFontSetClass="material-icons",this._document=n}addSvgIcon(t,e){return this.addSvgIconInNamespace("",t,e)}addSvgIconLiteral(t,e){return this.addSvgIconLiteralInNamespace("",t,e)}addSvgIconInNamespace(t,e,n){return this._addSvgIconConfig(t,e,new cf(n))}addSvgIconLiteralInNamespace(t,e,n){const a=this._sanitizer.sanitize(Ee.HTML,n);if(!a)throw lf(n);const o=this._createSvgElementForSingleIcon(a);return this._addSvgIconConfig(t,e,new cf(o))}addSvgIconSet(t){return this.addSvgIconSetInNamespace("",t)}addSvgIconSetLiteral(t){return this.addSvgIconSetLiteralInNamespace("",t)}addSvgIconSetInNamespace(t,e){return this._addSvgIconSetConfig(t,new cf(e))}addSvgIconSetLiteralInNamespace(t,e){const n=this._sanitizer.sanitize(Ee.HTML,e);if(!n)throw lf(e);const a=this._svgElementFromString(n);return this._addSvgIconSetConfig(t,new cf(a))}registerFontClassAlias(t,e=t){return this._fontCssClassesByAlias.set(t,e),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const e=this._sanitizer.sanitize(Ee.RESOURCE_URL,t);if(!e)throw sf(t);const n=this._cachedIconsByUrl.get(e);return n?gs(uf(n)):this._loadSvgIconFromConfig(new cf(t)).pipe(oc(t=>this._cachedIconsByUrl.set(e,t)),j(t=>uf(t)))}getNamedSvgIcon(t,e=""){const n=mf(e,t),a=this._svgIconConfigs.get(n);if(a)return this._getSvgFromConfig(a);const o=this._iconSetConfigs.get(e);return o?this._getSvgFromIconSetConfigs(t,o):ef(rf(n))}ngOnDestroy(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgElement?gs(uf(t.svgElement)):this._loadSvgIconFromConfig(t).pipe(oc(e=>t.svgElement=e),j(t=>uf(t)))}_getSvgFromIconSetConfigs(t,e){const n=this._extractIconWithNameFromAnySet(t,e);return n?gs(n):af(e.filter(t=>!t.svgElement).map(t=>this._loadSvgIconSetFromConfig(t).pipe(mc(e=>{const n=this._sanitizer.sanitize(Ee.RESOURCE_URL,t.url);return console.error(`Loading icon set URL: ${n} failed: ${e.message}`),gs(null)})))).pipe(j(()=>{const n=this._extractIconWithNameFromAnySet(t,e);if(!n)throw rf(t);return n}))}_extractIconWithNameFromAnySet(t,e){for(let n=e.length-1;n>=0;n--){const a=e[n];if(a.svgElement){const e=this._extractSvgIconFromSet(a.svgElement,t);if(e)return e}}return null}_loadSvgIconFromConfig(t){return this._fetchUrl(t.url).pipe(j(t=>this._createSvgElementForSingleIcon(t)))}_loadSvgIconSetFromConfig(t){return t.svgElement?gs(t.svgElement):this._fetchUrl(t.url).pipe(j(e=>(t.svgElement||(t.svgElement=this._svgElementFromString(e)),t.svgElement)))}_createSvgElementForSingleIcon(t){const e=this._svgElementFromString(t);return this._setSvgAttributes(e),e}_extractSvgIconFromSet(t,e){const n=t.querySelector(`[id="${e}"]`);if(!n)return null;const a=n.cloneNode(!0);if(a.removeAttribute("id"),"svg"===a.nodeName.toLowerCase())return this._setSvgAttributes(a);if("symbol"===a.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(a));const o=this._svgElementFromString("");return o.appendChild(a),this._setSvgAttributes(o)}_svgElementFromString(t){const e=this._document.createElement("DIV");e.innerHTML=t;const n=e.querySelector("svg");if(!n)throw Error(" tag not found");return n}_toSvgElement(t){let e=this._svgElementFromString("");for(let n=0;nthis._inProgressUrlFetches.delete(e)),it());return this._inProgressUrlFetches.set(e,a),a}_addSvgIconConfig(t,e,n){return this._svgIconConfigs.set(mf(t,e),n),this}_addSvgIconSetConfig(t,e){const n=this._iconSetConfigs.get(t);return n?n.push(e):this._iconSetConfigs.set(t,[e]),this}}return t.ngInjectableDef=pt({factory:function(){return new t(St(kl,8),St(Id),St(ol,8))},token:t,providedIn:"root"}),t})();function uf(t){return t.cloneNode(!0)}function mf(t,e){return t+":"+e}class hf{constructor(t){this._elementRef=t}}const gf=Tp(hf),pf=new Tt("mat-icon-location",{providedIn:"root",factory:function(){const t=Et(ol),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}}),ff=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],bf=ff.map(t=>`[${t}]`).join(", "),_f=/^url\(['"]?#(.*?)['"]?\)$/,Cf=(()=>(class extends gf{constructor(t,e,n,a){super(t),this._iconRegistry=e,this._location=a,this._inline=!1,n||t.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(t){this._inline=Ag(t)}get fontSet(){return this._fontSet}set fontSet(t){this._fontSet=this._cleanupFontValue(t)}get fontIcon(){return this._fontIcon}set fontIcon(t){this._fontIcon=this._cleanupFontValue(t)}_splitIconName(t){if(!t)return["",""];const e=t.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnChanges(t){const e=t.svgIcon;if(e)if(this.svgIcon){const[t,e]=this._splitIconName(this.svgIcon);this._iconRegistry.getNamedSvgIcon(e,t).pipe(pc(1)).subscribe(t=>this._setSvgElement(t),t=>console.log(`Error retrieving icon: ${t.message}`))}else e.previousValue&&this._clearSvgElement();this._usingFontIcon()&&this._updateFontIconClasses()}ngOnInit(){this._usingFontIcon()&&this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&this._location&&t.size){const t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();const e=t.querySelectorAll("style");for(let n=0;n{e.forEach(e=>{n.setAttribute(e.name,`url('${t}#${e.value}')`)})})}_cacheChildrenWithExternalReferences(t){const e=t.querySelectorAll(bf),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let a=0;a{const o=e[a],r=o.getAttribute(t),i=r?r.match(_f):null;if(i){let e=n.get(o);e||n.set(o,e=[]),e.push({name:t,value:i[1]})}})}}))(),Pf=(()=>(class{}))();var Of=Kn({encapsulation:2,styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1,1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],data:{}});function Mf(t){return ei(2,[Gr(null,0)],null,null)}const yf=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class vf{constructor(t){this._elementRef=t}}const xf=Tp(Ep(Ip(vf))),wf=(()=>(class extends xf{constructor(t,e,n){super(t),this._focusMonitor=e,this._animationMode=n,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const a of yf)this._hasHostAttributes(a)&&t.nativeElement.classList.add(a);this._focusMonitor.monitor(this._elementRef,!0),this.isRoundButton&&(this.color="accent")}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(){this._getHostElement().focus()}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...t){return t.some(t=>this._getHostElement().hasAttribute(t))}}))(),kf=(()=>(class{}))();class Sf{}class Ef{}const Tf="*";function If(t,e=null){return{type:2,steps:t,options:e}}function Rf(t){return{type:6,styles:t,offset:null}}function Af(t){Promise.resolve(null).then(t)}class Df{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,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(){Af(()=>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(){}setPosition(t){}getPosition(){return 0}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class Nf{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,a=0;const o=this.players.length;0==o?Af(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==o&&this._onFinish()}),t.onDestroy(()=>{++n==o&&this._onDestroy()}),t.onStart(()=>{++a==o&&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(){let t=0;return this.players.forEach(e=>{const n=e.getPosition();t=Math.min(n,t)}),t}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 zf="!";function Lf(){return"undefined"!=typeof process}function Ff(t){switch(t.length){case 0:return new Df;case 1:return t[0];default:return new Nf(t)}}function Vf(t,e,n,a,o={},r={}){const i=[],s=[];let l=-1,c=null;if(a.forEach(t=>{const n=t.offset,a=n==l,d=a&&c||{};Object.keys(t).forEach(n=>{let a=n,s=t[n];if("offset"!==n)switch(a=e.normalizePropertyName(a,i),s){case zf:s=o[n];break;case Tf:s=r[n];break;default:s=e.normalizeStyleValue(n,a,s,i)}d[a]=s}),a||s.push(d),c=d,l=n}),i.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${i.join(t)}`)}return s}function Bf(t,e,n,a){switch(e){case"start":t.onStart(()=>a(n&&Hf(n,"start",t)));break;case"done":t.onDone(()=>a(n&&Hf(n,"done",t)));break;case"destroy":t.onDestroy(()=>a(n&&Hf(n,"destroy",t)))}}function Hf(t,e,n){const a=n.totalTime,o=jf(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==a?t.totalTime:a,!!n.disabled),r=t._data;return null!=r&&(o._data=r),o}function jf(t,e,n,a,o="",r=0,i){return{element:t,triggerName:e,fromState:n,toState:a,phaseName:o,totalTime:r,disabled:!!i}}function Uf(t,e,n){let a;return t instanceof Map?(a=t.get(e))||t.set(e,a=n):(a=t[e])||(a=t[e]=n),a}function $f(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let qf=(t,e)=>!1,Wf=(t,e)=>!1,Yf=(t,e,n)=>[];const Gf=Lf();(Gf||"undefined"!=typeof Element)&&(qf=((t,e)=>t.contains(e)),Wf=(()=>{if(Gf||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]):Wf}})(),Yf=((t,e,n)=>{let a=[];if(n)a.push(...t.querySelectorAll(e));else{const n=t.querySelector(e);n&&a.push(n)}return a}));let Zf=null,Qf=!1;function Kf(t){Zf||(Zf=("undefined"!=typeof document?document.body:null)||{},Qf=!!Zf.style&&"WebkitAppearance"in Zf.style);let e=!0;return Zf.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&!(e=t in Zf.style)&&Qf&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in Zf.style),e}const Xf=Wf,Jf=qf,tb=Yf;function eb(t){const e={};return Object.keys(t).forEach(n=>{const a=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[a]=t[n]}),e}const nb=(()=>(class{validateStyleProperty(t){return Kf(t)}matchesElement(t,e){return Xf(t,e)}containsElement(t,e){return Jf(t,e)}query(t,e,n){return tb(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,a,o,r=[],i){return new Df(n,a)}}))(),ab=(()=>{class t{}return t.NOOP=new nb,t})(),ob=1e3,rb="{{",ib="ng-enter",sb="ng-leave",lb="ng-trigger",cb=".ng-trigger",db="ng-animating",ub=".ng-animating";function mb(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:hb(parseFloat(e[1]),e[2])}function hb(t,e){switch(e){case"s":return t*ob;default:return t}}function gb(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let a,o=0,r="";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:""};a=hb(parseFloat(n[1]),n[2]);const i=n[3];null!=i&&(o=hb(parseFloat(i),n[4]));const s=n[5];s&&(r=s)}else a=t;if(!n){let n=!1,r=e.length;a<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),o<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(r,0,`The provided timing value "${t}" is invalid.`)}return{duration:a,delay:o,easing:r}}(t,e,n)}function pb(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function fb(t,e,n={}){if(e)for(let a in t)n[a]=t[a];else pb(t,n);return n}function bb(t,e,n){return n?e+":"+n+";":""}function _b(t){let e="";for(let n=0;n{const o=kb(a);n&&!n.hasOwnProperty(a)&&(n[a]=t.style[o]),t.style[o]=e[a]}),Lf()&&_b(t))}function Pb(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=kb(e);t.style[n]=""}),Lf()&&_b(t))}function Ob(t){return Array.isArray(t)?1==t.length?t[0]:If(t):t}const Mb=new RegExp(`${rb}\\s*(.+?)\\s*}}`,"g");function yb(t){let e=[];if("string"==typeof t){const n=t.toString();let a;for(;a=Mb.exec(n);)e.push(a[1]);Mb.lastIndex=0}return e}function vb(t,e,n){const a=t.toString(),o=a.replace(Mb,(t,a)=>{let o=e[a];return e.hasOwnProperty(a)||(n.push(`Please provide a value for the animation param ${a}`),o=""),o.toString()});return o==a?t:o}function xb(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const wb=/-+([a-z0-9])/g;function kb(t){return t.replace(wb,(...t)=>t[1].toUpperCase())}function Sb(t,e){return 0===t||0===e}function Eb(t,e,n){const a=Object.keys(n);if(a.length&&e.length){let r=e[0],i=[];if(a.forEach(t=>{r.hasOwnProperty(t)||i.push(t),r[t]=n[t]}),i.length)for(var o=1;o(function(t,e,n){if(":"==t[0]){const a=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 a)return void e.push(a);t=a}const a=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==a||a.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const o=a[1],r=a[2],i=a[3];e.push(zb(o,i)),"<"!=r[0]||o==Rb&&i==Rb||e.push(zb(i,o))})(t,n,e)):n.push(t),n}const Db=new Set(["true","1"]),Nb=new Set(["false","0"]);function zb(t,e){const n=Db.has(t)||Nb.has(t),a=Db.has(e)||Nb.has(e);return(o,r)=>{let i=t==Rb||t==o,s=e==Rb||e==r;return!i&&n&&"boolean"==typeof o&&(i=o?Db.has(t):Nb.has(t)),!s&&a&&"boolean"==typeof r&&(s=r?Db.has(e):Nb.has(e)),i&&s}}const Lb=":self",Fb=new RegExp(`s*${Lb}s*,?`,"g");function Vb(t,e,n){return new Hb(t).build(e,n)}const Bb="";class Hb{constructor(t){this._driver=t}build(t,e){const n=new jb(e);return this._resetContextStyleTimingState(n),Tb(this,Ob(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector=Bb,t.collectedStyles={},t.collectedStyles[Bb]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,a=e.depCount=0;const o=[],r=[];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,a=n.name;a.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,o.push(this.visitState(n,e))}),n.name=a}else if(1==t.type){const o=this.visitTransition(t,e);n+=o.queryCount,a+=o.depCount,r.push(o)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:o,transitions:r,queryCount:n,depCount:a,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),a=t.options&&t.options.params||null;if(n.containsDynamicStyles){const o=new Set,r=a||{};if(n.styles.forEach(t=>{if(Ub(t)){const e=t;Object.keys(e).forEach(t=>{yb(e[t]).forEach(t=>{r.hasOwnProperty(t)||o.add(t)})})}}),o.size){const n=xb(o.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:a?{params:a}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=Tb(this,Ob(t.animation),e);return{type:1,matchers:Ab(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:$b(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>Tb(this,t,e)),options:$b(t.options)}}visitGroup(t,e){const n=e.currentTime;let a=0;const o=t.steps.map(t=>{e.currentTime=n;const o=Tb(this,t,e);return a=Math.max(a,e.currentTime),o});return e.currentTime=a,{type:3,steps:o,options:$b(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 qb(gb(t,e).duration,0,"");const a=t;if(a.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=qb(0,0,"");return t.dynamic=!0,t.strValue=a,t}return qb((n=n||gb(a,e)).duration,n.delay,n.easing)}(t.timings,e.errors);let a;e.currentAnimateTimings=n;let o=t.styles?t.styles:Rf({});if(5==o.type)a=this.visitKeyframes(o,e);else{let o=t.styles,r=!1;if(!o){r=!0;const t={};n.easing&&(t.easing=n.easing),o=Rf(t)}e.currentTime+=n.duration+n.delay;const i=this.visitStyle(o,e);i.isEmptyStep=r,a=i}return e.currentAnimateTimings=null,{type:4,timings:n,style:a,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==Tf?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let a=!1,o=null;return n.forEach(t=>{if(Ub(t)){const e=t,n=e.easing;if(n&&(o=n,delete e.easing),!a)for(let t in e)if(e[t].toString().indexOf(rb)>=0){a=!0;break}}}),{type:6,styles:n,easing:o,offset:t.offset,containsDynamicStyles:a,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let a=e.currentTime,o=e.currentTime;n&&o>0&&(o-=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 r=e.collectedStyles[e.currentQuerySelector],i=r[n];let s=!0;i&&(o!=a&&o>=i.startTime&&a<=i.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${i.startTime}ms" and "${i.endTime}ms" is also being animated in a parallel animation between the times of "${o}ms" and "${a}ms"`),s=!1),o=i.startTime),s&&(r[n]={startTime:o,endTime:a}),e.options&&function(a,o,r){const i=e.options.params||{},s=yb(t[n]);s.length&&s.forEach(t=>{i.hasOwnProperty(t)||r.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(0,0,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 a=0;const o=[];let r=!1,i=!1,s=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(Ub(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(Ub(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),c=0;return null!=l&&(a++,c=n.offset=l),i=i||c<0||c>1,r=r||c0&&a{const r=d>0?a==u?1:d*a:o[a],i=r*g;e.currentTime=m+h.delay+i,h.duration=i,this._validateStyleAst(t,e),t.offset=r,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:Tb(this,Ob(t.animation),e),options:$b(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:$b(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:$b(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,a=t.options||{};e.queryCount++,e.currentQuery=t;const[o,r]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>t==Lb);return e&&(t=t.replace(Fb,"")),[t=t.replace(/@\*/g,cb).replace(/@\w+/g,t=>cb+"-"+t.substr(1)).replace(/:animating/g,ub),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+o:o,Uf(e.collectedStyles,e.currentQuerySelector,{});const i=Tb(this,Ob(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:o,limit:a.limit||0,optional:!!a.optional,includeSelf:r,animation:i,originalSelector:t.selector,options:$b(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"}:gb(t.timings,e.errors,!0);return{type:12,animation:Tb(this,Ob(t.animation),e),timings:n,options:null}}}class jb{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 Ub(t){return!Array.isArray(t)&&"object"==typeof t}function $b(t){var e;return t?(t=pb(t)).params&&(t.params=(e=t.params)?pb(e):null):t={},t}function qb(t,e,n){return{duration:t,delay:e,easing:n}}function Wb(t,e,n,a,o,r,i=null,s=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:a,duration:o,delay:r,totalTime:o+r,easing:i,subTimeline:s}}class Yb{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 Gb=1,Zb=new RegExp(":enter","g"),Qb=new RegExp(":leave","g");function Kb(t,e,n,a,o,r={},i={},s,l,c=[]){return(new Xb).buildKeyframes(t,e,n,a,o,r,i,s,l,c)}class Xb{buildKeyframes(t,e,n,a,o,r,i,s,l,c=[]){l=l||new Yb;const d=new t_(t,e,l,a,o,c,[]);d.options=s,d.currentTimeline.setStyles([r],null,d.errors,s),Tb(this,n,d);const u=d.timelines.filter(t=>t.containsAnimation());if(u.length&&Object.keys(i).length){const t=u[u.length-1];t.allowOnlyTimelineStyles()||t.setStyles([i],null,d.errors,s)}return u.length?u.map(t=>t.buildKeyframes()):[Wb(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 a=e.createSubContext(t.options),o=e.currentTimeline.currentTime,r=this._visitSubInstructions(n,a,a.options);o!=r&&e.transformIntoNewTimeline(r)}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 a=e.currentTimeline.currentTime;const o=null!=n.duration?mb(n.duration):null,r=null!=n.delay?mb(n.delay):null;return 0!==o&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,o,r);a=Math.max(a,n.duration+n.delay)}),a}visitReference(t,e){e.updateOptions(t.options,!0),Tb(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let a=e;const o=t.options;if(o&&(o.params||o.delay)&&((a=e.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==a.previousNode.type&&(a.currentTimeline.snapshotCurrentStyles(),a.previousNode=Jb);const t=mb(o.delay);a.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>Tb(this,t,a)),a.currentTimeline.applyStylesToKeyframe(),a.subContextCount>n&&a.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let a=e.currentTimeline.currentTime;const o=t.options&&t.options.delay?mb(t.options.delay):0;t.steps.forEach(r=>{const i=e.createSubContext(t.options);o&&i.delayNextStep(o),Tb(this,r,i),a=Math.max(a,i.currentTimeline.currentTime),n.push(i.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(a),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return gb(e.params?vb(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),a=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),a.snapshotCurrentStyles());const o=t.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(n.duration),this.visitStyle(o,e),a.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,a=e.currentAnimateTimings;!a&&n.getCurrentStyleProperties().length&&n.forwardFrame();const o=a&&a.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(o):n.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,a=e.currentTimeline.duration,o=n.duration,r=e.createSubContext().currentTimeline;r.easing=n.easing,t.styles.forEach(t=>{r.forwardTime((t.offset||0)*o),r.setStyles(t.styles,t.easing,e.errors,e.options),r.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(r),e.transformIntoNewTimeline(a+o),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,a=t.options||{},o=a.delay?mb(a.delay):0;o&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Jb);let r=n;const i=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!a.optional,e.errors);e.currentQueryTotal=i.length;let s=null;i.forEach((n,a)=>{e.currentQueryIndex=a;const i=e.createSubContext(t.options,n);o&&i.delayNextStep(o),n===e.element&&(s=i.currentTimeline),Tb(this,t.animation,i),i.currentTimeline.applyStylesToKeyframe(),r=Math.max(r,i.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(r),s&&(e.currentTimeline.mergeTimelineCollectedStyles(s),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,a=e.currentTimeline,o=t.timings,r=Math.abs(o.duration),i=r*(e.currentQueryTotal-1);let s=r*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":s=i-s;break;case"full":s=n.currentStaggerTime}const l=e.currentTimeline;s&&l.delayNextStep(s);const c=l.currentTime;Tb(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=a.currentTime-c+(a.startTime-n.currentTimeline.startTime)}}const Jb={};class t_{constructor(t,e,n,a,o,r,i,s){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=a,this._leaveClassName=o,this.errors=r,this.timelines=i,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Jb,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=s||new e_(this._driver,e,0),i.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let a=this.options;null!=n.duration&&(a.duration=mb(n.duration)),null!=n.delay&&(a.delay=mb(n.delay));const o=n.params;if(o){let t=a.params;t||(t=this.options.params={}),Object.keys(o).forEach(n=>{e&&t.hasOwnProperty(n)||(t[n]=vb(o[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 a=e||this.element,o=new t_(this._driver,a,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(a,n||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=Jb,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const a={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},o=new n_(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,a,t.stretchStartingKeyframe);return this.timelines.push(o),a}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,a,o,r){let i=[];if(a&&i.push(this.element),t.length>0){t=(t=t.replace(Zb,"."+this._enterClassName)).replace(Qb,"."+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)),i.push(...e)}return o||0!=i.length||r.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),i}}class e_{constructor(t,e,n,a){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=a,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 e_(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+=Gb,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]||Tf,this._currentKeyframe[t]=Tf}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,a){e&&(this._previousKeyframe.easing=e);const o=a&&a.params||{},r=function(t,e){const n={};let a;return t.forEach(t=>{"*"===t?(a=a||Object.keys(e)).forEach(t=>{n[t]=Tf}):fb(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(r).forEach(t=>{const e=vb(r[t],o,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:Tf),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],a=t._styleSummary[e];(!n||a.time>n.time)&&this._updateStyle(e,a.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let a=[];this._keyframes.forEach((o,r)=>{const i=fb(o,!0);Object.keys(i).forEach(n=>{const a=i[n];a==zf?t.add(n):a==Tf&&e.add(n)}),n||(i.offset=r/this.duration),a.push(i)});const o=t.size?xb(t.values()):[],r=e.size?xb(e.values()):[];if(n){const t=a[0],e=pb(t);t.offset=0,e.offset=1,a=[t,e]}return Wb(this.element,a,o,r,this.duration,this.startTime,this.easing,!1)}}class n_ extends e_{constructor(t,e,n,a,o,r,i=!1){super(t,e,r.delay),this.element=e,this.keyframes=n,this.preStyleProps=a,this.postStyleProps=o,this._stretchStartingKeyframe=i,this.timings={duration:r.duration,delay:r.delay,easing:r.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:a}=this.timings;if(this._stretchStartingKeyframe&&e){const o=[],r=n+e,i=e/r,s=fb(t[0],!1);s.offset=0,o.push(s);const l=fb(t[0],!1);l.offset=a_(i),o.push(l);const c=t.length-1;for(let a=1;a<=c;a++){let i=fb(t[a],!1);i.offset=a_((e+i.offset*n)/r),o.push(i)}n=r,e=0,a="",t=o}return Wb(this.element,t,this.preStyleProps,this.postStyleProps,n,e,a,!0)}}function a_(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class o_{}class r_ extends o_{normalizePropertyName(t,e){return kb(t)}normalizeStyleValue(t,e,n,a){let o="";const r=n.toString().trim();if(i_[e]&&0!==n&&"0"!==n)if("number"==typeof n)o="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&a.push(`Please provide a CSS unit value for ${t}:${n}`)}return r+o}}const i_=(()=>(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 s_(t,e,n,a,o,r,i,s,l,c,d,u,m){return{type:0,element:t,triggerName:e,isRemovalTransition:o,fromState:n,fromStyles:r,toState:a,toStyles:i,timelines:s,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:m}}const l_={};class c_{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,a){return function(t,e,n,a,o){return t.some(t=>t(e,n,a,o))}(this.ast.matchers,t,e,n,a)}buildStyles(t,e,n){const a=this._stateStyles["*"],o=this._stateStyles[t],r=a?a.buildStyles(e,n):{};return o?o.buildStyles(e,n):r}build(t,e,n,a,o,r,i,s,l,c){const d=[],u=this.ast.options&&this.ast.options.params||l_,m=this.buildStyles(n,i&&i.params||l_,d),h=s&&s.params||l_,g=this.buildStyles(a,h,d),p=new Set,f=new Map,b=new Map,_="void"===a,C={params:Object.assign({},u,h)},P=c?[]:Kb(t,e,this.ast.animation,o,r,m,g,C,l,d);let O=0;if(P.forEach(t=>{O=Math.max(t.duration+t.delay,O)}),d.length)return s_(e,this._triggerName,n,a,_,m,g,[],[],f,b,O,d);P.forEach(t=>{const n=t.element,a=Uf(f,n,{});t.preStyleProps.forEach(t=>a[t]=!0);const o=Uf(b,n,{});t.postStyleProps.forEach(t=>o[t]=!0),n!==e&&p.add(n)});const M=xb(p.values());return s_(e,this._triggerName,n,a,_,m,g,P,M,f,b,O)}}class d_{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const n={},a=pb(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(a[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const o=t;Object.keys(o).forEach(t=>{let r=o[t];r.length>1&&(r=vb(r,a,e)),n[t]=r})}}),n}}class u_{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new d_(t.style,t.options&&t.options.params||{})}),m_(this.states,"true","1"),m_(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new c_(t,e,this.states))}),this.fallbackTransition=new c_(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,a){return this.transitionFactories.find(o=>o.match(t,e,n,a))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function m_(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const h_=new Yb;class g_{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],a=Vb(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]=a}_buildPlayer(t,e,n){const a=t.element,o=Vf(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(a,o,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const a=[],o=this._animations[t];let r;const i=new Map;if(o?(r=Kb(this._driver,e,o,ib,sb,{},{},n,h_,a)).forEach(t=>{const e=Uf(i,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)}):(a.push("The requested animation doesn't exist or has already been destroyed"),r=[]),a.length)throw new Error(`Unable to create the animation due to the following errors: ${a.join("\n")}`);i.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,Tf)})});const s=Ff(r.map(t=>{const e=i.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=s,s.onDestroy(()=>this.destroy(t)),this.players.push(s),s}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,a){const o=jf(e,"","","");return Bf(this._getPlayer(t),n,o,a),()=>{}}command(t,e,n,a){if("register"==n)return void this.register(t,a[0]);if("create"==n)return void this.create(t,e,a[0]||{});const o=this._getPlayer(t);switch(n){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(a[0]));break;case"destroy":this.destroy(t)}}}const p_="ng-animate-queued",f_=".ng-animate-queued",b_="ng-animate-disabled",__=".ng-animate-disabled",C_="ng-star-inserted",P_=".ng-star-inserted",O_=[],M_={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},y_={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},v_="__ng_removed";class x_{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=function(t){return null!=t?t:null}(n?t.value:t),n){const e=pb(t);delete e.value,this.options=e}else this.options={};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 w_="void",k_=new x_(w_);class S_{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,z_(e,this._hostClassName)}listen(t,e,n,a){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"!=(o=n)&&"done"!=o)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var o;const r=Uf(this._elementListeners,t,[]),i={name:e,phase:n,callback:a};r.push(i);const s=Uf(this._engine.statesByElement,t,{});return s.hasOwnProperty(e)||(z_(t,lb),z_(t,lb+"-"+e),s[e]=k_),()=>{this._engine.afterFlush(()=>{const t=r.indexOf(i);t>=0&&r.splice(t,1),this._triggers[e]||delete s[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,a=!0){const o=this._getTrigger(e),r=new T_(this.id,e,t);let i=this._engine.statesByElement.get(t);i||(z_(t,lb),z_(t,lb+"-"+e),this._engine.statesByElement.set(t,i={}));let s=i[e];const l=new x_(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&s&&l.absorbOptions(s.options),i[e]=l,s||(s=k_),l.value!==w_&&s.value===l.value){if(!function(t,e){const n=Object.keys(t),a=Object.keys(e);if(n.length!=a.length)return!1;for(let o=0;o{Pb(t,n),Cb(t,a)})}return}const c=Uf(this._engine.playersByElement,t,[]);c.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let d=o.matchTransition(s.value,l.value,t,l.params),u=!1;if(!d){if(!a)return;d=o.fallbackTransition,u=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:d,fromState:s,toState:l,player:r,isFallbackTransition:u}),u||(z_(t,p_),r.onStart(()=>{L_(t,p_)})),r.onDone(()=>{let e=this.players.indexOf(r);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(r);t>=0&&n.splice(t,1)}}),this.players.push(r),c.push(r),r}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,n=!1){this._engine.driver.query(t,cb,!0).forEach(t=>{if(t[v_])return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)})}triggerLeaveAnimation(t,e,n,a){const o=this._engine.statesByElement.get(t);if(o){const r=[];if(Object.keys(o).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,w_,a);n&&r.push(n)}}),r.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&Ff(r).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t);if(e){const n=new Set;e.forEach(e=>{const a=e.name;if(n.has(a))return;n.add(a);const o=this._triggers[a].fallbackTransition,r=this._engine.statesByElement.get(t)[a]||k_,i=new x_(w_),s=new T_(this.id,a,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:a,transition:o,fromState:r,toState:i,player:s,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e,!0),this.triggerLeaveAnimation(t,e,!0))return;let a=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)a=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){a=!0;break}}}this.prepareLeaveAnimationListeners(t),a?n.markElementAsRemoved(this.id,t,!1,e):(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}insertNode(t,e){z_(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const a=n.player;if(a.destroyed)return;const o=n.element,r=this._elementListeners.get(o);r&&r.forEach(e=>{if(e.name==n.triggerName){const a=jf(o,n.triggerName,n.fromState.value,n.toState.value);a._data=t,Bf(n.player,e.phase,a,e.callback)}}),a.markedForDestroy?this._engine.afterFlush(()=>{a.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,a=e.transition.ast.depCount;return 0==n||0==a?n-a: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),!!this._queue.find(e=>e.element===t)||e}}class E_{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 S_(t,e,this);return e.parentNode?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 a=!1;for(let o=n;o>=0;o--)if(this.driver.containsElement(this._namespaceList[o].hostElement,e)){this._namespaceList.splice(o+1,0,t),a=!0;break}a||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 a=this._namespaceLookup[t];a&&a.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 a=0;a=0&&this.collectedLeaveElements.splice(t,1)}if(t){const a=this._fetchNamespace(t);a&&a.insertNode(e,n)}a&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),z_(t,b_)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),L_(t,b_))}removeNode(t,e,n,a){if(I_(e)){const o=t?this._fetchNamespace(t):null;if(o?o.removeNode(e,a):this.markElementAsRemoved(t,e,!1,a),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,a)}}else this._onRemovalComplete(e,a)}markElementAsRemoved(t,e,n,a){this.collectedLeaveElements.push(e),e[v_]={namespaceId:t,setForRemoval:a,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,a,o){return I_(e)?this._fetchNamespace(t).listen(e,n,a,o):()=>{}}_buildInstruction(t,e,n,a,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,a,t.fromState.options,t.toState.options,e,o)}destroyInnerAnimations(t){let e=this.driver.query(t,cb,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,ub,!0)).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 Ff(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[v_];if(e&&e.setForRemoval){if(t[v_]=M_,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,__)&&this.markElementAsDisabled(t,!1),this.driver.query(t,__,!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?Ff(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 Yb,a=[],o=new Map,r=[],i=new Map,s=new Map,l=new Map,c=new Set;this.disabledNodes.forEach(t=>{c.add(t);const e=this.driver.query(t,f_,!0);for(let n=0;n{const n=ib+g++;h.set(e,n),t.forEach(t=>z_(t,n))});const p=[],f=new Set,b=new Set;for(let T=0;Tf.add(t)):b.add(t))}const _=new Map,C=D_(u,Array.from(f));C.forEach((t,e)=>{const n=sb+g++;_.set(e,n),t.forEach(t=>z_(t,n))}),t.push(()=>{m.forEach((t,e)=>{const n=h.get(e);t.forEach(t=>L_(t,n))}),C.forEach((t,e)=>{const n=_.get(e);t.forEach(t=>L_(t,n))}),p.forEach(t=>{this.processLeaveNode(t)})});const P=[],O=[];for(let T=this._namespaceList.length-1;T>=0;T--)this._namespaceList[T].drainQueuedTransitions(e).forEach(t=>{const e=t.player,o=t.element;if(P.push(e),this.collectedEnterElements.length){const t=o[v_];if(t&&t.setForMove)return void e.destroy()}const c=!d||!this.driver.containsElement(d,o),u=_.get(o),m=h.get(o),g=this._buildInstruction(t,n,m,u,c);if(!g.errors||!g.errors.length)return c?(e.onStart(()=>Pb(o,g.fromStyles)),e.onDestroy(()=>Cb(o,g.toStyles)),void a.push(e)):t.isFallbackTransition?(e.onStart(()=>Pb(o,g.fromStyles)),e.onDestroy(()=>Cb(o,g.toStyles)),void a.push(e)):(g.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(o,g.timelines),r.push({instruction:g,player:e,element:o}),g.queriedElements.forEach(t=>Uf(i,t,[]).push(e)),g.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=s.get(e);t||s.set(e,t=new Set),n.forEach(e=>t.add(e))}}),void g.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let a=l.get(e);a||l.set(e,a=new Set),n.forEach(t=>a.add(t))}));O.push(g)});if(O.length){const t=[];O.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),P.forEach(t=>t.destroy()),this.reportError(t)}const M=new Map,y=new Map;r.forEach(t=>{const e=t.element;n.has(e)&&(y.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,M))}),a.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{Uf(M,e,[]).push(t),t.destroy()})});const v=p.filter(t=>V_(t,s,l)),x=new Map;A_(x,this.driver,b,l,Tf).forEach(t=>{V_(t,s,l)&&v.push(t)});const w=new Map;m.forEach((t,e)=>{A_(w,this.driver,new Set(t),s,zf)}),v.forEach(t=>{const e=x.get(t),n=w.get(t);x.set(t,Object.assign({},e,n))});const k=[],S=[],E={};r.forEach(t=>{const{element:e,player:r,instruction:i}=t;if(n.has(e)){if(c.has(e))return r.onDestroy(()=>Cb(e,i.toStyles)),r.disabled=!0,r.overrideTotalTime(i.totalTime),void a.push(r);let t=E;if(y.size>1){let n=e;const a=[];for(;n=n.parentNode;){const e=y.get(n);if(e){t=e;break}a.push(n)}a.forEach(e=>y.set(e,t))}const n=this._buildAnimation(r.namespaceId,i,M,o,w,x);if(r.setRealPlayer(n),t===E)k.push(r);else{const e=this.playersByElement.get(t);e&&e.length&&(r.parentPlayer=Ff(e)),a.push(r)}}else Pb(e,i.fromStyles),r.onDestroy(()=>Cb(e,i.toStyles)),S.push(r),c.has(e)&&a.push(r)}),S.forEach(t=>{const e=o.get(t.element);if(e&&e.length){const n=Ff(e);t.setRealPlayer(n)}}),a.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let T=0;T!t.destroyed);a.length?F_(this,t,a):this.processLeaveNode(t)}return p.length=0,k.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),k}elementContainsData(t,e){let n=!1;const a=e[v_];return a&&a.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,a,o){let r=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(r=e)}else{const e=this.playersByElement.get(t);if(e){const t=!o||o==w_;e.forEach(e=>{e.queued||(t||e.triggerName==a)&&r.push(e)})}}return(n||a)&&(r=r.filter(t=>!(n&&n!=t.namespaceId||a&&a!=t.triggerName))),r}_beforeAnimationBuild(t,e,n){const a=e.element,o=e.isRemovalTransition?void 0:t,r=e.isRemovalTransition?void 0:e.triggerName;for(const i of e.timelines){const t=i.element,s=t!==a,l=Uf(n,t,[]);this._getPreviousPlayers(t,s,o,r,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})}Pb(a,e.fromStyles)}_buildAnimation(t,e,n,a,o,r){const i=e.triggerName,s=e.element,l=[],c=new Set,d=new Set,u=e.timelines.map(e=>{const u=e.element;c.add(u);const m=u[v_];if(m&&m.removedBeforeQueried)return new Df(e.duration,e.delay);const h=u!==s,g=function(t){const e=[];return function t(e,n){for(let a=0;at.getRealPlayer()),e),e}().filter(t=>!!t.element&&t.element===u),p=o.get(u),f=r.get(u),b=Vf(0,this._normalizer,0,e.keyframes,p,f),_=this._buildPlayer(e,b,g);if(e.subTimeline&&a&&d.add(u),h){const e=new T_(t,i,u);e.setRealPlayer(_),l.push(e)}return _});l.forEach(t=>{Uf(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>(function(t,e,n){let a;if(t instanceof Map){if(a=t.get(e)){if(a.length){const t=a.indexOf(n);a.splice(t,1)}0==a.length&&t.delete(e)}}else if(a=t[e]){if(a.length){const t=a.indexOf(n);a.splice(t,1)}0==a.length&&delete t[e]}return a})(this.playersByQueriedElement,t.element,t))}),c.forEach(t=>z_(t,db));const m=Ff(u);return m.onDestroy(()=>{c.forEach(t=>L_(t,db)),Cb(s,e.toStyles)}),d.forEach(t=>{Uf(a,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 Df(t.duration,t.delay)}}class T_{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new Df,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=>Bf(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){Uf(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 I_(t){return t&&1===t.nodeType}function R_(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function A_(t,e,n,a,o){const r=[];n.forEach(t=>r.push(R_(t)));const i=[];a.forEach((n,a)=>{const r={};n.forEach(t=>{const n=r[t]=e.computeStyle(a,t,o);n&&0!=n.length||(a[v_]=y_,i.push(a))}),t.set(a,r)});let s=0;return n.forEach(t=>R_(t,r[s++])),i}function D_(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const a=new Set(e),o=new Map;return e.forEach(t=>{const e=function t(e){if(!e)return 1;let r=o.get(e);if(r)return r;const i=e.parentNode;return r=n.has(i)?i:a.has(i)?1:t(i),o.set(e,r),r}(t);1!==e&&n.get(e).push(t)}),n}const N_="$$classes";function z_(t,e){if(t.classList)t.classList.add(e);else{let n=t[N_];n||(n=t[N_]={}),n[e]=!0}}function L_(t,e){if(t.classList)t.classList.remove(e);else{let n=t[N_];n&&delete n[e]}}function F_(t,e,n){Ff(n).onDone(()=>t.processLeaveNode(e))}function V_(t,e,n){const a=n.get(t);if(!a)return!1;let o=e.get(t);return o?a.forEach(t=>o.add(t)):e.set(t,a),n.delete(t),!0}class B_{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=((t,e)=>{}),this._transitionEngine=new E_(t,e,n),this._timelineEngine=new g_(t,e,n),this._transitionEngine.onRemovalComplete=((t,e)=>this.onRemovalComplete(t,e))}registerTrigger(t,e,n,a,o){const r=t+"-"+a;let i=this._triggerCache[r];if(!i){const t=[],e=Vb(this._driver,o,t);if(t.length)throw new Error(`The animation trigger "${a}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);i=function(t,e){return new u_(t,e)}(a,e),this._triggerCache[r]=i}this._transitionEngine.registerTrigger(e,a,i)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,a){this._transitionEngine.insertNode(t,e,n,a)}onRemove(t,e,n,a){this._transitionEngine.removeNode(t,e,a||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,a){if("@"==n.charAt(0)){const[t,o]=$f(n);this._timelineEngine.command(t,e,o,a)}else this._transitionEngine.trigger(t,e,n,a)}listen(t,e,n,a,o){if("@"==n.charAt(0)){const[t,a]=$f(n);return this._timelineEngine.listen(t,e,a,o)}return this._transitionEngine.listen(t,e,n,a,o)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function H_(t,e){let n=null,a=null;return Array.isArray(e)&&e.length?(n=U_(e[0]),e.length>1&&(a=U_(e[e.length-1]))):e&&(n=U_(e)),n||a?new j_(t,n,a):null}const j_=(()=>{class t{constructor(e,n,a){this._element=e,this._startStyles=n,this._endStyles=a,this._state=0;let o=t.initialStylesByElement.get(e);o||t.initialStylesByElement.set(e,o={}),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Cb(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Cb(this._element,this._initialStyles),this._endStyles&&(Cb(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Pb(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Pb(this._element,this._endStyles),this._endStyles=null),Cb(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function U_(t){let e=null;const n=Object.keys(t);for(let a=0;athis._handleCallback(t))}apply(){!function(t,e){const n=eC(t,"").trim();n.length&&(function(t,e){let n=0;for(let a=0;a=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),J_(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=eC(t,"").split(","),a=X_(n,e);a>=0&&(n.splice(a,1),tC(t,"",n.join(",")))}(this._element,this._name))}}function Q_(t,e,n){tC(t,"PlayState",n,K_(t,e))}function K_(t,e){const n=eC(t,"");return n.indexOf(",")>0?X_(n.split(","),e):X_([n],e)}function X_(t,e){for(let n=0;n=0)return n;return-1}function J_(t,e,n){n?t.removeEventListener(Y_,e):t.addEventListener(Y_,e)}function tC(t,e,n,a){const o=W_+e;if(null!=a){const e=t.style[o];if(e.length){const t=e.split(",");t[a]=n,n=t.join(",")}}t.style[o]=n}function eC(t,e){return t.style[W_+e]}const nC="forwards",aC="linear";class oC{constructor(t,e,n,a,o,r,i,s){this.element=t,this.keyframes=e,this.animationName=n,this._duration=a,this._delay=o,this._finalStyles=i,this._specialStyles=s,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=r||aC,this.totalTime=a+o,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._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Z_(this.element,this.animationName,this._duration,this._delay,this.easing,nC,()=>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]:Ib(this.element,n))})}this.currentSnapshot=t}}class rC extends Df{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=eb(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())}}const iC="gen_css_kf_",sC=" ";class lC{constructor(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}validateStyleProperty(t){return Kf(t)}matchesElement(t,e){return Xf(t,e)}containsElement(t,e){return Jf(t,e)}query(t,e,n){return tb(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>eb(t));let a=`@keyframes ${e} {\n`,o="";n.forEach(t=>{o=sC;const e=parseFloat(t.offset);a+=`${o}${100*e}% {\n`,o+=sC,Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(a+=`${o}animation-timing-function: ${n};\n`));default:return void(a+=`${o}${e}: ${n};\n`)}}),a+=`${o}}\n`}),a+="}\n";const r=document.createElement("style");return r.innerHTML=a,r}animate(t,e,n,a,o,r=[],i){i&&this._notifyFaultyScrubber();const s=r.filter(t=>t instanceof oC),l={};Sb(n,a)&&s.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=Eb(t,e,l));if(0==n)return new rC(t,c);const d=`${iC}${this._count++}`,u=this.buildKeyframeElement(t,d,e);document.querySelector("head").appendChild(u);const m=H_(t,e),h=new oC(t,e,d,n,a,o,c,m);return h.onDestroy(()=>(function(t){u.parentNode.removeChild(u)})()),h}_notifyFaultyScrubber(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}class cC{constructor(t,e,n,a){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=a,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){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]:Ib(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class dC{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(uC().toString()),this._cssKeyframesDriver=new lC}validateStyleProperty(t){return Kf(t)}matchesElement(t,e){return Xf(t,e)}containsElement(t,e){return Jf(t,e)}query(t,e,n){return tb(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,a,o,r=[],i){if(!i&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,a,o,r);const s={duration:n,delay:a,fill:0==a?"both":"forwards"};o&&(s.easing=o);const l={},c=r.filter(t=>t instanceof cC);Sb(n,a)&&c.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const d=H_(t,e=Eb(t,e=e.map(t=>fb(t,!1)),l));return new cC(t,e,s,d)}}function uC(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}const mC=(()=>(class extends Sf{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:Jt.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?If(t):t;return pC(this._renderer,null,e,"register",[n]),new hC(e,this._renderer)}}))();class hC extends Ef{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new gC(this._id,t,e||{},this._renderer)}}class gC{constructor(t,e,n,a){this.id=t,this.element=e,this._renderer=a,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 pC(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")}setPosition(t){this._command("setPosition",t)}getPosition(){return 0}}function pC(t,e,n,a,o){return t.setProperty(e,`@@${n}:${a}`,o)}const fC="@",bC="@.disabled",_C=(()=>(class{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 CC("",n,this.engine),this._rendererCache.set(n,t)),t}const a=e.id,o=e.id+"-"+this._currentId;return this._currentId++,this.engine.register(o,t),e.data.animation.forEach(e=>this.engine.registerTrigger(a,o,t,e.name,e)),new PC(this,o,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()}}))();class CC{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){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,!0)}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,a){this.delegate.setAttribute(t,e,n,a)}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,a){this.delegate.setStyle(t,e,n,a)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){e.charAt(0)==fC&&e==bC?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 PC extends CC{constructor(t,e,n,a){super(e,n,a),this.factory=t,this.namespaceId=e}setProperty(t,e,n){e.charAt(0)==fC?"."==e.charAt(1)&&e==bC?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)==fC){const a=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let o=e.substr(1),r="";return o.charAt(0)!=fC&&([o,r]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(o)),this.engine.listen(this.namespaceId,a,o,r,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}const OC=(()=>(class extends B_{constructor(t,e,n){super(t.body,e,n)}}))();function MC(){return"function"==typeof uC()?new dC:new lC}function yC(){return new r_}function vC(t,e,n){return new _C(t,e,n)}const xC=new Tt("AnimationModuleType"),wC=(()=>(class{}))();var kC=Kn({encapsulation:2,styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media (hover:none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-flat-button,.mat-icon-button,.mat-stroked-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-flat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-focus-overlay,.mat-stroked-button .mat-button-ripple.mat-ripple{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button .mat-icon,.mat-icon-button i{line-height:24px}.mat-button-focus-overlay,.mat-button-ripple.mat-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity .2s cubic-bezier(.35,0,.25,1),background-color .2s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}@media (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:#fff}}@media (-ms-high-contrast:black-on-white){.mat-button-focus-overlay{background-color:#000}}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}@media (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],data:{}});function SC(t){return ei(2,[Ur(671088640,1,{ripple:0}),(t()(),Fr(1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),Gr(null,0),(t()(),Fr(3,0,null,null,1,"div",[["class","mat-button-ripple mat-ripple"],["matRipple",""]],[[2,"mat-button-ripple-round",null],[2,"mat-ripple-unbounded",null]],null,null,null,null)),so(4,212992,[[1,4]],0,Gp,[an,Jo,Vg,[2,Yp],[2,xC]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(t()(),Fr(5,0,null,null,0,"div",[["class","mat-button-focus-overlay"]],null,null,null,null,null))],function(t,e){var n=e.component;t(e,4,0,n.isIconButton,n._isRippleDisabled(),n._getHostElement())},function(t,e){var n=e.component;t(e,3,0,n.isRoundButton||n.isIconButton,Ga(e,4).unbounded)})}class EC{constructor(t){this.elRef=t,this.wasClicked=!1,this.element=t.nativeElement,this.element.addEventListener("click",this.onClick.bind(this)),this.element.addEventListener("touchstart",this.onTouchStart.bind(this))}onClick(){this.wasClicked=!0}onTouchStart(t){this.wasClicked=!1,setTimeout(()=>{this.wasClicked||(this.element.click(),this.wasClicked=!0)},300)}}class TC{constructor(t,e,n){this.beatOnApi=t,this.msgSvc=e,this.router=n}ngOnInit(){this.msgSvc.setupMessage.subscribe(t=>{switch(t.SetupEvent){case Fh.Step1Complete:this.router.navigateByUrl("/setupstep2");break;case Fh.Step2Complete:this.router.navigateByUrl("/setupstep3");break;case Fh.Step3Complete:this.router.navigateByUrl("/")}})}}var IC=Kn({encapsulation:0,styles:[['.mat-badge-content[_ngcontent-%COMP%]{font-weight:600;font-size:12px;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:9px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:24px}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 11.62px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 9.38px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,"Helvetica Neue",sans-serif}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,"Helvetica Neue",sans-serif;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34375em) scale(.75);transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34374em) scale(.75);transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28121em) scale(.75);transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59375em) scale(.75);transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59374em) scale(.75);transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59375em) scale(.75);transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59374em) scale(.75);transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:16px;color:#fff}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif;color:rgba(255,255,255,.7)}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,-webkit-transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1),-webkit-transform 0s cubic-bezier(0,0,.2,1);-webkit-transform:scale(0);transform:scale(0)}@media (-ms-high-contrast:active){.mat-ripple-element[_ngcontent-%COMP%]{display:none}}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-start{}@-webkit-keyframes cdk-text-field-autofill-end{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation-name:cdk-text-field-autofill-start;animation-name:cdk-text-field-autofill-start}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation-name:cdk-text-field-autofill-end;animation-name:cdk-text-field-autofill-end}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{height:auto!important;overflow:hidden!important;padding:2px 0!important;box-sizing:content-box!important}.mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple):not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:focus:not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:hover:not(.mat-option-disabled){background:rgba(255,255,255,.04)}.mat-option.mat-active[_ngcontent-%COMP%]{background:rgba(255,255,255,.04);color:#fff}.mat-option.mat-option-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-primary[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ad2c2c}.mat-accent[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#216bad}.mat-warn[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ff5722}.mat-optgroup-disabled[_ngcontent-%COMP%] .mat-optgroup-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-pseudo-checkbox[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-pseudo-checkbox[_ngcontent-%COMP%]::after{color:#303030}.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{color:#686868}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%], .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#216bad}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ad2c2c}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ff5722}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{background:#686868}.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-app-background[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-theme-loaded-marker[_ngcontent-%COMP%]{display:none}.mat-autocomplete-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-autocomplete-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover){background:#424242}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#fff}@media (-ms-high-contrast:active){.mat-badge-content[_ngcontent-%COMP%]{outline:solid 1px;border-radius:0}.mat-checkbox-disabled[_ngcontent-%COMP%]{opacity:.5}}.mat-badge-accent[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-badge-warn[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ff5722}.mat-badge[_ngcontent-%COMP%]{position:relative}.mat-badge-hidden[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{display:none}.mat-badge-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#6e6e6e;color:rgba(255,255,255,.5)}.mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ad2c2c;position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out;-webkit-transform:scale(.6);transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.mat-badge-content._mat-animation-noopable[_ngcontent-%COMP%], .ng-animate-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{transition:none}.mat-badge-content.mat-badge-active[_ngcontent-%COMP%]{-webkit-transform:none;transform:none}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:16px;height:16px;line-height:16px}.mat-badge-small.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-8px}.mat-badge-small.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-8px}.mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-16px}.mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-8px}.mat-badge-medium[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-11px}.mat-badge-medium.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-11px}.mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-22px}.mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-11px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:28px;height:28px;line-height:28px}.mat-badge-large.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-14px}.mat-badge-large.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-14px}.mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-28px}.mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-14px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{color:inherit;background:0 0}.mat-button.mat-primary[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-button[disabled][disabled][_ngcontent-%COMP%], .mat-icon-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-icon-button[disabled][disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-stroked-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ff5722}.mat-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:transparent}.mat-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{opacity:.1;background-color:currentColor}.mat-button-focus-overlay[_ngcontent-%COMP%]{background:#fff}.mat-stroked-button[_ngcontent-%COMP%]:not([disabled]){border-color:rgba(255,255,255,.12)}.mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%]{color:#fff;background-color:#424242}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{color:#fff}.mat-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-fab[disabled][disabled][_ngcontent-%COMP%], .mat-flat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-flat-button[disabled][disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-mini-fab[disabled][disabled][_ngcontent-%COMP%], .mat-raised-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-raised-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:rgba(255,255,255,.12)}.mat-fab.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-flat-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-stroked-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-raised-button[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-button-toggle-group[_ngcontent-%COMP%], .mat-button-toggle-standalone[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%], .mat-button-toggle-standalone.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{box-shadow:none;border:1px solid rgba(255,255,255,.12)}.mat-button-toggle[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-button-toggle[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff;background:#424242}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:#fff}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12)}[dir=rtl][_ngcontent-%COMP%] .mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:none;border-top:1px solid rgba(255,255,255,.12)}.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#212121;color:rgba(255,255,255,.7)}.mat-button-toggle-checked.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff}.mat-button-toggle-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:#000}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{background:#424242}.mat-button-toggle-disabled.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#424242}.mat-card[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-card[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-card.mat-card-flat[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-card-subtitle[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-checkbox-frame[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-checkbox-checkmark[_ngcontent-%COMP%]{fill:#303030}.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#303030!important}@media (-ms-high-contrast:black-on-white){.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#000!important}}.mat-checkbox-mixedmark[_ngcontent-%COMP%]{background-color:#303030}.mat-checkbox-checked.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-checkbox-checked.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#216bad}.mat-checkbox-checked.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ff5722}.mat-checkbox-disabled.mat-checkbox-checked[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-disabled.mat-checkbox-indeterminate[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%]:not(.mat-checkbox-checked) .mat-checkbox-frame[_ngcontent-%COMP%]{border-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}@media (-ms-high-contrast:active){.mat-checkbox-background[_ngcontent-%COMP%]{background:0 0}}.mat-checkbox[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%]{background:#ad2c2c}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%]{background:#216bad}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%]{background:#ff5722}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]{background-color:#616161;color:#fff}.mat-chip.mat-standard-chip[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled) .mat-chip-remove[_ngcontent-%COMP%]:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled[_ngcontent-%COMP%]{opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]::after{background:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-table[_ngcontent-%COMP%]{background:#424242}.mat-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%], .mat-table-sticky[_ngcontent-%COMP%], [mat-footer-row][_ngcontent-%COMP%], [mat-header-row][_ngcontent-%COMP%], [mat-row][_ngcontent-%COMP%], mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%]{background:inherit}mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%], td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{border-bottom-color:rgba(255,255,255,.12)}.mat-header-cell[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{color:#fff}.mat-calendar-arrow[_ngcontent-%COMP%]{border-top-color:#fff}.mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-next-button[_ngcontent-%COMP%], .mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-previous-button[_ngcontent-%COMP%], .mat-datepicker-toggle[_ngcontent-%COMP%]{color:#fff}.mat-calendar-table-header[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-calendar-table-header-divider[_ngcontent-%COMP%]::after{background:rgba(255,255,255,.12)}.mat-calendar-body-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-calendar-body-cell-content[_ngcontent-%COMP%]{color:#fff;border-color:transparent}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){color:rgba(255,255,255,.5)}.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .cdk-program-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .mat-calendar-body-cell[_ngcontent-%COMP%]:not(.mat-calendar-body-disabled):hover > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){background-color:rgba(255,255,255,.04)}.mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.5)}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.3)}.mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.4)}.mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#424242;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.4)}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.4)}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content-touch[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-datepicker-toggle-active[_ngcontent-%COMP%]{color:#ad2c2c}.mat-datepicker-toggle-active.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-datepicker-toggle-active.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-dialog-container[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-divider[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-divider-vertical[_ngcontent-%COMP%]{border-right-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-expansion-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-action-row[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-keyboard-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-program-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]):hover{background:rgba(255,255,255,.04)}@media (hover:none){.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header[_ngcontent-%COMP%]:hover{background:#424242}}.mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:#fff}.mat-expansion-indicator[_ngcontent-%COMP%]::after, .mat-expansion-panel-header-description[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%], .mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:inherit}.mat-form-field-label[_ngcontent-%COMP%], .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-focused[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#fff}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid) .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ad2c2c}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#216bad}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#ff5722}.mat-error[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.25em;background-color:rgba(255,255,255,.7)}.mat-form-field-appearance-legacy.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7)}.mat-form-field-appearance-standard.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.05)}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:transparent}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#fff}.mat-form-field-appearance-outline.mat-focused[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field-appearance-outline.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-appearance-outline.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.15)}.mat-icon.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-icon.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-icon.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-type-mat-native-select[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:rgba(255,255,255,.7)}.mat-form-field-type-mat-native-select.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-input-element[_ngcontent-%COMP%]:disabled{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]{caret-color:#ad2c2c}.mat-input-element[_ngcontent-%COMP%]::-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-moz-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-webkit-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]{color:rgba(0,0,0,.87)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]:disabled{color:rgba(0,0,0,.38)}.mat-accent[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#216bad}.mat-form-field-invalid[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#ff5722}.mat-form-field-type-mat-native-select.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ff5722}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%], .mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{color:#fff}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500;color:rgba(255,255,255,.7)}.mat-list-item-disabled[_ngcontent-%COMP%]{background-color:#000}.mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover, .mat-list-option[_ngcontent-%COMP%]:focus, .mat-list-option[_ngcontent-%COMP%]:hover, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover{background:rgba(255,255,255,.04)}.mat-menu-panel[_ngcontent-%COMP%]{background:#424242}.mat-menu-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-menu-item[_ngcontent-%COMP%]{background:0 0;color:#fff}.mat-menu-item[disabled][_ngcontent-%COMP%], .mat-menu-item[disabled][_ngcontent-%COMP%]::after{color:rgba(255,255,255,.5)}.mat-menu-item[_ngcontent-%COMP%] .mat-icon-no-color[_ngcontent-%COMP%], .mat-menu-item-submenu-trigger[_ngcontent-%COMP%]::after{color:#fff}.mat-menu-item-highlighted[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-keyboard-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-program-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item[_ngcontent-%COMP%]:hover:not([disabled]){background:rgba(255,255,255,.04)}.mat-paginator[_ngcontent-%COMP%]{background:#424242}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-paginator-decrement[_ngcontent-%COMP%], .mat-paginator-increment[_ngcontent-%COMP%]{border-top:2px solid #fff;border-right:2px solid #fff}.mat-paginator-first[_ngcontent-%COMP%], .mat-paginator-last[_ngcontent-%COMP%]{border-top:2px solid #fff}.mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-decrement[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-first[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-increment[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-last[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-progress-bar-background[_ngcontent-%COMP%]{fill:#e6c0c0}.mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#e6c0c0}.mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ad2c2c}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#216bad}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ff5722}.mat-progress-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ad2c2c}.mat-progress-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#216bad}.mat-progress-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ff5722}.mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ad2c2c}.mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#216bad}.mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#216bad}.mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ff5722}.mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ff5722}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-label-content[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-radio-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-select-value[_ngcontent-%COMP%]{color:#fff}.mat-select-disabled[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%], .mat-select-placeholder[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-select-panel[_ngcontent-%COMP%]{background:#424242}.mat-select-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-select-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple){background:rgba(255,255,255,.12)}.mat-form-field.mat-focused.mat-primary[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#216bad}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-invalid[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-form-field.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-disabled[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-drawer-container[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-drawer[_ngcontent-%COMP%]{background-color:#424242;color:#fff}.mat-drawer.mat-drawer-push[_ngcontent-%COMP%]{background-color:#424242}.mat-drawer[_ngcontent-%COMP%]:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-drawer-side[_ngcontent-%COMP%]{border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%] .mat-drawer-side[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12);border-right:none}[dir=rtl][_ngcontent-%COMP%] .mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-backdrop.mat-drawer-shown[_ngcontent-%COMP%]{background-color:rgba(189,189,189,.6)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.54)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.54)}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.54)}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle[_ngcontent-%COMP%]:not(.mat-checked) .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-slide-toggle-thumb[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#bdbdbd}.mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#216bad}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ff5722}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.2)}.cdk-focused[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%] .mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:#fff}.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing) .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3);background-color:transparent}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-has-ticks[_ngcontent-%COMP%] .mat-slider-wrapper[_ngcontent-%COMP%]::after{border-color:rgba(255,255,255,.7)}.mat-slider-horizontal[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to right,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-slider-vertical[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to bottom,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused[_ngcontent-%COMP%], .mat-step-header.cdk-program-focused[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%]:hover{background-color:rgba(255,255,255,.04)}@media (hover:none){.mat-step-header[_ngcontent-%COMP%]:hover{background:0 0}}.mat-step-header[_ngcontent-%COMP%] .mat-step-label[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-optional[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7);color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-selected[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-edit[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-error[_ngcontent-%COMP%]{background-color:transparent;color:#ff5722}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-active[_ngcontent-%COMP%]{color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-error[_ngcontent-%COMP%]{color:#ff5722}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{background-color:#424242}.mat-stepper-vertical-line[_ngcontent-%COMP%]::before{border-left-color:rgba(255,255,255,.12)}.mat-horizontal-stepper-header[_ngcontent-%COMP%]::after, .mat-horizontal-stepper-header[_ngcontent-%COMP%]::before, .mat-stepper-horizontal-line[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-sort-header-arrow[_ngcontent-%COMP%]{color:#c6c6c6}.mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[_ngcontent-%COMP%]{border-bottom:1px solid rgba(255,255,255,.12)}.mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-nav-bar[_ngcontent-%COMP%]{border-top:1px solid rgba(255,255,255,.12);border-bottom:none}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-tab-group[class*=mat-background-][_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[class*=mat-background-][_ngcontent-%COMP%]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-toolbar[_ngcontent-%COMP%]{background:#212121;color:#fff}.mat-toolbar.mat-primary[_ngcontent-%COMP%]{background:#ad2c2c;color:#fff}.mat-toolbar.mat-accent[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-toolbar.mat-warn[_ngcontent-%COMP%]{background:#ff5722;color:#fff}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:currentColor}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%]{color:inherit}.mat-toolbar[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:currentColor}.mat-tooltip[_ngcontent-%COMP%]{background:rgba(97,97,97,.9)}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;background:#424242}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px;color:#fff}.mat-snack-bar-container[_ngcontent-%COMP%]{color:rgba(0,0,0,.87);background:#fafafa;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-simple-snackbar-action[_ngcontent-%COMP%]{color:inherit}.setup-icon[_ngcontent-%COMP%]{font-size:40px}']],data:{}});function RC(t){return ei(0,[(t()(),Fr(0,0,null,null,50,"mat-card",[["class","setup-card mat-card"]],null,null,null,Xp,Kp)),so(1,49152,null,0,kg,[],null,null),(t()(),Fr(2,0,null,0,12,"mat-card-header",[["class","mat-card-header"]],null,null,null,tf,Jp)),so(3,49152,null,0,Sg,[],null,null),(t()(),Fr(4,0,null,0,4,"div",[["class","mat-card-avatar"],["mat-card-avatar",""]],null,null,null,null,null)),so(5,16384,null,0,wg,[],null,null),(t()(),Fr(6,0,null,null,2,"mat-icon",[["aria-hidden","false"],["class","setup-icon mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Mf,Of)),so(7,9158656,null,0,Cf,[an,df,[8,"false"],[2,pf]],null,null),(t()(),Xr(-1,0,["update"])),(t()(),Fr(9,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),so(10,16384,null,0,yg,[],null,null),(t()(),Xr(-1,null,["Setup"])),(t()(),Fr(12,0,null,1,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),so(13,16384,null,0,vg,[],null,null),(t()(),Xr(-1,null,["Intruduction"])),(t()(),Fr(15,0,null,0,25,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),so(16,16384,null,0,Mg,[],null,null),(t()(),Fr(17,0,null,null,1,"h4",[],null,null,null,null,null)),(t()(),Xr(-1,null,["You need:"])),(t()(),Fr(19,0,null,null,4,"ul",[],null,null,null,null,null)),(t()(),Fr(20,0,null,null,1,"li",[],null,null,null,null,null)),(t()(),Xr(-1,null,["Probably a gig or so of free space? maybe 500-600mb?"])),(t()(),Fr(22,0,null,null,1,"li",[],null,null,null,null,null)),(t()(),Xr(-1,null,["Beat Saber 1.1.0 (unmodified) installed"])),(t()(),Fr(24,0,null,null,12,"ul",[],null,null,null,null,null)),(t()(),Fr(25,0,null,null,6,"li",[],null,null,null,null,null)),(t()(),Xr(-1,null,[" Step 1: "])),(t()(),Fr(27,0,null,null,4,"ul",[],null,null,null,null,null)),(t()(),Fr(28,0,null,null,1,"li",[],null,null,null,null,null)),(t()(),Xr(-1,null,["Prepare for installing Beat On by copying out the APK to external storage"])),(t()(),Fr(30,0,null,null,1,"li",[],null,null,null,null,null)),(t()(),Xr(-1,null,["Ask you to uninstall Beat Saber (say yes)"])),(t()(),Fr(32,0,null,null,4,"li",[],null,null,null,null,null)),(t()(),Xr(-1,null,[" Step 2 (not neccesarily in this order): "])),(t()(),Fr(34,0,null,null,2,"ul",[],null,null,null,null,null)),(t()(),Fr(35,0,null,null,1,"li",[],null,null,null,null,null)),(t()(),Xr(-1,null,["Do all the other stuff, it takes a bit."])),(t()(),Fr(37,0,null,null,1,"h3",[],null,null,null,null,null)),(t()(),Xr(-1,null,["***IMPORTANT***"])),(t()(),Fr(39,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Xr(-1,null,[' When the modded APK gets installed, it will probably tell you that you don\'t have "untrusted sources" enabled and will offer to take you to the settings page. Go to the settings page, and turn on the switch for allowing untrusted sources, then you can continue installing the modded APK. '])),(t()(),Fr(41,0,null,0,9,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),so(42,16384,null,0,xg,[],null,null),(t()(),Fr(43,0,null,null,7,"button",[["color","accent"],["fast-click",""],["mat-raised-button",""],["routerLink","/setupstep1"],["routerLinkActive","active"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var a=!0;return"click"===e&&(a=!1!==Ga(t,44).onClick()&&a),a},SC,kC)),so(44,16384,[[1,4]],0,lh,[sh,Qu,[8,null],cn,an],{routerLink:[0,"routerLink"]},null),so(45,1720320,null,2,uh,[sh,an,cn,[2,lh],[2,ch]],{routerLinkActive:[0,"routerLinkActive"]},null),Ur(603979776,1,{links:1}),Ur(603979776,2,{linksWithHrefs:1}),so(48,180224,null,0,wf,[an,vp,[2,xC]],{color:[0,"color"]},null),so(49,16384,null,0,EC,[an],null,null),(t()(),Xr(-1,0,["Continue"]))],function(t,e){t(e,7,0),t(e,44,0,"/setupstep1"),t(e,45,0,"active"),t(e,48,0,"accent")},function(t,e){t(e,6,0,Ga(e,7).inline,"primary"!==Ga(e,7).color&&"accent"!==Ga(e,7).color&&"warn"!==Ga(e,7).color),t(e,41,0,"end"===Ga(e,42).align),t(e,43,0,Ga(e,48).disabled||null,"NoopAnimations"===Ga(e,48)._animationMode)})}function AC(t){return ei(0,[(t()(),Fr(0,0,null,null,1,"app-setup",[],null,null,null,RC,IC)),so(1,114688,null,0,TC,[Ul,zh,sh],null,null)],function(t,e){t(e,1,0)},null)}var DC=La("app-setup",TC,AC,{},{},[]);class NC{constructor(t,e){this.beatOnApi=t,this.dialog=e}ngOnInit(){}clickBegin(){const t=this.dialog.open(og,{width:"450px",height:"350px",disableClose:!0,data:{mainText:"Please wait..."}});this.beatOnApi.installModStep1().subscribe(e=>{t.close()})}}function zC(){throw Error("Host already has a portal attached")}class LC{attach(t){return null==t&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),t.hasAttached()&&zC(),this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null==t?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class FC extends LC{constructor(t,e,n,a){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=a}}class VC extends LC{constructor(t,e,n){super(),this.templateRef=t,this.viewContainerRef=e,this.context=n}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class BC{constructor(){this._isDisposed=!1}hasAttached(){return!!this._attachedPortal}attach(t){return t||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&zC(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),t instanceof FC?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof VC?(this._attachedPortal=t,this.attachTemplatePortal(t)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class HC extends BC{constructor(t,e,n,a){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=a}attachComponentPortal(t){const e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let n;return t.viewContainerRef?(n=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=e.create(t.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),n}attachTemplatePortal(t){let e=t.viewContainerRef,n=e.createEmbeddedView(t.templateRef,t.context);return n.detectChanges(),n.rootNodes.forEach(t=>this.outletElement.appendChild(t)),this.setDisposeFn(()=>{let t=e.indexOf(n);-1!==t&&e.remove(t)}),n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}const jC=(()=>(class extends BC{constructor(t,e){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new wo}get portal(){return this._attachedPortal}set portal(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(t){t.setAttachedHost(this);const e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,n=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),a=e.createComponent(n,e.length,t.injector||e.injector);return super.setDisposeFn(()=>a.destroy()),this._attachedPortal=t,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(t){t.setAttachedHost(this);const e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}}))(),UC=(()=>(class{}))();class $C{constructor(t,e){this._parentInjector=t,this._customTokens=e}get(t,e){const n=this._customTokens.get(t);return void 0!==n?n:this._parentInjector.get(t,e)}}function qC(t,e,n,o){return a(n)&&(o=n,n=void 0),o?qC(t,e,n).pipe(j(t=>l(t)?o(...t):o(t))):new O(a=>{!function t(e,n,a,o,r){let i;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){const t=e;e.addEventListener(n,a,r),i=(()=>t.removeEventListener(n,a,r))}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){const t=e;e.on(n,a),i=(()=>t.off(n,a))}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){const t=e;e.addListener(n,a),i=(()=>t.removeListener(n,a))}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let i=0,s=e.length;i1?Array.prototype.slice.call(arguments):t)},a,n)})}class WC extends sp{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?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)}}class YC extends cp{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,a=-1,o=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++a(function(t){const e=QC[t];e&&e()})(e)),e},clearImmediate(t){delete QC[t]}};class XC extends sp{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=KC.setImmediate(t.flush.bind(t,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&&(KC.clearImmediate(e),t.scheduled=void 0)}}class JC extends cp{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,a=-1,o=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++a=0}function iP(t){const{index:e,period:n,subscriber:a}=t;if(a.next(e),!a.closed){if(-1===n)return a.complete();t.index=e+1,this.schedule(t,n)}}function sP(t,e=dp){return n=(()=>(function(t=0,e,n){let a=-1;return rP(e)?a=Number(e)<1?1:Number(e):E(e)&&(n=e),E(n)||(n=dp),new O(e=>{const o=rP(t)?t:+t-n.now();return n.schedule(iP,o,{index:0,period:a,subscriber:e})})})(t,e)),function(t){return t.lift(new aP(n))};var n}function lP(t){return e=>e.lift(new cP(t))}class cP{constructor(t){this.notifier=t}call(t,e){const n=new dP(t),a=B(n,this.notifier);return a&&!n.seenValue?(n.add(a),e.subscribe(n)):n}}class dP extends H{constructor(t){super(t),this.seenValue=!1}notifyNext(t,e,n,a,o){this.seenValue=!0,this.complete()}notifyComplete(){}}class uP{call(t,e){return e.subscribe(new mP(t))}}class mP extends p{constructor(t){super(t),this.hasPrev=!1}_next(t){this.hasPrev?this.destination.next([this.prev,t]):this.hasPrev=!0,this.prev=t}}class hP extends sp{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)}}class gP extends cp{}const pP=new gP(hP);var fP;!function(t){t.NEXT="N",t.ERROR="E",t.COMPLETE="C"}(fP||(fP={}));const bP=(()=>{class t{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}accept(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case"N":return gs(this.value);case"E":return ef(this.error);case"C":return ms()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}}return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t})();class _P extends p{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(_P.dispatch,this.delay,new CP(t,this.destination)))}_next(t){this.scheduleMessage(bP.createNext(t))}_error(t){this.scheduleMessage(bP.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(bP.createComplete()),this.unsubscribe()}}class CP{constructor(t,e){this.notification=t,this.destination=e}}class PP extends k{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){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift(),super.next(t)}nextTimeWindow(t){this._events.push(new OP(this._getNow(),t)),this._trimBufferThenGetEvents(),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,n=e?this._events:this._trimBufferThenGetEvents(),a=this.scheduler,o=n.length;let r;if(this.closed)throw new v;if(this.isStopped||this.hasError?r=m.EMPTY:(this.observers.push(t),r=new x(this,t)),a&&t.add(t=new _P(t,a)),e)for(let i=0;ie&&(r=Math.max(r,o-e)),r>0&&a.splice(0,r),a}}class OP{constructor(t,e){this.time=t,this.value=e}}class MP{}class yP extends MP{constructor(t){super(),this._data=t}connect(){return this._data instanceof O?this._data:gs(this._data)}disconnect(){}}const vP=new Tt("VIRTUAL_SCROLL_STRATEGY");class xP{constructor(t,e,n){this._scrolledIndexChange=new k,this.scrolledIndexChange=this._scrolledIndexChange.pipe(t=>t.lift(new eP(void 0,void 0))),this._viewport=null,this._itemSize=t,this._minBufferPx=e,this._maxBufferPx=n}attach(t){this._viewport=t,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(t,e,n){if(n0&&(a.end=Math.min(r,a.end+t),a.start=Math.max(0,Math.floor(e-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(a),this._viewport.setRenderedContentOffset(this._itemSize*a.start),this._scrolledIndexChange.next(Math.floor(e))}}function wP(t){return t._scrollStrategy}const kP=(()=>(class{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new xP(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(t){this._itemSize=Dg(t)}get minBufferPx(){return this._minBufferPx}set minBufferPx(t){this._minBufferPx=Dg(t)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(t){this._maxBufferPx=Dg(t)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}))(),SP=20,EP=(()=>{class t{constructor(t,e){this._ngZone=t,this._platform=e,this._scrolled=new k,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=SP){return this._platform.isBrowser?new O(e=>{this._globalSubscription||this._addGlobalListener();const n=t>0?this._scrolled.pipe(sP(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):gs()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){const n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(fs(t=>!t||n.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((n,a)=>{this._scrollableContainsElement(a,t)&&e.push(a)}),e}_scrollableContainsElement(t,e){let n=e.nativeElement,a=t.getElementRef().nativeElement;do{if(n==a)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>qC(window.document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.ngInjectableDef=pt({factory:function(){return new t(St(Jo),St(Vg))},token:t,providedIn:"root"}),t})(),TP=(()=>(class{constructor(t,e,n,a){this.elementRef=t,this.scrollDispatcher=e,this.ngZone=n,this.dir=a,this._destroyed=new k,this._elementScrolled=new O(t=>this.ngZone.runOutsideAngular(()=>qC(this.elementRef.nativeElement,"scroll").pipe(lP(this._destroyed)).subscribe(t)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){const e=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;t.left=null==t.left?n?t.end:t.start:t.left,t.right=null==t.right?n?t.start:t.end:t.right,null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),n&&Gg()!=Wg.NORMAL?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),Gg()==Wg.INVERTED?t.left=t.right:Gg()==Wg.NEGATED&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){const e=this.elementRef.nativeElement;"object"==typeof document&&"scrollBehavior"in document.documentElement.style?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))}measureScrollOffset(t){const e=this.elementRef.nativeElement;if("top"==t)return e.scrollTop;if("bottom"==t)return e.scrollHeight-e.clientHeight-e.scrollTop;const n=this.dir&&"rtl"==this.dir.value;return"start"==t?t=n?"right":"left":"end"==t&&(t=n?"left":"right"),n&&Gg()==Wg.INVERTED?"left"==t?e.scrollWidth-e.clientWidth-e.scrollLeft:e.scrollLeft:n&&Gg()==Wg.NEGATED?"left"==t?e.scrollLeft+e.scrollWidth-e.clientWidth:-e.scrollLeft:"left"==t?e.scrollLeft:e.scrollWidth-e.clientWidth-e.scrollLeft}}))(),IP="undefined"!=typeof requestAnimationFrame?GC:tP,RP=(()=>(class extends TP{constructor(t,e,n,a,o,r){if(super(t,r,n,o),this.elementRef=t,this._changeDetectorRef=e,this._scrollStrategy=a,this._detachedSubject=new k,this._renderedRangeSubject=new k,this.orientation="vertical",this.scrolledIndexChange=new O(t=>this._scrollStrategy.scrolledIndexChange.subscribe(e=>Promise.resolve().then(()=>this.ngZone.run(()=>t.next(e))))),this.renderedRangeStream=this._renderedRangeSubject.asObservable(),this._totalContentSizeTransform="",this._totalContentSize=0,this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],!a)throw Error('Error: cdk-virtual-scroll-viewport requires the "itemSize" property to be set.')}ngOnInit(){super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.elementScrolled().pipe(vc(null),sP(0,IP)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()}))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),super.ngOnDestroy()}attach(t){if(this._forOf)throw Error("CdkVirtualScrollViewport is already attached.");this.ngZone.runOutsideAngular(()=>{this._forOf=t,this._forOf.dataStream.pipe(lP(this._detachedSubject)).subscribe(t=>{const e=t.length;e!==this._dataLength&&(this._dataLength=e,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}setTotalContentSize(t){this._totalContentSize!==t&&(this._totalContentSize=t,this._totalContentSizeTransform=`scale${"horizontal"==this.orientation?"X":"Y"}(${this._totalContentSize})`,this._markChangeDetectionNeeded())}setRenderedRange(t){var e,n;((e=this._renderedRange).start!=(n=t).start||e.end!=n.end)&&(this._renderedRangeSubject.next(this._renderedRange=t),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(t,e="to-start"){const n="horizontal"==this.orientation,a=n?"X":"Y";let o=`translate${a}(${Number((n&&this.dir&&"rtl"==this.dir.value?-1:1)*t)}px)`;this._renderedContentOffset=t,"to-end"===e&&(o+=` translate${a}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=o&&(this._renderedContentTransform=o,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(t,e="auto"){const n={behavior:e};"horizontal"===this.orientation?n.start=t:n.top=t,this.scrollTo(n)}scrollToIndex(t,e="auto"){this._scrollStrategy.scrollToIndex(t,e)}measureScrollOffset(t){return super.measureScrollOffset(t||("horizontal"===this.orientation?"start":"top"))}measureRenderedContentSize(){const t=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?t.offsetWidth:t.offsetHeight}measureRangeSize(t){return this._forOf?this._forOf.measureRangeSize(t,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){const t=this.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?t.clientWidth:t.clientHeight}_markChangeDetectionNeeded(t){t&&this._runAfterChangeDetection.push(t),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this.ngZone.run(()=>this._changeDetectorRef.markForCheck()),this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform;const t=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const e of t)e()}}))();function AP(t,e){if(!e.getBoundingClientRect)return 0;const n=e.getBoundingClientRect();return"horizontal"==t?n.width:n.height}const DP=(()=>(class{constructor(t,e,n,a,o){this._viewContainerRef=t,this._template=e,this._differs=n,this._viewport=a,this.viewChange=new k,this._dataSourceChanges=new k,this.cdkVirtualForTemplateCacheSize=20,this.dataStream=this._dataSourceChanges.pipe(vc(null),t=>t.lift(new uP),Oc(([t,e])=>this._changeDataSource(t,e)),function(t,e,n){let a;return a={bufferSize:1,windowTime:void 0,refCount:!1,scheduler:void 0},t=>t.lift(function({bufferSize:t=Number.POSITIVE_INFINITY,windowTime:e=Number.POSITIVE_INFINITY,refCount:n,scheduler:a}){let o,r,i=0,s=!1,l=!1;return function(c){i++,o&&!s||(s=!1,o=new PP(t,e,a),r=c.subscribe({next(t){o.next(t)},error(t){s=!0,o.error(t)},complete(){l=!0,o.complete()}}));const d=o.subscribe(this);this.add(()=>{i--,d.unsubscribe(),r&&!l&&n&&0===i&&(r.unsubscribe(),r=void 0,o=void 0)})}}(a))}()),this._differ=null,this._templateCache=[],this._needsUpdate=!1,this._destroyed=new k,this.dataStream.subscribe(t=>{this._data=t,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe(lP(this._destroyed)).subscribe(t=>{this._renderedRange=t,o.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(t){this._cdkVirtualForOf=t;const e=function(t){return t&&"function"==typeof t.connect}(t)?t:new yP(t instanceof O?t:Array.prototype.slice.call(t||[]));this._dataSourceChanges.next(e)}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(t){this._needsUpdate=!0,this._cdkVirtualForTrackBy=t?(e,n)=>t(e+(this._renderedRange?this._renderedRange.start:0),n):void 0}set cdkVirtualForTemplate(t){t&&(this._needsUpdate=!0,this._template=t)}measureRangeSize(t,e){if(t.start>=t.end)return 0;if(t.startthis._renderedRange.end)throw Error("Error: attempted to measure an item that isn't rendered.");const n=t.start-this._renderedRange.start;let a=0,o=t.end-t.start;for(;o--;){const t=this._viewContainerRef.get(o+n);let r=t?t.rootNodes.length:0;for(;r--;)a+=AP(e,t.rootNodes[r])}return a}ngDoCheck(){if(this._differ&&this._needsUpdate){const t=this._differ.diff(this._renderedItems);t?this._applyChanges(t):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete();for(let t of this._templateCache)t.destroy()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create(this.cdkVirtualForTrackBy)),this._needsUpdate=!0)}_changeDataSource(t,e){return t&&t.disconnect(this),this._needsUpdate=!0,e?e.connect(this):gs()}_updateContext(){const t=this._data.length;let e=this._viewContainerRef.length;for(;e--;){let n=this._viewContainerRef.get(e);n.context.index=this._renderedRange.start+e,n.context.count=t,this._updateComputedContextProperties(n.context),n.detectChanges()}}_applyChanges(t){t.forEachOperation((t,e,n)=>{if(null==t.previousIndex)this._insertViewForNewItem(n).context.$implicit=t.item;else if(null==n)this._cacheView(this._detachView(e));else{const a=this._viewContainerRef.get(e);this._viewContainerRef.move(a,n),a.context.$implicit=t.item}}),t.forEachIdentityChange(t=>{this._viewContainerRef.get(t.currentIndex).context.$implicit=t.item});const e=this._data.length;let n=this._viewContainerRef.length;for(;n--;){const t=this._viewContainerRef.get(n);t.context.index=this._renderedRange.start+n,t.context.count=e,this._updateComputedContextProperties(t.context)}}_cacheView(t){if(this._templateCache.length(class{}))(),zP=(()=>(class{}))(),LP=20,FP=(()=>{class t{constructor(t,e){this._platform=t,e.runOutsideAngular(()=>{this._change=t.isBrowser?X(qC(window,"resize"),qC(window,"orientationchange")):gs(),this._invalidateCache=this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){this._invalidateCache.unsubscribe()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:n}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+n,right:t.left+e,height:n,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=document.documentElement,e=t.getBoundingClientRect();return{top:-e.top||document.body.scrollTop||window.scrollY||t.scrollTop||0,left:-e.left||document.body.scrollLeft||window.scrollX||t.scrollLeft||0}}change(t=LP){return t>0?this._change.pipe(sP(t)):this._change}_updateViewportSize(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}}}return t.ngInjectableDef=pt({factory:function(){return new t(St(Vg),St(Jo))},token:t,providedIn:"root"}),t})();class VP{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=zg(-this._previousScrollPosition.left),t.style.top=zg(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,e=t.style,n=this._document.body.style,a=e.scrollBehavior||"",o=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),e.scrollBehavior=n.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),e.scrollBehavior=a,n.scrollBehavior=o}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}function BP(){return Error("Scroll strategy has already been attached.")}class HP{constructor(t,e,n,a){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=a,this._scrollSubscription=null,this._detach=(()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())})}attach(t){if(this._overlayRef)throw BP();this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class jP{enable(){}disable(){}attach(){}}function UP(t,e){return e.some(e=>t.bottome.bottom||t.righte.right)}function $P(t,e){return e.some(e=>t.tope.bottom||t.lefte.right)}class qP{constructor(t,e,n,a){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=a,this._scrollSubscription=null}attach(t){if(this._overlayRef)throw BP();this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:n}=this._viewportRuler.getViewportSize();UP(t,[{width:e,height:n,bottom:n,right:e,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}const WP=(()=>{class t{constructor(t,e,n,a){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=(()=>new jP),this.close=(t=>new HP(this._scrollDispatcher,this._ngZone,this._viewportRuler,t)),this.block=(()=>new VP(this._viewportRuler,this._document)),this.reposition=(t=>new qP(this._scrollDispatcher,this._viewportRuler,this._ngZone,t)),this._document=a}}return t.ngInjectableDef=pt({factory:function(){return new t(St(EP),St(FP),St(Jo),St(ol))},token:t,providedIn:"root"}),t})();class YP{constructor(t){this.scrollStrategy=new jP,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t&&Object.keys(t).forEach(e=>{void 0!==t[e]&&(this[e]=t[e])})}}class GP{constructor(t,e,n,a,o){this.offsetX=n,this.offsetY=a,this.panelClass=o,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}const ZP=(()=>(class{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}))();function QP(t,e){if("top"!==e&&"bottom"!==e&&"center"!==e)throw Error(`ConnectedPosition: Invalid ${t} "${e}". `+'Expected "top", "bottom" or "center".')}function KP(t,e){if("start"!==e&&"end"!==e&&"center"!==e)throw Error(`ConnectedPosition: Invalid ${t} "${e}". `+'Expected "start", "end" or "center".')}const XP=(()=>{class t{constructor(t){this._attachedOverlays=[],this._keydownListener=(t=>{const e=this._attachedOverlays;for(let n=e.length-1;n>-1;n--)if(e[n]._keydownEventSubscriptions>0){e[n]._keydownEvents.next(t);break}}),this._document=t}ngOnDestroy(){this._detach()}add(t){this.remove(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0),this._attachedOverlays.push(t)}remove(t){const e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this._detach()}_detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.ngInjectableDef=pt({factory:function(){return new t(St(ol))},token:t,providedIn:"root"}),t})(),JP=(()=>{class t{constructor(t){this._document=t}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t=this._document.createElement("div");t.classList.add("cdk-overlay-container"),this._document.body.appendChild(t),this._containerElement=t}}return t.ngInjectableDef=pt({factory:function(){return new t(St(ol))},token:t,providedIn:"root"}),t})();class tO{constructor(t,e,n,a,o,r,i,s){this._portalOutlet=t,this._host=e,this._pane=n,this._config=a,this._ngZone=o,this._keyboardDispatcher=r,this._document=i,this._location=s,this._backdropElement=null,this._backdropClick=new k,this._attachments=new k,this._detachments=new k,this._locationChanges=m.EMPTY,this._keydownEventsObservable=new O(t=>{const e=this._keydownEvents.subscribe(t);return this._keydownEventSubscriptions++,()=>{e.unsubscribe(),this._keydownEventSubscriptions--}}),this._keydownEvents=new k,this._keydownEventSubscriptions=0,a.scrollStrategy&&(this._scrollStrategy=a.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=a.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){let e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(pc(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&this._location&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick.asObservable()}attachments(){return this._attachments.asObservable()}detachments(){return this._detachments.asObservable()}keydownEvents(){return this._keydownEventsObservable}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=Object.assign({},this._config,t),this._updateElementSize()}setDirection(t){this._config=Object.assign({},this._config,{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){const t=this._pane.style;t.width=zg(this._config.width),t.height=zg(this._config.height),t.minWidth=zg(this._config.minWidth),t.minHeight=zg(this._config.minHeight),t.maxWidth=zg(this._config.maxWidth),t.maxHeight=zg(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"auto":"none"}_attachBackdrop(){this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",t=>this._backdropClick.next(t)),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t,e=this._backdropElement;if(!e)return;let n=()=>{e&&e.parentNode&&e.parentNode.removeChild(e),this._backdropElement==e&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(e,this._config.backdropClass,!1),clearTimeout(t)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",n)}),e.style.pointerEvents="none",t=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(t,e,n){const a=t.classList;Ng(e).forEach(t=>{n?a.add(t):a.remove(t)})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.asObservable().pipe(lP(X(this._attachments,this._detachments))).subscribe(()=>{this._pane&&this._host&&0!==this._pane.children.length||(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._previousHostParent.removeChild(this._host)),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}}const eO="cdk-overlay-connected-position-bounding-box";class nO{constructor(t,e,n,a,o){this._viewportRuler=e,this._document=n,this._platform=a,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new k,this._resizeSubscription=m.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges.asObservable(),this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){if(this._overlayRef&&t!==this._overlayRef)throw Error("This position strategy is already attached to an overlay");this._validatePositions(),t.hostElement.classList.add(eO),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const t=this._originRect,e=this._overlayRect,n=this._viewportRect,a=[];let o;for(let r of this._preferredPositions){let i=this._getOriginPoint(t,r),s=this._getOverlayPoint(i,e,r),l=this._getOverlayFit(s,e,n,r);if(l.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(r,i);this._canFitWithFlexibleDimensions(l,s,n)?a.push({position:r,origin:i,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(i,r)}):(!o||o.overlayFit.visibleAreae&&(e=a,t=n)}return this._isPushed=!1,void this._applyPosition(t.position,t.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(o.position,o.originPoint);this._applyPosition(o.position,o.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&aO(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(eO),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e){let n,a;if("center"==e.originX)n=t.left+t.width/2;else{const a=this._isRtl()?t.right:t.left,o=this._isRtl()?t.left:t.right;n="start"==e.originX?a:o}return{x:n,y:a="center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom}}_getOverlayPoint(t,e,n){let a,o;return a="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,{x:t.x+a,y:t.y+(o="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height)}}_getOverlayFit(t,e,n,a){let{x:o,y:r}=t,i=this._getOffset(a,"x"),s=this._getOffset(a,"y");i&&(o+=i),s&&(r+=s);let l=0-r,c=r+e.height-n.height,d=this._subtractOverflows(e.width,0-o,o+e.width-n.width),u=this._subtractOverflows(e.height,l,c),m=d*u;return{visibleArea:m,isCompletelyWithinViewport:e.width*e.height===m,fitsInViewportVertically:u===e.height,fitsInViewportHorizontally:d==e.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){const a=n.bottom-e.y,o=n.right-e.x,r=this._overlayRef.getConfig().minHeight,i=this._overlayRef.getConfig().minWidth,s=t.fitsInViewportHorizontally||null!=i&&i<=o;return(t.fitsInViewportVertically||null!=r&&r<=a)&&s}}_pushOverlayOnScreen(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const a=this._viewportRect,o=Math.max(t.x+e.width-a.right,0),r=Math.max(t.y+e.height-a.bottom,0),i=Math.max(a.top-n.top-t.y,0),s=Math.max(a.left-n.left-t.x,0);let l=0,c=0;return this._previousPushAmount={x:l=e.width<=a.width?s||-o:t.xa&&!this._isInitialRender&&!this._growAfterOpen&&(r=t.y-a/2)}if("end"===e.overlayX&&!a||"start"===e.overlayX&&a)c=n.right-t.x+this._viewportMargin,s=t.x-n.left;else if("start"===e.overlayX&&!a||"end"===e.overlayX&&a)l=t.x,s=n.right-t.x;else{const e=Math.min(n.right-t.x+n.left,t.x),a=this._lastBoundingBoxSize.width;l=t.x-e,(s=2*e)>a&&!this._isInitialRender&&!this._growAfterOpen&&(l=t.x-a/2)}return{top:r,left:l,bottom:i,right:c,width:s,height:o}}_setBoundingBoxStyles(t,e){const n=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const a={};if(this._hasExactPosition())a.top=a.left="0",a.bottom=a.right="",a.width=a.height="100%";else{const t=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;a.height=zg(n.height),a.top=zg(n.top),a.bottom=zg(n.bottom),a.width=zg(n.width),a.left=zg(n.left),a.right=zg(n.right),a.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",a.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",t&&(a.maxHeight=zg(t)),o&&(a.maxWidth=zg(o))}this._lastBoundingBoxSize=n,aO(this._boundingBox.style,a)}_resetBoundingBoxStyles(){aO(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){aO(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const n={};if(this._hasExactPosition()){const a=this._viewportRuler.getViewportScrollPosition();aO(n,this._getExactOverlayY(e,t,a)),aO(n,this._getExactOverlayX(e,t,a))}else n.position="static";let a="",o=this._getOffset(e,"x"),r=this._getOffset(e,"y");o&&(a+=`translateX(${o}px) `),r&&(a+=`translateY(${r}px)`),n.transform=a.trim(),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxHeight&&(n.maxHeight=""),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxWidth&&(n.maxWidth=""),aO(this._pane.style,n)}_getExactOverlayY(t,e,n){let a={top:null,bottom:null},o=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n));let r=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return o.y-=r,"bottom"===t.overlayY?a.bottom=`${this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)}px`:a.top=zg(o.y),a}_getExactOverlayX(t,e,n){let a,o={left:null,right:null},r=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),"right"==(a=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left")?o.right=`${this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)}px`:o.left=zg(r.x),o}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:$P(t,n),isOriginOutsideView:UP(t,n),isOverlayClipped:$P(e,n),isOverlayOutsideView:UP(e,n)}}_subtractOverflows(t,...e){return e.reduce((t,e)=>t-Math.max(e,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){if(!this._preferredPositions.length)throw Error("FlexibleConnectedPositionStrategy: At least one position is required.");this._preferredPositions.forEach(t=>{KP("originX",t.originX),QP("originY",t.originY),KP("overlayX",t.overlayX),QP("overlayY",t.overlayY)})}_addPanelClasses(t){this._pane&&Ng(t).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;return t instanceof an?t.nativeElement.getBoundingClientRect():t instanceof HTMLElement?t.getBoundingClientRect():{top:t.y,bottom:t.y,left:t.x,right:t.x,height:0,width:0}}}function aO(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}class oO{constructor(t,e,n,a,o,r,i){this._preferredPositions=[],this._positionStrategy=new nO(n,a,o,r,i).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e)}get _isRtl(){return"rtl"===this._overlayRef.getDirection()}get onPositionChange(){return this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(t){this._positionStrategy.withScrollableContainers(t)}withFallbackPosition(t,e,n,a){const o=new GP(t,e,n,a);return this._preferredPositions.push(o),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}withOffsetX(t){return this._positionStrategy.withDefaultOffsetX(t),this}withOffsetY(t){return this._positionStrategy.withDefaultOffsetY(t),this}withLockedPosition(t){return this._positionStrategy.withLockedPosition(t),this}withPositions(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(t){return this._positionStrategy.setOrigin(t),this}}const rO="cdk-global-overlay-wrapper";class iO{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(rO),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._justifyContent="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig();t.position=this._cssPosition,t.marginLeft="100%"===n.width?"0":this._leftOffset,t.marginTop="100%"===n.height?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,"100%"===n.width?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems="100%"===n.height?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove(rO),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}const sO=(()=>{class t{constructor(t,e,n,a){this._viewportRuler=t,this._document=e,this._platform=n,this._overlayContainer=a}global(){return new iO}connectedTo(t,e,n){return new oO(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new nO(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.ngInjectableDef=pt({factory:function(){return new t(St(FP),St(ol),St(Vg),St(JP))},token:t,providedIn:"root"}),t})();let lO=0;const cO=(()=>(class{constructor(t,e,n,a,o,r,i,s,l,c){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=a,this._keyboardDispatcher=o,this._injector=r,this._ngZone=i,this._document=s,this._directionality=l,this._location=c}create(t){const e=this._createHostElement(),n=this._createPaneElement(e),a=this._createPortalOutlet(n),o=new YP(t);return o.direction=o.direction||this._directionality.value,new tO(a,e,n,o,this._ngZone,this._keyboardDispatcher,this._document,this._location)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement("div");return e.id=`cdk-overlay-${lO++}`,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(_r)),new HC(t,this._componentFactoryResolver,this._appRef,this._injector)}}))(),dO=new Tt("cdk-connected-overlay-scroll-strategy");function uO(t){return()=>t.scrollStrategies.reposition()}const mO=(()=>(class{}))();class hO{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}function gO(){throw Error("Attempting to attach dialog content after content is already attached")}const pO=(()=>(class extends BC{constructor(t,e,n,a,o){super(),this._elementRef=t,this._focusTrapFactory=e,this._changeDetectorRef=n,this._document=a,this._config=o,this._elementFocusedBeforeDialogWasOpened=null,this._state="enter",this._animationStateChanged=new wo,this._ariaLabelledBy=o.ariaLabelledBy||null}attachComponentPortal(t){return this._portalOutlet.hasAttached()&&gO(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached()&&gO(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(t)}_trapFocus(){this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)),this._config.autoFocus&&this._focusTrap.focusInitialElementWhenReady()}_restoreFocus(){const t=this._elementFocusedBeforeDialogWasOpened;this._config.restoreFocus&&t&&"function"==typeof t.focus&&t.focus(),this._focusTrap&&this._focusTrap.destroy()}_savePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then(()=>this._elementRef.nativeElement.focus()))}_onAnimationDone(t){"enter"===t.toState?this._trapFocus():"exit"===t.toState&&this._restoreFocus(),this._animationStateChanged.emit(t)}_onAnimationStart(t){this._animationStateChanged.emit(t)}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}))();let fO=0;class bO{constructor(t,e,n,a=`mat-dialog-${fO++}`){this._overlayRef=t,this._containerInstance=e,this.id=a,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new k,this._afterClosed=new k,this._beforeClosed=new k,e._id=a,e._animationStateChanged.pipe(fs(t=>"done"===t.phaseName&&"enter"===t.toState),pc(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(fs(t=>"done"===t.phaseName&&"exit"===t.toState),pc(1)).subscribe(()=>this._overlayRef.dispose()),t.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),t.keydownEvents().pipe(fs(t=>t.keyCode===Qg&&!this.disableClose&&!rp(t))).subscribe(t=>{t.preventDefault(),this.close()})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(fs(t=>"start"===t.phaseName),pc(1)).subscribe(()=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._overlayRef.detachBackdrop()}),this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened.asObservable()}afterClosed(){return this._afterClosed.asObservable()}beforeClosed(){return this._beforeClosed.asObservable()}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(t){let e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(t="",e=""){return this._getPositionStrategy().width(t).height(e),this._overlayRef.updatePosition(),this}addPanelClass(t){return this._overlayRef.addPanelClass(t),this}removePanelClass(t){return this._overlayRef.removePanelClass(t),this}afterOpen(){return this.afterOpened()}beforeClose(){return this.beforeClosed()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}const _O=new Tt("MatDialogData"),CO=new Tt("mat-dialog-default-options"),PO=new Tt("mat-dialog-scroll-strategy");function OO(t){return()=>t.scrollStrategies.block()}const MO=(()=>(class{constructor(t,e,n,a,o,r,i){this._overlay=t,this._injector=e,this._location=n,this._defaultOptions=a,this._parentDialog=r,this._overlayContainer=i,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new k,this._afterOpenedAtThisLevel=new k,this._ariaHiddenElements=new Map,this.afterAllClosed=Kl(()=>this.openDialogs.length?this._afterAllClosed:this._afterAllClosed.pipe(vc(void 0))),this._scrollStrategy=o}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}get afterOpen(){return this.afterOpened}get _afterAllClosed(){const t=this._parentDialog;return t?t._afterAllClosed:this._afterAllClosedAtThisLevel}open(t,e){if((e=function(t,e){return Object.assign({},e,t)}(e,this._defaultOptions||new hO)).id&&this.getDialogById(e.id))throw Error(`Dialog with id "${e.id}" exists already. The dialog id must be unique.`);const n=this._createOverlay(e),a=this._attachDialogContainer(n,e),o=this._attachDialogContent(t,a,n,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(o),o.afterClosed().subscribe(()=>this._removeOpenDialog(o)),this.afterOpened.next(o),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(t){const e=this._getOverlayConfig(t);return this._overlay.create(e)}_getOverlayConfig(t){const e=new YP({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}_attachDialogContainer(t,e){const n=new $C(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[hO,e]])),a=new FC(pO,e.viewContainerRef,n);return t.attach(a).instance}_attachDialogContent(t,e,n,a){const o=new bO(n,e,this._location,a.id);if(a.hasBackdrop&&n.backdropClick().subscribe(()=>{o.disableClose||o.close()}),t instanceof Tn)e.attachTemplatePortal(new VC(t,null,{$implicit:a.data,dialogRef:o}));else{const n=this._createInjector(a,o,e),r=e.attachComponentPortal(new FC(t,void 0,n));o.componentInstance=r.instance}return o.updateSize(a.width,a.height).updatePosition(a.position),o}_createInjector(t,e,n){const a=t&&t.viewContainerRef&&t.viewContainerRef.injector,o=new WeakMap([[pO,n],[_O,t.data],[bO,e]]);return!t.direction||a&&a.get(Ig,null)||o.set(Ig,{value:t.direction,change:gs()}),new $C(a||this._injector,o)}_removeOpenDialog(t){const e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((t,e)=>{t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const e=t.parentElement.children;for(let n=e.length-1;n>-1;n--){let a=e[n];a===t||"SCRIPT"===a.nodeName||"STYLE"===a.nodeName||a.hasAttribute("aria-live")||(this._ariaHiddenElements.set(a,a.getAttribute("aria-hidden")),a.setAttribute("aria-hidden","true"))}}}_closeDialogs(t){let e=t.length;for(;e--;)t[e].close()}}))(),yO=(()=>(class{}))();var vO=Kn({encapsulation:0,styles:[[".setup-icon[_ngcontent-%COMP%]{font-size:40px}"]],data:{}});function xO(t){return ei(0,[(t()(),Fr(0,0,null,null,23,"mat-card",[["class","setup-card mat-card"]],null,null,null,Xp,Kp)),so(1,49152,null,0,kg,[],null,null),(t()(),Fr(2,0,null,0,12,"mat-card-header",[["class","mat-card-header"]],null,null,null,tf,Jp)),so(3,49152,null,0,Sg,[],null,null),(t()(),Fr(4,0,null,0,4,"div",[["class","mat-card-avatar"],["mat-card-avatar",""]],null,null,null,null,null)),so(5,16384,null,0,wg,[],null,null),(t()(),Fr(6,0,null,null,2,"mat-icon",[["aria-hidden","false"],["class","setup-icon mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Mf,Of)),so(7,9158656,null,0,Cf,[an,df,[8,"false"],[2,pf]],null,null),(t()(),Xr(-1,0,["update"])),(t()(),Fr(9,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),so(10,16384,null,0,yg,[],null,null),(t()(),Xr(-1,null,["Setup"])),(t()(),Fr(12,0,null,1,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),so(13,16384,null,0,vg,[],null,null),(t()(),Xr(-1,null,["Step 1"])),(t()(),Fr(15,0,null,0,2,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),so(16,16384,null,0,Mg,[],null,null),(t()(),Xr(-1,null,[" Beat On will now uninstall Beat Saber to prepare for modding process to add custom levels to Beat Saber "])),(t()(),Fr(18,0,null,0,5,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),so(19,16384,null,0,xg,[],null,null),(t()(),Fr(20,0,null,null,3,"button",[["color","accent"],["fast-click",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var a=!0;return"click"===e&&(a=!1!==t.component.clickBegin()&&a),a},SC,kC)),so(21,180224,null,0,wf,[an,vp,[2,xC]],{color:[0,"color"]},null),so(22,16384,null,0,EC,[an],null,null),(t()(),Xr(-1,0,["Uninstall Beat Saber"]))],function(t,e){t(e,7,0),t(e,21,0,"accent")},function(t,e){t(e,6,0,Ga(e,7).inline,"primary"!==Ga(e,7).color&&"accent"!==Ga(e,7).color&&"warn"!==Ga(e,7).color),t(e,18,0,"end"===Ga(e,19).align),t(e,20,0,Ga(e,21).disabled||null,"NoopAnimations"===Ga(e,21)._animationMode)})}function wO(t){return ei(0,[(t()(),Fr(0,0,null,null,1,"app-setup-step1",[],null,null,null,xO,vO)),so(1,114688,null,0,NC,[Ul,MO],null,null)],function(t,e){t(e,1,0)},null)}var kO=La("app-setup-step1",NC,wO,{},{},[]);class SO{constructor(t,e){this.beatOnApi=t,this.dialog=e}ngOnInit(){}clickBegin(){const t=this.dialog.open(og,{width:"450px",height:"350px",disableClose:!0,data:{mainText:"Please wait..."}});this.beatOnApi.installModStep2().subscribe(e=>{t.close()})}}var EO=Kn({encapsulation:0,styles:[[""]],data:{}});function TO(t){return ei(0,[(t()(),Fr(0,0,null,null,23,"mat-card",[["class","setup-card mat-card"]],null,null,null,Xp,Kp)),so(1,49152,null,0,kg,[],null,null),(t()(),Fr(2,0,null,0,12,"mat-card-header",[["class","mat-card-header"]],null,null,null,tf,Jp)),so(3,49152,null,0,Sg,[],null,null),(t()(),Fr(4,0,null,0,4,"div",[["class","mat-card-avatar"],["mat-card-avatar",""]],null,null,null,null,null)),so(5,16384,null,0,wg,[],null,null),(t()(),Fr(6,0,null,null,2,"mat-icon",[["aria-hidden","false"],["class","setup-icon mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Mf,Of)),so(7,9158656,null,0,Cf,[an,df,[8,"false"],[2,pf]],null,null),(t()(),Xr(-1,0,["update"])),(t()(),Fr(9,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),so(10,16384,null,0,yg,[],null,null),(t()(),Xr(-1,null,["Setup"])),(t()(),Fr(12,0,null,1,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),so(13,16384,null,0,vg,[],null,null),(t()(),Xr(-1,null,["Step 2"])),(t()(),Fr(15,0,null,0,2,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),so(16,16384,null,0,Mg,[],null,null),(t()(),Xr(-1,null,[" Beat On will now patch Beat Saber to allow the ability to add custom levels and custom playlists. This also adds the requirement for Beat Saber to have permissions to external storage. "])),(t()(),Fr(18,0,null,0,5,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),so(19,16384,null,0,xg,[],null,null),(t()(),Fr(20,0,null,null,3,"button",[["color","accent"],["fast-click",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var a=!0;return"click"===e&&(a=!1!==t.component.clickBegin()&&a),a},SC,kC)),so(21,180224,null,0,wf,[an,vp,[2,xC]],{color:[0,"color"]},null),so(22,16384,null,0,EC,[an],null,null),(t()(),Xr(-1,0,["Patch Beat Saber"]))],function(t,e){t(e,7,0),t(e,21,0,"accent")},function(t,e){t(e,6,0,Ga(e,7).inline,"primary"!==Ga(e,7).color&&"accent"!==Ga(e,7).color&&"warn"!==Ga(e,7).color),t(e,18,0,"end"===Ga(e,19).align),t(e,20,0,Ga(e,21).disabled||null,"NoopAnimations"===Ga(e,21)._animationMode)})}function IO(t){return ei(0,[(t()(),Fr(0,0,null,null,1,"app-setup-step2",[],null,null,null,TO,EO)),so(1,114688,null,0,SO,[Ul,MO],null,null)],function(t,e){t(e,1,0)},null)}var RO=La("app-setup-step2",SO,IO,{},{},[]);class AO{constructor(t,e,n){this.beatOnApi=t,this.dialog=e,this.router=n}ngOnInit(){}clickBegin(){const t=this.dialog.open(og,{width:"450px",height:"350px",disableClose:!0,data:{mainText:"Please wait..."}});this.beatOnApi.installModStep3().subscribe(e=>{let n;t.close();let a=0,o=()=>{++a>10?this.router.navigateByUrl("/"):this.beatOnApi.getModStatus().subscribe(t=>{"ModInstalled"!=t.CurrentStatus?n=setTimeout(o,5e3):this.router.navigateByUrl("/")})};n=setTimeout(o,5e3)})}}var DO=Kn({encapsulation:0,styles:[[""]],data:{}});function NO(t){return ei(0,[(t()(),Fr(0,0,null,null,33,"mat-card",[["class","setup-card mat-card"]],null,null,null,Xp,Kp)),so(1,49152,null,0,kg,[],null,null),(t()(),Fr(2,0,null,0,12,"mat-card-header",[["class","mat-card-header"]],null,null,null,tf,Jp)),so(3,49152,null,0,Sg,[],null,null),(t()(),Fr(4,0,null,0,4,"div",[["class","mat-card-avatar"],["mat-card-avatar",""]],null,null,null,null,null)),so(5,16384,null,0,wg,[],null,null),(t()(),Fr(6,0,null,null,2,"mat-icon",[["aria-hidden","false"],["class","setup-icon mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Mf,Of)),so(7,9158656,null,0,Cf,[an,df,[8,"false"],[2,pf]],null,null),(t()(),Xr(-1,0,["update"])),(t()(),Fr(9,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),so(10,16384,null,0,yg,[],null,null),(t()(),Xr(-1,null,["Setup"])),(t()(),Fr(12,0,null,1,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),so(13,16384,null,0,vg,[],null,null),(t()(),Xr(-1,null,["Step 3"])),(t()(),Fr(15,0,null,0,12,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),so(16,16384,null,0,Mg,[],null,null),(t()(),Fr(17,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Xr(-1,null,["Beat On will now reinstall modded Beat Saber. Upon launching Beat Saber you will be prompted to allow Beat Saber permissions to access external storage. This will only happen once."])),(t()(),Fr(19,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Xr(-1,null,['If you do not already have untrusted sources enabled, you may be prompted to "allow untrusted sources" and will be directed to the settings page where you will need to turn on the option.'])),(t()(),Fr(21,0,null,null,1,"h2",[["style","color: red"]],null,null,null,null,null)),(t()(),Xr(-1,null,["IMPORTANT"])),(t()(),Fr(23,0,null,null,4,"p",[],null,null,null,null,null)),(t()(),Xr(-1,null,["After installation has completed, choose the "])),(t()(),Fr(25,0,null,null,1,"b",[],null,null,null,null,null)),(t()(),Xr(-1,null,["DONE"])),(t()(),Xr(-1,null,[" button. Do not press the OPEN button, Beat Saber will not launch from here."])),(t()(),Fr(28,0,null,0,5,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),so(29,16384,null,0,xg,[],null,null),(t()(),Fr(30,0,null,null,3,"button",[["color","accent"],["fast-click",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var a=!0;return"click"===e&&(a=!1!==t.component.clickBegin()&&a),a},SC,kC)),so(31,180224,null,0,wf,[an,vp,[2,xC]],{color:[0,"color"]},null),so(32,16384,null,0,EC,[an],null,null),(t()(),Xr(-1,0,["Install Modded Beat Saber"]))],function(t,e){t(e,7,0),t(e,31,0,"accent")},function(t,e){t(e,6,0,Ga(e,7).inline,"primary"!==Ga(e,7).color&&"accent"!==Ga(e,7).color&&"warn"!==Ga(e,7).color),t(e,28,0,"end"===Ga(e,29).align),t(e,30,0,Ga(e,31).disabled||null,"NoopAnimations"===Ga(e,31)._animationMode)})}function zO(t){return ei(0,[(t()(),Fr(0,0,null,null,1,"app-setup-step3",[],null,null,null,NO,DO)),so(1,114688,null,0,AO,[Ul,MO,sh],null,null)],function(t,e){t(e,1,0)},null)}var LO=La("app-setup-step3",AO,zO,{},{},[]);const FO=new Tt("MatInkBarPositioner",{providedIn:"root",factory:function(){return t=>({left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"})}}),VO=(()=>(class{constructor(t,e,n){this._elementRef=t,this._ngZone=e,this._inkBarPositioner=n}alignToElement(t){this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(t))}):this._setStyles(t)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(t){const e=this._inkBarPositioner(t),n=this._elementRef.nativeElement;n.style.left=e.left,n.style.width=e.width}}))();class BO{constructor(t){this._elementRef=t}}const HO=Ip(Tp(BO,"primary")),jO=(()=>(class extends HO{constructor(t,e,n,a,o){super(t),this._dir=e,this._ngZone=n,this._changeDetectorRef=a,this._viewportRuler=o,this._onDestroy=new k}get backgroundColor(){return this._backgroundColor}set backgroundColor(t){const e=this._elementRef.nativeElement;e.classList.remove(`mat-background-${this.backgroundColor}`),t&&e.classList.add(`mat-background-${t}`),this._backgroundColor=t}updateActiveLink(t){this._activeLinkChanged=!!t,this._changeDetectorRef.markForCheck()}ngAfterContentInit(){this._ngZone.runOutsideAngular(()=>X(this._dir?this._dir.change:gs(null),this._viewportRuler.change(10)).pipe(lP(this._onDestroy)).subscribe(()=>this._alignInkBar()))}ngAfterContentChecked(){if(this._activeLinkChanged){const t=this._tabLinks.find(t=>t.active);this._activeLinkElement=t?t._elementRef:null,this._alignInkBar(),this._activeLinkChanged=!1}}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}_alignInkBar(){this._activeLinkElement?(this._inkBar.show(),this._inkBar.alignToElement(this._activeLinkElement.nativeElement)):this._inkBar.hide()}}))();class UO{}const $O=Rp(Ip(Ep(UO))),qO=(()=>(class extends $O{constructor(t,e,n,a,o,r,i){super(),this._tabNavBar=t,this._elementRef=e,this._focusMonitor=i,this._isActive=!1,this._tabLinkRipple=new Wp(this,n,e,a),this._tabLinkRipple.setupTriggerEvents(e.nativeElement),this.rippleConfig=o||{},this.tabIndex=parseInt(r)||0,i.monitor(e)}get active(){return this._isActive}set active(t){t!==this._isActive&&(this._isActive=t,this._tabNavBar.updateActiveLink(this._elementRef))}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}ngOnDestroy(){this._tabLinkRipple._removeTriggerEvents(),this._focusMonitor.stopMonitoring(this._elementRef)}}))(),WO=(()=>(class{}))(),YO=(()=>(class{}))();class GO{constructor(t=!1,e="all",n="",a="",o=0){this.matches=t,this.mediaQuery=e,this.mqAlias=n,this.suffix=a,this.priority=o,this.property=""}clone(){return new GO(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}const ZO=(()=>{class t{constructor(){this.stylesheet=new Map}addStyleToElement(t,e,n){const a=this.stylesheet.get(t);a?a.set(e,n):this.stylesheet.set(t,new Map([[e,n]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(t,e){const n=this.stylesheet.get(t);let a="";if(n){const t=n.get(e);"number"!=typeof t&&"string"!=typeof t||(a=t+"")}return a}}return t.ngInjectableDef=ft({factory:function(){return new t},token:t,providedIn:"root"}),t})(),QO={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},KO=new Tt("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>QO}),XO=new Tt("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),JO=new Tt("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function tM(t,e){return t=t?t.clone():new GO,e&&(t.mqAlias=e.alias,t.mediaQuery=e.mediaQuery,t.suffix=e.suffix,t.priority=e.priority),t}const eM="inline",nM=["row","column","row-reverse","column-reverse"];function aM(t){if(t)switch(t.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":t="wrap-reverse";break;case"no":case"none":case"nowrap":t="nowrap";break;default:t="wrap"}return t}class oM{constructor(t,e,n,a){this.elementRef=t,this.styleBuilder=e,this.styler=n,this.marshal=a,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new k,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(t){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,t,this.marshal.activatedAlias)}ngOnChanges(t){Object.keys(t).forEach(e=>{if(-1!==this.inputs.indexOf(e)){const n=e.split(".").slice(1).join(".");this.setValue(t[e].currentValue,n)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(t=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),t)}addStyles(t,e){const n=this.styleBuilder,a=n.shouldCache;let o=this.styleCache.get(t);o&&a||(o=n.buildStyles(t,e),a&&this.styleCache.set(t,o)),this.mru=Object.assign({},o),this.applyStyleToElement(o),n.sideEffect(t,o,e)}clearStyles(){Object.keys(this.mru).forEach(t=>{this.mru[t]=""}),this.applyStyleToElement(this.mru),this.mru={}}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(t,e=!1){if(t){const[n,a]=this.styler.getFlowDirection(t);if(!a&&e){const e=function(t){let[e,n,a]=function(t){t=t?t.toLowerCase():"";let[e,n,a]=t.split(" ");return nM.find(t=>t===e)||(e=nM[0]),n===eM&&(n=a!==eM?a:"",a=eM),[e,aM(n),!!a]}(t);return function(t,e=null,n=!1){return{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":t,"flex-wrap":e||null}}(e,n,a)}(n);this.styler.applyStyleToElements(e,[t])}return n.trim()}return"row"}applyStyleToElement(t,e,n=this.nativeElement){this.styler.applyStyleToElement(n,t,e)}setValue(t,e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,t,e)}updateWithValue(t){this.addStyles(t)}}const rM=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.99px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.99px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.99px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.99px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.99px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.99px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.99px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.99px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.99px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],iM="(orientation: portrait) and (max-width: 599.99px)",sM="(orientation: portrait) and (min-width: 600px) and (max-width: 839.99px)",lM="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.99px)",cM="(orientation: portrait) and (min-width: 840px)",dM="(orientation: landscape) and (min-width: 1280px)",uM={HANDSET:`${iM}, (orientation: landscape) and (max-width: 959.99px)`,TABLET:`${sM} , ${lM}`,WEB:`${cM}, ${dM} `,HANDSET_PORTRAIT:`${iM}`,TABLET_PORTRAIT:`${sM} `,WEB_PORTRAIT:`${cM}`,HANDSET_LANDSCAPE:"(orientation: landscape) and (max-width: 959.99px)]",TABLET_LANDSCAPE:`${lM}`,WEB_LANDSCAPE:`${dM}`},mM=[{alias:"handset",priority:2e3,mediaQuery:uM.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:uM.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:uM.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:uM.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:uM.TABLET},{alias:"tablet.portrait",priority:2100,mediaQuery:uM.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:uM.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:uM.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:uM.WEB_PORTRAIT,overlapping:!0}],hM=/(\.|-|_)/g;function gM(t){let e=t.length>0?t.charAt(0):"",n=t.length>1?t.slice(1):"";return e.toUpperCase()+n}const pM=new Tt("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const t=Et(JO),e=Et(KO),n=[].concat.apply([],(t||[]).map(t=>Array.isArray(t)?t:[t]));return function(t,e=[]){const n={};return t.forEach(t=>{n[t.alias]=t}),e.forEach(t=>{n[t.alias]?function(t,...e){if(null==t)throw TypeError("Cannot convert undefined or null to object");for(let n of e)if(null!=n)for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e])}(n[t.alias],t):n[t.alias]=t}),(a=Object.keys(n).map(t=>n[t])).forEach(t=>{t.suffix||(t.suffix=function(e){return t.alias.replace(hM,"|").split("|").map(gM).join("")}(),t.overlapping=!!t.overlapping)}),a;var a}((e.disableDefaultBps?[]:rM).concat(e.addOrientationBps?mM:[]),n)}});function fM(t,e){return(e&&e.priority||0)-(t&&t.priority||0)}function bM(t,e){return(t.priority||0)-(e.priority||0)}const _M=(()=>{class t{constructor(t){this.findByMap=new Map,this.items=[...t].sort(bM)}findByAlias(t){return t?this.findWithPredicate(t,e=>e.alias==t):null}findByQuery(t){return this.findWithPredicate(t,e=>e.mediaQuery==t)}get overlappings(){return this.items.filter(t=>1==t.overlapping)}get aliases(){return this.items.map(t=>t.alias)}get suffixes(){return this.items.map(t=>t.suffix?t.suffix:"")}findWithPredicate(t,e){let n=this.findByMap.get(t);return n||(n=this.items.find(e)||null,this.findByMap.set(t,n)),n||null}}return t.ngInjectableDef=ft({factory:function(){return new t(Et(pM))},token:t,providedIn:"root"}),t})(),CM=(()=>{class t{constructor(t,e,n){this._zone=t,this._platformId=e,this._document=n,this.source=new $l(new GO(!0)),this.registry=new Map,this._observable$=this.source.asObservable()}get activations(){const t=[];return this.registry.forEach((e,n)=>{e.matches&&t.push(n)}),t}isActive(t){const e=this.registry.get(t);return!!e&&e.matches}observe(t,e=!1){if(t&&t.length){const n=this._observable$.pipe(fs(n=>!e||t.indexOf(n.mediaQuery)>-1));return X(new O(e=>{const n=this.registerQuery(t);if(n.length){const t=n.pop();n.forEach(t=>{e.next(t)}),this.source.next(t)}e.complete()}),n)}return this._observable$}registerQuery(t){const e=Array.isArray(t)?t:[t],n=[];return function(t,e){const n=t.filter(t=>!PM[t]);if(n.length>0){const t=n.join(", ");try{const o=e.createElement("style");o.setAttribute("type","text/css"),o.styleSheet||o.appendChild(e.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${t} {.fx-query-test{ }}\n`)),e.head.appendChild(o),n.forEach(t=>PM[t]=o)}catch(a){console.error(a)}}}(e,this._document),e.forEach(t=>{let e=this.registry.get(t);e||((e=this.buildMQL(t)).addListener(e=>{this._zone.run(()=>this.source.next(new GO(e.matches,t)))}),this.registry.set(t,e)),e.matches&&n.push(new GO(!0,t))}),n}buildMQL(t){return function(t,e){return e&&window.matchMedia("all").addListener?window.matchMedia(t):{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}(t,sl(this._platformId))}}return t.ngInjectableDef=ft({factory:function(){return new t(Et(Jo),Et(No),Et(ol))},token:t,providedIn:"root"}),t})(),PM={},OM="print",MM={alias:OM,mediaQuery:OM,priority:1e3},yM=(()=>{class t{constructor(t,e){this.breakpoints=t,this.layoutConfig=e,this.isPrinting=!1,this.queue=new vM,this.deactivations=[]}withPrintQuery(t){return[...t,OM]}isPrintEvent(t){return t.mediaQuery.startsWith(OM)}get printAlias(){return this.layoutConfig.printWithBreakpoints||[]}get printBreakPoints(){return this.printAlias.map(t=>this.breakpoints.findByAlias(t)).filter(t=>null!==t)}getEventBreakpoints({mediaQuery:t}){const e=this.breakpoints.findByQuery(t);return(e?[...this.printBreakPoints,e]:this.printBreakPoints).sort(fM)}updateEvent(t){let e=this.breakpoints.findByQuery(t.mediaQuery);return this.isPrintEvent(t)&&(e=this.getEventBreakpoints(t)[0],t.mediaQuery=e?e.mediaQuery:""),tM(t,e)}interceptEvents(t){return e=>{this.isPrintEvent(e)?e.matches&&!this.isPrinting?(this.startPrinting(t,this.getEventBreakpoints(e)),t.updateStyles()):!e.matches&&this.isPrinting&&(this.stopPrinting(t),t.updateStyles()):this.collectActivations(e)}}blockPropagation(){return t=>!(this.isPrinting||this.isPrintEvent(t))}startPrinting(t,e){this.isPrinting=!0,t.activatedBreakpoints=this.queue.addPrintBreakpoints(e)}stopPrinting(t){t.activatedBreakpoints=this.deactivations,this.deactivations=[],this.queue.clear(),this.isPrinting=!1}collectActivations(t){if(!this.isPrinting)if(t.matches)this.deactivations=[];else{const e=this.breakpoints.findByQuery(t.mediaQuery);e&&(this.deactivations.push(e),this.deactivations.sort(fM))}}}return t.ngInjectableDef=ft({factory:function(){return new t(Et(_M),Et(KO))},token:t,providedIn:"root"}),t})();class vM{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(t){return t.push(MM),t.sort(fM),t.forEach(t=>this.addBreakpoint(t)),this.printBreakpoints}addBreakpoint(t){t&&void 0===this.printBreakpoints.find(e=>e.mediaQuery===t.mediaQuery)&&(this.printBreakpoints=function(t){return!!t&&t.mediaQuery.startsWith(OM)}(t)?[t,...this.printBreakpoints]:[...this.printBreakpoints,t])}clear(){this.printBreakpoints=[]}}function xM(t){for(let e in t){let n=t[e]||"";switch(e){case"display":t.display="flex"===n?["-webkit-flex","flex"]:"inline-flex"===n?["-webkit-inline-flex","inline-flex"]:n;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":t["-webkit-"+e]=n;break;case"flex-direction":t["-webkit-flex-direction"]=n=n||"row",t["flex-direction"]=n;break;case"order":t.order=t["-webkit-"+e]=isNaN(+n)?"0":n}}return t}const wM=(()=>{class t{constructor(t,e,n,a){this._serverStylesheet=t,this._serverModuleLoaded=e,this._platformId=n,this.layoutConfig=a}applyStyleToElement(t,e,n=null){let a={};"string"==typeof e&&(a[e]=n,e=a),a=this.layoutConfig.disableVendorPrefixes?e:xM(e),this._applyMultiValueStyleToElement(a,t)}applyStyleToElements(t,e=[]){const n=this.layoutConfig.disableVendorPrefixes?t:xM(t);e.forEach(t=>{this._applyMultiValueStyleToElement(n,t)})}getFlowDirection(t){let e=this.lookupStyle(t,"flex-direction");return[e||"row",this.lookupInlineStyle(t,"flex-direction")||ll(this._platformId)&&this._serverModuleLoaded?e:""]}lookupAttributeValue(t,e){return t.getAttribute(e)||""}lookupInlineStyle(t,e){return sl(this._platformId)?t.style.getPropertyValue(e):this._getServerStyle(t,e)}lookupStyle(t,e,n=!1){let a="";return t&&((a=this.lookupInlineStyle(t,e))||(sl(this._platformId)?n||(a=getComputedStyle(t).getPropertyValue(e)):this._serverModuleLoaded&&(a=this._serverStylesheet.getStyleForElement(t,e)))),a?a.trim():""}_applyMultiValueStyleToElement(t,e){Object.keys(t).sort().forEach(n=>{const a=t[n],o=Array.isArray(a)?a:[a];o.sort();for(let t of o)t=t?t+"":"",sl(this._platformId)||!this._serverModuleLoaded?sl(this._platformId)?e.style.setProperty(n,t):this._setServerStyle(e,n,t):this._serverStylesheet.addStyleToElement(e,n,t)})}_setServerStyle(t,e,n){e=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const a=this._readStyleAttribute(t);a[e]=n||"",this._writeStyleAttribute(t,a)}_getServerStyle(t,e){return this._readStyleAttribute(t)[e]||""}_readStyleAttribute(t){const e={},n=t.getAttribute("style");if(n){const t=n.split(/;+/g);for(let n=0;n0){const t=a.indexOf(":");if(-1===t)throw new Error(`Invalid CSS style: ${a}`);e[a.substr(0,t).trim()]=a.substr(t+1).trim()}}}return e}_writeStyleAttribute(t,e){let n="";for(const a in e)e[a]&&(n+=a+":"+e[a]+";");t.setAttribute("style",n)}}return t.ngInjectableDef=ft({factory:function(){return new t(Et(ZO,8),Et(XO,8),Et(No),Et(KO))},token:t,providedIn:"root"}),t})();class kM{constructor(){this.shouldCache=!0}sideEffect(t,e,n){}}const SM=(()=>{class t{constructor(t,e,n){this.matchMedia=t,this.breakpoints=e,this.hook=n,this.activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new k,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?this.activatedBreakpoints[0].alias:""}onMediaChange(t){const e=this.findByQuery(t.mediaQuery);e&&((t=tM(t,e)).matches&&-1===this.activatedBreakpoints.indexOf(e)?(this.activatedBreakpoints.push(e),this.activatedBreakpoints.sort(fM),this.updateStyles()):t.matches||-1===this.activatedBreakpoints.indexOf(e)||(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(e),1),this.activatedBreakpoints.sort(fM),this.updateStyles()))}init(t,e,n,a,o=[]){EM(this.updateMap,t,e,n),EM(this.clearMap,t,e,a),this.buildElementKeyMap(t,e),this.watchExtraTriggers(t,e,o)}getValue(t,e,n){const a=this.elementMap.get(t);if(a){const t=void 0!==n?a.get(n):this.getActivatedValues(a,e);if(t)return t.get(e)}}hasValue(t,e){const n=this.elementMap.get(t);if(n){const t=this.getActivatedValues(n,e);if(t)return void 0!==t.get(e)||!1}return!1}setValue(t,e,n,a){let o=this.elementMap.get(t);if(o){const r=(o.get(a)||new Map).set(e,n);o.set(a,r),this.elementMap.set(t,o)}else o=(new Map).set(a,(new Map).set(e,n)),this.elementMap.set(t,o);const r=this.getValue(t,e);void 0!==r&&this.updateElement(t,e,r)}trackValue(t,e){return this.subject.asObservable().pipe(fs(n=>n.element===t&&n.key===e))}updateStyles(){this.elementMap.forEach((t,e)=>{const n=new Set(this.elementKeyMap.get(e));let a=this.getActivatedValues(t);a&&a.forEach((t,a)=>{this.updateElement(e,a,t),n.delete(a)}),n.forEach(n=>{if(a=this.getActivatedValues(t,n)){const t=a.get(n);this.updateElement(e,n,t)}else this.clearElement(e,n)})})}clearElement(t,e){const n=this.clearMap.get(t);if(n){const a=n.get(e);a&&(a(),this.subject.next({element:t,key:e,value:""}))}}updateElement(t,e,n){const a=this.updateMap.get(t);if(a){const o=a.get(e);o&&(o(n),this.subject.next({element:t,key:e,value:n}))}}releaseElement(t){const e=this.watcherMap.get(t);e&&(e.forEach(t=>t.unsubscribe()),this.watcherMap.delete(t));const n=this.elementMap.get(t);n&&(n.forEach((t,e)=>n.delete(e)),this.elementMap.delete(t))}triggerUpdate(t,e){const n=this.elementMap.get(t);if(n){const a=this.getActivatedValues(n,e);a&&(e?this.updateElement(t,e,a.get(e)):a.forEach((e,n)=>this.updateElement(t,n,e)))}}buildElementKeyMap(t,e){let n=this.elementKeyMap.get(t);n||(n=new Set,this.elementKeyMap.set(t,n)),n.add(e)}watchExtraTriggers(t,e,n){if(n&&n.length){let a=this.watcherMap.get(t);if(a||(a=new Map,this.watcherMap.set(t,a)),!a.get(e)){const o=X(...n).subscribe(()=>{const n=this.getValue(t,e);this.updateElement(t,e,n)});a.set(e,o)}}}findByQuery(t){return this.breakpoints.findByQuery(t)}getActivatedValues(t,e){for(let a=0;at.mediaQuery);this.matchMedia.observe(this.hook.withPrintQuery(t)).pipe(oc(this.hook.interceptEvents(this)),fs(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return t.ngInjectableDef=ft({factory:function(){return new t(Et(CM),Et(_M),Et(yM))},token:t,providedIn:"root"}),t})();function EM(t,e,n,a){if(void 0!==a){let o=t.get(e);o||(o=new Map,t.set(e,o)),o.set(n,a)}}const TM="inline",IM=["row","column","row-reverse","column-reverse"];function RM(t){if(t)switch(t.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":t="wrap-reverse";break;case"no":case"none":case"nowrap":t="nowrap";break;default:t="wrap"}return t}const AM=(()=>{class t extends kM{buildStyles(t){return function(t){let[e,n,a]=function(t){t=t?t.toLowerCase():"";let[e,n,a]=t.split(" ");return IM.find(t=>t===e)||(e=IM[0]),n===TM&&(n=a!==TM?a:"",a=TM),[e,RM(n),!!a]}(t);return function(t,e=null,n=!1){return{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":t,"flex-wrap":e||null}}(e,n,a)}(t)}}return t.ngInjectableDef=ft({factory:function(){return new t},token:t,providedIn:"root"}),t})(),DM=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"],NM=(()=>(class extends oM{constructor(t,e,n,a){super(t,n,e,a),this.elRef=t,this.styleUtils=e,this.styleBuilder=n,this.marshal=a,this.DIRECTIVE_KEY="layout",this.styleCache=LM,this.init()}}))(),zM=(()=>(class extends NM{constructor(){super(...arguments),this.inputs=DM}}))(),LM=new Map,FM={margin:0,width:"100%",height:"100%","min-width":"100%","min-height":"100%"},VM=(()=>{class t extends kM{buildStyles(t){return FM}}return t.ngInjectableDef=ft({factory:function(){return new t},token:t,providedIn:"root"}),t})(),BM=(()=>(class extends oM{constructor(t,e,n,a){super(t,n,e,a),this.elRef=t,this.styleUtils=e,this.styleBuilder=n,this.marshal=a,this.styleCache=HM,this.addStyles("")}}))(),HM=new Map,jM=(()=>(class{}))(),UM=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.ngInjectableDef=pt({factory:function(){return new t},token:t,providedIn:"root"}),t})(),$M=(()=>{class t{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){const e=Lg(t);return new O(t=>{const n=this._observeElement(e).subscribe(t);return()=>{n.unsubscribe(),this._unobserveElement(e)}})}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const e=new k,n=this._mutationObserverFactory.create(t=>e.next(t));n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:e,stream:n}=this._observedElements.get(t);e&&e.disconnect(),n.complete(),this._observedElements.delete(t)}}}return t.ngInjectableDef=pt({factory:function(){return new t(St(UM))},token:t,providedIn:"root"}),t})(),qM=(()=>(class{constructor(t,e,n){this._contentObserver=t,this._elementRef=e,this._ngZone=n,this.event=new wo,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=Ag(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=Dg(t),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?t.pipe(up(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){this._currentSubscription&&this._currentSubscription.unsubscribe()}}))(),WM=(()=>(class{}))();var YM=Kn({encapsulation:2,styles:[".mat-tab-nav-bar{overflow:hidden;position:relative;flex-shrink:0}.mat-tab-links{position:relative;display:flex}[mat-align-tabs=center] .mat-tab-links{justify-content:center}[mat-align-tabs=end] .mat-tab-links{justify-content:flex-end}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:transparent}.mat-tab-link:focus{outline:0}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}@media (-ms-high-contrast:active){.mat-tab-link:focus{outline:dotted 2px}}.mat-tab-link.mat-tab-disabled{cursor:default}@media (-ms-high-contrast:active){.mat-tab-link.mat-tab-disabled{opacity:.5}}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (-ms-high-contrast:active){.mat-tab-link{opacity:1}}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}@media (max-width:599px){.mat-tab-link{min-width:72px}}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:.5s cubic-bezier(.35,0,.25,1)}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}@media (-ms-high-contrast:active){.mat-ink-bar{outline:solid 2px;height:0}}"],data:{}});function GM(t){return ei(2,[Ur(402653184,1,{_inkBar:0}),(t()(),Fr(1,0,null,null,4,"div",[["class","mat-tab-links"]],null,[[null,"cdkObserveContent"]],function(t,e,n){var a=!0;return"cdkObserveContent"===e&&(a=!1!==t.component._alignInkBar()&&a),a},null,null)),so(2,1196032,null,0,qM,[$M,an,Jo],null,{event:"cdkObserveContent"}),Gr(null,0),(t()(),Fr(4,0,null,null,1,"mat-ink-bar",[["class","mat-ink-bar"]],null,null,null,null,null)),so(5,16384,[[1,4]],0,VO,[an,Jo,FO],null,null)],null,null)}class ZM{constructor(t,e,n,a){this.beatOnApi=t,this.dialog=e,this.router=n,this.configSvc=a,this.activeLinkIndex=-1,this.navLinks=[],this.testHtml=""}tabMouseDown(t){this.activeLinkIndex=t.index}clickStuff(){}ngOnInit(){this.configSvc.refreshConfig();let t=window.isQuestHosted();t?console.log("Hosted in Beat On on the quest, showing browser rather than upload."):console.log("Not hosted on the quest in Beat On, showing upload rather than browser."),this.navLinks.push({label:"Playlists",path:"./playlists",index:0}),this.navLinks.push(t?{label:"Browser",path:"./browser",index:1}:{label:"Upload",path:"./upload",index:1}),this.navLinks.push({label:"Tools",path:"./tools",index:2}),this.navLinks.push({label:"Credits",path:"./credits",index:2})}getState(t){return t.activatedRoute.snapshot.routeConfig.path}}var QM=Kn({encapsulation:0,styles:[["app-main[_ngcontent-%COMP%]{height:100%}.tabNav[_ngcontent-%COMP%]{min-height:48px;height:48px}"]],data:{animation:[{type:7,name:"routerTransition",definitions:[{type:1,expr:"* => playlists",animation:[{type:11,selector:":enter, :leave",animation:{type:6,styles:{position:"fixed",width:"100%"},offset:null},options:{optional:!0}},{type:3,steps:[{type:11,selector:":enter",animation:[{type:6,styles:{transform:"translateX(-100%)"},offset:null},{type:4,styles:{type:6,styles:{transform:"translateX(0%)"},offset:null},timings:"0.5s ease-in-out"}],options:{optional:!0}},{type:11,selector:":leave",animation:[{type:6,styles:{transform:"translateX(0%)"},offset:null},{type:4,styles:{type:6,styles:{transform:"translateX(100%)"},offset:null},timings:"0.5s ease-in-out"}],options:{optional:!0}}],options:null}],options:null},{type:1,expr:"* => browser",animation:[{type:3,steps:[{type:11,selector:":enter, :leave",animation:{type:6,styles:{position:"fixed",width:"100%"},offset:null},options:{optional:!0}},{type:11,selector:":enter",animation:[{type:6,styles:{transform:"translateX(100%)"},offset:null},{type:4,styles:{type:6,styles:{transform:"translateX(0%)"},offset:null},timings:"0.5s ease-in-out"}],options:{optional:!0}},{type:11,selector:":leave",animation:[{type:6,styles:{transform:"translateX(0%)"},offset:null},{type:4,styles:{type:6,styles:{transform:"translateX(-100%)"},offset:null},timings:"0.5s ease-in-out"}],options:{optional:!0}}],options:null}],options:null}],options:{}}]}});function KM(t){return ei(0,[(t()(),Fr(0,0,null,null,7,"a",[["class","mat-tab-link"],["fast-click",""],["mat-tab-link",""],["routerLinkActive",""]],[[1,"target",0],[8,"href",4],[1,"aria-current",0],[1,"aria-disabled",0],[1,"tabIndex",0],[2,"mat-tab-disabled",null],[2,"mat-tab-label-active",null]],[[null,"click"]],function(t,e,n){var a=!0,o=t.component;return"click"===e&&(a=!1!==Ga(t,1).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&a),"click"===e&&(a=!1!==o.clickStuff()&&a),a},null,null)),so(1,671744,[[3,4]],0,ch,[sh,Qu,Os],{routerLink:[0,"routerLink"]},null),so(2,1720320,[["rla",4]],2,uh,[sh,an,cn,[2,lh],[2,ch]],{routerLinkActive:[0,"routerLinkActive"]},null),Ur(603979776,2,{links:1}),Ur(603979776,3,{linksWithHrefs:1}),so(5,147456,[[1,4]],0,qO,[jO,an,Jo,Vg,[2,Yp],[8,null],vp],{active:[0,"active"]},null),so(6,16384,null,0,EC,[an],null,null),(t()(),Xr(7,null,[" "," "]))],function(t,e){t(e,1,0,e.context.$implicit.path),t(e,2,0,""),t(e,5,0,Ga(e,2).isActive)},function(t,e){t(e,0,0,Ga(e,1).target,Ga(e,1).href,Ga(e,5).active,Ga(e,5).disabled.toString(),Ga(e,5).tabIndex,Ga(e,5).disabled,Ga(e,5).active),t(e,7,0,e.context.$implicit.label)})}function XM(t){return ei(0,[(t()(),Fr(0,0,null,null,12,"div",[["fxLayout","column"],["style","height: 100%"]],null,null,null,null,null)),so(1,671744,null,0,zM,[an,wM,[2,AM],SM],{fxLayout:[0,"fxLayout"]},null),(t()(),Fr(2,0,null,null,5,"nav",[["class","tabNav mat-tab-nav-bar"],["fxLayout","row"],["mat-tab-nav-bar",""]],null,null,null,GM,YM)),so(3,3325952,null,1,jO,[an,[2,Ig],Jo,xn,FP],null,null),Ur(603979776,1,{_tabLinks:1}),so(5,671744,null,0,zM,[an,wM,[2,AM],SM],{fxLayout:[0,"fxLayout"]},null),(t()(),Lr(16777216,null,0,1,null,KM)),so(7,278528,null,0,Bs,[Rn,Tn,yn],{ngForOf:[0,"ngForOf"]},null),(t()(),Fr(8,0,null,null,4,"div",[["class","fullheight"],["fxLayout","column"],["id","mainContentDiv"]],[[24,"@routerTransition",0]],null,null,null,null)),so(9,671744,null,0,zM,[an,wM,[2,AM],SM],{fxLayout:[0,"fxLayout"]},null),(t()(),Fr(10,16777216,null,null,2,"router-outlet",[["fxLayout","column"]],null,null,null,null,null)),so(11,212992,[["o",4]],0,gh,[hh,Rn,Ke,[8,null],xn],null,null),so(12,671744,null,0,zM,[an,wM,[2,AM],SM],{fxLayout:[0,"fxLayout"]},null)],function(t,e){var n=e.component;t(e,1,0,"column"),t(e,5,0,"row"),t(e,7,0,n.navLinks),t(e,9,0,"column"),t(e,11,0),t(e,12,0,"column")},function(t,e){t(e,8,0,e.component.getState(Ga(e,11)))})}function JM(t){return ei(0,[(t()(),Fr(0,0,null,null,1,"app-main",[["class","fullheight"]],null,null,null,XM,QM)),so(1,114688,null,0,ZM,[Ul,MO,sh,ng],null,null)],function(t,e){t(e,1,0)},null)}var ty=La("app-main",ZM,JM,{},{},[]);function ey(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function ny(t,e){const n=e?"":"none";ey(t.style,{touchAction:e?"":"none",webkitUserDrag:e?"":"none",webkitTapHighlightColor:e?"":"transparent",userSelect:n,msUserSelect:n,webkitUserSelect:n,MozUserSelect:n})}function ay(t){const e=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*e}function oy(t,e){return t.getPropertyValue(e).split(",").map(t=>t.trim())}const ry=qg({passive:!0}),iy=qg({passive:!1}),sy=800;class ly{constructor(t,e,n,a,o,r){this._config=e,this._document=n,this._ngZone=a,this._viewportRuler=o,this._dragDropRegistry=r,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._moveEvents=new k,this._pointerMoveSubscription=m.EMPTY,this._pointerUpSubscription=m.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new k,this.started=new k,this.released=new k,this.ended=new k,this.entered=new k,this.exited=new k,this.dropped=new k,this.moved=this._moveEvents.asObservable(),this._pointerDown=(t=>{if(this.beforeStarted.next(),this._handles.length){const e=this._handles.find(e=>{const n=t.target;return!!n&&(n===e||e.contains(n))});!e||this._disabledHandles.has(e)||this.disabled||this._initializeDragSequence(e,t)}else this.disabled||this._initializeDragSequence(this._rootElement,t)}),this._pointerMove=(t=>{if(!this._hasStartedDragging){const e=this._getPointerPositionOnPage(t);return void(Math.abs(e.x-this._pickupPositionOnPage.x)+Math.abs(e.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold&&Date.now()>=this._dragStartTime+(this.dragStartDelay||0)&&(this._dropContainer&&this._dropContainer.isDragging()||(this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(t)))))}this._boundaryElement&&(this._previewRect&&(this._previewRect.width||this._previewRect.height)||(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()));const e=this._getConstrainedPointerPosition(t);if(this._hasMoved=!0,t.preventDefault(),this._updatePointerDirectionDelta(e),this._dropContainer)this._updateActiveDropContainer(e);else{const t=this._activeTransform;t.x=e.x-this._pickupPositionOnPage.x+this._passiveTransform.x,t.y=e.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(t.x,t.y),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&this._rootElement.setAttribute("transform",`translate(${t.x} ${t.y})`)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:e,event:t,distance:this._getDragDistance(e),delta:this._pointerDirectionDelta})})}),this._pointerUp=(t=>{if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging)){if(this.released.next({source:this}),!this._dropContainer)return this._passiveTransform.x=this._activeTransform.x,this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(this._getPointerPositionOnPage(t))})}),void this._dragDropRegistry.stopDragging(this);this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(t),this._dragDropRegistry.stopDragging(this)})}}),this.withRootElement(t),r.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(t){const e=Ag(t);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions())}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}withHandles(t){return this._handles=t.map(t=>Lg(t)),this._handles.forEach(t=>ny(t,!1)),this._toggleNativeDragInteractions(),this}withPreviewTemplate(t){return this._previewTemplate=t,this}withPlaceholderTemplate(t){return this._placeholderTemplate=t,this}withRootElement(t){const e=Lg(t);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),e.addEventListener("mousedown",this._pointerDown,iy),e.addEventListener("touchstart",this._pointerDown,ry),this._initialTransform=void 0,this._rootElement=e),this}withBoundaryElement(t){return this._boundaryElement=t?Lg(t):null,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&my(this._rootElement),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._boundaryElement=this._rootElement=this._placeholderTemplate=this._previewTemplate=this._nextSibling=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(t){this._handles.indexOf(t)>-1&&this._disabledHandles.add(t)}enableHandle(t){this._disabledHandles.delete(t)}withDirection(t){return this._direction=t,this}_withDropContainer(t){this._dropContainer=t}getFreeDragPosition(){return{x:this._passiveTransform.x,y:this._passiveTransform.y}}setFreeDragPosition(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe()}_destroyPreview(){this._preview&&my(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder&&my(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}_startDragSequence(t){if(this.started.next({source:this}),hy(t)&&(this._lastTouchEventTime=Date.now()),this._dropContainer){const t=this._rootElement;this._nextSibling=t.nextSibling;const n=this._preview=this._createPreviewElement(),a=this._placeholder=this._createPlaceholderElement();t.style.display="none",this._document.body.appendChild(t.parentNode.replaceChild(a,t)),(e=this._document,e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement||e.body).appendChild(n),this._dropContainer.start()}var e}_initializeDragSequence(t,e){e.stopPropagation();const n=this.isDragging(),a=hy(e),o=!a&&0!==e.button,r=this._rootElement,i=!a&&this._lastTouchEventTime&&this._lastTouchEventTime+sy>Date.now();if(e.target&&e.target.draggable&&"mousedown"===e.type&&e.preventDefault(),n||o||i)return;this._handles.length&&(this._rootElementTapHighlight=r.style.webkitTapHighlightColor,r.style.webkitTapHighlightColor="transparent"),this._toggleNativeDragInteractions(),this._hasStartedDragging=this._hasMoved=!1,this._initialContainer=this._dropContainer,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollPosition=this._viewportRuler.getViewportScrollPosition(),this._boundaryElement&&(this._boundaryRect=this._boundaryElement.getBoundingClientRect()),this._pickupPositionInElement=this._previewTemplate&&this._previewTemplate.template?{x:0,y:0}:this._getPointerPositionInElement(t,e);const s=this._pickupPositionOnPage=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:s.x,y:s.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(t){this._rootElement.style.display="",this._nextSibling?this._nextSibling.parentNode.insertBefore(this._rootElement,this._nextSibling):Lg(this._initialContainer.element).appendChild(this._rootElement),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=void 0,this._ngZone.run(()=>{const e=this._dropContainer,n=e.getItemIndex(this),a=this._getPointerPositionOnPage(t),o=this._getDragDistance(this._getPointerPositionOnPage(t)),r=e._isOverContainer(a.x,a.y);this.ended.next({source:this,distance:o}),this.dropped.next({item:this,currentIndex:n,previousIndex:this._initialContainer.getItemIndex(this),container:e,previousContainer:this._initialContainer,isPointerOverContainer:r,distance:o}),e.drop(this,n,this._initialContainer,r,o),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:t,y:e}){let n=this._initialContainer._getSiblingContainerFromPosition(this,t,e);!n&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,e)&&(n=this._initialContainer),n&&n!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=n,this._dropContainer.enter(this,t,e),this.entered.next({item:this,container:n,currentIndex:n.getItemIndex(this)})}),this._dropContainer._sortItem(this,t,e,this._pointerDirectionDelta),this._preview.style.transform=cy(t-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y)}_createPreviewElement(){const t=this._previewTemplate,e=t?t.template:null;let n;if(e){const a=t.viewContainer.createEmbeddedView(e,t.context);n=a.rootNodes[0],this._previewRef=a,n.style.transform=cy(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const t=this._rootElement,e=t.getBoundingClientRect();(n=dy(t)).style.width=`${e.width}px`,n.style.height=`${e.height}px`,n.style.transform=cy(e.left,e.top)}return ey(n.style,{pointerEvents:"none",position:"fixed",top:"0",left:"0",zIndex:"1000"}),ny(n,!1),n.classList.add("cdk-drag-preview"),n.setAttribute("dir",this._direction),n}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const t=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._preview.style.transform=cy(t.left,t.top);const e=function(t){const e=getComputedStyle(t),n=oy(e,"transition-property"),a=n.find(t=>"transform"===t||"all"===t);if(!a)return 0;const o=n.indexOf(a),r=oy(e,"transition-duration"),i=oy(e,"transition-delay");return ay(r[o])+ay(i[o])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const n=e=>{(!e||e.target===this._preview&&"transform"===e.propertyName)&&(this._preview.removeEventListener("transitionend",n),t(),clearTimeout(a))},a=setTimeout(n,1.5*e);this._preview.addEventListener("transitionend",n)}))}_createPlaceholderElement(){const t=this._placeholderTemplate,e=t?t.template:null;let n;return e?(this._placeholderRef=t.viewContainer.createEmbeddedView(e,t.context),n=this._placeholderRef.rootNodes[0]):n=dy(this._rootElement),n.classList.add("cdk-drag-placeholder"),n}_getPointerPositionInElement(t,e){const n=this._rootElement.getBoundingClientRect(),a=t===this._rootElement?null:t,o=a?a.getBoundingClientRect():n,r=hy(e)?e.targetTouches[0]:e;return{x:o.left-n.left+(r.pageX-o.left-this._scrollPosition.left),y:o.top-n.top+(r.pageY-o.top-this._scrollPosition.top)}}_getPointerPositionOnPage(t){const e=hy(t)?t.touches[0]||t.changedTouches[0]:t;return{x:e.pageX-this._scrollPosition.left,y:e.pageY-this._scrollPosition.top}}_getConstrainedPointerPosition(t){const e=this._getPointerPositionOnPage(t),n=this.constrainPosition?this.constrainPosition(e):e,a=this._dropContainer?this._dropContainer.lockAxis:null;if("x"===this.lockAxis||"x"===a?n.y=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==a||(n.x=this._pickupPositionOnPage.x),this._boundaryRect){const{x:t,y:e}=this._pickupPositionInElement,a=this._boundaryRect,o=this._previewRect,r=a.top+e,i=a.bottom-(o.height-e);n.x=uy(n.x,a.left+t,a.right-(o.width-t)),n.y=uy(n.y,r,i)}return n}_updatePointerDirectionDelta(t){const{x:e,y:n}=t,a=this._pointerDirectionDelta,o=this._pointerPositionAtLastDirectionChange,r=Math.abs(e-o.x),i=Math.abs(n-o.y);return r>this._config.pointerDirectionChangeThreshold&&(a.x=e>o.x?1:-1,o.x=e),i>this._config.pointerDirectionChangeThreshold&&(a.y=n>o.y?1:-1,o.y=n),a}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const t=this.disabled||this._handles.length>0;t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,ny(this._rootElement,t))}_removeRootElementListeners(t){t.removeEventListener("mousedown",this._pointerDown,iy),t.removeEventListener("touchstart",this._pointerDown,ry)}_applyRootElementTransform(t,e){const n=cy(t,e);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=this._initialTransform?n+" "+this._initialTransform:n}_getDragDistance(t){const e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}}}function cy(t,e){return`translate3d(${Math.round(t)}px, ${Math.round(e)}px, 0)`}function dy(t){const e=t.cloneNode(!0),n=e.querySelectorAll("[id]"),a=t.querySelectorAll("canvas");e.removeAttribute("id");for(let o=0;o!0),this.beforeStarted=new k,this.entered=new k,this.exited=new k,this.dropped=new k,this.sorted=new k,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0},this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",e.registerDropContainer(this),this._document=n,this.element=t instanceof an?t.nativeElement:t}dispose(){this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this.beforeStarted.next(),this._isDragging=!0,this._cacheItems(),this._siblings.forEach(t=>t._startReceiving(this))}enter(t,e,n){this.start();let a=this.sortingDisabled?this._draggables.indexOf(t):-1;-1===a&&(a=this._getItemIndexFromPointerPosition(t,e,n));const o=this._activeDraggables,r=o.indexOf(t),i=t.getPlaceholderElement();let s=o[a];if(s===t&&(s=o[a+1]),r>-1&&o.splice(r,1),s&&!this._dragDropRegistry.isDragging(s)){const e=s.getRootElement();e.parentElement.insertBefore(i,e),o.splice(a,0,t)}else Lg(this.element).appendChild(i),o.push(t);i.style.transform="",this._cacheItemPositions(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}exit(t){this._reset(),this.exited.next({item:t,container:this})}drop(t,e,n,a,o={x:0,y:0}){this._reset(),this.dropped.next({item:t,currentIndex:e,previousIndex:n.getItemIndex(t),container:this,previousContainer:n,isPointerOverContainer:a,distance:o})}withItems(t){return this._draggables=t,t.forEach(t=>t._withDropContainer(this)),this.isDragging()&&this._cacheItems(),this}withDirection(t){return this._direction=t,this}connectedTo(t){return this._siblings=t.slice(),this}withOrientation(t){return this._orientation=t,this}getItemIndex(t){return this._isDragging?Cy("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,e=>e.drag===t):this._draggables.indexOf(t)}isReceiving(){return this._activeSiblings.size>0}_sortItem(t,e,n,a){if(this.sortingDisabled||!this._isPointerNearDropContainer(e,n))return;const o=this._itemPositions,r=this._getItemIndexFromPointerPosition(t,e,n,a);if(-1===r&&o.length>0)return;const i="horizontal"===this._orientation,s=Cy(o,e=>e.drag===t),l=o[r],c=o[s].clientRect,d=l.clientRect,u=s>r?1:-1;this._previousSwap.drag=l.drag,this._previousSwap.delta=i?a.x:a.y;const m=this._getItemOffsetPx(c,d,u),h=this._getSiblingOffsetPx(s,o,u),g=o.slice();!function(t,e,n){const a=gy(s,t.length-1),o=gy(n,t.length-1);if(a===o)return;const r=t[a],i=o{if(g[n]===e)return;const a=e.drag===t,o=a?m:h,r=a?t.getPlaceholderElement():e.drag.getRootElement();e.offset+=o,i?(r.style.transform=`translate3d(${Math.round(e.offset)}px, 0, 0)`,_y(e.clientRect,0,o)):(r.style.transform=`translate3d(0, ${Math.round(e.offset)}px, 0)`,_y(e.clientRect,o,0))})}_cacheOwnPosition(){this._clientRect=Lg(this.element).getBoundingClientRect()}_cacheItemPositions(){const t="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(t=>{const e=(this._dragDropRegistry.isDragging(t)?t.getPlaceholderElement():t.getRootElement()).getBoundingClientRect();return{drag:t,offset:0,clientRect:{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}}}).sort((e,n)=>t?e.clientRect.left-n.clientRect.left:e.clientRect.top-n.clientRect.top)}_reset(){this._isDragging=!1,this._activeDraggables.forEach(t=>t.getRootElement().style.transform=""),this._siblings.forEach(t=>t._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0}_getSiblingOffsetPx(t,e,n){const a="horizontal"===this._orientation,o=e[t].clientRect,r=e[t+-1*n];let i=o[a?"width":"height"]*n;if(r){const t=a?"left":"top",e=a?"right":"bottom";-1===n?i-=r.clientRect[t]-o[e]:i+=o[t]-r.clientRect[e]}return i}_isPointerNearDropContainer(t,e){const{top:n,right:a,bottom:o,left:r,width:i,height:s}=this._clientRect,l=i*fy,c=s*fy;return e>n-c&&er-l&&t{if(r===t)return l.length<2;if(a){const t=o?a.x:a.y;if(r===this._previousSwap.drag&&t===this._previousSwap.delta)return!1}return o?e>=Math.floor(i.left)&&e<=Math.floor(i.right):n>=Math.floor(i.top)&&n<=Math.floor(i.bottom)})}_cacheItems(){this._activeDraggables=this._draggables.slice(),this._cacheItemPositions(),this._cacheOwnPosition()}_isOverContainer(t,e){return Py(this._clientRect,t,e)}_getSiblingContainerFromPosition(t,e,n){return this._siblings.find(a=>a._canReceive(t,e,n))}_canReceive(t,e,n){if(!this.enterPredicate(t,this)||!Py(this._clientRect,e,n))return!1;const a=this._document.elementFromPoint(e,n);if(!a)return!1;const o=Lg(this.element);return a===o||o.contains(a)}_startReceiving(t){const e=this._activeSiblings;e.has(t)||(e.add(t),this._cacheOwnPosition())}_stopReceiving(t){this._activeSiblings.delete(t)}}function _y(t,e,n){t.top+=e,t.bottom=t.top+t.height,t.left+=n,t.right=t.left+t.width}function Cy(t,e){for(let n=0;n=a&&n<=o&&e>=r&&e<=i}const Oy=qg({passive:!1,capture:!0}),My=(()=>{class t{constructor(t,e){this._ngZone=t,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=new Set,this._globalListeners=new Map,this.pointerMove=new k,this.pointerUp=new k,this._preventDefaultWhileDragging=(t=>{this._activeDragInstances.size&&t.preventDefault()}),this._document=e}registerDropContainer(t){if(!this._dropInstances.has(t)){if(this.getDropContainer(t.id))throw Error(`Drop instance with id "${t.id}" has already been registered.`);this._dropInstances.add(t)}}registerDragItem(t){this._dragInstances.add(t),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._preventDefaultWhileDragging,Oy)})}removeDropContainer(t){this._dropInstances.delete(t)}removeDragItem(t){this._dragInstances.delete(t),this.stopDragging(t),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._preventDefaultWhileDragging,Oy)}startDragging(t,e){if(!this._activeDragInstances.has(t)&&(this._activeDragInstances.add(t),1===this._activeDragInstances.size)){const t=e.type.startsWith("touch"),n=t?"touchend":"mouseup";this._globalListeners.set(t?"touchmove":"mousemove",{handler:t=>this.pointerMove.next(t),options:Oy}).set(n,{handler:t=>this.pointerUp.next(t),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:Oy}),t||this._globalListeners.set("wheel",{handler:this._preventDefaultWhileDragging,options:Oy}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((t,e)=>{this._document.addEventListener(e,t.handler,t.options)})})}}stopDragging(t){this._activeDragInstances.delete(t),0===this._activeDragInstances.size&&this._clearGlobalListeners()}isDragging(t){return this._activeDragInstances.has(t)}getDropContainer(t){return Array.from(this._dropInstances).find(e=>e.id===t)}ngOnDestroy(){this._dragInstances.forEach(t=>this.removeDragItem(t)),this._dropInstances.forEach(t=>this.removeDropContainer(t)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((t,e)=>{this._document.removeEventListener(e,t.handler,t.options)}),this._globalListeners.clear()}}return t.ngInjectableDef=pt({factory:function(){return new t(St(Jo),St(ol))},token:t,providedIn:"root"}),t})(),yy={dragStartThreshold:5,pointerDirectionChangeThreshold:5},vy=(()=>{class t{constructor(t,e,n,a){this._document=t,this._ngZone=e,this._viewportRuler=n,this._dragDropRegistry=a}createDrag(t,e=yy){return new ly(t,e,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(t){return new by(t,this._dragDropRegistry,this._document)}}return t.ngInjectableDef=pt({factory:function(){return new t(St(ol),St(Jo),St(FP),St(My))},token:t,providedIn:"root"}),t})(),xy=new Tt("CDK_DROP_LIST"),wy=new Tt("CDK_DRAG_PARENT"),ky=(()=>(class{constructor(t,e){this.element=t,this._stateChanges=new k,this._disabled=!1,this._parentDrag=e,ny(t.nativeElement,!1)}get disabled(){return this._disabled}set disabled(t){this._disabled=Ag(t),this._stateChanges.next(this)}ngOnDestroy(){this._stateChanges.complete()}}))(),Sy=new Tt("CDK_DRAG_CONFIG",{providedIn:"root",factory:function(){return{dragStartThreshold:5,pointerDirectionChangeThreshold:5}}}),Ey=(()=>(class{constructor(t,e,n,a,o,r,i,s,l){this.element=t,this.dropContainer=e,this._document=n,this._ngZone=a,this._viewContainerRef=o,this._dir=i,this._changeDetectorRef=l,this._destroyed=new k,this.dragStartDelay=0,this._disabled=!1,this.started=new wo,this.released=new wo,this.ended=new wo,this.entered=new wo,this.exited=new wo,this.dropped=new wo,this.moved=new O(t=>{const e=this._dragRef.moved.pipe(j(t=>({source:this,pointerPosition:t.pointerPosition,event:t.event,delta:t.delta,distance:t.distance}))).subscribe(t);return()=>{e.unsubscribe()}}),this._dragRef=s.createDrag(t,r),this._dragRef.data=this,this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get boundaryElementSelector(){return"string"==typeof this.boundaryElement?this.boundaryElement:void 0}set boundaryElementSelector(t){this.boundaryElement=t}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(t){this._disabled=Ag(t),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}ngAfterViewInit(){this._ngZone.onStable.asObservable().pipe(pc(1),lP(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._handles.changes.pipe(vc(this._handles),oc(t=>{const e=t.filter(t=>t._parentDrag===this).map(t=>t.element);this._dragRef.withHandles(e)}),Oc(t=>X(...t.map(t=>t._stateChanges))),lP(this._destroyed)).subscribe(t=>{const e=this._dragRef,n=t.element.nativeElement;t.disabled?e.disableHandle(n):e.enableHandle(n)}),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})}ngOnChanges(t){const e=t.rootElementSelector,n=t.freeDragPosition;e&&!e.firstChange&&this._updateRootElement(),n&&!n.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()}_updateRootElement(){const t=this.element.nativeElement,e=this.rootElementSelector?Ty(t,this.rootElementSelector):t;if(e&&e.nodeType!==this._document.ELEMENT_NODE)throw Error("cdkDrag must be attached to an element node. "+`Currently attached to "${e.nodeName}".`);this._dragRef.withRootElement(e||t)}_getBoundaryElement(){const t=this.boundaryElement;if(!t)return null;if("string"==typeof t)return Ty(this.element.nativeElement,t);const e=Lg(t);if(se()&&!e.contains(this.element.nativeElement))throw Error("Draggable element is not inside of the node passed into cdkDragBoundary.");return e}_syncInputs(t){t.beforeStarted.subscribe(()=>{if(!t.isDragging()){const e=this._dir,n=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,a=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,viewContainer:this._viewContainerRef}:null;t.disabled=this.disabled,t.lockAxis=this.lockAxis,t.dragStartDelay=Dg(this.dragStartDelay),t.constrainPosition=this.constrainPosition,t.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(n).withPreviewTemplate(a),e&&t.withDirection(e.value)}})}_handleEvents(t){t.started.subscribe(()=>{this.started.emit({source:this}),this._changeDetectorRef.markForCheck()}),t.released.subscribe(()=>{this.released.emit({source:this})}),t.ended.subscribe(t=>{this.ended.emit({source:this,distance:t.distance}),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(t=>{this.entered.emit({container:t.container.data,item:this,currentIndex:t.currentIndex})}),t.exited.subscribe(t=>{this.exited.emit({container:t.container.data,item:this})}),t.dropped.subscribe(t=>{this.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,isPointerOverContainer:t.isPointerOverContainer,item:this,distance:t.distance})})}}))();function Ty(t,e){let n=t.parentElement;for(;n;){if(n.matches?n.matches(e):n.msMatchesSelector(e))return n;n=n.parentElement}return null}const Iy=(()=>(class{constructor(){this._items=new Set,this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=Ag(t)}ngOnDestroy(){this._items.clear()}}))();let Ry=0;const Ay=(()=>{class t{constructor(e,n,a,o,r){this.element=e,this._changeDetectorRef=a,this._dir=o,this._group=r,this._destroyed=new k,this.connectedTo=[],this.orientation="vertical",this.id=`cdk-drop-list-${Ry++}`,this._disabled=!1,this._sortingDisabled=!1,this.enterPredicate=(()=>!0),this.dropped=new wo,this.entered=new wo,this.exited=new wo,this.sorted=new wo,this._dropListRef=n.createDropList(e),this._dropListRef.data=this,this._dropListRef.enterPredicate=((t,e)=>this.enterPredicate(t.data,e.data)),this._syncInputs(this._dropListRef),this._handleEvents(this._dropListRef),t._dropLists.push(this),r&&r._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(t){this._disabled=Ag(t)}get sortingDisabled(){return this._sortingDisabled}set sortingDisabled(t){this._sortingDisabled=Ag(t)}ngAfterContentInit(){this._draggables.changes.pipe(vc(this._draggables),lP(this._destroyed)).subscribe(t=>{this._dropListRef.withItems(t.map(t=>t._dragRef))})}ngOnDestroy(){const e=t._dropLists.indexOf(this);e>-1&&t._dropLists.splice(e,1),this._group&&this._group._items.delete(this),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}start(){this._dropListRef.start()}drop(t,e,n,a){this._dropListRef.drop(t._dragRef,e,n._dropListRef,a)}enter(t,e,n){this._dropListRef.enter(t._dragRef,e,n)}exit(t){this._dropListRef.exit(t._dragRef)}getItemIndex(t){return this._dropListRef.getItemIndex(t._dragRef)}_sortItem(t,e,n,a){return this._dropListRef._sortItem(t._dragRef,e,n,a)}_getSiblingContainerFromPosition(t,e,n){const a=this._dropListRef._getSiblingContainerFromPosition(t._dragRef,e,n);return a?a.data:null}_isOverContainer(t,e){return this._dropListRef._isOverContainer(t,e)}_syncInputs(e){this._dir&&this._dir.change.pipe(vc(this._dir.value),lP(this._destroyed)).subscribe(t=>e.withDirection(t)),e.beforeStarted.subscribe(()=>{const n=Ng(this.connectedTo).map(e=>"string"==typeof e?t._dropLists.find(t=>t.id===e):e);this._group&&this._group._items.forEach(t=>{-1===n.indexOf(t)&&n.push(t)}),e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.sortingDisabled=this.sortingDisabled,e.connectedTo(n.filter(t=>t&&t!==this).map(t=>t._dropListRef)).withOrientation(this.orientation)})}_handleEvents(t){t.beforeStarted.subscribe(()=>{this._changeDetectorRef.markForCheck()}),t.entered.subscribe(t=>{this.entered.emit({container:this,item:t.item.data,currentIndex:t.currentIndex})}),t.exited.subscribe(t=>{this.exited.emit({container:this,item:t.item.data}),this._changeDetectorRef.markForCheck()}),t.sorted.subscribe(t=>{this.sorted.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,container:this,item:t.item.data})}),t.dropped.subscribe(t=>{this.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,item:t.item.data,isPointerOverContainer:t.isPointerOverContainer,distance:t.distance}),this._changeDetectorRef.markForCheck()})}}return t._dropLists=[],t})(),Dy=(()=>(class{}))();function Ny(t){const{subscriber:e,counter:n,period:a}=t;e.next(n),this.schedule({subscriber:e,counter:n+1,period:a},a)}function zy(t){return e=>e.lift(new Ly(t))}class Ly{constructor(t){this.value=t}call(t,e){return e.subscribe(new Fy(t,this.value))}}class Fy extends p{constructor(t,e){super(t),this.value=e}_next(t){this.destination.next(this.value)}}class Vy{}class By{}class Hy{constructor(t=0,e=0,n=0,a=0,o=0){this.xs=t,this.sm=e,this.md=n,this.lg=a,this.all=o}}class jy{constructor(t){this.$implicit=t}}const Uy=(()=>(class{}))(),$y=(()=>(class{}))(),qy=(()=>(class{}))(),Wy=(()=>(class{constructor(t){this.template=t}}))(),Yy=(()=>(class{constructor(t){this.viewContainer=t}}))(),Gy=(()=>(class extends class{constructor(t=new By,e=new Vy,n,a=new Hy,o,r,i,s="fixed",l="",c=0,d=0,u=0,m=0,h=0,g=0,p=0,f=0,b=0,_="cubic-bezier(0, 0, 0.2, 1)",C=200,P=!1,O=0,M=0,y=!1,v=!0,x=!1,w=!1,k=!0,S=1){this.touch=t,this.vertical=e,this.interval=n,this.transform=a,this.button=o,this.visibleItems=r,this.deviceType=i,this.type=s,this.token=l,this.items=c,this.load=d,this.deviceWidth=u,this.carouselWidth=m,this.itemWidth=h,this.slideItems=g,this.itemWidthPer=p,this.itemLength=f,this.currentSlide=b,this.easing=_,this.speed=C,this.loop=P,this.dexVal=O,this.touchTransform=M,this.isEnd=y,this.isFirst=v,this.isLast=x,this.RTL=w,this.point=k,this.velocity=S}}{constructor(t,e,n,a,o){super(),this._el=t,this._renderer=e,this._differs=n,this.platformId=a,this.cdr=o,this.withAnim=!0,this.isHovered=!1,this.carouselLoad=new wo,this.onMove=new wo,this._intervalController$=new k,this.pointNumbers=[]}get dataSource(){return this._dataSource}set dataSource(t){t&&this._switchDataSource(t)}set nextBtn(t){this.listener2&&this.listener2(),t&&(this.listener2=this._renderer.listen(t.nativeElement,"click",()=>this._carouselScrollOne(1)))}set prevBtn(t){this.listener1&&this.listener1(),t&&(this.listener1=this._renderer.listen(t.nativeElement,"click",()=>this._carouselScrollOne(0)))}get trackBy(){return this._trackByFn}set trackBy(t){se()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(t)}.`),this._trackByFn=t}ngOnInit(){this._dataDiffer=this._differs.find([]).create((t,e)=>this.trackBy?this.trackBy(e.dataIndex,e.data):e)}ngDoCheck(){this.arrayChanges=this._dataDiffer.diff(this.dataSource),this.arrayChanges&&this._defDirec&&this._observeRenderChanges()}_switchDataSource(t){this._dataSource=t,this._defDirec&&this._observeRenderChanges()}_observeRenderChanges(){let t;this._dataSource instanceof O?t=this._dataSource:Array.isArray(this._dataSource)&&(t=gs(this._dataSource)),t&&(this._dataSubscription=t.pipe(lP(this._intervalController$)).subscribe(t=>{this.renderNodeChanges(t),this.isLast=!1}))}renderNodeChanges(t,e=this._nodeOutlet.viewContainer){this.arrayChanges&&(this.arrayChanges.forEachOperation((n,a,o)=>{const r=this._getNodeDef(t[o],o);if(null==n.previousIndex){const n=new jy(t[o]);n.index=o,e.createEmbeddedView(r.template,n,o)}else if(null==o)e.remove(a);else{const t=e.get(a);e.move(t,o)}}),this._updateItemIndexContext(),this.carousel&&this._storeCarouselData())}_updateItemIndexContext(){const t=this._nodeOutlet.viewContainer;for(let e=0,n=t.length;en.when&&n.when(e,t))||this._defaultNodeDef}ngAfterViewInit(){this.carousel=this._el.nativeElement,this._inputValidation(),this.carouselCssNode=this._createStyleElem(),sl(this.platformId)&&(this._carouselInterval(),this.vertical.enabled||this._touch(),this.listener3=this._renderer.listen("window","resize",t=>{this._onResizing(t)}),this._onWindowScrolling())}ngAfterContentInit(){this._observeRenderChanges(),this.cdr.markForCheck()}_inputValidation(){this.type=0!==this.inputs.grid.all?"fixed":"responsive",this.loop=this.inputs.loop||!1,this.inputs.easing=this.inputs.easing||"cubic-bezier(0, 0, 0.2, 1)",this.touch.active=this.inputs.touch||!1,this.RTL=!!this.inputs.RTL,this.interval=this.inputs.interval||null,this.velocity="number"==typeof this.inputs.velocity?this.inputs.velocity:this.velocity,this.inputs.vertical&&this.inputs.vertical.enabled&&(this.vertical.enabled=this.inputs.vertical.enabled,this.vertical.height=this.inputs.vertical.height),this.directionSym=this.RTL?"":"-",this.point=!this.inputs.point||void 0===this.inputs.point.visible||this.inputs.point.visible,this._carouselSize()}ngOnDestroy(){this.carouselInt&&this.carouselInt.unsubscribe(),this._intervalController$.unsubscribe(),this.carouselLoad.complete(),this.onMove.complete();for(let t=1;t<=4;t++){const e=`listener${t}`;this[e]&&this[e]()}}_onResizing(t){clearTimeout(this.onResize),this.onResize=setTimeout(()=>{this.deviceWidth!==t.target.outerWidth&&(this._setStyle(this.nguItemsContainer.nativeElement,"transition",""),this._storeCarouselData())},500)}_touch(){if(this.inputs.touch){const t=new Hammer(this.touchContainer.nativeElement);t.get("pan").set({direction:Hammer.DIRECTION_HORIZONTAL}),t.on("panstart",t=>{this.carouselWidth=this.nguItemsContainer.nativeElement.offsetWidth,this.touchTransform=this.transform[this.deviceType],this.dexVal=0,this._setStyle(this.nguItemsContainer.nativeElement,"transition","")}),this.vertical.enabled?(t.on("panup",t=>{this._touchHandling("panleft",t)}),t.on("pandown",t=>{this._touchHandling("panright",t)})):(t.on("panleft",t=>{this._touchHandling("panleft",t)}),t.on("panright",t=>{this._touchHandling("panright",t)})),t.on("panend",t=>{if(Math.abs(t.velocity)>=this.velocity){this.touch.velocity=t.velocity;let e=0;this._carouselScrollOne(e=this.RTL?"panright"===this.touch.swipe?1:0:"panright"===this.touch.swipe?0:1)}else this.dexVal=0,this._setStyle(this.nguItemsContainer.nativeElement,"transition","transform 324ms cubic-bezier(0, 0, 0.2, 1)"),this._setStyle(this.nguItemsContainer.nativeElement,"transform","")}),t.on("hammer.input",function(t){t.srcEvent.stopPropagation()})}}_touchHandling(t,e){if(0===e.center.x)return;let n=(e=Math.abs(this.vertical.enabled?e.deltaY:e.deltaX))-this.dexVal;n="responsive"===this.type?Math.abs(e-this.dexVal)/(this.vertical.enabled?this.vertical.height:this.carouselWidth)*100:n,this.dexVal=e,this.touch.swipe=t,this._setTouchTransfrom(t,n),this._setTransformFromTouch()}_setTouchTransfrom(t,e){this.touchTransform=t===(this.RTL?"panright":"panleft")?e+this.touchTransform:this.touchTransform-e}_setTransformFromTouch(){this.touchTransform<0&&(this.touchTransform=0);const t="responsive"===this.type?"%":"px";this._setStyle(this.nguItemsContainer.nativeElement,"transform",this.vertical.enabled?`translate3d(0, ${this.directionSym}${this.touchTransform}${t}, 0)`:`translate3d(${this.directionSym}${this.touchTransform}${t}, 0, 0)`)}_onWindowScrolling(){const t=this.carousel.offsetTop,e=window.scrollY,n=window.innerHeight,a=this.carousel.offsetHeight;this._intervalController$.next(t<=e+n-a/4&&t+a/2>=e?1:0)}_storeCarouselData(){this.deviceWidth=sl(this.platformId)?window.innerWidth:1200,this.carouselWidth=this.carouselMain1.nativeElement.offsetWidth,"responsive"===this.type?(this.deviceType=this.deviceWidth>=1200?"lg":this.deviceWidth>=992?"md":this.deviceWidth>=768?"sm":"xs",this.items=this.inputs.grid[this.deviceType],this.itemWidth=this.carouselWidth/this.items):(this.items=Math.trunc(this.carouselWidth/this.inputs.grid.all),this.itemWidth=this.inputs.grid.all,this.deviceType="all"),this.slideItems=+(this.inputs.slide=this.slideItems?this.inputs.load:this.slideItems,this.speed=this.inputs.speed&&this.inputs.speed>-1?this.inputs.speed:400,this._carouselPoint()}reset(t){t&&(this.withAnim=!1),this.carouselCssNode.innerHTML="",this.moveTo(0),this._carouselPoint()}_carouselPoint(){this.pointIndex=Math.ceil((this.dataSource.length-(this.items-this.slideItems))/this.slideItems);const t=[];if(this.pointIndex>1||!this.inputs.point.hideOnSingleSlide)for(let e=0;e .ngucarousel > .ngu-touch-container > .ngucarousel-items`,"banner"===this.inputs.custom&&this._renderer.addClass(this.carousel,"banner"),"lazy"===this.inputs.animation&&(t+=`${this.styleid} > .item {transition: transform .6s ease;}`);let e="";e=this.vertical.enabled?`@media (max-width:767px){${`${this.styleid} > .item {height: ${this.vertical.height/+this.inputs.grid.xs}px}`}}\n @media (min-width:768px){${`${this.styleid} > .item {height: ${this.vertical.height/+this.inputs.grid.sm}px}`}}\n @media (min-width:992px){${`${this.styleid} > .item {height: ${this.vertical.height/+this.inputs.grid.md}px}`}}\n @media (min-width:1200px){${`${this.styleid} > .item {height: ${this.vertical.height/+this.inputs.grid.lg}px}`}}`:"responsive"===this.type?`@media (max-width:767px){${"mobile"===this.inputs.type?`${this.styleid} .item {flex: 0 0 ${95/+this.inputs.grid.xs}%; width: ${95/+this.inputs.grid.xs}%;}`:`${this.styleid} .item {flex: 0 0 ${100/+this.inputs.grid.xs}%; width: ${100/+this.inputs.grid.xs}%;}`}}\n @media (min-width:768px){${`${this.styleid} > .item {flex: 0 0 ${100/+this.inputs.grid.sm}%; width: ${100/+this.inputs.grid.sm}%}`}}\n @media (min-width:992px){${`${this.styleid} > .item {flex: 0 0 ${100/+this.inputs.grid.md}%; width: ${100/+this.inputs.grid.md}%}`}}\n @media (min-width:1200px){${`${this.styleid} > .item {flex: 0 0 ${100/+this.inputs.grid.lg}%; width: ${100/+this.inputs.grid.lg}%}`}}`:`${this.styleid} .item {flex: 0 0 ${this.inputs.grid.all}px; width: ${this.inputs.grid.all}px;}`,this._renderer.addClass(this.carousel,this.token),this.vertical.enabled&&(this._renderer.addClass(this.nguItemsContainer.nativeElement,"nguvertical"),this._renderer.setStyle(this.carouselMain1.nativeElement,"height",`${this.vertical.height}px`)),this.RTL&&!this.vertical.enabled&&this._renderer.addClass(this.carousel,"ngurtl"),this._createStyleElem(`${t} ${e}`),this._storeCarouselData()}_carouselScrollOne(t){let e,n=this.speed,a=0;const o=Math.ceil(this.dexVal/this.itemWidth);if(this._setStyle(this.nguItemsContainer.nativeElement,"transform",""),1!==this.pointIndex)if(0!==t||(this.loop||this.isFirst)&&!this.loop)1!==t||(this.loop||this.isLast)&&!this.loop||(this.dataSource.length<=this.currentSlide+this.items+this.slideItems&&!this.isLast?(a=this.dataSource.length-this.items,this._btnBoolean(0,1)):this.isLast?(a=e=0,n=400,this._btnBoolean(1,0)):(this._btnBoolean(0,0),o>this.slideItems?(a=this.currentSlide+this.slideItems+(o-this.slideItems),n=200):a=this.currentSlide+this.slideItems),this._carouselScrollTwo(t,a,n));else{const r=this.currentSlide-this.slideItems+this.slideItems;this._btnBoolean(0,1),0===this.currentSlide?(a=this.dataSource.length-this.items,n=400,this._btnBoolean(0,1)):this.slideItems>=r?(a=e=0,this._btnBoolean(1,0)):(this._btnBoolean(0,0),o>this.slideItems?(a=this.currentSlide-o,n=200):a=this.currentSlide-this.slideItems),this._carouselScrollTwo(t,a,n)}}_carouselScrollTwo(t,e,n){if(0!==this.dexVal){const t=Math.abs(this.touch.velocity);let e=Math.floor(this.dexVal/t/this.dexVal*(this.deviceWidth-this.dexVal));n=(e=e>n?n:e)<200?200:e,this.dexVal=0}this.withAnim?(this._setStyle(this.nguItemsContainer.nativeElement,"transition",`transform ${n}ms ${this.inputs.easing}`),this.inputs.animation&&this._carouselAnimator(t,e+1,e+this.items,n,Math.abs(this.currentSlide-e))):this._setStyle(this.nguItemsContainer.nativeElement,"transition",""),this.itemLength=this.dataSource.length,this._transformStyle(e),this.currentSlide=e,this.onMove.emit(this),this._carouselPointActiver(),this._carouselLoadTrigger(),this.withAnim=!0}_btnBoolean(t,e){this.isFirst=!!t,this.isLast=!!e}_transformString(t,e){let n="";return n+=`${this.styleid} { transform: translate3d(`,this.vertical.enabled?(this.transform[t]=this.vertical.height/this.inputs.grid[t]*e,n+=`0, -${this.transform[t]}px, 0`):(this.transform[t]=100/this.inputs.grid[t]*e,n+=`${this.directionSym}${this.transform[t]}%, 0, 0`),n+"); }"}_transformStyle(t){let e="";"responsive"===this.type?e=`@media (max-width: 767px) {${this._transformString("xs",t)}}\n @media (min-width: 768px) {${this._transformString("sm",t)} }\n @media (min-width: 992px) {${this._transformString("md",t)} }\n @media (min-width: 1200px) {${this._transformString("lg",t)} }`:(this.transform.all=this.inputs.grid.all*t,e=`${this.styleid} { transform: translate3d(${this.directionSym}${this.transform.all}px, 0, 0);`),this.carouselCssNode.innerHTML=e}_carouselLoadTrigger(){"number"==typeof this.inputs.load&&this.dataSource.length-this.load<=this.currentSlide+this.items&&this.carouselLoad.emit(this.currentSlide)}_generateID(){let t="";const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";for(let n=0;n<6;n++)t+=e.charAt(Math.floor(Math.random()*e.length));return`ngucarousel${t}`}_carouselInterval(){const t=this.carouselMain1.nativeElement;if(this.interval&&this.loop){this.listener4=this._renderer.listen("window","scroll",()=>{clearTimeout(this.onScrolling),this.onScrolling=setTimeout(()=>{this._onWindowScrolling()},600)});const e=qC(t,"mouseleave").pipe(zy(1)),n=qC(t,"mouseenter").pipe(zy(0)),a=qC(t,"touchstart").pipe(zy(1)),o=qC(t,"touchend").pipe(zy(0)),r=function(t=0,e=dp){return(!rP(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=dp),new O(n=>(n.add(e.schedule(Ny,t,{subscriber:n,counter:0,period:t})),n))}(this.inputs.interval.timing).pipe(zy(1));setTimeout(()=>{this.carouselInt=X(e,a,n,o,this._intervalController$).pipe(vc(1),Oc(t=>(this.isHovered=!t,this.cdr.markForCheck(),t?r:ms()))).subscribe(t=>{this._carouselScrollOne(1)})},this.interval.initialDelay)}}_updateItemIndexContextAni(){const t=this._nodeOutlet.viewContainer;for(let e=0,n=t.length;e=e-1;l--)s.push(l),i*=2,r.get(l).context.animate={value:!0,params:{distance:-i}};this.cdr.markForCheck(),setTimeout(()=>{this._removeAnimations(s)},.7*a)}_removeAnimations(t){const e=this._nodeOutlet.viewContainer;t.forEach(t=>{e.get(t).context.animate={value:!1,params:{distance:0}}}),this.cdr.markForCheck()}_setStyle(t,e,n){this._renderer.setStyle(t,e,n)}_createStyleElem(t){const e=this._renderer.createElement("style");if(t){const n=this._renderer.createText(t);this._renderer.appendChild(e,n)}return this._renderer.appendChild(this.carousel,e),e}}))(),Zy=(()=>(class{constructor(){this.classes=!0}}))(),Qy=(()=>(class{}))();var Ky=Kn({encapsulation:0,styles:["[_nghost-%COMP%]{display:block;position:relative}.ngurtl[_nghost-%COMP%]{direction:rtl}.ngucarousel[_ngcontent-%COMP%]{position:relative;overflow:hidden;height:100%}.ngucarousel[_ngcontent-%COMP%] .ngucarousel-items[_ngcontent-%COMP%]{position:relative;display:flex;height:100%}.nguvertical[_ngcontent-%COMP%]{flex-direction:column}.banner[_ngcontent-%COMP%] .ngucarouselPointDefault[_ngcontent-%COMP%] .ngucarouselPoint[_ngcontent-%COMP%]{position:absolute;width:100%;bottom:20px}.banner[_ngcontent-%COMP%] .ngucarouselPointDefault[_ngcontent-%COMP%] .ngucarouselPoint[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{background:rgba(255,255,255,.55)}.banner[_ngcontent-%COMP%] .ngucarouselPointDefault[_ngcontent-%COMP%] .ngucarouselPoint[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%]{background:#fff}.banner[_ngcontent-%COMP%] .ngucarouselPointDefault[_ngcontent-%COMP%] .ngucarouselPoint[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{cursor:pointer}.ngucarouselPointDefault[_ngcontent-%COMP%] .ngucarouselPoint[_ngcontent-%COMP%]{list-style-type:none;text-align:center;padding:12px;margin:0;white-space:nowrap;overflow:auto;box-sizing:border-box}.ngucarouselPointDefault[_ngcontent-%COMP%] .ngucarouselPoint[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:inline-block;border-radius:50%;background:rgba(0,0,0,.55);padding:4px;margin:0 4px;transition-timing-function:cubic-bezier(.17,.67,.83,.67);transition:.4s}.ngucarouselPointDefault[_ngcontent-%COMP%] .ngucarouselPoint[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%]{background:#6b6b6b;-webkit-transform:scale(1.8);transform:scale(1.8)}.ngucarouselPointDefault[_ngcontent-%COMP%] .ngucarouselPoint[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{cursor:pointer}.nguclearFix[_ngcontent-%COMP%]{clear:both}"],data:{}});function Xy(t){return ei(2,[Ur(402653184,1,{_nodeOutlet:0}),Ur(402653184,2,{carouselMain1:0}),Ur(402653184,3,{nguItemsContainer:0}),Ur(402653184,4,{touchContainer:0}),(t()(),Fr(4,0,[[2,0],["ngucarousel",1]],null,7,"div",[["class","ngucarousel"]],null,null,null,null,null)),(t()(),Fr(5,0,[[4,0],["touchContainer",1]],null,3,"div",[["class","ngu-touch-container"]],null,null,null,null,null)),(t()(),Fr(6,0,[[3,0],["nguItemsContainer",1]],null,2,"div",[["class","ngucarousel-items"]],null,null,null,null,null)),(t()(),Fr(7,16777216,null,null,1,null,null,null,null,null,null,null)),so(8,16384,[[1,4]],0,Yy,[Rn],null,null),(t()(),Fr(9,0,null,null,0,"div",[["class","nguclearFix"]],null,null,null,null,null)),Gr(null,0),Gr(null,1),Gr(null,2)],null,null)}var Jy=Kn({encapsulation:0,styles:[""],data:{}});function tv(t){return ei(0,[Gr(null,0)],null,null)}const ev=(()=>(class extends oM{constructor(t,e,n,a,o,r,i){super(t,null,e,n),this.elementRef=t,this.styler=e,this.marshal=n,this.iterableDiffers=a,this.keyValueDiffers=o,this.renderer=r,this.ngClassInstance=i,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new Fs(this.iterableDiffers,this.keyValueDiffers,this.elementRef,this.renderer)),this.init(),this.setValue("","")}set klass(t){this.ngClassInstance.klass=t,this.setValue(t,"")}updateWithValue(t){this.ngClassInstance.ngClass=t,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}}))(),nv=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"],av=(()=>(class extends ev{constructor(){super(...arguments),this.inputs=nv}}))();class ov{constructor(t,e,n=!0){this.key=t,this.value=e,this.key=n?t.replace(/['"]/g,"").trim():t.trim(),this.value=n?e.replace(/['"]/g,"").trim():e.trim(),this.value=this.value.replace(/;/,"")}}function rv(t){let e=typeof t;return"object"===e?t.constructor===Array?"array":t.constructor===Set?"set":"object":e}function iv(t){const[e,...n]=t.split(":");return new ov(e,n.join(":"))}function sv(t,e){return e.key&&(t[e.key]=e.value),t}const lv=(()=>(class extends oM{constructor(t,e,n,a,o,r,i,s,l){super(t,null,e,n),this.elementRef=t,this.styler=e,this.marshal=n,this.keyValueDiffers=a,this.renderer=o,this.sanitizer=r,this.ngStyleInstance=i,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new Ks(this.keyValueDiffers,this.elementRef,this.renderer)),this.init();const c=this.nativeElement.getAttribute("style")||"";this.fallbackStyles=this.buildStyleMap(c),this.isServer=s&&ll(l)}updateWithValue(t){const e=this.buildStyleMap(t);this.ngStyleInstance.ngStyle=Object.assign({},this.fallbackStyles,e),this.isServer&&this.applyStyleToElement(e),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(t){const e=t=>this.sanitizer.sanitize(Ee.STYLE,t)||"";if(t)switch(rv(t)){case"string":return uv(function(e,n=";"){return String(t).trim().split(n).map(t=>t.trim()).filter(t=>""!==t)}(),e);case"array":return uv(t,e);case"set":default:return function(t,e){let n=[];return"set"===rv(t)?t.forEach(t=>n.push(t)):Object.keys(t).forEach(e=>{n.push(`${e}:${t[e]}`)}),function(t,e){return n.map(iv).filter(t=>!!t).map(t=>(e&&(t.value=e(t.value)),t)).reduce(sv,{})}(0,e)}(t,e)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}))(),cv=["ngStyle","ngStyle.xs","ngStyle.sm","ngStyle.md","ngStyle.lg","ngStyle.xl","ngStyle.lt-sm","ngStyle.lt-md","ngStyle.lt-lg","ngStyle.lt-xl","ngStyle.gt-xs","ngStyle.gt-sm","ngStyle.gt-md","ngStyle.gt-lg"],dv=(()=>(class extends lv{constructor(){super(...arguments),this.inputs=cv}}))();function uv(t,e){return t.map(iv).filter(t=>!!t).map(t=>(e&&(t.value=e(t.value)),t)).reduce(sv,{})}const mv=(()=>(class{}))();function hv(t,e=dp){var n;const a=(n=t)instanceof Date&&!isNaN(+n)?+t-e.now():Math.abs(t);return t=>t.lift(new gv(a,e))}class gv{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new pv(t,this.delay,this.scheduler))}}class pv extends p{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,a=t.scheduler,o=t.destination;for(;n.length>0&&n[0].time-a.now()<=0;)n.shift().notification.observe(o);if(n.length>0){const e=Math.max(0,n[0].time-a.now());this.schedule(t,e)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(pv.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,n=new fv(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(bP.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(bP.createComplete()),this.unsubscribe()}}class fv{constructor(t,e){this.time=t,this.notification=e}}const bv=new Tt("MAT_MENU_PANEL");class _v{}const Cv=Ip(Ep(_v)),Pv=(()=>(class extends Cv{constructor(t,e,n,a){super(),this._elementRef=t,this._focusMonitor=n,this._parentMenu=a,this.role="menuitem",this._hovered=new k,this._highlighted=!1,this._triggersSubmenu=!1,n&&n.monitor(this._elementRef,!1),a&&a.addItem&&a.addItem(this),this._document=e}focus(t="program"){this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),t):this._getHostElement().focus()}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const t=this._elementRef.nativeElement,e=this._document?this._document.TEXT_NODE:3;let n="";if(t.childNodes){const a=t.childNodes.length;for(let o=0;o(class{constructor(t,e,n){this._elementRef=t,this._ngZone=e,this._defaultOptions=n,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._items=[],this._itemChanges=new k,this._tabSubscription=m.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new k,this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new wo,this.close=this.closed}get xPosition(){return this._xPosition}set xPosition(t){"before"!==t&&"after"!==t&&function(){throw Error('xPosition value must be either \'before\' or after\'.\n Example: ')}(),this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){"above"!==t&&"below"!==t&&function(){throw Error('yPosition value must be either \'above\' or below\'.\n Example: ')}(),this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=Ag(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=Ag(t)}set panelClass(t){const e=this._previousPanelClass;e&&e.length&&e.split(" ").forEach(t=>{this._classList[t]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(t=>{this._classList[t]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._keyManager=new fp(this._items).withWrap().withTypeAhead(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab"))}ngOnDestroy(){this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._itemChanges.pipe(vc(this._items),Oc(t=>X(...t.map(t=>t._hovered))))}_handleKeydown(t){const e=t.keyCode,n=this._keyManager;switch(e){case Qg:rp(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case Kg:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case Jg:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;case 36:case 35:rp(t)||(36===e?n.setFirstItemActive():n.setLastItemActive(),t.preventDefault());break;default:e!==Xg&&e!==tp||n.setFocusOrigin("keyboard"),n.onKeydown(t)}}focusFirstItem(t="program"){this.lazyContent?this._ngZone.onStable.asObservable().pipe(pc(1)).subscribe(()=>this._keyManager.setFocusOrigin(t).setFirstItemActive()):this._keyManager.setFocusOrigin(t).setFirstItemActive()}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){const e=`mat-elevation-z${4+t}`,n=Object.keys(this._classList).find(t=>t.startsWith("mat-elevation-z"));n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[e]=!0,this._previousElevation=e)}addItem(t){-1===this._items.indexOf(t)&&(this._items.push(t),this._itemChanges.next(this._items))}removeItem(t){const e=this._items.indexOf(t);this._items.indexOf(t)>-1&&(this._items.splice(e,1),this._itemChanges.next(this._items))}setPositionClasses(t=this.xPosition,e=this.yPosition){const n=this._classList;n["mat-menu-before"]="before"===t,n["mat-menu-after"]="after"===t,n["mat-menu-above"]="above"===e,n["mat-menu-below"]="below"===e}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}}))();class yv extends Mv{}const vv=(()=>(class extends yv{constructor(t,e,n){super(t,e,n)}}))(),xv=new Tt("mat-menu-scroll-strategy");function wv(t){return()=>t.scrollStrategies.reposition()}const kv=qg({passive:!0}),Sv=(()=>(class{constructor(t,e,n,a,o,r,i,s){this._overlay=t,this._element=e,this._viewContainerRef=n,this._parentMenu=o,this._menuItemInstance=r,this._dir=i,this._focusMonitor=s,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=m.EMPTY,this._hoverSubscription=m.EMPTY,this._menuCloseSubscription=m.EMPTY,this._handleTouchStart=(()=>this._openedBy="touch"),this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new wo,this.onMenuOpen=this.menuOpened,this.menuClosed=new wo,this.onMenuClose=this.menuClosed,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,kv),r&&(r._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=a}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.asObservable().subscribe(t=>{this._destroyMenu(),"click"!==t&&"tab"!==t||!this._parentMenu||this._parentMenu.closed.emit(t)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,kv),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const t=this._createOverlay(),e=t.getConfig();this._setPosition(e.positionStrategy),e.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof yv&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(t="program"){this._focusMonitor?this._focusMonitor.focusVia(this._element,t):this._element.nativeElement.focus()}_destroyMenu(){if(!this._overlayRef||!this.menuOpen)return;const t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),t instanceof yv?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe(fs(t=>"void"===t.toState),pc(1),lP(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._resetMenu()}):this._resetMenu()):(this._resetMenu(),t.lazyContent&&t.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")}_setMenuElevation(){if(this.menu.setElevation){let t=0,e=this.menu.parentMenu;for(;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}}_resetMenu(){this._setIsMenuOpen(!1),this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null}_setIsMenuOpen(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)}_checkMenu(){this.menu||function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\n\n Example:\n \n ')}()}_createOverlay(){if(!this._overlayRef){const t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new YP({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t){this.menu.setPositionClasses&&t.positionChanges.subscribe(t=>{this.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}_setPosition(t){let[e,n]="before"===this.menu.xPosition?["end","start"]:["start","end"],[a,o]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[r,i]=[a,o],[s,l]=[e,n],c=0;this.triggersSubmenu()?(l=e="before"===this.menu.xPosition?"start":"end",n=s="end"===e?"start":"end",c="bottom"===a?8:-8):this.menu.overlapTrigger||(r="top"===a?"bottom":"top",i="top"===o?"bottom":"top"),t.withPositions([{originX:e,originY:r,overlayX:s,overlayY:a,offsetY:c},{originX:n,originY:r,overlayX:l,overlayY:a,offsetY:c},{originX:e,originY:i,overlayX:s,overlayY:o,offsetY:-c},{originX:n,originY:i,overlayX:l,overlayY:o,offsetY:-c}])}_menuClosingActions(){const t=this._overlayRef.backdropClick(),e=this._overlayRef.detachments();return X(t,this._parentMenu?this._parentMenu.closed:gs(),this._parentMenu?this._parentMenu._hovered().pipe(fs(t=>t!==this._menuItemInstance),fs(()=>this._menuOpen)):gs(),e)}_handleMousedown(t){xp(t)||(this._openedBy=0===t.button?"mouse":null,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){const e=t.keyCode;this.triggersSubmenu()&&(e===Jg&&"ltr"===this.dir||e===Kg&&"rtl"===this.dir)&&this.openMenu()}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe(fs(t=>t===this._menuItemInstance&&!t.disabled),hv(0,tP)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof yv&&this.menu._isAnimating?this.menu._animationDone.pipe(pc(1),hv(0,tP),lP(this._parentMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new VC(this.menu.templateRef,this._viewContainerRef)),this._portal}}))(),Ev=(()=>(class{}))(),Tv=(()=>(class{}))();var Iv=Kn({encapsulation:2,styles:[".mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}@media (-ms-high-contrast:active){.mat-menu-panel{outline:solid 1px}}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}@media (-ms-high-contrast:active){.mat-menu-item-highlighted,.mat-menu-item.cdk-keyboard-focused,.mat-menu-item.cdk-program-focused{outline:dotted 1px}}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:'';display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}"],data:{animation:[{type:7,name:"transformMenu",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0,transform:"scale(0.8)"},offset:null},options:void 0},{type:1,expr:"void => enter",animation:{type:3,steps:[{type:11,selector:".mat-menu-content, .mat-mdc-menu-content",animation:{type:4,styles:{type:6,styles:{opacity:1},offset:null},timings:"100ms linear"},options:null},{type:4,styles:{type:6,styles:{transform:"scale(1)"},offset:null},timings:"120ms cubic-bezier(0, 0, 0.2, 1)"}],options:null},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}},{type:7,name:"fadeInItems",definitions:[{type:0,name:"showing",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:1,expr:"void => *",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:null,timings:"400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function Rv(t){return ei(0,[(t()(),Fr(0,0,null,null,4,"div",[["class","mat-menu-panel"],["role","menu"],["tabindex","-1"]],[[24,"@transformMenu",0]],[[null,"keydown"],[null,"click"],[null,"@transformMenu.start"],[null,"@transformMenu.done"]],function(t,e,n){var a=!0,o=t.component;return"keydown"===e&&(a=!1!==o._handleKeydown(n)&&a),"click"===e&&(a=!1!==o.closed.emit("click")&&a),"@transformMenu.start"===e&&(a=!1!==o._onAnimationStart(n)&&a),"@transformMenu.done"===e&&(a=!1!==o._onAnimationDone(n)&&a),a},null,null)),co(512,null,Ns,zs,[yn,vn,an,cn]),so(2,278528,null,0,Fs,[Ns],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),Fr(3,0,null,null,1,"div",[["class","mat-menu-content"]],null,null,null,null,null)),Gr(null,0)],function(t,e){t(e,2,0,"mat-menu-panel",e.component._classList)},function(t,e){t(e,0,0,e.component._panelAnimationState)})}function Av(t){return ei(2,[Ur(671088640,1,{templateRef:0}),(t()(),Lr(0,[[1,2]],null,0,null,Rv))],null,null)}var Dv=Kn({encapsulation:2,styles:[],data:{}});function Nv(t){return ei(2,[Gr(null,0),(t()(),Fr(1,0,null,null,1,"div",[["class","mat-menu-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),so(2,212992,null,0,Gp,[an,Jo,Vg,[2,Yp],[2,xC]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],function(t,e){var n=e.component;t(e,2,0,n.disableRipple||n.disabled,n._getHostElement())},function(t,e){t(e,1,0,Ga(e,2).unbounded)})}const zv=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e,this.currentCover=cs.API_ENDPOINT+"/host/beatsaber/playlist/cover?playlistid="+e.playlist.PlaylistID}getCover(){return"url("+this.currentCover+")"}makeAutoID(t){return null!=t&&t.replace(" ","").length?"Playlist ID ("+t.replace(/[^a-z0-9]/gim,"").replace(/\s+/g,"").replace(" ","")+")":"Playlist ID"}loadCover(t){if(0==t.length)return void console.log("No file selected!");let e=t[0];var n=new FileReader;n.onload=(t=>{this.currentCover=n.result,this.data.playlist.CoverImageBytes=this.currentCover.substring(this.currentCover.indexOf(";base64,")+8)}),n.readAsDataURL(e)}clickSave(){if(!(this.data.playlist.PlaylistName.replace(" ","").length<1)){if(!this.data.playlist.PlaylistID||this.data.playlist.PlaylistID.replace(" ","").length<1){if(!this.data.isNew)return;this.data.playlist.PlaylistID=this.data.playlist.PlaylistName.replace(/[^a-z0-9]/gim,"").replace(/\s+/g,"").replace(" ",""),this.data.playlist.SongList=[]}this.dialogRef.close(this.data)}}clickCancel(){this.data=null,this.dialogRef.close()}clickDelete(){this.dialogRef.close({playlist:this.data.playlist,deletePlaylist:!0})}ngOnInit(){}}return t.ngInjectableDef=pt({factory:function(){return new t(St(bO),St(_O))},token:t,providedIn:"root"}),t})();class Lv{}var Fv=function(t){return t[t.SetupEvent=0]="SetupEvent",t[t.Toast=1]="Toast",t[t.DownloadStatus=2]="DownloadStatus",t[t.ConfigChange=3]="ConfigChange",t[t.DeleteSong=4]="DeleteSong",t[t.MoveSongToPlaylist=5]="MoveSongToPlaylist",t[t.DeletePlaylist=6]="DeletePlaylist",t[t.AddOrUpdatePlaylist=7]="AddOrUpdatePlaylist",t[t.OpStatus=8]="OpStatus",t[t.GetOps=9]="GetOps",t[t.SortPlaylist=10]="SortPlaylist",t[t.AutoCreatePlaylists=11]="AutoCreatePlaylists",t}({});class Vv extends Lv{constructor(){super(...arguments),this.Type=Fv.MoveSongToPlaylist}}class Bv extends Lv{constructor(){super(...arguments),this.Type=Fv.AddOrUpdatePlaylist}}class Hv extends Lv{constructor(){super(...arguments),this.Type=Fv.DeletePlaylist}}class jv extends Lv{constructor(){super(...arguments),this.Type=Fv.AutoCreatePlaylists}}class Uv{constructor(t,e,n,a){this.dialog=t,this.configSvc=e,this.beatOnApi=n,this.msgSvc=a,this.selectedPlaylist=new wo,this._playlists=[],this.carouselTile={grid:{xs:4,sm:4,md:4,lg:4,all:0},slide:3,speed:250,point:{visible:!1},load:2,velocity:0,touch:!0,easing:"cubic-bezier(0, 0, 0.2, 1)",vertical:{enabled:!0,height:360}}}set playlists(t){if(this._playlists=t,null!=this.selected&&null!=this.selected.PlaylistID)if(null==this._playlists)this.selected=null,this.selectedPlaylist.emit(null);else{var e=null;this._playlists.forEach(t=>{t.PlaylistID==this.selected.PlaylistID&&(e=t)}),this.selected=e,this.selectedPlaylist.emit(e)}}get playlists(){return this._playlists}getBackground(t){return"url("+cs.API_ENDPOINT+"/host/beatsaber/playlist/cover?playlistid="+t.PlaylistID+")"}onTileClick(t){this.selected=t,this.selectedPlaylist.emit(t)}ngOnInit(){}clickAddPlaylist(){this.dialog.open(zv,{width:"450px",height:"320px",disableClose:!0,data:{playlist:{},isNew:!0}}).afterClosed().subscribe(t=>this.dialogClosed(t))}clickEditPlaylist(t){this.dialog.open(zv,{width:"450px",height:"320px",disableClose:!0,data:{playlist:t,isNew:!1}}).afterClosed().subscribe(t=>this.dialogClosed(t))}clickAutoName(t){var e=new jv;e.MaxPerNamePlaylist=t,e.SortMode=ds.Name,this.msgSvc.sendClientMessage(e)}clickAutoDifficulty(){var t=new jv;t.MaxPerNamePlaylist=5,t.SortMode=ds.MaxDifficulty,this.msgSvc.sendClientMessage(t)}dialogClosed(t){if(null!=t)if(!0===t.deletePlaylist){var e=new Hv;e.PlaylistID=t.playlist.PlaylistID,this.msgSvc.sendClientMessage(e)}else t.isNew?this.configSvc.getConfig().subscribe(e=>{e.Config.Playlists.push(t.playlist);var n=new Bv;n.Playlist=t.playlist,this.msgSvc.sendClientMessage(n)}):this.configSvc.getConfig().subscribe(e=>{var n=null;if(e.Config.Playlists.forEach(e=>{e.PlaylistID==t.playlist.PlaylistID&&(n=e,t.playlist.CoverImageBytes&&t.playlist.CoverImageBytes>50&&(e.CoverImageBytes=t.playlist.CoverImageBytes),e.PlaylistName=t.playlist.PlaylistName)}),n){var a=new Bv;a.Playlist=n,this.msgSvc.sendClientMessage(a)}})}playlistDrop(t,e){let n=e.previousContainer.data;n.PlaylistID===t.PlaylistID&&console.log("dropped a song on the same playlist it is in, doing nothing");var a=n.SongList.findIndex(t=>e.item.element.nativeElement.attributes.songid&&t.SongID==e.item.element.nativeElement.attributes.songid.value);if(a<0)return;let o=n.SongList.splice(a,1)[0];n.SongList=n.SongList.slice(),null!=o&&this.configSvc.getConfig().subscribe(e=>{e.Config.Playlists.forEach(e=>{if(e.PlaylistID==t.PlaylistID)e.SongList.push(o);else{var a,r=-1;e.SongList.forEach(t=>{r+=1,e.PlaylistID==n.PlaylistID&&(a=r)}),a>-1?e.SongList.splice(a,1):console.log("Did not find the song in the playlist it was moving from!")}});var a=new Vv;a.SongID=o.SongID,a.ToPlaylistID=t.PlaylistID,this.msgSvc.sendClientMessage(a)})}}var $v=Kn({encapsulation:0,styles:[[".titleText[_ngcontent-%COMP%]{color:#fff;text-shadow:-1.5px 0 2px #000,0 1.5px 2px #000,1.5px 0 2px #000,0 -1.5px 2px #000;position:absolute;bottom:0;left:0;font-size:14px}.playlistEdit[_ngcontent-%COMP%]{position:absolute;top:0;right:0;border-radius:50%;width:25px;height:25px;background-color:#000;font-size:24px;color:#fff;cursor:pointer}.addPlaylist[_ngcontent-%COMP%]{width:96%;height:38px}.tile[_ngcontent-%COMP%]{height:100px;width:100px;background-color:#ccc;background-size:cover!important}.zoomedIn[_ngcontent-%COMP%]{-webkit-transform:scale(1);transform:scale(1);transition:-webkit-transform .2s;transition:transform .2s;transition:transform .2s,-webkit-transform .2s}.zoomedOut[_ngcontent-%COMP%]{-webkit-transform:scale(.75);transform:scale(.75);transition:-webkit-transform .2s;transition:transform .2s;transition:transform .2s,-webkit-transform .2s}.bannerStyle[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{background-color:#ccc;min-height:300px;text-align:center;line-height:300px}.leftRs[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg);position:absolute;top:0;bottom:0;width:25px;height:25px;background-color:transparent;left:0;font-size:48px;margin-left:35px;border:none}.arrow[_ngcontent-%COMP%]{color:#fff;text-shadow:-2px 0 #000,0 2px #000,2px 0 #000,0 -2px #000;margin:-10px,0!important;position:absolute;top:0;left:0}.rightRs[_ngcontent-%COMP%]{border:none;font-size:48px;position:absolute;margin-left:35px;bottom:0;width:25px;height:25px;overflow:hidden;background-color:transparent;left:0}.ngucarouselPoint[_ngcontent-%COMP%]{list-style-type:none;text-align:center;padding:12px;margin:0;white-space:nowrap;overflow:auto;position:absolute;width:100%;bottom:20px;left:0;box-sizing:border-box}.ngucarouselPoint[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:inline-block;border-radius:999px;background:rgba(255,255,255,.55);padding:5px;margin:0 3px;transition:.4s ease all}.ngucarouselPoint[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%]{background:#fff;width:10px}"]],data:{}});function qv(t){return ei(0,[(t()(),Fr(0,0,null,null,18,"ngu-item",[["NguCarouselItem",""],["cdkDropList",""],["class","bannerstyle cdk-drop-list"]],[[2,"item",null],[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"],[null,"click"]],function(t,e,n){var a=!0,o=t.component;return"cdkDropListDropped"===e&&(a=!1!==o.playlistDrop(t.context.$implicit,n)&&a),"click"===e&&(a=!1!==o.onTileClick(t.context.$implicit)&&a),a},tv,Jy)),co(6144,null,xy,null,[Ay]),co(512,null,Ns,zs,[yn,vn,an,cn]),so(3,278528,null,0,Fs,[Ns],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Qr(4,{zoomedIn:0,zoomedOut:1}),so(5,933888,null,0,av,[an,wM,SM,yn,vn,cn,[6,Fs]],{ngClass:[0,"ngClass"],klass:[1,"klass"]},null),Qr(6,{zoomedIn:0,zoomedOut:1}),so(7,49152,null,0,Zy,[],null,null),so(8,16384,null,0,Uy,[],null,null),so(9,1196032,null,1,Ay,[an,vy,xn,[2,Ig],[3,Iy]],null,{dropped:"cdkDropListDropped"}),Ur(603979776,8,{_draggables:1}),co(256,null,Iy,void 0,[]),(t()(),Fr(12,0,null,0,6,"div",[["class","tile"]],[[4,"background",null]],null,null,null,null)),(t()(),Fr(13,0,null,null,1,"div",[["class","titleText"]],null,null,null,null,null)),(t()(),Xr(14,null,["",""])),(t()(),Fr(15,0,null,null,3,"div",[["class","playlistEdit"]],null,[[null,"click"]],function(t,e,n){var a=!0;return"click"===e&&(a=!1!==t.component.clickEditPlaylist(t.context.$implicit)&&a),a},null,null)),(t()(),Fr(16,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Mf,Of)),so(17,9158656,null,0,Cf,[an,df,[8,null],[2,pf]],null,null),(t()(),Xr(-1,0,["edit"]))],function(t,e){var n=e.component,a=t(e,4,0,e.context.$implicit===n.selected,e.context.$implicit!=n.selected);t(e,3,0,"bannerstyle",a);var o=t(e,6,0,e.context.$implicit===n.selected,e.context.$implicit!=n.selected);t(e,5,0,o,"bannerstyle"),t(e,17,0)},function(t,e){var n=e.component;t(e,0,0,Ga(e,7).classes,Ga(e,9).id,Ga(e,9).disabled,Ga(e,9)._dropListRef.isDragging(),Ga(e,9)._dropListRef.isReceiving()),t(e,12,0,n.getBackground(e.context.$implicit)),t(e,14,0,e.context.$implicit.PlaylistName),t(e,16,0,Ga(e,17).inline,"primary"!==Ga(e,17).color&&"accent"!==Ga(e,17).color&&"warn"!==Ga(e,17).color)})}function Wv(t){return ei(0,[(t()(),Fr(0,0,null,null,68,"div",[["class","container"]],null,null,null,null,null)),(t()(),Fr(1,0,null,null,5,"button",[["class","addPlaylist()"],["color","accent"],["fast-click",""],["layout","center center"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var a=!0;return"click"===e&&(a=!1!==t.component.clickAddPlaylist()&&a),a},SC,kC)),so(2,180224,null,0,wf,[an,vp,[2,xC]],{color:[0,"color"]},null),so(3,16384,null,0,EC,[an],null,null),(t()(),Fr(4,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Mf,Of)),so(5,9158656,null,0,Cf,[an,df,[8,null],[2,pf]],null,null),(t()(),Xr(-1,0,["add_circle"])),(t()(),Fr(7,16777216,null,null,6,"button",[["aria-haspopup","true"],["class","sort"],["color","accent"],["fast-click",""],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],function(t,e,n){var a=!0;return"mousedown"===e&&(a=!1!==Ga(t,9)._handleMousedown(n)&&a),"keydown"===e&&(a=!1!==Ga(t,9)._handleKeydown(n)&&a),"click"===e&&(a=!1!==Ga(t,9)._handleClick(n)&&a),a},SC,kC)),so(8,180224,null,0,wf,[an,vp,[2,xC]],{color:[0,"color"]},null),so(9,1196032,null,0,Sv,[cO,an,Rn,xv,[2,yv],[8,null],[2,Ig],vp],{menu:[0,"menu"]},null),so(10,16384,null,0,EC,[an],null,null),(t()(),Fr(11,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Mf,Of)),so(12,9158656,null,0,Cf,[an,df,[8,null],[2,pf]],null,null),(t()(),Xr(-1,0,["sort"])),(t()(),Fr(14,0,null,null,13,"mat-menu",[],null,null,null,Av,Iv)),so(15,1294336,[["menu",4]],2,vv,[an,Jo,Ov],null,null),Ur(603979776,1,{items:1}),Ur(603979776,2,{lazyContent:0}),co(2048,null,yv,null,[vv]),co(2048,null,bv,null,[yv]),(t()(),Fr(20,16777216,null,0,4,"button",[["aria-haspopup","true"],["class","mat-menu-item"],["fast-click",""],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],function(t,e,n){var a=!0;return"click"===e&&(a=!1!==Ga(t,21)._checkDisabled(n)&&a),"mouseenter"===e&&(a=!1!==Ga(t,21)._handleMouseEnter()&&a),"mousedown"===e&&(a=!1!==Ga(t,22)._handleMousedown(n)&&a),"keydown"===e&&(a=!1!==Ga(t,22)._handleKeydown(n)&&a),"click"===e&&(a=!1!==Ga(t,22)._handleClick(n)&&a),a},Nv,Dv)),so(21,180224,[[1,4]],0,Pv,[an,ol,vp,[2,bv]],null,null),so(22,1196032,null,0,Sv,[cO,an,Rn,xv,[2,yv],[6,Pv],[2,Ig],vp],{menu:[0,"menu"]},null),so(23,16384,null,0,EC,[an],null,null),(t()(),Xr(-1,0,["Auto Create Playlists By Name"])),(t()(),Fr(25,0,null,0,2,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(t,e,n){var a=!0,o=t.component;return"click"===e&&(a=!1!==Ga(t,26)._checkDisabled(n)&&a),"mouseenter"===e&&(a=!1!==Ga(t,26)._handleMouseEnter()&&a),"click"===e&&(a=!1!==o.clickAutoDifficulty()&&a),a},Nv,Dv)),so(26,180224,[[1,4]],0,Pv,[an,ol,vp,[2,bv]],null,null),(t()(),Xr(-1,0,["Auto Create Playlists By Difficulty"])),(t()(),Fr(28,0,null,null,21,"mat-menu",[],null,null,null,Av,Iv)),so(29,1294336,[["subMenuNameCount",4]],2,vv,[an,Jo,Ov],null,null),Ur(603979776,3,{items:1}),Ur(603979776,4,{lazyContent:0}),co(2048,null,yv,null,[vv]),co(2048,null,bv,null,[yv]),(t()(),Fr(34,0,null,0,3,"button",[["class","mat-menu-item"],["fast-click",""],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(t,e,n){var a=!0,o=t.component;return"click"===e&&(a=!1!==Ga(t,35)._checkDisabled(n)&&a),"mouseenter"===e&&(a=!1!==Ga(t,35)._handleMouseEnter()&&a),"click"===e&&(a=!1!==o.clickAutoName(10)&&a),a},Nv,Dv)),so(35,180224,[[3,4]],0,Pv,[an,ol,vp,[2,bv]],null,null),so(36,16384,null,0,EC,[an],null,null),(t()(),Xr(-1,0,["10 Per Playlist"])),(t()(),Fr(38,0,null,0,3,"button",[["class","mat-menu-item"],["fast-click",""],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(t,e,n){var a=!0,o=t.component;return"click"===e&&(a=!1!==Ga(t,39)._checkDisabled(n)&&a),"mouseenter"===e&&(a=!1!==Ga(t,39)._handleMouseEnter()&&a),"click"===e&&(a=!1!==o.clickAutoName(20)&&a),a},Nv,Dv)),so(39,180224,[[3,4]],0,Pv,[an,ol,vp,[2,bv]],null,null),so(40,16384,null,0,EC,[an],null,null),(t()(),Xr(-1,0,["20 Per Playlist"])),(t()(),Fr(42,0,null,0,3,"button",[["class","mat-menu-item"],["fast-click",""],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(t,e,n){var a=!0,o=t.component;return"click"===e&&(a=!1!==Ga(t,43)._checkDisabled(n)&&a),"mouseenter"===e&&(a=!1!==Ga(t,43)._handleMouseEnter()&&a),"click"===e&&(a=!1!==o.clickAutoName(50)&&a),a},Nv,Dv)),so(43,180224,[[3,4]],0,Pv,[an,ol,vp,[2,bv]],null,null),so(44,16384,null,0,EC,[an],null,null),(t()(),Xr(-1,0,["50 Per Playlist"])),(t()(),Fr(46,0,null,0,3,"button",[["class","mat-menu-item"],["fast-click",""],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(t,e,n){var a=!0,o=t.component;return"click"===e&&(a=!1!==Ga(t,47)._checkDisabled(n)&&a),"mouseenter"===e&&(a=!1!==Ga(t,47)._handleMouseEnter()&&a),"click"===e&&(a=!1!==o.clickAutoName(100)&&a),a},Nv,Dv)),so(47,180224,[[3,4]],0,Pv,[an,ol,vp,[2,bv]],null,null),so(48,16384,null,0,EC,[an],null,null),(t()(),Xr(-1,0,["100 Per Playlist"])),(t()(),Fr(50,0,null,null,18,"ngu-carousel",[],null,null,null,Xy,Ky)),so(51,5750784,[["myCarousel",4]],3,Gy,[an,cn,yn,No,xn],{inputs:[0,"inputs"],dataSource:[1,"dataSource"]},null),Ur(603979776,5,{_defDirec:1}),Ur(335544320,6,{nextBtn:0}),Ur(335544320,7,{prevBtn:0}),(t()(),Fr(55,0,[[7,0]],0,5,"button",[["NguCarouselPrev",""],["class","leftRs"],["fast-click",""]],null,null,null,null,null)),so(56,16384,null,0,qy,[],null,null),so(57,16384,null,0,EC,[an],null,null),(t()(),Fr(58,0,null,null,2,"mat-icon",[["class","arrow mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Mf,Of)),so(59,9158656,null,0,Cf,[an,df,[8,null],[2,pf]],null,null),(t()(),Xr(-1,0,["details"])),(t()(),Lr(0,null,null,1,null,qv)),so(62,16384,[[5,4]],0,Wy,[Tn],null,null),(t()(),Fr(63,0,[[6,0]],1,5,"button",[["NguCarouselNext",""],["class","rightRs"],["fast-click",""]],null,null,null,null,null)),so(64,16384,null,0,$y,[],null,null),so(65,16384,null,0,EC,[an],null,null),(t()(),Fr(66,0,null,null,2,"mat-icon",[["class","arrow mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Mf,Of)),so(67,9158656,null,0,Cf,[an,df,[8,null],[2,pf]],null,null),(t()(),Xr(-1,0,["details"]))],function(t,e){var n=e.component;t(e,2,0,"accent"),t(e,5,0),t(e,8,0,"accent"),t(e,9,0,Ga(e,15)),t(e,12,0),t(e,15,0),t(e,22,0,Ga(e,29)),t(e,29,0),t(e,51,0,n.carouselTile,n.playlists),t(e,59,0),t(e,67,0)},function(t,e){t(e,1,0,Ga(e,2).disabled||null,"NoopAnimations"===Ga(e,2)._animationMode),t(e,4,0,Ga(e,5).inline,"primary"!==Ga(e,5).color&&"accent"!==Ga(e,5).color&&"warn"!==Ga(e,5).color),t(e,7,0,Ga(e,8).disabled||null,"NoopAnimations"===Ga(e,8)._animationMode,Ga(e,9).menuOpen||null),t(e,11,0,Ga(e,12).inline,"primary"!==Ga(e,12).color&&"accent"!==Ga(e,12).color&&"warn"!==Ga(e,12).color),t(e,20,0,Ga(e,21).role,Ga(e,21)._highlighted,Ga(e,21)._triggersSubmenu,Ga(e,21)._getTabIndex(),Ga(e,21).disabled.toString(),Ga(e,21).disabled||null,Ga(e,22).menuOpen||null),t(e,25,0,Ga(e,26).role,Ga(e,26)._highlighted,Ga(e,26)._triggersSubmenu,Ga(e,26)._getTabIndex(),Ga(e,26).disabled.toString(),Ga(e,26).disabled||null),t(e,34,0,Ga(e,35).role,Ga(e,35)._highlighted,Ga(e,35)._triggersSubmenu,Ga(e,35)._getTabIndex(),Ga(e,35).disabled.toString(),Ga(e,35).disabled||null),t(e,38,0,Ga(e,39).role,Ga(e,39)._highlighted,Ga(e,39)._triggersSubmenu,Ga(e,39)._getTabIndex(),Ga(e,39).disabled.toString(),Ga(e,39).disabled||null),t(e,42,0,Ga(e,43).role,Ga(e,43)._highlighted,Ga(e,43)._triggersSubmenu,Ga(e,43)._getTabIndex(),Ga(e,43).disabled.toString(),Ga(e,43).disabled||null),t(e,46,0,Ga(e,47).role,Ga(e,47)._highlighted,Ga(e,47)._triggersSubmenu,Ga(e,47)._getTabIndex(),Ga(e,47).disabled.toString(),Ga(e,47).disabled||null),t(e,58,0,Ga(e,59).inline,"primary"!==Ga(e,59).color&&"accent"!==Ga(e,59).color&&"warn"!==Ga(e,59).color),t(e,66,0,Ga(e,67).inline,"primary"!==Ga(e,67).color&&"accent"!==Ga(e,67).color&&"warn"!==Ga(e,67).color)})}var Yv=Kn({encapsulation:2,styles:["cdk-virtual-scroll-viewport{display:block;position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:0}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:0}.cdk-virtual-scroll-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0}[dir=rtl] .cdk-virtual-scroll-spacer{right:0;left:auto;transform-origin:100% 0}"],data:{}});function Gv(t){return ei(2,[Ur(402653184,1,{_contentWrapper:0}),(t()(),Fr(1,0,[[1,0],["contentWrapper",1]],null,1,"div",[["class","cdk-virtual-scroll-content-wrapper"]],null,null,null,null,null)),Gr(null,0),(t()(),Fr(3,0,null,null,0,"div",[["class","cdk-virtual-scroll-spacer"]],[[4,"transform",null]],null,null,null,null))],null,function(t,e){t(e,3,0,e.component._totalContentSizeTransform)})}class Zv extends Lv{constructor(){super(...arguments),this.Type=Fv.DeleteSong}}const Qv=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e}ngOnInit(){}clickButton1(){this.dialogRef.close(1)}clickCancel(){this.dialogRef.close(-1)}}return t.ngInjectableDef=pt({factory:function(){return new t(St(bO),St(_O))},token:t,providedIn:"root"}),t})();class Kv extends Lv{constructor(){super(...arguments),this.Type=Fv.SortPlaylist}}class Xv{constructor(t,e){this.msgSvc=t,this.dialog=e,this._playlist={}}get playlist(){return this._playlist}set playlist(t){this._playlist=t,this.songlist=null==this._playlist||null==this._playlist.SongList?null:this._playlist.SongList.slice()}ngOnInit(){}drop(t){}getBackground(t){return cs.API_ENDPOINT+"/host/beatsaber/song/cover?songid="+t.SongID}clickSortName(t){var e=new Kv;e.PlaylistID=this._playlist.PlaylistID,e.SortMode=ds.Name,e.Reverse=t,this.msgSvc.sendClientMessage(e)}clickSortDifficulty(t){var e=new Kv;e.PlaylistID=this._playlist.PlaylistID,e.SortMode=ds.MaxDifficulty,e.Reverse=t,this.msgSvc.sendClientMessage(e)}clickDeleteSong(t){this.dialog.open(Qv,{width:"450px",height:"180px",disableClose:!0,data:{title:"Delete "+t.SongName+"?",subTitle:"Are you sure you want to delete this song?",button1Text:"Yes"}}).afterClosed().subscribe(e=>{if(1==e){var n=new Zv;n.SongID=t.SongID,this.msgSvc.sendClientMessage(n)}})}}var Jv=Kn({encapsulation:0,styles:[[".viewport[_ngcontent-%COMP%]{height:100%;width:350px;border:none}.sort[_ngcontent-%COMP%]{margin-left:60px;display:inline-block}.songCount[_ngcontent-%COMP%]{font-size:10px;font-style:italic;color:#d3d3d3;margin-left:60px;display:inline-block}.deleteSong[_ngcontent-%COMP%]{position:absolute;top:0;right:0;color:red;border-radius:50%;width:25px;height:25px;background-color:#000;font-size:24px;cursor:pointer}.song[_ngcontent-%COMP%]{display:flex;width:300px;height:50px}.song[_ngcontent-%COMP%] mat-card-title[_ngcontent-%COMP%]{font-size:16px}.song[_ngcontent-%COMP%] mat-card-subtitle[_ngcontent-%COMP%]{font-size:12px;width:220px}.songArtist[_ngcontent-%COMP%]{font-size:12px;margin-left:8px;margin-top:3px}.handle[_ngcontent-%COMP%]{padding-top:5px;position:absolute;top:0;left:0;color:#555;cursor:move;width:24px;height:100%}.songTitle[_ngcontent-%COMP%]{font-size:16px;margin-left:8px}.songCover[_ngcontent-%COMP%]{width:60px;display:inline-block;height:60px;min-width:60px;margin-left:14px}.mapper[_ngcontent-%COMP%]{font-size:12px;margin-left:8px;margin-top:3px;font-style:italic}.handle[_ngcontent-%COMP%] hr[_ngcontent-%COMP%]{display:inline-block;margin-left:2.5px;height:80px;width:.1px;border:.5px solid}"]],data:{}});function tx(t){return ei(0,[(t()(),Fr(0,16777216,null,null,6,"button",[["aria-haspopup","true"],["class","sort"],["color","accent"],["fast-click",""],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],function(t,e,n){var a=!0;return"mousedown"===e&&(a=!1!==Ga(t,2)._handleMousedown(n)&&a),"keydown"===e&&(a=!1!==Ga(t,2)._handleKeydown(n)&&a),"click"===e&&(a=!1!==Ga(t,2)._handleClick(n)&&a),a},SC,kC)),so(1,180224,null,0,wf,[an,vp,[2,xC]],{color:[0,"color"]},null),so(2,1196032,null,0,Sv,[cO,an,Rn,xv,[2,yv],[8,null],[2,Ig],vp],{menu:[0,"menu"]},null),so(3,16384,null,0,EC,[an],null,null),(t()(),Fr(4,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Mf,Of)),so(5,9158656,null,0,Cf,[an,df,[8,null],[2,pf]],null,null),(t()(),Xr(-1,0,["sort"])),(t()(),Lr(0,null,null,0))],function(t,e){t(e,1,0,"accent"),t(e,2,0,Ga(e.parent,5)),t(e,5,0)},function(t,e){t(e,0,0,Ga(e,1).disabled||null,"NoopAnimations"===Ga(e,1)._animationMode,Ga(e,2).menuOpen||null),t(e,4,0,Ga(e,5).inline,"primary"!==Ga(e,5).color&&"accent"!==Ga(e,5).color&&"warn"!==Ga(e,5).color)})}function ex(t){return ei(0,[(t()(),Fr(0,0,null,null,1,"div",[["class","songCount"]],null,null,null,null,null)),(t()(),Xr(1,null,[""," song(s) in ",""]))],null,function(t,e){var n=e.component;t(e,1,0,null==n.playlist?null:null==n.playlist.SongList?null:n.playlist.SongList.length,null==n.playlist?null:n.playlist.PlaylistName)})}function nx(t){return ei(0,[(t()(),Fr(0,0,null,null,1,"div",[["class","mapper"]],null,null,null,null,null)),(t()(),Xr(1,null,["Mapped By ",""]))],null,function(t,e){t(e,1,0,null==e.parent.context.$implicit?null:e.parent.context.$implicit.LevelAuthorName)})}function ax(t){return ei(0,[(t()(),Fr(0,16777216,null,null,25,"mat-card",[["cdkDrag",""],["class","song mat-card cdk-drag"]],[[1,"songid",0],[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],null,null,Xp,Kp)),so(1,49152,null,0,kg,[],null,null),so(2,4866048,[[9,4]],3,Ey,[an,[3,xy],ol,Jo,Rn,Sy,[2,Ig],vy,xn],null,null),Ur(603979776,10,{_handles:1}),Ur(603979776,11,{_previewTemplate:0}),Ur(603979776,12,{_placeholderTemplate:0}),co(2048,null,wy,null,[Ey]),(t()(),Fr(7,0,null,0,7,"div",[["cdkDragHandle",""],["class","cdk-drag-handle"]],null,null,null,null,null)),so(8,147456,[[10,4]],0,ky,[an,[2,wy]],null,null),(t()(),Fr(9,0,null,null,4,"div",[["class","handle"]],null,null,null,null,null)),(t()(),Fr(10,0,null,null,0,"hr",[["height","40"],["width","1"]],null,null,null,null,null)),(t()(),Fr(11,0,null,null,0,"hr",[["height","40"],["width","1"]],null,null,null,null,null)),(t()(),Fr(12,0,null,null,0,"hr",[["height","40"],["width","1"]],null,null,null,null,null)),(t()(),Fr(13,0,null,null,0,"hr",[["height","40"],["width","1"]],null,null,null,null,null)),(t()(),Fr(14,0,null,null,0,"img",[["class","songCover"]],[[8,"src",4]],null,null,null,null)),(t()(),Fr(15,0,null,0,6,"div",[["class","songNames"]],null,null,null,null,null)),(t()(),Fr(16,0,null,null,1,"div",[["class","songTitle"]],null,null,null,null,null)),(t()(),Xr(17,null,["",""])),(t()(),Fr(18,0,null,null,1,"div",[["class","songArtist"]],null,null,null,null,null)),(t()(),Xr(19,null,["",""])),(t()(),Lr(16777216,null,null,1,null,nx)),so(21,16384,null,0,js,[Rn,Tn],{ngIf:[0,"ngIf"]},null),(t()(),Fr(22,0,null,0,3,"div",[["class","deleteSong"]],null,[[null,"click"]],function(t,e,n){var a=!0;return"click"===e&&(a=!1!==t.component.clickDeleteSong(t.context.$implicit)&&a),a},null,null)),(t()(),Fr(23,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Mf,Of)),so(24,9158656,null,0,Cf,[an,df,[8,null],[2,pf]],null,null),(t()(),Xr(-1,0,["delete_forever"])),(t()(),Lr(0,null,null,0))],function(t,e){t(e,21,0,null==e.context.$implicit?null:null==e.context.$implicit.LevelAuthorName?null:e.context.$implicit.LevelAuthorName.length),t(e,24,0)},function(t,e){var n=e.component;t(e,0,0,e.context.$implicit.SongID,Ga(e,2).disabled,Ga(e,2)._dragRef.isDragging()),t(e,14,0,n.getBackground(e.context.$implicit)),t(e,17,0,null==e.context.$implicit?null:e.context.$implicit.SongName),t(e,19,0,null==e.context.$implicit?null:e.context.$implicit.SongAuthorName),t(e,23,0,Ga(e,24).inline,"primary"!==Ga(e,24).color&&"accent"!==Ga(e,24).color&&"warn"!==Ga(e,24).color)})}function ox(t){return ei(0,[(t()(),Lr(16777216,null,null,1,null,tx)),so(1,16384,null,0,js,[Rn,Tn],{ngIf:[0,"ngIf"]},null),(t()(),Lr(16777216,null,null,1,null,ex)),so(3,16384,null,0,js,[Rn,Tn],{ngIf:[0,"ngIf"]},null),(t()(),Fr(4,0,null,null,14,"mat-menu",[],null,null,null,Av,Iv)),so(5,1294336,[["menu",4]],2,vv,[an,Jo,Ov],null,null),Ur(603979776,1,{items:1}),Ur(603979776,2,{lazyContent:0}),co(2048,null,yv,null,[vv]),co(2048,null,bv,null,[yv]),(t()(),Fr(10,16777216,null,0,4,"button",[["aria-haspopup","true"],["class","mat-menu-item"],["fast-click",""],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],function(t,e,n){var a=!0;return"click"===e&&(a=!1!==Ga(t,11)._checkDisabled(n)&&a),"mouseenter"===e&&(a=!1!==Ga(t,11)._handleMouseEnter()&&a),"mousedown"===e&&(a=!1!==Ga(t,12)._handleMousedown(n)&&a),"keydown"===e&&(a=!1!==Ga(t,12)._handleKeydown(n)&&a),"click"===e&&(a=!1!==Ga(t,12)._handleClick(n)&&a),a},Nv,Dv)),so(11,180224,[[1,4]],0,Pv,[an,ol,vp,[2,bv]],null,null),so(12,1196032,null,0,Sv,[cO,an,Rn,xv,[2,yv],[6,Pv],[2,Ig],vp],{menu:[0,"menu"]},null),so(13,16384,null,0,EC,[an],null,null),(t()(),Xr(-1,0,["Sort By Name"])),(t()(),Fr(15,16777216,null,0,3,"button",[["aria-haspopup","true"],["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],function(t,e,n){var a=!0;return"click"===e&&(a=!1!==Ga(t,16)._checkDisabled(n)&&a),"mouseenter"===e&&(a=!1!==Ga(t,16)._handleMouseEnter()&&a),"mousedown"===e&&(a=!1!==Ga(t,17)._handleMousedown(n)&&a),"keydown"===e&&(a=!1!==Ga(t,17)._handleKeydown(n)&&a),"click"===e&&(a=!1!==Ga(t,17)._handleClick(n)&&a),a},Nv,Dv)),so(16,180224,[[1,4]],0,Pv,[an,ol,vp,[2,bv]],null,null),so(17,1196032,null,0,Sv,[cO,an,Rn,xv,[2,yv],[6,Pv],[2,Ig],vp],{menu:[0,"menu"]},null),(t()(),Xr(-1,0,["Sort By Difficulty"])),(t()(),Fr(19,0,null,null,11,"mat-menu",[],null,null,null,Av,Iv)),so(20,1294336,[["subMenuName",4]],2,vv,[an,Jo,Ov],null,null),Ur(603979776,3,{items:1}),Ur(603979776,4,{lazyContent:0}),co(2048,null,yv,null,[vv]),co(2048,null,bv,null,[yv]),(t()(),Fr(25,0,null,0,2,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(t,e,n){var a=!0,o=t.component;return"click"===e&&(a=!1!==Ga(t,26)._checkDisabled(n)&&a),"mouseenter"===e&&(a=!1!==Ga(t,26)._handleMouseEnter()&&a),"click"===e&&(a=!1!==o.clickSortName(!0)&&a),a},Nv,Dv)),so(26,180224,[[3,4]],0,Pv,[an,ol,vp,[2,bv]],null,null),(t()(),Xr(-1,0,["A-Z"])),(t()(),Fr(28,0,null,0,2,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(t,e,n){var a=!0,o=t.component;return"click"===e&&(a=!1!==Ga(t,29)._checkDisabled(n)&&a),"mouseenter"===e&&(a=!1!==Ga(t,29)._handleMouseEnter()&&a),"click"===e&&(a=!1!==o.clickSortName(!1)&&a),a},Nv,Dv)),so(29,180224,[[3,4]],0,Pv,[an,ol,vp,[2,bv]],null,null),(t()(),Xr(-1,0,["Z-A"])),(t()(),Fr(31,0,null,null,11,"mat-menu",[],null,null,null,Av,Iv)),so(32,1294336,[["subMenuDifficulty",4]],2,vv,[an,Jo,Ov],null,null),Ur(603979776,5,{items:1}),Ur(603979776,6,{lazyContent:0}),co(2048,null,yv,null,[vv]),co(2048,null,bv,null,[yv]),(t()(),Fr(37,0,null,0,2,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(t,e,n){var a=!0,o=t.component;return"click"===e&&(a=!1!==Ga(t,38)._checkDisabled(n)&&a),"mouseenter"===e&&(a=!1!==Ga(t,38)._handleMouseEnter()&&a),"click"===e&&(a=!1!==o.clickSortDifficulty(!1)&&a),a},Nv,Dv)),so(38,180224,[[5,4]],0,Pv,[an,ol,vp,[2,bv]],null,null),(t()(),Xr(-1,0,["Easy to Expert+"])),(t()(),Fr(40,0,null,0,2,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(t,e,n){var a=!0,o=t.component;return"click"===e&&(a=!1!==Ga(t,41)._checkDisabled(n)&&a),"mouseenter"===e&&(a=!1!==Ga(t,41)._handleMouseEnter()&&a),"click"===e&&(a=!1!==o.clickSortDifficulty(!0)&&a),a},Nv,Dv)),so(41,180224,[[5,4]],0,Pv,[an,ol,vp,[2,bv]],null,null),(t()(),Xr(-1,0,["Expert+ to Easy"])),(t()(),Fr(43,0,null,null,14,"mat-menu",[],null,null,null,Av,Iv)),so(44,1294336,[["subMenu",4]],2,vv,[an,Jo,Ov],null,null),Ur(603979776,7,{items:1}),Ur(603979776,8,{lazyContent:0}),co(2048,null,yv,null,[vv]),co(2048,null,bv,null,[yv]),(t()(),Fr(49,0,null,0,2,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(t,e,n){var a=!0;return"click"===e&&(a=!1!==Ga(t,50)._checkDisabled(n)&&a),"mouseenter"===e&&(a=!1!==Ga(t,50)._handleMouseEnter()&&a),a},Nv,Dv)),so(50,180224,[[7,4]],0,Pv,[an,ol,vp,[2,bv]],null,null),(t()(),Xr(-1,0,["Shut down"])),(t()(),Fr(52,0,null,0,2,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(t,e,n){var a=!0;return"click"===e&&(a=!1!==Ga(t,53)._checkDisabled(n)&&a),"mouseenter"===e&&(a=!1!==Ga(t,53)._handleMouseEnter()&&a),a},Nv,Dv)),so(53,180224,[[7,4]],0,Pv,[an,ol,vp,[2,bv]],null,null),(t()(),Xr(-1,0,["Restart"])),(t()(),Fr(55,0,null,0,2,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(t,e,n){var a=!0;return"click"===e&&(a=!1!==Ga(t,56)._checkDisabled(n)&&a),"mouseenter"===e&&(a=!1!==Ga(t,56)._handleMouseEnter()&&a),a},Nv,Dv)),so(56,180224,[[7,4]],0,Pv,[an,ol,vp,[2,bv]],null,null),(t()(),Xr(-1,0,["Hibernate"])),(t()(),Fr(58,0,null,null,10,"cdk-virtual-scroll-viewport",[["cdkDropList",""],["cdkDropListConnectedTo","playlist-drop-list"],["class","viewport cdk-virtual-scroll-viewport cdk-drop-list"],["id","songs-drop-list"],["itemSize","50"]],[[2,"cdk-virtual-scroll-orientation-horizontal",null],[2,"cdk-virtual-scroll-orientation-vertical",null],[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"]],function(t,e,n){var a=!0;return"cdkDropListDropped"===e&&(a=!1!==t.component.drop(n)&&a),a},Gv,Yv)),co(6144,null,xy,null,[Ay]),co(6144,null,TP,null,[RP]),so(61,540672,null,0,kP,[],{itemSize:[0,"itemSize"]},null),co(1024,null,vP,wP,[kP]),so(63,245760,null,0,RP,[an,xn,Jo,[2,vP],[2,Ig],EP],null,null),so(64,1196032,null,1,Ay,[an,vy,xn,[2,Ig],[3,Iy]],{connectedTo:[0,"connectedTo"],data:[1,"data"],id:[2,"id"]},{dropped:"cdkDropListDropped"}),Ur(603979776,9,{_draggables:1}),co(256,null,Iy,void 0,[]),(t()(),Lr(16777216,null,0,1,null,ax)),so(68,409600,null,0,DP,[Rn,Tn,yn,[1,RP],Jo],{cdkVirtualForOf:[0,"cdkVirtualForOf"]},null)],function(t,e){var n=e.component;t(e,1,0,n.playlist&&n.playlist.SongList),t(e,3,0,n.playlist&&n.playlist.SongList),t(e,5,0),t(e,12,0,Ga(e,20)),t(e,17,0,Ga(e,32)),t(e,20,0),t(e,32,0),t(e,44,0),t(e,61,0,"50"),t(e,63,0),t(e,64,0,"playlist-drop-list",n.playlist,"songs-drop-list"),t(e,68,0,n.songlist)},function(t,e){t(e,10,0,Ga(e,11).role,Ga(e,11)._highlighted,Ga(e,11)._triggersSubmenu,Ga(e,11)._getTabIndex(),Ga(e,11).disabled.toString(),Ga(e,11).disabled||null,Ga(e,12).menuOpen||null),t(e,15,0,Ga(e,16).role,Ga(e,16)._highlighted,Ga(e,16)._triggersSubmenu,Ga(e,16)._getTabIndex(),Ga(e,16).disabled.toString(),Ga(e,16).disabled||null,Ga(e,17).menuOpen||null),t(e,25,0,Ga(e,26).role,Ga(e,26)._highlighted,Ga(e,26)._triggersSubmenu,Ga(e,26)._getTabIndex(),Ga(e,26).disabled.toString(),Ga(e,26).disabled||null),t(e,28,0,Ga(e,29).role,Ga(e,29)._highlighted,Ga(e,29)._triggersSubmenu,Ga(e,29)._getTabIndex(),Ga(e,29).disabled.toString(),Ga(e,29).disabled||null),t(e,37,0,Ga(e,38).role,Ga(e,38)._highlighted,Ga(e,38)._triggersSubmenu,Ga(e,38)._getTabIndex(),Ga(e,38).disabled.toString(),Ga(e,38).disabled||null),t(e,40,0,Ga(e,41).role,Ga(e,41)._highlighted,Ga(e,41)._triggersSubmenu,Ga(e,41)._getTabIndex(),Ga(e,41).disabled.toString(),Ga(e,41).disabled||null),t(e,49,0,Ga(e,50).role,Ga(e,50)._highlighted,Ga(e,50)._triggersSubmenu,Ga(e,50)._getTabIndex(),Ga(e,50).disabled.toString(),Ga(e,50).disabled||null),t(e,52,0,Ga(e,53).role,Ga(e,53)._highlighted,Ga(e,53)._triggersSubmenu,Ga(e,53)._getTabIndex(),Ga(e,53).disabled.toString(),Ga(e,53).disabled||null),t(e,55,0,Ga(e,56).role,Ga(e,56)._highlighted,Ga(e,56)._triggersSubmenu,Ga(e,56)._getTabIndex(),Ga(e,56).disabled.toString(),Ga(e,56).disabled||null),t(e,58,0,"horizontal"===Ga(e,63).orientation,"horizontal"!==Ga(e,63).orientation,Ga(e,64).id,Ga(e,64).disabled,Ga(e,64)._dropListRef.isDragging(),Ga(e,64)._dropListRef.isReceiving())})}class rx{constructor(t,e){this.beatOnApi=t,this.configSvc=e,this.selectedPlaylist={}}selectedPlaylistChanged(t){this.selectedPlaylist=t}ngOnInit(){this.configSvc.getConfig().subscribe(t=>{this.config=t.Config}),this.configSvc.configUpdated.subscribe(t=>{this.config=t.Config})}}var ix=Kn({encapsulation:0,styles:[[".container[_ngcontent-%COMP%]{display:flex;width:100%;height:93%}"]],data:{}});function sx(t){return ei(0,[(t()(),Fr(0,0,null,null,6,"div",[["cdkDropListGroup",""],["class","container"]],null,null,null,null,null)),so(1,147456,null,0,Iy,[],null,null),(t()(),Fr(2,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),Fr(3,0,null,null,1,"app-playlist-slider",[],null,[[null,"selectedPlaylist"]],function(t,e,n){var a=!0;return"selectedPlaylist"===e&&(a=!1!==t.component.selectedPlaylistChanged(n)&&a),a},Wv,$v)),so(4,114688,null,0,Uv,[MO,ng,Ul,zh],{playlists:[0,"playlists"]},{selectedPlaylist:"selectedPlaylist"}),(t()(),Fr(5,0,null,null,1,"app-playlist-songs",[],null,null,null,ox,Jv)),so(6,114688,null,0,Xv,[zh,MO],{playlist:[0,"playlist"]},null)],function(t,e){var n=e.component;t(e,4,0,n.config.Playlists),t(e,6,0,n.selectedPlaylist)},null)}function lx(t){return ei(0,[(t()(),Fr(0,0,null,null,1,"app-main-playlists",[["class","fullheight"]],null,null,null,sx,ix)),so(1,114688,null,0,rx,[Ul,ng],null,null)],function(t,e){t(e,1,0)},null)}var cx=La("app-main-playlists",rx,lx,{},{},[]);class dx{constructor(t){this.sanitizer=t}transform(t){return this.sanitizer.bypassSecurityTrustResourceUrl(t)}}class ux{constructor(t,e){this.toolbarEvents=t,this.appIntegration=e,this.browserUrl="https://www.bsaber.com",this.hideIframe=!1,t.backClicked.subscribe(()=>{this.appIntegration.isAppLoaded()?e.browserGoBack():window.history.back()}),t.refreshClicked.subscribe(()=>{this.appIntegration.isAppLoaded()?e.refreshBrowser():this.browser.nativeElement.src=this.browserUrl}),t.navigate.subscribe(t=>{this.appIntegration.isAppLoaded()?e.navigateBrowser(t):this.browserUrl=t})}ngOnInit(){console.log("trying to show browser"),this.appIntegration.isAppLoaded()&&(this.hideIframe=!0,this.appIntegration.showBrowser(),this.appIntegration.navigateBrowser(this.browserUrl))}ngOnDestroy(){console.log("trying to hide browser"),this.appIntegration.isAppLoaded()&&this.appIntegration.hideBrowser()}iframeLoaded(t){console.log("iframe has loaded "+t.src)}}var mx=Kn({encapsulation:0,styles:[["iframe[_ngcontent-%COMP%]{display:block;width:100%;height:100%;border:none}"]],data:{}});function hx(t){return ei(0,[(t()(),Fr(0,0,[[1,0],["browser",1]],null,2,"iframe",[["fxFlexFill",""]],[[8,"src",5]],[[null,"load"]],function(t,e,n){var a=!0,o=t.component;return"load"===e&&(a=!1!==o.iframeLoaded(o)&&a),a},null,null)),so(1,671744,null,0,BM,[an,wM,VM,SM],null,null),Kr(128,2,new Array(2))],null,function(t,e){var n=e.component,a=Gn(e,0,0,t(e,2,0,Ga(e.parent,0),n.browserUrl));t(e,0,0,a)})}function gx(t){return ei(0,[lo(0,dx,[Id]),Ur(671088640,1,{browser:0}),(t()(),Lr(16777216,null,null,1,null,hx)),so(3,16384,null,0,js,[Rn,Tn],{ngIf:[0,"ngIf"]},null)],function(t,e){t(e,3,0,!e.component.hideIframe)},null)}function px(t){return ei(0,[(t()(),Fr(0,0,null,null,1,"app-main-browser",[["class","fullheight"]],null,null,null,gx,mx)),so(1,245760,null,0,ux,[ig,ag],null,null)],function(t,e){t(e,1,0)},null)}var fx=La("app-main-browser",ux,px,{},{},[]);class bx{constructor(t,e,n){this.beatOnApi=t,this.dialog=e,this.router=n}clickUninstallBeatSaber(){const t=this.dialog.open(og,{width:"450px",height:"350px",disableClose:!0,data:{mainText:"Please wait..."}});this.beatOnApi.uninstallBeatSaber().subscribe(e=>{t.close(),this.router.navigateByUrl("/")},e=>{t.close()})}clickResetAssets(){const t=this.dialog.open(og,{width:"450px",height:"350px",disableClose:!0,data:{mainText:"Please wait..."}});this.beatOnApi.resetAssets().subscribe(e=>{t.close(),window.dispatchEvent(new MessageEvent("host-message",{data:{ToastType:Lh.Info,Timeout:3e3,Title:"Assets reset.",Message:""}}))},e=>{t.close(),window.dispatchEvent(new MessageEvent("host-message",{data:{ToastType:Lh.Error,Timeout:8e3,Title:"Error resetting assets!",Message:e}}))})}clickReloadSongsFolder(){const t=this.dialog.open(og,{width:"450px",height:"350px",disableClose:!0,data:{mainText:"Loading Songs Folder. Please wait..."}});this.beatOnApi.reloadSongsFromFolders().subscribe(e=>{t.close()},e=>{t.close(),window.dispatchEvent(new MessageEvent("host-message",{data:{ToastType:Lh.Error,Timeout:8e3,Title:"Error reloading songs folder!",Message:e}}))})}ngOnInit(){this.beatOnApi.getNetInfo().subscribe(t=>{this.netInfo=t})}}var _x=Kn({encapsulation:0,styles:[['@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28121em) scale(.75);transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}@-webkit-keyframes cdk-text-field-autofill-start{}@-webkit-keyframes cdk-text-field-autofill-end{}.mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-option[_ngcontent-%COMP%]{color:#fff}.mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple):not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:focus:not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:hover:not(.mat-option-disabled){background:rgba(255,255,255,.04)}.mat-option.mat-active[_ngcontent-%COMP%]{background:rgba(255,255,255,.04);color:#fff}.mat-option.mat-option-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-primary[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ad2c2c}.mat-accent[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#216bad}.mat-warn[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ff5722}.mat-optgroup-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-optgroup-disabled[_ngcontent-%COMP%] .mat-optgroup-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-pseudo-checkbox[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-pseudo-checkbox[_ngcontent-%COMP%]::after{color:#303030}.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{color:#686868}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%], .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#216bad}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ad2c2c}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ff5722}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{background:#686868}.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-app-background[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-theme-loaded-marker[_ngcontent-%COMP%]{display:none}.mat-autocomplete-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-autocomplete-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover){background:#424242}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#fff}@media (-ms-high-contrast:active){.mat-badge-content[_ngcontent-%COMP%]{outline:solid 1px;border-radius:0}.mat-checkbox-disabled[_ngcontent-%COMP%]{opacity:.5}}.mat-badge-accent[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-badge-warn[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ff5722}.mat-badge[_ngcontent-%COMP%]{position:relative}.mat-badge-hidden[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{display:none}.mat-badge-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#6e6e6e;color:rgba(255,255,255,.5)}.mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ad2c2c;position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out;-webkit-transform:scale(.6);transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;font-weight:600;font-size:12px;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-badge-content._mat-animation-noopable[_ngcontent-%COMP%], .ng-animate-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{transition:none}.mat-badge-content.mat-badge-active[_ngcontent-%COMP%]{-webkit-transform:none;transform:none}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:16px;height:16px;line-height:16px;font-size:9px}.mat-badge-small.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-8px}.mat-badge-small.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-8px}.mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-16px}.mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-8px}.mat-badge-medium[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-11px}.mat-badge-medium.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-11px}.mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-22px}.mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-11px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:28px;height:28px;line-height:28px;font-size:24px}.mat-badge-large.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-14px}.mat-badge-large.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-14px}.mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-28px}.mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-14px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{color:inherit;background:0 0}.mat-button.mat-primary[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-button[disabled][disabled][_ngcontent-%COMP%], .mat-icon-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-icon-button[disabled][disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-stroked-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ff5722}.mat-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:transparent}.mat-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{opacity:.1;background-color:currentColor}.mat-button-focus-overlay[_ngcontent-%COMP%]{background:#fff}.mat-stroked-button[_ngcontent-%COMP%]:not([disabled]){border-color:rgba(255,255,255,.12)}.mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%]{color:#fff;background-color:#424242}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{color:#fff}.mat-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-fab[disabled][disabled][_ngcontent-%COMP%], .mat-flat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-flat-button[disabled][disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-mini-fab[disabled][disabled][_ngcontent-%COMP%], .mat-raised-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-raised-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:rgba(255,255,255,.12)}.mat-fab.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-flat-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-stroked-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-raised-button[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-button-toggle-group[_ngcontent-%COMP%], .mat-button-toggle-standalone[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%], .mat-button-toggle-standalone.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{box-shadow:none;border:1px solid rgba(255,255,255,.12)}.mat-button-toggle[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-button-toggle[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff;background:#424242}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:#fff}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12)}[dir=rtl][_ngcontent-%COMP%] .mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:none;border-top:1px solid rgba(255,255,255,.12)}.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#212121;color:rgba(255,255,255,.7)}.mat-button-toggle-checked.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff}.mat-button-toggle-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:#000}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{background:#424242}.mat-button-toggle-disabled.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#424242}.mat-card[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-card[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-card.mat-card-flat[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-card-subtitle[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-checkbox-frame[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-checkbox-checkmark[_ngcontent-%COMP%]{fill:#303030}.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#303030!important}@media (-ms-high-contrast:black-on-white){.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#000!important}}.mat-checkbox-mixedmark[_ngcontent-%COMP%]{background-color:#303030}.mat-checkbox-checked.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-checkbox-checked.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#216bad}.mat-checkbox-checked.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ff5722}.mat-checkbox-disabled.mat-checkbox-checked[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-disabled.mat-checkbox-indeterminate[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%]:not(.mat-checkbox-checked) .mat-checkbox-frame[_ngcontent-%COMP%]{border-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}@media (-ms-high-contrast:active){.mat-checkbox-background[_ngcontent-%COMP%]{background:0 0}.mat-ripple-element[_ngcontent-%COMP%]{display:none}}.mat-checkbox[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%]{background:#ad2c2c}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%]{background:#216bad}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%]{background:#ff5722}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]{background-color:#616161;color:#fff}.mat-chip.mat-standard-chip[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled) .mat-chip-remove[_ngcontent-%COMP%]:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled[_ngcontent-%COMP%]{opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]::after{background:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-table[_ngcontent-%COMP%]{background:#424242}.mat-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%], .mat-table-sticky[_ngcontent-%COMP%], [mat-footer-row][_ngcontent-%COMP%], [mat-header-row][_ngcontent-%COMP%], [mat-row][_ngcontent-%COMP%], mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%]{background:inherit}mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%], td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{border-bottom-color:rgba(255,255,255,.12)}.mat-header-cell[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{color:#fff}.mat-calendar-arrow[_ngcontent-%COMP%]{border-top-color:#fff}.mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-next-button[_ngcontent-%COMP%], .mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-previous-button[_ngcontent-%COMP%], .mat-datepicker-toggle[_ngcontent-%COMP%]{color:#fff}.mat-calendar-table-header[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-calendar-table-header-divider[_ngcontent-%COMP%]::after{background:rgba(255,255,255,.12)}.mat-calendar-body-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-calendar-body-cell-content[_ngcontent-%COMP%]{color:#fff;border-color:transparent}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){color:rgba(255,255,255,.5)}.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .cdk-program-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .mat-calendar-body-cell[_ngcontent-%COMP%]:not(.mat-calendar-body-disabled):hover > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){background-color:rgba(255,255,255,.04)}.mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.5)}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.3)}.mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.4)}.mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#424242;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.4)}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.4)}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content-touch[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-datepicker-toggle-active[_ngcontent-%COMP%]{color:#ad2c2c}.mat-datepicker-toggle-active.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-datepicker-toggle-active.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-dialog-container[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-divider[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-divider-vertical[_ngcontent-%COMP%]{border-right-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-expansion-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-action-row[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-keyboard-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-program-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]):hover{background:rgba(255,255,255,.04)}@media (hover:none){.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header[_ngcontent-%COMP%]:hover{background:#424242}}.mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:#fff}.mat-expansion-indicator[_ngcontent-%COMP%]::after, .mat-expansion-panel-header-description[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%], .mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:inherit}.mat-form-field-label[_ngcontent-%COMP%], .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-focused[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#fff}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid) .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ad2c2c}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#216bad}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#ff5722}.mat-error[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7);bottom:1.25em}.mat-form-field-appearance-legacy.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7)}.mat-form-field-appearance-standard.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.05)}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:transparent}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#fff}.mat-form-field-appearance-outline.mat-focused[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field-appearance-outline.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-appearance-outline.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.15)}.mat-icon.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-icon.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-icon.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-type-mat-native-select[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:rgba(255,255,255,.7)}.mat-form-field-type-mat-native-select.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-input-element[_ngcontent-%COMP%]:disabled{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]{caret-color:#ad2c2c}.mat-input-element[_ngcontent-%COMP%]::-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-moz-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-webkit-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]{color:rgba(0,0,0,.87)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]:disabled{color:rgba(0,0,0,.38)}.mat-accent[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#216bad}.mat-form-field-invalid[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#ff5722}.mat-form-field-type-mat-native-select.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ff5722}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%], .mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{color:#fff}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-list-item-disabled[_ngcontent-%COMP%]{background-color:#000}.mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover, .mat-list-option[_ngcontent-%COMP%]:focus, .mat-list-option[_ngcontent-%COMP%]:hover, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover{background:rgba(255,255,255,.04)}.mat-menu-panel[_ngcontent-%COMP%]{background:#424242}.mat-menu-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-menu-item[_ngcontent-%COMP%]{background:0 0;color:#fff}.mat-menu-item[disabled][_ngcontent-%COMP%], .mat-menu-item[disabled][_ngcontent-%COMP%]::after{color:rgba(255,255,255,.5)}.mat-menu-item[_ngcontent-%COMP%] .mat-icon-no-color[_ngcontent-%COMP%], .mat-menu-item-submenu-trigger[_ngcontent-%COMP%]::after{color:#fff}.mat-menu-item-highlighted[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-keyboard-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-program-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item[_ngcontent-%COMP%]:hover:not([disabled]){background:rgba(255,255,255,.04)}.mat-paginator[_ngcontent-%COMP%]{background:#424242}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-paginator-decrement[_ngcontent-%COMP%], .mat-paginator-increment[_ngcontent-%COMP%]{border-top:2px solid #fff;border-right:2px solid #fff}.mat-paginator-first[_ngcontent-%COMP%], .mat-paginator-last[_ngcontent-%COMP%]{border-top:2px solid #fff}.mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-decrement[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-first[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-increment[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-last[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-progress-bar-background[_ngcontent-%COMP%]{fill:#e6c0c0}.mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#e6c0c0}.mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ad2c2c}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#216bad}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ff5722}.mat-progress-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ad2c2c}.mat-progress-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#216bad}.mat-progress-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ff5722}.mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ad2c2c}.mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#216bad}.mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#216bad}.mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ff5722}.mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ff5722}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-label-content[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-radio-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-select-value[_ngcontent-%COMP%]{color:#fff}.mat-select-disabled[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%], .mat-select-placeholder[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-select-panel[_ngcontent-%COMP%]{background:#424242}.mat-select-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-select-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple){background:rgba(255,255,255,.12)}.mat-form-field.mat-focused.mat-primary[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#216bad}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-invalid[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-form-field.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-disabled[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-drawer-container[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-drawer[_ngcontent-%COMP%]{background-color:#424242;color:#fff}.mat-drawer.mat-drawer-push[_ngcontent-%COMP%]{background-color:#424242}.mat-drawer[_ngcontent-%COMP%]:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-drawer-side[_ngcontent-%COMP%]{border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%] .mat-drawer-side[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12);border-right:none}[dir=rtl][_ngcontent-%COMP%] .mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-backdrop.mat-drawer-shown[_ngcontent-%COMP%]{background-color:rgba(189,189,189,.6)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.54)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.54)}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.54)}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle[_ngcontent-%COMP%]:not(.mat-checked) .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-slide-toggle-thumb[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#bdbdbd}.mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#216bad}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ff5722}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.2)}.cdk-focused[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%] .mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:#fff}.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing) .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3);background-color:transparent}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-has-ticks[_ngcontent-%COMP%] .mat-slider-wrapper[_ngcontent-%COMP%]::after{border-color:rgba(255,255,255,.7)}.mat-slider-horizontal[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to right,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-slider-vertical[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to bottom,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused[_ngcontent-%COMP%], .mat-step-header.cdk-program-focused[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%]:hover{background-color:rgba(255,255,255,.04)}@media (hover:none){.mat-step-header[_ngcontent-%COMP%]:hover{background:0 0}}.mat-step-header[_ngcontent-%COMP%] .mat-step-label[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-optional[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7);color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-selected[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-edit[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-error[_ngcontent-%COMP%]{background-color:transparent;color:#ff5722}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-active[_ngcontent-%COMP%]{color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-error[_ngcontent-%COMP%]{color:#ff5722}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{background-color:#424242}.mat-stepper-vertical-line[_ngcontent-%COMP%]::before{border-left-color:rgba(255,255,255,.12)}.mat-horizontal-stepper-header[_ngcontent-%COMP%]::after, .mat-horizontal-stepper-header[_ngcontent-%COMP%]::before, .mat-stepper-horizontal-line[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-sort-header-arrow[_ngcontent-%COMP%]{color:#c6c6c6}.mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[_ngcontent-%COMP%]{border-bottom:1px solid rgba(255,255,255,.12)}.mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-nav-bar[_ngcontent-%COMP%]{border-top:1px solid rgba(255,255,255,.12);border-bottom:none}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-tab-group[class*=mat-background-][_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[class*=mat-background-][_ngcontent-%COMP%]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-toolbar[_ngcontent-%COMP%]{background:#212121;color:#fff}.mat-toolbar.mat-primary[_ngcontent-%COMP%]{background:#ad2c2c;color:#fff}.mat-toolbar.mat-accent[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-toolbar.mat-warn[_ngcontent-%COMP%]{background:#ff5722;color:#fff}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:currentColor}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%]{color:inherit}.mat-toolbar[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:currentColor}.mat-tooltip[_ngcontent-%COMP%]{background:rgba(97,97,97,.9)}.mat-tree[_ngcontent-%COMP%]{background:#424242}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{color:#fff}.mat-snack-bar-container[_ngcontent-%COMP%]{color:rgba(0,0,0,.87);background:#fafafa;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 11.62px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 9.38px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,"Helvetica Neue",sans-serif}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,"Helvetica Neue",sans-serif;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34373em) scale(.75);transform:translateY(-1.34373em) scale(.75);width:133.3333533333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34372em) scale(.75);transform:translateY(-1.34372em) scale(.75);width:133.3333633333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00106px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00106px);-ms-transform:translateY(-1.28119em) scale(.75);width:133.3333933333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00107px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00107px);-ms-transform:translateY(-1.28118em) scale(.75);width:133.3334033333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00108px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00108px);-ms-transform:translateY(-1.28117em) scale(.75);width:133.3334133333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28116em) scale(.75);transform:translateY(-1.28116em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28115em) scale(.75);transform:translateY(-1.28115em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28114em) scale(.75);transform:translateY(-1.28114em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59373em) scale(.75);transform:translateY(-.59373em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59372em) scale(.75);transform:translateY(-.59372em) scale(.75);width:133.3333633333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59373em) scale(.75);transform:translateY(-1.59373em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59372em) scale(.75);transform:translateY(-1.59372em) scale(.75);width:133.3333633333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{color:inherit;line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,-webkit-transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1),-webkit-transform 0s cubic-bezier(0,0,.2,1);-webkit-transform:scale(0);transform:scale(0)}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation-name:cdk-text-field-autofill-start;animation-name:cdk-text-field-autofill-start}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation-name:cdk-text-field-autofill-end;animation-name:cdk-text-field-autofill-end}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{height:auto!important;overflow:hidden!important;padding:2px 0!important;box-sizing:content-box!important}button[_ngcontent-%COMP%]{margin-left:25px}.netInfo[_ngcontent-%COMP%]{position:absolute;right:30px;top:10px;font-size:12px;color:#ff5722}.netInfo[_ngcontent-%COMP%] .url[_ngcontent-%COMP%]{font-style:normal;font-weight:700;display:inline;font-size:14px}.descrip[_ngcontent-%COMP%]{margin-left:8px}li[_ngcontent-%COMP%]{margin-bottom:8px}']],data:{}});function Cx(t){return ei(0,[(t()(),Fr(0,0,null,null,52,"mat-card",[["class","setup-card mat-card"]],null,null,null,Xp,Kp)),so(1,49152,null,0,kg,[],null,null),(t()(),Fr(2,0,null,0,12,"mat-card-header",[["class","mat-card-header"]],null,null,null,tf,Jp)),so(3,49152,null,0,Sg,[],null,null),(t()(),Fr(4,0,null,0,4,"div",[["class","mat-card-avatar"],["mat-card-avatar",""]],null,null,null,null,null)),so(5,16384,null,0,wg,[],null,null),(t()(),Fr(6,0,null,null,2,"mat-icon",[["aria-hidden","false"],["class","setup-icon mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Mf,Of)),so(7,9158656,null,0,Cf,[an,df,[8,"false"],[2,pf]],null,null),(t()(),Xr(-1,0,["build"])),(t()(),Fr(9,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),so(10,16384,null,0,yg,[],null,null),(t()(),Xr(-1,null,["Tools"])),(t()(),Fr(12,0,null,1,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),so(13,16384,null,0,vg,[],null,null),(t()(),Xr(-1,null,["Tools and Utilities"])),(t()(),Fr(15,0,null,0,37,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),so(16,16384,null,0,Mg,[],null,null),(t()(),Fr(17,0,null,null,3,"span",[["class","netInfo"],["color","primary"]],null,null,null,null,null)),(t()(),Xr(-1,null,["Accessible via browser at "])),(t()(),Fr(19,0,null,null,1,"div",[["class","url"]],null,null,null,null,null)),(t()(),Xr(20,null,["",""])),(t()(),Fr(21,0,null,null,31,"mat-card",[["class","mat-card"]],null,null,null,Xp,Kp)),so(22,49152,null,0,kg,[],null,null),(t()(),Fr(23,0,null,0,15,"ul",[],null,null,null,null,null)),(t()(),Fr(24,0,null,null,4,"li",[],null,null,null,null,null)),(t()(),Fr(25,0,null,null,1,"b",[],null,null,null,null,null)),(t()(),Xr(-1,null,["Reset All Assets:"])),(t()(),Fr(27,0,null,null,1,"span",[["class","descrip"]],null,null,null,null,null)),(t()(),Xr(-1,null,["Resets all offloaded assets files to their original state, removing any songs and asset-based mods that have been loaded. Also removes any hook mods."])),(t()(),Fr(29,0,null,null,4,"li",[],null,null,null,null,null)),(t()(),Fr(30,0,null,null,1,"b",[],null,null,null,null,null)),(t()(),Xr(-1,null,["Load Songs Folder:"])),(t()(),Fr(32,0,null,null,1,"span",[["class","descrip"]],null,null,null,null,null)),(t()(),Xr(-1,null,["Attempt to load any new songs from folders in /sdcard/BeatOnData/CustomSongs"])),(t()(),Fr(34,0,null,null,4,"li",[],null,null,null,null,null)),(t()(),Fr(35,0,null,null,1,"b",[],null,null,null,null,null)),(t()(),Xr(-1,null,["Uninstall Beat Saber:"])),(t()(),Fr(37,0,null,null,1,"span",[["class","descrip"]],null,null,null,null,null)),(t()(),Xr(-1,null,["Uninstalls whatever Beat Saber APK is currently installed. This can't be undone, Beat Saber will have to be reinstalled and re-modded."])),(t()(),Fr(39,0,null,0,13,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),so(40,16384,null,0,xg,[],null,null),(t()(),Fr(41,0,null,null,3,"button",[["color","accent"],["fast-click",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var a=!0;return"click"===e&&(a=!1!==t.component.clickResetAssets()&&a),a},SC,kC)),so(42,180224,null,0,wf,[an,vp,[2,xC]],{color:[0,"color"]},null),so(43,16384,null,0,EC,[an],null,null),(t()(),Xr(-1,0,["Reset Assets"])),(t()(),Fr(45,0,null,null,3,"button",[["color","accent"],["fast-click",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var a=!0;return"click"===e&&(a=!1!==t.component.clickReloadSongsFolder()&&a),a},SC,kC)),so(46,180224,null,0,wf,[an,vp,[2,xC]],{color:[0,"color"]},null),so(47,16384,null,0,EC,[an],null,null),(t()(),Xr(-1,0,["Reload Songs Folder"])),(t()(),Fr(49,0,null,null,3,"button",[["color","accent"],["fast-click",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var a=!0;return"click"===e&&(a=!1!==t.component.clickUninstallBeatSaber()&&a),a},SC,kC)),so(50,180224,null,0,wf,[an,vp,[2,xC]],{color:[0,"color"]},null),so(51,16384,null,0,EC,[an],null,null),(t()(),Xr(-1,0,["Uninstall Beat Saber"]))],function(t,e){t(e,7,0),t(e,42,0,"accent"),t(e,46,0,"accent"),t(e,50,0,"accent")},function(t,e){var n=e.component;t(e,6,0,Ga(e,7).inline,"primary"!==Ga(e,7).color&&"accent"!==Ga(e,7).color&&"warn"!==Ga(e,7).color),t(e,20,0,n.netInfo.Url),t(e,39,0,"end"===Ga(e,40).align),t(e,41,0,Ga(e,42).disabled||null,"NoopAnimations"===Ga(e,42)._animationMode),t(e,45,0,Ga(e,46).disabled||null,"NoopAnimations"===Ga(e,46)._animationMode),t(e,49,0,Ga(e,50).disabled||null,"NoopAnimations"===Ga(e,50)._animationMode)})}function Px(t){return ei(0,[(t()(),Fr(0,0,null,null,1,"app-tools",[],null,null,null,Cx,_x)),so(1,114688,null,0,bx,[Ul,MO,sh],null,null)],function(t,e){t(e,1,0)},null)}var Ox=La("app-tools",bx,Px,{},{},[]);class Mx{constructor(){this.onFileDropped=new wo,this.background="#f5fcff",this.opacity="1"}onDragOver(t){t.preventDefault(),t.stopPropagation(),this.background="#9ecbec",this.opacity="0.8"}onDragLeave(t){t.preventDefault(),t.stopPropagation(),this.background="#f5fcff",this.opacity="1"}ondrop(t){t.preventDefault(),t.stopPropagation(),this.background="#f5fcff",this.opacity="1";let e=t.dataTransfer.files;e.length>0&&this.onFileDropped.emit(e)}}class yx{constructor(t,e){this.formBuilder=t,this.beatOnApi=e}ngOnInit(){this.form=this.formBuilder.group({fileUpload:[""]})}uploadFile(t){for(let e=0;e{console.log("File uploaded")},t=>{console.log("Failed to upload: "+t)})}}}const vx=new Tt("NgValueAccessor"),xx=(()=>(class{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=(t=>{}),this.onTouched=(()=>{})}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}))(),wx=new Tt("CompositionEventMode"),kx=(()=>(class{constructor(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=(t=>{}),this.onTouched=(()=>{}),this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=Rc()?Rc().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",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)}}))();class Sx{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}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}}class Ex extends Sx{get formDirective(){return null}get path(){return null}}function Tx(){throw new Error("unimplemented")}class Ix extends Sx{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}get validator(){return Tx()}get asyncValidator(){return Tx()}}const Rx=(()=>(class extends class{constructor(t){this._cd=t}get ngClassUntouched(){return!!this._cd.control&&this._cd.control.untouched}get ngClassTouched(){return!!this._cd.control&&this._cd.control.touched}get ngClassPristine(){return!!this._cd.control&&this._cd.control.pristine}get ngClassDirty(){return!!this._cd.control&&this._cd.control.dirty}get ngClassValid(){return!!this._cd.control&&this._cd.control.valid}get ngClassInvalid(){return!!this._cd.control&&this._cd.control.invalid}get ngClassPending(){return!!this._cd.control&&this._cd.control.pending}}{constructor(t){super(t)}}))();function Ax(t){return null==t||0===t.length}const Dx=new Tt("NgValidators"),Nx=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[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])?)*$/;class zx{static min(t){return e=>{if(Ax(e.value)||Ax(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n{if(Ax(e.value)||Ax(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}static required(t){return Ax(t.value)?{required:!0}:null}static requiredTrue(t){return!0===t.value?null:{required:!0}}static email(t){return Ax(t.value)?null:Nx.test(t.value)?null:{email:!0}}static minLength(t){return e=>{if(Ax(e.value))return null;const n=e.value?e.value.length:0;return n{const n=e.value?e.value.length:0;return n>t?{maxlength:{requiredLength:t,actualLength:n}}:null}}static pattern(t){if(!t)return zx.nullValidator;let e,n;return"string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),t=>{if(Ax(t.value))return null;const a=t.value;return e.test(a)?null:{pattern:{requiredPattern:n,actualValue:a}}}}static nullValidator(t){return null}static compose(t){if(!t)return null;const e=t.filter(Lx);return 0==e.length?null:function(t){return Vx(function(t,n){return e.map(e=>e(t))}(t))}}static composeAsync(t){if(!t)return null;const e=t.filter(Lx);return 0==e.length?null:function(t){return af(function(t,n){return e.map(e=>e(t))}(t).map(Fx)).pipe(j(Vx))}}}function Lx(t){return null!=t}function Fx(t){const e=Ne(t)?W(t):t;if(!ze(e))throw new Error("Expected validator to return Promise or Observable.");return e}function Vx(t){const e=t.reduce((t,e)=>null!=e?Object.assign({},t,e):t,{});return 0===Object.keys(e).length?null:e}function Bx(t){return t.validate?e=>t.validate(e):t}function Hx(t){return t.validate?e=>t.validate(e):t}const jx=(()=>(class{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=(t=>{}),this.onTouched=(()=>{})}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=(e=>{t(""==e?null:parseFloat(e))})}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}))(),Ux=(()=>(class{constructor(){this._accessors=[]}add(t,e){this._accessors.push([t,e])}remove(t){for(let e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}select(t){this._accessors.forEach(e=>{this._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)})}_isSameGroup(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name}}))(),$x=(()=>(class{constructor(t,e,n,a){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=a,this.onChange=(()=>{}),this.onTouched=(()=>{})}ngOnInit(){this._control=this._injector.get(Ix),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=(()=>{t(this.value),this._registry.select(this)})}fireUncheck(t){this.writeValue(t)}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_checkName(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}_throwNameError(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex:

\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',formGroupName:'\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',formArrayName:'\n
\n
\n
\n \n
\n
\n
\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });',ngModelGroup:'\n
\n
\n \n
\n
',ngModelWithFormGroup:'\n
\n \n \n
\n '};function Wx(t,e){return[...e.path,t]}function Yx(t,e){t||Kx(e,"Cannot find control with"),e.valueAccessor||Kx(e,"No value accessor for form control with"),t.validator=zx.compose([t.validator,e.validator]),t.asyncValidator=zx.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&Gx(t,e)})}(t,e),function(t,e){t.registerOnChange((t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&Gx(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(t=>{e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())}),e._rawAsyncValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())})}function Gx(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Zx(t,e){null==t&&Kx(e,"Cannot find control with"),t.validator=zx.compose([t.validator,e.validator]),t.asyncValidator=zx.composeAsync([t.asyncValidator,e.asyncValidator])}function Qx(t){return Kx(t,"There is no FormControl instance attached to form control element with")}function Kx(t,e){let n;throw n=t.path.length>1?`path: '${t.path.join(" -> ")}'`:t.path[0]?`name: '${t.path}'`:"unspecified name attribute",new Error(`${e} ${n}`)}function Xx(t){return null!=t?zx.compose(t.map(Bx)):null}function Jx(t){return null!=t?zx.composeAsync(t.map(Hx)):null}const tw=[xx,(()=>(class{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=(t=>{}),this.onTouched=(()=>{})}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))}registerOnChange(t){this.onChange=(e=>{t(""==e?null:parseFloat(e))})}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}))(),jx,(()=>(class{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=(t=>{}),this.onTouched=(()=>{}),this._compareWith=Ve}set compareWith(t){if("function"!=typeof t)throw new Error(`compareWith must be a function, but received ${JSON.stringify(t)}`);this._compareWith=t}writeValue(t){this.value=t;const e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=function(t,e){return null==t?`${e}`:(e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(t){this.onChange=(e=>{this.value=this._getOptionValue(e),t(this.value)})}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e),t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t}}))(),(()=>(class{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=(t=>{}),this.onTouched=(()=>{}),this._compareWith=Ve}set compareWith(t){if("function"!=typeof t)throw new Error(`compareWith must be a function, but received ${JSON.stringify(t)}`);this._compareWith=t}writeValue(t){let e;if(this.value=t,Array.isArray(t)){const n=t.map(t=>this._getOptionId(t));e=((t,e)=>{t._setSelected(n.indexOf(e.toString())>-1)})}else e=((t,e)=>{t._setSelected(!1)});this._optionMap.forEach(e)}registerOnChange(t){this.onChange=(e=>{const n=[];if(e.hasOwnProperty("selectedOptions")){const t=e.selectedOptions;for(let e=0;e{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function nw(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const aw="VALID",ow="INVALID",rw="PENDING",iw="DISABLED";function sw(t){const e=cw(t)?t.validators:t;return Array.isArray(e)?Xx(e):e||null}function lw(t,e){const n=cw(e)?e.asyncValidators:t;return Array.isArray(n)?Jx(n):n||null}function cw(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class dw{constructor(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=(()=>{}),this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}get parent(){return this._parent}get valid(){return this.status===aw}get invalid(){return this.status===ow}get pending(){return this.status==rw}get disabled(){return this.status===iw}get enabled(){return this.status!==iw}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.validator=sw(t)}setAsyncValidators(t){this.asyncValidator=lw(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=rw,!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=iw,this.errors=null,this._forEachChild(e=>{e.disable(Object.assign({},t,{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign({},t,{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=aw,this._forEachChild(e=>{e.enable(Object.assign({},t,{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(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!==aw&&this.status!==rw||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()?iw:aw}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=rw;const e=Fx(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>this.setErrors(e,{emitEvent:t}))}}_cancelExistingSubscription(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){return null==e?null:(e instanceof Array||(e=e.split(".")),e instanceof Array&&0===e.length?null:e.reduce((t,e)=>t instanceof mw?t.controls.hasOwnProperty(e)?t.controls[e]:null:t instanceof hw&&t.at(e)||null,t))}(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 wo,this.statusChanges=new wo}_calculateStatus(){return this._allControlsDisabled()?iw:this.errors?ow:this._anyControlsHaveStatus(rw)?rw:this._anyControlsHaveStatus(ow)?ow:aw}_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){cw(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}class uw extends dw{constructor(t=null,e,n){super(sw(e),lw(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}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)}_clearChangeFns(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=(()=>{})}registerOnDisabledChange(t){this._onDisabledChange.push(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 mw extends dw{constructor(t,e,n){super(sw(e),lw(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}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){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),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={}){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,a)=>{n.reset(t[a],{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 uw?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=>t(this.controls[e],e))}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){let e=!1;return this._forEachChild((n,a)=>{e=e||this.contains(a)&&t(n)}),e}_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,a)=>{n=e(n,t,a)}),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 hw extends dw{constructor(t,e,n){super(sw(e),lw(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}at(t){return this.controls[t]}push(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()}insert(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()}removeAt(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),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={}){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,a)=>{n.reset(t[a],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof uw?t.value:t.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_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 gw=(()=>Promise.resolve(null))(),pw=(()=>(class extends Ex{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new wo,this.form=new mw({},Xx(t),Jx(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){gw.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),Yx(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){gw.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),nw(this._directives,t)})}addFormGroup(t){gw.then(()=>{const e=this._findContainer(t.path),n=new mw({});Zx(n,t),e.registerControl(t.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){gw.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){gw.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,ew(this.form,this._directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}))();class fw{static modelParentException(){throw new Error(`\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup's partner directive "formControlName" instead. Example:\n\n ${qx.formControlName}\n\n Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n Example:\n\n ${qx.ngModelWithFormGroup}`)}static formGroupNameException(){throw new Error(`\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n ${qx.formGroupName}\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n ${qx.ngModelGroup}`)}static missingNameException(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: \n Example 2: ')}static modelGroupParentException(){throw new Error(`\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n ${qx.formGroupName}\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n ${qx.ngModelGroup}`)}static ngFormWarning(){console.warn("\n It looks like you're using 'ngForm'.\n\n Support for using the 'ngForm' element selector has been deprecated in Angular v6 and will be removed\n in Angular v9.\n\n Use 'ng-form' instead.\n\n Before:\n \n\n After:\n \n ")}}const bw=new Tt("NgFormSelectorWarning");class _w extends Ex{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Wx(this.name,this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return Xx(this._validators)}get asyncValidator(){return Jx(this._asyncValidators)}_checkParentType(){}}const Cw=(()=>{class t extends _w{constructor(t,e,n){super(),this._parent=t,this._validators=e,this._asyncValidators=n}_checkParentType(){this._parent instanceof t||this._parent instanceof pw||fw.modelGroupParentException()}}return t})(),Pw=(()=>Promise.resolve(null))(),Ow=(()=>(class extends Ix{constructor(t,e,n,a){super(),this.control=new uw,this._registered=!1,this.update=new wo,this._parent=t,this._rawValidators=e||[],this._rawAsyncValidators=n||[],this.valueAccessor=function(t,e){if(!e)return null;Array.isArray(e)||Kx(t,"Value accessor was not provided as an array for form control with");let n=void 0,a=void 0,o=void 0;return e.forEach(e=>{e.constructor===kx?n=e:function(t){return tw.some(e=>t.constructor===e)}(e)?(a&&Kx(t,"More than one built-in value accessor matches form control with"),a=e):(o&&Kx(t,"More than one custom value accessor matches form control with"),o=e)}),o||a||n||(Kx(t,"No valid value accessor for form control with"),null)}(this,a)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),function(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Ve(e,n.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?Wx(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return Xx(this._rawValidators)}get asyncValidator(){return Jx(this._rawAsyncValidators)}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(){Yx(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){!(this._parent instanceof Cw)&&this._parent instanceof _w?fw.formGroupNameException():this._parent instanceof Cw||this._parent instanceof pw||fw.modelParentException()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||fw.missingNameException()}_updateValue(t){Pw.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1})})}_updateDisabled(t){const e=t.isDisabled.currentValue,n=""===e||e&&"false"!==e;Pw.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}))(),Mw=new Tt("NgModelWithFormControlWarning"),yw=(()=>(class extends Ex{constructor(t,e){super(),this._validators=t,this._asyncValidators=e,this.submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new wo}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return Yx(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){nw(this.directives,t)}addFormGroup(t){const e=this.form.get(t.path);Zx(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormGroup(t){}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){const e=this.form.get(t.path);Zx(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormArray(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,ew(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=this.form.get(t.path);t.control!==e&&(function(t,e){e.valueAccessor.registerOnChange(()=>Qx(e)),e.valueAccessor.registerOnTouched(()=>Qx(e)),e._rawValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}(t.control,t),e&&Yx(e,t),t.control=e)}),this.form._updateTreeValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(()=>this._updateDomValue()),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{}),this._oldForm=this.form}_updateValidators(){const t=Xx(this._validators);this.form.validator=zx.compose([this.form.validator,t]);const e=Jx(this._asyncValidators);this.form.asyncValidator=zx.composeAsync([this.form.asyncValidator,e])}_checkFormPresent(){this.form||class{static controlParentException(){throw new Error(`formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n ${qx.formControlName}`)}static ngModelGroupException(){throw new Error(`formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n ${qx.formGroupName}\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n ${qx.ngModelGroup}`)}static missingFormException(){throw new Error(`formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n ${qx.formControlName}`)}static groupParentException(){throw new Error(`formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n ${qx.formGroupName}`)}static arrayParentException(){throw new Error(`formArrayName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n ${qx.formArrayName}`)}static disabledAttrWarning(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")}static ngModelWarning(t){console.warn(`\n It looks like you're using ngModel on the same form field as ${t}. \n Support for using the ngModel input property and ngModelChange event with \n reactive form directives has been deprecated in Angular v6 and will be removed \n in Angular v7.\n \n For more information on this, see our API docs here:\n https://angular.io/api/forms/${"formControl"===t?"FormControlDirective":"FormControlName"}#use-with-ngmodel\n `)}}.missingFormException()}}))(),vw=(()=>(class{ngOnChanges(t){"pattern"in t&&(this._createValidator(),this._onChange&&this._onChange())}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}_createValidator(){this._validator=zx.pattern(this.pattern)}}))(),xw=(()=>(class{}))(),ww=(()=>(class{group(t,e=null){const n=this._reduceControls(t);let a=null,o=null,r=void 0;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(a=null!=e.validators?e.validators:null,o=null!=e.asyncValidators?e.asyncValidators:null,r=null!=e.updateOn?e.updateOn:void 0):(a=null!=e.validator?e.validator:null,o=null!=e.asyncValidator?e.asyncValidator:null)),new mw(n,{asyncValidators:o,updateOn:r,validators:a})}control(t,e,n){return new uw(t,e,n)}array(t,e,n){const a=t.map(t=>this._createControl(t));return new hw(a,e,n)}_reduceControls(t){const e={};return Object.keys(t).forEach(n=>{e[n]=this._createControl(t[n])}),e}_createControl(t){return t instanceof uw||t instanceof mw||t instanceof hw?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}))(),kw=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:bw,useValue:e.warnOnDeprecatedNgFormSelector}]}}}return t})(),Sw=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Mw,useValue:e.warnOnNgModelWithFormControl}]}}}return t})();var Ew=Kn({encapsulation:0,styles:[["form[_ngcontent-%COMP%]{margin-top:100px}.uploadfilecontainer[_ngcontent-%COMP%]{background:url(upload.53eaa2f2d099aadddfb6.png) center no-repeat;height:200px;width:80%;margin:20px auto;border:2px dashed #1c8adb;border-radius:10px}.uploadfilecontainer[_ngcontent-%COMP%]:hover{cursor:pointer;background-color:#9ecbec!important;opacity:.8}.files-list[_ngcontent-%COMP%]{display:flex;justify-content:space-between;width:80%;margin:10px auto;background:#fff;border:1px dashed;border-radius:12px;padding:5px;color:#1c8adb}.files-list[_ngcontent-%COMP%] .delete-file[_ngcontent-%COMP%]{background:0 0;border:none;cursor:pointer}.files-list[_ngcontent-%COMP%] .delete-file[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:30px}"]],data:{}});function Tw(t){return ei(0,[(t()(),Fr(0,0,null,null,19,"mat-card",[["class","setup-card mat-card"]],null,null,null,Xp,Kp)),so(1,49152,null,0,kg,[],null,null),(t()(),Fr(2,0,null,0,12,"mat-card-header",[["class","mat-card-header"]],null,null,null,tf,Jp)),so(3,49152,null,0,Sg,[],null,null),(t()(),Fr(4,0,null,0,4,"div",[["class","mat-card-avatar"],["mat-card-avatar",""]],null,null,null,null,null)),so(5,16384,null,0,wg,[],null,null),(t()(),Fr(6,0,null,null,2,"mat-icon",[["aria-hidden","false"],["class","setup-icon mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Mf,Of)),so(7,9158656,null,0,Cf,[an,df,[8,"false"],[2,pf]],null,null),(t()(),Xr(-1,0,["cloud_upload"])),(t()(),Fr(9,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),so(10,16384,null,0,yg,[],null,null),(t()(),Xr(-1,null,["Upload Files"])),(t()(),Fr(12,0,null,1,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),so(13,16384,null,0,vg,[],null,null),(t()(),Xr(-1,null,["Drag zip files here to upload them, or click to select a file. Currently songs and Quest-specific mods are supported."])),(t()(),Fr(15,0,null,0,4,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),so(16,16384,null,0,Mg,[],null,null),(t()(),Fr(17,0,null,null,2,"div",[["appDragDrop",""],["class","uploadfilecontainer"]],[[4,"background-color",null],[4,"opacity",null]],[[null,"click"],[null,"onFileDropped"],[null,"dragover"],[null,"dragleave"],[null,"drop"]],function(t,e,n){var a=!0,o=t.component;return"dragover"===e&&(a=!1!==Ga(t,18).onDragOver(n)&&a),"dragleave"===e&&(a=!1!==Ga(t,18).onDragLeave(n)&&a),"drop"===e&&(a=!1!==Ga(t,18).ondrop(n)&&a),"click"===e&&(a=!1!==Ga(t,19).click()&&a),"onFileDropped"===e&&(a=!1!==o.uploadFile(n)&&a),a},null,null)),so(18,16384,null,0,Mx,[],null,{onFileDropped:"onFileDropped"}),(t()(),Fr(19,0,[["fileInput",1]],null,0,"input",[["hidden",""],["type","file"]],null,[[null,"change"]],function(t,e,n){var a=!0;return"change"===e&&(a=!1!==t.component.uploadFile(n.target.files)&&a),a},null,null))],function(t,e){t(e,7,0)},function(t,e){t(e,6,0,Ga(e,7).inline,"primary"!==Ga(e,7).color&&"accent"!==Ga(e,7).color&&"warn"!==Ga(e,7).color),t(e,17,0,Ga(e,18).background,Ga(e,18).opacity)})}function Iw(t){return ei(0,[(t()(),Fr(0,0,null,null,1,"app-remote-upload",[],null,null,null,Tw,Ew)),so(1,114688,null,0,yx,[ww,Ul],null,null)],function(t,e){t(e,1,0)},null)}var Rw=La("app-remote-upload",yx,Iw,{},{},[]);class Aw{constructor(){}ngOnInit(){}}var Dw=Kn({encapsulation:0,styles:[[".credits[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:15px}"]],data:{}});function Nw(t){return ei(0,[(t()(),Fr(0,0,null,null,37,"mat-card",[["class","mat-card"],["fxLayout","column"]],null,null,null,Xp,Kp)),so(1,49152,null,0,kg,[],null,null),so(2,671744,null,0,zM,[an,wM,[2,AM],SM],{fxLayout:[0,"fxLayout"]},null),(t()(),Fr(3,0,null,0,1,"h2",[],null,null,null,null,null)),(t()(),Xr(-1,null,["Credits to BSMG crew in general, and in particular:"])),(t()(),Fr(5,0,null,0,32,"ul",[["class","credits"]],null,null,null,null,null)),(t()(),Fr(6,0,null,null,3,"li",[],null,null,null,null,null)),(t()(),Fr(7,0,null,null,1,"b",[],null,null,null,null,null)),(t()(),Xr(-1,null,["Sc2ad"])),(t()(),Xr(-1,null,[": code contributor, code reviewer, lots of work on hook mods, lots of discussion and feedback"])),(t()(),Fr(10,0,null,null,3,"li",[],null,null,null,null,null)),(t()(),Fr(11,0,null,null,1,"b",[],null,null,null,null,null)),(t()(),Xr(-1,null,["jakibaki"])),(t()(),Xr(-1,null,[": beat-saber hook (making the really cool stuff possible)"])),(t()(),Fr(14,0,null,null,3,"li",[],null,null,null,null,null)),(t()(),Fr(15,0,null,null,1,"b",[],null,null,null,null,null)),(t()(),Xr(-1,null,["Agent42"])),(t()(),Xr(-1,null,[": extraordinary testing and support (if it works at all, thank him)"])),(t()(),Fr(18,0,null,null,3,"li",[],null,null,null,null,null)),(t()(),Fr(19,0,null,null,1,"b",[],null,null,null,null,null)),(t()(),Xr(-1,null,["Yuuki"])),(t()(),Xr(-1,null,[": code contributor, code documentarian"])),(t()(),Fr(22,0,null,null,3,"li",[],null,null,null,null,null)),(t()(),Fr(23,0,null,null,1,"b",[],null,null,null,null,null)),(t()(),Xr(-1,null,["shaneharris"])),(t()(),Xr(-1,null,[": advice, especially on the angular and android side of things"])),(t()(),Fr(26,0,null,null,3,"li",[],null,null,null,null,null)),(t()(),Fr(27,0,null,null,1,"b",[],null,null,null,null,null)),(t()(),Xr(-1,null,["elliotttate"])),(t()(),Xr(-1,null,[": inspiration, support and the awesome logos"])),(t()(),Fr(30,0,null,null,3,"li",[],null,null,null,null,null)),(t()(),Fr(31,0,null,null,1,"b",[],null,null,null,null,null)),(t()(),Xr(-1,null,["lolpants"])),(t()(),Xr(-1,null,[": everything lolpants does. Also, soon to be songe converter for old to new song format conversion"])),(t()(),Fr(34,0,null,null,3,"li",[],null,null,null,null,null)),(t()(),Fr(35,0,null,null,1,"b",[],null,null,null,null,null)),(t()(),Xr(-1,null,["emulamer"])),(t()(),Xr(-1,null,[": did some stuff"]))],function(t,e){t(e,2,0,"column")},null)}function zw(t){return ei(0,[(t()(),Fr(0,0,null,null,1,"app-credits",[],null,null,null,Nw,Dw)),so(1,114688,null,0,Aw,[],null,null)],function(t,e){t(e,1,0)},null)}var Lw=La("app-credits",Aw,zw,{},{},[]),Fw=Kn({encapsulation:2,styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}@media (-ms-high-contrast:active){.mat-dialog-container{outline:solid 1px}}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button+.mat-button,.mat-dialog-actions .mat-button+.mat-raised-button,.mat-dialog-actions .mat-raised-button+.mat-button,.mat-dialog-actions .mat-raised-button+.mat-raised-button{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button+.mat-button,[dir=rtl] .mat-dialog-actions .mat-button+.mat-raised-button,[dir=rtl] .mat-dialog-actions .mat-raised-button+.mat-button,[dir=rtl] .mat-dialog-actions .mat-raised-button+.mat-raised-button{margin-left:0;margin-right:8px}"],data:{animation:[{type:7,name:"dialogContainer",definitions:[{type:0,name:"void, exit",styles:{type:6,styles:{opacity:0,transform:"scale(0.7)"},offset:null},options:void 0},{type:0,name:"enter",styles:{type:6,styles:{transform:"none"},offset:null},options:void 0},{type:1,expr:"* => enter",animation:{type:4,styles:{type:6,styles:{transform:"none",opacity:1},offset:null},timings:"150ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void, * => exit",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"75ms cubic-bezier(0.4, 0.0, 0.2, 1)"},options:null}],options:{}}]}});function Vw(t){return ei(0,[(t()(),Lr(0,null,null,0))],null,null)}function Bw(t){return ei(0,[Ur(402653184,1,{_portalOutlet:0}),(t()(),Lr(16777216,null,null,1,null,Vw)),so(2,212992,[[1,4]],0,jC,[Ke,Rn],{portal:[0,"portal"]},null)],function(t,e){t(e,2,0,"")},null)}function Hw(t){return ei(0,[(t()(),Fr(0,0,null,null,1,"mat-dialog-container",[["aria-modal","true"],["class","mat-dialog-container"],["tabindex","-1"]],[[1,"id",0],[1,"role",0],[1,"aria-labelledby",0],[1,"aria-label",0],[1,"aria-describedby",0],[40,"@dialogContainer",0]],[["component","@dialogContainer.start"],["component","@dialogContainer.done"]],function(t,e,n){var a=!0;return"component:@dialogContainer.start"===e&&(a=!1!==Ga(t,1)._onAnimationStart(n)&&a),"component:@dialogContainer.done"===e&&(a=!1!==Ga(t,1)._onAnimationDone(n)&&a),a},Bw,Fw)),so(1,49152,null,0,pO,[an,Op,xn,[2,ol],hO],null,null)],null,function(t,e){t(e,0,0,Ga(e,1)._id,Ga(e,1)._config.role,Ga(e,1)._config.ariaLabel?null:Ga(e,1)._ariaLabelledBy,Ga(e,1)._config.ariaLabel,Ga(e,1)._config.ariaDescribedBy||null,Ga(e,1)._state)})}var jw=La("mat-dialog-container",pO,Hw,{},{},[]);const Uw=new Set;let $w;const qw=(()=>{class t{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Ww}matchMedia(t){return this._platform.WEBKIT&&function(t){if(!Uw.has(t))try{$w||(($w=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild($w)),$w.sheet&&($w.sheet.insertRule(`@media ${t} {.fx-query-test{ }}`,0),Uw.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return t.ngInjectableDef=pt({factory:function(){return new t(St(Vg))},token:t,providedIn:"root"}),t})();function Ww(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}const Yw=(()=>{class t{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new k}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return Gw(Ng(t)).some(t=>this._registerQuery(t).mql.matches)}observe(t){return Gl(Gw(Ng(t)).map(t=>this._registerQuery(t).observable)).pipe(up(0,tP),j(t=>{const e={matches:!1,breakpoints:{}};return t.forEach(t=>{e.matches=e.matches||t.matches,e.breakpoints[t.query]=t.matches}),e}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const e=this._mediaMatcher.matchMedia(t),n={observable:new O(t=>{const n=e=>this._zone.run(()=>t.next(e));return e.addListener(n),()=>{e.removeListener(n)}}).pipe(vc(e),j(e=>({query:t,matches:e.matches})),lP(this._destroySubject)),mql:e};return this._queries.set(t,n),n}}return t.ngInjectableDef=pt({factory:function(){return new t(St(qw),St(Jo))},token:t,providedIn:"root"}),t})();function Gw(t){return t.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}const Zw=20,Qw=new Tt("mat-tooltip-scroll-strategy");function Kw(t){return()=>t.scrollStrategies.reposition({scrollThrottle:Zw})}const Xw=(()=>(class{constructor(t,e){this._changeDetectorRef=t,this._breakpointObserver=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new k,this._isHandset=this._breakpointObserver.observe("(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)")}show(t){this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=null,this._markForCheck()},t)}hide(t){this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=null,this._markForCheck()},t)}afterHidden(){return this._onHide.asObservable()}isVisible(){return"visible"===this._visibility}ngOnDestroy(){this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(t){const e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}))(),Jw=(()=>(class{}))();var tk=Kn({encapsulation:2,styles:[".mat-tooltip-panel{pointer-events:none!important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}@media (-ms-high-contrast:active){.mat-tooltip{outline:solid 1px}}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"initial, void, hidden",styles:{type:6,styles:{opacity:0,transform:"scale(0)"},offset:null},options:void 0},{type:0,name:"visible",styles:{type:6,styles:{transform:"scale(1)"},offset:null},options:void 0},{type:1,expr:"* => visible",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{opacity:0,transform:"scale(0)",offset:0},offset:null},{type:6,styles:{opacity:.5,transform:"scale(0.99)",offset:.5},offset:null},{type:6,styles:{opacity:1,transform:"scale(1)",offset:1},offset:null}]},timings:"200ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => hidden",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms cubic-bezier(0, 0, 0.2, 1)"},options:null}],options:{}}]}});function ek(t){return ei(2,[(t()(),Fr(0,0,null,null,4,"div",[["class","mat-tooltip"]],[[2,"mat-tooltip-handset",null],[24,"@state",0]],[[null,"@state.start"],[null,"@state.done"]],function(t,e,n){var a=!0,o=t.component;return"@state.start"===e&&(a=!1!==o._animationStart()&&a),"@state.done"===e&&(a=!1!==o._animationDone(n)&&a),a},null,null)),co(512,null,Ns,zs,[yn,vn,an,cn]),so(2,278528,null,0,Fs,[Ns],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),lo(131072,nl,[xn]),(t()(),Xr(4,null,["",""]))],function(t,e){t(e,2,0,"mat-tooltip",e.component.tooltipClass)},function(t,e){var n,a=e.component;t(e,0,0,null==(n=Gn(e,0,0,Ga(e,3).transform(a._isHandset)))?null:n.matches,a._visibility),t(e,4,0,a.message)})}function nk(t){return ei(0,[(t()(),Fr(0,0,null,null,1,"mat-tooltip-component",[["aria-hidden","true"]],[[4,"zoom",null]],[["body","click"]],function(t,e,n){var a=!0;return"body:click"===e&&(a=!1!==Ga(t,1)._handleBodyInteraction()&&a),a},ek,tk)),so(1,180224,null,0,Xw,[xn,Yw],null,null)],null,function(t,e){t(e,0,0,"visible"===Ga(e,1)._visibility?1:null)})}var ak=La("mat-tooltip-component",Xw,nk,{},{},[]);const ok=100,rk=10;class ik{constructor(t){this._elementRef=t}}const sk=Tp(ik,"primary"),lk=new Tt("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:ok}}}),ck="\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n",dk=(()=>{class t extends sk{constructor(e,n,a,o,r){super(e),this._elementRef=e,this._document=a,this._value=0,this._fallbackAnimation=!1,this._diameter=ok,this.mode="determinate";const i=t._diameters;i.has(a.head)||i.set(a.head,new Set([ok])),this._styleRoot=function(t,e){if("undefined"!=typeof window){const n=e.head;if(n&&(n.createShadowRoot||n.attachShadow)){const e=t.getRootNode?t.getRootNode():null;if(e instanceof window.ShadowRoot)return e}}return null}(e.nativeElement,a)||a.head,this._fallbackAnimation=n.EDGE||n.TRIDENT,this._noopAnimations="NoopAnimations"===o&&!!r&&!r._forceAnimations,r&&(r.diameter&&(this.diameter=r.diameter),r.strokeWidth&&(this.strokeWidth=r.strokeWidth)),e.nativeElement.classList.add(`mat-progress-spinner-indeterminate${this._fallbackAnimation?"-fallback":""}-animation`)}get diameter(){return this._diameter}set diameter(e){if(this._diameter=Dg(e),!this._fallbackAnimation){const e=t._diameters.get(this._styleRoot);e&&e.has(this._diameter)||this._attachStyleNode()}}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(t){this._strokeWidth=Dg(t)}get value(){return"determinate"===this.mode?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,Dg(t)))}get _circleRadius(){return(this.diameter-rk)/2}get _viewBox(){const t=2*this._circleRadius+this.strokeWidth;return`0 0 ${t} ${t}`}get _strokeCircumference(){return 2*Math.PI*this._circleRadius}get _strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._strokeCircumference:null}get _circleStrokeWidth(){return this.strokeWidth/this.diameter*100}_attachStyleNode(){const e=this._document.createElement("style"),n=this._styleRoot,a=this._diameter,o=t._diameters;let r=o.get(n);e.setAttribute("mat-spinner-animation",a+""),e.textContent=this._getAnimationText(),n.appendChild(e),r||(r=new Set,o.set(n,r)),r.add(a)}_getAnimationText(){return ck.replace(/START_VALUE/g,`${.95*this._strokeCircumference}`).replace(/END_VALUE/g,`${.2*this._strokeCircumference}`).replace(/DIAMETER/g,`${this.diameter}`)}}return t._diameters=new WeakMap,t})(),uk=(()=>(class extends dk{constructor(t,e,n,a,o){super(t,e,n,a,o),this.mode="indeterminate"}}))(),mk=(()=>(class{}))();var hk=Kn({encapsulation:2,styles:[".mat-progress-spinner{display:block;position:relative}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2s linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4s;animation-timing-function:cubic-bezier(.35,0,.25,1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{animation:mat-progress-spinner-stroke-rotate-fallback 10s cubic-bezier(.87,.03,.33,1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.60617px;transform:rotate(0)}12.5%{stroke-dashoffset:56.54867px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.60617px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.54867px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.60617px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.54867px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.60617px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.54867px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}"],data:{}});function gk(t){return ei(0,[(t()(),Fr(0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"animation-name",null],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,function(t,e){var n=e.component;t(e,0,0,n._circleRadius,"mat-progress-spinner-stroke-rotate-"+n.diameter,n._strokeDashOffset,n._strokeCircumference,n._circleStrokeWidth)})}function pk(t){return ei(0,[(t()(),Fr(0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,function(t,e){var n=e.component;t(e,0,0,n._circleRadius,n._strokeDashOffset,n._strokeCircumference,n._circleStrokeWidth)})}function fk(t){return ei(2,[(t()(),Fr(0,0,null,null,5,":svg:svg",[["focusable","false"],["preserveAspectRatio","xMidYMid meet"]],[[4,"width","px"],[4,"height","px"],[1,"viewBox",0]],null,null,null,null)),so(1,16384,null,0,Ws,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),Lr(16777216,null,null,1,null,gk)),so(3,278528,null,0,Ys,[Rn,Tn,Ws],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Lr(16777216,null,null,1,null,pk)),so(5,278528,null,0,Ys,[Rn,Tn,Ws],{ngSwitchCase:[0,"ngSwitchCase"]},null)],function(t,e){t(e,1,0,"indeterminate"===e.component.mode),t(e,3,0,!0),t(e,5,0,!1)},function(t,e){var n=e.component;t(e,0,0,n.diameter,n.diameter,n._viewBox)})}var bk=Kn({encapsulation:0,styles:[[".transparent[_ngcontent-%COMP%] .mat-dialog-container[_ngcontent-%COMP%]{box-shadow:none;background:rgba(0,0,0,0)}.message-viewport[_ngcontent-%COMP%]{height:130px;width:400px;border:1px solid #000}.message-item[_ngcontent-%COMP%]{height:20px;font-size:10px}"]],data:{}});function _k(t){return ei(0,[(t()(),Fr(0,0,null,null,1,"div",[["class","message-item"]],null,null,null,null,null)),(t()(),Xr(1,null,["",""]))],null,function(t,e){t(e,1,0,e.context.$implicit)})}function Ck(t){return ei(2,[(t()(),Fr(0,0,null,null,12,"div",[["layout","row"],["layout-align","center"]],null,null,null,null,null)),(t()(),Fr(1,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),Fr(2,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:0 auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,fk,hk)),so(3,49152,null,0,uk,[an,Vg,[2,ol],[2,xC],lk],null,null),(t()(),Fr(4,0,null,null,1,"p",[["align","center"]],null,null,null,null,null)),(t()(),Xr(5,null,["",""])),(t()(),Fr(6,0,null,null,6,"cdk-virtual-scroll-viewport",[["class","message-viewport cdk-virtual-scroll-viewport"],["itemSize","10"]],[[2,"cdk-virtual-scroll-orientation-horizontal",null],[2,"cdk-virtual-scroll-orientation-vertical",null]],null,null,Gv,Yv)),co(6144,null,TP,null,[RP]),so(8,540672,null,0,kP,[],{itemSize:[0,"itemSize"]},null),co(1024,null,vP,wP,[kP]),so(10,245760,null,0,RP,[an,xn,Jo,[2,vP],[2,Ig],EP],null,null),(t()(),Lr(16777216,null,0,1,null,_k)),so(12,409600,null,0,DP,[Rn,Tn,yn,[1,RP],Jo],{cdkVirtualForOf:[0,"cdkVirtualForOf"]},null)],function(t,e){var n=e.component;t(e,8,0,"10"),t(e,10,0),t(e,12,0,n.messages.slice().reverse())},function(t,e){var n=e.component;t(e,2,0,Ga(e,3)._noopAnimations,Ga(e,3).diameter,Ga(e,3).diameter),t(e,5,0,n.mainText),t(e,6,0,"horizontal"===Ga(e,10).orientation,"horizontal"!==Ga(e,10).orientation)})}function Pk(t){return ei(0,[(t()(),Fr(0,0,null,null,1,"app-progress-spinner-dialog",[],null,null,null,Ck,bk)),so(1,114688,null,0,og,[bO,_O,zh,xn,ag],null,null)],function(t,e){t(e,1,0)},null)}var Ok=La("app-progress-spinner-dialog",og,Pk,{},{},[]);class Mk{}function yk(t){return Error(`A hint was already declared for 'align="${t}"'.`)}let vk=0;class xk{constructor(t){this._elementRef=t}}const wk=Tp(xk,"primary"),kk=new Tt("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Sk=(()=>(class extends wk{constructor(t,e,n,a,o,r,i,s){super(t),this._elementRef=t,this._changeDetectorRef=e,this._dir=a,this._defaults=o,this._platform=r,this._ngZone=i,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new k,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId=`mat-hint-${vk++}`,this._labelId=`mat-form-field-label-${vk++}`,this._labelOptions=n||{},this.floatLabel=this._labelOptions.float||"auto",this._animationsEnabled="NoopAnimations"!==s,this.appearance=o&&o.appearance?o.appearance:"legacy"}get appearance(){return this._appearance}set appearance(t){const e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=Ag(t)}get _shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}get _canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t||this._labelOptions.float||"auto",this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(t){this._explicitFormFieldControl=t}get _labelChild(){return this._labelChildNonStatic||this._labelChildStatic}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${t.controlType}`),t.stateChanges.pipe(vc(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(lP(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.asObservable().pipe(lP(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),X(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(vc(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(vc(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(lP(this._destroyed)).subscribe(()=>this.updateOutlineGap())}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(t){const e=this._control?this._control.ngControl:null;return e&&e[t]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!!this._labelChild}_shouldLabelFloat(){return this._canLabelFloat&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat)}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&(this._showAlwaysAnimate=!0,qC(this._label.nativeElement,"transitionend").pipe(pc(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){if(this._hintChildren){let t,e;this._hintChildren.forEach(n=>{if("start"===n.align){if(t||this.hintLabel)throw yk("start");t=n}else if("end"===n.align){if(e)throw yk("end");e=n}})}}_syncDescribedByIds(){if(this._control){let t=[];if("hint"===this._getDisplayedMessages()){const e=this._hintChildren?this._hintChildren.find(t=>"start"===t.align):null,n=this._hintChildren?this._hintChildren.find(t=>"end"===t.align):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&(t=this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(t)}}_validateControlChild(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")}updateOutlineGap(){const t=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!t||!t.children.length||!t.textContent.trim())return;if(!this._platform.isBrowser)return;if(!document.documentElement.contains(this._elementRef.nativeElement))return void(this._outlineGapCalculationNeededImmediately=!0);let e=0,n=0;const a=this._connectionContainerRef.nativeElement,o=a.querySelectorAll(".mat-form-field-outline-start"),r=a.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const o=a.getBoundingClientRect();if(0===o.width&&0===o.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const r=this._getStartEnd(o),i=this._getStartEnd(t.children[0].getBoundingClientRect());let s=0;for(const e of t.children)s+=e.offsetWidth;e=i-r-5,n=s>0?.75*s+10:0}for(let i=0;i(class{}))();var Tk=Kn({encapsulation:2,styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}@media (-ms-high-contrast:active){.mat-form-field-infix{border-image:linear-gradient(transparent,transparent)}}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform .4s cubic-bezier(.25,.8,.25,1),color .4s cubic-bezier(.25,.8,.25,1),width .4s cubic-bezier(.25,.8,.25,1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-empty.mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scaleY(1.0001)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(.5);opacity:0;transition:background-color .3s cubic-bezier(.55,0,.55,.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:scaleX(1);transition:transform .3s cubic-bezier(.25,.8,.25,1),opacity .1s cubic-bezier(.25,.8,.25,1),background-color .3s cubic-bezier(.25,.8,.25,1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-label-wrapper .mat-icon,.mat-form-field-subscript-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}",".mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}@media (-ms-high-contrast:active){.mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:'';display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}@media (-ms-high-contrast:active){.mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity .6s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}",".mat-input-element{font:inherit;background:0 0;color:currentColor;border:none;outline:0;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=month]::after,.mat-input-element[type=time]::after,.mat-input-element[type=week]::after{content:' ';white-space:pre;width:1px}.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button,.mat-input-element::-webkit-inner-spin-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:0 0}@media (-ms-high-contrast:active){.mat-focused select.mat-input-element::-ms-value{color:inherit}}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:'';width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}",".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}@media (-ms-high-contrast:active){.mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}@media (-ms-high-contrast:active){.mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}@media (-ms-high-contrast:active){.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-start{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start{border-width:2px;transition:border-color .3s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity .1s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity .6s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline{transition:none}",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}@media (-ms-high-contrast:active){.mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}@media (-ms-high-contrast:active){.mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:2px}}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}@media (-ms-high-contrast:active){.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity .6s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}"],data:{animation:[{type:7,name:"transitionMessages",definitions:[{type:0,name:"enter",styles:{type:6,styles:{opacity:1,transform:"translateY(0%)"},offset:null},options:void 0},{type:1,expr:"void => enter",animation:[{type:6,styles:{opacity:0,transform:"translateY(-100%)"},offset:null},{type:4,styles:null,timings:"300ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function Ik(t){return ei(0,[(t()(),Fr(0,0,null,null,8,null,null,null,null,null,null,null)),(t()(),Fr(1,0,null,null,3,"div",[["class","mat-form-field-outline"]],null,null,null,null,null)),(t()(),Fr(2,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(t()(),Fr(3,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(t()(),Fr(4,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null)),(t()(),Fr(5,0,null,null,3,"div",[["class","mat-form-field-outline mat-form-field-outline-thick"]],null,null,null,null,null)),(t()(),Fr(6,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(t()(),Fr(7,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(t()(),Fr(8,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null))],null,null)}function Rk(t){return ei(0,[(t()(),Fr(0,0,null,null,1,"div",[["class","mat-form-field-prefix"]],null,null,null,null,null)),Gr(null,0)],null,null)}function Ak(t){return ei(0,[(t()(),Fr(0,0,null,null,2,null,null,null,null,null,null,null)),Gr(null,2),(t()(),Xr(2,null,["",""]))],null,function(t,e){t(e,2,0,e.component._control.placeholder)})}function Dk(t){return ei(0,[Gr(null,3),(t()(),Lr(0,null,null,0))],null,null)}function Nk(t){return ei(0,[(t()(),Fr(0,0,null,null,1,"span",[["aria-hidden","true"],["class","mat-placeholder-required mat-form-field-required-marker"]],null,null,null,null,null)),(t()(),Xr(-1,null,[" *"]))],null,null)}function zk(t){return ei(0,[(t()(),Fr(0,0,[[4,0],["label",1]],null,8,"label",[["class","mat-form-field-label"]],[[8,"id",0],[1,"for",0],[1,"aria-owns",0],[2,"mat-empty",null],[2,"mat-form-field-empty",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"cdkObserveContent"]],function(t,e,n){var a=!0;return"cdkObserveContent"===e&&(a=!1!==t.component.updateOutlineGap()&&a),a},null,null)),so(1,16384,null,0,Ws,[],{ngSwitch:[0,"ngSwitch"]},null),so(2,1196032,null,0,qM,[$M,an,Jo],{disabled:[0,"disabled"]},{event:"cdkObserveContent"}),(t()(),Lr(16777216,null,null,1,null,Ak)),so(4,278528,null,0,Ys,[Rn,Tn,Ws],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Lr(16777216,null,null,1,null,Dk)),so(6,278528,null,0,Ys,[Rn,Tn,Ws],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Lr(16777216,null,null,1,null,Nk)),so(8,16384,null,0,js,[Rn,Tn],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,1,0,n._hasLabel()),t(e,2,0,"outline"!=n.appearance),t(e,4,0,!1),t(e,6,0,!0),t(e,8,0,!n.hideRequiredMarker&&n._control.required&&!n._control.disabled)},function(t,e){var n=e.component;t(e,0,0,n._labelId,n._control.id,n._control.id,n._control.empty&&!n._shouldAlwaysFloat,n._control.empty&&!n._shouldAlwaysFloat,"accent"==n.color,"warn"==n.color)})}function Lk(t){return ei(0,[(t()(),Fr(0,0,null,null,1,"div",[["class","mat-form-field-suffix"]],null,null,null,null,null)),Gr(null,4)],null,null)}function Fk(t){return ei(0,[(t()(),Fr(0,0,[[1,0],["underline",1]],null,1,"div",[["class","mat-form-field-underline"]],null,null,null,null,null)),(t()(),Fr(1,0,null,null,0,"span",[["class","mat-form-field-ripple"]],[[2,"mat-accent",null],[2,"mat-warn",null]],null,null,null,null))],null,function(t,e){var n=e.component;t(e,1,0,"accent"==n.color,"warn"==n.color)})}function Vk(t){return ei(0,[(t()(),Fr(0,0,null,null,1,"div",[],[[24,"@transitionMessages",0]],null,null,null,null)),Gr(null,5)],null,function(t,e){t(e,0,0,e.component._subscriptAnimationState)})}function Bk(t){return ei(0,[(t()(),Fr(0,0,null,null,1,"div",[["class","mat-hint"]],[[8,"id",0]],null,null,null,null)),(t()(),Xr(1,null,["",""]))],null,function(t,e){var n=e.component;t(e,0,0,n._hintLabelId),t(e,1,0,n.hintLabel)})}function Hk(t){return ei(0,[(t()(),Fr(0,0,null,null,5,"div",[["class","mat-form-field-hint-wrapper"]],[[24,"@transitionMessages",0]],null,null,null,null)),(t()(),Lr(16777216,null,null,1,null,Bk)),so(2,16384,null,0,js,[Rn,Tn],{ngIf:[0,"ngIf"]},null),Gr(null,6),(t()(),Fr(4,0,null,null,0,"div",[["class","mat-form-field-hint-spacer"]],null,null,null,null,null)),Gr(null,7)],function(t,e){t(e,2,0,e.component.hintLabel)},function(t,e){t(e,0,0,e.component._subscriptAnimationState)})}function jk(t){return ei(2,[Ur(671088640,1,{underlineRef:0}),Ur(402653184,2,{_connectionContainerRef:0}),Ur(671088640,3,{_inputContainerRef:0}),Ur(671088640,4,{_label:0}),(t()(),Fr(4,0,null,null,20,"div",[["class","mat-form-field-wrapper"]],null,null,null,null,null)),(t()(),Fr(5,0,[[2,0],["connectionContainer",1]],null,11,"div",[["class","mat-form-field-flex"]],null,[[null,"click"]],function(t,e,n){var a=!0,o=t.component;return"click"===e&&(a=!1!==(o._control.onContainerClick&&o._control.onContainerClick(n))&&a),a},null,null)),(t()(),Lr(16777216,null,null,1,null,Ik)),so(7,16384,null,0,js,[Rn,Tn],{ngIf:[0,"ngIf"]},null),(t()(),Lr(16777216,null,null,1,null,Rk)),so(9,16384,null,0,js,[Rn,Tn],{ngIf:[0,"ngIf"]},null),(t()(),Fr(10,0,[[3,0],["inputContainer",1]],null,4,"div",[["class","mat-form-field-infix"]],null,null,null,null,null)),Gr(null,1),(t()(),Fr(12,0,null,null,2,"span",[["class","mat-form-field-label-wrapper"]],null,null,null,null,null)),(t()(),Lr(16777216,null,null,1,null,zk)),so(14,16384,null,0,js,[Rn,Tn],{ngIf:[0,"ngIf"]},null),(t()(),Lr(16777216,null,null,1,null,Lk)),so(16,16384,null,0,js,[Rn,Tn],{ngIf:[0,"ngIf"]},null),(t()(),Lr(16777216,null,null,1,null,Fk)),so(18,16384,null,0,js,[Rn,Tn],{ngIf:[0,"ngIf"]},null),(t()(),Fr(19,0,null,null,5,"div",[["class","mat-form-field-subscript-wrapper"]],null,null,null,null,null)),so(20,16384,null,0,Ws,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),Lr(16777216,null,null,1,null,Vk)),so(22,278528,null,0,Ys,[Rn,Tn,Ws],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Lr(16777216,null,null,1,null,Hk)),so(24,278528,null,0,Ys,[Rn,Tn,Ws],{ngSwitchCase:[0,"ngSwitchCase"]},null)],function(t,e){var n=e.component;t(e,7,0,"outline"==n.appearance),t(e,9,0,n._prefixChildren.length),t(e,14,0,n._hasFloatingLabel()),t(e,16,0,n._suffixChildren.length),t(e,18,0,"outline"!=n.appearance),t(e,20,0,n._getDisplayedMessages()),t(e,22,0,"error"),t(e,24,0,"hint")},null)}const Uk=qg({passive:!0}),$k=(()=>{class t{constructor(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return us;const e=Lg(t),n=this._monitoredElements.get(e);if(n)return n.subject.asObservable();const a=new k,o="cdk-text-field-autofilled",r=t=>{"cdk-text-field-autofill-start"!==t.animationName||e.classList.contains(o)?"cdk-text-field-autofill-end"===t.animationName&&e.classList.contains(o)&&(e.classList.remove(o),this._ngZone.run(()=>a.next({target:t.target,isAutofilled:!1}))):(e.classList.add(o),this._ngZone.run(()=>a.next({target:t.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{e.addEventListener("animationstart",r,Uk),e.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(e,{subject:a,unlisten:()=>{e.removeEventListener("animationstart",r,Uk)}}),a.asObservable()}stopMonitoring(t){const e=Lg(t),n=this._monitoredElements.get(e);n&&(n.unlisten(),n.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))}ngOnDestroy(){this._monitoredElements.forEach((t,e)=>this.stopMonitoring(e))}}return t.ngInjectableDef=pt({factory:function(){return new t(St(Vg),St(Jo))},token:t,providedIn:"root"}),t})(),qk=(()=>(class{}))(),Wk=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Yk=0;class Gk{constructor(t,e,n,a){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=a}}const Zk=Ap(Gk),Qk=(()=>(class extends Zk{constructor(t,e,n,a,o,r,i,s,l){super(r,a,o,n),this._elementRef=t,this._platform=e,this.ngControl=n,this._autofillMonitor=s,this._uid=`mat-input-${Yk++}`,this._isServer=!1,this._isNativeSelect=!1,this.focused=!1,this.stateChanges=new k,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._required=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(t=>Ug().has(t));const c=this._elementRef.nativeElement;this._inputValueAccessor=i||c,this._previousNativeValue=this.value,this.id=this.id,e.IOS&&l.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",t=>{let e=t.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===c.nodeName.toLowerCase(),this._isNativeSelect&&(this.controlType=c.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=Ag(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){return this._required}set required(t){this._required=Ag(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea()&&Ug().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=Ag(t)}ngOnInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()}focus(){this._elementRef.nativeElement.focus()}_focusChanged(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_validateType(){if(Wk.indexOf(this._type)>-1)throw Error(`Input type "${this._type}" isn't supported by matInput.`)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}_isTextarea(){return"textarea"===this._elementRef.nativeElement.nodeName.toLowerCase()}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focused||this.focus()}}))(),Kk=(()=>(class{}))();var Xk=Kn({encapsulation:0,styles:[[".coverContainer[_ngcontent-%COMP%]{width:150px;height:150px;display:inline-block}.coverPlaceholder[_ngcontent-%COMP%]{color:gray;font-size:12px}.cover[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;top:0;left:0;background-size:100% 100%}.deleteButton[_ngcontent-%COMP%]{margin-right:0;margin-left:310px;margin-top:-20px}"]],data:{}});function Jk(t){return ei(0,[(t()(),Fr(0,0,null,null,3,"button",[["class","deleteButton"],["color","warn"],["fast-click",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var a=!0;return"click"===e&&(a=!1!==t.component.clickDelete()&&a),a},SC,kC)),so(1,180224,null,0,wf,[an,vp,[2,xC]],{color:[0,"color"]},null),so(2,16384,null,0,EC,[an],null,null),(t()(),Xr(-1,0,["Delete"]))],function(t,e){t(e,1,0,"warn")},function(t,e){t(e,0,0,Ga(e,1).disabled||null,"NoopAnimations"===Ga(e,1)._animationMode)})}function tS(t){return ei(0,[(t()(),Lr(16777216,null,null,1,null,Jk)),so(1,16384,null,0,js,[Rn,Tn],{ngIf:[0,"ngIf"]},null),(t()(),Fr(2,0,null,null,67,"mat-card",[["class","setup-card mat-card"]],null,null,null,Xp,Kp)),so(3,49152,null,0,kg,[],null,null),(t()(),Fr(4,0,null,0,52,"mat-card-header",[["class","mat-card-header"]],null,null,null,tf,Jp)),so(5,49152,null,0,Sg,[],null,null),(t()(),Fr(6,0,[["file",1]],2,0,"input",[["accept","image/*"],["hidden",""],["type","file"]],null,[[null,"change"]],function(t,e,n){var a=!0;return"change"===e&&(a=!1!==t.component.loadCover(Ga(t,6).files)&&a),a},null,null)),(t()(),Fr(7,0,null,2,5,"button",[["class","coverContainer"],["fast-click",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var a=!0;return"click"===e&&(a=!1!==Ga(t,6).click()&&a),a},SC,kC)),so(8,180224,null,0,wf,[an,vp,[2,xC]],null,null),so(9,16384,null,0,EC,[an],null,null),(t()(),Fr(10,0,null,0,1,"div",[["class","coverPlaceholder"]],null,null,null,null,null)),(t()(),Xr(-1,null,["Choose Cover Image"])),(t()(),Fr(12,0,null,0,0,"img",[["class","cover"]],[[4,"background-image",null]],null,null,null,null)),(t()(),Fr(13,0,null,1,20,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),so(14,16384,null,0,yg,[],null,null),(t()(),Fr(15,0,null,null,18,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,jk,Tk)),so(16,7520256,null,9,Sk,[an,xn,[2,Qp],[2,Ig],[2,kk],Vg,Jo,[2,xC]],null,null),Ur(603979776,1,{_controlNonStatic:0}),Ur(335544320,2,{_controlStatic:0}),Ur(603979776,3,{_labelChildNonStatic:0}),Ur(335544320,4,{_labelChildStatic:0}),Ur(603979776,5,{_placeholderChild:0}),Ur(603979776,6,{_errorChildren:1}),Ur(603979776,7,{_hintChildren:1}),Ur(603979776,8,{_prefixChildren:1}),Ur(603979776,9,{_suffixChildren:1}),(t()(),Fr(26,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Playlist Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(t,e,n){var a=!0,o=t.component;return"input"===e&&(a=!1!==Ga(t,27)._handleInput(n.target.value)&&a),"blur"===e&&(a=!1!==Ga(t,27).onTouched()&&a),"compositionstart"===e&&(a=!1!==Ga(t,27)._compositionStart()&&a),"compositionend"===e&&(a=!1!==Ga(t,27)._compositionEnd(n.target.value)&&a),"blur"===e&&(a=!1!==Ga(t,32)._focusChanged(!1)&&a),"focus"===e&&(a=!1!==Ga(t,32)._focusChanged(!0)&&a),"input"===e&&(a=!1!==Ga(t,32)._onInput()&&a),"ngModelChange"===e&&(a=!1!==(o.data.playlist.PlaylistName=n)&&a),a},null,null)),so(27,16384,null,0,kx,[cn,an,[2,wx]],null,null),co(1024,null,vx,function(t){return[t]},[kx]),so(29,671744,null,0,Ow,[[8,null],[8,null],[8,null],[6,vx]],{model:[0,"model"]},{update:"ngModelChange"}),co(2048,null,Ix,null,[Ow]),so(31,16384,null,0,Rx,[[4,Ix]],null,null),so(32,999424,null,0,Qk,[an,Vg,[6,Ix],[2,pw],[2,yw],Np,[8,null],$k,Jo],{placeholder:[0,"placeholder"]},null),co(2048,[[1,4],[2,4]],Mk,null,[Qk]),(t()(),Fr(34,0,null,1,22,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),so(35,16384,null,0,vg,[],null,null),(t()(),Fr(36,0,null,null,20,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,jk,Tk)),so(37,7520256,null,9,Sk,[an,xn,[2,Qp],[2,Ig],[2,kk],Vg,Jo,[2,xC]],null,null),Ur(603979776,10,{_controlNonStatic:0}),Ur(335544320,11,{_controlStatic:0}),Ur(603979776,12,{_labelChildNonStatic:0}),Ur(335544320,13,{_labelChildStatic:0}),Ur(603979776,14,{_placeholderChild:0}),Ur(603979776,15,{_errorChildren:1}),Ur(603979776,16,{_hintChildren:1}),Ur(603979776,17,{_prefixChildren:1}),Ur(603979776,18,{_suffixChildren:1}),(t()(),Fr(47,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["pattern","[a-zA-Z0-9]"]],[[1,"readonly",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(t,e,n){var a=!0,o=t.component;return"input"===e&&(a=!1!==Ga(t,48)._handleInput(n.target.value)&&a),"blur"===e&&(a=!1!==Ga(t,48).onTouched()&&a),"compositionstart"===e&&(a=!1!==Ga(t,48)._compositionStart()&&a),"compositionend"===e&&(a=!1!==Ga(t,48)._compositionEnd(n.target.value)&&a),"blur"===e&&(a=!1!==Ga(t,55)._focusChanged(!1)&&a),"focus"===e&&(a=!1!==Ga(t,55)._focusChanged(!0)&&a),"input"===e&&(a=!1!==Ga(t,55)._onInput()&&a),"ngModelChange"===e&&(a=!1!==(o.data.playlist.PlaylistID=n)&&a),a},null,null)),so(48,16384,null,0,kx,[cn,an,[2,wx]],null,null),so(49,540672,null,0,vw,[],{pattern:[0,"pattern"]},null),co(1024,null,Dx,function(t){return[t]},[vw]),co(1024,null,vx,function(t){return[t]},[kx]),so(52,671744,null,0,Ow,[[8,null],[6,Dx],[8,null],[6,vx]],{model:[0,"model"]},{update:"ngModelChange"}),co(2048,null,Ix,null,[Ow]),so(54,16384,null,0,Rx,[[4,Ix]],null,null),so(55,999424,null,0,Qk,[an,Vg,[6,Ix],[2,pw],[2,yw],Np,[8,null],$k,Jo],{placeholder:[0,"placeholder"]},null),co(2048,[[10,4],[11,4]],Mk,null,[Qk]),(t()(),Fr(57,0,null,0,1,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),so(58,16384,null,0,Mg,[],null,null),(t()(),Fr(59,0,null,0,10,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),so(60,16384,null,0,xg,[],null,null),(t()(),Fr(61,0,null,null,3,"button",[["color","accent"],["fast-click",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var a=!0;return"click"===e&&(a=!1!==t.component.clickSave()&&a),a},SC,kC)),so(62,180224,null,0,wf,[an,vp,[2,xC]],{color:[0,"color"]},null),so(63,16384,null,0,EC,[an],null,null),(t()(),Xr(-1,0,["Save"])),(t()(),Fr(65,0,null,null,0,"div",[["style","display: inline-block; width: 50%"]],null,null,null,null,null)),(t()(),Fr(66,0,null,null,3,"button",[["fast-click",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var a=!0;return"click"===e&&(a=!1!==t.component.clickCancel()&&a),a},SC,kC)),so(67,180224,null,0,wf,[an,vp,[2,xC]],null,null),so(68,16384,null,0,EC,[an],null,null),(t()(),Xr(-1,0,["Cancel"]))],function(t,e){var n=e.component;t(e,1,0,!n.data.isNew),t(e,29,0,n.data.playlist.PlaylistName),t(e,32,0,"Playlist Name"),t(e,49,0,"[a-zA-Z0-9]"),t(e,52,0,n.data.playlist.PlaylistID),t(e,55,0,n.makeAutoID(n.data.playlist.PlaylistName)),t(e,62,0,"accent")},function(t,e){var n=e.component;t(e,7,0,Ga(e,8).disabled||null,"NoopAnimations"===Ga(e,8)._animationMode),t(e,12,0,n.getCover()),t(e,15,1,["standard"==Ga(e,16).appearance,"fill"==Ga(e,16).appearance,"outline"==Ga(e,16).appearance,"legacy"==Ga(e,16).appearance,Ga(e,16)._control.errorState,Ga(e,16)._canLabelFloat,Ga(e,16)._shouldLabelFloat(),Ga(e,16)._hasFloatingLabel(),Ga(e,16)._hideControlPlaceholder(),Ga(e,16)._control.disabled,Ga(e,16)._control.autofilled,Ga(e,16)._control.focused,"accent"==Ga(e,16).color,"warn"==Ga(e,16).color,Ga(e,16)._shouldForward("untouched"),Ga(e,16)._shouldForward("touched"),Ga(e,16)._shouldForward("pristine"),Ga(e,16)._shouldForward("dirty"),Ga(e,16)._shouldForward("valid"),Ga(e,16)._shouldForward("invalid"),Ga(e,16)._shouldForward("pending"),!Ga(e,16)._animationsEnabled]),t(e,26,1,[Ga(e,31).ngClassUntouched,Ga(e,31).ngClassTouched,Ga(e,31).ngClassPristine,Ga(e,31).ngClassDirty,Ga(e,31).ngClassValid,Ga(e,31).ngClassInvalid,Ga(e,31).ngClassPending,Ga(e,32)._isServer,Ga(e,32).id,Ga(e,32).placeholder,Ga(e,32).disabled,Ga(e,32).required,Ga(e,32).readonly&&!Ga(e,32)._isNativeSelect||null,Ga(e,32)._ariaDescribedby||null,Ga(e,32).errorState,Ga(e,32).required.toString()]),t(e,36,1,["standard"==Ga(e,37).appearance,"fill"==Ga(e,37).appearance,"outline"==Ga(e,37).appearance,"legacy"==Ga(e,37).appearance,Ga(e,37)._control.errorState,Ga(e,37)._canLabelFloat,Ga(e,37)._shouldLabelFloat(),Ga(e,37)._hasFloatingLabel(),Ga(e,37)._hideControlPlaceholder(),Ga(e,37)._control.disabled,Ga(e,37)._control.autofilled,Ga(e,37)._control.focused,"accent"==Ga(e,37).color,"warn"==Ga(e,37).color,Ga(e,37)._shouldForward("untouched"),Ga(e,37)._shouldForward("touched"),Ga(e,37)._shouldForward("pristine"),Ga(e,37)._shouldForward("dirty"),Ga(e,37)._shouldForward("valid"),Ga(e,37)._shouldForward("invalid"),Ga(e,37)._shouldForward("pending"),!Ga(e,37)._animationsEnabled]),t(e,47,1,[!n.data.isNew,Ga(e,49).pattern?Ga(e,49).pattern:null,Ga(e,54).ngClassUntouched,Ga(e,54).ngClassTouched,Ga(e,54).ngClassPristine,Ga(e,54).ngClassDirty,Ga(e,54).ngClassValid,Ga(e,54).ngClassInvalid,Ga(e,54).ngClassPending,Ga(e,55)._isServer,Ga(e,55).id,Ga(e,55).placeholder,Ga(e,55).disabled,Ga(e,55).required,Ga(e,55).readonly&&!Ga(e,55)._isNativeSelect||null,Ga(e,55)._ariaDescribedby||null,Ga(e,55).errorState,Ga(e,55).required.toString()]),t(e,59,0,"end"===Ga(e,60).align),t(e,61,0,Ga(e,62).disabled||null,"NoopAnimations"===Ga(e,62)._animationMode),t(e,66,0,Ga(e,67).disabled||null,"NoopAnimations"===Ga(e,67)._animationMode)})}function eS(t){return ei(0,[(t()(),Fr(0,0,null,null,1,"app-add-edit-playlist-dialog",[],null,null,null,tS,Xk)),so(1,114688,null,0,zv,[bO,_O],null,null)],function(t,e){t(e,1,0)},null)}var nS=La("app-add-edit-playlist-dialog",zv,eS,{},{},[]),aS=Kn({encapsulation:0,styles:[[""]],data:{}});function oS(t){return ei(0,[(t()(),Fr(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,Xp,Kp)),so(1,49152,null,0,kg,[],null,null),(t()(),Fr(2,0,null,0,7,"mat-card-header",[["class","mat-card-header"]],null,null,null,tf,Jp)),so(3,49152,null,0,Sg,[],null,null),(t()(),Fr(4,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),so(5,16384,null,0,yg,[],null,null),(t()(),Xr(6,null,["",""])),(t()(),Fr(7,0,null,1,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),so(8,16384,null,0,vg,[],null,null),(t()(),Xr(9,null,["",""])),(t()(),Fr(10,0,null,0,10,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),so(11,16384,null,0,xg,[],null,null),(t()(),Fr(12,0,null,null,3,"button",[["color","accent"],["fast-click",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var a=!0;return"click"===e&&(a=!1!==t.component.clickButton1()&&a),a},SC,kC)),so(13,180224,null,0,wf,[an,vp,[2,xC]],{color:[0,"color"]},null),so(14,16384,null,0,EC,[an],null,null),(t()(),Xr(15,0,["",""])),(t()(),Fr(16,0,null,null,0,"div",[["style","display: inline-block; width: 50%"]],null,null,null,null,null)),(t()(),Fr(17,0,null,null,3,"button",[["fast-click",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var a=!0;return"click"===e&&(a=!1!==t.component.clickCancel()&&a),a},SC,kC)),so(18,180224,null,0,wf,[an,vp,[2,xC]],null,null),so(19,16384,null,0,EC,[an],null,null),(t()(),Xr(-1,0,["Cancel"]))],function(t,e){t(e,13,0,"accent")},function(t,e){var n=e.component;t(e,6,0,n.data.title),t(e,9,0,n.data.subTitle),t(e,10,0,"end"===Ga(e,11).align),t(e,12,0,Ga(e,13).disabled||null,"NoopAnimations"===Ga(e,13)._animationMode),t(e,15,0,n.data.button1Text||"OK"),t(e,17,0,Ga(e,18).disabled||null,"NoopAnimations"===Ga(e,18)._animationMode)})}function rS(t){return ei(0,[(t()(),Fr(0,0,null,null,1,"app-confirm-dialog",[],null,null,null,oS,aS)),so(1,114688,null,0,Qv,[bO,_O],null,null)],function(t,e){t(e,1,0)},null)}var iS=La("app-confirm-dialog",Qv,rS,{},{},[]);class sS{constructor(t){this.msgSvc=t,this.downloads={Downloads:[]}}ngOnInit(){this.msgSvc.downloadStatusMessage.subscribe(t=>{console.log("got download update status message"),this.downloads=t})}}var lS=Kn({encapsulation:0,styles:[['@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28121em) scale(.75);transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}@-webkit-keyframes cdk-text-field-autofill-start{}@-webkit-keyframes cdk-text-field-autofill-end{}.mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-option[_ngcontent-%COMP%]{color:#fff}.mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple):not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:focus:not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:hover:not(.mat-option-disabled){background:rgba(255,255,255,.04)}.mat-option.mat-active[_ngcontent-%COMP%]{background:rgba(255,255,255,.04);color:#fff}.mat-option.mat-option-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-primary[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ad2c2c}.mat-accent[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#216bad}.mat-warn[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ff5722}.mat-optgroup-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-optgroup-disabled[_ngcontent-%COMP%] .mat-optgroup-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-pseudo-checkbox[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-pseudo-checkbox[_ngcontent-%COMP%]::after{color:#303030}.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{color:#686868}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%], .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#216bad}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ad2c2c}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ff5722}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{background:#686868}.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-app-background[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-theme-loaded-marker[_ngcontent-%COMP%]{display:none}.mat-autocomplete-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-autocomplete-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover){background:#424242}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#fff}@media (-ms-high-contrast:active){.mat-badge-content[_ngcontent-%COMP%]{outline:solid 1px;border-radius:0}.mat-checkbox-disabled[_ngcontent-%COMP%]{opacity:.5}}.mat-badge-accent[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-badge-warn[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ff5722}.mat-badge[_ngcontent-%COMP%]{position:relative}.mat-badge-hidden[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{display:none}.mat-badge-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#6e6e6e;color:rgba(255,255,255,.5)}.mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ad2c2c;position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out;-webkit-transform:scale(.6);transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;font-weight:600;font-size:12px;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-badge-content._mat-animation-noopable[_ngcontent-%COMP%], .ng-animate-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{transition:none}.mat-badge-content.mat-badge-active[_ngcontent-%COMP%]{-webkit-transform:none;transform:none}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:16px;height:16px;line-height:16px;font-size:9px}.mat-badge-small.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-8px}.mat-badge-small.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-8px}.mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-16px}.mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-8px}.mat-badge-medium[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-11px}.mat-badge-medium.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-11px}.mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-22px}.mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-11px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:28px;height:28px;line-height:28px;font-size:24px}.mat-badge-large.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-14px}.mat-badge-large.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-14px}.mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-28px}.mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-14px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{color:inherit;background:0 0}.mat-button.mat-primary[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-button[disabled][disabled][_ngcontent-%COMP%], .mat-icon-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-icon-button[disabled][disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-stroked-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ff5722}.mat-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:transparent}.mat-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{opacity:.1;background-color:currentColor}.mat-button-focus-overlay[_ngcontent-%COMP%]{background:#fff}.mat-stroked-button[_ngcontent-%COMP%]:not([disabled]){border-color:rgba(255,255,255,.12)}.mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%]{color:#fff;background-color:#424242}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{color:#fff}.mat-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-fab[disabled][disabled][_ngcontent-%COMP%], .mat-flat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-flat-button[disabled][disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-mini-fab[disabled][disabled][_ngcontent-%COMP%], .mat-raised-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-raised-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:rgba(255,255,255,.12)}.mat-fab.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-flat-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-stroked-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-raised-button[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-button-toggle-group[_ngcontent-%COMP%], .mat-button-toggle-standalone[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%], .mat-button-toggle-standalone.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{box-shadow:none;border:1px solid rgba(255,255,255,.12)}.mat-button-toggle[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-button-toggle[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff;background:#424242}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:#fff}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12)}[dir=rtl][_ngcontent-%COMP%] .mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:none;border-top:1px solid rgba(255,255,255,.12)}.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#212121;color:rgba(255,255,255,.7)}.mat-button-toggle-checked.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff}.mat-button-toggle-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:#000}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{background:#424242}.mat-button-toggle-disabled.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#424242}.mat-card[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-card[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-card.mat-card-flat[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-card-subtitle[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-checkbox-frame[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-checkbox-checkmark[_ngcontent-%COMP%]{fill:#303030}.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#303030!important}@media (-ms-high-contrast:black-on-white){.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#000!important}}.mat-checkbox-mixedmark[_ngcontent-%COMP%]{background-color:#303030}.mat-checkbox-checked.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-checkbox-checked.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#216bad}.mat-checkbox-checked.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ff5722}.mat-checkbox-disabled.mat-checkbox-checked[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-disabled.mat-checkbox-indeterminate[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%]:not(.mat-checkbox-checked) .mat-checkbox-frame[_ngcontent-%COMP%]{border-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}@media (-ms-high-contrast:active){.mat-checkbox-background[_ngcontent-%COMP%]{background:0 0}.mat-ripple-element[_ngcontent-%COMP%]{display:none}}.mat-checkbox[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%]{background:#ad2c2c}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%]{background:#216bad}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%]{background:#ff5722}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]{background-color:#616161;color:#fff}.mat-chip.mat-standard-chip[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled) .mat-chip-remove[_ngcontent-%COMP%]:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled[_ngcontent-%COMP%]{opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]::after{background:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-table[_ngcontent-%COMP%]{background:#424242}.mat-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%], .mat-table-sticky[_ngcontent-%COMP%], [mat-footer-row][_ngcontent-%COMP%], [mat-header-row][_ngcontent-%COMP%], [mat-row][_ngcontent-%COMP%], mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%]{background:inherit}mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%], td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{border-bottom-color:rgba(255,255,255,.12)}.mat-header-cell[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{color:#fff}.mat-calendar-arrow[_ngcontent-%COMP%]{border-top-color:#fff}.mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-next-button[_ngcontent-%COMP%], .mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-previous-button[_ngcontent-%COMP%], .mat-datepicker-toggle[_ngcontent-%COMP%]{color:#fff}.mat-calendar-table-header[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-calendar-table-header-divider[_ngcontent-%COMP%]::after{background:rgba(255,255,255,.12)}.mat-calendar-body-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-calendar-body-cell-content[_ngcontent-%COMP%]{color:#fff;border-color:transparent}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){color:rgba(255,255,255,.5)}.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .cdk-program-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .mat-calendar-body-cell[_ngcontent-%COMP%]:not(.mat-calendar-body-disabled):hover > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){background-color:rgba(255,255,255,.04)}.mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.5)}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.3)}.mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.4)}.mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#424242;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.4)}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.4)}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content-touch[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-datepicker-toggle-active[_ngcontent-%COMP%]{color:#ad2c2c}.mat-datepicker-toggle-active.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-datepicker-toggle-active.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-dialog-container[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-divider[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-divider-vertical[_ngcontent-%COMP%]{border-right-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-expansion-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-action-row[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-keyboard-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-program-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]):hover{background:rgba(255,255,255,.04)}@media (hover:none){.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header[_ngcontent-%COMP%]:hover{background:#424242}}.mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:#fff}.mat-expansion-indicator[_ngcontent-%COMP%]::after, .mat-expansion-panel-header-description[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%], .mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:inherit}.mat-form-field-label[_ngcontent-%COMP%], .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-focused[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#fff}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid) .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ad2c2c}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#216bad}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#ff5722}.mat-error[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7);bottom:1.25em}.mat-form-field-appearance-legacy.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7)}.mat-form-field-appearance-standard.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.05)}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:transparent}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#fff}.mat-form-field-appearance-outline.mat-focused[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field-appearance-outline.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-appearance-outline.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.15)}.mat-icon.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-icon.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-icon.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-type-mat-native-select[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:rgba(255,255,255,.7)}.mat-form-field-type-mat-native-select.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-input-element[_ngcontent-%COMP%]:disabled{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]{caret-color:#ad2c2c}.mat-input-element[_ngcontent-%COMP%]::-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-moz-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-webkit-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]{color:rgba(0,0,0,.87)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]:disabled{color:rgba(0,0,0,.38)}.mat-accent[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#216bad}.mat-form-field-invalid[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#ff5722}.mat-form-field-type-mat-native-select.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ff5722}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%], .mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{color:#fff}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-list-item-disabled[_ngcontent-%COMP%]{background-color:#000}.mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover, .mat-list-option[_ngcontent-%COMP%]:focus, .mat-list-option[_ngcontent-%COMP%]:hover, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover{background:rgba(255,255,255,.04)}.mat-menu-panel[_ngcontent-%COMP%]{background:#424242}.mat-menu-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-menu-item[_ngcontent-%COMP%]{background:0 0;color:#fff}.mat-menu-item[disabled][_ngcontent-%COMP%], .mat-menu-item[disabled][_ngcontent-%COMP%]::after{color:rgba(255,255,255,.5)}.mat-menu-item[_ngcontent-%COMP%] .mat-icon-no-color[_ngcontent-%COMP%], .mat-menu-item-submenu-trigger[_ngcontent-%COMP%]::after{color:#fff}.mat-menu-item-highlighted[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-keyboard-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-program-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item[_ngcontent-%COMP%]:hover:not([disabled]){background:rgba(255,255,255,.04)}.mat-paginator[_ngcontent-%COMP%]{background:#424242}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-paginator-decrement[_ngcontent-%COMP%], .mat-paginator-increment[_ngcontent-%COMP%]{border-top:2px solid #fff;border-right:2px solid #fff}.mat-paginator-first[_ngcontent-%COMP%], .mat-paginator-last[_ngcontent-%COMP%]{border-top:2px solid #fff}.mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-decrement[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-first[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-increment[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-last[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-progress-bar-background[_ngcontent-%COMP%]{fill:#e6c0c0}.mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#e6c0c0}.mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ad2c2c}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#216bad}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ff5722}.mat-progress-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ad2c2c}.mat-progress-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#216bad}.mat-progress-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ff5722}.mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ad2c2c}.mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#216bad}.mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#216bad}.mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ff5722}.mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ff5722}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-label-content[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-radio-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-select-value[_ngcontent-%COMP%]{color:#fff}.mat-select-disabled[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%], .mat-select-placeholder[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-select-panel[_ngcontent-%COMP%]{background:#424242}.mat-select-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-select-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple){background:rgba(255,255,255,.12)}.mat-form-field.mat-focused.mat-primary[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#216bad}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-invalid[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-form-field.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-disabled[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-drawer-container[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-drawer[_ngcontent-%COMP%]{background-color:#424242;color:#fff}.mat-drawer.mat-drawer-push[_ngcontent-%COMP%]{background-color:#424242}.mat-drawer[_ngcontent-%COMP%]:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-drawer-side[_ngcontent-%COMP%]{border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%] .mat-drawer-side[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12);border-right:none}[dir=rtl][_ngcontent-%COMP%] .mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-backdrop.mat-drawer-shown[_ngcontent-%COMP%]{background-color:rgba(189,189,189,.6)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.54)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.54)}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.54)}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle[_ngcontent-%COMP%]:not(.mat-checked) .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-slide-toggle-thumb[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#bdbdbd}.mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#216bad}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ff5722}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.2)}.cdk-focused[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%] .mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:#fff}.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing) .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3);background-color:transparent}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-has-ticks[_ngcontent-%COMP%] .mat-slider-wrapper[_ngcontent-%COMP%]::after{border-color:rgba(255,255,255,.7)}.mat-slider-horizontal[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to right,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-slider-vertical[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to bottom,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused[_ngcontent-%COMP%], .mat-step-header.cdk-program-focused[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%]:hover{background-color:rgba(255,255,255,.04)}@media (hover:none){.mat-step-header[_ngcontent-%COMP%]:hover{background:0 0}}.mat-step-header[_ngcontent-%COMP%] .mat-step-label[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-optional[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7);color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-selected[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-edit[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-error[_ngcontent-%COMP%]{background-color:transparent;color:#ff5722}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-active[_ngcontent-%COMP%]{color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-error[_ngcontent-%COMP%]{color:#ff5722}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{background-color:#424242}.mat-stepper-vertical-line[_ngcontent-%COMP%]::before{border-left-color:rgba(255,255,255,.12)}.mat-horizontal-stepper-header[_ngcontent-%COMP%]::after, .mat-horizontal-stepper-header[_ngcontent-%COMP%]::before, .mat-stepper-horizontal-line[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-sort-header-arrow[_ngcontent-%COMP%]{color:#c6c6c6}.mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[_ngcontent-%COMP%]{border-bottom:1px solid rgba(255,255,255,.12)}.mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-nav-bar[_ngcontent-%COMP%]{border-top:1px solid rgba(255,255,255,.12);border-bottom:none}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-tab-group[class*=mat-background-][_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[class*=mat-background-][_ngcontent-%COMP%]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-toolbar[_ngcontent-%COMP%]{background:#212121;color:#fff}.mat-toolbar.mat-primary[_ngcontent-%COMP%]{background:#ad2c2c;color:#fff}.mat-toolbar.mat-accent[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-toolbar.mat-warn[_ngcontent-%COMP%]{background:#ff5722;color:#fff}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:currentColor}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%]{color:inherit}.mat-toolbar[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:currentColor}.mat-tooltip[_ngcontent-%COMP%]{background:rgba(97,97,97,.9)}.mat-tree[_ngcontent-%COMP%]{background:#424242}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{color:#fff}.mat-snack-bar-container[_ngcontent-%COMP%]{color:rgba(0,0,0,.87);background:#fafafa;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 11.62px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 9.38px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,"Helvetica Neue",sans-serif}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,"Helvetica Neue",sans-serif;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34373em) scale(.75);transform:translateY(-1.34373em) scale(.75);width:133.3333533333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34372em) scale(.75);transform:translateY(-1.34372em) scale(.75);width:133.3333633333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00106px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00106px);-ms-transform:translateY(-1.28119em) scale(.75);width:133.3333933333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00107px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00107px);-ms-transform:translateY(-1.28118em) scale(.75);width:133.3334033333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00108px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00108px);-ms-transform:translateY(-1.28117em) scale(.75);width:133.3334133333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28116em) scale(.75);transform:translateY(-1.28116em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28115em) scale(.75);transform:translateY(-1.28115em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28114em) scale(.75);transform:translateY(-1.28114em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59373em) scale(.75);transform:translateY(-.59373em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59372em) scale(.75);transform:translateY(-.59372em) scale(.75);width:133.3333633333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59373em) scale(.75);transform:translateY(-1.59373em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59372em) scale(.75);transform:translateY(-1.59372em) scale(.75);width:133.3333633333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{color:inherit;line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,-webkit-transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1),-webkit-transform 0s cubic-bezier(0,0,.2,1);-webkit-transform:scale(0);transform:scale(0)}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation-name:cdk-text-field-autofill-start;animation-name:cdk-text-field-autofill-start}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation-name:cdk-text-field-autofill-end;animation-name:cdk-text-field-autofill-end}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{height:auto!important;overflow:hidden!important;padding:2px 0!important;box-sizing:content-box!important}.downloadCount[_ngcontent-%COMP%]{display:inline-block;font-size:15px;margin-left:5px;margin-top:3px}mat-icon[_ngcontent-%COMP%]{font-size:24px}.nodownloads[_ngcontent-%COMP%]{font-size:14px;padding:5px;color:#ff5722}']],data:{}});function cS(t){return ei(0,[(t()(),Fr(0,0,null,null,7,"button",[["fast-click",""],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"color"]],function(t,e,n){var a=!0;return"color"===e&&(a=!1!==(t.component.downloads.Downloads.length>0?"accent":"")&&a),a},SC,kC)),so(1,180224,null,0,wf,[an,vp,[2,xC]],null,null),so(2,16384,null,0,EC,[an],null,null),(t()(),Fr(3,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Mf,Of)),so(4,9158656,null,0,Cf,[an,df,[8,null],[2,pf]],null,null),(t()(),Xr(-1,0,["cloud_download"])),(t()(),Fr(6,0,null,0,1,"div",[["class","downloadCount"]],null,null,null,null,null)),(t()(),Xr(7,null,["",""]))],function(t,e){t(e,4,0)},function(t,e){var n=e.component;t(e,0,0,Ga(e,1).disabled||null,"NoopAnimations"===Ga(e,1)._animationMode),t(e,3,0,Ga(e,4).inline,"primary"!==Ga(e,4).color&&"accent"!==Ga(e,4).color&&"warn"!==Ga(e,4).color),t(e,7,0,n.downloads.Downloads.length)})}class dS extends Lv{constructor(){super(...arguments),this.Type=Fv.GetOps}}class uS{constructor(t,e){this.msgSvc=t,this.appIntegration=e,this.wasBrowserHidden=!1,this.ops={Ops:[]};var n=!1;this.msgSvc.opStatusMessage.subscribe(t=>{this.ops=t,n=!0}),t.connectionStatusChanged.subscribe(t=>{if(t==Vh.Connected&&!n){var e=new dS;e.ClearFailedOps=!1,this.msgSvc.sendClientMessage(e)}})}menuOpened(){this.wasBrowserHidden=!1,this.appIntegration.isBrowserShown&&(this.wasBrowserHidden=!0,this.appIntegration.hideBrowser())}menuClosed(){this.wasBrowserHidden&&(this.wasBrowserHidden=!1,this.appIntegration.showBrowser())}getColor(){return this.showError()?"warn":""}showCheck(){return this.ops.Ops.length<1}showSpin(){return this.ops.Ops.findIndex(t=>t.Status!=rg.Failed)>-1}showError(){return this.ops.Ops.findIndex(t=>t.Status==rg.Failed)>-1}opClick(t){t.Error&&alert(t.Error)}ngOnInit(){}clickClearFailedOps(){var t=new dS;t.ClearFailedOps=!0,this.msgSvc.sendClientMessage(t)}}var mS=Kn({encapsulation:0,styles:[['@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28121em) scale(.75);transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}@-webkit-keyframes cdk-text-field-autofill-start{}@-webkit-keyframes cdk-text-field-autofill-end{}.mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-option[_ngcontent-%COMP%]{color:#fff}.mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple):not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:focus:not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:hover:not(.mat-option-disabled){background:rgba(255,255,255,.04)}.mat-option.mat-active[_ngcontent-%COMP%]{background:rgba(255,255,255,.04);color:#fff}.mat-option.mat-option-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-primary[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ad2c2c}.mat-accent[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#216bad}.mat-warn[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ff5722}.mat-optgroup-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-optgroup-disabled[_ngcontent-%COMP%] .mat-optgroup-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-pseudo-checkbox[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-pseudo-checkbox[_ngcontent-%COMP%]::after{color:#303030}.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{color:#686868}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%], .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#216bad}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ad2c2c}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ff5722}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{background:#686868}.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-app-background[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-theme-loaded-marker[_ngcontent-%COMP%]{display:none}.mat-autocomplete-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-autocomplete-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover){background:#424242}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#fff}@media (-ms-high-contrast:active){.mat-badge-content[_ngcontent-%COMP%]{outline:solid 1px;border-radius:0}.mat-checkbox-disabled[_ngcontent-%COMP%]{opacity:.5}}.mat-badge-accent[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-badge-warn[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ff5722}.mat-badge[_ngcontent-%COMP%]{position:relative}.mat-badge-hidden[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{display:none}.mat-badge-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#6e6e6e;color:rgba(255,255,255,.5)}.mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ad2c2c;position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out;-webkit-transform:scale(.6);transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;font-weight:600;font-size:12px;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-badge-content._mat-animation-noopable[_ngcontent-%COMP%], .ng-animate-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{transition:none}.mat-badge-content.mat-badge-active[_ngcontent-%COMP%]{-webkit-transform:none;transform:none}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:16px;height:16px;line-height:16px;font-size:9px}.mat-badge-small.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-8px}.mat-badge-small.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-8px}.mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-16px}.mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-8px}.mat-badge-medium[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-11px}.mat-badge-medium.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-11px}.mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-22px}.mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-11px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:28px;height:28px;line-height:28px;font-size:24px}.mat-badge-large.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-14px}.mat-badge-large.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-14px}.mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-28px}.mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-14px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{color:inherit;background:0 0}.mat-button.mat-primary[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-button[disabled][disabled][_ngcontent-%COMP%], .mat-icon-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-icon-button[disabled][disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-stroked-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ff5722}.mat-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:transparent}.mat-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{opacity:.1;background-color:currentColor}.mat-button-focus-overlay[_ngcontent-%COMP%]{background:#fff}.mat-stroked-button[_ngcontent-%COMP%]:not([disabled]){border-color:rgba(255,255,255,.12)}.mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%]{color:#fff;background-color:#424242}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{color:#fff}.mat-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-fab[disabled][disabled][_ngcontent-%COMP%], .mat-flat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-flat-button[disabled][disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-mini-fab[disabled][disabled][_ngcontent-%COMP%], .mat-raised-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-raised-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:rgba(255,255,255,.12)}.mat-fab.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-flat-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-stroked-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-raised-button[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-button-toggle-group[_ngcontent-%COMP%], .mat-button-toggle-standalone[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%], .mat-button-toggle-standalone.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{box-shadow:none;border:1px solid rgba(255,255,255,.12)}.mat-button-toggle[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-button-toggle[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff;background:#424242}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:#fff}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12)}[dir=rtl][_ngcontent-%COMP%] .mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:none;border-top:1px solid rgba(255,255,255,.12)}.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#212121;color:rgba(255,255,255,.7)}.mat-button-toggle-checked.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff}.mat-button-toggle-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:#000}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{background:#424242}.mat-button-toggle-disabled.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#424242}.mat-card[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-card[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-card.mat-card-flat[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-card-subtitle[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-checkbox-frame[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-checkbox-checkmark[_ngcontent-%COMP%]{fill:#303030}.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#303030!important}@media (-ms-high-contrast:black-on-white){.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#000!important}}.mat-checkbox-mixedmark[_ngcontent-%COMP%]{background-color:#303030}.mat-checkbox-checked.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-checkbox-checked.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#216bad}.mat-checkbox-checked.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ff5722}.mat-checkbox-disabled.mat-checkbox-checked[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-disabled.mat-checkbox-indeterminate[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%]:not(.mat-checkbox-checked) .mat-checkbox-frame[_ngcontent-%COMP%]{border-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}@media (-ms-high-contrast:active){.mat-checkbox-background[_ngcontent-%COMP%]{background:0 0}.mat-ripple-element[_ngcontent-%COMP%]{display:none}}.mat-checkbox[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%]{background:#ad2c2c}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%]{background:#216bad}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%]{background:#ff5722}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]{background-color:#616161;color:#fff}.mat-chip.mat-standard-chip[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled) .mat-chip-remove[_ngcontent-%COMP%]:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled[_ngcontent-%COMP%]{opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]::after{background:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-table[_ngcontent-%COMP%]{background:#424242}.mat-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%], .mat-table-sticky[_ngcontent-%COMP%], [mat-footer-row][_ngcontent-%COMP%], [mat-header-row][_ngcontent-%COMP%], [mat-row][_ngcontent-%COMP%], mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%]{background:inherit}mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%], td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{border-bottom-color:rgba(255,255,255,.12)}.mat-header-cell[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{color:#fff}.mat-calendar-arrow[_ngcontent-%COMP%]{border-top-color:#fff}.mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-next-button[_ngcontent-%COMP%], .mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-previous-button[_ngcontent-%COMP%], .mat-datepicker-toggle[_ngcontent-%COMP%]{color:#fff}.mat-calendar-table-header[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-calendar-table-header-divider[_ngcontent-%COMP%]::after{background:rgba(255,255,255,.12)}.mat-calendar-body-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-calendar-body-cell-content[_ngcontent-%COMP%]{color:#fff;border-color:transparent}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){color:rgba(255,255,255,.5)}.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .cdk-program-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .mat-calendar-body-cell[_ngcontent-%COMP%]:not(.mat-calendar-body-disabled):hover > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){background-color:rgba(255,255,255,.04)}.mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.5)}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.3)}.mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.4)}.mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#424242;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.4)}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.4)}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content-touch[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-datepicker-toggle-active[_ngcontent-%COMP%]{color:#ad2c2c}.mat-datepicker-toggle-active.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-datepicker-toggle-active.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-dialog-container[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-divider[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-divider-vertical[_ngcontent-%COMP%]{border-right-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-expansion-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-action-row[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-keyboard-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-program-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]):hover{background:rgba(255,255,255,.04)}@media (hover:none){.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header[_ngcontent-%COMP%]:hover{background:#424242}}.mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:#fff}.mat-expansion-indicator[_ngcontent-%COMP%]::after, .mat-expansion-panel-header-description[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%], .mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:inherit}.mat-form-field-label[_ngcontent-%COMP%], .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-focused[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#fff}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid) .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ad2c2c}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#216bad}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#ff5722}.mat-error[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7);bottom:1.25em}.mat-form-field-appearance-legacy.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7)}.mat-form-field-appearance-standard.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.05)}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:transparent}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#fff}.mat-form-field-appearance-outline.mat-focused[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field-appearance-outline.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-appearance-outline.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.15)}.mat-icon.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-icon.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-icon.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-type-mat-native-select[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:rgba(255,255,255,.7)}.mat-form-field-type-mat-native-select.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-input-element[_ngcontent-%COMP%]:disabled{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]{caret-color:#ad2c2c}.mat-input-element[_ngcontent-%COMP%]::-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-moz-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-webkit-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]{color:rgba(0,0,0,.87)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]:disabled{color:rgba(0,0,0,.38)}.mat-accent[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#216bad}.mat-form-field-invalid[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#ff5722}.mat-form-field-type-mat-native-select.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ff5722}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%], .mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{color:#fff}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-list-item-disabled[_ngcontent-%COMP%]{background-color:#000}.mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover, .mat-list-option[_ngcontent-%COMP%]:focus, .mat-list-option[_ngcontent-%COMP%]:hover, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover{background:rgba(255,255,255,.04)}.mat-menu-panel[_ngcontent-%COMP%]{background:#424242}.mat-menu-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-menu-item[_ngcontent-%COMP%]{background:0 0;color:#fff}.mat-menu-item[disabled][_ngcontent-%COMP%], .mat-menu-item[disabled][_ngcontent-%COMP%]::after{color:rgba(255,255,255,.5)}.mat-menu-item[_ngcontent-%COMP%] .mat-icon-no-color[_ngcontent-%COMP%], .mat-menu-item-submenu-trigger[_ngcontent-%COMP%]::after{color:#fff}.mat-menu-item-highlighted[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-keyboard-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-program-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item[_ngcontent-%COMP%]:hover:not([disabled]){background:rgba(255,255,255,.04)}.mat-paginator[_ngcontent-%COMP%]{background:#424242}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-paginator-decrement[_ngcontent-%COMP%], .mat-paginator-increment[_ngcontent-%COMP%]{border-top:2px solid #fff;border-right:2px solid #fff}.mat-paginator-first[_ngcontent-%COMP%], .mat-paginator-last[_ngcontent-%COMP%]{border-top:2px solid #fff}.mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-decrement[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-first[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-increment[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-last[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-progress-bar-background[_ngcontent-%COMP%]{fill:#e6c0c0}.mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#e6c0c0}.mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ad2c2c}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#216bad}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ff5722}.mat-progress-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ad2c2c}.mat-progress-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#216bad}.mat-progress-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ff5722}.mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ad2c2c}.mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#216bad}.mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#216bad}.mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ff5722}.mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ff5722}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-label-content[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-radio-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-select-value[_ngcontent-%COMP%]{color:#fff}.mat-select-disabled[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%], .mat-select-placeholder[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-select-panel[_ngcontent-%COMP%]{background:#424242}.mat-select-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-select-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple){background:rgba(255,255,255,.12)}.mat-form-field.mat-focused.mat-primary[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#216bad}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-invalid[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-form-field.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-disabled[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-drawer-container[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-drawer[_ngcontent-%COMP%]{background-color:#424242;color:#fff}.mat-drawer.mat-drawer-push[_ngcontent-%COMP%]{background-color:#424242}.mat-drawer[_ngcontent-%COMP%]:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-drawer-side[_ngcontent-%COMP%]{border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%] .mat-drawer-side[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12);border-right:none}[dir=rtl][_ngcontent-%COMP%] .mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-backdrop.mat-drawer-shown[_ngcontent-%COMP%]{background-color:rgba(189,189,189,.6)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.54)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.54)}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.54)}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle[_ngcontent-%COMP%]:not(.mat-checked) .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-slide-toggle-thumb[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#bdbdbd}.mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#216bad}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ff5722}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.2)}.cdk-focused[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%] .mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:#fff}.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing) .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3);background-color:transparent}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-has-ticks[_ngcontent-%COMP%] .mat-slider-wrapper[_ngcontent-%COMP%]::after{border-color:rgba(255,255,255,.7)}.mat-slider-horizontal[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to right,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-slider-vertical[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to bottom,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused[_ngcontent-%COMP%], .mat-step-header.cdk-program-focused[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%]:hover{background-color:rgba(255,255,255,.04)}@media (hover:none){.mat-step-header[_ngcontent-%COMP%]:hover{background:0 0}}.mat-step-header[_ngcontent-%COMP%] .mat-step-label[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-optional[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7);color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-selected[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-edit[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-error[_ngcontent-%COMP%]{background-color:transparent;color:#ff5722}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-active[_ngcontent-%COMP%]{color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-error[_ngcontent-%COMP%]{color:#ff5722}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{background-color:#424242}.mat-stepper-vertical-line[_ngcontent-%COMP%]::before{border-left-color:rgba(255,255,255,.12)}.mat-horizontal-stepper-header[_ngcontent-%COMP%]::after, .mat-horizontal-stepper-header[_ngcontent-%COMP%]::before, .mat-stepper-horizontal-line[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-sort-header-arrow[_ngcontent-%COMP%]{color:#c6c6c6}.mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[_ngcontent-%COMP%]{border-bottom:1px solid rgba(255,255,255,.12)}.mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-nav-bar[_ngcontent-%COMP%]{border-top:1px solid rgba(255,255,255,.12);border-bottom:none}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-tab-group[class*=mat-background-][_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[class*=mat-background-][_ngcontent-%COMP%]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-toolbar[_ngcontent-%COMP%]{background:#212121;color:#fff}.mat-toolbar.mat-primary[_ngcontent-%COMP%]{background:#ad2c2c;color:#fff}.mat-toolbar.mat-accent[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-toolbar.mat-warn[_ngcontent-%COMP%]{background:#ff5722;color:#fff}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:currentColor}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%]{color:inherit}.mat-toolbar[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:currentColor}.mat-tooltip[_ngcontent-%COMP%]{background:rgba(97,97,97,.9)}.mat-tree[_ngcontent-%COMP%]{background:#424242}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{color:#fff}.mat-snack-bar-container[_ngcontent-%COMP%]{color:rgba(0,0,0,.87);background:#fafafa;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 11.62px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 9.38px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,"Helvetica Neue",sans-serif}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,"Helvetica Neue",sans-serif;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34373em) scale(.75);transform:translateY(-1.34373em) scale(.75);width:133.3333533333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34372em) scale(.75);transform:translateY(-1.34372em) scale(.75);width:133.3333633333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00106px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00106px);-ms-transform:translateY(-1.28119em) scale(.75);width:133.3333933333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00107px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00107px);-ms-transform:translateY(-1.28118em) scale(.75);width:133.3334033333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00108px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00108px);-ms-transform:translateY(-1.28117em) scale(.75);width:133.3334133333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28116em) scale(.75);transform:translateY(-1.28116em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28115em) scale(.75);transform:translateY(-1.28115em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28114em) scale(.75);transform:translateY(-1.28114em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59373em) scale(.75);transform:translateY(-.59373em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59372em) scale(.75);transform:translateY(-.59372em) scale(.75);width:133.3333633333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59373em) scale(.75);transform:translateY(-1.59373em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59372em) scale(.75);transform:translateY(-1.59372em) scale(.75);width:133.3333633333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{color:inherit;line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,-webkit-transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1),-webkit-transform 0s cubic-bezier(0,0,.2,1);-webkit-transform:scale(0);transform:scale(0)}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation-name:cdk-text-field-autofill-start;animation-name:cdk-text-field-autofill-start}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation-name:cdk-text-field-autofill-end;animation-name:cdk-text-field-autofill-end}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{height:auto!important;overflow:hidden!important;padding:2px 0!important;box-sizing:content-box!important}.opsCount[_ngcontent-%COMP%]{display:inline-block;font-size:15px;margin-left:5px;margin-top:3px}mat-icon[_ngcontent-%COMP%]{font-size:24px}.noops[_ngcontent-%COMP%]{font-size:14px;padding:5px;color:#ff5722}.opDesc[_ngcontent-%COMP%]{display:inline-block;min-width:100px}.opStatus[_ngcontent-%COMP%]{display:inline-block;min-width:50px;padding-right:3px}.clearFailed[_ngcontent-%COMP%]{margin-left:8px}.opId[_ngcontent-%COMP%]{display:inline-block;min-width:20px;margin-right:4px}.opContainer[_ngcontent-%COMP%]{font-size:12px}.check[_ngcontent-%COMP%]{position:absolute;color:green;top:-3px;left:24px;font-size:24px;text-shadow:-1px 0 #000,0 1px #000,1px 0 #000,0 -1px #000}.sync[_ngcontent-%COMP%]{position:absolute;color:#fff;top:3px;left:0;font-size:32px;padding:0;width:32px;height:32px}.exclamation[_ngcontent-%COMP%]{position:absolute;color:red;top:0;left:22px;font-size:24px;text-shadow:-1px 0 #000,0 1px #000,1px 0 #000,0 -1px #000}.iconContainer[_ngcontent-%COMP%]{width:24px;display:inline-block}.spinny[_ngcontent-%COMP%]{-webkit-animation:1.5s linear infinite spin;animation:1.5s linear infinite spin;-webkit-transform-origin:center center;transform-origin:center center}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}']],data:{}});function hS(t){return ei(0,[(t()(),Fr(0,0,null,null,2,"mat-icon",[["class","check mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Mf,Of)),so(1,9158656,null,0,Cf,[an,df,[8,null],[2,pf]],null,null),(t()(),Xr(-1,0,["check"]))],function(t,e){t(e,1,0)},function(t,e){t(e,0,0,Ga(e,1).inline,"primary"!==Ga(e,1).color&&"accent"!==Ga(e,1).color&&"warn"!==Ga(e,1).color)})}function gS(t){return ei(0,[(t()(),Fr(0,0,null,null,2,"mat-icon",[["class","exclamation mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Mf,Of)),so(1,9158656,null,0,Cf,[an,df,[8,null],[2,pf]],null,null),(t()(),Xr(-1,0,["priority_high"]))],function(t,e){t(e,1,0)},function(t,e){t(e,0,0,Ga(e,1).inline,"primary"!==Ga(e,1).color&&"accent"!==Ga(e,1).color&&"warn"!==Ga(e,1).color)})}function pS(t){return ei(0,[(t()(),Fr(0,0,null,null,1,"p",[["class","noops"],["color","primary"]],null,null,null,null,null)),(t()(),Xr(-1,null,["No active operations"]))],null,null)}function fS(t){return ei(0,[(t()(),Fr(0,0,null,null,11,"button",[["class","mat-menu-item"],["fast-click",""],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(t,e,n){var a=!0,o=t.component;return"click"===e&&(a=!1!==Ga(t,1)._checkDisabled(n)&&a),"mouseenter"===e&&(a=!1!==Ga(t,1)._handleMouseEnter()&&a),"click"===e&&(a=!1!==o.opClick(t.context.$implicit)&&a),a},Nv,Dv)),so(1,180224,[[1,4]],0,Pv,[an,ol,vp,[2,bv]],null,null),so(2,16384,null,0,EC,[an],null,null),(t()(),Fr(3,0,null,0,6,"div",[["class","opContainer"]],null,null,null,null,null)),(t()(),Fr(4,0,null,null,1,"div",[["class","opId"]],null,null,null,null,null)),(t()(),Xr(5,null,["#",""])),(t()(),Fr(6,0,null,null,1,"div",[["class","opStatus"]],null,null,null,null,null)),(t()(),Xr(7,null,["",":"])),(t()(),Fr(8,0,null,null,1,"div",[["class","opDesc"]],null,null,null,null,null)),(t()(),Xr(9,null,["",""])),(t()(),Fr(10,0,null,0,1,"div",[["class","errMsg"],["color","warn"]],null,null,null,null,null)),(t()(),Xr(11,null,["",""]))],null,function(t,e){t(e,0,0,Ga(e,1).role,Ga(e,1)._highlighted,Ga(e,1)._triggersSubmenu,Ga(e,1)._getTabIndex(),Ga(e,1).disabled.toString(),Ga(e,1).disabled||null),t(e,5,0,e.context.$implicit.ID),t(e,7,0,e.context.$implicit.Status),t(e,9,0,e.context.$implicit.OpDescription),t(e,11,0,e.context.$implicit.Error)})}function bS(t){return ei(0,[(t()(),Fr(0,16777216,null,null,18,"button",[["aria-haspopup","true"],["fast-click",""],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"menuOpened"],[null,"menuClosed"],[null,"mousedown"],[null,"keydown"],[null,"click"]],function(t,e,n){var a=!0,o=t.component;return"mousedown"===e&&(a=!1!==Ga(t,2)._handleMousedown(n)&&a),"keydown"===e&&(a=!1!==Ga(t,2)._handleKeydown(n)&&a),"click"===e&&(a=!1!==Ga(t,2)._handleClick(n)&&a),"menuOpened"===e&&(a=!1!==o.menuOpened()&&a),"menuClosed"===e&&(a=!1!==o.menuClosed()&&a),a},SC,kC)),so(1,180224,null,0,wf,[an,vp,[2,xC]],{color:[0,"color"]},null),so(2,1196032,null,0,Sv,[cO,an,Rn,xv,[2,yv],[8,null],[2,Ig],vp],{menu:[0,"menu"]},{menuOpened:"menuOpened",menuClosed:"menuClosed"}),so(3,16384,null,0,EC,[an],null,null),(t()(),Fr(4,0,null,0,12,"div",[["class","iconContainer"]],null,null,null,null,null)),(t()(),Fr(5,0,null,null,7,"mat-icon",[["class","sync mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Mf,Of)),co(512,null,Ns,zs,[yn,vn,an,cn]),so(7,278528,null,0,Fs,[Ns],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Qr(8,{spinny:0}),so(9,9158656,null,0,Cf,[an,df,[8,null],[2,pf]],null,null),so(10,933888,null,0,av,[an,wM,SM,yn,vn,cn,[6,Fs]],{ngClass:[0,"ngClass"],klass:[1,"klass"]},null),Qr(11,{spinny:0}),(t()(),Xr(-1,0,["sync"])),(t()(),Lr(16777216,null,null,1,null,hS)),so(14,16384,null,0,js,[Rn,Tn],{ngIf:[0,"ngIf"]},null),(t()(),Lr(16777216,null,null,1,null,gS)),so(16,16384,null,0,js,[Rn,Tn],{ngIf:[0,"ngIf"]},null),(t()(),Fr(17,0,null,0,1,"div",[["class","opsCount"]],null,null,null,null,null)),(t()(),Xr(18,null,["",""])),(t()(),Fr(19,0,null,null,13,"mat-menu",[],null,null,null,Av,Iv)),co(6144,null,yv,null,[vv]),co(6144,null,bv,null,[yv]),so(22,1294336,[["menu",4]],2,vv,[an,Jo,Ov],null,null),Ur(603979776,1,{items:1}),Ur(603979776,2,{lazyContent:0}),(t()(),Lr(16777216,null,0,1,null,pS)),so(26,16384,null,0,js,[Rn,Tn],{ngIf:[0,"ngIf"]},null),(t()(),Lr(16777216,null,0,1,null,fS)),so(28,278528,null,0,Bs,[Rn,Tn,yn],{ngForOf:[0,"ngForOf"]},null),(t()(),Fr(29,0,null,0,3,"button",[["class","clearFailed"],["color","accent"],["fast-click",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var a=!0;return"click"===e&&(a=!1!==t.component.clickClearFailedOps()&&a),a},SC,kC)),so(30,180224,null,0,wf,[an,vp,[2,xC]],{color:[0,"color"]},null),so(31,16384,null,0,EC,[an],null,null),(t()(),Xr(-1,0,["Clear Failed"]))],function(t,e){var n,a=e.component;t(e,1,0,""+(null!=(n=a.getColor())?n.toString():"")),t(e,2,0,Ga(e,22));var o=t(e,8,0,a.showSpin());t(e,7,0,"sync",o),t(e,9,0);var r=t(e,11,0,a.showSpin());t(e,10,0,r,"sync"),t(e,14,0,a.showCheck()),t(e,16,0,a.showError()),t(e,22,0),t(e,26,0,a.ops.Ops.length<1),t(e,28,0,a.ops.Ops),t(e,30,0,"accent")},function(t,e){var n=e.component;t(e,0,0,Ga(e,1).disabled||null,"NoopAnimations"===Ga(e,1)._animationMode,Ga(e,2).menuOpen||null),t(e,5,0,Ga(e,9).inline,"primary"!==Ga(e,9).color&&"accent"!==Ga(e,9).color&&"warn"!==Ga(e,9).color),t(e,18,0,n.ops.Ops.length),t(e,29,0,Ga(e,30).disabled||null,"NoopAnimations"===Ga(e,30)._animationMode)})}class _S{constructor(){this.browserLinks=[{title:"Beast Saber",url:"https://bsaber.com"},{title:"Beat Saver",url:"https://beatsaver.com"},{title:"Google",url:"https://google.com"}],this.linkSelected=new wo}clickLink(t){this.linkSelected.emit(t.url)}ngOnInit(){}}var CS=Kn({encapsulation:0,styles:[[".linkbutton[_ngcontent-%COMP%]{max-height:35px;height:35px;display:inline-block}"]],data:{}});function PS(t){return ei(0,[(t()(),Fr(0,0,null,null,4,"button",[["class","linkbutton"],["fast-click",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var a=!0;return"click"===e&&(a=!1!==t.component.clickLink(t.context.$implicit)&&a),a},SC,kC)),so(1,180224,null,0,wf,[an,vp,[2,xC]],null,null),so(2,16384,null,0,EC,[an],null,null),(t()(),Fr(3,0,null,0,1,"div",[["class","title"]],null,null,null,null,null)),(t()(),Xr(4,null,["",""]))],null,function(t,e){t(e,0,0,Ga(e,1).disabled||null,"NoopAnimations"===Ga(e,1)._animationMode),t(e,4,0,e.context.$implicit.title)})}function OS(t){return ei(0,[(t()(),Fr(0,16777216,null,null,9,"button",[["aria-haspopup","true"],["fast-click",""],["mat-button",""],["mat-stroked-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],function(t,e,n){var a=!0;return"mousedown"===e&&(a=!1!==Ga(t,2)._handleMousedown(n)&&a),"keydown"===e&&(a=!1!==Ga(t,2)._handleKeydown(n)&&a),"click"===e&&(a=!1!==Ga(t,2)._handleClick(n)&&a),a},SC,kC)),so(1,180224,null,0,wf,[an,vp,[2,xC]],null,null),so(2,1196032,null,0,Sv,[cO,an,Rn,xv,[2,yv],[8,null],[2,Ig],vp],{menu:[0,"menu"]},null),so(3,16384,null,0,EC,[an],null,null),(t()(),Fr(4,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Mf,Of)),so(5,9158656,null,0,Cf,[an,df,[8,null],[2,pf]],null,null),(t()(),Xr(-1,0,["public"])),(t()(),Fr(7,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Mf,Of)),so(8,9158656,null,0,Cf,[an,df,[8,null],[2,pf]],null,null),(t()(),Xr(-1,0,["expand_more"])),(t()(),Fr(10,0,null,null,9,"mat-menu",[],null,null,null,Av,Iv)),so(11,1294336,[["menu",4]],2,vv,[an,Jo,Ov],{panelClass:[0,"panelClass"]},null),Ur(603979776,1,{items:1}),Ur(603979776,2,{lazyContent:0}),co(2048,null,yv,null,[vv]),co(2048,null,bv,null,[yv]),(t()(),Fr(16,0,null,0,3,"div",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(t,e,n){var a=!0;return"click"===e&&(a=!1!==Ga(t,17)._checkDisabled(n)&&a),"mouseenter"===e&&(a=!1!==Ga(t,17)._handleMouseEnter()&&a),a},Nv,Dv)),so(17,180224,[[1,4]],0,Pv,[an,ol,vp,[2,bv]],null,null),(t()(),Lr(16777216,null,0,1,null,PS)),so(19,278528,null,0,Bs,[Rn,Tn,yn],{ngForOf:[0,"ngForOf"]},null)],function(t,e){var n=e.component;t(e,2,0,Ga(e,11)),t(e,5,0),t(e,8,0),t(e,11,0,"browserNavMenu"),t(e,19,0,n.browserLinks)},function(t,e){t(e,0,0,Ga(e,1).disabled||null,"NoopAnimations"===Ga(e,1)._animationMode,Ga(e,2).menuOpen||null),t(e,4,0,Ga(e,5).inline,"primary"!==Ga(e,5).color&&"accent"!==Ga(e,5).color&&"warn"!==Ga(e,5).color),t(e,7,0,Ga(e,8).inline,"primary"!==Ga(e,8).color&&"accent"!==Ga(e,8).color&&"warn"!==Ga(e,8).color),t(e,16,0,Ga(e,17).role,Ga(e,17)._highlighted,Ga(e,17)._triggersSubmenu,Ga(e,17)._getTabIndex(),Ga(e,17).disabled.toString(),Ga(e,17).disabled||null)})}class MS{constructor(t){this._elementRef=t}}const yS=Tp(MS),vS=(()=>(class extends yS{constructor(t,e,n){super(t),this._platform=e,this._document=n}ngAfterViewInit(){se()&&this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length&&Array.from(this._elementRef.nativeElement.childNodes).filter(t=>!(t.classList&&t.classList.contains("mat-toolbar-row"))).filter(t=>t.nodeType!==(this._document?this._document.COMMENT_NODE:8)).some(t=>!(!t.textContent||!t.textContent.trim()))&&function(){throw Error("MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `` elements explicitly or just place content inside of a `` for a single row.")}()}}))(),xS=(()=>(class{}))();var wS=Kn({encapsulation:2,styles:["@media (-ms-high-contrast:active){.mat-toolbar{outline:solid 1px}}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width:599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}"],data:{}});function kS(t){return ei(2,[Gr(null,0),Gr(null,1)],null,null)}var SS=Kn({encapsulation:0,styles:[[".app-content[_ngcontent-%COMP%]{display:block;height:100%}.goodCon[_ngcontent-%COMP%]{color:green}.badCon[_ngcontent-%COMP%]{color:red}.orangeCon[_ngcontent-%COMP%]{color:orange}.toolbar[_ngcontent-%COMP%]{min-height:50px;height:50px}.logo[_ngcontent-%COMP%]{background:url(logo.6c1a8c36d9fd1df75fae.png) 50% 50%/contain no-repeat;height:50px;width:150px}.nowifi[_ngcontent-%COMP%]{position:absolute;top:-2px;left:-2px;color:red;font-size:32px}.credits[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:15px}.connectionStatus[_ngcontent-%COMP%]{margin-top:9px;position:relative;display:inline-block;width:32px;height:32px;cursor:pointer}.wifi[_ngcontent-%COMP%]{position:absolute;top:2px;left:2px;font-size:32}.warning[_ngcontent-%COMP%]{background-color:#004a7f;border-radius:10px;border:none;color:#fff;cursor:pointer;display:inline-block;font-family:Arial;font-size:14px;padding:5px 10px;text-align:center;text-decoration:none;-webkit-animation:1.5s infinite glowing;animation:1.5s infinite glowing}@-webkit-keyframes glowing{0%,100%{background-color:#b20000;-webkit-box-shadow:0 0 3px #b20000}50%{background-color:red;-webkit-box-shadow:0 0 40px red}}@keyframes glowing{0%,100%{background-color:#b20000;box-shadow:0 0 3px #b20000}50%{background-color:red;box-shadow:0 0 40px red}}"]],data:{animation:[{type:7,name:"fade",definitions:[{type:1,expr:":enter",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:{type:6,styles:{opacity:1},offset:null},timings:"0.2s"}],options:null},{type:1,expr:":leave",animation:[{type:6,styles:{opacity:1},offset:null},{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"0.2s"}],options:null},{type:0,name:"*",styles:{type:6,styles:{opacity:1},offset:null},options:void 0}],options:{}}]}});function ES(t){return ei(0,[(t()(),Fr(0,0,null,null,1,"button",[["class","warning"]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var a=!0;return"click"===e&&(a=!1!==t.component.commitConfig()&&a),a},null,null)),(t()(),Xr(-1,null,[" Sync to Beat Saber "]))],null,function(t,e){t(e,0,0,e.component.opInProgress)})}function TS(t){return ei(0,[(t()(),Fr(0,0,null,null,3,"button",[["fast-click",""],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,SC,kC)),so(1,180224,null,0,wf,[an,vp,[2,xC]],null,null),so(2,16384,null,0,EC,[an],null,null),(t()(),Xr(-1,0,["Beat Saber Synced"]))],null,function(t,e){t(e,0,0,Ga(e,1).disabled||null,"NoopAnimations"===Ga(e,1)._animationMode)})}function IS(t){return ei(0,[(t()(),Fr(0,0,null,null,1,"app-download-indicator",[],null,null,null,cS,lS)),so(1,114688,null,0,sS,[zh],null,null)],function(t,e){t(e,1,0)},null)}function RS(t){return ei(0,[(t()(),Fr(0,0,null,null,1,"app-op-indicator",[],null,null,null,bS,mS)),so(1,114688,null,0,uS,[zh,ag],null,null)],function(t,e){t(e,1,0)},null)}function AS(t){return ei(0,[(t()(),Fr(0,0,null,null,1,"app-browser-nav",[],null,[[null,"linkSelected"]],function(t,e,n){var a=!0;return"linkSelected"===e&&(a=!1!==t.component.linkSelected(n)&&a),a},OS,CS)),so(1,114688,null,0,_S,[],null,{linkSelected:"linkSelected"})],function(t,e){t(e,1,0)},null)}function DS(t){return ei(0,[(t()(),Fr(0,0,null,null,5,"button",[["fast-click",""],["mat-stroked-button",""]],[[24,"@fade",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var a=!0;return"click"===e&&(a=!1!==t.component.clickRefresh()&&a),a},SC,kC)),so(1,180224,null,0,wf,[an,vp,[2,xC]],null,null),so(2,16384,null,0,EC,[an],null,null),(t()(),Fr(3,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Mf,Of)),so(4,9158656,null,0,Cf,[an,df,[8,null],[2,pf]],null,null),(t()(),Xr(-1,0,["cached"]))],function(t,e){t(e,4,0)},function(t,e){t(e,0,0,void 0,Ga(e,1).disabled||null,"NoopAnimations"===Ga(e,1)._animationMode),t(e,3,0,Ga(e,4).inline,"primary"!==Ga(e,4).color&&"accent"!==Ga(e,4).color&&"warn"!==Ga(e,4).color)})}function NS(t){return ei(0,[(t()(),Fr(0,0,null,null,5,"button",[["fast-click",""],["mat-stroked-button",""]],[[24,"@fade",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var a=!0;return"click"===e&&(a=!1!==t.component.clickBack()&&a),a},SC,kC)),so(1,180224,null,0,wf,[an,vp,[2,xC]],null,null),so(2,16384,null,0,EC,[an],null,null),(t()(),Fr(3,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Mf,Of)),so(4,9158656,null,0,Cf,[an,df,[8,null],[2,pf]],null,null),(t()(),Xr(-1,0,["arrow_back"]))],function(t,e){t(e,4,0)},function(t,e){t(e,0,0,void 0,Ga(e,1).disabled||null,"NoopAnimations"===Ga(e,1)._animationMode),t(e,3,0,Ga(e,4).inline,"primary"!==Ga(e,4).color&&"accent"!==Ga(e,4).color&&"warn"!==Ga(e,4).color)})}function zS(t){return ei(0,[(t()(),Fr(0,0,null,null,2,"mat-icon",[["class","nowifi mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Mf,Of)),so(1,9158656,null,0,Cf,[an,df,[8,null],[2,pf]],null,null),(t()(),Xr(-1,0,["close"]))],function(t,e){t(e,1,0)},function(t,e){t(e,0,0,Ga(e,1).inline,"primary"!==Ga(e,1).color&&"accent"!==Ga(e,1).color&&"warn"!==Ga(e,1).color)})}function LS(t){return ei(0,[(t()(),Fr(0,0,null,null,3,"div",[["fxLayout","column"]],null,null,null,null,null)),so(1,671744,null,0,zM,[an,wM,[2,AM],SM],{fxLayout:[0,"fxLayout"]},null),(t()(),Fr(2,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),Xr(-1,null,["Checking mod installation status..."]))],function(t,e){t(e,1,0,"column")},null)}function FS(t){return ei(0,[(t()(),Fr(0,0,null,null,6,"mat-card",[["class","setup-card mat-card"],["fxLayout","column"]],null,null,null,Xp,Kp)),so(1,49152,null,0,kg,[],null,null),so(2,671744,null,0,zM,[an,wM,[2,AM],SM],{fxLayout:[0,"fxLayout"]},null),(t()(),Lr(16777216,null,0,1,null,LS)),so(4,16384,null,0,js,[Rn,Tn],{ngIf:[0,"ngIf"]},null),(t()(),Fr(5,0,null,0,1,"p",[],null,null,null,null,null)),(t()(),Xr(-1,null,["Depending on how many songs are loaded, Beat On may take 5-120 seconds to load..."]))],function(t,e){var n=e.component;t(e,2,0,"column"),t(e,4,0,!n.modStatusLoaded)},null)}function VS(t){return ei(0,[(t()(),Fr(0,0,null,null,44,"div",[["class","fullheight"],["fxLayout","column"]],null,null,null,null,null)),so(1,671744,null,0,zM,[an,wM,[2,AM],SM],{fxLayout:[0,"fxLayout"]},null),(t()(),Fr(2,0,null,null,35,"mat-toolbar",[["class","toolbar mat-toolbar"],["layout","row"]],[[2,"mat-toolbar-multiple-rows",null],[2,"mat-toolbar-single-row",null]],null,null,kS,wS)),so(3,4243456,null,1,vS,[an,Vg,ol],null,null),Ur(603979776,1,{_toolbarRows:1}),(t()(),Fr(5,0,null,0,0,"div",[["class","logo"]],null,null,null,null,null)),(t()(),Fr(6,0,null,0,0,"span",[["class","example-fill-remaining-space"],["style","flex: 5 1 auto;"]],null,null,null,null,null)),(t()(),Lr(16777216,null,0,1,null,ES)),so(8,16384,null,0,js,[Rn,Tn],{ngIf:[0,"ngIf"]},null),(t()(),Lr(16777216,null,0,1,null,TS)),so(10,16384,null,0,js,[Rn,Tn],{ngIf:[0,"ngIf"]},null),(t()(),Fr(11,0,null,0,0,"span",[["class","example-fill-remaining-space"],["style","flex: 2 1 auto;"]],null,null,null,null,null)),(t()(),Lr(16777216,null,0,1,null,IS)),so(13,16384,null,0,js,[Rn,Tn],{ngIf:[0,"ngIf"]},null),(t()(),Fr(14,0,null,0,0,"span",[["class","example-fill-remaining-space"],["style","flex: 1 1 auto;"]],null,null,null,null,null)),(t()(),Lr(16777216,null,0,1,null,RS)),so(16,16384,null,0,js,[Rn,Tn],{ngIf:[0,"ngIf"]},null),(t()(),Fr(17,0,null,0,0,"span",[["class","example-fill-remaining-space"],["style","flex: 3 1 auto;"]],null,null,null,null,null)),(t()(),Lr(16777216,null,0,1,null,AS)),so(19,16384,null,0,js,[Rn,Tn],{ngIf:[0,"ngIf"]},null),(t()(),Fr(20,0,null,0,0,"span",[["class","example-fill-remaining-space"],["style","flex: 1 1 auto;"]],null,null,null,null,null)),(t()(),Lr(16777216,null,0,1,null,DS)),so(22,16384,null,0,js,[Rn,Tn],{ngIf:[0,"ngIf"]},null),(t()(),Fr(23,0,null,0,0,"span",[["class","example-fill-remaining-space"],["style","flex: 1 1 auto;"]],null,null,null,null,null)),(t()(),Lr(16777216,null,0,1,null,NS)),so(25,16384,null,0,js,[Rn,Tn],{ngIf:[0,"ngIf"]},null),(t()(),Fr(26,0,null,0,0,"span",[["class","example-fill-remaining-space"],["style","flex: 3 1 auto;"]],null,null,null,null,null)),(t()(),Fr(27,0,null,0,10,"div",[["class","connectionStatus"]],null,[[null,"click"]],function(t,e,n){var a=!0;return"click"===e&&(a=!1!==t.component.reconnect()&&a),a},null,null)),co(512,null,Gs,Zs,[an,vn,cn]),so(29,278528,null,0,Ks,[Gs],{ngStyle:[0,"ngStyle"]},null),Qr(30,{color:0}),so(31,933888,null,0,dv,[an,wM,SM,vn,cn,Id,[6,Ks],[2,XO],No],{ngStyle:[0,"ngStyle"]},null),Qr(32,{color:0}),(t()(),Lr(16777216,null,null,1,null,zS)),so(34,16384,null,0,js,[Rn,Tn],{ngIf:[0,"ngIf"]},null),(t()(),Fr(35,0,null,null,2,"mat-icon",[["class","wifi mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,Mf,Of)),so(36,9158656,null,0,Cf,[an,df,[8,null],[2,pf]],null,null),(t()(),Xr(-1,0,["wifi"])),(t()(),Lr(16777216,null,null,1,null,FS)),so(39,16384,null,0,js,[Rn,Tn],{ngIf:[0,"ngIf"]},null),(t()(),Fr(40,0,null,null,4,"div",[["class","fullheight"],["fxLayout","column"]],null,null,null,null,null)),so(41,671744,null,0,zM,[an,wM,[2,AM],SM],{fxLayout:[0,"fxLayout"]},null),(t()(),Fr(42,16777216,null,null,2,"router-outlet",[["fxLayout","column"]],[[8,"hidden",0]],null,null,null,null)),so(43,212992,null,0,gh,[hh,Rn,Ke,[8,null],xn],null,null),so(44,671744,null,0,zM,[an,wM,[2,AM],SM],{fxLayout:[0,"fxLayout"]},null)],function(t,e){var n=e.component;t(e,1,0,"column"),t(e,8,0,n.modStatusLoaded&&"ModInstalled"==n.modStatus.CurrentStatus&&!1===(null==n.config?null:n.config.IsCommitted)),t(e,10,0,n.modStatusLoaded&&"ModInstalled"==n.modStatus.CurrentStatus&&!0===(null==n.config?null:n.config.IsCommitted)),t(e,13,0,n.modStatusLoaded),t(e,16,0,n.modStatusLoaded),t(e,19,0,n.modStatusLoaded&&"ModInstalled"==n.modStatus.CurrentStatus&&n.showBrowser),t(e,22,0,n.modStatusLoaded&&"ModInstalled"==n.modStatus.CurrentStatus&&n.showRefreshButton),t(e,25,0,n.modStatusLoaded&&n.showBackButton);var a=t(e,30,0,n.getConnStatusColor());t(e,29,0,a);var o=t(e,32,0,n.getConnStatusColor());t(e,31,0,o),t(e,34,0,!n.getConnStatusIcon()),t(e,36,0),t(e,39,0,!n.modStatusLoaded),t(e,41,0,"column"),t(e,43,0),t(e,44,0,"column")},function(t,e){var n=e.component;t(e,2,0,Ga(e,3)._toolbarRows.length>0,0===Ga(e,3)._toolbarRows.length),t(e,35,0,Ga(e,36).inline,"primary"!==Ga(e,36).color&&"accent"!==Ga(e,36).color&&"warn"!==Ga(e,36).color),t(e,42,0,!n.modStatusLoaded)})}function BS(t){return ei(0,[(t()(),Fr(0,0,null,null,1,"app-root",[["class","fullheight"]],null,null,null,VS,SS)),so(1,114688,null,0,sg,[Ul,sh,zh,Kh,ng,MO,ig,ag],null,null)],function(t,e){t(e,1,0)},null)}var HS=La("app-root",sg,BS,{},{},[]);class jS{}const US=(()=>(class{}))(),$S=(()=>{class t{constructor(t,e){ll(e)&&!t&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(e,n=[]){return{ngModule:t,providers:e.serverLoaded?[{provide:KO,useValue:Object.assign({},QO,e)},{provide:JO,useValue:n,multi:!0},{provide:XO,useValue:!0}]:[{provide:KO,useValue:Object.assign({},QO,e)},{provide:JO,useValue:n,multi:!0}]}}}return t})(),qS=(()=>(class{}))(),WS=(()=>(class{}))(),YS=new Tt("mat-chips-default-options"),GS=(()=>(class{}))(),ZS=(()=>(class{}))();var QS=is(ls,[sg],function(t){return function(t){const e={},n=[];let a=!1;for(let o=0;o{if(sl(o)){const t=Array.from(a.querySelectorAll("[class*=flex-layout-]")),e=/\bflex-layout-.+?\b/g;t.forEach(t=>{t.classList.contains("flex-layout-ssr")&&t.parentNode?t.parentNode.removeChild(t):t.className.replace(e,"")})}})];var a,o},[Nh,ol,No]),Sa(4608,Sf,mC,[sn,ol]),Sa(4608,cO,cO,[WP,JP,Ke,sO,XP,Nt,Jo,ol,Ig,[2,ys]]),Sa(5120,dO,uO,[cO]),Sa(5120,PO,OO,[cO]),Sa(135680,MO,MO,[cO,Nt,[2,ys],[2,CO],PO,[3,MO],JP]),Sa(4608,Ll,Fl,[ol,No,Nl]),Sa(4608,Vl,Vl,[Ll,zl]),Sa(5120,El,function(t){return[t]},[Vl]),Sa(4608,Al,Al,[]),Sa(6144,Rl,null,[Al]),Sa(4608,Dl,Dl,[Rl]),Sa(6144,ml,null,[Dl]),Sa(4608,ul,Bl,[ml,Nt]),Sa(4608,kl,kl,[ul]),Sa(4608,UM,UM,[]),Sa(4608,ww,ww,[]),Sa(4608,Ux,Ux,[]),Sa(5120,xv,wv,[cO]),Sa(4608,Np,Np,[]),Sa(4608,vy,vy,[ol,Jo,FP,My]),Sa(5120,Qw,Kw,[cO]),Sa(1073742336,al,al,[]),Sa(1073742336,eg,eg,[]),Sa(1024,oe,Bd,[]),Sa(1024,hr,function(){return[vh()]},[]),Sa(512,Rh,Rh,[Nt]),Sa(1024,Eo,function(t,e){return[(n=t,Gc("probe",Qc),Gc("coreTokens",Object.assign({},Zc,(n||[]).reduce((t,e)=>(t[e.name]=e.token,t),{}))),()=>Qc),Ah(e)];var n},[[2,hr],Rh]),Sa(512,To,To,[[2,Eo]]),Sa(131584,_r,_r,[Jo,Lo,Nt,oe,Ke,To]),Sa(1073742336,zr,zr,[_r]),Sa(1073742336,Hd,Hd,[[3,Hd]]),Sa(1024,Mh,Sh,[[3,sh]]),Sa(512,Su,Eu,[]),Sa(512,hh,hh,[]),Sa(256,Oh,{},[]),Sa(1024,Os,kh,[Cs,[2,Ms],Oh]),Sa(512,ys,ys,[Os,Cs]),Sa(512,Uo,Uo,[]),Sa(512,So,Mr,[Uo,[2,Pr]]),Sa(1024,th,function(){return[[{path:"setup",component:TC},{path:"setupstep1",component:NC},{path:"setupstep2",component:SO},{path:"setupstep3",component:AO},{path:"main",component:ZM,children:[{path:"playlists",component:rx},{path:"browser",component:ux},{path:"tools",component:bx},{path:"upload",component:yx},{path:"credits",component:Aw}]}]]},[]),Sa(1024,sh,Th,[_r,Su,hh,ys,Nt,So,Uo,th,Oh,[2,nh],[2,Xm]]),Sa(1073742336,xh,xh,[[2,Mh],[2,sh]]),Sa(1073742336,jS,jS,[]),Sa(1073742336,wC,wC,[]),Sa(1073742336,Rg,Rg,[]),Sa(1073742336,Sp,Sp,[[2,kp],[2,xd]]),Sa(1073742336,Bg,Bg,[]),Sa(1073742336,Zp,Zp,[]),Sa(1073742336,kf,kf,[]),Sa(1073742336,Eg,Eg,[]),Sa(1073742336,Pf,Pf,[]),Sa(1073742336,xS,xS,[]),Sa(1073742336,UC,UC,[]),Sa(1073742336,NP,NP,[]),Sa(1073742336,mO,mO,[]),Sa(1073742336,yO,yO,[]),Sa(1073742336,mk,mk,[]),Sa(1073742336,Hl,Hl,[]),Sa(1073742336,jl,jl,[]),Sa(1073742336,WM,WM,[]),Sa(1073742336,wp,wp,[]),Sa(1073742336,WO,WO,[]),Sa(1073742336,YO,YO,[]),Sa(1073742336,jM,jM,[]),Sa(1073742336,mv,mv,[]),Sa(1073742336,US,US,[]),Sa(1073742336,$S,$S,[[2,XO],No]),Sa(1073742336,Bp,Bp,[]),Sa(1073742336,qS,qS,[]),Sa(1073742336,Qy,Qy,[]),Sa(1073742336,xw,xw,[]),Sa(1073742336,Sw,Sw,[]),Sa(1073742336,Ev,Ev,[]),Sa(1073742336,Tv,Tv,[]),Sa(1073742336,WS,WS,[]),Sa(1073742336,GS,GS,[]),Sa(1073742336,zP,zP,[]),Sa(1073742336,ZS,ZS,[]),Sa(1073742336,Dy,Dy,[]),Sa(1073742336,Ek,Ek,[]),Sa(1073742336,kw,kw,[]),Sa(1073742336,qk,qk,[]),Sa(1073742336,Kk,Kk,[]),Sa(1073742336,Jw,Jw,[]),Sa(1073742336,ls,ls,[]),Sa(256,qe,!0,[]),Sa(256,xC,"BrowserAnimations",[]),Sa(256,Nl,"XSRF-TOKEN",[]),Sa(256,zl,"X-XSRF-TOKEN",[]),Sa(256,YS,{separatorKeyCodes:[13]},[]),Sa(256,jh,{default:tg,config:{positionClass:"toast-bottom-right",preventDuplicates:!0}},[])])});(function(){if(ie)throw new Error("Cannot enable prod mode after platform setup.");re=!1})(),Vd().bootstrapModuleFactory(QS).catch(t=>console.error(t))},zn8P:function(t,e){function n(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="zn8P"}},[[0,0]]]); \ No newline at end of file diff --git a/BeatOn/Assets/www/main-es2015.js b/BeatOn/Assets/www/main-es2015.js new file mode 100644 index 0000000..6866d7d --- /dev/null +++ b/BeatOn/Assets/www/main-es2015.js @@ -0,0 +1,59953 @@ +(window.webpackJsonp = window.webpackJsonp || []).push([ + [1], + { + 0: function(t, e, n) { + t.exports = n("zUnb"); + }, + "9AGB": function(t, e, n) { + "use strict"; + var a = n("w5QO"); + function o(t) { + return t + ? 1 === t.length + ? t[0] + : function(e) { + return t.reduce(function(t, e) { + return e(t); + }, e); + } + : a.noop; + } + (e.pipe = function() { + for (var t = [], e = 0; e < arguments.length; e++) t[e] = arguments[e]; + return o(t); + }), + (e.pipeFromArray = o); + }, + FWf1: function(t, e, n) { + var a = n("mrSG").__extends, + o = n("pshJ"), + i = n("GiSu"), + r = n("zB/H"), + l = n("p//D"), + s = n("n3uD"), + c = n("MkmW"), + d = (function(t) { + function e(n, a, o) { + var r = t.call(this) || this; + switch ( + ((r.syncErrorValue = null), + (r.syncErrorThrown = !1), + (r.syncErrorThrowable = !1), + (r.isStopped = !1), + arguments.length) + ) { + case 0: + r.destination = i.empty; + break; + case 1: + if (!n) { + r.destination = i.empty; + break; + } + if ("object" == typeof n) { + n instanceof e + ? ((r.syncErrorThrowable = n.syncErrorThrowable), + (r.destination = n), + n.add(r)) + : ((r.syncErrorThrowable = !0), + (r.destination = new u(r, n))); + break; + } + default: + (r.syncErrorThrowable = !0), + (r.destination = new u(r, n, a, o)); + } + return r; + } + return ( + a(e, t), + (e.prototype[l.rxSubscriber] = function() { + return this; + }), + (e.create = function(t, n, a) { + var o = new e(t, n, a); + return (o.syncErrorThrowable = !1), o; + }), + (e.prototype.next = function(t) { + this.isStopped || this._next(t); + }), + (e.prototype.error = function(t) { + this.isStopped || ((this.isStopped = !0), this._error(t)); + }), + (e.prototype.complete = function() { + this.isStopped || ((this.isStopped = !0), this._complete()); + }), + (e.prototype.unsubscribe = function() { + this.closed || + ((this.isStopped = !0), t.prototype.unsubscribe.call(this)); + }), + (e.prototype._next = function(t) { + this.destination.next(t); + }), + (e.prototype._error = function(t) { + this.destination.error(t), this.unsubscribe(); + }), + (e.prototype._complete = function() { + this.destination.complete(), this.unsubscribe(); + }), + (e.prototype._unsubscribeAndRecycle = function() { + var t = this._parent, + e = this._parents; + return ( + (this._parent = null), + (this._parents = null), + this.unsubscribe(), + (this.closed = !1), + (this.isStopped = !1), + (this._parent = t), + (this._parents = e), + this + ); + }), + e + ); + })(r.Subscription); + e.Subscriber = d; + var u = (function(t) { + function e(e, n, a, r) { + var l, + s = t.call(this) || this; + s._parentSubscriber = e; + var c = s; + return ( + o.isFunction(n) + ? (l = n) + : n && + ((l = n.next), + (a = n.error), + (r = n.complete), + n !== i.empty && + ((c = Object.create(n)), + o.isFunction(c.unsubscribe) && s.add(c.unsubscribe.bind(c)), + (c.unsubscribe = s.unsubscribe.bind(s)))), + (s._context = c), + (s._next = l), + (s._error = a), + (s._complete = r), + s + ); + } + return ( + a(e, t), + (e.prototype.next = function(t) { + if (!this.isStopped && this._next) { + var e = this._parentSubscriber; + s.config.useDeprecatedSynchronousErrorHandling && + e.syncErrorThrowable + ? this.__tryOrSetError(e, this._next, t) && this.unsubscribe() + : this.__tryOrUnsub(this._next, t); + } + }), + (e.prototype.error = function(t) { + if (!this.isStopped) { + var e = this._parentSubscriber, + n = s.config.useDeprecatedSynchronousErrorHandling; + 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)) + : c.hostReportError(t), + this.unsubscribe(); + else { + if ((this.unsubscribe(), n)) throw t; + c.hostReportError(t); + } + } + }), + (e.prototype.complete = function() { + var t = this; + if (!this.isStopped) { + var e = this._parentSubscriber; + if (this._complete) { + var n = function() { + return t._complete.call(t._context); + }; + s.config.useDeprecatedSynchronousErrorHandling && + e.syncErrorThrowable + ? (this.__tryOrSetError(e, n), this.unsubscribe()) + : (this.__tryOrUnsub(n), this.unsubscribe()); + } else this.unsubscribe(); + } + }), + (e.prototype.__tryOrUnsub = function(t, e) { + try { + t.call(this._context, e); + } catch (n) { + if ( + (this.unsubscribe(), + s.config.useDeprecatedSynchronousErrorHandling) + ) + throw n; + c.hostReportError(n); + } + }), + (e.prototype.__tryOrSetError = function(t, e, n) { + if (!s.config.useDeprecatedSynchronousErrorHandling) + throw new Error("bad call"); + try { + e.call(this._context, n); + } catch (a) { + return s.config.useDeprecatedSynchronousErrorHandling + ? ((t.syncErrorValue = a), (t.syncErrorThrown = !0), !0) + : (c.hostReportError(a), !0); + } + return !1; + }), + (e.prototype._unsubscribe = function() { + var t = this._parentSubscriber; + (this._context = null), + (this._parentSubscriber = null), + t.unsubscribe(); + }), + e + ); + })(d); + e.SafeSubscriber = u; + }, + FiyT: function(t, e, n) { + var a = n("mrSG").__extends; + e.SubjectSubscription = (function(t) { + function e(e, n) { + var a = t.call(this) || this; + return (a.subject = e), (a.subscriber = n), (a.closed = !1), a; + } + return ( + a(e, t), + (e.prototype.unsubscribe = function() { + if (!this.closed) { + this.closed = !0; + var t = this.subject, + e = t.observers; + if ( + ((this.subject = null), + e && 0 !== e.length && !t.isStopped && !t.closed) + ) { + var n = e.indexOf(this.subscriber); + -1 !== n && e.splice(n, 1); + } + } + }), + e + ); + })(n("zB/H").Subscription); + }, + GMZp: function(t, e, n) { + "use strict"; + e.isObject = function(t) { + return null !== t && "object" == typeof t; + }; + }, + GiSu: function(t, e, n) { + "use strict"; + var a = n("n3uD"), + o = n("MkmW"); + e.empty = { + closed: !0, + next: function(t) {}, + error: function(t) { + if (a.config.useDeprecatedSynchronousErrorHandling) throw t; + o.hostReportError(t); + }, + complete: function() {} + }; + }, + LBXl: function(t, e, n) { + "use strict"; + function a(t) { + return ( + Error.call(this), + (this.message = t + ? t.length + + " errors occurred during unsubscription:\n" + + t + .map(function(t, e) { + return e + 1 + ") " + t.toString(); + }) + .join("\n ") + : ""), + (this.name = "UnsubscriptionError"), + (this.errors = t), + this + ); + } + (a.prototype = Object.create(Error.prototype)), + (e.UnsubscriptionError = a); + }, + MkmW: function(t, e, n) { + "use strict"; + e.hostReportError = function(t) { + setTimeout(function() { + throw t; + }); + }; + }, + Mxlh: function(t, e, n) { + "use strict"; + function a() { + return ( + Error.call(this), + (this.message = "object unsubscribed"), + (this.name = "ObjectUnsubscribedError"), + this + ); + } + (a.prototype = Object.create(Error.prototype)), + (e.ObjectUnsubscribedError = a); + }, + Q1FS: function(t, e, n) { + "use strict"; + var a = n("yx2s"), + o = n("Xwq/"), + i = n("zfKp"), + r = n("9AGB"), + l = n("n3uD"); + function s(t) { + if ((t || (t = l.config.Promise || Promise), !t)) + throw new Error("no Promise impl found"); + return t; + } + e.Observable = (function() { + function t(t) { + (this._isScalar = !1), t && (this._subscribe = t); + } + return ( + (t.prototype.lift = function(e) { + var n = new t(); + return (n.source = this), (n.operator = e), n; + }), + (t.prototype.subscribe = function(t, e, n) { + var a = this.operator, + i = o.toSubscriber(t, e, n); + if ( + (i.add( + a + ? a.call(i, this.source) + : this.source || + (l.config.useDeprecatedSynchronousErrorHandling && + !i.syncErrorThrowable) + ? this._subscribe(i) + : this._trySubscribe(i) + ), + l.config.useDeprecatedSynchronousErrorHandling && + i.syncErrorThrowable && + ((i.syncErrorThrowable = !1), i.syncErrorThrown)) + ) + throw i.syncErrorValue; + return i; + }), + (t.prototype._trySubscribe = function(t) { + try { + return this._subscribe(t); + } catch (e) { + l.config.useDeprecatedSynchronousErrorHandling && + ((t.syncErrorThrown = !0), (t.syncErrorValue = e)), + a.canReportError(t) ? t.error(e) : console.warn(e); + } + }), + (t.prototype.forEach = function(t, e) { + var n = this; + return new (e = s(e))(function(e, a) { + var o; + o = n.subscribe( + function(e) { + try { + t(e); + } catch (n) { + a(n), o && o.unsubscribe(); + } + }, + a, + e + ); + }); + }), + (t.prototype._subscribe = function(t) { + var e = this.source; + return e && e.subscribe(t); + }), + (t.prototype[i.observable] = function() { + return this; + }), + (t.prototype.pipe = function() { + for (var t = [], e = 0; e < arguments.length; e++) + t[e] = arguments[e]; + return 0 === t.length ? this : r.pipeFromArray(t)(this); + }), + (t.prototype.toPromise = function(t) { + var e = this; + return new (t = s(t))(function(t, n) { + var a; + e.subscribe( + function(t) { + return (a = t); + }, + function(t) { + return n(t); + }, + function() { + return t(a); + } + ); + }); + }), + (t.create = function(e) { + return new t(e); + }), + t + ); + })(); + }, + "Xwq/": function(t, e, n) { + "use strict"; + var a = n("FWf1"), + o = n("p//D"), + i = n("GiSu"); + e.toSubscriber = function(t, e, n) { + if (t) { + if (t instanceof a.Subscriber) return t; + if (t[o.rxSubscriber]) return t[o.rxSubscriber](); + } + return t || e || n + ? new a.Subscriber(t, e, n) + : new a.Subscriber(i.empty); + }; + }, + ds6q: function(t, e, n) { + var a = n("mrSG").__extends, + o = n("Q1FS"), + i = n("FWf1"), + r = n("zB/H"), + l = n("Mxlh"), + s = n("FiyT"), + c = n("p//D"), + d = (function(t) { + function e(e) { + var n = t.call(this, e) || this; + return (n.destination = e), n; + } + return a(e, t), e; + })(i.Subscriber); + e.SubjectSubscriber = d; + var u = (function(t) { + function e() { + var e = t.call(this) || this; + return ( + (e.observers = []), + (e.closed = !1), + (e.isStopped = !1), + (e.hasError = !1), + (e.thrownError = null), + e + ); + } + return ( + a(e, t), + (e.prototype[c.rxSubscriber] = function() { + return new d(this); + }), + (e.prototype.lift = function(t) { + var e = new m(this, this); + return (e.operator = t), e; + }), + (e.prototype.next = function(t) { + if (this.closed) throw new l.ObjectUnsubscribedError(); + if (!this.isStopped) + for ( + var e = this.observers, n = e.length, a = e.slice(), o = 0; + o < n; + o++ + ) + a[o].next(t); + }), + (e.prototype.error = function(t) { + if (this.closed) throw new l.ObjectUnsubscribedError(); + (this.hasError = !0), (this.thrownError = t), (this.isStopped = !0); + for ( + var e = this.observers, n = e.length, a = e.slice(), o = 0; + o < n; + o++ + ) + a[o].error(t); + this.observers.length = 0; + }), + (e.prototype.complete = function() { + if (this.closed) throw new l.ObjectUnsubscribedError(); + this.isStopped = !0; + for ( + var t = this.observers, e = t.length, n = t.slice(), a = 0; + a < e; + a++ + ) + n[a].complete(); + this.observers.length = 0; + }), + (e.prototype.unsubscribe = function() { + (this.isStopped = !0), (this.closed = !0), (this.observers = null); + }), + (e.prototype._trySubscribe = function(e) { + if (this.closed) throw new l.ObjectUnsubscribedError(); + return t.prototype._trySubscribe.call(this, e); + }), + (e.prototype._subscribe = function(t) { + if (this.closed) throw new l.ObjectUnsubscribedError(); + return this.hasError + ? (t.error(this.thrownError), r.Subscription.EMPTY) + : this.isStopped + ? (t.complete(), r.Subscription.EMPTY) + : (this.observers.push(t), new s.SubjectSubscription(this, t)); + }), + (e.prototype.asObservable = function() { + var t = new o.Observable(); + return (t.source = this), t; + }), + (e.create = function(t, e) { + return new m(t, e); + }), + e + ); + })(o.Observable); + e.Subject = u; + var m = (function(t) { + function e(e, n) { + var a = t.call(this) || this; + return (a.destination = e), (a.source = n), a; + } + return ( + a(e, t), + (e.prototype.next = function(t) { + var e = this.destination; + e && e.next && e.next(t); + }), + (e.prototype.error = function(t) { + var e = this.destination; + e && e.error && this.destination.error(t); + }), + (e.prototype.complete = function() { + var t = this.destination; + t && t.complete && this.destination.complete(); + }), + (e.prototype._subscribe = function(t) { + return this.source + ? this.source.subscribe(t) + : r.Subscription.EMPTY; + }), + e + ); + })(u); + e.AnonymousSubject = m; + }, + mbIT: function(t, e, n) { + "use strict"; + e.isArray = + Array.isArray || + function(t) { + return t && "number" == typeof t.length; + }; + }, + mrSG: function(t, e, n) { + "use strict"; + n.r(e), + n.d(e, "__extends", function() { + return o; + }), + n.d(e, "__assign", function() { + return i; + }), + n.d(e, "__rest", function() { + return r; + }), + n.d(e, "__decorate", function() { + return l; + }), + n.d(e, "__param", function() { + return s; + }), + n.d(e, "__metadata", function() { + return c; + }), + n.d(e, "__awaiter", function() { + return d; + }), + n.d(e, "__generator", function() { + return u; + }), + n.d(e, "__exportStar", function() { + return m; + }), + n.d(e, "__values", function() { + return h; + }), + n.d(e, "__read", function() { + return g; + }), + n.d(e, "__spread", function() { + return p; + }), + n.d(e, "__spreadArrays", function() { + return f; + }), + n.d(e, "__await", function() { + return b; + }), + n.d(e, "__asyncGenerator", function() { + return _; + }), + n.d(e, "__asyncDelegator", function() { + return C; + }), + n.d(e, "__asyncValues", function() { + return P; + }), + n.d(e, "__makeTemplateObject", function() { + return O; + }), + n.d(e, "__importStar", function() { + return M; + }), + n.d(e, "__importDefault", function() { + return y; + }); + var a = function(t, e) { + return (a = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function(t, e) { + t.__proto__ = e; + }) || + function(t, e) { + for (var n in e) e.hasOwnProperty(n) && (t[n] = e[n]); + })(t, e); + }; + function o(t, e) { + function n() { + this.constructor = t; + } + a(t, e), + (t.prototype = + null === e + ? Object.create(e) + : ((n.prototype = e.prototype), new n())); + } + var i = function() { + return (i = + Object.assign || + function(t) { + for (var e, n = 1, a = arguments.length; n < a; n++) + for (var o in (e = arguments[n])) + Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); + return t; + }).apply(this, arguments); + }; + function r(t, e) { + var n = {}; + for (var a in t) + Object.prototype.hasOwnProperty.call(t, a) && + e.indexOf(a) < 0 && + (n[a] = t[a]); + if (null != t && "function" == typeof Object.getOwnPropertySymbols) { + var o = 0; + for (a = Object.getOwnPropertySymbols(t); o < a.length; o++) + e.indexOf(a[o]) < 0 && + Object.prototype.propertyIsEnumerable.call(t, a[o]) && + (n[a[o]] = t[a[o]]); + } + return n; + } + function l(t, e, n, a) { + var o, + i = arguments.length, + r = + i < 3 + ? e + : null === a + ? (a = Object.getOwnPropertyDescriptor(e, n)) + : a; + if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + r = Reflect.decorate(t, e, n, a); + else + for (var l = t.length - 1; l >= 0; l--) + (o = t[l]) && + (r = (i < 3 ? o(r) : i > 3 ? o(e, n, r) : o(e, n)) || r); + return i > 3 && r && Object.defineProperty(e, n, r), r; + } + function s(t, e) { + return function(n, a) { + e(n, a, t); + }; + } + function c(t, e) { + if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) + return Reflect.metadata(t, e); + } + function d(t, e, n, a) { + return new (n || (n = Promise))(function(o, i) { + function r(t) { + try { + s(a.next(t)); + } catch (e) { + i(e); + } + } + function l(t) { + try { + s(a.throw(t)); + } catch (e) { + i(e); + } + } + function s(t) { + t.done + ? o(t.value) + : new n(function(e) { + e(t.value); + }).then(r, l); + } + s((a = a.apply(t, e || [])).next()); + }); + } + function u(t, e) { + var n, + a, + o, + i, + r = { + label: 0, + sent: function() { + if (1 & o[0]) throw o[1]; + return o[1]; + }, + trys: [], + ops: [] + }; + return ( + (i = { next: l(0), throw: l(1), return: l(2) }), + "function" == typeof Symbol && + (i[Symbol.iterator] = function() { + return this; + }), + i + ); + function l(i) { + return function(l) { + return (function(i) { + if (n) throw new TypeError("Generator is already executing."); + for (; r; ) + try { + if ( + ((n = 1), + a && + (o = + 2 & i[0] + ? a.return + : i[0] + ? a.throw || ((o = a.return) && o.call(a), 0) + : a.next) && + !(o = o.call(a, i[1])).done) + ) + return o; + switch (((a = 0), o && (i = [2 & i[0], o.value]), i[0])) { + case 0: + case 1: + o = i; + break; + case 4: + return r.label++, { value: i[1], done: !1 }; + case 5: + r.label++, (a = i[1]), (i = [0]); + continue; + case 7: + (i = r.ops.pop()), r.trys.pop(); + continue; + default: + if ( + !(o = (o = r.trys).length > 0 && o[o.length - 1]) && + (6 === i[0] || 2 === i[0]) + ) { + r = 0; + continue; + } + if (3 === i[0] && (!o || (i[1] > o[0] && i[1] < o[3]))) { + r.label = i[1]; + break; + } + if (6 === i[0] && r.label < o[1]) { + (r.label = o[1]), (o = i); + break; + } + if (o && r.label < o[2]) { + (r.label = o[2]), r.ops.push(i); + break; + } + o[2] && r.ops.pop(), r.trys.pop(); + continue; + } + i = e.call(t, r); + } catch (l) { + (i = [6, l]), (a = 0); + } finally { + n = o = 0; + } + if (5 & i[0]) throw i[1]; + return { value: i[0] ? i[1] : void 0, done: !0 }; + })([i, l]); + }; + } + } + function m(t, e) { + for (var n in t) e.hasOwnProperty(n) || (e[n] = t[n]); + } + function h(t) { + var e = "function" == typeof Symbol && t[Symbol.iterator], + n = 0; + return e + ? e.call(t) + : { + next: function() { + return ( + t && n >= t.length && (t = void 0), + { value: t && t[n++], done: !t } + ); + } + }; + } + function g(t, e) { + var n = "function" == typeof Symbol && t[Symbol.iterator]; + if (!n) return t; + var a, + o, + i = n.call(t), + r = []; + try { + for (; (void 0 === e || e-- > 0) && !(a = i.next()).done; ) + r.push(a.value); + } catch (l) { + o = { error: l }; + } finally { + try { + a && !a.done && (n = i.return) && n.call(i); + } finally { + if (o) throw o.error; + } + } + return r; + } + function p() { + for (var t = [], e = 0; e < arguments.length; e++) + t = t.concat(g(arguments[e])); + return t; + } + function f() { + for (var t = 0, e = 0, n = arguments.length; e < n; e++) + t += arguments[e].length; + var a = Array(t), + o = 0; + for (e = 0; e < n; e++) + for (var i = arguments[e], r = 0, l = i.length; r < l; r++, o++) + a[o] = i[r]; + return a; + } + function b(t) { + return this instanceof b ? ((this.v = t), this) : new b(t); + } + function _(t, e, n) { + if (!Symbol.asyncIterator) + throw new TypeError("Symbol.asyncIterator is not defined."); + var a, + o = n.apply(t, e || []), + i = []; + return ( + (a = {}), + r("next"), + r("throw"), + r("return"), + (a[Symbol.asyncIterator] = function() { + return this; + }), + a + ); + function r(t) { + o[t] && + (a[t] = function(e) { + return new Promise(function(n, a) { + i.push([t, e, n, a]) > 1 || l(t, e); + }); + }); + } + function l(t, e) { + try { + (n = o[t](e)).value instanceof b + ? Promise.resolve(n.value.v).then(s, c) + : d(i[0][2], n); + } catch (a) { + d(i[0][3], a); + } + var n; + } + function s(t) { + l("next", t); + } + function c(t) { + l("throw", t); + } + function d(t, e) { + t(e), i.shift(), i.length && l(i[0][0], i[0][1]); + } + } + function C(t) { + var e, n; + return ( + (e = {}), + a("next"), + a("throw", function(t) { + throw t; + }), + a("return"), + (e[Symbol.iterator] = function() { + return this; + }), + e + ); + function a(a, o) { + e[a] = t[a] + ? function(e) { + return (n = !n) + ? { value: b(t[a](e)), done: "return" === a } + : o + ? o(e) + : e; + } + : o; + } + } + function P(t) { + if (!Symbol.asyncIterator) + throw new TypeError("Symbol.asyncIterator is not defined."); + var e, + n = t[Symbol.asyncIterator]; + return n + ? n.call(t) + : ((t = h(t)), + (e = {}), + a("next"), + a("throw"), + a("return"), + (e[Symbol.asyncIterator] = function() { + return this; + }), + e); + function a(n) { + e[n] = + t[n] && + function(e) { + return new Promise(function(a, o) { + !(function(t, e, n, a) { + Promise.resolve(a).then(function(e) { + t({ value: e, done: n }); + }, e); + })(a, o, (e = t[n](e)).done, e.value); + }); + }; + } + } + function O(t, e) { + return ( + Object.defineProperty + ? Object.defineProperty(t, "raw", { value: e }) + : (t.raw = e), + t + ); + } + function M(t) { + if (t && t.__esModule) return t; + var e = {}; + if (null != t) + for (var n in t) Object.hasOwnProperty.call(t, n) && (e[n] = t[n]); + return (e.default = t), e; + } + function y(t) { + return t && t.__esModule ? t : { default: t }; + } + }, + n3uD: function(t, e, n) { + "use strict"; + var a = !1; + e.config = { + Promise: void 0, + set useDeprecatedSynchronousErrorHandling(t) { + a = t; + }, + get useDeprecatedSynchronousErrorHandling() { + return a; + } + }; + }, + "p//D": function(t, e, n) { + "use strict"; + (e.rxSubscriber = + "function" == typeof Symbol + ? Symbol("rxSubscriber") + : "@@rxSubscriber_" + Math.random()), + (e.$$rxSubscriber = e.rxSubscriber); + }, + pshJ: function(t, e, n) { + "use strict"; + e.isFunction = function(t) { + return "function" == typeof t; + }; + }, + w5QO: function(t, e, n) { + "use strict"; + e.noop = function() {}; + }, + yLV6: function(t, e, n) { + var a; + !(function(o, i, r, l) { + "use strict"; + var s, + c = ["", "webkit", "Moz", "MS", "ms", "o"], + d = i.createElement("div"), + u = "function", + m = Math.round, + h = Math.abs, + g = Date.now; + function p(t, e, n) { + return setTimeout(M(t, n), e); + } + function f(t, e, n) { + return !!Array.isArray(t) && (b(t, n[e], n), !0); + } + function b(t, e, n) { + var a; + if (t) + if (t.forEach) t.forEach(e, n); + else if (t.length !== l) + for (a = 0; a < t.length; ) e.call(n, t[a], a, t), a++; + else for (a in t) t.hasOwnProperty(a) && e.call(n, t[a], a, t); + } + function _(t, e, n) { + var a = "DEPRECATED METHOD: " + e + "\n" + n + " AT \n"; + return function() { + var e = new Error("get-stack-trace"), + n = + e && e.stack + ? e.stack + .replace(/^[^\(]+?[\n$]/gm, "") + .replace(/^\s+at\s+/gm, "") + .replace(/^Object.\s*\(/gm, "{anonymous}()@") + : "Unknown Stack Trace", + i = o.console && (o.console.warn || o.console.log); + return i && i.call(o.console, a, n), t.apply(this, arguments); + }; + } + s = + "function" != typeof Object.assign + ? function(t) { + if (t === l || null === t) + throw new TypeError( + "Cannot convert undefined or null to object" + ); + for (var e = Object(t), n = 1; n < arguments.length; n++) { + var a = arguments[n]; + if (a !== l && null !== a) + for (var o in a) a.hasOwnProperty(o) && (e[o] = a[o]); + } + return e; + } + : Object.assign; + var C = _( + function(t, e, n) { + for (var a = Object.keys(e), o = 0; o < a.length; ) + (!n || (n && t[a[o]] === l)) && (t[a[o]] = e[a[o]]), o++; + return t; + }, + "extend", + "Use `assign`." + ), + P = _( + function(t, e) { + return C(t, e, !0); + }, + "merge", + "Use `assign`." + ); + function O(t, e, n) { + var a, + o = e.prototype; + ((a = t.prototype = Object.create(o)).constructor = t), + (a._super = o), + n && s(a, n); + } + function M(t, e) { + return function() { + return t.apply(e, arguments); + }; + } + function y(t, e) { + return typeof t == u ? t.apply((e && e[0]) || l, e) : t; + } + function v(t, e) { + return t === l ? e : t; + } + function x(t, e, n) { + b(E(e), function(e) { + t.addEventListener(e, n, !1); + }); + } + function k(t, e, n) { + b(E(e), function(e) { + t.removeEventListener(e, n, !1); + }); + } + function w(t, e) { + for (; t; ) { + if (t == e) return !0; + t = t.parentNode; + } + return !1; + } + function S(t, e) { + return t.indexOf(e) > -1; + } + function E(t) { + return t.trim().split(/\s+/g); + } + function I(t, e, n) { + if (t.indexOf && !n) return t.indexOf(e); + for (var a = 0; a < t.length; ) { + if ((n && t[a][n] == e) || (!n && t[a] === e)) return a; + a++; + } + return -1; + } + function A(t) { + return Array.prototype.slice.call(t, 0); + } + function T(t, e, n) { + for (var a = [], o = [], i = 0; i < t.length; ) { + var r = e ? t[i][e] : t[i]; + I(o, r) < 0 && a.push(t[i]), (o[i] = r), i++; + } + return ( + n && + (a = e + ? a.sort(function(t, n) { + return t[e] > n[e]; + }) + : a.sort()), + a + ); + } + function R(t, e) { + for ( + var n, a, o = e[0].toUpperCase() + e.slice(1), i = 0; + i < c.length; + + ) { + if ((a = (n = c[i]) ? n + o : e) in t) return a; + i++; + } + return l; + } + var D = 1; + function N(t) { + var e = t.ownerDocument || t; + return e.defaultView || e.parentWindow || o; + } + var z = "ontouchstart" in o, + L = R(o, "PointerEvent") !== l, + F = + z && + /mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent), + B = 25, + V = 1, + H = 4, + j = 8, + U = 1, + q = 2, + K = 4, + Y = 8, + W = 16, + G = q | K, + $ = Y | W, + Z = G | $, + Q = ["x", "y"], + X = ["clientX", "clientY"]; + function J(t, e) { + var n = this; + (this.manager = t), + (this.callback = e), + (this.element = t.element), + (this.target = t.options.inputTarget), + (this.domHandler = function(e) { + y(t.options.enable, [t]) && n.handler(e); + }), + this.init(); + } + function tt(t, e, n) { + var a = n.pointers.length, + o = n.changedPointers.length, + i = e & V && a - o == 0, + r = e & (H | j) && a - o == 0; + (n.isFirst = !!i), + (n.isFinal = !!r), + i && (t.session = {}), + (n.eventType = e), + (function(t, e) { + var n = t.session, + a = e.pointers, + o = a.length; + n.firstInput || (n.firstInput = et(e)), + o > 1 && !n.firstMultiple + ? (n.firstMultiple = et(e)) + : 1 === o && (n.firstMultiple = !1); + var i = n.firstInput, + r = n.firstMultiple, + s = r ? r.center : i.center, + c = (e.center = nt(a)); + (e.timeStamp = g()), + (e.deltaTime = e.timeStamp - i.timeStamp), + (e.angle = rt(s, c)), + (e.distance = it(s, c)), + (function(t, e) { + var n = e.center, + a = t.offsetDelta || {}, + o = t.prevDelta || {}, + i = t.prevInput || {}; + (e.eventType !== V && i.eventType !== H) || + ((o = t.prevDelta = { x: i.deltaX || 0, y: i.deltaY || 0 }), + (a = t.offsetDelta = { x: n.x, y: n.y })), + (e.deltaX = o.x + (n.x - a.x)), + (e.deltaY = o.y + (n.y - a.y)); + })(n, e), + (e.offsetDirection = ot(e.deltaX, e.deltaY)); + var d, + u, + m = at(e.deltaTime, e.deltaX, e.deltaY); + (e.overallVelocityX = m.x), + (e.overallVelocityY = m.y), + (e.overallVelocity = h(m.x) > h(m.y) ? m.x : m.y), + (e.scale = r + ? ((d = r.pointers), + it((u = a)[0], u[1], X) / it(d[0], d[1], X)) + : 1), + (e.rotation = r + ? (function(t, e) { + return rt(a[1], a[0], X) + rt(t[1], t[0], X); + })(r.pointers) + : 0), + (e.maxPointers = n.prevInput + ? e.pointers.length > n.prevInput.maxPointers + ? e.pointers.length + : n.prevInput.maxPointers + : e.pointers.length), + (function(t, e) { + var n, + a, + o, + i, + r = t.lastInterval || e, + s = e.timeStamp - r.timeStamp; + if (e.eventType != j && (s > B || r.velocity === l)) { + var c = e.deltaX - r.deltaX, + d = e.deltaY - r.deltaY, + u = at(s, c, d); + (a = u.x), + (o = u.y), + (n = h(u.x) > h(u.y) ? u.x : u.y), + (i = ot(c, d)), + (t.lastInterval = e); + } else + (n = r.velocity), + (a = r.velocityX), + (o = r.velocityY), + (i = r.direction); + (e.velocity = n), + (e.velocityX = a), + (e.velocityY = o), + (e.direction = i); + })(n, e); + var p = t.element; + w(e.srcEvent.target, p) && (p = e.srcEvent.target), + (e.target = p); + })(t, n), + t.emit("hammer.input", n), + t.recognize(n), + (t.session.prevInput = n); + } + function et(t) { + for (var e = [], n = 0; n < t.pointers.length; ) + (e[n] = { + clientX: m(t.pointers[n].clientX), + clientY: m(t.pointers[n].clientY) + }), + n++; + return { + timeStamp: g(), + pointers: e, + center: nt(e), + deltaX: t.deltaX, + deltaY: t.deltaY + }; + } + function nt(t) { + var e = t.length; + if (1 === e) return { x: m(t[0].clientX), y: m(t[0].clientY) }; + for (var n = 0, a = 0, o = 0; o < e; ) + (n += t[o].clientX), (a += t[o].clientY), o++; + return { x: m(n / e), y: m(a / e) }; + } + function at(t, e, n) { + return { x: e / t || 0, y: n / t || 0 }; + } + function ot(t, e) { + return t === e ? U : h(t) >= h(e) ? (t < 0 ? q : K) : e < 0 ? Y : W; + } + function it(t, e, n) { + n || (n = Q); + var a = e[n[0]] - t[n[0]], + o = e[n[1]] - t[n[1]]; + return Math.sqrt(a * a + o * o); + } + function rt(t, e, n) { + return ( + n || (n = Q), + (180 * Math.atan2(e[n[1]] - t[n[1]], e[n[0]] - t[n[0]])) / Math.PI + ); + } + J.prototype = { + handler: function() {}, + init: function() { + this.evEl && x(this.element, this.evEl, this.domHandler), + this.evTarget && x(this.target, this.evTarget, this.domHandler), + this.evWin && x(N(this.element), this.evWin, this.domHandler); + }, + destroy: function() { + this.evEl && k(this.element, this.evEl, this.domHandler), + this.evTarget && k(this.target, this.evTarget, this.domHandler), + this.evWin && k(N(this.element), this.evWin, this.domHandler); + } + }; + var lt = { mousedown: V, mousemove: 2, mouseup: H }, + st = "mousedown", + ct = "mousemove mouseup"; + function dt() { + (this.evEl = st), + (this.evWin = ct), + (this.pressed = !1), + J.apply(this, arguments); + } + O(dt, J, { + handler: function(t) { + var e = lt[t.type]; + e & V && 0 === t.button && (this.pressed = !0), + 2 & e && 1 !== t.which && (e = H), + this.pressed && + (e & H && (this.pressed = !1), + this.callback(this.manager, e, { + pointers: [t], + changedPointers: [t], + pointerType: "mouse", + srcEvent: t + })); + } + }); + var ut = { + pointerdown: V, + pointermove: 2, + pointerup: H, + pointercancel: j, + pointerout: j + }, + mt = { 2: "touch", 3: "pen", 4: "mouse", 5: "kinect" }, + ht = "pointerdown", + gt = "pointermove pointerup pointercancel"; + function pt() { + (this.evEl = ht), + (this.evWin = gt), + J.apply(this, arguments), + (this.store = this.manager.session.pointerEvents = []); + } + o.MSPointerEvent && + !o.PointerEvent && + ((ht = "MSPointerDown"), + (gt = "MSPointerMove MSPointerUp MSPointerCancel")), + O(pt, J, { + handler: function(t) { + var e = this.store, + n = !1, + a = t.type.toLowerCase().replace("ms", ""), + o = ut[a], + i = mt[t.pointerType] || t.pointerType, + r = "touch" == i, + l = I(e, t.pointerId, "pointerId"); + o & V && (0 === t.button || r) + ? l < 0 && (e.push(t), (l = e.length - 1)) + : o & (H | j) && (n = !0), + l < 0 || + ((e[l] = t), + this.callback(this.manager, o, { + pointers: e, + changedPointers: [t], + pointerType: i, + srcEvent: t + }), + n && e.splice(l, 1)); + } + }); + var ft = { touchstart: V, touchmove: 2, touchend: H, touchcancel: j }, + bt = "touchstart", + _t = "touchstart touchmove touchend touchcancel"; + function Ct() { + (this.evTarget = bt), + (this.evWin = _t), + (this.started = !1), + J.apply(this, arguments); + } + O(Ct, J, { + handler: function(t) { + var e = ft[t.type]; + if ((e === V && (this.started = !0), this.started)) { + var n = function(t, e) { + var n = A(t.touches), + a = A(t.changedTouches); + return ( + e & (H | j) && (n = T(n.concat(a), "identifier", !0)), [n, a] + ); + }.call(this, t, e); + e & (H | j) && + n[0].length - n[1].length == 0 && + (this.started = !1), + this.callback(this.manager, e, { + pointers: n[0], + changedPointers: n[1], + pointerType: "touch", + srcEvent: t + }); + } + } + }); + var Pt = { touchstart: V, touchmove: 2, touchend: H, touchcancel: j }, + Ot = "touchstart touchmove touchend touchcancel"; + function Mt() { + (this.evTarget = Ot), (this.targetIds = {}), J.apply(this, arguments); + } + O(Mt, J, { + handler: function(t) { + var e = Pt[t.type], + n = function(t, e) { + var n = A(t.touches), + a = this.targetIds; + if (e & (2 | V) && 1 === n.length) + return (a[n[0].identifier] = !0), [n, n]; + var o, + i, + r = A(t.changedTouches), + l = [], + s = this.target; + if ( + ((i = n.filter(function(t) { + return w(t.target, s); + })), + e === V) + ) + for (o = 0; o < i.length; ) (a[i[o].identifier] = !0), o++; + for (o = 0; o < r.length; ) + a[r[o].identifier] && l.push(r[o]), + e & (H | j) && delete a[r[o].identifier], + o++; + return l.length + ? [T(i.concat(l), "identifier", !0), l] + : void 0; + }.call(this, t, e); + n && + this.callback(this.manager, e, { + pointers: n[0], + changedPointers: n[1], + pointerType: "touch", + srcEvent: t + }); + } + }); + var yt = 2500; + function vt() { + J.apply(this, arguments); + var t = M(this.handler, this); + (this.touch = new Mt(this.manager, t)), + (this.mouse = new dt(this.manager, t)), + (this.primaryTouch = null), + (this.lastTouches = []); + } + function xt(t) { + var e = t.changedPointers[0]; + if (e.identifier === this.primaryTouch) { + var n = { x: e.clientX, y: e.clientY }; + this.lastTouches.push(n); + var a = this.lastTouches; + setTimeout(function() { + var t = a.indexOf(n); + t > -1 && a.splice(t, 1); + }, yt); + } + } + O(vt, J, { + handler: function(t, e, n) { + var a = "mouse" == n.pointerType; + if ( + !( + a && + n.sourceCapabilities && + n.sourceCapabilities.firesTouchEvents + ) + ) { + if ("touch" == n.pointerType) + (function(t, e) { + t & V + ? ((this.primaryTouch = e.changedPointers[0].identifier), + xt.call(this, e)) + : t & (H | j) && xt.call(this, e); + }.call(this, e, n)); + else if ( + a && + function(t) { + for ( + var e = t.srcEvent.clientX, n = t.srcEvent.clientY, a = 0; + a < this.lastTouches.length; + a++ + ) { + var o = this.lastTouches[a], + i = Math.abs(e - o.x), + r = Math.abs(n - o.y); + if (i <= 25 && r <= 25) return !0; + } + return !1; + }.call(this, n) + ) + return; + this.callback(t, e, n); + } + }, + destroy: function() { + this.touch.destroy(), this.mouse.destroy(); + } + }); + var kt = R(d.style, "touchAction"), + wt = kt !== l, + St = (function() { + if (!wt) return !1; + var t = {}, + e = o.CSS && o.CSS.supports; + return ( + [ + "auto", + "manipulation", + "pan-y", + "pan-x", + "pan-x pan-y", + "none" + ].forEach(function(n) { + t[n] = !e || o.CSS.supports("touch-action", n); + }), + t + ); + })(); + function Et(t, e) { + (this.manager = t), this.set(e); + } + Et.prototype = { + set: function(t) { + "compute" == t && (t = this.compute()), + wt && + this.manager.element.style && + St[t] && + (this.manager.element.style[kt] = t), + (this.actions = t.toLowerCase().trim()); + }, + update: function() { + this.set(this.manager.options.touchAction); + }, + compute: function() { + var t = []; + return ( + b(this.manager.recognizers, function(e) { + y(e.options.enable, [e]) && (t = t.concat(e.getTouchAction())); + }), + (function(t) { + if (S(t, "none")) return "none"; + var e = S(t, "pan-x"), + n = S(t, "pan-y"); + return e && n + ? "none" + : e || n + ? e + ? "pan-x" + : "pan-y" + : S(t, "manipulation") + ? "manipulation" + : "auto"; + })(t.join(" ")) + ); + }, + preventDefaults: function(t) { + var e = t.srcEvent, + n = t.offsetDirection; + if (this.manager.session.prevented) e.preventDefault(); + else { + var a = this.actions, + o = S(a, "none") && !St.none, + i = S(a, "pan-y") && !St["pan-y"], + r = S(a, "pan-x") && !St["pan-x"]; + if ( + o && + 1 === t.pointers.length && + t.distance < 2 && + t.deltaTime < 250 + ) + return; + if (!r || !i) + return o || (i && n & G) || (r && n & $) + ? this.preventSrc(e) + : void 0; + } + }, + preventSrc: function(t) { + (this.manager.session.prevented = !0), t.preventDefault(); + } + }; + var It = 1, + At = 2, + Tt = 4, + Rt = 8, + Dt = Rt, + Nt = 16; + function zt(t) { + (this.options = s({}, this.defaults, t || {})), + (this.id = D++), + (this.manager = null), + (this.options.enable = v(this.options.enable, !0)), + (this.state = It), + (this.simultaneous = {}), + (this.requireFail = []); + } + function Lt(t) { + return t & Nt + ? "cancel" + : t & Rt + ? "end" + : t & Tt + ? "move" + : t & At + ? "start" + : ""; + } + function Ft(t) { + return t == W + ? "down" + : t == Y + ? "up" + : t == q + ? "left" + : t == K + ? "right" + : ""; + } + function Bt(t, e) { + var n = e.manager; + return n ? n.get(t) : t; + } + function Vt() { + zt.apply(this, arguments); + } + function Ht() { + Vt.apply(this, arguments), (this.pX = null), (this.pY = null); + } + function jt() { + Vt.apply(this, arguments); + } + function Ut() { + zt.apply(this, arguments), (this._timer = null), (this._input = null); + } + function qt() { + Vt.apply(this, arguments); + } + function Kt() { + Vt.apply(this, arguments); + } + function Yt() { + zt.apply(this, arguments), + (this.pTime = !1), + (this.pCenter = !1), + (this._timer = null), + (this._input = null), + (this.count = 0); + } + function Wt(t, e) { + return ( + ((e = e || {}).recognizers = v(e.recognizers, Wt.defaults.preset)), + new Gt(t, e) + ); + } + function Gt(t, e) { + var n; + (this.options = s({}, Wt.defaults, e || {})), + (this.options.inputTarget = this.options.inputTarget || t), + (this.handlers = {}), + (this.session = {}), + (this.recognizers = []), + (this.oldCssProps = {}), + (this.element = t), + (this.input = new ((n = this).options.inputClass || + (L ? pt : F ? Mt : z ? vt : dt))(n, tt)), + (this.touchAction = new Et(this, this.options.touchAction)), + $t(this, !0), + b( + this.options.recognizers, + function(t) { + var e = this.add(new t[0](t[1])); + t[2] && e.recognizeWith(t[2]), t[3] && e.requireFailure(t[3]); + }, + this + ); + } + function $t(t, e) { + var n, + a = t.element; + a.style && + (b(t.options.cssProps, function(o, i) { + (n = R(a.style, i)), + e + ? ((t.oldCssProps[n] = a.style[n]), (a.style[n] = o)) + : (a.style[n] = t.oldCssProps[n] || ""); + }), + e || (t.oldCssProps = {})); + } + (zt.prototype = { + defaults: {}, + set: function(t) { + return ( + s(this.options, t), + this.manager && this.manager.touchAction.update(), + this + ); + }, + recognizeWith: function(t) { + if (f(t, "recognizeWith", this)) return this; + var e = this.simultaneous; + return ( + e[(t = Bt(t, this)).id] || ((e[t.id] = t), t.recognizeWith(this)), + this + ); + }, + dropRecognizeWith: function(t) { + return f(t, "dropRecognizeWith", this) + ? this + : ((t = Bt(t, this)), delete this.simultaneous[t.id], this); + }, + requireFailure: function(t) { + if (f(t, "requireFailure", this)) return this; + var e = this.requireFail; + return ( + -1 === I(e, (t = Bt(t, this))) && + (e.push(t), t.requireFailure(this)), + this + ); + }, + dropRequireFailure: function(t) { + if (f(t, "dropRequireFailure", this)) return this; + t = Bt(t, this); + var e = I(this.requireFail, t); + return e > -1 && this.requireFail.splice(e, 1), this; + }, + hasRequireFailures: function() { + return this.requireFail.length > 0; + }, + canRecognizeWith: function(t) { + return !!this.simultaneous[t.id]; + }, + emit: function(t) { + var e = this, + n = this.state; + function a(n) { + e.manager.emit(n, t); + } + n < Rt && a(e.options.event + Lt(n)), + a(e.options.event), + t.additionalEvent && a(t.additionalEvent), + n >= Rt && a(e.options.event + Lt(n)); + }, + tryEmit: function(t) { + if (this.canEmit()) return this.emit(t); + this.state = 32; + }, + canEmit: function() { + for (var t = 0; t < this.requireFail.length; ) { + if (!(this.requireFail[t].state & (32 | It))) return !1; + t++; + } + return !0; + }, + recognize: function(t) { + var e = s({}, t); + if (!y(this.options.enable, [this, e])) + return this.reset(), void (this.state = 32); + this.state & (Dt | Nt | 32) && (this.state = It), + (this.state = this.process(e)), + this.state & (At | Tt | Rt | Nt) && this.tryEmit(e); + }, + process: function(t) {}, + getTouchAction: function() {}, + reset: function() {} + }), + O(Vt, zt, { + defaults: { pointers: 1 }, + attrTest: function(t) { + var e = this.options.pointers; + return 0 === e || t.pointers.length === e; + }, + process: function(t) { + var e = this.state, + n = t.eventType, + a = e & (At | Tt), + o = this.attrTest(t); + return a && (n & j || !o) + ? e | Nt + : a || o + ? n & H + ? e | Rt + : e & At + ? e | Tt + : At + : 32; + } + }), + O(Ht, Vt, { + defaults: { + event: "pan", + threshold: 10, + pointers: 1, + direction: Z + }, + getTouchAction: function() { + var t = this.options.direction, + e = []; + return t & G && e.push("pan-y"), t & $ && e.push("pan-x"), e; + }, + directionTest: function(t) { + var e = this.options, + n = !0, + a = t.distance, + o = t.direction, + i = t.deltaX, + r = t.deltaY; + return ( + o & e.direction || + (e.direction & G + ? ((o = 0 === i ? U : i < 0 ? q : K), + (n = i != this.pX), + (a = Math.abs(t.deltaX))) + : ((o = 0 === r ? U : r < 0 ? Y : W), + (n = r != this.pY), + (a = Math.abs(t.deltaY)))), + (t.direction = o), + n && a > e.threshold && o & e.direction + ); + }, + attrTest: function(t) { + return ( + Vt.prototype.attrTest.call(this, t) && + (this.state & At || + (!(this.state & At) && this.directionTest(t))) + ); + }, + emit: function(t) { + (this.pX = t.deltaX), (this.pY = t.deltaY); + var e = Ft(t.direction); + e && (t.additionalEvent = this.options.event + e), + this._super.emit.call(this, t); + } + }), + O(jt, Vt, { + defaults: { event: "pinch", threshold: 0, pointers: 2 }, + getTouchAction: function() { + return ["none"]; + }, + attrTest: function(t) { + return ( + this._super.attrTest.call(this, t) && + (Math.abs(t.scale - 1) > this.options.threshold || + this.state & At) + ); + }, + emit: function(t) { + 1 !== t.scale && + (t.additionalEvent = + this.options.event + (t.scale < 1 ? "in" : "out")), + this._super.emit.call(this, t); + } + }), + O(Ut, zt, { + defaults: { event: "press", pointers: 1, time: 251, threshold: 9 }, + getTouchAction: function() { + return ["auto"]; + }, + process: function(t) { + var e = this.options, + n = t.pointers.length === e.pointers, + a = t.distance < e.threshold, + o = t.deltaTime > e.time; + if ( + ((this._input = t), !a || !n || (t.eventType & (H | j) && !o)) + ) + this.reset(); + else if (t.eventType & V) + this.reset(), + (this._timer = p( + function() { + (this.state = Dt), this.tryEmit(); + }, + e.time, + this + )); + else if (t.eventType & H) return Dt; + return 32; + }, + reset: function() { + clearTimeout(this._timer); + }, + emit: function(t) { + this.state === Dt && + (t && t.eventType & H + ? this.manager.emit(this.options.event + "up", t) + : ((this._input.timeStamp = g()), + this.manager.emit(this.options.event, this._input))); + } + }), + O(qt, Vt, { + defaults: { event: "rotate", threshold: 0, pointers: 2 }, + getTouchAction: function() { + return ["none"]; + }, + attrTest: function(t) { + return ( + this._super.attrTest.call(this, t) && + (Math.abs(t.rotation) > this.options.threshold || + this.state & At) + ); + } + }), + O(Kt, Vt, { + defaults: { + event: "swipe", + threshold: 10, + velocity: 0.3, + direction: G | $, + pointers: 1 + }, + getTouchAction: function() { + return Ht.prototype.getTouchAction.call(this); + }, + attrTest: function(t) { + var e, + n = this.options.direction; + return ( + n & (G | $) + ? (e = t.overallVelocity) + : n & G + ? (e = t.overallVelocityX) + : n & $ && (e = t.overallVelocityY), + this._super.attrTest.call(this, t) && + n & t.offsetDirection && + t.distance > this.options.threshold && + t.maxPointers == this.options.pointers && + h(e) > this.options.velocity && + t.eventType & H + ); + }, + emit: function(t) { + var e = Ft(t.offsetDirection); + e && this.manager.emit(this.options.event + e, t), + this.manager.emit(this.options.event, t); + } + }), + O(Yt, zt, { + defaults: { + event: "tap", + pointers: 1, + taps: 1, + interval: 300, + time: 250, + threshold: 9, + posThreshold: 10 + }, + getTouchAction: function() { + return ["manipulation"]; + }, + process: function(t) { + var e = this.options, + n = t.pointers.length === e.pointers, + a = t.distance < e.threshold, + o = t.deltaTime < e.time; + if ((this.reset(), t.eventType & V && 0 === this.count)) + return this.failTimeout(); + if (a && o && n) { + if (t.eventType != H) return this.failTimeout(); + var i = !this.pTime || t.timeStamp - this.pTime < e.interval, + r = + !this.pCenter || + it(this.pCenter, t.center) < e.posThreshold; + if ( + ((this.pTime = t.timeStamp), + (this.pCenter = t.center), + r && i ? (this.count += 1) : (this.count = 1), + (this._input = t), + 0 == this.count % e.taps) + ) + return this.hasRequireFailures() + ? ((this._timer = p( + function() { + (this.state = Dt), this.tryEmit(); + }, + e.interval, + this + )), + At) + : Dt; + } + return 32; + }, + failTimeout: function() { + return ( + (this._timer = p( + function() { + this.state = 32; + }, + this.options.interval, + this + )), + 32 + ); + }, + reset: function() { + clearTimeout(this._timer); + }, + emit: function() { + this.state == Dt && + ((this._input.tapCount = this.count), + this.manager.emit(this.options.event, this._input)); + } + }), + (Wt.VERSION = "2.0.7"), + (Wt.defaults = { + domEvents: !1, + touchAction: "compute", + enable: !0, + inputTarget: null, + inputClass: null, + preset: [ + [qt, { enable: !1 }], + [jt, { enable: !1 }, ["rotate"]], + [Kt, { direction: G }], + [Ht, { direction: G }, ["swipe"]], + [Yt], + [Yt, { event: "doubletap", taps: 2 }, ["tap"]], + [Ut] + ], + cssProps: { + userSelect: "none", + touchSelect: "none", + touchCallout: "none", + contentZooming: "none", + userDrag: "none", + tapHighlightColor: "rgba(0,0,0,0)" + } + }), + (Gt.prototype = { + set: function(t) { + return ( + s(this.options, t), + t.touchAction && this.touchAction.update(), + t.inputTarget && + (this.input.destroy(), + (this.input.target = t.inputTarget), + this.input.init()), + this + ); + }, + stop: function(t) { + this.session.stopped = t ? 2 : 1; + }, + recognize: function(t) { + var e = this.session; + if (!e.stopped) { + var n; + this.touchAction.preventDefaults(t); + var a = this.recognizers, + o = e.curRecognizer; + (!o || (o && o.state & Dt)) && (o = e.curRecognizer = null); + for (var i = 0; i < a.length; ) + (n = a[i]), + 2 === e.stopped || (o && n != o && !n.canRecognizeWith(o)) + ? n.reset() + : n.recognize(t), + !o && n.state & (At | Tt | Rt) && (o = e.curRecognizer = n), + i++; + } + }, + get: function(t) { + if (t instanceof zt) return t; + for (var e = this.recognizers, n = 0; n < e.length; n++) + if (e[n].options.event == t) return e[n]; + return null; + }, + add: function(t) { + if (f(t, "add", this)) return this; + var e = this.get(t.options.event); + return ( + e && this.remove(e), + this.recognizers.push(t), + (t.manager = this), + this.touchAction.update(), + t + ); + }, + remove: function(t) { + if (f(t, "remove", this)) return this; + if ((t = this.get(t))) { + var e = this.recognizers, + n = I(e, t); + -1 !== n && (e.splice(n, 1), this.touchAction.update()); + } + return this; + }, + on: function(t, e) { + if (t !== l && e !== l) { + var n = this.handlers; + return ( + b(E(t), function(t) { + (n[t] = n[t] || []), n[t].push(e); + }), + this + ); + } + }, + off: function(t, e) { + if (t !== l) { + var n = this.handlers; + return ( + b(E(t), function(t) { + e ? n[t] && n[t].splice(I(n[t], e), 1) : delete n[t]; + }), + this + ); + } + }, + emit: function(t, e) { + this.options.domEvents && + (function(t, e) { + var n = i.createEvent("Event"); + n.initEvent(t, !0, !0), + (n.gesture = e), + e.target.dispatchEvent(n); + })(t, e); + var n = this.handlers[t] && this.handlers[t].slice(); + if (n && n.length) { + (e.type = t), + (e.preventDefault = function() { + e.srcEvent.preventDefault(); + }); + for (var a = 0; a < n.length; ) n[a](e), a++; + } + }, + destroy: function() { + this.element && $t(this, !1), + (this.handlers = {}), + (this.session = {}), + this.input.destroy(), + (this.element = null); + } + }), + s(Wt, { + INPUT_START: V, + INPUT_MOVE: 2, + INPUT_END: H, + INPUT_CANCEL: j, + STATE_POSSIBLE: It, + STATE_BEGAN: At, + STATE_CHANGED: Tt, + STATE_ENDED: Rt, + STATE_RECOGNIZED: Dt, + STATE_CANCELLED: Nt, + STATE_FAILED: 32, + DIRECTION_NONE: U, + DIRECTION_LEFT: q, + DIRECTION_RIGHT: K, + DIRECTION_UP: Y, + DIRECTION_DOWN: W, + DIRECTION_HORIZONTAL: G, + DIRECTION_VERTICAL: $, + DIRECTION_ALL: Z, + Manager: Gt, + Input: J, + TouchAction: Et, + TouchInput: Mt, + MouseInput: dt, + PointerEventInput: pt, + TouchMouseInput: vt, + SingleTouchInput: Ct, + Recognizer: zt, + AttrRecognizer: Vt, + Tap: Yt, + Pan: Ht, + Swipe: Kt, + Pinch: jt, + Rotate: qt, + Press: Ut, + on: x, + off: k, + each: b, + merge: P, + extend: C, + assign: s, + inherit: O, + bindFn: M, + prefixed: R + }), + ((void 0 !== o + ? o + : "undefined" != typeof self + ? self + : {} + ).Hammer = Wt), + (a = function() { + return Wt; + }.call(e, n, e, t)) === l || (t.exports = a); + })(window, document); + }, + yx2s: function(t, e, n) { + "use strict"; + var a = n("FWf1"); + e.canReportError = function(t) { + for (; t; ) { + var e = t.destination; + if (t.closed || t.isStopped) return !1; + t = e && e instanceof a.Subscriber ? e : null; + } + return !0; + }; + }, + "zB/H": function(t, e, n) { + "use strict"; + var a = n("mbIT"), + o = n("GMZp"), + i = n("pshJ"), + r = n("LBXl"); + function l(t) { + return t.reduce(function(t, e) { + return t.concat(e instanceof r.UnsubscriptionError ? e.errors : e); + }, []); + } + e.Subscription = (function() { + function t(t) { + (this.closed = !1), + (this._parent = null), + (this._parents = null), + (this._subscriptions = null), + t && (this._unsubscribe = t); + } + var e; + return ( + (t.prototype.unsubscribe = function() { + var t, + e = !1; + if (!this.closed) { + var n = this._parent, + s = this._parents, + c = this._unsubscribe, + d = this._subscriptions; + (this.closed = !0), + (this._parent = null), + (this._parents = null), + (this._subscriptions = null); + for (var u = -1, m = s ? s.length : 0; n; ) + n.remove(this), (n = (++u < m && s[u]) || null); + if (i.isFunction(c)) + try { + c.call(this); + } catch (g) { + (e = !0), + (t = + g instanceof r.UnsubscriptionError ? l(g.errors) : [g]); + } + if (a.isArray(d)) + for (u = -1, m = d.length; ++u < m; ) { + var h = d[u]; + if (o.isObject(h)) + try { + h.unsubscribe(); + } catch (g) { + (e = !0), + (t = t || []), + g instanceof r.UnsubscriptionError + ? (t = t.concat(l(g.errors))) + : t.push(g); + } + } + if (e) throw new r.UnsubscriptionError(t); + } + }), + (t.prototype.add = function(e) { + var n = e; + switch (typeof e) { + case "function": + n = new t(e); + case "object": + if ( + n === this || + n.closed || + "function" != typeof n.unsubscribe + ) + return n; + if (this.closed) return n.unsubscribe(), n; + if (!(n instanceof t)) { + var a = n; + (n = new t())._subscriptions = [a]; + } + break; + default: + if (!e) return t.EMPTY; + throw new Error( + "unrecognized teardown " + e + " added to Subscription." + ); + } + if (n._addParent(this)) { + var o = this._subscriptions; + o ? o.push(n) : (this._subscriptions = [n]); + } + return n; + }), + (t.prototype.remove = function(t) { + var e = this._subscriptions; + if (e) { + var n = e.indexOf(t); + -1 !== n && e.splice(n, 1); + } + }), + (t.prototype._addParent = function(t) { + var e = this._parent, + n = this._parents; + return ( + e !== t && + (e + ? n + ? -1 === n.indexOf(t) && (n.push(t), !0) + : ((this._parents = [t]), !0) + : ((this._parent = t), !0)) + ); + }), + (t.EMPTY = (((e = new t()).closed = !0), e)), + t + ); + })(); + }, + zUnb: function(t, e, n) { + "use strict"; + function a(t) { + return "function" == typeof t; + } + n.r(e), n("yLV6"); + let o = !1; + const i = { + Promise: void 0, + set useDeprecatedSynchronousErrorHandling(t) { + o = t; + }, + get useDeprecatedSynchronousErrorHandling() { + return o; + } + }; + function r(t) { + setTimeout(() => { + throw t; + }); + } + const l = { + closed: !0, + next(t) {}, + error(t) { + if (i.useDeprecatedSynchronousErrorHandling) throw t; + r(t); + }, + complete() {} + }, + s = Array.isArray || (t => t && "number" == typeof t.length); + function c(t) { + return null !== t && "object" == typeof t; + } + function d(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 + ); + } + d.prototype = Object.create(Error.prototype); + const u = d, + m = (() => { + class t { + constructor(t) { + (this.closed = !1), + (this._parent = null), + (this._parents = null), + (this._subscriptions = null), + t && (this._unsubscribe = t); + } + unsubscribe() { + let t, + e = !1; + if (this.closed) return; + let { + _parent: n, + _parents: o, + _unsubscribe: i, + _subscriptions: r + } = this; + (this.closed = !0), + (this._parent = null), + (this._parents = null), + (this._subscriptions = null); + let l = -1, + d = o ? o.length : 0; + for (; n; ) n.remove(this), (n = (++l < d && o[l]) || null); + if (a(i)) + try { + i.call(this); + } catch (m) { + (e = !0), (t = m instanceof u ? h(m.errors) : [m]); + } + if (s(r)) + for (l = -1, d = r.length; ++l < d; ) { + const n = r[l]; + if (c(n)) + try { + n.unsubscribe(); + } catch (m) { + (e = !0), + (t = t || []), + m instanceof u + ? (t = t.concat(h(m.errors))) + : t.push(m); + } + } + if (e) throw new u(t); + } + add(e) { + let n = e; + switch (typeof e) { + case "function": + n = new t(e); + case "object": + if ( + n === this || + n.closed || + "function" != typeof n.unsubscribe + ) + return n; + if (this.closed) return n.unsubscribe(), n; + if (!(n instanceof t)) { + const e = n; + (n = new t())._subscriptions = [e]; + } + break; + default: + if (!e) return t.EMPTY; + throw new Error( + "unrecognized teardown " + e + " added to Subscription." + ); + } + if (n._addParent(this)) { + const t = this._subscriptions; + t ? t.push(n) : (this._subscriptions = [n]); + } + return n; + } + remove(t) { + const e = this._subscriptions; + if (e) { + const n = e.indexOf(t); + -1 !== n && e.splice(n, 1); + } + } + _addParent(t) { + let { _parent: e, _parents: n } = this; + return ( + e !== t && + (e + ? n + ? -1 === n.indexOf(t) && (n.push(t), !0) + : ((this._parents = [t]), !0) + : ((this._parent = t), !0)) + ); + } + } + return ( + (t.EMPTY = (function(t) { + return (t.closed = !0), t; + })(new t())), + t + ); + })(); + function h(t) { + return t.reduce((t, e) => t.concat(e instanceof u ? e.errors : e), []); + } + const g = + "function" == typeof Symbol + ? Symbol("rxSubscriber") + : "@@rxSubscriber_" + Math.random(); + class p extends m { + constructor(t, e, n) { + switch ( + (super(), + (this.syncErrorValue = null), + (this.syncErrorThrown = !1), + (this.syncErrorThrowable = !1), + (this.isStopped = !1), + arguments.length) + ) { + case 0: + this.destination = l; + break; + case 1: + if (!t) { + this.destination = l; + break; + } + if ("object" == typeof t) { + t instanceof p + ? ((this.syncErrorThrowable = t.syncErrorThrowable), + (this.destination = t), + t.add(this)) + : ((this.syncErrorThrowable = !0), + (this.destination = new f(this, t))); + break; + } + default: + (this.syncErrorThrowable = !0), + (this.destination = new f(this, t, e, n)); + } + } + [g]() { + return this; + } + static create(t, e, n) { + const a = new p(t, e, n); + return (a.syncErrorThrowable = !1), a; + } + 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 { _parent: t, _parents: e } = this; + return ( + (this._parent = null), + (this._parents = null), + this.unsubscribe(), + (this.closed = !1), + (this.isStopped = !1), + (this._parent = t), + (this._parents = e), + this + ); + } + } + class f extends p { + constructor(t, e, n, o) { + let i; + super(), (this._parentSubscriber = t); + let r = this; + a(e) + ? (i = e) + : e && + ((i = e.next), + (n = e.error), + (o = e.complete), + e !== l && + (a((r = Object.create(e)).unsubscribe) && + this.add(r.unsubscribe.bind(r)), + (r.unsubscribe = this.unsubscribe.bind(this)))), + (this._context = r), + (this._next = i), + (this._error = n), + (this._complete = o); + } + next(t) { + if (!this.isStopped && this._next) { + const { _parentSubscriber: e } = this; + i.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 } = i; + 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)) : r(t), + this.unsubscribe(); + else { + if ((this.unsubscribe(), n)) throw t; + r(t); + } + } + } + complete() { + if (!this.isStopped) { + const { _parentSubscriber: t } = this; + if (this._complete) { + const e = () => this._complete.call(this._context); + i.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(), i.useDeprecatedSynchronousErrorHandling)) + throw n; + r(n); + } + } + __tryOrSetError(t, e, n) { + if (!i.useDeprecatedSynchronousErrorHandling) + throw new Error("bad call"); + try { + e.call(this._context, n); + } catch (a) { + return i.useDeprecatedSynchronousErrorHandling + ? ((t.syncErrorValue = a), (t.syncErrorThrown = !0), !0) + : (r(a), !0); + } + return !1; + } + _unsubscribe() { + const { _parentSubscriber: t } = this; + (this._context = null), + (this._parentSubscriber = null), + t.unsubscribe(); + } + } + const b = + ("function" == typeof Symbol && Symbol.observable) || "@@observable"; + function _() {} + function C(...t) { + return P(t); + } + function P(t) { + return t + ? 1 === t.length + ? t[0] + : function(e) { + return t.reduce((t, e) => e(t), e); + } + : _; + } + const O = (() => { + 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: a } = this, + o = (function(t, e, n) { + if (t) { + if (t instanceof p) return t; + if (t[g]) return t[g](); + } + return t || e || n ? new p(t, e, n) : new p(l); + })(t, e, n); + if ( + (o.add( + a + ? a.call(o, this.source) + : this.source || + (i.useDeprecatedSynchronousErrorHandling && + !o.syncErrorThrowable) + ? this._subscribe(o) + : this._trySubscribe(o) + ), + i.useDeprecatedSynchronousErrorHandling && + o.syncErrorThrowable && + ((o.syncErrorThrowable = !1), o.syncErrorThrown)) + ) + throw o.syncErrorValue; + return o; + } + _trySubscribe(t) { + try { + return this._subscribe(t); + } catch (e) { + i.useDeprecatedSynchronousErrorHandling && + ((t.syncErrorThrown = !0), (t.syncErrorValue = e)), + (function(t) { + for (; t; ) { + const { closed: e, destination: n, isStopped: a } = t; + if (e || a) return !1; + t = n && n instanceof p ? n : null; + } + return !0; + })(t) + ? t.error(e) + : console.warn(e); + } + } + forEach(t, e) { + return new (e = M(e))((e, n) => { + let a; + a = this.subscribe( + e => { + try { + t(e); + } catch (o) { + n(o), a && a.unsubscribe(); + } + }, + n, + e + ); + }); + } + _subscribe(t) { + const { source: e } = this; + return e && e.subscribe(t); + } + [b]() { + return this; + } + pipe(...t) { + return 0 === t.length ? this : P(t)(this); + } + toPromise(t) { + return new (t = M(t))((t, e) => { + let n; + this.subscribe(t => (n = t), t => e(t), () => t(n)); + }); + } + } + return (t.create = e => new t(e)), t; + })(); + function M(t) { + if ((t || (t = i.Promise || Promise), !t)) + throw new Error("no Promise impl found"); + return t; + } + function y() { + return ( + Error.call(this), + (this.message = "object unsubscribed"), + (this.name = "ObjectUnsubscribedError"), + this + ); + } + y.prototype = Object.create(Error.prototype); + const v = y; + class x extends m { + constructor(t, e) { + super(), + (this.subject = t), + (this.subscriber = e), + (this.closed = !1); + } + unsubscribe() { + if (this.closed) return; + this.closed = !0; + const t = this.subject, + e = t.observers; + if ( + ((this.subject = null), + !e || 0 === e.length || t.isStopped || t.closed) + ) + return; + const n = e.indexOf(this.subscriber); + -1 !== n && e.splice(n, 1); + } + } + class k extends p { + constructor(t) { + super(t), (this.destination = t); + } + } + const w = (() => { + class t extends O { + constructor() { + super(), + (this.observers = []), + (this.closed = !1), + (this.isStopped = !1), + (this.hasError = !1), + (this.thrownError = null); + } + [g]() { + return new k(this); + } + lift(t) { + const e = new S(this, this); + return (e.operator = t), e; + } + next(t) { + if (this.closed) throw new v(); + if (!this.isStopped) { + const { observers: e } = this, + n = e.length, + a = e.slice(); + for (let o = 0; o < n; o++) a[o].next(t); + } + } + error(t) { + if (this.closed) throw new v(); + (this.hasError = !0), (this.thrownError = t), (this.isStopped = !0); + const { observers: e } = this, + n = e.length, + a = e.slice(); + for (let o = 0; o < n; o++) a[o].error(t); + this.observers.length = 0; + } + complete() { + if (this.closed) throw new v(); + this.isStopped = !0; + const { observers: t } = this, + e = t.length, + n = t.slice(); + for (let a = 0; a < e; a++) n[a].complete(); + this.observers.length = 0; + } + unsubscribe() { + (this.isStopped = !0), (this.closed = !0), (this.observers = null); + } + _trySubscribe(t) { + if (this.closed) throw new v(); + return super._trySubscribe(t); + } + _subscribe(t) { + if (this.closed) throw new v(); + return this.hasError + ? (t.error(this.thrownError), m.EMPTY) + : this.isStopped + ? (t.complete(), m.EMPTY) + : (this.observers.push(t), new x(this, t)); + } + asObservable() { + const t = new O(); + return (t.source = this), t; + } + } + return (t.create = (t, e) => new S(t, e)), t; + })(); + class S extends w { + 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) : m.EMPTY; + } + } + function E(t) { + return t && "function" == typeof t.schedule; + } + class I extends p { + constructor(t, e, n) { + super(), + (this.parent = t), + (this.outerValue = e), + (this.outerIndex = n), + (this.index = 0); + } + _next(t) { + this.parent.notifyNext( + this.outerValue, + t, + this.outerIndex, + this.index++, + this + ); + } + _error(t) { + this.parent.notifyError(t, this), this.unsubscribe(); + } + _complete() { + this.parent.notifyComplete(this), this.unsubscribe(); + } + } + const A = t => e => { + for (let n = 0, a = t.length; n < a && !e.closed; n++) e.next(t[n]); + e.closed || e.complete(); + }, + T = t => e => ( + t + .then( + t => { + e.closed || (e.next(t), e.complete()); + }, + t => e.error(t) + ) + .then(null, r), + e + ); + function R() { + return "function" == typeof Symbol && Symbol.iterator + ? Symbol.iterator + : "@@iterator"; + } + const D = R(), + N = t => e => { + const n = t[D](); + for (;;) { + const t = n.next(); + 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 + ); + }, + z = t => e => { + const n = t[b](); + if ("function" != typeof n.subscribe) + throw new TypeError( + "Provided object does not correctly implement Symbol.observable" + ); + return n.subscribe(e); + }, + L = t => t && "number" == typeof t.length && "function" != typeof t; + function F(t) { + return ( + !!t && "function" != typeof t.subscribe && "function" == typeof t.then + ); + } + const B = t => { + if (t instanceof O) + return e => + t._isScalar ? (e.next(t.value), void e.complete()) : t.subscribe(e); + if (t && "function" == typeof t[b]) return z(t); + if (L(t)) return A(t); + if (F(t)) return T(t); + if (t && "function" == typeof t[D]) return N(t); + { + const e = c(t) ? "an invalid object" : `'${t}'`; + throw new TypeError( + `You provided ${e} where a stream was expected.` + + " You can provide an Observable, Promise, Array, or Iterable." + ); + } + }; + function V(t, e, n, a, o = new I(t, n, a)) { + if (!o.closed) return B(e)(o); + } + class H extends p { + notifyNext(t, e, n, a, o) { + this.destination.next(e); + } + notifyError(t, e) { + this.destination.error(t); + } + notifyComplete(t) { + this.destination.complete(); + } + } + function j(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 U(t, e)); + }; + } + class U { + constructor(t, e) { + (this.project = t), (this.thisArg = e); + } + call(t, e) { + return e.subscribe(new q(t, this.project, this.thisArg)); + } + } + class q extends p { + constructor(t, e, n) { + super(t), + (this.project = e), + (this.count = 0), + (this.thisArg = n || this); + } + _next(t) { + let e; + try { + e = this.project.call(this.thisArg, t, this.count++); + } catch (n) { + return void this.destination.error(n); + } + this.destination.next(e); + } + } + function K(t, e) { + return new O( + e + ? n => { + const a = new m(); + let o = 0; + return ( + a.add( + e.schedule(function() { + o !== t.length + ? (n.next(t[o++]), n.closed || a.add(this.schedule())) + : n.complete(); + }) + ), + a + ); + } + : A(t) + ); + } + function Y(t, e) { + if (!e) return t instanceof O ? t : new O(B(t)); + if (null != t) { + if ( + (function(t) { + return t && "function" == typeof t[b]; + })(t) + ) + return (function(t, e) { + return new O( + e + ? n => { + const a = new m(); + return ( + a.add( + e.schedule(() => { + const o = t[b](); + a.add( + o.subscribe({ + next(t) { + a.add(e.schedule(() => n.next(t))); + }, + error(t) { + a.add(e.schedule(() => n.error(t))); + }, + complete() { + a.add(e.schedule(() => n.complete())); + } + }) + ); + }) + ), + a + ); + } + : z(t) + ); + })(t, e); + if (F(t)) + return (function(t, e) { + return new O( + e + ? n => { + const a = new m(); + return ( + a.add( + e.schedule(() => + t.then( + t => { + a.add( + e.schedule(() => { + n.next(t), + a.add(e.schedule(() => n.complete())); + }) + ); + }, + t => { + a.add(e.schedule(() => n.error(t))); + } + ) + ) + ), + a + ); + } + : T(t) + ); + })(t, e); + if (L(t)) return K(t, e); + if ( + (function(t) { + return t && "function" == typeof t[D]; + })(t) || + "string" == typeof t + ) + return (function(t, e) { + if (!t) throw new Error("Iterable cannot be null"); + return new O( + e + ? n => { + const a = new m(); + let o; + return ( + a.add(() => { + o && "function" == typeof o.return && o.return(); + }), + a.add( + e.schedule(() => { + (o = t[D]()), + a.add( + e.schedule(function() { + if (n.closed) return; + let t, e; + try { + const i = o.next(); + (t = i.value), (e = i.done); + } catch (a) { + return void n.error(a); + } + e + ? n.complete() + : (n.next(t), this.schedule()); + }) + ); + }) + ), + a + ); + } + : N(t) + ); + })(t, e); + } + throw new TypeError( + ((null !== t && typeof t) || t) + " is not observable" + ); + } + function W(t, e, n = Number.POSITIVE_INFINITY) { + return "function" == typeof e + ? a => + a.pipe( + W((n, a) => Y(t(n, a)).pipe(j((t, o) => e(n, t, a, o))), n) + ) + : ("number" == typeof e && (n = e), e => e.lift(new G(t, n))); + } + class G { + constructor(t, e = Number.POSITIVE_INFINITY) { + (this.project = t), (this.concurrent = e); + } + call(t, e) { + return e.subscribe(new $(t, this.project, this.concurrent)); + } + } + class $ extends H { + 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.active < this.concurrent + ? this._tryNext(t) + : this.buffer.push(t); + } + _tryNext(t) { + let e; + const n = this.index++; + try { + e = this.project(t, n); + } catch (a) { + return void this.destination.error(a); + } + this.active++, this._innerSub(e, t, n); + } + _innerSub(t, e, n) { + const a = new I(this, void 0, void 0); + this.destination.add(a), V(this, t, e, n, a); + } + _complete() { + (this.hasCompleted = !0), + 0 === this.active && + 0 === this.buffer.length && + this.destination.complete(), + this.unsubscribe(); + } + notifyNext(t, e, n, a, o) { + this.destination.next(e); + } + notifyComplete(t) { + const e = this.buffer; + this.remove(t), + this.active--, + e.length > 0 + ? this._next(e.shift()) + : 0 === this.active && + this.hasCompleted && + this.destination.complete(); + } + } + function Z(t) { + return t; + } + function Q(t = Number.POSITIVE_INFINITY) { + return W(Z, t); + } + function X(...t) { + let e = Number.POSITIVE_INFINITY, + n = null, + a = t[t.length - 1]; + return ( + E(a) + ? ((n = t.pop()), + t.length > 1 && + "number" == typeof t[t.length - 1] && + (e = t.pop())) + : "number" == typeof a && (e = t.pop()), + null === n && 1 === t.length && t[0] instanceof O + ? t[0] + : Q(e)(K(t, n)) + ); + } + function J() { + return function(t) { + return t.lift(new tt(t)); + }; + } + class tt { + constructor(t) { + this.connectable = t; + } + call(t, e) { + const { connectable: n } = this; + n._refCount++; + const a = new et(t, n), + o = e.subscribe(a); + return a.closed || (a.connection = n.connect()), o; + } + } + class et extends p { + constructor(t, e) { + super(t), (this.connectable = e); + } + _unsubscribe() { + const { connectable: t } = this; + if (!t) return void (this.connection = null); + this.connectable = null; + const e = t._refCount; + if (e <= 0) return void (this.connection = null); + if (((t._refCount = e - 1), e > 1)) + return void (this.connection = null); + const { connection: n } = this, + a = t._connection; + (this.connection = null), !a || (n && a !== n) || a.unsubscribe(); + } + } + const nt = class extends O { + 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 m()).add( + this.source.subscribe(new ot(this.getSubject(), this)) + ), + t.closed + ? ((this._connection = null), (t = m.EMPTY)) + : (this._connection = t)), + t + ); + } + refCount() { + return J()(this); + } + }.prototype, + at = { + operator: { value: null }, + _refCount: { value: 0, writable: !0 }, + _subject: { value: null, writable: !0 }, + _connection: { value: null, writable: !0 }, + _subscribe: { value: nt._subscribe }, + _isComplete: { value: nt._isComplete, writable: !0 }, + getSubject: { value: nt.getSubject }, + connect: { value: nt.connect }, + refCount: { value: nt.refCount } + }; + class ot extends k { + constructor(t, e) { + super(t), (this.connectable = e); + } + _error(t) { + this._unsubscribe(), super._error(t); + } + _complete() { + (this.connectable._isComplete = !0), + this._unsubscribe(), + super._complete(); + } + _unsubscribe() { + const t = this.connectable; + if (t) { + this.connectable = null; + const e = t._connection; + (t._refCount = 0), + (t._subject = null), + (t._connection = null), + e && e.unsubscribe(); + } + } + } + function it() { + return new w(); + } + function rt() { + return t => + J()( + (function(t, e) { + return function(e) { + let n; + n = + "function" == typeof t + ? t + : function() { + return t; + }; + const a = Object.create(e, at); + return (a.source = e), (a.subjectFactory = n), a; + }; + })(it)(t) + ); + } + const lt = "__annotations__", + st = "__parameters__", + ct = "__prop__metadata__"; + function dt(t, e, n) { + const a = (function(t) { + return function(...e) { + if (t) { + const n = t(...e); + for (const t in n) this[t] = n[t]; + } + }; + })(e); + function o(...t) { + if (this instanceof o) return a.apply(this, t), this; + const e = new o(...t); + return (n.annotation = e), n; + function n(t, n, a) { + const o = t.hasOwnProperty(st) + ? t[st] + : Object.defineProperty(t, st, { value: [] })[st]; + for (; o.length <= a; ) o.push(null); + return (o[a] = o[a] || []).push(e), t; + } + } + return ( + n && (o.prototype = Object.create(n.prototype)), + (o.prototype.ngMetadataName = t), + (o.annotationCls = o), + o + ); + } + const ut = dt("Inject", t => ({ token: t })), + mt = dt("Optional"), + ht = dt("Self"), + gt = dt("SkipSelf"); + var pt = (function(t) { + return ( + (t[(t.Default = 0)] = "Default"), + (t[(t.Host = 1)] = "Host"), + (t[(t.Self = 2)] = "Self"), + (t[(t.SkipSelf = 4)] = "SkipSelf"), + (t[(t.Optional = 8)] = "Optional"), + t + ); + })({}); + function ft(t) { + for (let e in t) if (t[e] === ft) return e; + throw Error("Could not find renamed property on target object."); + } + function bt(t) { + return { + providedIn: t.providedIn || null, + factory: t.factory, + value: void 0 + }; + } + const _t = bt; + function Ct(t) { + return t && t.hasOwnProperty(Pt) ? t[Pt] : null; + } + const Pt = ft({ ngInjectableDef: ft }); + function Ot(t) { + if ("string" == typeof t) return t; + if (t instanceof Array) return "[" + t.map(Ot).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); + } + const Mt = ft({ __forward_ref__: ft }); + function yt(t) { + return ( + (t.__forward_ref__ = yt), + (t.toString = function() { + return Ot(this()); + }), + t + ); + } + function vt(t) { + const e = t; + return "function" == typeof e && + e.hasOwnProperty(Mt) && + e.__forward_ref__ === yt + ? e() + : t; + } + function xt() { + const t = "undefined" != typeof globalThis && globalThis, + e = "undefined" != typeof window && window, + n = + "undefined" != typeof self && + "undefined" != typeof WorkerGlobalScope && + self instanceof WorkerGlobalScope && + self, + a = "undefined" != typeof global && global; + return t || a || e || n; + } + const kt = xt(); + let wt, + St = void 0; + function Et(t) { + const e = St; + return (St = t), e; + } + function It(t, e = pt.Default) { + return (wt || + function(t, e = pt.Default) { + if (void 0 === St) + throw new Error( + "inject() must be called from an injection context" + ); + return null === St + ? (function(t, e, n) { + const a = Ct(t); + if (a && "root" == a.providedIn) + return void 0 === a.value + ? (a.value = a.factory()) + : a.value; + if (n & pt.Optional) return null; + throw new Error(`Injector: NOT_FOUND [${Ot(t)}]`); + })(t, 0, e) + : St.get(t, e & pt.Optional ? null : void 0, e); + })(t, e); + } + const At = It, + Tt = Function; + function Rt(t) { + return "function" == typeof t; + } + const Dt = /^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/, + Nt = /^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/, + zt = /^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/, + Lt = /^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s+super\(\.\.\.arguments\)/; + class Ft { + constructor(t) { + this._reflect = t || kt.Reflect; + } + isReflectionEnabled() { + return !0; + } + factory(t) { + return (...e) => new t(...e); + } + _zipTypesAndAnnotations(t, e) { + let n; + n = void 0 === t ? new Array(e.length) : new Array(t.length); + for (let a = 0; a < n.length; a++) + (n[a] = void 0 === t ? [] : t[a] != Object ? [t[a]] : []), + e && null != e[a] && (n[a] = n[a].concat(e[a])); + return n; + } + _ownParameters(t, e) { + const n = t.toString(); + if (Dt.exec(n) || Lt.exec(n) || (Nt.exec(n) && !zt.exec(n))) + return null; + if (t.parameters && t.parameters !== e.parameters) + return t.parameters; + const a = t.ctorParameters; + if (a && a !== e.ctorParameters) { + const t = "function" == typeof a ? a() : a, + e = t.map(t => t && t.type), + n = t.map(t => t && Bt(t.decorators)); + return this._zipTypesAndAnnotations(e, n); + } + const o = t.hasOwnProperty(st) && t[st], + i = + this._reflect && + this._reflect.getOwnMetadata && + this._reflect.getOwnMetadata("design:paramtypes", t); + return i || o + ? this._zipTypesAndAnnotations(i, o) + : new Array(t.length).fill(void 0); + } + parameters(t) { + if (!Rt(t)) return []; + const e = Vt(t); + let n = this._ownParameters(t, e); + return n || e === Object || (n = this.parameters(e)), n || []; + } + _ownAnnotations(t, e) { + if (t.annotations && t.annotations !== e.annotations) { + let e = t.annotations; + return ( + "function" == typeof e && e.annotations && (e = e.annotations), e + ); + } + return t.decorators && t.decorators !== e.decorators + ? Bt(t.decorators) + : t.hasOwnProperty(lt) + ? t[lt] + : null; + } + annotations(t) { + if (!Rt(t)) return []; + const e = Vt(t), + n = this._ownAnnotations(t, e) || []; + return (e !== Object ? this.annotations(e) : []).concat(n); + } + _ownPropMetadata(t, e) { + if (t.propMetadata && t.propMetadata !== e.propMetadata) { + let e = t.propMetadata; + return ( + "function" == typeof e && e.propMetadata && (e = e.propMetadata), + e + ); + } + if (t.propDecorators && t.propDecorators !== e.propDecorators) { + const e = t.propDecorators, + n = {}; + return ( + Object.keys(e).forEach(t => { + n[t] = Bt(e[t]); + }), + n + ); + } + return t.hasOwnProperty(ct) ? t[ct] : null; + } + propMetadata(t) { + if (!Rt(t)) return {}; + const e = Vt(t), + n = {}; + if (e !== Object) { + const t = this.propMetadata(e); + Object.keys(t).forEach(e => { + n[e] = t[e]; + }); + } + const a = this._ownPropMetadata(t, e); + return ( + a && + Object.keys(a).forEach(t => { + const e = []; + n.hasOwnProperty(t) && e.push(...n[t]), + e.push(...a[t]), + (n[t] = e); + }), + n + ); + } + ownPropMetadata(t) { + return (Rt(t) && this._ownPropMetadata(t, Vt(t))) || {}; + } + hasLifecycleHook(t, e) { + return t instanceof Tt && e in t.prototype; + } + guards(t) { + return {}; + } + getter(t) { + return new Function("o", "return o." + t + ";"); + } + setter(t) { + return new Function("o", "v", "return o." + t + " = v;"); + } + method(t) { + return new Function( + "o", + "args", + `if (!o.${t}) throw new Error('"${t}" is undefined');\n return o.${t}.apply(o, args);` + ); + } + importUri(t) { + return "object" == typeof t && t.filePath ? t.filePath : `./${Ot(t)}`; + } + resourceUri(t) { + return `./${Ot(t)}`; + } + resolveIdentifier(t, e, n, a) { + return a; + } + resolveEnum(t, e) { + return t[e]; + } + } + function Bt(t) { + return t + ? t.map(t => new (0, t.type.annotationCls)(...(t.args ? t.args : []))) + : []; + } + function Vt(t) { + const e = t.prototype ? Object.getPrototypeOf(t.prototype) : null; + return (e ? e.constructor : null) || Object; + } + class Ht { + constructor(t, e) { + (this._desc = t), + (this.ngMetadataName = "InjectionToken"), + (this.ngInjectableDef = void 0), + "number" == typeof e + ? (this.__NG_ELEMENT_ID__ = e) + : void 0 !== e && + (this.ngInjectableDef = bt({ + providedIn: e.providedIn || "root", + factory: e.factory + })); + } + toString() { + return `InjectionToken ${this._desc}`; + } + } + const jt = "__source", + Ut = new Object(), + qt = Ut, + Kt = new Ht("INJECTOR", -1); + class Yt { + get(t, e = Ut) { + if (e === Ut) { + const e = new Error(`NullInjectorError: No provider for ${Ot(t)}!`); + throw ((e.name = "NullInjectorError"), e); + } + return e; + } + } + const Wt = (() => { + class t { + static create(t, e) { + return Array.isArray(t) + ? new ae(t, e) + : new ae(t.providers, t.parent, t.name || null); + } + } + return ( + (t.THROW_IF_NOT_FOUND = Ut), + (t.NULL = new Yt()), + (t.ngInjectableDef = bt({ + providedIn: "any", + factory: () => It(Kt) + })), + (t.__NG_ELEMENT_ID__ = -1), + t + ); + })(), + Gt = function(t) { + return t; + }, + $t = [], + Zt = Gt, + Qt = function() { + return Array.prototype.slice.call(arguments); + }, + Xt = ft({ provide: String, useValue: ft }), + Jt = "ngTokenPath", + te = "ngTempTokenPath", + ee = /\n/gm, + ne = "\u0275"; + class ae { + constructor(t, e = Wt.NULL, n = null) { + (this.parent = e), (this.source = n); + const a = (this._records = new Map()); + a.set(Wt, { token: Wt, fn: Gt, deps: $t, value: this, useNew: !1 }), + a.set(Kt, { token: Kt, fn: Gt, deps: $t, value: this, useNew: !1 }), + (function t(e, n) { + if (n) + if ((n = vt(n)) instanceof Array) + for (let a = 0; a < n.length; a++) t(e, n[a]); + else { + if ("function" == typeof n) + throw re("Function/Class not supported", n); + if (!n || "object" != typeof n || !n.provide) + throw re("Unexpected provider", n); + { + let t = vt(n.provide); + const a = (function(t) { + const e = (function(t) { + let e = $t; + const n = t.deps; + if (n && n.length) { + e = []; + for (let t = 0; t < n.length; t++) { + let a = 6, + o = vt(n[t]); + if (o instanceof Array) + for (let t = 0, e = o; t < e.length; t++) { + const n = e[t]; + n instanceof mt || n == mt + ? (a |= 1) + : n instanceof gt || n == gt + ? (a &= -3) + : n instanceof ht || n == ht + ? (a &= -5) + : (o = n instanceof ut ? n.token : vt(n)); + } + e.push({ token: o, options: a }); + } + } else if (t.useExisting) + e = [{ token: vt(t.useExisting), options: 6 }]; + else if (!(n || Xt in t)) + throw re("'deps' required", t); + return e; + })(t); + let n = Gt, + a = $t, + o = !1, + i = vt(t.provide); + if (Xt in t) a = t.useValue; + else if (t.useFactory) n = t.useFactory; + else if (t.useExisting); + else if (t.useClass) (o = !0), (n = vt(t.useClass)); + else { + if ("function" != typeof i) + throw re( + "StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable", + t + ); + (o = !0), (n = i); + } + return { deps: e, fn: n, useNew: o, value: a }; + })(n); + if (!0 === n.multi) { + let a = e.get(t); + if (a) { + if (a.fn !== Qt) throw oe(t); + } else + e.set( + t, + (a = { + token: n.provide, + deps: [], + useNew: !1, + fn: Qt, + value: $t + }) + ); + a.deps.push({ token: (t = n), options: 6 }); + } + const o = e.get(t); + if (o && o.fn == Qt) throw oe(t); + e.set(t, a); + } + } + })(a, t); + } + get(t, e, n = pt.Default) { + const a = this._records.get(t); + try { + return (function t(e, n, a, o, i, r) { + try { + return (function(e, n, a, o, i, r) { + let l; + if (!n || r & pt.SkipSelf) + r & pt.Self || (l = o.get(e, i, pt.Default)); + else { + if ((l = n.value) == Zt) + throw Error(ne + "Circular dependency"); + if (l === $t) { + n.value = Zt; + let e = void 0, + i = n.useNew, + r = n.fn, + s = n.deps, + c = $t; + if (s.length) { + c = []; + for (let e = 0; e < s.length; e++) { + const n = s[e], + i = n.options, + r = 2 & i ? a.get(n.token) : void 0; + c.push( + t( + n.token, + r, + a, + r || 4 & i ? o : Wt.NULL, + 1 & i ? null : Wt.THROW_IF_NOT_FOUND, + pt.Default + ) + ); + } + } + n.value = l = i ? new r(...c) : r.apply(e, c); + } + } + return l; + })(e, n, a, o, i, r); + } catch (l) { + throw (l instanceof Error || (l = new Error(l)), + (l[te] = l[te] || []).unshift(e), + n && n.value == Zt && (n.value = $t), + l); + } + })(t, a, this._records, this.parent, e, n); + } catch (o) { + return (function(t, e, n, a) { + const o = t[te]; + throw (e[jt] && o.unshift(e[jt]), + (t.message = ie("\n" + t.message, o, "StaticInjectorError", a)), + (t[Jt] = o), + (t[te] = null), + t); + })(o, t, 0, this.source); + } + } + toString() { + const t = []; + return ( + this._records.forEach((e, n) => t.push(Ot(n))), + `StaticInjector[${t.join(", ")}]` + ); + } + } + function oe(t) { + return re("Cannot mix multi providers and regular providers", t); + } + function ie(t, e, n, a = null) { + t = t && "\n" === t.charAt(0) && t.charAt(1) == ne ? t.substr(2) : t; + let o = Ot(e); + if (e instanceof Array) o = e.map(Ot).join(" -> "); + else if ("object" == typeof e) { + let t = []; + for (let n in e) + if (e.hasOwnProperty(n)) { + let a = e[n]; + t.push( + n + ":" + ("string" == typeof a ? JSON.stringify(a) : Ot(a)) + ); + } + o = `{${t.join(", ")}}`; + } + return `${n}${a ? "(" + a + ")" : ""}[${o}]: ${t.replace(ee, "\n ")}`; + } + function re(t, e) { + return new Error(ie(t, e, "StaticInjectorError")); + } + const le = "ngDebugContext", + se = "ngOriginalError", + ce = "ngErrorLogger"; + function de(t) { + return t.length > 1 + ? " (" + + (function(t) { + const e = []; + for (let n = 0; n < t.length; ++n) { + if (e.indexOf(t[n]) > -1) return e.push(t[n]), e; + e.push(t[n]); + } + return e; + })(t.slice().reverse()) + .map(t => Ot(t.token)) + .join(" -> ") + + ")" + : ""; + } + function ue(t, e, n, a) { + const o = [e], + i = n(o), + r = a + ? (function(t, e) { + const n = `${i} caused by: ${ + e instanceof Error ? e.message : e + }`, + a = Error(n); + return (a[se] = e), a; + })(0, a) + : Error(i); + return ( + (r.addKey = me), + (r.keys = o), + (r.injectors = [t]), + (r.constructResolvingMessage = n), + (r[se] = a), + r + ); + } + function me(t, e) { + this.injectors.push(t), + this.keys.push(e), + (this.message = this.constructResolvingMessage(this.keys)); + } + function he(t, e) { + const n = []; + for (let a = 0, o = e.length; a < o; a++) { + const t = e[a]; + n.push(t && 0 != t.length ? t.map(Ot).join(" ") : "?"); + } + return Error( + "Cannot resolve all parameters for '" + + Ot(t) + + "'(" + + n.join(", ") + + "). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '" + + Ot(t) + + "' is decorated with Injectable." + ); + } + class ge { + constructor(t, e) { + if (((this.token = t), (this.id = e), !t)) + throw new Error("Token must be defined!"); + this.displayName = Ot(this.token); + } + static get(t) { + return fe.get(vt(t)); + } + static get numberOfKeys() { + return fe.numberOfKeys; + } + } + class pe { + constructor() { + this._allKeys = new Map(); + } + get(t) { + if (t instanceof ge) return t; + if (this._allKeys.has(t)) return this._allKeys.get(t); + const e = new ge(t, ge.numberOfKeys); + return this._allKeys.set(t, e), e; + } + get numberOfKeys() { + return this._allKeys.size; + } + } + const fe = new pe(); + class be { + constructor(t) { + this.reflectionCapabilities = t; + } + updateCapabilities(t) { + this.reflectionCapabilities = t; + } + factory(t) { + return this.reflectionCapabilities.factory(t); + } + parameters(t) { + return this.reflectionCapabilities.parameters(t); + } + annotations(t) { + return this.reflectionCapabilities.annotations(t); + } + propMetadata(t) { + return this.reflectionCapabilities.propMetadata(t); + } + hasLifecycleHook(t, e) { + return this.reflectionCapabilities.hasLifecycleHook(t, e); + } + getter(t) { + return this.reflectionCapabilities.getter(t); + } + setter(t) { + return this.reflectionCapabilities.setter(t); + } + method(t) { + return this.reflectionCapabilities.method(t); + } + importUri(t) { + return this.reflectionCapabilities.importUri(t); + } + resourceUri(t) { + return this.reflectionCapabilities.resourceUri(t); + } + resolveIdentifier(t, e, n, a) { + return this.reflectionCapabilities.resolveIdentifier(t, e, n, a); + } + resolveEnum(t, e) { + return this.reflectionCapabilities.resolveEnum(t, e); + } + } + const _e = new be(new Ft()); + class Ce { + constructor(t, e, n) { + (this.key = t), (this.optional = e), (this.visibility = n); + } + static fromKey(t) { + return new Ce(t, !1, null); + } + } + const Pe = []; + class Oe { + constructor(t, e, n) { + (this.key = t), + (this.resolvedFactories = e), + (this.multiProvider = n), + (this.resolvedFactory = this.resolvedFactories[0]); + } + } + class Me { + constructor(t, e) { + (this.factory = t), (this.dependencies = e); + } + } + function ye(t) { + let e, n; + if (t.useClass) { + const a = vt(t.useClass); + (e = _e.factory(a)), (n = xe(a)); + } else + t.useExisting + ? ((e = t => t), (n = [Ce.fromKey(ge.get(t.useExisting))])) + : t.useFactory + ? ((e = t.useFactory), + (n = (function(t, e) { + if (e) { + const n = e.map(t => [t]); + return e.map(e => ke(t, e, n)); + } + return xe(t); + })(t.useFactory, t.deps))) + : ((e = () => t.useValue), (n = Pe)); + return new Me(e, n); + } + function ve(t) { + return new Oe(ge.get(t.provide), [ye(t)], t.multi || !1); + } + function xe(t) { + const e = _e.parameters(t); + if (!e) return []; + if (e.some(t => null == t)) throw he(t, e); + return e.map(n => ke(t, n, e)); + } + function ke(t, e, n) { + let a = null, + o = !1; + if (!Array.isArray(e)) + return we(e instanceof ut ? e.token : e, o, null); + let i = null; + for (let r = 0; r < e.length; ++r) { + const t = e[r]; + t instanceof Tt + ? (a = t) + : t instanceof ut + ? (a = t.token) + : t instanceof mt + ? (o = !0) + : t instanceof ht || t instanceof gt + ? (i = t) + : t instanceof Ht && (a = t); + } + if (null != (a = vt(a))) return we(a, o, i); + throw he(t, n); + } + function we(t, e, n) { + return new Ce(ge.get(t), e, n); + } + const Se = new Object(); + class Ee { + static resolve(t) { + return (function(t) { + const e = (function(t, e) { + for (let n = 0; n < t.length; n++) { + const a = t[n], + o = e.get(a.key.id); + if (o) { + if (a.multiProvider !== o.multiProvider) + throw Error( + `Cannot mix multi providers and regular providers, got: ${o} ${a}` + ); + if (a.multiProvider) + for (let t = 0; t < a.resolvedFactories.length; t++) + o.resolvedFactories.push(a.resolvedFactories[t]); + else e.set(a.key.id, a); + } else { + let t; + (t = a.multiProvider + ? new Oe( + a.key, + a.resolvedFactories.slice(), + a.multiProvider + ) + : a), + e.set(a.key.id, t); + } + } + return e; + })( + (function t(e, n) { + return ( + e.forEach(e => { + if (e instanceof Tt) n.push({ provide: e, useClass: e }); + else if (e && "object" == typeof e && void 0 !== e.provide) + n.push(e); + else { + if (!(e instanceof Array)) + throw (function(t) { + return Error( + `Invalid provider - only instances of Provider and Type are allowed, got: ${e}` + ); + })(); + t(e, n); + } + }), + n + ); + })(t, []).map(ve), + new Map() + ); + return Array.from(e.values()); + })(t); + } + static resolveAndCreate(t, e) { + const n = Ee.resolve(t); + return Ee.fromResolvedProviders(n, e); + } + static fromResolvedProviders(t, e) { + return new Ie(t, e); + } + } + const Ie = (() => { + class t { + constructor(t, e) { + (this._constructionCounter = 0), + (this._providers = t), + (this.parent = e || null); + const n = t.length; + (this.keyIds = new Array(n)), (this.objs = new Array(n)); + for (let a = 0; a < n; a++) + (this.keyIds[a] = t[a].key.id), (this.objs[a] = Se); + } + get(t, e = qt) { + return this._getByKey(ge.get(t), null, e); + } + resolveAndCreateChild(t) { + const e = Ee.resolve(t); + return this.createChildFromResolved(e); + } + createChildFromResolved(e) { + const n = new t(e); + return (n.parent = this), n; + } + resolveAndInstantiate(t) { + return this.instantiateResolved(Ee.resolve([t])[0]); + } + instantiateResolved(t) { + return this._instantiateProvider(t); + } + getProviderAtIndex(t) { + if (t < 0 || t >= this._providers.length) + throw (function(t) { + return Error(`Index ${t} is out-of-bounds.`); + })(t); + return this._providers[t]; + } + _new(t) { + if (this._constructionCounter++ > this._getMaxNumberOfObjects()) + throw ue(this, t.key, function(t) { + return `Cannot instantiate cyclic dependency!${de(t)}`; + }); + return this._instantiateProvider(t); + } + _getMaxNumberOfObjects() { + return this.objs.length; + } + _instantiateProvider(t) { + if (t.multiProvider) { + const e = new Array(t.resolvedFactories.length); + for (let n = 0; n < t.resolvedFactories.length; ++n) + e[n] = this._instantiate(t, t.resolvedFactories[n]); + return e; + } + return this._instantiate(t, t.resolvedFactories[0]); + } + _instantiate(t, e) { + const n = e.factory; + let a, o; + try { + a = e.dependencies.map(t => this._getByReflectiveDependency(t)); + } catch (r) { + throw (r.addKey && r.addKey(this, t.key), r); + } + try { + o = n(...a); + } catch (r) { + throw ue( + this, + t.key, + function(t) { + const e = Ot(t[0].token); + return `${ + i.message + }: Error during instantiation of ${e}!${de(t)}.`; + }, + (i = r) + ); + } + var i; + return o; + } + _getByReflectiveDependency(t) { + return this._getByKey( + t.key, + t.visibility, + t.optional ? null : qt + ); + } + _getByKey(e, n, a) { + return e === t.INJECTOR_KEY + ? this + : n instanceof ht + ? this._getByKeySelf(e, a) + : this._getByKeyDefault(e, a, n); + } + _getObjByKeyId(t) { + for (let e = 0; e < this.keyIds.length; e++) + if (this.keyIds[e] === t) + return ( + this.objs[e] === Se && + (this.objs[e] = this._new(this._providers[e])), + this.objs[e] + ); + return Se; + } + _throwOrNull(t, e) { + if (e !== qt) return e; + throw (function(t, e) { + return ue(t, e, function(t) { + return `No provider for ${Ot(t[0].token)}!${de(t)}`; + }); + })(this, t); + } + _getByKeySelf(t, e) { + const n = this._getObjByKeyId(t.id); + return n !== Se ? n : this._throwOrNull(t, e); + } + _getByKeyDefault(e, n, a) { + let o; + for (o = a instanceof gt ? this.parent : this; o instanceof t; ) { + const t = o, + n = t._getObjByKeyId(e.id); + if (n !== Se) return n; + o = t.parent; + } + return null !== o ? o.get(e.token, n) : this._throwOrNull(e, n); + } + get displayName() { + return `ReflectiveInjector(providers: [${(function(t, e) { + const n = new Array(t._providers.length); + for (let a = 0; a < t._providers.length; ++a) + n[a] = e(t.getProviderAtIndex(a)); + return n; + })(this, t => ' "' + t.key.displayName + '" ').join(", ")}])`; + } + toString() { + return this.displayName; + } + } + return (t.INJECTOR_KEY = ge.get(Wt)), t; + })(), + Ae = new Ht("AnalyzeForEntryComponents"), + Te = (function() { + var t = { Emulated: 0, Native: 1, None: 2, ShadowDom: 3 }; + return ( + (t[t.Emulated] = "Emulated"), + (t[t.Native] = "Native"), + (t[t.None] = "None"), + (t[t.ShadowDom] = "ShadowDom"), + t + ); + })(), + Re = (() => + ( + ("undefined" != typeof requestAnimationFrame && + requestAnimationFrame) || + setTimeout + ).bind(kt))(); + function De(t) { + return t[le]; + } + function Ne(t) { + return t[se]; + } + function ze(t, ...e) { + t.error(...e); + } + class Le { + constructor() { + this._console = console; + } + handleError(t) { + const e = this._findOriginalError(t), + n = this._findContext(t), + a = (function(t) { + return t[ce] || ze; + })(t); + a(this._console, "ERROR", t), + e && a(this._console, "ORIGINAL ERROR", e), + n && a(this._console, "ERROR CONTEXT", n); + } + _findContext(t) { + return t ? (De(t) ? De(t) : this._findContext(Ne(t))) : null; + } + _findOriginalError(t) { + let e = Ne(t); + for (; e && Ne(e); ) e = Ne(e); + return e; + } + } + let Fe = !0, + Be = !1; + function Ve() { + return (Be = !0), Fe; + } + class He { + constructor(t) { + if ( + ((this.defaultDoc = t), + (this.inertDocument = this.defaultDoc.implementation.createHTMLDocument( + "sanitization-inert" + )), + (this.inertBodyElement = this.inertDocument.body), + null == this.inertBodyElement) + ) { + const t = this.inertDocument.createElement("html"); + this.inertDocument.appendChild(t), + (this.inertBodyElement = this.inertDocument.createElement( + "body" + )), + t.appendChild(this.inertBodyElement); + } + (this.inertBodyElement.innerHTML = + ''), + !this.inertBodyElement.querySelector || + this.inertBodyElement.querySelector("svg") + ? ((this.inertBodyElement.innerHTML = + '

'), + (this.getInertBodyElement = + this.inertBodyElement.querySelector && + this.inertBodyElement.querySelector("svg img") && + (function() { + try { + return !!window.DOMParser; + } catch (t) { + return !1; + } + })() + ? this.getInertBodyElement_DOMParser + : this.getInertBodyElement_InertDocument)) + : (this.getInertBodyElement = this.getInertBodyElement_XHR); + } + getInertBodyElement_XHR(t) { + t = "" + t + ""; + try { + t = encodeURI(t); + } catch (a) { + return null; + } + const e = new XMLHttpRequest(); + (e.responseType = "document"), + e.open("GET", "data:text/html;charset=utf-8," + t, !1), + e.send(void 0); + const n = e.response.body; + return n.removeChild(n.firstChild), n; + } + getInertBodyElement_DOMParser(t) { + t = "" + t + ""; + try { + const n = new window.DOMParser().parseFromString(t, "text/html") + .body; + return n.removeChild(n.firstChild), n; + } catch (e) { + return null; + } + } + getInertBodyElement_InertDocument(t) { + const e = this.inertDocument.createElement("template"); + return "content" in e + ? ((e.innerHTML = t), e) + : ((this.inertBodyElement.innerHTML = t), + this.defaultDoc.documentMode && + this.stripCustomNsAttrs(this.inertBodyElement), + this.inertBodyElement); + } + stripCustomNsAttrs(t) { + const e = t.attributes; + for (let a = e.length - 1; 0 < a; a--) { + const n = e.item(a).name; + ("xmlns:ns1" !== n && 0 !== n.indexOf("ns1:")) || + t.removeAttribute(n); + } + let n = t.firstChild; + for (; n; ) + n.nodeType === Node.ELEMENT_NODE && this.stripCustomNsAttrs(n), + (n = n.nextSibling); + } + } + const je = /^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi, + Ue = /^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i; + function qe(t) { + return (t = String(t)).match(je) || t.match(Ue) + ? t + : (Ve() && + console.warn( + `WARNING: sanitizing unsafe URL value ${t} (see http://g.co/ng/security#xss)` + ), + "unsafe:" + t); + } + function Ke(t) { + const e = {}; + for (const n of t.split(",")) e[n] = !0; + return e; + } + function Ye(...t) { + const e = {}; + for (const n of t) + for (const t in n) n.hasOwnProperty(t) && (e[t] = !0); + return e; + } + const We = Ke("area,br,col,hr,img,wbr"), + Ge = Ke("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"), + $e = Ke("rp,rt"), + Ze = Ye($e, Ge), + Qe = Ye( + We, + Ye( + Ge, + Ke( + "address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul" + ) + ), + Ye( + $e, + Ke( + "a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video" + ) + ), + Ze + ), + Xe = Ke("background,cite,href,itemtype,longdesc,poster,src,xlink:href"), + Je = Ke("srcset"), + tn = Ye( + Xe, + Je, + Ke( + "abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width" + ), + Ke( + "aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext" + ) + ), + en = Ke("script,style,template"); + class nn { + constructor() { + (this.sanitizedSomething = !1), (this.buf = []); + } + sanitizeChildren(t) { + let e = t.firstChild, + n = !0; + for (; e; ) + if ( + (e.nodeType === Node.ELEMENT_NODE + ? (n = this.startElement(e)) + : e.nodeType === Node.TEXT_NODE + ? this.chars(e.nodeValue) + : (this.sanitizedSomething = !0), + n && e.firstChild) + ) + e = e.firstChild; + else + for (; e; ) { + e.nodeType === Node.ELEMENT_NODE && this.endElement(e); + let t = this.checkClobberedElement(e, e.nextSibling); + if (t) { + e = t; + break; + } + e = this.checkClobberedElement(e, e.parentNode); + } + return this.buf.join(""); + } + startElement(t) { + const e = t.nodeName.toLowerCase(); + if (!Qe.hasOwnProperty(e)) + return (this.sanitizedSomething = !0), !en.hasOwnProperty(e); + this.buf.push("<"), this.buf.push(e); + const n = t.attributes; + for (let o = 0; o < n.length; o++) { + const t = n.item(o), + e = t.name, + i = e.toLowerCase(); + if (!tn.hasOwnProperty(i)) { + this.sanitizedSomething = !0; + continue; + } + let r = t.value; + Xe[i] && (r = qe(r)), + Je[i] && + ((a = r), + (r = (a = String(a)) + .split(",") + .map(t => qe(t.trim())) + .join(", "))), + this.buf.push(" ", e, '="', rn(r), '"'); + } + var a; + return this.buf.push(">"), !0; + } + endElement(t) { + const e = t.nodeName.toLowerCase(); + Qe.hasOwnProperty(e) && + !We.hasOwnProperty(e) && + (this.buf.push("")); + } + chars(t) { + this.buf.push(rn(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 an = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g, + on = /([^\#-~ |!])/g; + function rn(t) { + return t + .replace(/&/g, "&") + .replace(an, function(t) { + return ( + "&#" + + (1024 * (t.charCodeAt(0) - 55296) + + (t.charCodeAt(1) - 56320) + + 65536) + + ";" + ); + }) + .replace(on, function(t) { + return "&#" + t.charCodeAt(0) + ";"; + }) + .replace(//g, ">"); + } + let ln; + function sn(t) { + return "content" in t && + (function(t) { + return ( + t.nodeType === Node.ELEMENT_NODE && "TEMPLATE" === t.nodeName + ); + })(t) + ? t.content + : null; + } + const cn = (function() { + var t = { + NONE: 0, + HTML: 1, + STYLE: 2, + SCRIPT: 3, + URL: 4, + RESOURCE_URL: 5 + }; + return ( + (t[t.NONE] = "NONE"), + (t[t.HTML] = "HTML"), + (t[t.STYLE] = "STYLE"), + (t[t.SCRIPT] = "SCRIPT"), + (t[t.URL] = "URL"), + (t[t.RESOURCE_URL] = "RESOURCE_URL"), + t + ); + })(); + class dn {} + const un = new RegExp( + "^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$", + "g" + ), + mn = /^url\(([^)]+)\)$/, + hn = /([A-Z])/g; + function gn(t) { + try { + return null != t ? t.toString().slice(0, 30) : t; + } catch (e) { + return "[ERROR] Exception while trying to serialize the value"; + } + } + function pn(t) { + return !!t && "function" == typeof t.then; + } + function fn(t) { + return !!t && "function" == typeof t.subscribe; + } + let bn = null; + function _n() { + if (!bn) { + const t = kt.Symbol; + if (t && t.iterator) bn = t.iterator; + else { + const t = Object.getOwnPropertyNames(Map.prototype); + for (let e = 0; e < t.length; ++e) { + const n = t[e]; + "entries" !== n && + "size" !== n && + Map.prototype[n] === Map.prototype.entries && + (bn = n); + } + } + } + return bn; + } + function Cn(t, e) { + return ( + t === e || + ("number" == typeof t && "number" == typeof e && isNaN(t) && isNaN(e)) + ); + } + function Pn(t, e) { + const n = Mn(t), + a = Mn(e); + if (n && a) + return (function(t, e, n) { + const a = t[_n()](), + o = e[_n()](); + for (;;) { + const t = a.next(), + e = o.next(); + if (t.done && e.done) return !0; + if (t.done || e.done) return !1; + if (!n(t.value, e.value)) return !1; + } + })(t, e, Pn); + { + const o = t && ("object" == typeof t || "function" == typeof t), + i = e && ("object" == typeof e || "function" == typeof e); + return !(n || !o || a || !i) || Cn(t, e); + } + } + class On { + constructor(t) { + this.wrapped = t; + } + static wrap(t) { + return new On(t); + } + static unwrap(t) { + return On.isWrapped(t) ? t.wrapped : t; + } + static isWrapped(t) { + return t instanceof On; + } + } + function Mn(t) { + return ( + !!yn(t) && (Array.isArray(t) || (!(t instanceof Map) && _n() in t)) + ); + } + function yn(t) { + return null !== t && ("function" == typeof t || "object" == typeof t); + } + class vn { + constructor(t, e, n) { + (this.previousValue = t), + (this.currentValue = e), + (this.firstChange = n); + } + isFirstChange() { + return this.firstChange; + } + } + const xn = new Ht( + "The presence of this token marks an injector as being the root injector." + ); + class kn {} + class wn {} + function Sn(t) { + const e = Error( + `No component factory found for ${Ot( + t + )}. Did you add it to @NgModule.entryComponents?` + ); + return (e[En] = t), e; + } + const En = "ngComponent"; + class In { + resolveComponentFactory(t) { + throw Sn(t); + } + } + const An = (() => { + class t {} + return (t.NULL = new In()), t; + })(); + class Tn { + constructor(t, e, n) { + (this._parent = e), + (this._ngModule = n), + (this._factories = new Map()); + for (let a = 0; a < t.length; a++) { + const e = t[a]; + this._factories.set(e.componentType, e); + } + } + resolveComponentFactory(t) { + let e = this._factories.get(t); + if ( + (!e && + this._parent && + (e = this._parent.resolveComponentFactory(t)), + !e) + ) + throw Sn(t); + return new Rn(e, this._ngModule); + } + } + class Rn extends wn { + constructor(t, e) { + super(), + (this.factory = t), + (this.ngModule = e), + (this.selector = t.selector), + (this.componentType = t.componentType), + (this.ngContentSelectors = t.ngContentSelectors), + (this.inputs = t.inputs), + (this.outputs = t.outputs); + } + create(t, e, n, a) { + return this.factory.create(t, e, n, a || this.ngModule); + } + } + class Dn {} + class Nn {} + function zn(...t) {} + const Ln = (() => { + class t { + constructor(t) { + this.nativeElement = t; + } + } + return (t.__NG_ELEMENT_ID__ = () => Fn(t)), t; + })(), + Fn = zn; + class Bn {} + class Vn {} + const Hn = (function() { + var t = { Important: 1, DashCase: 2 }; + return ( + (t[t.Important] = "Important"), (t[t.DashCase] = "DashCase"), t + ); + })(), + jn = (() => { + class t {} + return (t.__NG_ELEMENT_ID__ = () => Un()), t; + })(), + Un = zn; + class qn { + constructor(t) { + (this.full = t), + (this.major = t.split(".")[0]), + (this.minor = t.split(".")[1]), + (this.patch = t + .split(".") + .slice(2) + .join(".")); + } + } + const Kn = new qn("8.0.1"); + class Yn { + constructor() {} + supports(t) { + return Mn(t); + } + create(t) { + return new Gn(t); + } + } + const Wn = (t, e) => e; + class Gn { + 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 || Wn); + } + forEachItem(t) { + let e; + for (e = this._itHead; null !== e; e = e._next) t(e); + } + forEachOperation(t) { + let e = this._itHead, + n = this._removalsHead, + a = 0, + o = null; + for (; e || n; ) { + const i = !n || (e && e.currentIndex < Xn(n, a, o)) ? e : n, + r = Xn(i, a, o), + l = i.currentIndex; + if (i === n) a--, (n = n._nextRemoved); + else if (((e = e._next), null == i.previousIndex)) a++; + else { + o || (o = []); + const t = r - a, + e = l - a; + if (t != e) { + for (let n = 0; n < t; n++) { + const a = n < o.length ? o[n] : (o[n] = 0), + i = a + n; + e <= i && i < t && (o[n] = a + 1); + } + o[i.previousIndex] = e - t; + } + } + r !== l && t(i, r, l); + } + } + forEachPreviousItem(t) { + let e; + for (e = this._previousItHead; null !== e; e = e._nextPrevious) t(e); + } + forEachAddedItem(t) { + let e; + for (e = this._additionsHead; null !== e; e = e._nextAdded) t(e); + } + forEachMovedItem(t) { + let e; + for (e = this._movesHead; null !== e; e = e._nextMoved) t(e); + } + forEachRemovedItem(t) { + let e; + for (e = this._removalsHead; null !== e; e = e._nextRemoved) t(e); + } + forEachIdentityChange(t) { + let e; + for ( + e = this._identityChangesHead; + null !== e; + e = e._nextIdentityChange + ) + t(e); + } + diff(t) { + if ((null == t && (t = []), !Mn(t))) + throw new Error( + `Error trying to diff '${Ot( + t + )}'. Only arrays and iterables are allowed` + ); + return this.check(t) ? this : null; + } + onDestroy() {} + check(t) { + this._reset(); + let e, + n, + a, + o = this._itHead, + i = !1; + if (Array.isArray(t)) { + this.length = t.length; + for (let e = 0; e < this.length; e++) + (a = this._trackByFn(e, (n = t[e]))), + null !== o && Cn(o.trackById, a) + ? (i && (o = this._verifyReinsertion(o, n, a, e)), + Cn(o.item, n) || this._addIdentityChange(o, n)) + : ((o = this._mismatch(o, n, a, e)), (i = !0)), + (o = o._next); + } else + (e = 0), + (function(t, e) { + if (Array.isArray(t)) + for (let n = 0; n < t.length; n++) e(t[n]); + else { + const n = t[_n()](); + let a; + for (; !(a = n.next()).done; ) e(a.value); + } + })(t, t => { + (a = this._trackByFn(e, t)), + null !== o && Cn(o.trackById, a) + ? (i && (o = this._verifyReinsertion(o, t, a, e)), + Cn(o.item, t) || this._addIdentityChange(o, t)) + : ((o = this._mismatch(o, t, a, e)), (i = !0)), + (o = o._next), + e++; + }), + (this.length = e); + return this._truncate(o), (this.collection = t), this.isDirty; + } + get isDirty() { + return ( + null !== this._additionsHead || + null !== this._movesHead || + null !== this._removalsHead || + null !== this._identityChangesHead + ); + } + _reset() { + if (this.isDirty) { + let t, e; + for ( + t = this._previousItHead = this._itHead; + null !== t; + t = t._next + ) + t._nextPrevious = t._next; + for (t = this._additionsHead; null !== t; t = t._nextAdded) + t.previousIndex = t.currentIndex; + for ( + this._additionsHead = this._additionsTail = null, + t = this._movesHead; + null !== t; + t = e + ) + (t.previousIndex = t.currentIndex), (e = t._nextMoved); + (this._movesHead = this._movesTail = null), + (this._removalsHead = this._removalsTail = null), + (this._identityChangesHead = this._identityChangesTail = null); + } + } + _mismatch(t, e, n, a) { + let o; + return ( + null === t ? (o = this._itTail) : ((o = t._prev), this._remove(t)), + null !== + (t = + null === this._linkedRecords + ? null + : this._linkedRecords.get(n, a)) + ? (Cn(t.item, e) || this._addIdentityChange(t, e), + this._moveAfter(t, o, a)) + : null !== + (t = + null === this._unlinkedRecords + ? null + : this._unlinkedRecords.get(n, null)) + ? (Cn(t.item, e) || this._addIdentityChange(t, e), + this._reinsertAfter(t, o, a)) + : (t = this._addAfter(new $n(e, n), o, a)), + t + ); + } + _verifyReinsertion(t, e, n, a) { + let o = + null === this._unlinkedRecords + ? null + : this._unlinkedRecords.get(n, null); + return ( + null !== o + ? (t = this._reinsertAfter(o, t._prev, a)) + : t.currentIndex != a && + ((t.currentIndex = a), this._addToMoves(t, a)), + 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 a = t._prevRemoved, + o = t._nextRemoved; + return ( + null === a ? (this._removalsHead = o) : (a._nextRemoved = o), + null === o ? (this._removalsTail = a) : (o._prevRemoved = a), + 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 a = null === e ? this._itHead : e._next; + return ( + (t._next = a), + (t._prev = e), + null === a ? (this._itTail = t) : (a._prev = t), + null === e ? (this._itHead = t) : (e._next = t), + null === this._linkedRecords && (this._linkedRecords = new Qn()), + 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 + ? t + : ((this._movesTail = + null === this._movesTail + ? (this._movesHead = t) + : (this._movesTail._nextMoved = t)), + t); + } + _addToRemovals(t) { + return ( + null === this._unlinkedRecords && + (this._unlinkedRecords = new Qn()), + 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 $n { + 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 Zn { + 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) && Cn(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 Qn { + constructor() { + this.map = new Map(); + } + put(t) { + const e = t.trackById; + let n = this.map.get(e); + n || ((n = new Zn()), 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 Xn(t, e, n) { + const a = t.previousIndex; + if (null === a) return a; + let o = 0; + return n && a < n.length && (o = n[a]), a + e + o; + } + class Jn { + constructor() {} + supports(t) { + return t instanceof Map || yn(t); + } + create() { + return new ta(); + } + } + class ta { + constructor() { + (this._records = new Map()), + (this._mapHead = null), + (this._appendAfter = null), + (this._previousMapHead = null), + (this._changesHead = null), + (this._changesTail = null), + (this._additionsHead = null), + (this._additionsTail = null), + (this._removalsHead = null), + (this._removalsTail = null); + } + get isDirty() { + return ( + null !== this._additionsHead || + null !== this._changesHead || + null !== this._removalsHead + ); + } + forEachItem(t) { + let e; + for (e = this._mapHead; null !== e; e = e._next) t(e); + } + forEachPreviousItem(t) { + let e; + for (e = this._previousMapHead; null !== e; e = e._nextPrevious) t(e); + } + forEachChangedItem(t) { + let e; + for (e = this._changesHead; null !== e; e = e._nextChanged) t(e); + } + forEachAddedItem(t) { + let e; + for (e = this._additionsHead; null !== e; e = e._nextAdded) t(e); + } + forEachRemovedItem(t) { + let e; + for (e = this._removalsHead; null !== e; e = e._nextRemoved) t(e); + } + diff(t) { + if (t) { + if (!(t instanceof Map || yn(t))) + throw new Error( + `Error trying to diff '${Ot( + t + )}'. Only maps and objects are allowed` + ); + } else t = new Map(); + return this.check(t) ? this : null; + } + onDestroy() {} + check(t) { + this._reset(); + let e = this._mapHead; + if ( + ((this._appendAfter = null), + this._forEach(t, (t, n) => { + if (e && e.key === n) + this._maybeAddToChanges(e, t), + (this._appendAfter = e), + (e = e._next); + else { + const a = this._getOrCreateRecordForKey(n, t); + e = this._insertBeforeOrAppend(e, a); + } + }), + 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 a = n._prev, + o = n._next; + return ( + a && (a._next = o), + o && (o._prev = a), + (n._next = null), + (n._prev = null), + n + ); + } + const n = new ea(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) { + Cn(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 ea { + 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); + } + } + const na = (() => { + class t { + constructor(t) { + this.factories = t; + } + static create(e, n) { + if (null != n) { + const t = n.factories.slice(); + e = e.concat(t); + } + return new t(e); + } + static extend(e) { + return { + provide: t, + useFactory: n => { + if (!n) + throw new Error( + "Cannot extend IterableDiffers without a parent injector" + ); + return t.create(e, n); + }, + deps: [[t, new gt(), new mt()]] + }; + } + find(t) { + const e = this.factories.find(e => e.supports(t)); + if (null != e) return e; + throw new Error( + `Cannot find a differ supporting object '${t}' of type '${((n = t), + n.name || typeof n)}'` + ); + var n; + } + } + return ( + (t.ngInjectableDef = bt({ + providedIn: "root", + factory: () => new t([new Yn()]) + })), + t + ); + })(), + aa = (() => { + class t { + constructor(t) { + this.factories = t; + } + static create(e, n) { + if (n) { + const t = n.factories.slice(); + e = e.concat(t); + } + return new t(e); + } + static extend(e) { + return { + provide: t, + useFactory: n => { + if (!n) + throw new Error( + "Cannot extend KeyValueDiffers without a parent injector" + ); + return t.create(e, n); + }, + deps: [[t, new gt(), new mt()]] + }; + } + 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.ngInjectableDef = bt({ + providedIn: "root", + factory: () => new t([new Jn()]) + })), + t + ); + })(), + oa = (() => { + class t {} + return (t.__NG_ELEMENT_ID__ = () => ia()), t; + })(), + ia = (...t) => {}, + ra = [new Jn()], + la = new na([new Yn()]), + sa = new aa(ra), + ca = (() => { + class t {} + return (t.__NG_ELEMENT_ID__ = () => da(t, Ln)), t; + })(), + da = zn, + ua = (() => { + class t {} + return (t.__NG_ELEMENT_ID__ = () => ma(t, Ln)), t; + })(), + ma = zn; + function ha(t, e, n, a) { + let o = `ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '${e}'. Current value: '${n}'.`; + return ( + a && + (o += + " It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"), + (function(t, e) { + const n = new Error(t); + return ga(n, e), n; + })(o, t) + ); + } + function ga(t, e) { + (t[le] = e), (t[ce] = e.logError.bind(e)); + } + function pa(t) { + return new Error( + `ViewDestroyedError: Attempt to use a destroyed view: ${t}` + ); + } + function fa(t, e, n) { + const a = t.state, + o = 1792 & a; + return o === e + ? ((t.state = (-1793 & a) | n), (t.initIndex = -1), !0) + : o === n; + } + function ba(t, e, n) { + return ( + (1792 & t.state) === e && + t.initIndex <= n && + ((t.initIndex = n + 1), !0) + ); + } + function _a(t, e) { + return t.nodes[e]; + } + function Ca(t, e) { + return t.nodes[e]; + } + function Pa(t, e) { + return t.nodes[e]; + } + function Oa(t, e) { + return t.nodes[e]; + } + function Ma(t, e) { + return t.nodes[e]; + } + const ya = { + setCurrentNode: void 0, + createRootView: void 0, + createEmbeddedView: void 0, + createComponentView: void 0, + createNgModuleRef: void 0, + overrideProvider: void 0, + overrideComponentView: void 0, + clearOverrides: void 0, + checkAndUpdateView: void 0, + checkNoChangesView: void 0, + destroyView: void 0, + resolveDep: void 0, + createDebugContext: void 0, + handleEvent: void 0, + updateDirectives: void 0, + updateRenderer: void 0, + dirtyParentQueries: void 0 + }, + va = () => {}, + xa = new Map(); + function ka(t) { + let e = xa.get(t); + return e || ((e = Ot(t) + "_" + xa.size), xa.set(t, e)), e; + } + function wa(t, e, n, a) { + if (On.isWrapped(a)) { + a = On.unwrap(a); + const o = t.def.nodes[e].bindingIndex + n, + i = On.unwrap(t.oldValues[o]); + t.oldValues[o] = new On(i); + } + return a; + } + const Sa = "$$undefined", + Ea = "$$empty"; + function Ia(t) { + return { + id: Sa, + styles: t.styles, + encapsulation: t.encapsulation, + data: t.data + }; + } + let Aa = 0; + function Ta(t, e, n, a) { + return !(!(2 & t.state) && Cn(t.oldValues[e.bindingIndex + n], a)); + } + function Ra(t, e, n, a) { + return !!Ta(t, e, n, a) && ((t.oldValues[e.bindingIndex + n] = a), !0); + } + function Da(t, e, n, a) { + const o = t.oldValues[e.bindingIndex + n]; + if (1 & t.state || !Pn(o, a)) { + const i = e.bindings[n].name; + throw ha( + ya.createDebugContext(t, e.nodeIndex), + `${i}: ${o}`, + `${i}: ${a}`, + 0 != (1 & t.state) + ); + } + } + function Na(t) { + let e = t; + for (; e; ) + 2 & e.def.flags && (e.state |= 8), + (e = e.viewContainerParent || e.parent); + } + function za(t, e) { + let n = t; + for (; n && n !== e; ) + (n.state |= 64), (n = n.viewContainerParent || n.parent); + } + function La(t, e, n, a) { + try { + return ( + Na(33554432 & t.def.nodes[e].flags ? Ca(t, e).componentView : t), + ya.handleEvent(t, e, n, a) + ); + } catch (o) { + t.root.errorHandler.handleError(o); + } + } + function Fa(t) { + return t.parent ? Ca(t.parent, t.parentNodeDef.nodeIndex) : null; + } + function Ba(t) { + return t.parent ? t.parentNodeDef.parent : null; + } + function Va(t, e) { + switch (201347067 & e.flags) { + case 1: + return Ca(t, e.nodeIndex).renderElement; + case 2: + return _a(t, e.nodeIndex).renderText; + } + } + function Ha(t) { + return !!t.parent && !!(32768 & t.parentNodeDef.flags); + } + function ja(t) { + return !(!t.parent || 32768 & t.parentNodeDef.flags); + } + function Ua(t) { + return 1 << t % 32; + } + function qa(t) { + const e = {}; + let n = 0; + const a = {}; + return ( + t && + t.forEach(([t, o]) => { + "number" == typeof t ? ((e[t] = o), (n |= Ua(t))) : (a[t] = o); + }), + { matchedQueries: e, references: a, matchedQueryIds: n } + ); + } + function Ka(t, e) { + return t.map(t => { + let n, a; + return ( + Array.isArray(t) ? ([a, n] = t) : ((a = 0), (n = t)), + n && + ("function" == typeof n || "object" == typeof n) && + e && + Object.defineProperty(n, jt, { value: e, configurable: !0 }), + { flags: a, token: n, tokenKey: ka(n) } + ); + }); + } + function Ya(t, e, n) { + let a = n.renderParent; + return a + ? 0 == (1 & a.flags) || + 0 == (33554432 & a.flags) || + (a.element.componentRendererType && + a.element.componentRendererType.encapsulation === Te.Native) + ? Ca(t, n.renderParent.nodeIndex).renderElement + : void 0 + : e; + } + const Wa = new WeakMap(); + function Ga(t) { + let e = Wa.get(t); + return e || (((e = t(() => va)).factory = t), Wa.set(t, e)), e; + } + function $a(t, e, n, a, o) { + 3 === e && (n = t.renderer.parentNode(Va(t, t.def.lastRenderRootNode))), + Za(t, e, 0, t.def.nodes.length - 1, n, a, o); + } + function Za(t, e, n, a, o, i, r) { + for (let l = n; l <= a; l++) { + const n = t.def.nodes[l]; + 11 & n.flags && Xa(t, n, e, o, i, r), (l += n.childCount); + } + } + function Qa(t, e, n, a, o, i) { + let r = t; + for (; r && !Ha(r); ) r = r.parent; + const l = r.parent, + s = Ba(r), + c = s.nodeIndex + s.childCount; + for (let d = s.nodeIndex + 1; d <= c; d++) { + const t = l.def.nodes[d]; + t.ngContentIndex === e && Xa(l, t, n, a, o, i), (d += t.childCount); + } + if (!l.parent) { + const r = t.root.projectableNodes[e]; + if (r) for (let e = 0; e < r.length; e++) Ja(t, r[e], n, a, o, i); + } + } + function Xa(t, e, n, a, o, i) { + if (8 & e.flags) Qa(t, e.ngContent.index, n, a, o, i); + else { + const r = Va(t, e); + if ( + (3 === n && 33554432 & e.flags && 48 & e.bindingFlags + ? (16 & e.bindingFlags && Ja(t, r, n, a, o, i), + 32 & e.bindingFlags && + Ja(Ca(t, e.nodeIndex).componentView, r, n, a, o, i)) + : Ja(t, r, n, a, o, i), + 16777216 & e.flags) + ) { + const r = Ca(t, e.nodeIndex).viewContainer._embeddedViews; + for (let t = 0; t < r.length; t++) $a(r[t], n, a, o, i); + } + 1 & e.flags && + !e.element.name && + Za(t, n, e.nodeIndex + 1, e.nodeIndex + e.childCount, a, o, i); + } + } + function Ja(t, e, n, a, o, i) { + const r = t.renderer; + switch (n) { + case 1: + r.appendChild(a, e); + break; + case 2: + r.insertBefore(a, e, o); + break; + case 3: + r.removeChild(a, e); + break; + case 0: + i.push(e); + } + } + const to = /^:([^:]+):(.+)$/; + function eo(t) { + if (":" === t[0]) { + const e = t.match(to); + return [e[1], e[2]]; + } + return ["", t]; + } + function no(t) { + let e = 0; + for (let n = 0; n < t.length; n++) e |= t[n].flags; + return e; + } + function ao(t, e, n, a, o, i, r, l, s, c, d, u, m, h, g, p, f, b, _, C) { + switch (t) { + case 1: + return e + oo(n) + a; + case 2: + return e + oo(n) + a + oo(o) + i; + case 3: + return e + oo(n) + a + oo(o) + i + oo(r) + l; + case 4: + return e + oo(n) + a + oo(o) + i + oo(r) + l + oo(s) + c; + case 5: + return ( + e + oo(n) + a + oo(o) + i + oo(r) + l + oo(s) + c + oo(d) + u + ); + case 6: + return ( + e + + oo(n) + + a + + oo(o) + + i + + oo(r) + + l + + oo(s) + + c + + oo(d) + + u + + oo(m) + + h + ); + case 7: + return ( + e + + oo(n) + + a + + oo(o) + + i + + oo(r) + + l + + oo(s) + + c + + oo(d) + + u + + oo(m) + + h + + oo(g) + + p + ); + case 8: + return ( + e + + oo(n) + + a + + oo(o) + + i + + oo(r) + + l + + oo(s) + + c + + oo(d) + + u + + oo(m) + + h + + oo(g) + + p + + oo(f) + + b + ); + case 9: + return ( + e + + oo(n) + + a + + oo(o) + + i + + oo(r) + + l + + oo(s) + + c + + oo(d) + + u + + oo(m) + + h + + oo(g) + + p + + oo(f) + + b + + oo(_) + + C + ); + default: + throw new Error("Does not support more than 9 expressions"); + } + } + function oo(t) { + return null != t ? t.toString() : ""; + } + const io = new Object(), + ro = ka(Wt), + lo = ka(Kt), + so = ka(Dn); + function co(t, e, n, a) { + return ( + (n = vt(n)), + { index: -1, deps: Ka(a, Ot(e)), flags: t, token: e, value: n } + ); + } + function uo(t, e, n = Wt.THROW_IF_NOT_FOUND) { + const a = Et(t); + try { + if (8 & e.flags) return e.token; + if ((2 & e.flags && (n = null), 1 & e.flags)) + return t._parent.get(e.token, n); + const r = e.tokenKey; + switch (r) { + case ro: + case lo: + case so: + return t; + } + const l = t._def.providersByKey[r]; + let s; + if (l) { + let e = t._providers[l.index]; + return ( + void 0 === e && (e = t._providers[l.index] = mo(t, l)), + e === io ? void 0 : e + ); + } + if ( + (s = Ct(e.token)) && + ((o = t), + null != (i = s).providedIn && + ((function(t, e) { + return t._def.modules.indexOf(i.providedIn) > -1; + })(o) || + ("root" === i.providedIn && o._def.isRoot))) + ) { + const n = t._providers.length; + return ( + (t._def.providers[n] = t._def.providersByKey[e.tokenKey] = { + flags: 5120, + value: s.factory, + deps: [], + index: n, + token: e.token + }), + (t._providers[n] = io), + (t._providers[n] = mo(t, t._def.providersByKey[e.tokenKey])) + ); + } + return 4 & e.flags ? n : t._parent.get(e.token, n); + } finally { + Et(a); + } + var o, i; + } + function mo(t, e) { + let n; + switch (201347067 & e.flags) { + case 512: + n = (function(t, e, n) { + const a = n.length; + switch (a) { + case 0: + return new e(); + case 1: + return new e(uo(t, n[0])); + case 2: + return new e(uo(t, n[0]), uo(t, n[1])); + case 3: + return new e(uo(t, n[0]), uo(t, n[1]), uo(t, n[2])); + default: + const o = new Array(a); + for (let e = 0; e < a; e++) o[e] = uo(t, n[e]); + return new e(...o); + } + })(t, e.value, e.deps); + break; + case 1024: + n = (function(t, e, n) { + const a = n.length; + switch (a) { + case 0: + return e(); + case 1: + return e(uo(t, n[0])); + case 2: + return e(uo(t, n[0]), uo(t, n[1])); + case 3: + return e(uo(t, n[0]), uo(t, n[1]), uo(t, n[2])); + default: + const o = Array(a); + for (let e = 0; e < a; e++) o[e] = uo(t, n[e]); + return e(...o); + } + })(t, e.value, e.deps); + break; + case 2048: + n = uo(t, e.deps[0]); + break; + case 256: + n = e.value; + } + return ( + n === io || + null === n || + "object" != typeof n || + 131072 & e.flags || + "function" != typeof n.ngOnDestroy || + (e.flags |= 131072), + void 0 === n ? io : n + ); + } + function ho(t, e) { + const n = t.viewContainer._embeddedViews; + if (((null == e || e >= n.length) && (e = n.length - 1), e < 0)) + return null; + const a = n[e]; + return ( + (a.viewContainerParent = null), + bo(n, e), + ya.dirtyParentQueries(a), + po(a), + a + ); + } + function go(t, e, n) { + const a = e ? Va(e, e.def.lastRenderRootNode) : t.renderElement, + o = n.renderer.parentNode(a), + i = n.renderer.nextSibling(a); + $a(n, 2, o, i, void 0); + } + function po(t) { + $a(t, 3, null, null, void 0); + } + function fo(t, e, n) { + e >= t.length ? t.push(n) : t.splice(e, 0, n); + } + function bo(t, e) { + e >= t.length - 1 ? t.pop() : t.splice(e, 1); + } + const _o = new Object(); + function Co(t, e, n, a, o, i) { + return new Po(t, e, n, a, o, i); + } + class Po extends wn { + constructor(t, e, n, a, o, i) { + super(), + (this.selector = t), + (this.componentType = e), + (this._inputs = a), + (this._outputs = o), + (this.ngContentSelectors = i), + (this.viewDefFactory = n); + } + get inputs() { + const t = [], + e = this._inputs; + for (let n in e) t.push({ propName: n, templateName: e[n] }); + return t; + } + get outputs() { + const t = []; + for (let e in this._outputs) + t.push({ propName: e, templateName: this._outputs[e] }); + return t; + } + create(t, e, n, a) { + if (!a) throw new Error("ngModule should be provided"); + const o = Ga(this.viewDefFactory), + i = o.nodes[0].element.componentProvider.nodeIndex, + r = ya.createRootView(t, e || [], n, o, a, _o), + l = Pa(r, i).instance; + return ( + n && + r.renderer.setAttribute( + Ca(r, 0).renderElement, + "ng-version", + Kn.full + ), + new Oo(r, new xo(r), l) + ); + } + } + class Oo extends kn { + constructor(t, e, n) { + super(), + (this._view = t), + (this._viewRef = e), + (this._component = n), + (this._elDef = this._view.def.nodes[0]), + (this.hostView = e), + (this.changeDetectorRef = e), + (this.instance = n); + } + get location() { + return new Ln(Ca(this._view, this._elDef.nodeIndex).renderElement); + } + get injector() { + return new Eo(this._view, this._elDef); + } + get componentType() { + return this._component.constructor; + } + destroy() { + this._viewRef.destroy(); + } + onDestroy(t) { + this._viewRef.onDestroy(t); + } + } + function Mo(t, e, n) { + return new yo(t, e, n); + } + class yo { + constructor(t, e, n) { + (this._view = t), + (this._elDef = e), + (this._data = n), + (this._embeddedViews = []); + } + get element() { + return new Ln(this._data.renderElement); + } + get injector() { + return new Eo(this._view, this._elDef); + } + get parentInjector() { + let t = this._view, + e = this._elDef.parent; + for (; !e && t; ) (e = Ba(t)), (t = t.parent); + return t ? new Eo(t, e) : new Eo(this._view, null); + } + clear() { + for (let t = this._embeddedViews.length - 1; t >= 0; t--) { + const e = ho(this._data, t); + ya.destroyView(e); + } + } + get(t) { + const e = this._embeddedViews[t]; + if (e) { + const t = new xo(e); + return t.attachToViewContainerRef(this), t; + } + return null; + } + get length() { + return this._embeddedViews.length; + } + createEmbeddedView(t, e, n) { + const a = t.createEmbeddedView(e || {}); + return this.insert(a, n), a; + } + createComponent(t, e, n, a, o) { + const i = n || this.parentInjector; + o || t instanceof Rn || (o = i.get(Dn)); + const r = t.create(i, a, void 0, o); + return this.insert(r.hostView, e), r; + } + insert(t, e) { + if (t.destroyed) + throw new Error( + "Cannot insert a destroyed View in a ViewContainer!" + ); + const n = t; + return ( + (function(t, e, n, a) { + let o = e.viewContainer._embeddedViews; + null == n && (n = o.length), + (a.viewContainerParent = t), + fo(o, n, a), + (function(t, e) { + const n = Fa(e); + if (!n || n === t || 16 & e.state) return; + e.state |= 16; + let a = n.template._projectedViews; + a || (a = n.template._projectedViews = []), + a.push(e), + (function(t, n) { + if (4 & n.flags) return; + (e.parent.def.nodeFlags |= 4), (n.flags |= 4); + let a = n.parent; + for (; a; ) (a.childFlags |= 4), (a = a.parent); + })(0, e.parentNodeDef); + })(e, a), + ya.dirtyParentQueries(a), + go(e, n > 0 ? o[n - 1] : null, a); + })(this._view, this._data, e, n._view), + n.attachToViewContainerRef(this), + t + ); + } + move(t, e) { + if (t.destroyed) + throw new Error("Cannot move a destroyed View in a ViewContainer!"); + const n = this._embeddedViews.indexOf(t._view); + return ( + (function(t, e, a) { + const o = t.viewContainer._embeddedViews, + i = o[n]; + bo(o, n), + null == a && (a = o.length), + fo(o, a, i), + ya.dirtyParentQueries(i), + po(i), + go(t, a > 0 ? o[a - 1] : null, i); + })(this._data, 0, e), + t + ); + } + indexOf(t) { + return this._embeddedViews.indexOf(t._view); + } + remove(t) { + const e = ho(this._data, t); + e && ya.destroyView(e); + } + detach(t) { + const e = ho(this._data, t); + return e ? new xo(e) : null; + } + } + function vo(t) { + return new xo(t); + } + class xo { + constructor(t) { + (this._view = t), + (this._viewContainerRef = null), + (this._appRef = null); + } + get rootNodes() { + return (function(t) { + const e = []; + return $a(t, 0, void 0, void 0, e), e; + })(this._view); + } + get context() { + return this._view.context; + } + get destroyed() { + return 0 != (128 & this._view.state); + } + markForCheck() { + Na(this._view); + } + detach() { + this._view.state &= -5; + } + detectChanges() { + const t = this._view.root.rendererFactory; + t.begin && t.begin(); + try { + ya.checkAndUpdateView(this._view); + } finally { + t.end && t.end(); + } + } + checkNoChanges() { + ya.checkNoChangesView(this._view); + } + reattach() { + this._view.state |= 4; + } + onDestroy(t) { + this._view.disposables || (this._view.disposables = []), + this._view.disposables.push(t); + } + destroy() { + this._appRef + ? this._appRef.detachView(this) + : this._viewContainerRef && + this._viewContainerRef.detach( + this._viewContainerRef.indexOf(this) + ), + ya.destroyView(this._view); + } + detachFromAppRef() { + (this._appRef = null), + po(this._view), + ya.dirtyParentQueries(this._view); + } + attachToAppRef(t) { + if (this._viewContainerRef) + throw new Error( + "This view is already attached to a ViewContainer!" + ); + this._appRef = t; + } + attachToViewContainerRef(t) { + if (this._appRef) + throw new Error( + "This view is already attached directly to the ApplicationRef!" + ); + this._viewContainerRef = t; + } + } + function ko(t, e) { + return new wo(t, e); + } + class wo extends ca { + constructor(t, e) { + super(), (this._parentView = t), (this._def = e); + } + createEmbeddedView(t) { + return new xo( + ya.createEmbeddedView( + this._parentView, + this._def, + this._def.element.template, + t + ) + ); + } + get elementRef() { + return new Ln( + Ca(this._parentView, this._def.nodeIndex).renderElement + ); + } + } + function So(t, e) { + return new Eo(t, e); + } + class Eo { + constructor(t, e) { + (this.view = t), (this.elDef = e); + } + get(t, e = Wt.THROW_IF_NOT_FOUND) { + return ya.resolveDep( + this.view, + this.elDef, + !!this.elDef && 0 != (33554432 & this.elDef.flags), + { flags: 0, token: t, tokenKey: ka(t) }, + e + ); + } + } + function Io(t, e) { + const n = t.def.nodes[e]; + if (1 & n.flags) { + const e = Ca(t, n.nodeIndex); + return n.element.template ? e.template : e.renderElement; + } + if (2 & n.flags) return _a(t, n.nodeIndex).renderText; + if (20240 & n.flags) return Pa(t, n.nodeIndex).instance; + throw new Error(`Illegal state: read nodeValue for node index ${e}`); + } + function Ao(t) { + return new To(t.renderer); + } + class To { + constructor(t) { + this.delegate = t; + } + selectRootElement(t) { + return this.delegate.selectRootElement(t); + } + createElement(t, e) { + const [n, a] = eo(e), + o = this.delegate.createElement(a, n); + return t && this.delegate.appendChild(t, o), o; + } + createViewRoot(t) { + return t; + } + createTemplateAnchor(t) { + const e = this.delegate.createComment(""); + return t && this.delegate.appendChild(t, e), e; + } + createText(t, e) { + const n = this.delegate.createText(e); + return t && this.delegate.appendChild(t, n), n; + } + projectNodes(t, e) { + for (let n = 0; n < e.length; n++) this.delegate.appendChild(t, e[n]); + } + attachViewAfter(t, e) { + const n = this.delegate.parentNode(t), + a = this.delegate.nextSibling(t); + for (let o = 0; o < e.length; o++) + this.delegate.insertBefore(n, e[o], a); + } + detachView(t) { + for (let e = 0; e < t.length; e++) { + const n = t[e], + a = this.delegate.parentNode(n); + this.delegate.removeChild(a, n); + } + } + destroyView(t, e) { + for (let n = 0; n < e.length; n++) this.delegate.destroyNode(e[n]); + } + listen(t, e, n) { + return this.delegate.listen(t, e, n); + } + listenGlobal(t, e, n) { + return this.delegate.listen(t, e, n); + } + setElementProperty(t, e, n) { + this.delegate.setProperty(t, e, n); + } + setElementAttribute(t, e, n) { + const [a, o] = eo(e); + null != n + ? this.delegate.setAttribute(t, o, n, a) + : this.delegate.removeAttribute(t, o, a); + } + setBindingDebugInfo(t, e, n) {} + setElementClass(t, e, n) { + n ? this.delegate.addClass(t, e) : this.delegate.removeClass(t, e); + } + setElementStyle(t, e, n) { + null != n + ? this.delegate.setStyle(t, e, n) + : this.delegate.removeStyle(t, e); + } + invokeElementMethod(t, e, n) { + t[e].apply(t, n); + } + setText(t, e) { + this.delegate.setValue(t, e); + } + animate() { + throw new Error("Renderer.animate is no longer supported!"); + } + } + function Ro(t, e, n, a) { + return new Do(t, e, n, a); + } + class Do { + constructor(t, e, n, a) { + (this._moduleType = t), + (this._parent = e), + (this._bootstrapComponents = n), + (this._def = a), + (this._destroyListeners = []), + (this._destroyed = !1), + (this.injector = this), + (function(t) { + const e = t._def, + n = (t._providers = new Array(e.providers.length)); + for (let a = 0; a < e.providers.length; a++) { + const o = e.providers[a]; + 4096 & o.flags || (void 0 === n[a] && (n[a] = mo(t, o))); + } + })(this); + } + get(t, e = Wt.THROW_IF_NOT_FOUND, n = pt.Default) { + let a = 0; + return ( + n & pt.SkipSelf ? (a |= 1) : n & pt.Self && (a |= 4), + uo(this, { token: t, tokenKey: ka(t), flags: a }, e) + ); + } + get instance() { + return this.get(this._moduleType); + } + get componentFactoryResolver() { + return this.get(An); + } + destroy() { + if (this._destroyed) + throw new Error( + `The ng module ${Ot( + this.instance.constructor + )} has already been destroyed.` + ); + (this._destroyed = !0), + (function(t, e) { + const n = t._def, + a = new Set(); + for (let o = 0; o < n.providers.length; o++) + if (131072 & n.providers[o].flags) { + const e = t._providers[o]; + if (e && e !== io) { + const t = e.ngOnDestroy; + "function" != typeof t || + a.has(e) || + (t.apply(e), a.add(e)); + } + } + })(this), + this._destroyListeners.forEach(t => t()); + } + onDestroy(t) { + this._destroyListeners.push(t); + } + } + const No = ka(Bn), + zo = ka(jn), + Lo = ka(Ln), + Fo = ka(ua), + Bo = ka(ca), + Vo = ka(oa), + Ho = ka(Wt), + jo = ka(Kt); + function Uo(t, e, n, a, o, i, r, l) { + const s = []; + if (r) + for (let d in r) { + const [t, e] = r[d]; + s[t] = { + flags: 8, + name: d, + nonMinifiedName: e, + ns: null, + securityContext: null, + suffix: null + }; + } + const c = []; + if (l) + for (let d in l) + c.push({ type: 1, propName: d, target: null, eventName: l[d] }); + return Yo(t, (e |= 16384), n, a, o, o, i, s, c); + } + function qo(t, e, n) { + return Yo(-1, (t |= 16), null, 0, e, e, n); + } + function Ko(t, e, n, a, o) { + return Yo(-1, t, e, 0, n, a, o); + } + function Yo(t, e, n, a, o, i, r, l, s) { + const { matchedQueries: c, references: d, matchedQueryIds: u } = qa(n); + s || (s = []), l || (l = []), (i = vt(i)); + const m = Ka(r, Ot(o)); + return { + nodeIndex: -1, + parent: null, + renderParent: null, + bindingIndex: -1, + outputIndex: -1, + checkIndex: t, + flags: e, + childFlags: 0, + directChildFlags: 0, + childMatchedQueries: 0, + matchedQueries: c, + matchedQueryIds: u, + references: d, + ngContentIndex: -1, + childCount: a, + bindings: l, + bindingFlags: no(l), + outputs: s, + element: null, + provider: { token: o, value: i, deps: m }, + text: null, + query: null, + ngContent: null + }; + } + function Wo(t, e) { + return Qo(t, e); + } + function Go(t, e) { + let n = t; + for (; n.parent && !Ha(n); ) n = n.parent; + return Xo(n.parent, Ba(n), !0, e.provider.value, e.provider.deps); + } + function $o(t, e) { + const n = Xo( + t, + e.parent, + (32768 & e.flags) > 0, + e.provider.value, + e.provider.deps + ); + if (e.outputs.length) + for (let a = 0; a < e.outputs.length; a++) { + const o = e.outputs[a], + i = n[o.propName]; + if (!fn(i)) + throw new Error( + `@Output ${o.propName} not initialized in '${n.constructor.name}'.` + ); + { + const n = i.subscribe(Zo(t, e.parent.nodeIndex, o.eventName)); + t.disposables[e.outputIndex + a] = n.unsubscribe.bind(n); + } + } + return n; + } + function Zo(t, e, n) { + return a => La(t, e, n, a); + } + function Qo(t, e) { + const n = (8192 & e.flags) > 0, + a = e.provider; + switch (201347067 & e.flags) { + case 512: + return Xo(t, e.parent, n, a.value, a.deps); + case 1024: + return (function(t, e, n, a, o) { + const i = o.length; + switch (i) { + case 0: + return a(); + case 1: + return a(ti(t, e, n, o[0])); + case 2: + return a(ti(t, e, n, o[0]), ti(t, e, n, o[1])); + case 3: + return a( + ti(t, e, n, o[0]), + ti(t, e, n, o[1]), + ti(t, e, n, o[2]) + ); + default: + const r = Array(i); + for (let a = 0; a < i; a++) r[a] = ti(t, e, n, o[a]); + return a(...r); + } + })(t, e.parent, n, a.value, a.deps); + case 2048: + return ti(t, e.parent, n, a.deps[0]); + case 256: + return a.value; + } + } + function Xo(t, e, n, a, o) { + const i = o.length; + switch (i) { + case 0: + return new a(); + case 1: + return new a(ti(t, e, n, o[0])); + case 2: + return new a(ti(t, e, n, o[0]), ti(t, e, n, o[1])); + case 3: + return new a( + ti(t, e, n, o[0]), + ti(t, e, n, o[1]), + ti(t, e, n, o[2]) + ); + default: + const r = new Array(i); + for (let a = 0; a < i; a++) r[a] = ti(t, e, n, o[a]); + return new a(...r); + } + } + const Jo = {}; + function ti(t, e, n, a, o = Wt.THROW_IF_NOT_FOUND) { + if (8 & a.flags) return a.token; + const i = t; + 2 & a.flags && (o = null); + const r = a.tokenKey; + r === Vo && (n = !(!e || !e.element.componentView)), + e && 1 & a.flags && ((n = !1), (e = e.parent)); + let l = t; + for (; l; ) { + if (e) + switch (r) { + case No: + return Ao(ei(l, e, n)); + case zo: + return ei(l, e, n).renderer; + case Lo: + return new Ln(Ca(l, e.nodeIndex).renderElement); + case Fo: + return Ca(l, e.nodeIndex).viewContainer; + case Bo: + if (e.element.template) return Ca(l, e.nodeIndex).template; + break; + case Vo: + return vo(ei(l, e, n)); + case Ho: + case jo: + return So(l, e); + default: + const t = (n + ? e.element.allProviders + : e.element.publicProviders)[r]; + if (t) { + let e = Pa(l, t.nodeIndex); + return ( + e || + ((e = { instance: Qo(l, t) }), + (l.nodes[t.nodeIndex] = e)), + e.instance + ); + } + } + (n = Ha(l)), (e = Ba(l)), (l = l.parent), 4 & a.flags && (l = null); + } + const s = i.root.injector.get(a.token, Jo); + return s !== Jo || o === Jo + ? s + : i.root.ngModule.injector.get(a.token, o); + } + function ei(t, e, n) { + let a; + if (n) a = Ca(t, e.nodeIndex).componentView; + else for (a = t; a.parent && !Ha(a); ) a = a.parent; + return a; + } + function ni(t, e, n, a, o, i) { + if (32768 & n.flags) { + const e = Ca(t, n.parent.nodeIndex).componentView; + 2 & e.def.flags && (e.state |= 8); + } + if (((e.instance[n.bindings[a].name] = o), 524288 & n.flags)) { + i = i || {}; + const e = On.unwrap(t.oldValues[n.bindingIndex + a]); + i[n.bindings[a].nonMinifiedName] = new vn(e, o, 0 != (2 & t.state)); + } + return (t.oldValues[n.bindingIndex + a] = o), i; + } + function ai(t, e) { + if (!(t.def.nodeFlags & e)) return; + const n = t.def.nodes; + let a = 0; + for (let o = 0; o < n.length; o++) { + const i = n[o]; + let r = i.parent; + for ( + !r && i.flags & e && ii(t, o, i.flags & e, a++), + 0 == (i.childFlags & e) && (o += i.childCount); + r && 1 & r.flags && o === r.nodeIndex + r.childCount; + + ) + r.directChildFlags & e && (a = oi(t, r, e, a)), (r = r.parent); + } + } + function oi(t, e, n, a) { + for (let o = e.nodeIndex + 1; o <= e.nodeIndex + e.childCount; o++) { + const e = t.def.nodes[o]; + e.flags & n && ii(t, o, e.flags & n, a++), (o += e.childCount); + } + return a; + } + function ii(t, e, n, a) { + const o = Pa(t, e); + if (!o) return; + const i = o.instance; + i && + (ya.setCurrentNode(t, e), + 1048576 & n && ba(t, 512, a) && i.ngAfterContentInit(), + 2097152 & n && i.ngAfterContentChecked(), + 4194304 & n && ba(t, 768, a) && i.ngAfterViewInit(), + 8388608 & n && i.ngAfterViewChecked(), + 131072 & n && i.ngOnDestroy()); + } + const ri = new Ht("SCHEDULER_TOKEN", { + providedIn: "root", + factory: () => Re + }); + class li extends w { + constructor(t = !1) { + super(), (this.__isAsync = t); + } + emit(t) { + super.next(t); + } + subscribe(t, e, n) { + let a, + o = t => null, + i = () => null; + t && "object" == typeof t + ? ((a = this.__isAsync + ? e => { + setTimeout(() => t.next(e)); + } + : e => { + t.next(e); + }), + t.error && + (o = this.__isAsync + ? e => { + setTimeout(() => t.error(e)); + } + : e => { + t.error(e); + }), + t.complete && + (i = this.__isAsync + ? () => { + setTimeout(() => t.complete()); + } + : () => { + t.complete(); + })) + : ((a = this.__isAsync + ? e => { + setTimeout(() => t(e)); + } + : e => { + t(e); + }), + e && + (o = this.__isAsync + ? t => { + setTimeout(() => e(t)); + } + : t => { + e(t); + }), + n && + (i = this.__isAsync + ? () => { + setTimeout(() => n()); + } + : () => { + n(); + })); + const r = super.subscribe(a, o, i); + return t instanceof m && t.add(r), r; + } + } + class si { + constructor() { + (this.dirty = !0), + (this._results = []), + (this.changes = new li()), + (this.length = 0); + } + 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(); + } + [_n()]() { + return this._results[_n()](); + } + toString() { + return this._results.toString(); + } + reset(t) { + (this._results = (function t(e, n) { + void 0 === n && (n = e); + for (let a = 0; a < e.length; a++) { + let o = e[a]; + Array.isArray(o) + ? (n === e && (n = e.slice(0, a)), t(o, n)) + : n !== e && n.push(o); + } + return n; + })(t)), + (this.dirty = !1), + (this.length = this._results.length), + (this.last = this._results[this.length - 1]), + (this.first = this._results[0]); + } + notifyOnChanges() { + this.changes.emit(this); + } + setDirty() { + this.dirty = !0; + } + destroy() { + this.changes.complete(), this.changes.unsubscribe(); + } + } + class ci {} + const di = new Ht("Application Initializer"), + ui = (() => + class { + constructor(t) { + (this.appInits = t), + (this.initialized = !1), + (this.done = !1), + (this.donePromise = new Promise((t, e) => { + (this.resolve = t), (this.reject = e); + })); + } + runInitializers() { + if (this.initialized) return; + const t = [], + e = () => { + (this.done = !0), this.resolve(); + }; + if (this.appInits) + for (let n = 0; n < this.appInits.length; n++) { + const e = this.appInits[n](); + pn(e) && t.push(e); + } + Promise.all(t) + .then(() => { + e(); + }) + .catch(t => { + this.reject(t); + }), + 0 === t.length && e(), + (this.initialized = !0); + } + })(), + mi = new Ht("AppId"); + function hi() { + return `${gi()}${gi()}${gi()}`; + } + function gi() { + return String.fromCharCode(97 + Math.floor(25 * Math.random())); + } + const pi = new Ht("Platform Initializer"), + fi = new Ht("Platform ID"), + bi = new Ht("appBootstrapListener"), + _i = (() => + class { + log(t) { + console.log(t); + } + warn(t) { + console.warn(t); + } + })(); + function Ci() { + throw new Error("Runtime compiler is not loaded"); + } + const Pi = Ci, + Oi = Ci, + Mi = Ci, + yi = Ci, + vi = (() => + class { + constructor() { + (this.compileModuleSync = Pi), + (this.compileModuleAsync = Oi), + (this.compileModuleAndAllComponentsSync = Mi), + (this.compileModuleAndAllComponentsAsync = yi); + } + clearCache() {} + clearCacheFor(t) {} + getModuleId(t) {} + })(); + class xi {} + let ki, wi; + function Si() { + const t = kt.wtf; + return !(!t || !(ki = t.trace) || ((wi = ki.events), 0)); + } + const Ei = Si(), + Ii = Ei + ? function(t, e = null) { + return wi.createScope(t, e); + } + : (t, e) => + function(t, e) { + return null; + }, + Ai = Ei + ? function(t, e) { + return ki.leaveScope(t, e), e; + } + : (t, e) => e, + Ti = (() => Promise.resolve(0))(); + function Ri(t) { + "undefined" == typeof Zone + ? Ti.then(() => { + t && t.apply(null, null); + }) + : Zone.current.scheduleMicroTask("scheduleMicrotask", t); + } + class Di { + constructor({ enableLongStackTrace: t = !1 }) { + if ( + ((this.hasPendingMicrotasks = !1), + (this.hasPendingMacrotasks = !1), + (this.isStable = !0), + (this.onUnstable = new li(!1)), + (this.onMicrotaskEmpty = new li(!1)), + (this.onStable = new li(!1)), + (this.onError = new li(!1)), + "undefined" == typeof Zone) + ) + throw new Error("In this configuration Angular requires Zone.js"); + var e; + Zone.assertZonePatched(), + (this._nesting = 0), + (this._outer = this._inner = Zone.current), + Zone.wtfZoneSpec && + (this._inner = this._inner.fork(Zone.wtfZoneSpec)), + Zone.TaskTrackingZoneSpec && + (this._inner = this._inner.fork(new Zone.TaskTrackingZoneSpec())), + t && + Zone.longStackTraceZoneSpec && + (this._inner = this._inner.fork(Zone.longStackTraceZoneSpec)), + ((e = this)._inner = e._inner.fork({ + name: "angular", + properties: { isAngularZone: !0 }, + onInvokeTask: (t, n, a, o, i, r) => { + try { + return Fi(e), t.invokeTask(a, o, i, r); + } finally { + Bi(e); + } + }, + onInvoke: (t, n, a, o, i, r, l) => { + try { + return Fi(e), t.invoke(a, o, i, r, l); + } finally { + Bi(e); + } + }, + onHasTask: (t, n, a, o) => { + t.hasTask(a, o), + n === a && + ("microTask" == o.change + ? ((e.hasPendingMicrotasks = o.microTask), Li(e)) + : "macroTask" == o.change && + (e.hasPendingMacrotasks = o.macroTask)); + }, + onHandleError: (t, n, a, o) => ( + t.handleError(a, o), + e.runOutsideAngular(() => e.onError.emit(o)), + !1 + ) + })); + } + static isInAngularZone() { + return !0 === Zone.current.get("isAngularZone"); + } + static assertInAngularZone() { + if (!Di.isInAngularZone()) + throw new Error("Expected to be in Angular Zone, but it is not!"); + } + static assertNotInAngularZone() { + if (Di.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, a) { + const o = this._inner, + i = o.scheduleEventTask("NgZoneEvent: " + a, t, zi, Ni, Ni); + try { + return o.runTask(i, e, n); + } finally { + o.cancelTask(i); + } + } + runGuarded(t, e, n) { + return this._inner.runGuarded(t, e, n); + } + runOutsideAngular(t) { + return this._outer.run(t); + } + } + function Ni() {} + const zi = {}; + function Li(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 Fi(t) { + t._nesting++, + t.isStable && ((t.isStable = !1), t.onUnstable.emit(null)); + } + function Bi(t) { + t._nesting--, Li(t); + } + class Vi { + constructor() { + (this.hasPendingMicrotasks = !1), + (this.hasPendingMacrotasks = !1), + (this.isStable = !0), + (this.onUnstable = new li()), + (this.onMicrotaskEmpty = new li()), + (this.onStable = new li()), + (this.onError = new li()); + } + run(t) { + return t(); + } + runGuarded(t) { + return t(); + } + runOutsideAngular(t) { + return t(); + } + runTask(t) { + return t(); + } + } + const Hi = (() => + class { + 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: () => { + Di.assertNotInAngularZone(), + Ri(() => { + (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()) + Ri(() => { + 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 a = -1; + e && + e > 0 && + (a = setTimeout(() => { + (this._callbacks = this._callbacks.filter( + t => t.timeoutId !== a + )), + t(this._didWork, this.getPendingTasks()); + }, e)), + this._callbacks.push({ doneCb: t, timeoutId: a, updateCb: n }); + } + whenStable(t, e, n) { + if (n && !this.taskTrackingZone) + throw new Error( + 'Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?' + ); + this.addCallback(t, e, n), this._runCallbacksIfReady(); + } + getPendingRequestCount() { + return this._pendingCount; + } + findProviders(t, e, n) { + return []; + } + })(), + ji = (() => { + class t { + constructor() { + (this._applications = new Map()), Ki.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 Ki.findTestabilityInTree(this, t, e); + } + } + return (t.ctorParameters = () => []), t; + })(); + class Ui { + addToWindow(t) {} + findTestabilityInTree(t, e, n) { + return null; + } + } + let qi, + Ki = new Ui(), + Yi = function(t) { + return t instanceof Rn; + }; + const Wi = new Ht("AllowMultipleToken"); + class Gi { + constructor(t, e) { + (this.name = t), (this.token = e); + } + } + function $i(t, e, n = []) { + const a = `Platform: ${e}`, + o = new Ht(a); + return (e = []) => { + let i = Zi(); + if (!i || i.injector.get(Wi, !1)) + if (t) t(n.concat(e).concat({ provide: o, useValue: !0 })); + else { + const t = n.concat(e).concat({ provide: o, useValue: !0 }); + !(function(t) { + if (qi && !qi.destroyed && !qi.injector.get(Wi, !1)) + throw new Error( + "There can be only one platform. Destroy the previous one to create a new one." + ); + qi = t.get(Qi); + const e = t.get(pi, null); + e && e.forEach(t => t()); + })(Wt.create({ providers: t, name: a })); + } + return (function(t) { + const e = Zi(); + 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; + })(o); + }; + } + function Zi() { + return qi && !qi.destroyed ? qi : null; + } + const Qi = (() => + class { + constructor(t) { + (this._injector = t), + (this._modules = []), + (this._destroyListeners = []), + (this._destroyed = !1); + } + bootstrapModuleFactory(t, e) { + const n = + "noop" === (o = e ? e.ngZone : void 0) + ? new Vi() + : ("zone.js" === o ? void 0 : o) || + new Di({ enableLongStackTrace: Ve() }), + a = [{ provide: Di, useValue: n }]; + var o; + return n.run(() => { + const e = Wt.create({ + providers: a, + parent: this.injector, + name: t.moduleType.name + }), + o = t.create(e), + i = o.injector.get(Le, null); + if (!i) + throw new Error( + "No ErrorHandler. Is platform module (BrowserModule) included?" + ); + return ( + o.onDestroy(() => tr(this._modules, o)), + n.runOutsideAngular(() => + n.onError.subscribe({ + next: t => { + i.handleError(t); + } + }) + ), + (function(t, e, n) { + try { + const o = n(); + return pn(o) + ? o.catch(n => { + throw (e.runOutsideAngular(() => t.handleError(n)), + n); + }) + : o; + } catch (a) { + throw (e.runOutsideAngular(() => t.handleError(a)), a); + } + })(i, n, () => { + const t = o.injector.get(ui); + return ( + t.runInitializers(), + t.donePromise.then(() => (this._moduleDoBootstrap(o), o)) + ); + }) + ); + }); + } + bootstrapModule(t, e = []) { + const n = Xi({}, e); + return (function(t, e, n) { + return t + .get(xi) + .createCompiler([e]) + .compileModuleAsync(n); + })(this.injector, n, t).then(t => + this.bootstrapModuleFactory(t, n) + ); + } + _moduleDoBootstrap(t) { + const e = t.injector.get(Ji); + if (t._bootstrapComponents.length > 0) + t._bootstrapComponents.forEach(t => e.bootstrap(t)); + else { + if (!t.instance.ngDoBootstrap) + throw new Error( + `The module ${Ot( + 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; + } + })(); + function Xi(t, e) { + return Array.isArray(e) ? e.reduce(Xi, t) : Object.assign({}, t, e); + } + const Ji = (() => { + class t { + constructor(t, e, n, a, o, i) { + (this._zone = t), + (this._console = e), + (this._injector = n), + (this._exceptionHandler = a), + (this._componentFactoryResolver = o), + (this._initStatus = i), + (this._bootstrapListeners = []), + (this._views = []), + (this._runningTick = !1), + (this._enforceNoNewChanges = !1), + (this._stable = !0), + (this.componentTypes = []), + (this.components = []), + (this._enforceNoNewChanges = Ve()), + this._zone.onMicrotaskEmpty.subscribe({ + next: () => { + this._zone.run(() => { + this.tick(); + }); + } + }); + const r = new O(t => { + (this._stable = + this._zone.isStable && + !this._zone.hasPendingMacrotasks && + !this._zone.hasPendingMicrotasks), + this._zone.runOutsideAngular(() => { + t.next(this._stable), t.complete(); + }); + }), + l = new O(t => { + let e; + this._zone.runOutsideAngular(() => { + e = this._zone.onStable.subscribe(() => { + Di.assertNotInAngularZone(), + Ri(() => { + this._stable || + this._zone.hasPendingMacrotasks || + this._zone.hasPendingMicrotasks || + ((this._stable = !0), t.next(!0)); + }); + }); + }); + const n = this._zone.onUnstable.subscribe(() => { + Di.assertInAngularZone(), + this._stable && + ((this._stable = !1), + this._zone.runOutsideAngular(() => { + t.next(!1); + })); + }); + return () => { + e.unsubscribe(), n.unsubscribe(); + }; + }); + this.isStable = X(r, l.pipe(rt())); + } + 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 wn + ? t + : this._componentFactoryResolver.resolveComponentFactory(t)), + this.componentTypes.push(n.componentType); + const a = Yi(n) ? null : this._injector.get(Dn), + o = n.create(Wt.NULL, [], e || n.selector, a); + o.onDestroy(() => { + this._unloadComponent(o); + }); + const i = o.injector.get(Hi, null); + return ( + i && + o.injector + .get(ji) + .registerApplication(o.location.nativeElement, i), + this._loadComponent(o), + Ve() && + this._console.log( + "Angular is running in the development mode. Call enableProdMode() to enable the production mode." + ), + o + ); + } + tick() { + if (this._runningTick) + throw new Error("ApplicationRef.tick is called recursively"); + const e = t._tickScope(); + try { + this._runningTick = !0; + for (let t of this._views) t.detectChanges(); + if (this._enforceNoNewChanges) + for (let t of this._views) t.checkNoChanges(); + } catch (n) { + this._zone.runOutsideAngular(() => + this._exceptionHandler.handleError(n) + ); + } finally { + (this._runningTick = !1), Ai(e); + } + } + attachView(t) { + const e = t; + this._views.push(e), e.attachToAppRef(this); + } + detachView(t) { + const e = t; + tr(this._views, e), e.detachFromAppRef(); + } + _loadComponent(t) { + this.attachView(t.hostView), + this.tick(), + this.components.push(t), + this._injector + .get(bi, []) + .concat(this._bootstrapListeners) + .forEach(e => e(t)); + } + _unloadComponent(t) { + this.detachView(t.hostView), tr(this.components, t); + } + ngOnDestroy() { + this._views.slice().forEach(t => t.destroy()); + } + get viewCount() { + return this._views.length; + } + } + return (t._tickScope = Ii("ApplicationRef#tick()")), t; + })(); + function tr(t, e) { + const n = t.indexOf(e); + n > -1 && t.splice(n, 1); + } + class er {} + const nr = { factoryPathPrefix: "", factoryPathSuffix: ".ngfactory" }, + ar = (() => + class { + constructor(t, e) { + (this._compiler = t), (this._config = e || nr); + } + load(t) { + return this._compiler instanceof vi + ? this.loadFactory(t) + : this.loadAndCompile(t); + } + loadAndCompile(t) { + let [e, a] = t.split("#"); + return ( + void 0 === a && (a = "default"), + n("zn8P")(e) + .then(t => t[a]) + .then(t => or(t, e, a)) + .then(t => this._compiler.compileModuleAsync(t)) + ); + } + loadFactory(t) { + let [e, a] = t.split("#"), + o = "NgFactory"; + return ( + void 0 === a && ((a = "default"), (o = "")), + n("zn8P")( + this._config.factoryPathPrefix + + e + + this._config.factoryPathSuffix + ) + .then(t => t[a + o]) + .then(t => or(t, e, a)) + ); + } + })(); + function or(t, e, n) { + if (!t) throw new Error(`Cannot find '${n}' in '${e}'`); + return t; + } + class ir { + constructor(t, e) { + (this.name = t), (this.callback = e); + } + } + class rr { + constructor(t, e, n) { + (this.listeners = []), + (this.parent = null), + (this._debugContext = n), + (this.nativeNode = t), + e && e instanceof lr && e.addChild(this); + } + get injector() { + return this._debugContext.injector; + } + get componentInstance() { + return this._debugContext.component; + } + get context() { + return this._debugContext.context; + } + get references() { + return this._debugContext.references; + } + get providerTokens() { + return this._debugContext.providerTokens; + } + } + class lr extends rr { + constructor(t, e, n) { + super(t, e, n), + (this.properties = {}), + (this.attributes = {}), + (this.classes = {}), + (this.styles = {}), + (this.childNodes = []), + (this.nativeElement = t); + } + addChild(t) { + t && (this.childNodes.push(t), (t.parent = this)); + } + removeChild(t) { + const e = this.childNodes.indexOf(t); + -1 !== e && ((t.parent = null), this.childNodes.splice(e, 1)); + } + insertChildrenAfter(t, e) { + const n = this.childNodes.indexOf(t); + -1 !== n && + (this.childNodes.splice(n + 1, 0, ...e), + e.forEach(e => { + e.parent && e.parent.removeChild(e), (t.parent = this); + })); + } + insertBefore(t, e) { + const n = this.childNodes.indexOf(t); + -1 === n + ? this.addChild(e) + : (e.parent && e.parent.removeChild(e), + (e.parent = this), + this.childNodes.splice(n, 0, e)); + } + query(t) { + return this.queryAll(t)[0] || null; + } + queryAll(t) { + const e = []; + return ( + (function t(e, n, a) { + e.childNodes.forEach(e => { + e instanceof lr && (n(e) && a.push(e), t(e, n, a)); + }); + })(this, t, e), + e + ); + } + queryAllNodes(t) { + const e = []; + return ( + (function t(e, n, a) { + e instanceof lr && + e.childNodes.forEach(e => { + n(e) && a.push(e), e instanceof lr && t(e, n, a); + }); + })(this, t, e), + e + ); + } + get children() { + return this.childNodes.filter(t => t instanceof lr); + } + triggerEventHandler(t, e) { + this.listeners.forEach(n => { + n.name == t && n.callback(e); + }); + } + } + const sr = new Map(), + cr = function(t) { + return sr.get(t) || null; + }; + function dr(t) { + sr.set(t.nativeNode, t); + } + const ur = $i(null, "core", [ + { provide: fi, useValue: "unknown" }, + { provide: Qi, deps: [Wt] }, + { provide: ji, deps: [] }, + { provide: _i, deps: [] } + ]), + mr = new Ht("LocaleId"); + function hr() { + return la; + } + function gr() { + return sa; + } + function pr(t) { + return t || "en-US"; + } + function fr(t) { + let e = []; + return ( + t.onStable.subscribe(() => { + for (; e.length; ) e.pop()(); + }), + function(t) { + e.push(t); + } + ); + } + const br = (() => + class { + constructor(t) {} + })(); + function _r(t, e, n, a, o, i) { + t |= 1; + const { matchedQueries: r, references: l, matchedQueryIds: s } = qa(e); + return { + nodeIndex: -1, + parent: null, + renderParent: null, + bindingIndex: -1, + outputIndex: -1, + flags: t, + checkIndex: -1, + childFlags: 0, + directChildFlags: 0, + childMatchedQueries: 0, + matchedQueries: r, + matchedQueryIds: s, + references: l, + ngContentIndex: n, + childCount: a, + bindings: [], + bindingFlags: 0, + outputs: [], + element: { + ns: null, + name: null, + attrs: null, + template: i ? Ga(i) : null, + componentProvider: null, + componentView: null, + componentRendererType: null, + publicProviders: null, + allProviders: null, + handleEvent: o || va + }, + provider: null, + text: null, + query: null, + ngContent: null + }; + } + function Cr(t, e, n, a, o, i, r = [], l, s, c, d, u) { + c || (c = va); + const { matchedQueries: m, references: h, matchedQueryIds: g } = qa(n); + let p = null, + f = null; + i && ([p, f] = eo(i)), (l = l || []); + const b = new Array(l.length); + for (let P = 0; P < l.length; P++) { + const [t, e, n] = l[P], + [a, o] = eo(e); + let i = void 0, + r = void 0; + switch (15 & t) { + case 4: + r = n; + break; + case 1: + case 8: + i = n; + } + b[P] = { + flags: t, + ns: a, + name: o, + nonMinifiedName: o, + securityContext: i, + suffix: r + }; + } + s = s || []; + const _ = new Array(s.length); + for (let P = 0; P < s.length; P++) { + const [t, e] = s[P]; + _[P] = { type: 0, target: t, eventName: e, propName: null }; + } + const C = (r = r || []).map(([t, e]) => { + const [n, a] = eo(t); + return [n, a, e]; + }); + return ( + (u = (function(t) { + if (t && t.id === Sa) { + const e = + (null != t.encapsulation && t.encapsulation !== Te.None) || + t.styles.length || + Object.keys(t.data).length; + t.id = e ? `c${Aa++}` : Ea; + } + return t && t.id === Ea && (t = null), t || null; + })(u)), + d && (e |= 33554432), + { + nodeIndex: -1, + parent: null, + renderParent: null, + bindingIndex: -1, + outputIndex: -1, + checkIndex: t, + flags: (e |= 1), + childFlags: 0, + directChildFlags: 0, + childMatchedQueries: 0, + matchedQueries: m, + matchedQueryIds: g, + references: h, + ngContentIndex: a, + childCount: o, + bindings: b, + bindingFlags: no(b), + outputs: _, + element: { + ns: p, + name: f, + attrs: C, + template: null, + componentProvider: null, + componentView: d || null, + componentRendererType: u, + publicProviders: null, + allProviders: null, + handleEvent: c || va + }, + provider: null, + text: null, + query: null, + ngContent: null + } + ); + } + function Pr(t, e, n) { + const a = n.element, + o = t.root.selectorOrNode, + i = t.renderer; + let r; + if (t.parent || !o) { + r = a.name ? i.createElement(a.name, a.ns) : i.createComment(""); + const o = Ya(t, e, n); + o && i.appendChild(o, r); + } else + r = i.selectRootElement( + o, + !!a.componentRendererType && + a.componentRendererType.encapsulation === Te.ShadowDom + ); + if (a.attrs) + for (let l = 0; l < a.attrs.length; l++) { + const [t, e, n] = a.attrs[l]; + i.setAttribute(r, e, n, t); + } + return r; + } + function Or(t, e, n, a) { + for (let r = 0; r < n.outputs.length; r++) { + const l = n.outputs[r], + s = Mr( + t, + n.nodeIndex, + ((i = l.eventName), (o = l.target) ? `${o}:${i}` : i) + ); + let c = l.target, + d = t; + "component" === l.target && ((c = null), (d = e)); + const u = d.renderer.listen(c || a, l.eventName, s); + t.disposables[n.outputIndex + r] = u; + } + var o, i; + } + function Mr(t, e, n) { + return a => La(t, e, n, a); + } + function yr(t, e, n, a) { + if (!Ra(t, e, n, a)) return !1; + const o = e.bindings[n], + i = Ca(t, e.nodeIndex), + r = i.renderElement, + l = o.name; + switch (15 & o.flags) { + case 1: + !(function(t, e, n, a, o, i) { + const r = e.securityContext; + let l = r ? t.root.sanitizer.sanitize(r, i) : i; + l = null != l ? l.toString() : null; + const s = t.renderer; + null != i + ? s.setAttribute(n, o, l, a) + : s.removeAttribute(n, o, a); + })(t, o, r, o.ns, l, a); + break; + case 2: + !(function(t, e, n, a) { + const o = t.renderer; + a ? o.addClass(e, n) : o.removeClass(e, n); + })(t, r, l, a); + break; + case 4: + !(function(t, e, n, a, o) { + let i = t.root.sanitizer.sanitize(cn.STYLE, o); + if (null != i) { + i = i.toString(); + const t = e.suffix; + null != t && (i += t); + } else i = null; + const r = t.renderer; + null != i ? r.setStyle(n, a, i) : r.removeStyle(n, a); + })(t, o, r, l, a); + break; + case 8: + !(function(t, e, n, a, o) { + const i = e.securityContext; + let r = i ? t.root.sanitizer.sanitize(i, o) : o; + t.renderer.setProperty(n, a, r); + })( + 33554432 & e.flags && 32 & o.flags ? i.componentView : t, + o, + r, + l, + a + ); + } + return !0; + } + function vr(t, e, n) { + let a = []; + for (let o in n) a.push({ propName: o, bindingType: n[o] }); + return { + nodeIndex: -1, + parent: null, + renderParent: null, + bindingIndex: -1, + outputIndex: -1, + checkIndex: -1, + flags: t, + childFlags: 0, + directChildFlags: 0, + childMatchedQueries: 0, + ngContentIndex: -1, + matchedQueries: {}, + matchedQueryIds: 0, + references: {}, + childCount: 0, + bindings: [], + bindingFlags: 0, + outputs: [], + element: null, + provider: null, + text: null, + query: { id: e, filterId: Ua(e), bindings: a }, + ngContent: null + }; + } + function xr(t) { + const e = t.def.nodeMatchedQueries; + for (; t.parent && ja(t); ) { + let n = t.parentNodeDef; + t = t.parent; + const a = n.nodeIndex + n.childCount; + for (let o = 0; o <= a; o++) { + const a = t.def.nodes[o]; + 67108864 & a.flags && + 536870912 & a.flags && + (a.query.filterId & e) === a.query.filterId && + Ma(t, o).setDirty(), + (!(1 & a.flags && o + a.childCount < n.nodeIndex) && + 67108864 & a.childFlags && + 536870912 & a.childFlags) || + (o += a.childCount); + } + } + if (134217728 & t.def.nodeFlags) + for (let n = 0; n < t.def.nodes.length; n++) { + const e = t.def.nodes[n]; + 134217728 & e.flags && 536870912 & e.flags && Ma(t, n).setDirty(), + (n += e.childCount); + } + } + function kr(t, e) { + const n = Ma(t, e.nodeIndex); + if (!n.dirty) return; + let a, + o = void 0; + if (67108864 & e.flags) { + const n = e.parent.parent; + (o = wr(t, n.nodeIndex, n.nodeIndex + n.childCount, e.query, [])), + (a = Pa(t, e.parent.nodeIndex).instance); + } else + 134217728 & e.flags && + ((o = wr(t, 0, t.def.nodes.length - 1, e.query, [])), + (a = t.component)); + n.reset(o); + const i = e.query.bindings; + let r = !1; + for (let l = 0; l < i.length; l++) { + const t = i[l]; + let e; + switch (t.bindingType) { + case 0: + e = n.first; + break; + case 1: + (e = n), (r = !0); + } + a[t.propName] = e; + } + r && n.notifyOnChanges(); + } + function wr(t, e, n, a, o) { + for (let i = e; i <= n; i++) { + const e = t.def.nodes[i], + n = e.matchedQueries[a.id]; + if ( + (null != n && o.push(Sr(t, e, n)), + 1 & e.flags && + e.element.template && + (e.element.template.nodeMatchedQueries & a.filterId) === + a.filterId) + ) { + const n = Ca(t, i); + if ( + ((e.childMatchedQueries & a.filterId) === a.filterId && + (wr(t, i + 1, i + e.childCount, a, o), (i += e.childCount)), + 16777216 & e.flags) + ) { + const t = n.viewContainer._embeddedViews; + for (let e = 0; e < t.length; e++) { + const i = t[e], + r = Fa(i); + r && r === n && wr(i, 0, i.def.nodes.length - 1, a, o); + } + } + const r = n.template._projectedViews; + if (r) + for (let t = 0; t < r.length; t++) { + const e = r[t]; + wr(e, 0, e.def.nodes.length - 1, a, o); + } + } + (e.childMatchedQueries & a.filterId) !== a.filterId && + (i += e.childCount); + } + return o; + } + function Sr(t, e, n) { + if (null != n) + switch (n) { + case 1: + return Ca(t, e.nodeIndex).renderElement; + case 0: + return new Ln(Ca(t, e.nodeIndex).renderElement); + case 2: + return Ca(t, e.nodeIndex).template; + case 3: + return Ca(t, e.nodeIndex).viewContainer; + case 4: + return Pa(t, e.nodeIndex).instance; + } + } + function Er(t, e) { + return { + nodeIndex: -1, + parent: null, + renderParent: null, + bindingIndex: -1, + outputIndex: -1, + checkIndex: -1, + flags: 8, + childFlags: 0, + directChildFlags: 0, + childMatchedQueries: 0, + matchedQueries: {}, + matchedQueryIds: 0, + references: {}, + ngContentIndex: t, + childCount: 0, + bindings: [], + bindingFlags: 0, + outputs: [], + element: null, + provider: null, + text: null, + query: null, + ngContent: { index: e } + }; + } + function Ir(t, e, n) { + const a = Ya(t, e, n); + a && Qa(t, n.ngContent.index, 1, a, null, void 0); + } + function Ar(t, e) { + const n = Object.keys(e), + a = n.length, + o = new Array(a); + for (let i = 0; i < a; i++) { + const t = n[i]; + o[e[t]] = t; + } + return Tr(64, t, o); + } + function Tr(t, e, n) { + const a = new Array(n.length); + for (let o = 0; o < n.length; o++) { + const t = n[o]; + a[o] = { + flags: 8, + name: t, + ns: null, + nonMinifiedName: t, + securityContext: null, + suffix: null + }; + } + return { + nodeIndex: -1, + parent: null, + renderParent: null, + bindingIndex: -1, + outputIndex: -1, + checkIndex: e, + flags: t, + childFlags: 0, + directChildFlags: 0, + childMatchedQueries: 0, + matchedQueries: {}, + matchedQueryIds: 0, + references: {}, + ngContentIndex: -1, + childCount: 0, + bindings: a, + bindingFlags: no(a), + outputs: [], + element: null, + provider: null, + text: null, + query: null, + ngContent: null + }; + } + function Rr(t, e, n) { + const a = new Array(n.length - 1); + for (let o = 1; o < n.length; o++) + a[o - 1] = { + flags: 8, + name: null, + ns: null, + nonMinifiedName: null, + securityContext: null, + suffix: n[o] + }; + return { + nodeIndex: -1, + parent: null, + renderParent: null, + bindingIndex: -1, + outputIndex: -1, + checkIndex: t, + flags: 2, + childFlags: 0, + directChildFlags: 0, + childMatchedQueries: 0, + matchedQueries: {}, + matchedQueryIds: 0, + references: {}, + ngContentIndex: e, + childCount: 0, + bindings: a, + bindingFlags: 8, + outputs: [], + element: null, + provider: null, + text: { prefix: n[0] }, + query: null, + ngContent: null + }; + } + function Dr(t, e, n) { + let a; + const o = t.renderer; + a = o.createText(n.text.prefix); + const i = Ya(t, e, n); + return i && o.appendChild(i, a), { renderText: a }; + } + function Nr(t, e) { + return (null != t ? t.toString() : "") + e.suffix; + } + function zr(t, e, n, a) { + let o = 0, + i = 0, + r = 0, + l = 0, + s = 0, + c = null, + d = null, + u = !1, + m = !1, + h = null; + for (let g = 0; g < e.length; g++) { + const t = e[g]; + if ( + ((t.nodeIndex = g), + (t.parent = c), + (t.bindingIndex = o), + (t.outputIndex = i), + (t.renderParent = d), + (r |= t.flags), + (s |= t.matchedQueryIds), + t.element) + ) { + const e = t.element; + (e.publicProviders = c + ? c.element.publicProviders + : Object.create(null)), + (e.allProviders = e.publicProviders), + (u = !1), + (m = !1), + t.element.template && + (s |= t.element.template.nodeMatchedQueries); + } + if ( + (Fr(c, t, e.length), + (o += t.bindings.length), + (i += t.outputs.length), + !d && 3 & t.flags && (h = t), + 20224 & t.flags) + ) { + u || + ((u = !0), + (c.element.publicProviders = Object.create( + c.element.publicProviders + )), + (c.element.allProviders = c.element.publicProviders)); + const e = 0 != (32768 & t.flags); + 0 == (8192 & t.flags) || e + ? (c.element.publicProviders[ka(t.provider.token)] = t) + : (m || + ((m = !0), + (c.element.allProviders = Object.create( + c.element.publicProviders + ))), + (c.element.allProviders[ka(t.provider.token)] = t)), + e && (c.element.componentProvider = t); + } + if ( + (c + ? ((c.childFlags |= t.flags), + (c.directChildFlags |= t.flags), + (c.childMatchedQueries |= t.matchedQueryIds), + t.element && + t.element.template && + (c.childMatchedQueries |= + t.element.template.nodeMatchedQueries)) + : (l |= t.flags), + t.childCount > 0) + ) + (c = t), Lr(t) || (d = t); + else + for (; c && g === c.nodeIndex + c.childCount; ) { + const t = c.parent; + t && + ((t.childFlags |= c.childFlags), + (t.childMatchedQueries |= c.childMatchedQueries)), + (d = (c = t) && Lr(c) ? c.renderParent : c); + } + } + return { + factory: null, + nodeFlags: r, + rootNodeFlags: l, + nodeMatchedQueries: s, + flags: t, + nodes: e, + updateDirectives: n || va, + updateRenderer: a || va, + handleEvent: (t, n, a, o) => e[n].element.handleEvent(t, a, o), + bindingCount: o, + outputCount: i, + lastRenderRootNode: h + }; + } + function Lr(t) { + return 0 != (1 & t.flags) && null === t.element.name; + } + function Fr(t, e, n) { + const a = e.element && e.element.template; + if (a) { + if (!a.lastRenderRootNode) + throw new Error( + "Illegal State: Embedded templates without nodes are not allowed!" + ); + if (a.lastRenderRootNode && 16777216 & a.lastRenderRootNode.flags) + throw new Error( + `Illegal State: Last root node of a template can't have embedded views, at index ${e.nodeIndex}!` + ); + } + if (20224 & e.flags && 0 == (1 & (t ? t.flags : 0))) + throw new Error( + `Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index ${e.nodeIndex}!` + ); + if (e.query) { + if (67108864 & e.flags && (!t || 0 == (16384 & t.flags))) + throw new Error( + `Illegal State: Content Query nodes need to be children of directives, at index ${e.nodeIndex}!` + ); + if (134217728 & e.flags && t) + throw new Error( + `Illegal State: View Query nodes have to be top level nodes, at index ${e.nodeIndex}!` + ); + } + if (e.childCount) { + const a = t ? t.nodeIndex + t.childCount : n - 1; + if (e.nodeIndex <= a && e.nodeIndex + e.childCount > a) + throw new Error( + `Illegal State: childCount of node leads outside of parent, at index ${e.nodeIndex}!` + ); + } + } + function Br(t, e, n, a) { + const o = jr(t.root, t.renderer, t, e, n); + return Ur(o, t.component, a), qr(o), o; + } + function Vr(t, e, n) { + const a = jr(t, t.renderer, null, null, e); + return Ur(a, n, n), qr(a), a; + } + function Hr(t, e, n, a) { + const o = e.element.componentRendererType; + let i; + return ( + (i = o + ? t.root.rendererFactory.createRenderer(a, o) + : t.root.renderer), + jr(t.root, i, t, e.element.componentProvider, n) + ); + } + function jr(t, e, n, a, o) { + const i = new Array(o.nodes.length), + r = o.outputCount ? new Array(o.outputCount) : null; + return { + def: o, + parent: n, + viewContainerParent: null, + parentNodeDef: a, + context: null, + component: null, + nodes: i, + state: 13, + root: t, + renderer: e, + oldValues: new Array(o.bindingCount), + disposables: r, + initIndex: -1 + }; + } + function Ur(t, e, n) { + (t.component = e), (t.context = n); + } + function qr(t) { + let e; + Ha(t) && + (e = Ca(t.parent, t.parentNodeDef.parent.nodeIndex).renderElement); + const n = t.def, + a = t.nodes; + for (let o = 0; o < n.nodes.length; o++) { + const i = n.nodes[o]; + let r; + switch ((ya.setCurrentNode(t, o), 201347067 & i.flags)) { + case 1: + const n = Pr(t, e, i); + let l = void 0; + if (33554432 & i.flags) { + const e = Ga(i.element.componentView); + l = ya.createComponentView(t, i, e, n); + } + Or(t, l, i, n), + (r = { + renderElement: n, + componentView: l, + viewContainer: null, + template: i.element.template ? ko(t, i) : void 0 + }), + 16777216 & i.flags && (r.viewContainer = Mo(t, i, r)); + break; + case 2: + r = Dr(t, e, i); + break; + case 512: + case 1024: + case 2048: + case 256: + (r = a[o]) || 4096 & i.flags || (r = { instance: Wo(t, i) }); + break; + case 16: + r = { instance: Go(t, i) }; + break; + case 16384: + (r = a[o]) || (r = { instance: $o(t, i) }), + 32768 & i.flags && + Ur( + Ca(t, i.parent.nodeIndex).componentView, + r.instance, + r.instance + ); + break; + case 32: + case 64: + case 128: + r = { value: void 0 }; + break; + case 67108864: + case 134217728: + r = new si(); + break; + case 8: + Ir(t, e, i), (r = void 0); + } + a[o] = r; + } + Jr(t, Xr.CreateViewNodes), al(t, 201326592, 268435456, 0); + } + function Kr(t) { + Gr(t), + ya.updateDirectives(t, 1), + tl(t, Xr.CheckNoChanges), + ya.updateRenderer(t, 1), + Jr(t, Xr.CheckNoChanges), + (t.state &= -97); + } + function Yr(t) { + 1 & t.state ? ((t.state &= -2), (t.state |= 2)) : (t.state &= -3), + fa(t, 0, 256), + Gr(t), + ya.updateDirectives(t, 0), + tl(t, Xr.CheckAndUpdate), + al(t, 67108864, 536870912, 0); + let e = fa(t, 256, 512); + ai(t, 2097152 | (e ? 1048576 : 0)), + ya.updateRenderer(t, 0), + Jr(t, Xr.CheckAndUpdate), + al(t, 134217728, 536870912, 0), + ai(t, 8388608 | ((e = fa(t, 512, 768)) ? 4194304 : 0)), + 2 & t.def.flags && (t.state &= -9), + (t.state &= -97), + fa(t, 768, 1024); + } + function Wr(t, e, n, a, o, i, r, l, s, c, d, u, m) { + return 0 === n + ? (function(t, e, n, a, o, i, r, l, s, c, d, u) { + switch (201347067 & e.flags) { + case 1: + return (function(t, e, n, a, o, i, r, l, s, c, d, u) { + const m = e.bindings.length; + let h = !1; + return ( + m > 0 && yr(t, e, 0, n) && (h = !0), + m > 1 && yr(t, e, 1, a) && (h = !0), + m > 2 && yr(t, e, 2, o) && (h = !0), + m > 3 && yr(t, e, 3, i) && (h = !0), + m > 4 && yr(t, e, 4, r) && (h = !0), + m > 5 && yr(t, e, 5, l) && (h = !0), + m > 6 && yr(t, e, 6, s) && (h = !0), + m > 7 && yr(t, e, 7, c) && (h = !0), + m > 8 && yr(t, e, 8, d) && (h = !0), + m > 9 && yr(t, e, 9, u) && (h = !0), + h + ); + })(t, e, n, a, o, i, r, l, s, c, d, u); + case 2: + return (function(t, e, n, a, o, i, r, l, s, c, d, u) { + let m = !1; + const h = e.bindings, + g = h.length; + if ( + (g > 0 && Ra(t, e, 0, n) && (m = !0), + g > 1 && Ra(t, e, 1, a) && (m = !0), + g > 2 && Ra(t, e, 2, o) && (m = !0), + g > 3 && Ra(t, e, 3, i) && (m = !0), + g > 4 && Ra(t, e, 4, r) && (m = !0), + g > 5 && Ra(t, e, 5, l) && (m = !0), + g > 6 && Ra(t, e, 6, s) && (m = !0), + g > 7 && Ra(t, e, 7, c) && (m = !0), + g > 8 && Ra(t, e, 8, d) && (m = !0), + g > 9 && Ra(t, e, 9, u) && (m = !0), + m) + ) { + let m = e.text.prefix; + g > 0 && (m += Nr(n, h[0])), + g > 1 && (m += Nr(a, h[1])), + g > 2 && (m += Nr(o, h[2])), + g > 3 && (m += Nr(i, h[3])), + g > 4 && (m += Nr(r, h[4])), + g > 5 && (m += Nr(l, h[5])), + g > 6 && (m += Nr(s, h[6])), + g > 7 && (m += Nr(c, h[7])), + g > 8 && (m += Nr(d, h[8])), + g > 9 && (m += Nr(u, h[9])); + const p = _a(t, e.nodeIndex).renderText; + t.renderer.setValue(p, m); + } + return m; + })(t, e, n, a, o, i, r, l, s, c, d, u); + case 16384: + return (function(t, e, n, a, o, i, r, l, s, c, d, u) { + const m = Pa(t, e.nodeIndex), + h = m.instance; + let g = !1, + p = void 0; + const f = e.bindings.length; + return ( + f > 0 && + Ta(t, e, 0, n) && + ((g = !0), (p = ni(t, m, e, 0, n, p))), + f > 1 && + Ta(t, e, 1, a) && + ((g = !0), (p = ni(t, m, e, 1, a, p))), + f > 2 && + Ta(t, e, 2, o) && + ((g = !0), (p = ni(t, m, e, 2, o, p))), + f > 3 && + Ta(t, e, 3, i) && + ((g = !0), (p = ni(t, m, e, 3, i, p))), + f > 4 && + Ta(t, e, 4, r) && + ((g = !0), (p = ni(t, m, e, 4, r, p))), + f > 5 && + Ta(t, e, 5, l) && + ((g = !0), (p = ni(t, m, e, 5, l, p))), + f > 6 && + Ta(t, e, 6, s) && + ((g = !0), (p = ni(t, m, e, 6, s, p))), + f > 7 && + Ta(t, e, 7, c) && + ((g = !0), (p = ni(t, m, e, 7, c, p))), + f > 8 && + Ta(t, e, 8, d) && + ((g = !0), (p = ni(t, m, e, 8, d, p))), + f > 9 && + Ta(t, e, 9, u) && + ((g = !0), (p = ni(t, m, e, 9, u, p))), + p && h.ngOnChanges(p), + 65536 & e.flags && + ba(t, 256, e.nodeIndex) && + h.ngOnInit(), + 262144 & e.flags && h.ngDoCheck(), + g + ); + })(t, e, n, a, o, i, r, l, s, c, d, u); + case 32: + case 64: + case 128: + return (function(t, e, n, a, o, i, r, l, s, c, d, u) { + const m = e.bindings; + let h = !1; + const g = m.length; + if ( + (g > 0 && Ra(t, e, 0, n) && (h = !0), + g > 1 && Ra(t, e, 1, a) && (h = !0), + g > 2 && Ra(t, e, 2, o) && (h = !0), + g > 3 && Ra(t, e, 3, i) && (h = !0), + g > 4 && Ra(t, e, 4, r) && (h = !0), + g > 5 && Ra(t, e, 5, l) && (h = !0), + g > 6 && Ra(t, e, 6, s) && (h = !0), + g > 7 && Ra(t, e, 7, c) && (h = !0), + g > 8 && Ra(t, e, 8, d) && (h = !0), + g > 9 && Ra(t, e, 9, u) && (h = !0), + h) + ) { + const h = Oa(t, e.nodeIndex); + let p; + switch (201347067 & e.flags) { + case 32: + (p = new Array(m.length)), + g > 0 && (p[0] = n), + g > 1 && (p[1] = a), + g > 2 && (p[2] = o), + g > 3 && (p[3] = i), + g > 4 && (p[4] = r), + g > 5 && (p[5] = l), + g > 6 && (p[6] = s), + g > 7 && (p[7] = c), + g > 8 && (p[8] = d), + g > 9 && (p[9] = u); + break; + case 64: + (p = {}), + g > 0 && (p[m[0].name] = n), + g > 1 && (p[m[1].name] = a), + g > 2 && (p[m[2].name] = o), + g > 3 && (p[m[3].name] = i), + g > 4 && (p[m[4].name] = r), + g > 5 && (p[m[5].name] = l), + g > 6 && (p[m[6].name] = s), + g > 7 && (p[m[7].name] = c), + g > 8 && (p[m[8].name] = d), + g > 9 && (p[m[9].name] = u); + break; + case 128: + const t = n; + switch (g) { + case 1: + p = t.transform(n); + break; + case 2: + p = t.transform(a); + break; + case 3: + p = t.transform(a, o); + break; + case 4: + p = t.transform(a, o, i); + break; + case 5: + p = t.transform(a, o, i, r); + break; + case 6: + p = t.transform(a, o, i, r, l); + break; + case 7: + p = t.transform(a, o, i, r, l, s); + break; + case 8: + p = t.transform(a, o, i, r, l, s, c); + break; + case 9: + p = t.transform(a, o, i, r, l, s, c, d); + break; + case 10: + p = t.transform(a, o, i, r, l, s, c, d, u); + } + } + h.value = p; + } + return h; + })(t, e, n, a, o, i, r, l, s, c, d, u); + default: + throw "unreachable"; + } + })(t, e, a, o, i, r, l, s, c, d, u, m) + : (function(t, e, n) { + switch (201347067 & e.flags) { + case 1: + return (function(t, e, n) { + let a = !1; + for (let o = 0; o < n.length; o++) + yr(t, e, o, n[o]) && (a = !0); + return a; + })(t, e, n); + case 2: + return (function(t, e, n) { + const a = e.bindings; + let o = !1; + for (let i = 0; i < n.length; i++) + Ra(t, e, i, n[i]) && (o = !0); + if (o) { + let o = ""; + for (let t = 0; t < n.length; t++) o += Nr(n[t], a[t]); + o = e.text.prefix + o; + const i = _a(t, e.nodeIndex).renderText; + t.renderer.setValue(i, o); + } + return o; + })(t, e, n); + case 16384: + return (function(t, e, n) { + const a = Pa(t, e.nodeIndex), + o = a.instance; + let i = !1, + r = void 0; + for (let l = 0; l < n.length; l++) + Ta(t, e, l, n[l]) && + ((i = !0), (r = ni(t, a, e, l, n[l], r))); + return ( + r && o.ngOnChanges(r), + 65536 & e.flags && + ba(t, 256, e.nodeIndex) && + o.ngOnInit(), + 262144 & e.flags && o.ngDoCheck(), + i + ); + })(t, e, n); + case 32: + case 64: + case 128: + return (function(t, e, n) { + const a = e.bindings; + let o = !1; + for (let i = 0; i < n.length; i++) + Ra(t, e, i, n[i]) && (o = !0); + if (o) { + const o = Oa(t, e.nodeIndex); + let i; + switch (201347067 & e.flags) { + case 32: + i = n; + break; + case 64: + i = {}; + for (let e = 0; e < n.length; e++) + i[a[e].name] = n[e]; + break; + case 128: + const t = n[0], + o = n.slice(1); + i = t.transform(...o); + } + o.value = i; + } + return o; + })(t, e, n); + default: + throw "unreachable"; + } + })(t, e, a); + } + function Gr(t) { + const e = t.def; + if (4 & e.nodeFlags) + for (let n = 0; n < e.nodes.length; n++) { + const a = e.nodes[n]; + if (4 & a.flags) { + const e = Ca(t, n).template._projectedViews; + if (e) + for (let n = 0; n < e.length; n++) { + const a = e[n]; + (a.state |= 32), za(a, t); + } + } else 0 == (4 & a.childFlags) && (n += a.childCount); + } + } + function $r(t, e, n, a, o, i, r, l, s, c, d, u, m) { + return ( + 0 === n + ? (function(t, e, n, a, o, i, r, l, s, c, d, u) { + const m = e.bindings.length; + m > 0 && Da(t, e, 0, n), + m > 1 && Da(t, e, 1, a), + m > 2 && Da(t, e, 2, o), + m > 3 && Da(t, e, 3, i), + m > 4 && Da(t, e, 4, r), + m > 5 && Da(t, e, 5, l), + m > 6 && Da(t, e, 6, s), + m > 7 && Da(t, e, 7, c), + m > 8 && Da(t, e, 8, d), + m > 9 && Da(t, e, 9, u); + })(t, e, a, o, i, r, l, s, c, d, u, m) + : (function(t, e, n) { + for (let a = 0; a < n.length; a++) Da(t, e, a, n[a]); + })(t, e, a), + !1 + ); + } + function Zr(t, e) { + if (Ma(t, e.nodeIndex).dirty) + throw ha( + ya.createDebugContext(t, e.nodeIndex), + `Query ${e.query.id} not dirty`, + `Query ${e.query.id} dirty`, + 0 != (1 & t.state) + ); + } + function Qr(t) { + if (!(128 & t.state)) { + if ( + (tl(t, Xr.Destroy), Jr(t, Xr.Destroy), ai(t, 131072), t.disposables) + ) + for (let e = 0; e < t.disposables.length; e++) t.disposables[e](); + !(function(t) { + if (!(16 & t.state)) return; + const e = Fa(t); + if (e) { + const n = e.template._projectedViews; + n && (bo(n, n.indexOf(t)), ya.dirtyParentQueries(t)); + } + })(t), + t.renderer.destroyNode && + (function(t) { + const e = t.def.nodes.length; + for (let n = 0; n < e; n++) { + const e = t.def.nodes[n]; + 1 & e.flags + ? t.renderer.destroyNode(Ca(t, n).renderElement) + : 2 & e.flags + ? t.renderer.destroyNode(_a(t, n).renderText) + : (67108864 & e.flags || 134217728 & e.flags) && + Ma(t, n).destroy(); + } + })(t), + Ha(t) && t.renderer.destroy(), + (t.state |= 128); + } + } + const Xr = (function() { + var t = { + CreateViewNodes: 0, + CheckNoChanges: 1, + CheckNoChangesProjectedViews: 2, + CheckAndUpdate: 3, + CheckAndUpdateProjectedViews: 4, + Destroy: 5 + }; + return ( + (t[t.CreateViewNodes] = "CreateViewNodes"), + (t[t.CheckNoChanges] = "CheckNoChanges"), + (t[t.CheckNoChangesProjectedViews] = "CheckNoChangesProjectedViews"), + (t[t.CheckAndUpdate] = "CheckAndUpdate"), + (t[t.CheckAndUpdateProjectedViews] = "CheckAndUpdateProjectedViews"), + (t[t.Destroy] = "Destroy"), + t + ); + })(); + function Jr(t, e) { + const n = t.def; + if (33554432 & n.nodeFlags) + for (let a = 0; a < n.nodes.length; a++) { + const o = n.nodes[a]; + 33554432 & o.flags + ? el(Ca(t, a).componentView, e) + : 0 == (33554432 & o.childFlags) && (a += o.childCount); + } + } + function tl(t, e) { + const n = t.def; + if (16777216 & n.nodeFlags) + for (let a = 0; a < n.nodes.length; a++) { + const o = n.nodes[a]; + if (16777216 & o.flags) { + const n = Ca(t, a).viewContainer._embeddedViews; + for (let t = 0; t < n.length; t++) el(n[t], e); + } else 0 == (16777216 & o.childFlags) && (a += o.childCount); + } + } + function el(t, e) { + const n = t.state; + switch (e) { + case Xr.CheckNoChanges: + 0 == (128 & n) && + (12 == (12 & n) + ? Kr(t) + : 64 & n && nl(t, Xr.CheckNoChangesProjectedViews)); + break; + case Xr.CheckNoChangesProjectedViews: + 0 == (128 & n) && (32 & n ? Kr(t) : 64 & n && nl(t, e)); + break; + case Xr.CheckAndUpdate: + 0 == (128 & n) && + (12 == (12 & n) + ? Yr(t) + : 64 & n && nl(t, Xr.CheckAndUpdateProjectedViews)); + break; + case Xr.CheckAndUpdateProjectedViews: + 0 == (128 & n) && (32 & n ? Yr(t) : 64 & n && nl(t, e)); + break; + case Xr.Destroy: + Qr(t); + break; + case Xr.CreateViewNodes: + qr(t); + } + } + function nl(t, e) { + tl(t, e), Jr(t, e); + } + function al(t, e, n, a) { + if (!(t.def.nodeFlags & e && t.def.nodeFlags & n)) return; + const o = t.def.nodes.length; + for (let i = 0; i < o; i++) { + const o = t.def.nodes[i]; + if (o.flags & e && o.flags & n) + switch ((ya.setCurrentNode(t, o.nodeIndex), a)) { + case 0: + kr(t, o); + break; + case 1: + Zr(t, o); + } + (o.childFlags & e && o.childFlags & n) || (i += o.childCount); + } + } + let ol = !1; + function il(t, e, n, a, o, i) { + const r = o.injector.get(Vn); + return Vr(ll(t, o, r, e, n), a, i); + } + function rl(t, e, n, a, o, i) { + const r = o.injector.get(Vn), + l = ll(t, o, new Bl(r), e, n), + s = bl(a); + return Ll(yl.create, Vr, null, [l, s, i]); + } + function ll(t, e, n, a, o) { + const i = e.injector.get(dn), + r = e.injector.get(Le), + l = n.createRenderer(null, null); + return { + ngModule: e, + injector: t, + projectableNodes: a, + selectorOrNode: o, + sanitizer: i, + rendererFactory: n, + renderer: l, + errorHandler: r + }; + } + function sl(t, e, n, a) { + const o = bl(n); + return Ll(yl.create, Br, null, [t, e, o, a]); + } + function cl(t, e, n, a) { + return ( + (n = hl.get(e.element.componentProvider.provider.token) || bl(n)), + Ll(yl.create, Hr, null, [t, e, n, a]) + ); + } + function dl(t, e, n, a) { + return Ro( + t, + e, + n, + (function(t) { + const { hasOverrides: e, hasDeprecatedOverrides: n } = (function( + t + ) { + let e = !1, + n = !1; + return 0 === ul.size + ? { hasOverrides: e, hasDeprecatedOverrides: n } + : (t.providers.forEach(t => { + const a = ul.get(t.token); + 3840 & t.flags && + a && + ((e = !0), (n = n || a.deprecatedBehavior)); + }), + t.modules.forEach(t => { + ml.forEach((a, o) => { + Ct(o).providedIn === t && + ((e = !0), (n = n || a.deprecatedBehavior)); + }); + }), + { hasOverrides: e, hasDeprecatedOverrides: n }); + })(t); + return e + ? ((function(t) { + for (let e = 0; e < t.providers.length; e++) { + const a = t.providers[e]; + n && (a.flags |= 4096); + const o = ul.get(a.token); + o && + ((a.flags = (-3841 & a.flags) | o.flags), + (a.deps = Ka(o.deps)), + (a.value = o.value)); + } + if (ml.size > 0) { + let e = new Set(t.modules); + ml.forEach((a, o) => { + if (e.has(Ct(o).providedIn)) { + let e = { + token: o, + flags: a.flags | (n ? 4096 : 0), + deps: Ka(a.deps), + value: a.value, + index: t.providers.length + }; + t.providers.push(e), (t.providersByKey[ka(o)] = e); + } + }); + } + })((t = t.factory(() => va))), + t) + : t; + })(a) + ); + } + const ul = new Map(), + ml = new Map(), + hl = new Map(); + function gl(t) { + let e; + ul.set(t.token, t), + "function" == typeof t.token && + (e = Ct(t.token)) && + "function" == typeof e.providedIn && + ml.set(t.token, t); + } + function pl(t, e) { + const n = Ga(e.viewDefFactory), + a = Ga(n.nodes[0].element.componentView); + hl.set(t, a); + } + function fl() { + ul.clear(), ml.clear(), hl.clear(); + } + function bl(t) { + if (0 === ul.size) return t; + const e = (function(t) { + const e = []; + let n = null; + for (let a = 0; a < t.nodes.length; a++) { + const o = t.nodes[a]; + 1 & o.flags && (n = o), + n && + 3840 & o.flags && + ul.has(o.provider.token) && + (e.push(n.nodeIndex), (n = null)); + } + return e; + })(t); + if (0 === e.length) return t; + t = t.factory(() => va); + for (let a = 0; a < e.length; a++) n(t, e[a]); + return t; + function n(t, e) { + for (let n = e + 1; n < t.nodes.length; n++) { + const e = t.nodes[n]; + if (1 & e.flags) return; + if (3840 & e.flags) { + const t = e.provider, + n = ul.get(t.token); + n && + ((e.flags = (-3841 & e.flags) | n.flags), + (t.deps = Ka(n.deps)), + (t.value = n.value)); + } + } + } + } + function _l(t, e, n, a, o, i, r, l, s, c, d, u, m) { + const h = t.def.nodes[e]; + return ( + Wr(t, h, n, a, o, i, r, l, s, c, d, u, m), + 224 & h.flags ? Oa(t, e).value : void 0 + ); + } + function Cl(t, e, n, a, o, i, r, l, s, c, d, u, m) { + const h = t.def.nodes[e]; + return ( + $r(t, h, n, a, o, i, r, l, s, c, d, u, m), + 224 & h.flags ? Oa(t, e).value : void 0 + ); + } + function Pl(t) { + return Ll(yl.detectChanges, Yr, null, [t]); + } + function Ol(t) { + return Ll(yl.checkNoChanges, Kr, null, [t]); + } + function Ml(t) { + return Ll(yl.destroy, Qr, null, [t]); + } + const yl = (function() { + var t = { + create: 0, + detectChanges: 1, + checkNoChanges: 2, + destroy: 3, + handleEvent: 4 + }; + return ( + (t[t.create] = "create"), + (t[t.detectChanges] = "detectChanges"), + (t[t.checkNoChanges] = "checkNoChanges"), + (t[t.destroy] = "destroy"), + (t[t.handleEvent] = "handleEvent"), + t + ); + })(); + let vl, xl, kl; + function wl(t, e) { + (xl = t), (kl = e); + } + function Sl(t, e, n, a) { + return ( + wl(t, e), Ll(yl.handleEvent, t.def.handleEvent, null, [t, e, n, a]) + ); + } + function El(t, e) { + if (128 & t.state) throw pa(yl[vl]); + return ( + wl(t, Rl(t, 0)), + t.def.updateDirectives(function(t, n, a, ...o) { + const i = t.def.nodes[n]; + return ( + 0 === e ? Al(t, i, a, o) : Tl(t, i, a, o), + 16384 & i.flags && wl(t, Rl(t, n)), + 224 & i.flags ? Oa(t, i.nodeIndex).value : void 0 + ); + }, t) + ); + } + function Il(t, e) { + if (128 & t.state) throw pa(yl[vl]); + return ( + wl(t, Dl(t, 0)), + t.def.updateRenderer(function(t, n, a, ...o) { + const i = t.def.nodes[n]; + return ( + 0 === e ? Al(t, i, a, o) : Tl(t, i, a, o), + 3 & i.flags && wl(t, Dl(t, n)), + 224 & i.flags ? Oa(t, i.nodeIndex).value : void 0 + ); + }, t) + ); + } + function Al(t, e, n, a) { + if (Wr(t, e, n, ...a)) { + const r = 1 === n ? a[0] : a; + if (16384 & e.flags) { + const n = {}; + for (let t = 0; t < e.bindings.length; t++) { + const a = e.bindings[t], + l = r[t]; + 8 & a.flags && + (n[ + ((o = a.nonMinifiedName), + (i = void 0), + (i = o.replace(/[$@]/g, "_")), + `ng-reflect-${(o = i.replace( + hn, + (...t) => "-" + t[1].toLowerCase() + ))}`) + ] = gn(l)); + } + const a = e.parent, + l = Ca(t, a.nodeIndex).renderElement; + if (a.element.name) + for (let e in n) { + const a = n[e]; + null != a + ? t.renderer.setAttribute(l, e, a) + : t.renderer.removeAttribute(l, e); + } + else + t.renderer.setValue(l, `bindings=${JSON.stringify(n, null, 2)}`); + } + } + var o, i; + } + function Tl(t, e, n, a) { + $r(t, e, n, ...a); + } + function Rl(t, e) { + for (let n = e; n < t.def.nodes.length; n++) { + const e = t.def.nodes[n]; + if (16384 & e.flags && e.bindings && e.bindings.length) return n; + } + return null; + } + function Dl(t, e) { + for (let n = e; n < t.def.nodes.length; n++) { + const e = t.def.nodes[n]; + if (3 & e.flags && e.bindings && e.bindings.length) return n; + } + return null; + } + class Nl { + constructor(t, e) { + (this.view = t), + (this.nodeIndex = e), + null == e && (this.nodeIndex = e = 0), + (this.nodeDef = t.def.nodes[e]); + let n = this.nodeDef, + a = t; + for (; n && 0 == (1 & n.flags); ) n = n.parent; + if (!n) for (; !n && a; ) (n = Ba(a)), (a = a.parent); + (this.elDef = n), (this.elView = a); + } + get elOrCompView() { + return ( + Ca(this.elView, this.elDef.nodeIndex).componentView || this.view + ); + } + get injector() { + return So(this.elView, this.elDef); + } + get component() { + return this.elOrCompView.component; + } + get context() { + return this.elOrCompView.context; + } + get providerTokens() { + const t = []; + if (this.elDef) + for ( + let e = this.elDef.nodeIndex + 1; + e <= this.elDef.nodeIndex + this.elDef.childCount; + e++ + ) { + const n = this.elView.def.nodes[e]; + 20224 & n.flags && t.push(n.provider.token), (e += n.childCount); + } + return t; + } + get references() { + const t = {}; + if (this.elDef) { + zl(this.elView, this.elDef, t); + for ( + let e = this.elDef.nodeIndex + 1; + e <= this.elDef.nodeIndex + this.elDef.childCount; + e++ + ) { + const n = this.elView.def.nodes[e]; + 20224 & n.flags && zl(this.elView, n, t), (e += n.childCount); + } + } + return t; + } + get componentRenderElement() { + const t = (function(t) { + for (; t && !Ha(t); ) t = t.parent; + return t.parent ? Ca(t.parent, Ba(t).nodeIndex) : null; + })(this.elOrCompView); + return t ? t.renderElement : void 0; + } + get renderNode() { + return 2 & this.nodeDef.flags + ? Va(this.view, this.nodeDef) + : Va(this.elView, this.elDef); + } + logError(t, ...e) { + let n, a; + 2 & this.nodeDef.flags + ? ((n = this.view.def), (a = this.nodeDef.nodeIndex)) + : ((n = this.elView.def), (a = this.elDef.nodeIndex)); + const o = (function(t, e) { + let n = -1; + for (let a = 0; a <= e; a++) 3 & t.nodes[a].flags && n++; + return n; + })(n, a); + let i = -1; + n.factory(() => (++i === o ? t.error.bind(t, ...e) : va)), + i < o && + (t.error( + "Illegal state: the ViewDefinitionFactory did not call the logger!" + ), + t.error(...e)); + } + } + function zl(t, e, n) { + for (let a in e.references) n[a] = Sr(t, e, e.references[a]); + } + function Ll(t, e, n, a) { + const o = vl, + i = xl, + r = kl; + try { + vl = t; + const s = e.apply(n, a); + return (xl = i), (kl = r), (vl = o), s; + } catch (l) { + if (De(l) || !xl) throw l; + throw (function(t, e) { + return ( + t instanceof Error || (t = new Error(t.toString())), ga(t, e), t + ); + })(l, Fl()); + } + } + function Fl() { + return xl ? new Nl(xl, kl) : null; + } + class Bl { + constructor(t) { + this.delegate = t; + } + createRenderer(t, e) { + return new Vl(this.delegate.createRenderer(t, e)); + } + begin() { + this.delegate.begin && this.delegate.begin(); + } + end() { + this.delegate.end && this.delegate.end(); + } + whenRenderingDone() { + return this.delegate.whenRenderingDone + ? this.delegate.whenRenderingDone() + : Promise.resolve(null); + } + } + class Vl { + constructor(t) { + (this.delegate = t), + (this.debugContextFactory = Fl), + (this.data = this.delegate.data); + } + createDebugContext(t) { + return this.debugContextFactory(t); + } + destroyNode(t) { + !(function(t) { + sr.delete(t.nativeNode); + })(cr(t)), + this.delegate.destroyNode && this.delegate.destroyNode(t); + } + destroy() { + this.delegate.destroy(); + } + createElement(t, e) { + const n = this.delegate.createElement(t, e), + a = this.createDebugContext(n); + if (a) { + const e = new lr(n, null, a); + (e.name = t), dr(e); + } + return n; + } + createComment(t) { + const e = this.delegate.createComment(t), + n = this.createDebugContext(e); + return n && dr(new rr(e, null, n)), e; + } + createText(t) { + const e = this.delegate.createText(t), + n = this.createDebugContext(e); + return n && dr(new rr(e, null, n)), e; + } + appendChild(t, e) { + const n = cr(t), + a = cr(e); + n && a && n instanceof lr && n.addChild(a), + this.delegate.appendChild(t, e); + } + insertBefore(t, e, n) { + const a = cr(t), + o = cr(e), + i = cr(n); + a && o && a instanceof lr && a.insertBefore(i, o), + this.delegate.insertBefore(t, e, n); + } + removeChild(t, e) { + const n = cr(t), + a = cr(e); + n && a && n instanceof lr && n.removeChild(a), + this.delegate.removeChild(t, e); + } + selectRootElement(t, e) { + const n = this.delegate.selectRootElement(t, e), + a = Fl(); + return a && dr(new lr(n, null, a)), n; + } + setAttribute(t, e, n, a) { + const o = cr(t); + o && o instanceof lr && (o.attributes[a ? a + ":" + e : e] = n), + this.delegate.setAttribute(t, e, n, a); + } + removeAttribute(t, e, n) { + const a = cr(t); + a && a instanceof lr && (a.attributes[n ? n + ":" + e : e] = null), + this.delegate.removeAttribute(t, e, n); + } + addClass(t, e) { + const n = cr(t); + n && n instanceof lr && (n.classes[e] = !0), + this.delegate.addClass(t, e); + } + removeClass(t, e) { + const n = cr(t); + n && n instanceof lr && (n.classes[e] = !1), + this.delegate.removeClass(t, e); + } + setStyle(t, e, n, a) { + const o = cr(t); + o && o instanceof lr && (o.styles[e] = n), + this.delegate.setStyle(t, e, n, a); + } + removeStyle(t, e, n) { + const a = cr(t); + a && a instanceof lr && (a.styles[e] = null), + this.delegate.removeStyle(t, e, n); + } + setProperty(t, e, n) { + const a = cr(t); + a && a instanceof lr && (a.properties[e] = n), + this.delegate.setProperty(t, e, n); + } + listen(t, e, n) { + if ("string" != typeof t) { + const a = cr(t); + a && a.listeners.push(new ir(e, n)); + } + return this.delegate.listen(t, e, n); + } + parentNode(t) { + return this.delegate.parentNode(t); + } + nextSibling(t) { + return this.delegate.nextSibling(t); + } + setValue(t, e) { + return this.delegate.setValue(t, e); + } + } + function Hl(t, e, n) { + return new jl(t, e, n); + } + class jl extends Nn { + constructor(t, e, n) { + super(), + (this.moduleType = t), + (this._bootstrapComponents = e), + (this._ngModuleDefFactory = n); + } + create(t) { + !(function() { + if (ol) return; + ol = !0; + const t = Ve() + ? { + setCurrentNode: wl, + createRootView: rl, + createEmbeddedView: sl, + createComponentView: cl, + createNgModuleRef: dl, + overrideProvider: gl, + overrideComponentView: pl, + clearOverrides: fl, + checkAndUpdateView: Pl, + checkNoChangesView: Ol, + destroyView: Ml, + createDebugContext: (t, e) => new Nl(t, e), + handleEvent: Sl, + updateDirectives: El, + updateRenderer: Il + } + : { + setCurrentNode: () => {}, + createRootView: il, + createEmbeddedView: Br, + createComponentView: Hr, + createNgModuleRef: Ro, + overrideProvider: va, + overrideComponentView: va, + clearOverrides: va, + checkAndUpdateView: Yr, + checkNoChangesView: Kr, + destroyView: Qr, + createDebugContext: (t, e) => new Nl(t, e), + handleEvent: (t, e, n, a) => t.def.handleEvent(t, e, n, a), + updateDirectives: (t, e) => + t.def.updateDirectives(0 === e ? _l : Cl, t), + updateRenderer: (t, e) => + t.def.updateRenderer(0 === e ? _l : Cl, t) + }; + (ya.setCurrentNode = t.setCurrentNode), + (ya.createRootView = t.createRootView), + (ya.createEmbeddedView = t.createEmbeddedView), + (ya.createComponentView = t.createComponentView), + (ya.createNgModuleRef = t.createNgModuleRef), + (ya.overrideProvider = t.overrideProvider), + (ya.overrideComponentView = t.overrideComponentView), + (ya.clearOverrides = t.clearOverrides), + (ya.checkAndUpdateView = t.checkAndUpdateView), + (ya.checkNoChangesView = t.checkNoChangesView), + (ya.destroyView = t.destroyView), + (ya.resolveDep = ti), + (ya.createDebugContext = t.createDebugContext), + (ya.handleEvent = t.handleEvent), + (ya.updateDirectives = t.updateDirectives), + (ya.updateRenderer = t.updateRenderer), + (ya.dirtyParentQueries = xr); + })(); + const e = (function(t) { + const e = Array.from(t.providers), + n = Array.from(t.modules), + a = {}; + for (const o in t.providersByKey) a[o] = t.providersByKey[o]; + return { + factory: t.factory, + isRoot: t.isRoot, + providers: e, + modules: n, + providersByKey: a + }; + })(Ga(this._ngModuleDefFactory)); + return ya.createNgModuleRef( + this.moduleType, + t || Wt.NULL, + this._bootstrapComponents, + e + ); + } + } + class Ul {} + const ql = (() => { + class t {} + return ( + (t.DEV_API_ENDPOINT = "http://localhost:51000"), + (t.DEV_WS_ENDPOINT = "ws://localhost:51001"), + (t.API_ENDPOINT = ""), + (t.WS_ENDPOINT_OVERRIDE = null), + t + ); + })(); + var Kl = (function(t) { + return ( + (t[(t.Name = 0)] = "Name"), + (t[(t.MaxDifficulty = 1)] = "MaxDifficulty"), + (t[(t.LevelAuthor = 2)] = "LevelAuthor"), + t + ); + })({}); + const Yl = new O(t => t.complete()); + function Wl(t) { + return t + ? (function(t) { + return new O(e => t.schedule(() => e.complete())); + })(t) + : Yl; + } + function Gl(t) { + const e = new O(e => { + e.next(t), e.complete(); + }); + return (e._isScalar = !0), (e.value = t), e; + } + function $l(...t) { + let e = t[t.length - 1]; + switch ((E(e) ? t.pop() : (e = void 0), t.length)) { + case 0: + return Wl(e); + case 1: + return e ? K(t, e) : Gl(t[0]); + default: + return K(t, e); + } + } + function Zl(t, e) { + return W(t, e, 1); + } + function Ql(t, e) { + return function(n) { + return n.lift(new Xl(t, e)); + }; + } + class Xl { + constructor(t, e) { + (this.predicate = t), (this.thisArg = e); + } + call(t, e) { + return e.subscribe(new Jl(t, this.predicate, this.thisArg)); + } + } + class Jl extends p { + constructor(t, e, n) { + super(t), (this.predicate = e), (this.thisArg = n), (this.count = 0); + } + _next(t) { + let e; + try { + e = this.predicate.call(this.thisArg, t, this.count++); + } catch (n) { + return void this.destination.error(n); + } + e && this.destination.next(t); + } + } + class ts {} + const es = new Ht("Location Initialized"); + class ns {} + const as = new Ht("appBaseHref"), + os = (() => { + class t { + constructor(e, n) { + (this._subject = new li()), + (this._urlChangeListeners = []), + (this._platformStrategy = e); + const a = this._platformStrategy.getBaseHref(); + (this._platformLocation = n), + (this._baseHref = t.stripTrailingSlash(is(a))), + 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(e, n = "") { + return ( + this.path() == this.normalize(e + t.normalizeQueryParams(n)) + ); + } + normalize(e) { + return t.stripTrailingSlash( + (function(t, e) { + return t && e.startsWith(t) ? e.substring(t.length) : e; + })(this._baseHref, is(e)) + ); + } + prepareExternalUrl(t) { + return ( + t && "/" !== t[0] && (t = "/" + t), + this._platformStrategy.prepareExternalUrl(t) + ); + } + go(e, n = "", a = null) { + this._platformStrategy.pushState(a, "", e, n), + this._notifyUrlChangeListeners( + this.prepareExternalUrl(e + t.normalizeQueryParams(n)), + a + ); + } + replaceState(e, n = "", a = null) { + this._platformStrategy.replaceState(a, "", e, n), + this._notifyUrlChangeListeners( + this.prepareExternalUrl(e + t.normalizeQueryParams(n)), + a + ); + } + forward() { + this._platformStrategy.forward(); + } + back() { + this._platformStrategy.back(); + } + onUrlChange(t) { + this._urlChangeListeners.push(t), + 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 + }); + } + static normalizeQueryParams(t) { + return t && "?" !== t[0] ? "?" + t : t; + } + static joinWithSlash(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 + ); + } + static stripTrailingSlash(t) { + const e = t.match(/#|\?|$/), + n = (e && e.index) || t.length; + return t.slice(0, n - ("/" === t[n - 1] ? 1 : 0)) + t.slice(n); + } + } + return t; + })(); + function is(t) { + return t.replace(/\/index.html$/, ""); + } + const rs = (() => + class extends ns { + constructor(t, e) { + super(), + (this._platformLocation = t), + (this._baseHref = ""), + null != e && (this._baseHref = e); + } + onPopState(t) { + 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 = os.joinWithSlash(this._baseHref, t); + return e.length > 0 ? "#" + e : e; + } + pushState(t, e, n, a) { + let o = this.prepareExternalUrl(n + os.normalizeQueryParams(a)); + 0 == o.length && (o = this._platformLocation.pathname), + this._platformLocation.pushState(t, e, o); + } + replaceState(t, e, n, a) { + let o = this.prepareExternalUrl(n + os.normalizeQueryParams(a)); + 0 == o.length && (o = this._platformLocation.pathname), + this._platformLocation.replaceState(t, e, o); + } + forward() { + this._platformLocation.forward(); + } + back() { + this._platformLocation.back(); + } + })(), + ls = (() => + class extends ns { + constructor(t, e) { + if ( + (super(), + (this._platformLocation = t), + 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; + } + onPopState(t) { + this._platformLocation.onPopState(t), + this._platformLocation.onHashChange(t); + } + getBaseHref() { + return this._baseHref; + } + prepareExternalUrl(t) { + return os.joinWithSlash(this._baseHref, t); + } + path(t = !1) { + const e = + this._platformLocation.pathname + + os.normalizeQueryParams(this._platformLocation.search), + n = this._platformLocation.hash; + return n && t ? `${e}${n}` : e; + } + pushState(t, e, n, a) { + const o = this.prepareExternalUrl(n + os.normalizeQueryParams(a)); + this._platformLocation.pushState(t, e, o); + } + replaceState(t, e, n, a) { + const o = this.prepareExternalUrl(n + os.normalizeQueryParams(a)); + this._platformLocation.replaceState(t, e, o); + } + forward() { + this._platformLocation.forward(); + } + back() { + this._platformLocation.back(); + } + })(), + ss = void 0; + var cs = [ + "en", + [["a", "p"], ["AM", "PM"], ss], + [["AM", "PM"], ss, ss], + [ + ["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"] + ], + ss, + [ + ["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" + ] + ], + ss, + [["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}", ss, "{1} 'at' {0}", ss], + [ + ".", + ",", + ";", + "%", + "+", + "-", + "E", + "\xd7", + "\u2030", + "\u221e", + "NaN", + ":" + ], + ["#,##0.###", "#,##0%", "\xa4#,##0.00", "#E0"], + "$", + "US Dollar", + {}, + function(t) { + let e = Math.floor(Math.abs(t)), + n = t.toString().replace(/^[^.]*\.?/, "").length; + return 1 === e && 0 === n ? 1 : 5; + } + ]; + const ds = {}, + us = (function() { + var t = { Zero: 0, One: 1, Two: 2, Few: 3, Many: 4, Other: 5 }; + return ( + (t[t.Zero] = "Zero"), + (t[t.One] = "One"), + (t[t.Two] = "Two"), + (t[t.Few] = "Few"), + (t[t.Many] = "Many"), + (t[t.Other] = "Other"), + t + ); + })(), + ms = new Ht("UseV4Plurals"); + class hs {} + const gs = (() => + class extends hs { + constructor(t, e) { + super(), (this.locale = t), (this.deprecatedPluralFn = e); + } + getPluralCategory(t, e) { + switch ( + this.deprecatedPluralFn + ? this.deprecatedPluralFn(e || this.locale, t) + : (function(t) { + return (function(t) { + const e = t.toLowerCase().replace(/_/g, "-"); + let n = ds[e]; + if (n) return n; + const a = e.split("-")[0]; + if ((n = ds[a])) return n; + if ("en" === a) return cs; + throw new Error( + `Missing locale data for the locale "${t}".` + ); + })(t)[18]; + })(e || this.locale)(t) + ) { + case us.Zero: + return "zero"; + case us.One: + return "one"; + case us.Two: + return "two"; + case us.Few: + return "few"; + case us.Many: + return "many"; + default: + return "other"; + } + } + })(); + function ps(t, e) { + e = encodeURIComponent(e); + for (const n of t.split(";")) { + const t = n.indexOf("="), + [a, o] = -1 == t ? [n, ""] : [n.slice(0, t), n.slice(t + 1)]; + if (a.trim() === e) return decodeURIComponent(o); + } + return null; + } + class fs {} + const bs = (() => + class { + constructor(t, e, n, a) { + (this._iterableDiffers = t), + (this._keyValueDiffers = e), + (this._ngEl = n), + (this._renderer = a), + (this._initialClasses = []); + } + getValue() { + return null; + } + setClass(t) { + this._removeClasses(this._initialClasses), + (this._initialClasses = + "string" == typeof t ? t.split(/\s+/) : []), + this._applyClasses(this._initialClasses), + this._applyClasses(this._rawClass); + } + setNgClass(t) { + this._removeClasses(this._rawClass), + this._applyClasses(this._initialClasses), + (this._iterableDiffer = null), + (this._keyValueDiffer = null), + (this._rawClass = "string" == typeof t ? t.split(/\s+/) : t), + this._rawClass && + (Mn(this._rawClass) + ? (this._iterableDiffer = this._iterableDiffers + .find(this._rawClass) + .create()) + : (this._keyValueDiffer = this._keyValueDiffers + .find(this._rawClass) + .create())); + } + applyChanges() { + if (this._iterableDiffer) { + const t = this._iterableDiffer.diff(this._rawClass); + t && this._applyIterableChanges(t); + } else if (this._keyValueDiffer) { + const t = this._keyValueDiffer.diff(this._rawClass); + t && this._applyKeyValueChanges(t); + } + } + _applyKeyValueChanges(t) { + t.forEachAddedItem(t => this._toggleClass(t.key, t.currentValue)), + t.forEachChangedItem(t => + this._toggleClass(t.key, t.currentValue) + ), + t.forEachRemovedItem(t => { + t.previousValue && this._toggleClass(t.key, !1); + }); + } + _applyIterableChanges(t) { + t.forEachAddedItem(t => { + if ("string" != typeof t.item) + throw new Error( + `NgClass can only toggle CSS classes expressed as strings, got ${Ot( + t.item + )}` + ); + this._toggleClass(t.item, !0); + }), + t.forEachRemovedItem(t => this._toggleClass(t.item, !1)); + } + _applyClasses(t) { + t && + (Array.isArray(t) || t instanceof Set + ? t.forEach(t => this._toggleClass(t, !0)) + : Object.keys(t).forEach(e => this._toggleClass(e, !!t[e]))); + } + _removeClasses(t) { + t && + (Array.isArray(t) || t instanceof Set + ? t.forEach(t => this._toggleClass(t, !1)) + : Object.keys(t).forEach(t => this._toggleClass(t, !1))); + } + _toggleClass(t, e) { + (t = t.trim()) && + t.split(/\s+/g).forEach(t => { + e + ? this._renderer.addClass(this._ngEl.nativeElement, t) + : this._renderer.removeClass(this._ngEl.nativeElement, t); + }); + } + })(), + _s = (() => { + class t { + constructor(t) { + this._delegate = t; + } + getValue() { + return this._delegate.getValue(); + } + } + return (t.ngDirectiveDef = void 0), t; + })(), + Cs = (() => + class extends _s { + constructor(t) { + super(t); + } + set klass(t) { + this._delegate.setClass(t); + } + set ngClass(t) { + this._delegate.setNgClass(t); + } + ngDoCheck() { + this._delegate.applyChanges(); + } + })(); + class Ps { + constructor(t, e, n, a) { + (this.$implicit = t), + (this.ngForOf = e), + (this.index = n), + (this.count = a); + } + 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; + } + } + const Os = (() => + class { + constructor(t, e, n) { + (this._viewContainer = t), + (this._template = e), + (this._differs = n), + (this._ngForOfDirty = !0), + (this._differ = null); + } + set ngForOf(t) { + (this._ngForOf = t), (this._ngForOfDirty = !0); + } + set ngForTrackBy(t) { + Ve() && + null != t && + "function" != typeof t && + console && + console.warn && + console.warn( + `trackBy must be a function, but received ${JSON.stringify( + t + )}. ` + + "See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information." + ), + (this._trackByFn = t); + } + get ngForTrackBy() { + return this._trackByFn; + } + set ngForTemplate(t) { + t && (this._template = t); + } + ngDoCheck() { + if (this._ngForOfDirty) { + this._ngForOfDirty = !1; + const n = this._ngForOf; + if (!this._differ && n) + try { + this._differ = this._differs + .find(n) + .create(this.ngForTrackBy); + } catch (e) { + throw new Error( + `Cannot find a differ supporting object '${n}' of type '${((t = n), + t.name || + typeof t)}'. NgFor only supports binding to Iterables such as Arrays.` + ); + } + } + var t; + if (this._differ) { + const t = this._differ.diff(this._ngForOf); + t && this._applyChanges(t); + } + } + _applyChanges(t) { + const e = []; + t.forEachOperation((t, n, a) => { + if (null == t.previousIndex) { + const n = this._viewContainer.createEmbeddedView( + this._template, + new Ps(null, this._ngForOf, -1, -1), + a + ), + o = new Ms(t, n); + e.push(o); + } else if (null == a) this._viewContainer.remove(n); + else { + const o = this._viewContainer.get(n); + this._viewContainer.move(o, a); + const i = new Ms(t, o); + e.push(i); + } + }); + for (let n = 0; n < e.length; n++) + this._perViewChange(e[n].view, e[n].record); + for (let n = 0, a = this._viewContainer.length; n < a; n++) { + const t = this._viewContainer.get(n); + (t.context.index = n), + (t.context.count = a), + (t.context.ngForOf = this._ngForOf); + } + t.forEachIdentityChange(t => { + this._viewContainer.get(t.currentIndex).context.$implicit = + t.item; + }); + } + _perViewChange(t, e) { + t.context.$implicit = e.item; + } + static ngTemplateContextGuard(t, e) { + return !0; + } + })(); + class Ms { + constructor(t, e) { + (this.record = t), (this.view = e); + } + } + const ys = (() => + class { + constructor(t, e) { + (this._viewContainer = t), + (this._context = new vs()), + (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) { + xs("ngIfThen", t), + (this._thenTemplateRef = t), + (this._thenViewRef = null), + this._updateView(); + } + set ngIfElse(t) { + xs("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 ngTemplateGuard_ngIf(t, e) { + return !0; + } + })(); + class vs { + constructor() { + (this.$implicit = null), (this.ngIf = null); + } + } + function xs(t, e) { + if (e && !e.createEmbeddedView) + throw new Error( + `${t} must be a TemplateRef, but received '${Ot(e)}'.` + ); + } + class ks { + 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(); + } + } + const ws = (() => + class { + 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 < this._defaultViews.length; e++) + this._defaultViews[e].enforceState(t); + } + } + })(), + Ss = (() => + class { + constructor(t, e, n) { + (this.ngSwitch = n), n._addCase(), (this._view = new ks(t, e)); + } + ngDoCheck() { + this._view.enforceState( + this.ngSwitch._matchCase(this.ngSwitchCase) + ); + } + })(); + class Es {} + const Is = (() => + class { + constructor(t, e, n) { + (this._ngEl = t), (this._differs = e), (this._renderer = n); + } + getValue() { + return null; + } + setNgStyle(t) { + (this._ngStyle = t), + !this._differ && + t && + (this._differ = this._differs.find(t).create()); + } + applyChanges() { + if (this._differ) { + const t = this._differ.diff(this._ngStyle); + t && this._applyChanges(t); + } + } + _applyChanges(t) { + t.forEachRemovedItem(t => this._setStyle(t.key, null)), + t.forEachAddedItem(t => this._setStyle(t.key, t.currentValue)), + t.forEachChangedItem(t => + this._setStyle(t.key, t.currentValue) + ); + } + _setStyle(t, e) { + const [n, a] = t.split("."); + null != (e = null != e && a ? `${e}${a}` : e) + ? this._renderer.setStyle(this._ngEl.nativeElement, n, e) + : this._renderer.removeStyle(this._ngEl.nativeElement, n); + } + })(), + As = (() => { + class t { + constructor(t) { + this._delegate = t; + } + getValue() { + return this._delegate.getValue(); + } + } + return (t.ngDirectiveDef = void 0), t; + })(), + Ts = (() => + class extends As { + constructor(t) { + super(t); + } + set ngStyle(t) { + this._delegate.setNgStyle(t); + } + ngDoCheck() { + this._delegate.applyChanges(); + } + })(); + class Rs { + createSubscription(t, e) { + return t.subscribe({ + next: e, + error: t => { + throw t; + } + }); + } + dispose(t) { + t.unsubscribe(); + } + onDestroy(t) { + t.unsubscribe(); + } + } + class Ds { + createSubscription(t, e) { + return t.then(e, t => { + throw t; + }); + } + dispose(t) {} + onDestroy(t) {} + } + const Ns = new Ds(), + zs = new Rs(), + Ls = (() => { + class t { + constructor(t) { + (this._ref = t), + (this._latestValue = null), + (this._latestReturnedValue = 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)) + : Cn(this._latestValue, this._latestReturnedValue) + ? this._latestReturnedValue + : ((this._latestReturnedValue = this._latestValue), + On.wrap(this._latestValue)) + : (t && this._subscribe(t), + (this._latestReturnedValue = this._latestValue), + 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 (pn(e)) return Ns; + if (fn(e)) return zs; + throw Error(`InvalidPipeArgument: '${e}' for pipe '${Ot(t)}'`); + } + _dispose() { + this._strategy.dispose(this._subscription), + (this._latestValue = null), + (this._latestReturnedValue = null), + (this._subscription = null), + (this._obj = null); + } + _updateLatestValue(t, e) { + t === this._obj && + ((this._latestValue = e), this._ref.markForCheck()); + } + } + return t; + })(), + Fs = (() => class {})(), + Bs = new Ht("DocumentToken"), + Vs = "browser", + Hs = "server"; + function js(t) { + return t === Vs; + } + function Us(t) { + return t === Hs; + } + const qs = (() => { + class t {} + return ( + (t.ngInjectableDef = bt({ + providedIn: "root", + factory: () => new Ks(It(Bs), window, It(Le)) + })), + t + ); + })(); + class Ks { + constructor(t, e, n) { + (this.document = t), + (this.window = e), + (this.errorHandler = n), + (this.offset = () => [0, 0]); + } + setOffset(t) { + this.offset = Array.isArray(t) ? () => t : t; + } + getScrollPosition() { + return this.supportScrollRestoration() + ? [this.window.scrollX, this.window.scrollY] + : [0, 0]; + } + scrollToPosition(t) { + this.supportScrollRestoration() && this.window.scrollTo(t[0], t[1]); + } + scrollToAnchor(t) { + if (this.supportScrollRestoration()) { + t = + this.window.CSS && this.window.CSS.escape + ? this.window.CSS.escape(t) + : t.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g, "\\$1"); + try { + const n = this.document.querySelector(`#${t}`); + if (n) return void this.scrollToElement(n); + const a = this.document.querySelector(`[name='${t}']`); + if (a) return void this.scrollToElement(a); + } catch (e) { + this.errorHandler.handleError(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, + a = e.top + this.window.pageYOffset, + o = this.offset(); + this.window.scrollTo(n - o[0], a - o[1]); + } + supportScrollRestoration() { + try { + return !!this.window && !!this.window.scrollTo; + } catch (t) { + return !1; + } + } + } + class Ys {} + class Ws {} + class Gs { + 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), + a = n.toLowerCase(), + o = t.slice(e + 1).trim(); + this.maybeSetNormalizedName(n, a), + this.headers.has(a) + ? this.headers.get(a).push(o) + : this.headers.set(a, [o]); + } + }); + } + : () => { + (this.headers = new Map()), + Object.keys(t).forEach(e => { + let n = t[e]; + const a = e.toLowerCase(); + "string" == typeof n && (n = [n]), + n.length > 0 && + (this.headers.set(a, n), + this.maybeSetNormalizedName(e, a)); + }); + }) + : (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 Gs + ? 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 Gs(); + return ( + (e.lazyInit = + this.lazyInit && this.lazyInit instanceof Gs + ? 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 a = ("a" === t.op ? this.headers.get(e) : void 0) || []; + a.push(...n), this.headers.set(e, a); + break; + case "d": + const o = t.value; + if (o) { + let t = this.headers.get(e); + if (!t) return; + 0 === (t = t.filter(t => -1 === o.indexOf(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 $s { + encodeKey(t) { + return Zs(t); + } + encodeValue(t) { + return Zs(t); + } + decodeKey(t) { + return decodeURIComponent(t); + } + decodeValue(t) { + return decodeURIComponent(t); + } + } + function Zs(t) { + return encodeURIComponent(t) + .replace(/%40/gi, "@") + .replace(/%3A/gi, ":") + .replace(/%24/gi, "$") + .replace(/%2C/gi, ",") + .replace(/%3B/gi, ";") + .replace(/%2B/gi, "+") + .replace(/%3D/gi, "=") + .replace(/%3F/gi, "?") + .replace(/%2F/gi, "/"); + } + class Qs { + constructor(t = {}) { + if ( + ((this.updates = null), + (this.cloneFrom = null), + (this.encoder = t.encoder || new $s()), + 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.split("&").forEach(t => { + const a = t.indexOf("="), + [o, i] = + -1 == a + ? [e.decodeKey(t), ""] + : [ + e.decodeKey(t.slice(0, a)), + e.decodeValue(t.slice(a + 1)) + ], + r = n.get(o) || []; + r.push(i), n.set(o, r); + }), + 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" }); + } + 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("&"); + }) + .join("&") + ); + } + clone(t) { + const e = new Qs({ 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(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(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)); + } + } + function Xs(t) { + return "undefined" != typeof ArrayBuffer && t instanceof ArrayBuffer; + } + function Js(t) { + return "undefined" != typeof Blob && t instanceof Blob; + } + function tc(t) { + return "undefined" != typeof FormData && t instanceof FormData; + } + class ec { + constructor(t, e, n, a) { + let o; + 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) || a + ? ((this.body = void 0 !== n ? n : null), (o = a)) + : (o = n), + o && + ((this.reportProgress = !!o.reportProgress), + (this.withCredentials = !!o.withCredentials), + o.responseType && (this.responseType = o.responseType), + o.headers && (this.headers = o.headers), + o.params && (this.params = o.params)), + this.headers || (this.headers = new Gs()), + this.params) + ) { + const t = this.params.toString(); + if (0 === t.length) this.urlWithParams = e; + else { + const n = e.indexOf("?"); + this.urlWithParams = + e + (-1 === n ? "?" : n < e.length - 1 ? "&" : "") + t; + } + } else (this.params = new Qs()), (this.urlWithParams = e); + } + serializeBody() { + return null === this.body + ? null + : Xs(this.body) || + Js(this.body) || + tc(this.body) || + "string" == typeof this.body + ? this.body + : this.body instanceof Qs + ? this.body.toString() + : "object" == typeof this.body || + "boolean" == typeof this.body || + Array.isArray(this.body) + ? JSON.stringify(this.body) + : this.body.toString(); + } + detectContentTypeHeader() { + return null === this.body + ? null + : tc(this.body) + ? null + : Js(this.body) + ? this.body.type || null + : Xs(this.body) + ? null + : "string" == typeof this.body + ? "text/plain" + : this.body instanceof Qs + ? "application/x-www-form-urlencoded;charset=UTF-8" + : "object" == typeof this.body || + "number" == typeof this.body || + Array.isArray(this.body) + ? "application/json" + : null; + } + clone(t = {}) { + const e = t.method || this.method, + n = t.url || this.url, + a = t.responseType || this.responseType, + o = void 0 !== t.body ? t.body : this.body, + i = + void 0 !== t.withCredentials + ? t.withCredentials + : this.withCredentials, + r = + void 0 !== t.reportProgress + ? t.reportProgress + : this.reportProgress; + let l = t.headers || this.headers, + s = t.params || this.params; + return ( + void 0 !== t.setHeaders && + (l = Object.keys(t.setHeaders).reduce( + (e, n) => e.set(n, t.setHeaders[n]), + l + )), + t.setParams && + (s = Object.keys(t.setParams).reduce( + (e, n) => e.set(n, t.setParams[n]), + s + )), + new ec(e, n, o, { + params: s, + headers: l, + reportProgress: r, + responseType: a, + withCredentials: i + }) + ); + } + } + const nc = (function() { + var t = { + Sent: 0, + UploadProgress: 1, + ResponseHeader: 2, + DownloadProgress: 3, + Response: 4, + User: 5 + }; + return ( + (t[t.Sent] = "Sent"), + (t[t.UploadProgress] = "UploadProgress"), + (t[t.ResponseHeader] = "ResponseHeader"), + (t[t.DownloadProgress] = "DownloadProgress"), + (t[t.Response] = "Response"), + (t[t.User] = "User"), + t + ); + })(); + class ac { + constructor(t, e = 200, n = "OK") { + (this.headers = t.headers || new Gs()), + (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 oc extends ac { + constructor(t = {}) { + super(t), (this.type = nc.ResponseHeader); + } + clone(t = {}) { + return new oc({ + 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 ic extends ac { + constructor(t = {}) { + super(t), + (this.type = nc.Response), + (this.body = void 0 !== t.body ? t.body : null); + } + clone(t = {}) { + return new ic({ + 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 rc extends ac { + 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 lc(t, e) { + return { + body: e, + headers: t.headers, + observe: t.observe, + params: t.params, + reportProgress: t.reportProgress, + responseType: t.responseType, + withCredentials: t.withCredentials + }; + } + const sc = (() => + class { + constructor(t) { + this.handler = t; + } + request(t, e, n = {}) { + let a; + if (t instanceof ec) a = t; + else { + let o = void 0; + o = n.headers instanceof Gs ? n.headers : new Gs(n.headers); + let i = void 0; + n.params && + (i = + n.params instanceof Qs + ? n.params + : new Qs({ fromObject: n.params })), + (a = new ec(t, e, void 0 !== n.body ? n.body : null, { + headers: o, + params: i, + reportProgress: n.reportProgress, + responseType: n.responseType || "json", + withCredentials: n.withCredentials + })); + } + const o = $l(a).pipe(Zl(t => this.handler.handle(t))); + if (t instanceof ec || "events" === n.observe) return o; + const i = o.pipe(Ql(t => t instanceof ic)); + switch (n.observe || "body") { + case "body": + switch (a.responseType) { + case "arraybuffer": + return i.pipe( + j(t => { + if (null !== t.body && !(t.body instanceof ArrayBuffer)) + throw new Error("Response is not an ArrayBuffer."); + return t.body; + }) + ); + case "blob": + return i.pipe( + j(t => { + if (null !== t.body && !(t.body instanceof Blob)) + throw new Error("Response is not a Blob."); + return t.body; + }) + ); + case "text": + return i.pipe( + j(t => { + if (null !== t.body && "string" != typeof t.body) + throw new Error("Response is not a string."); + return t.body; + }) + ); + case "json": + default: + return i.pipe(j(t => t.body)); + } + case "response": + return i; + 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 Qs().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, lc(n, e)); + } + post(t, e, n = {}) { + return this.request("POST", t, lc(n, e)); + } + put(t, e, n = {}) { + return this.request("PUT", t, lc(n, e)); + } + })(); + class cc { + constructor(t, e) { + (this.next = t), (this.interceptor = e); + } + handle(t) { + return this.interceptor.intercept(t, this.next); + } + } + const dc = new Ht("HTTP_INTERCEPTORS"), + uc = (() => + class { + intercept(t, e) { + return e.handle(t); + } + })(), + mc = /^\)\]\}',?\n/; + class hc {} + const gc = (() => + class { + constructor() {} + build() { + return new XMLHttpRequest(); + } + })(), + pc = (() => + class { + constructor(t) { + this.xhrFactory = t; + } + handle(t) { + if ("JSONP" === t.method) + throw new Error( + "Attempted to construct Jsonp request without JsonpClientModule installed." + ); + return new O(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 a = t.serializeBody(); + let o = null; + const i = () => { + if (null !== o) return o; + const e = 1223 === n.status ? 204 : n.status, + a = n.statusText || "OK", + i = new Gs(n.getAllResponseHeaders()), + r = + (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 (o = new oc({ + headers: i, + status: e, + statusText: a, + url: r + })); + }, + r = () => { + let { headers: a, status: o, statusText: r, url: l } = i(), + s = null; + 204 !== o && + (s = void 0 === n.response ? n.responseText : n.response), + 0 === o && (o = s ? 200 : 0); + let c = o >= 200 && o < 300; + if ("json" === t.responseType && "string" == typeof s) { + const t = s; + s = s.replace(mc, ""); + try { + s = "" !== s ? JSON.parse(s) : null; + } catch (d) { + (s = t), c && ((c = !1), (s = { error: d, text: s })); + } + } + c + ? (e.next( + new ic({ + body: s, + headers: a, + status: o, + statusText: r, + url: l || void 0 + }) + ), + e.complete()) + : e.error( + new rc({ + error: s, + headers: a, + status: o, + statusText: r, + url: l || void 0 + }) + ); + }, + l = t => { + const { url: a } = i(), + o = new rc({ + error: t, + status: n.status || 0, + statusText: n.statusText || "Unknown Error", + url: a || void 0 + }); + e.error(o); + }; + let s = !1; + const c = a => { + s || (e.next(i()), (s = !0)); + let o = { type: nc.DownloadProgress, loaded: a.loaded }; + a.lengthComputable && (o.total = a.total), + "text" === t.responseType && + n.responseText && + (o.partialText = n.responseText), + e.next(o); + }, + d = t => { + let n = { type: nc.UploadProgress, loaded: t.loaded }; + t.lengthComputable && (n.total = t.total), e.next(n); + }; + return ( + n.addEventListener("load", r), + n.addEventListener("error", l), + t.reportProgress && + (n.addEventListener("progress", c), + null !== a && + n.upload && + n.upload.addEventListener("progress", d)), + n.send(a), + e.next({ type: nc.Sent }), + () => { + n.removeEventListener("error", l), + n.removeEventListener("load", r), + t.reportProgress && + (n.removeEventListener("progress", c), + null !== a && + n.upload && + n.upload.removeEventListener("progress", d)), + n.abort(); + } + ); + }); + } + })(), + fc = new Ht("XSRF_COOKIE_NAME"), + bc = new Ht("XSRF_HEADER_NAME"); + class _c {} + const Cc = (() => + class { + 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 = ps(t, this.cookieName)), + (this.lastCookieString = t)), + this.lastToken + ); + } + })(), + Pc = (() => + class { + 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 a = this.tokenService.getToken(); + return ( + null === a || + t.headers.has(this.headerName) || + (t = t.clone({ headers: t.headers.set(this.headerName, a) })), + e.handle(t) + ); + } + })(), + Oc = (() => + class { + constructor(t, e) { + (this.backend = t), (this.injector = e), (this.chain = null); + } + handle(t) { + if (null === this.chain) { + const t = this.injector.get(dc, []); + this.chain = t.reduceRight( + (t, e) => new cc(t, e), + this.backend + ); + } + return this.chain.handle(t); + } + })(), + Mc = (() => { + class t { + static disable() { + return { + ngModule: t, + providers: [{ provide: Pc, useClass: uc }] + }; + } + static withOptions(e = {}) { + return { + ngModule: t, + providers: [ + e.cookieName ? { provide: fc, useValue: e.cookieName } : [], + e.headerName ? { provide: bc, useValue: e.headerName } : [] + ] + }; + } + } + return t; + })(), + yc = (() => class {})(), + vc = (() => { + class t { + constructor(t) { + (this.http = t), (this.hostname = ql.API_ENDPOINT); + } + getModStatus() { + return this.http.get(this.hostname + "/host/mod/status"); + } + installModStep1() { + return this.http.post( + this.hostname + "/host/mod/install/step1", + "" + ); + } + installModStep2() { + return this.http.post( + this.hostname + "/host/mod/install/step2", + "" + ); + } + installModStep3() { + return this.http.post( + this.hostname + "/host/mod/install/step3", + "" + ); + } + resetAssets() { + return this.http.post( + this.hostname + "/host/mod/resetassets", + "" + ); + } + uninstallBeatSaber() { + return this.http.post( + this.hostname + "/host/mod/uninstallbeatsaber", + "" + ); + } + getNetInfo() { + return this.http.get(this.hostname + "/host/mod/netinfo"); + } + getConfig() { + return this.http.get(this.hostname + "/host/beatsaber/config"); + } + uploadFile(t) { + return this.http.post( + this.hostname + "/host/beatsaber/upload", + t + ); + } + commitConfig() { + return this.http.post( + this.hostname + "/host/beatsaber/commitconfig", + "" + ); + } + reloadSongsFromFolders() { + return this.http.post( + this.hostname + "/host/beatsaber/reloadsongfolders", + "" + ); + } + putConfig(t) { + return this.http.put(this.hostname + "/host/beatsaber/config", t); + } + autoCreatePlaylists(t, e) { + return this.http.post( + this.hostname + + "/host/beatsaber/playlist/autocreate?sortorder=" + + Kl[t] + + "maxnumpernameplaylist=" + + e, + {} + ); + } + restoreCommittedConfig() { + return this.http.post( + this.hostname + + "/host/beatsaber/config/restore?configtype=committed", + {} + ); + } + revertConfig() { + return this.http.delete(this.hostname + "/host/beatsaber/config"); + } + postLogs(t) { + return this.http.post( + this.hostname + + "/host/mod/postlogs?tag=" + + encodeURIComponent(t), + {} + ); + } + getImageBlob(t) { + return this.http.get( + this.hostname + + "/host/mod/image?filename=" + + encodeURIComponent(t), + { responseType: "blob" } + ); + } + getImages() { + return this.http.get(this.hostname + "/host/mod/images"); + } + startBeatSaber() { + return this.http.post( + this.hostname + + "/host/mod/package?action=start&package=com.beatgames.beatsaber", + {} + ); + } + quitBeatOn() { + return this.http.post(this.hostname + "/host/mod/exit", {}); + } + } + return ( + (t.ngInjectableDef = bt({ + factory: function() { + return new t(It(sc)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(); + class xc extends w { + constructor(t) { + super(), (this._value = t); + } + get value() { + return this.getValue(); + } + _subscribe(t) { + const e = super._subscribe(t); + return e && !e.closed && t.next(this._value), e; + } + getValue() { + if (this.hasError) throw this.thrownError; + if (this.closed) throw new v(); + return this._value; + } + next(t) { + super.next((this._value = t)); + } + } + function kc() { + return ( + Error.call(this), + (this.message = "no elements in sequence"), + (this.name = "EmptyError"), + this + ); + } + kc.prototype = Object.create(Error.prototype); + const wc = kc, + Sc = {}; + function Ec(...t) { + let e = null, + n = null; + return ( + E(t[t.length - 1]) && (n = t.pop()), + "function" == typeof t[t.length - 1] && (e = t.pop()), + 1 === t.length && s(t[0]) && (t = t[0]), + K(t, n).lift(new Ic(e)) + ); + } + class Ic { + constructor(t) { + this.resultSelector = t; + } + call(t, e) { + return e.subscribe(new Ac(t, this.resultSelector)); + } + } + class Ac extends H { + constructor(t, e) { + super(t), + (this.resultSelector = e), + (this.active = 0), + (this.values = []), + (this.observables = []); + } + _next(t) { + this.values.push(Sc), 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 < e; n++) { + const e = t[n]; + this.add(V(this, e, e, n)); + } + } + } + notifyComplete(t) { + 0 == (this.active -= 1) && this.destination.complete(); + } + notifyNext(t, e, n, a, o) { + const i = this.values, + r = this.toRespond + ? i[n] === Sc + ? --this.toRespond + : this.toRespond + : 0; + (i[n] = e), + 0 === r && + (this.resultSelector + ? this._tryResultSelector(i) + : this.destination.next(i.slice())); + } + _tryResultSelector(t) { + let e; + try { + e = this.resultSelector.apply(this, t); + } catch (n) { + return void this.destination.error(n); + } + this.destination.next(e); + } + } + function Tc(t) { + return new O(e => { + let n; + try { + n = t(); + } catch (a) { + return void e.error(a); + } + return (n ? Y(n) : Wl()).subscribe(e); + }); + } + function Rc() { + return Q(1); + } + function Dc() { + return ( + Error.call(this), + (this.message = "argument out of range"), + (this.name = "ArgumentOutOfRangeError"), + this + ); + } + Dc.prototype = Object.create(Error.prototype); + const Nc = Dc; + function zc(t) { + return function(e) { + return 0 === t ? Wl() : e.lift(new Lc(t)); + }; + } + class Lc { + constructor(t) { + if (((this.total = t), this.total < 0)) throw new Nc(); + } + call(t, e) { + return e.subscribe(new Fc(t, this.total)); + } + } + class Fc extends p { + constructor(t, e) { + super(t), + (this.total = e), + (this.ring = new Array()), + (this.count = 0); + } + _next(t) { + const e = this.ring, + n = this.total, + a = this.count++; + e.length < n ? e.push(t) : (e[a % n] = t); + } + _complete() { + const t = this.destination; + let e = this.count; + if (e > 0) { + const n = this.count >= this.total ? this.total : this.count, + a = this.ring; + for (let o = 0; o < n; o++) { + const o = e++ % n; + t.next(a[o]); + } + } + t.complete(); + } + } + function Bc(t, e, n) { + return function(a) { + return a.lift(new Vc(t, e, n)); + }; + } + class Vc { + constructor(t, e, n) { + (this.nextOrObserver = t), (this.error = e), (this.complete = n); + } + call(t, e) { + return e.subscribe( + new Hc(t, this.nextOrObserver, this.error, this.complete) + ); + } + } + class Hc extends p { + constructor(t, e, n, o) { + super(t), + (this._tapNext = _), + (this._tapError = _), + (this._tapComplete = _), + (this._tapError = n || _), + (this._tapComplete = o || _), + a(e) + ? ((this._context = this), (this._tapNext = e)) + : e && + ((this._context = e), + (this._tapNext = e.next || _), + (this._tapError = e.error || _), + (this._tapComplete = e.complete || _)); + } + _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 (t) { + return void this.destination.error(t); + } + this.destination.error(t); + } + _complete() { + try { + this._tapComplete.call(this._context); + } catch (t) { + return void this.destination.error(t); + } + return this.destination.complete(); + } + } + const jc = ( + t = function() { + return new wc(); + } + ) => + Bc({ + hasValue: !1, + next() { + this.hasValue = !0; + }, + complete() { + if (!this.hasValue) throw t(); + } + }); + function Uc(t = null) { + return e => e.lift(new qc(t)); + } + class qc { + constructor(t) { + this.defaultValue = t; + } + call(t, e) { + return e.subscribe(new Kc(t, this.defaultValue)); + } + } + class Kc extends p { + 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(); + } + } + function Yc(t, e) { + const n = arguments.length >= 2; + return a => + a.pipe( + t ? Ql((e, n) => t(e, n, a)) : Z, + zc(1), + n ? Uc(e) : jc(() => new wc()) + ); + } + function Wc(t) { + return function(e) { + const n = new Gc(t), + a = e.lift(n); + return (n.caught = a); + }; + } + class Gc { + constructor(t) { + this.selector = t; + } + call(t, e) { + return e.subscribe(new $c(t, this.selector, this.caught)); + } + } + class $c extends H { + 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 a = new I(this, void 0, void 0); + this.add(a), V(this, n, void 0, void 0, a); + } + } + } + function Zc(t) { + return e => (0 === t ? Wl() : e.lift(new Qc(t))); + } + class Qc { + constructor(t) { + if (((this.total = t), this.total < 0)) throw new Nc(); + } + call(t, e) { + return e.subscribe(new Xc(t, this.total)); + } + } + class Xc extends p { + 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())); + } + } + function Jc(t, e) { + const n = arguments.length >= 2; + return a => + a.pipe( + t ? Ql((e, n) => t(e, n, a)) : Z, + Zc(1), + n ? Uc(e) : jc(() => new wc()) + ); + } + class td { + constructor(t, e, n) { + (this.predicate = t), (this.thisArg = e), (this.source = n); + } + call(t, e) { + return e.subscribe( + new ed(t, this.predicate, this.thisArg, this.source) + ); + } + } + class ed extends p { + constructor(t, e, n, a) { + super(t), + (this.predicate = e), + (this.thisArg = n), + (this.source = a), + (this.index = 0), + (this.thisArg = n || this); + } + notifyComplete(t) { + this.destination.next(t), this.destination.complete(); + } + _next(t) { + let e = !1; + try { + e = this.predicate.call(this.thisArg, t, this.index++, this.source); + } catch (n) { + return void this.destination.error(n); + } + e || this.notifyComplete(!1); + } + _complete() { + this.notifyComplete(!0); + } + } + function nd(t, e) { + return "function" == typeof e + ? n => + n.pipe(nd((n, a) => Y(t(n, a)).pipe(j((t, o) => e(n, t, a, o))))) + : e => e.lift(new ad(t)); + } + class ad { + constructor(t) { + this.project = t; + } + call(t, e) { + return e.subscribe(new od(t, this.project)); + } + } + class od extends H { + 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 (a) { + return void this.destination.error(a); + } + this._innerSub(e, t, n); + } + _innerSub(t, e, n) { + const a = this.innerSubscription; + a && a.unsubscribe(); + const o = new I(this, void 0, void 0); + this.destination.add(o), + (this.innerSubscription = V(this, t, e, n, o)); + } + _complete() { + const { innerSubscription: t } = this; + (t && !t.closed) || super._complete(), this.unsubscribe(); + } + _unsubscribe() { + this.innerSubscription = null; + } + notifyComplete(t) { + this.destination.remove(t), + (this.innerSubscription = null), + this.isStopped && super._complete(); + } + notifyNext(t, e, n, a, o) { + this.destination.next(e); + } + } + function id(...t) { + return e => { + let n = t[t.length - 1]; + E(n) ? t.pop() : (n = null); + const a = t.length; + return (function(...t) { + return Rc()($l(...t)); + })(1 !== a || n ? (a > 0 ? K(t, n) : Wl(n)) : Gl(t[0]), e); + }; + } + function rd(t, e) { + let n = !1; + return ( + arguments.length >= 2 && (n = !0), + function(a) { + return a.lift(new ld(t, e, n)); + } + ); + } + class ld { + constructor(t, e, n = !1) { + (this.accumulator = t), (this.seed = e), (this.hasSeed = n); + } + call(t, e) { + return e.subscribe( + new sd(t, this.accumulator, this.seed, this.hasSeed) + ); + } + } + class sd extends p { + constructor(t, e, n, a) { + super(t), + (this.accumulator = e), + (this._seed = n), + (this.hasSeed = a), + (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 (a) { + this.destination.error(a); + } + (this.seed = n), this.destination.next(n); + } + } + function cd(t) { + return e => e.lift(new dd(t)); + } + class dd { + constructor(t) { + this.callback = t; + } + call(t, e) { + return e.subscribe(new ud(t, this.callback)); + } + } + class ud extends p { + constructor(t, e) { + super(t), this.add(new m(e)); + } + } + let md = null; + function hd() { + return md; + } + class gd { + constructor() { + this.resourceLoaderType = null; + } + get attrToPropMap() { + return this._attrToPropMap; + } + set attrToPropMap(t) { + this._attrToPropMap = t; + } + } + class pd extends gd { + constructor() { + super(), (this._animationPrefix = null), (this._transitionEnd = null); + try { + const e = this.createElement("div", document); + if (null != this.getStyle(e, "animationName")) + this._animationPrefix = ""; + else { + const t = ["Webkit", "Moz", "O", "ms"]; + for (let n = 0; n < t.length; n++) + if (null != this.getStyle(e, t[n] + "AnimationName")) { + this._animationPrefix = "-" + t[n].toLowerCase() + "-"; + break; + } + } + const n = { + WebkitTransition: "webkitTransitionEnd", + MozTransition: "transitionend", + OTransition: "oTransitionEnd otransitionend", + transition: "transitionend" + }; + Object.keys(n).forEach(t => { + null != this.getStyle(e, t) && (this._transitionEnd = n[t]); + }); + } catch (t) { + (this._animationPrefix = null), (this._transitionEnd = null); + } + } + getDistributedNodes(t) { + return t.getDistributedNodes(); + } + resolveAndSetHref(t, e, n) { + t.href = null == n ? e : e + "/../" + n; + } + supportsDOMEvents() { + return !0; + } + supportsNativeShadowDOM() { + return "function" == typeof document.body.createShadowRoot; + } + getAnimationPrefix() { + return this._animationPrefix ? this._animationPrefix : ""; + } + getTransitionEnd() { + return this._transitionEnd ? this._transitionEnd : ""; + } + supportsAnimation() { + return null != this._animationPrefix && null != this._transitionEnd; + } + } + const fd = { + class: "className", + innerHtml: "innerHTML", + readonly: "readOnly", + tabindex: "tabIndex" + }, + bd = 3, + _d = { + "\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" + }, + Cd = { + 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" + }, + Pd = (() => { + if (kt.Node) + return ( + kt.Node.prototype.contains || + function(t) { + return !!(16 & this.compareDocumentPosition(t)); + } + ); + })(); + class Od extends pd { + parse(t) { + throw new Error("parse not implemented"); + } + static makeCurrent() { + var t; + (t = new Od()), md || (md = t); + } + hasProperty(t, e) { + return e in t; + } + setProperty(t, e, n) { + t[e] = n; + } + getProperty(t, e) { + return t[e]; + } + invoke(t, e, n) { + t[e](...n); + } + logError(t) { + window.console && (console.error ? console.error(t) : console.log(t)); + } + log(t) { + window.console && window.console.log && window.console.log(t); + } + logGroup(t) { + window.console && window.console.group && window.console.group(t); + } + logGroupEnd() { + window.console && + window.console.groupEnd && + window.console.groupEnd(); + } + get attrToPropMap() { + return fd; + } + contains(t, e) { + return Pd.call(t, e); + } + querySelector(t, e) { + return t.querySelector(e); + } + querySelectorAll(t, e) { + return t.querySelectorAll(e); + } + on(t, e, n) { + t.addEventListener(e, n, !1); + } + onAndCancel(t, e, n) { + return ( + t.addEventListener(e, n, !1), + () => { + t.removeEventListener(e, n, !1); + } + ); + } + dispatchEvent(t, e) { + t.dispatchEvent(e); + } + createMouseEvent(t) { + const e = this.getDefaultDocument().createEvent("MouseEvent"); + return e.initEvent(t, !0, !0), e; + } + createEvent(t) { + const e = this.getDefaultDocument().createEvent("Event"); + return e.initEvent(t, !0, !0), e; + } + preventDefault(t) { + t.preventDefault(), (t.returnValue = !1); + } + isPrevented(t) { + return ( + t.defaultPrevented || (null != t.returnValue && !t.returnValue) + ); + } + getInnerHTML(t) { + return t.innerHTML; + } + getTemplateContent(t) { + return "content" in t && this.isTemplateElement(t) ? t.content : null; + } + getOuterHTML(t) { + return t.outerHTML; + } + nodeName(t) { + return t.nodeName; + } + nodeValue(t) { + return t.nodeValue; + } + type(t) { + return t.type; + } + content(t) { + return this.hasProperty(t, "content") ? t.content : t; + } + firstChild(t) { + return t.firstChild; + } + nextSibling(t) { + return t.nextSibling; + } + parentElement(t) { + return t.parentNode; + } + childNodes(t) { + return t.childNodes; + } + childNodesAsList(t) { + const e = t.childNodes, + n = new Array(e.length); + for (let a = 0; a < e.length; a++) n[a] = e[a]; + return n; + } + clearNodes(t) { + for (; t.firstChild; ) t.removeChild(t.firstChild); + } + appendChild(t, e) { + t.appendChild(e); + } + removeChild(t, e) { + t.removeChild(e); + } + replaceChild(t, e, n) { + t.replaceChild(e, n); + } + remove(t) { + return t.parentNode && t.parentNode.removeChild(t), t; + } + insertBefore(t, e, n) { + t.insertBefore(n, e); + } + insertAllBefore(t, e, n) { + n.forEach(n => t.insertBefore(n, e)); + } + insertAfter(t, e, n) { + t.insertBefore(n, e.nextSibling); + } + setInnerHTML(t, e) { + t.innerHTML = e; + } + getText(t) { + return t.textContent; + } + setText(t, e) { + t.textContent = e; + } + getValue(t) { + return t.value; + } + setValue(t, e) { + t.value = e; + } + getChecked(t) { + return t.checked; + } + setChecked(t, e) { + t.checked = e; + } + createComment(t) { + return this.getDefaultDocument().createComment(t); + } + createTemplate(t) { + const e = this.getDefaultDocument().createElement("template"); + return (e.innerHTML = t), e; + } + createElement(t, e) { + return (e = e || this.getDefaultDocument()).createElement(t); + } + createElementNS(t, e, n) { + return (n = n || this.getDefaultDocument()).createElementNS(t, e); + } + createTextNode(t, e) { + return (e = e || this.getDefaultDocument()).createTextNode(t); + } + createScriptTag(t, e, n) { + const a = (n = n || this.getDefaultDocument()).createElement( + "SCRIPT" + ); + return a.setAttribute(t, e), a; + } + createStyleElement(t, e) { + const n = (e = e || this.getDefaultDocument()).createElement("style"); + return this.appendChild(n, this.createTextNode(t, e)), n; + } + createShadowRoot(t) { + return t.createShadowRoot(); + } + getShadowRoot(t) { + return t.shadowRoot; + } + getHost(t) { + return t.host; + } + clone(t) { + return t.cloneNode(!0); + } + getElementsByClassName(t, e) { + return t.getElementsByClassName(e); + } + getElementsByTagName(t, e) { + return t.getElementsByTagName(e); + } + classList(t) { + return Array.prototype.slice.call(t.classList, 0); + } + addClass(t, e) { + t.classList.add(e); + } + removeClass(t, e) { + t.classList.remove(e); + } + hasClass(t, e) { + return t.classList.contains(e); + } + setStyle(t, e, n) { + t.style[e] = n; + } + removeStyle(t, e) { + t.style[e] = ""; + } + getStyle(t, e) { + return t.style[e]; + } + hasStyle(t, e, n) { + const a = this.getStyle(t, e) || ""; + return n ? a == n : a.length > 0; + } + tagName(t) { + return t.tagName; + } + attributeMap(t) { + const e = new Map(), + n = t.attributes; + for (let a = 0; a < n.length; a++) { + const t = n.item(a); + e.set(t.name, t.value); + } + return e; + } + hasAttribute(t, e) { + return t.hasAttribute(e); + } + hasAttributeNS(t, e, n) { + return t.hasAttributeNS(e, n); + } + getAttribute(t, e) { + return t.getAttribute(e); + } + getAttributeNS(t, e, n) { + return t.getAttributeNS(e, n); + } + setAttribute(t, e, n) { + t.setAttribute(e, n); + } + setAttributeNS(t, e, n, a) { + t.setAttributeNS(e, n, a); + } + removeAttribute(t, e) { + t.removeAttribute(e); + } + removeAttributeNS(t, e, n) { + t.removeAttributeNS(e, n); + } + templateAwareRoot(t) { + return this.isTemplateElement(t) ? this.content(t) : t; + } + createHtmlDocument() { + return document.implementation.createHTMLDocument("fakeTitle"); + } + getDefaultDocument() { + return document; + } + getBoundingClientRect(t) { + try { + return t.getBoundingClientRect(); + } catch (e) { + return { + top: 0, + bottom: 0, + left: 0, + right: 0, + width: 0, + height: 0 + }; + } + } + getTitle(t) { + return t.title; + } + setTitle(t, e) { + t.title = e || ""; + } + elementMatches(t, e) { + return ( + !!this.isElementNode(t) && + ((t.matches && t.matches(e)) || + (t.msMatchesSelector && t.msMatchesSelector(e)) || + (t.webkitMatchesSelector && t.webkitMatchesSelector(e))) + ); + } + isTemplateElement(t) { + return this.isElementNode(t) && "TEMPLATE" === t.nodeName; + } + isTextNode(t) { + return t.nodeType === Node.TEXT_NODE; + } + isCommentNode(t) { + return t.nodeType === Node.COMMENT_NODE; + } + isElementNode(t) { + return t.nodeType === Node.ELEMENT_NODE; + } + hasShadowRoot(t) { + return null != t.shadowRoot && t instanceof HTMLElement; + } + isShadowRoot(t) { + return t instanceof DocumentFragment; + } + importIntoDoc(t) { + return document.importNode(this.templateAwareRoot(t), !0); + } + adoptNode(t) { + return document.adoptNode(t); + } + getHref(t) { + return t.getAttribute("href"); + } + getEventKey(t) { + let e = t.key; + if (null == e) { + if (null == (e = t.keyIdentifier)) return "Unidentified"; + e.startsWith("U+") && + ((e = String.fromCharCode(parseInt(e.substring(2), 16))), + t.location === bd && Cd.hasOwnProperty(e) && (e = Cd[e])); + } + return _d[e] || e; + } + getGlobalEventTarget(t, e) { + return "window" === e + ? window + : "document" === e + ? t + : "body" === e + ? t.body + : null; + } + getHistory() { + return window.history; + } + getLocation() { + return window.location; + } + getBaseHref(t) { + const e = + yd || (yd = document.querySelector("base")) + ? yd.getAttribute("href") + : null; + return null == e + ? null + : ((n = e), + Md || (Md = document.createElement("a")), + Md.setAttribute("href", n), + "/" === Md.pathname.charAt(0) ? Md.pathname : "/" + Md.pathname); + var n; + } + resetBaseElement() { + yd = null; + } + getUserAgent() { + return window.navigator.userAgent; + } + setData(t, e, n) { + this.setAttribute(t, "data-" + e, n); + } + getData(t, e) { + return this.getAttribute(t, "data-" + e); + } + getComputedStyle(t) { + return getComputedStyle(t); + } + supportsWebAnimation() { + return "function" == typeof Element.prototype.animate; + } + performanceNow() { + return window.performance && window.performance.now + ? window.performance.now() + : new Date().getTime(); + } + supportsCookies() { + return !0; + } + getCookie(t) { + return ps(document.cookie, t); + } + setCookie(t, e) { + document.cookie = encodeURIComponent(t) + "=" + encodeURIComponent(e); + } + } + let Md, + yd = null; + function vd() { + return !!window.history.pushState; + } + const xd = (() => { + class t extends ts { + constructor(t) { + super(), (this._doc = t), this._init(); + } + _init() { + (this.location = hd().getLocation()), + (this._history = hd().getHistory()); + } + getBaseHrefFromDOM() { + return hd().getBaseHref(this._doc); + } + onPopState(t) { + hd() + .getGlobalEventTarget(this._doc, "window") + .addEventListener("popstate", t, !1); + } + onHashChange(t) { + hd() + .getGlobalEventTarget(this._doc, "window") + .addEventListener("hashchange", t, !1); + } + 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) { + vd() + ? this._history.pushState(t, e, n) + : (this.location.hash = n); + } + replaceState(t, e, n) { + vd() + ? this._history.replaceState(t, e, n) + : (this.location.hash = n); + } + forward() { + this._history.forward(); + } + back() { + this._history.back(); + } + getState() { + return this._history.state; + } + } + return ( + (t.ctorParameters = () => [ + { type: void 0, decorators: [{ type: ut, args: [Bs] }] } + ]), + t + ); + })(), + kd = new Ht("TRANSITION_ID"), + wd = [ + { + provide: di, + useFactory: function(t, e, n) { + return () => { + n.get(ui).donePromise.then(() => { + const n = hd(); + Array.prototype.slice + .apply(n.querySelectorAll(e, "style[ng-transition]")) + .filter(e => n.getAttribute(e, "ng-transition") === t) + .forEach(t => n.remove(t)); + }); + }; + }, + deps: [kd, Bs, Wt], + multi: !0 + } + ]; + class Sd { + static init() { + var t; + (t = new Sd()), (Ki = t); + } + addToWindow(t) { + (kt.getAngularTestability = (e, n = !0) => { + const a = t.findTestabilityInTree(e, n); + if (null == a) + throw new Error("Could not find testability for element."); + return a; + }), + (kt.getAllAngularTestabilities = () => t.getAllTestabilities()), + (kt.getAllAngularRootElements = () => t.getAllRootElements()), + kt.frameworkStabilizers || (kt.frameworkStabilizers = []), + kt.frameworkStabilizers.push(t => { + const e = kt.getAllAngularTestabilities(); + let n = e.length, + a = !1; + const o = function(e) { + (a = a || e), 0 == --n && t(a); + }; + e.forEach(function(t) { + t.whenStable(o); + }); + }); + } + findTestabilityInTree(t, e, n) { + if (null == e) return null; + const a = t.getTestability(e); + return null != a + ? a + : n + ? hd().isShadowRoot(e) + ? this.findTestabilityInTree(t, hd().getHost(e), !0) + : this.findTestabilityInTree(t, hd().parentElement(e), !0) + : null; + } + } + function Ed(t, e) { + ("undefined" != typeof COMPILED && COMPILED) || + ((kt.ng = kt.ng || {})[t] = e); + } + const Id = (() => ({ ApplicationRef: Ji, NgZone: Di }))(); + function Ad(t) { + return cr(t); + } + const Td = new Ht("EventManagerPlugins"), + Rd = (() => + class { + 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 a = 0; a < n.length; a++) { + const e = n[a]; + if (e.supports(t)) return this._eventNameToPlugin.set(t, e), e; + } + throw new Error(`No event manager plugin found for event ${t}`); + } + })(); + class Dd { + constructor(t) { + this._doc = t; + } + addGlobalEventListener(t, e, n) { + const a = hd().getGlobalEventTarget(this._doc, t); + if (!a) + throw new Error(`Unsupported event target ${a} for event ${e}`); + return this.addEventListener(a, e, n); + } + } + const Nd = (() => + class { + 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); + } + })(), + zd = (() => + class extends Nd { + constructor(t) { + super(), + (this._doc = t), + (this._hostNodes = new Set()), + (this._styleNodes = new Set()), + this._hostNodes.add(t.head); + } + _addStylesToHost(t, e) { + t.forEach(t => { + const n = this._doc.createElement("style"); + (n.textContent = t), this._styleNodes.add(e.appendChild(n)); + }); + } + addHost(t) { + this._addStylesToHost(this._stylesSet, t), this._hostNodes.add(t); + } + removeHost(t) { + this._hostNodes.delete(t); + } + onStylesAdded(t) { + this._hostNodes.forEach(e => this._addStylesToHost(t, e)); + } + ngOnDestroy() { + this._styleNodes.forEach(t => hd().remove(t)); + } + })(), + Ld = { + 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/" + }, + Fd = /%COMP%/g, + Bd = "_nghost-%COMP%", + Vd = "_ngcontent-%COMP%"; + function Hd(t, e, n) { + for (let a = 0; a < e.length; a++) { + let o = e[a]; + Array.isArray(o) ? Hd(t, o, n) : ((o = o.replace(Fd, t)), n.push(o)); + } + return n; + } + function jd(t) { + return e => { + !1 === t(e) && (e.preventDefault(), (e.returnValue = !1)); + }; + } + const Ud = (() => + class { + constructor(t, e, n) { + (this.eventManager = t), + (this.sharedStylesHost = e), + (this.appId = n), + (this.rendererByCompId = new Map()), + (this.defaultRenderer = new qd(t)); + } + createRenderer(t, e) { + if (!t || !e) return this.defaultRenderer; + switch (e.encapsulation) { + case Te.Emulated: { + let n = this.rendererByCompId.get(e.id); + return ( + n || + ((n = new Wd( + this.eventManager, + this.sharedStylesHost, + e, + this.appId + )), + this.rendererByCompId.set(e.id, n)), + n.applyToHost(t), + n + ); + } + case Te.Native: + case Te.ShadowDom: + return new Gd(this.eventManager, this.sharedStylesHost, t, e); + default: + if (!this.rendererByCompId.has(e.id)) { + const t = Hd(e.id, e.styles, []); + this.sharedStylesHost.addStyles(t), + this.rendererByCompId.set(e.id, this.defaultRenderer); + } + return this.defaultRenderer; + } + } + begin() {} + end() {} + })(); + class qd { + constructor(t) { + (this.eventManager = t), (this.data = Object.create(null)); + } + destroy() {} + createElement(t, e) { + return e + ? document.createElementNS(Ld[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, a) { + if (a) { + e = `${a}:${e}`; + const o = Ld[a]; + o ? t.setAttributeNS(o, e, n) : t.setAttribute(e, n); + } else t.setAttribute(e, n); + } + removeAttribute(t, e, n) { + if (n) { + const a = Ld[n]; + a ? t.removeAttributeNS(a, 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, a) { + a & Hn.DashCase + ? t.style.setProperty(e, n, a & Hn.Important ? "important" : "") + : (t.style[e] = n); + } + removeStyle(t, e, n) { + n & Hn.DashCase ? t.style.removeProperty(e) : (t.style[e] = ""); + } + setProperty(t, e, n) { + Yd(e, "property"), (t[e] = n); + } + setValue(t, e) { + t.nodeValue = e; + } + listen(t, e, n) { + return ( + Yd(e, "listener"), + "string" == typeof t + ? this.eventManager.addGlobalEventListener(t, e, jd(n)) + : this.eventManager.addEventListener(t, e, jd(n)) + ); + } + } + const Kd = (() => "@".charCodeAt(0))(); + function Yd(t, e) { + if (t.charCodeAt(0) === Kd) + throw new Error( + `Found the synthetic ${e} ${t}. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.` + ); + } + class Wd extends qd { + constructor(t, e, n, a) { + super(t), (this.component = n); + const o = Hd(a + "-" + n.id, n.styles, []); + e.addStyles(o), + (this.contentAttr = Vd.replace(Fd, a + "-" + n.id)), + (this.hostAttr = Bd.replace(Fd, a + "-" + 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 Gd extends qd { + constructor(t, e, n, a) { + super(t), + (this.sharedStylesHost = e), + (this.hostEl = n), + (this.component = a), + (this.shadowRoot = + a.encapsulation === Te.ShadowDom + ? n.attachShadow({ mode: "open" }) + : n.createShadowRoot()), + this.sharedStylesHost.addHost(this.shadowRoot); + const o = Hd(a.id, a.styles, []); + for (let i = 0; i < o.length; i++) { + const t = document.createElement("style"); + (t.textContent = o[i]), this.shadowRoot.appendChild(t); + } + } + nodeOrShadowRoot(t) { + return t === this.hostEl ? this.shadowRoot : t; + } + destroy() { + this.sharedStylesHost.removeHost(this.shadowRoot); + } + appendChild(t, e) { + return super.appendChild(this.nodeOrShadowRoot(t), e); + } + insertBefore(t, e, n) { + return super.insertBefore(this.nodeOrShadowRoot(t), e, n); + } + removeChild(t, e) { + return super.removeChild(this.nodeOrShadowRoot(t), e); + } + parentNode(t) { + return this.nodeOrShadowRoot( + super.parentNode(this.nodeOrShadowRoot(t)) + ); + } + } + const $d = (() => + ("undefined" != typeof Zone && Zone.__symbol__) || + function(t) { + return "__zone_symbol__" + t; + })(), + Zd = $d("addEventListener"), + Qd = $d("removeEventListener"), + Xd = {}, + Jd = "__zone_symbol__propagationStopped", + tu = (() => { + const t = + "undefined" != typeof Zone && Zone[$d("BLACK_LISTED_EVENTS")]; + if (t) { + const e = {}; + return ( + t.forEach(t => { + e[t] = t; + }), + e + ); + } + })(), + eu = function(t) { + return !!tu && tu.hasOwnProperty(t); + }, + nu = function(t) { + const e = Xd[t.type]; + if (!e) return; + const n = this[e]; + if (!n) return; + const a = [t]; + if (1 === n.length) { + const t = n[0]; + return t.zone !== Zone.current + ? t.zone.run(t.handler, this, a) + : t.handler.apply(this, a); + } + { + const e = n.slice(); + for (let n = 0; n < e.length && !0 !== t[Jd]; n++) { + const t = e[n]; + t.zone !== Zone.current + ? t.zone.run(t.handler, this, a) + : t.handler.apply(this, a); + } + } + }, + au = (() => + class extends Dd { + constructor(t, e, n) { + super(t), (this.ngZone = e), (n && Us(n)) || this.patchEvent(); + } + patchEvent() { + if ("undefined" == typeof Event || !Event || !Event.prototype) + return; + if (Event.prototype.__zone_symbol__stopImmediatePropagation) + return; + const t = (Event.prototype.__zone_symbol__stopImmediatePropagation = + Event.prototype.stopImmediatePropagation); + Event.prototype.stopImmediatePropagation = function() { + this && (this[Jd] = !0), t && t.apply(this, arguments); + }; + } + supports(t) { + return !0; + } + addEventListener(t, e, n) { + let a = n; + if (!t[Zd] || (Di.isInAngularZone() && !eu(e))) + t.addEventListener(e, a, !1); + else { + let n = Xd[e]; + n || (n = Xd[e] = $d("ANGULAR" + e + "FALSE")); + let o = t[n]; + const i = o && o.length > 0; + o || (o = t[n] = []); + const r = eu(e) ? Zone.root : Zone.current; + if (0 === o.length) o.push({ zone: r, handler: a }); + else { + let t = !1; + for (let e = 0; e < o.length; e++) + if (o[e].handler === a) { + t = !0; + break; + } + t || o.push({ zone: r, handler: a }); + } + i || t[Zd](e, nu, !1); + } + return () => this.removeEventListener(t, e, a); + } + removeEventListener(t, e, n) { + let a = t[Qd]; + if (!a) return t.removeEventListener.apply(t, [e, n, !1]); + let o = Xd[e], + i = o && t[o]; + if (!i) return t.removeEventListener.apply(t, [e, n, !1]); + let r = !1; + for (let l = 0; l < i.length; l++) + if (i[l].handler === n) { + (r = !0), i.splice(l, 1); + break; + } + r + ? 0 === i.length && a.apply(t, [e, nu, !1]) + : t.removeEventListener.apply(t, [e, n, !1]); + } + })(), + ou = { + pan: !0, + panstart: !0, + panmove: !0, + panend: !0, + pancancel: !0, + panleft: !0, + panright: !0, + panup: !0, + pandown: !0, + pinch: !0, + pinchstart: !0, + pinchmove: !0, + pinchend: !0, + pinchcancel: !0, + pinchin: !0, + pinchout: !0, + press: !0, + pressup: !0, + rotate: !0, + rotatestart: !0, + rotatemove: !0, + rotateend: !0, + rotatecancel: !0, + swipe: !0, + swipeleft: !0, + swiperight: !0, + swipeup: !0, + swipedown: !0, + tap: !0 + }, + iu = new Ht("HammerGestureConfig"), + ru = new Ht("HammerLoader"), + lu = (() => + class { + constructor() { + (this.events = []), (this.overrides = {}); + } + buildHammer(t) { + const e = new Hammer(t, this.options); + e.get("pinch").set({ enable: !0 }), + e.get("rotate").set({ enable: !0 }); + for (const n in this.overrides) e.get(n).set(this.overrides[n]); + return e; + } + })(), + su = (() => + class extends Dd { + constructor(t, e, n, a) { + super(t), + (this._config = e), + (this.console = n), + (this.loader = a); + } + supports(t) { + return !( + (!ou.hasOwnProperty(t.toLowerCase()) && + !this.isCustomEvent(t)) || + (!window.Hammer && + !this.loader && + (this.console.warn( + `The "${t}" event cannot be bound because Hammer.JS is not ` + + "loaded and no custom loader has been specified." + ), + 1)) + ); + } + addEventListener(t, e, n) { + const a = this.manager.getZone(); + if (((e = e.toLowerCase()), !window.Hammer && this.loader)) { + let a = !1, + o = () => { + a = !0; + }; + return ( + this.loader() + .then(() => { + if (!window.Hammer) + return ( + this.console.warn( + "The custom HAMMER_LOADER completed, but Hammer.JS is not present." + ), + void (o = () => {}) + ); + a || (o = this.addEventListener(t, e, n)); + }) + .catch(() => { + this.console.warn( + `The "${e}" event cannot be bound because the custom ` + + "Hammer.JS loader failed." + ), + (o = () => {}); + }), + () => { + o(); + } + ); + } + return a.runOutsideAngular(() => { + const o = this._config.buildHammer(t), + i = function(t) { + a.runGuarded(function() { + n(t); + }); + }; + return ( + o.on(e, i), + () => { + o.off(e, i), "function" == typeof o.destroy && o.destroy(); + } + ); + }); + } + isCustomEvent(t) { + return this._config.events.indexOf(t) > -1; + } + })(), + cu = ["alt", "control", "meta", "shift"], + du = { + alt: t => t.altKey, + control: t => t.ctrlKey, + meta: t => t.metaKey, + shift: t => t.shiftKey + }, + uu = (() => { + class t extends Dd { + constructor(t) { + super(t); + } + supports(e) { + return null != t.parseEventName(e); + } + addEventListener(e, n, a) { + const o = t.parseEventName(n), + i = t.eventCallback(o.fullKey, a, this.manager.getZone()); + return this.manager + .getZone() + .runOutsideAngular(() => + hd().onAndCancel(e, o.domEventName, i) + ); + } + static parseEventName(e) { + const n = e.toLowerCase().split("."), + a = n.shift(); + if (0 === n.length || ("keydown" !== a && "keyup" !== a)) + return null; + const o = t._normalizeKey(n.pop()); + let i = ""; + if ( + (cu.forEach(t => { + const e = n.indexOf(t); + e > -1 && (n.splice(e, 1), (i += t + ".")); + }), + (i += o), + 0 != n.length || 0 === o.length) + ) + return null; + const r = {}; + return (r.domEventName = a), (r.fullKey = i), r; + } + static getEventFullKey(t) { + let e = "", + n = hd().getEventKey(t); + return ( + " " === (n = n.toLowerCase()) + ? (n = "space") + : "." === n && (n = "dot"), + cu.forEach(a => { + a != n && (0, du[a])(t) && (e += a + "."); + }), + (e += n) + ); + } + static eventCallback(e, n, a) { + return o => { + t.getEventFullKey(o) === e && a.runGuarded(() => n(o)); + }; + } + static _normalizeKey(t) { + switch (t) { + case "esc": + return "escape"; + default: + return t; + } + } + } + return t; + })(); + class mu {} + const hu = (() => + class extends mu { + constructor(t) { + super(), (this._doc = t); + } + sanitize(t, e) { + if (null == e) return null; + switch (t) { + case cn.NONE: + return e; + case cn.HTML: + return e instanceof pu + ? e.changingThisBreaksApplicationSecurity + : (this.checkNotSafeValue(e, "HTML"), + (function(t, e) { + let n = null; + try { + ln = ln || new He(t); + let a = e ? String(e) : ""; + n = ln.getInertBodyElement(a); + let o = 5, + i = a; + do { + if (0 === o) + throw new Error( + "Failed to sanitize html because the input is unstable" + ); + o--, + (a = i), + (i = n.innerHTML), + (n = ln.getInertBodyElement(a)); + } while (a !== i); + const r = new nn(), + l = r.sanitizeChildren(sn(n) || n); + return ( + Ve() && + r.sanitizedSomething && + console.warn( + "WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss" + ), + l + ); + } finally { + if (n) { + const t = sn(n) || n; + for (; t.firstChild; ) t.removeChild(t.firstChild); + } + } + })(this._doc, String(e))); + case cn.STYLE: + return e instanceof fu + ? e.changingThisBreaksApplicationSecurity + : (this.checkNotSafeValue(e, "Style"), + (function(t) { + if (!(t = String(t).trim())) return ""; + const e = t.match(mn); + return (e && qe(e[1]) === e[1]) || + (t.match(un) && + (function(t) { + let e = !0, + n = !0; + for (let a = 0; a < t.length; a++) { + const o = t.charAt(a); + "'" === o && n + ? (e = !e) + : '"' === o && e && (n = !n); + } + return e && n; + })(t)) + ? t + : (Ve() && + console.warn( + `WARNING: sanitizing unsafe style value ${t} (see http://g.co/ng/security#xss).` + ), + "unsafe"); + })(e)); + case cn.SCRIPT: + if (e instanceof bu) + return e.changingThisBreaksApplicationSecurity; + throw (this.checkNotSafeValue(e, "Script"), + new Error("unsafe value used in a script context")); + case cn.URL: + return e instanceof Cu || e instanceof _u + ? e.changingThisBreaksApplicationSecurity + : (this.checkNotSafeValue(e, "URL"), qe(String(e))); + case cn.RESOURCE_URL: + if (e instanceof Cu) + return e.changingThisBreaksApplicationSecurity; + throw (this.checkNotSafeValue(e, "ResourceURL"), + new Error( + "unsafe value used in a resource URL context (see http://g.co/ng/security#xss)" + )); + default: + throw new Error( + `Unexpected SecurityContext ${t} (see http://g.co/ng/security#xss)` + ); + } + } + checkNotSafeValue(t, e) { + if (t instanceof gu) + throw new Error( + `Required a safe ${e}, got a ${t.getTypeName()} ` + + "(see http://g.co/ng/security#xss)" + ); + } + bypassSecurityTrustHtml(t) { + return new pu(t); + } + bypassSecurityTrustStyle(t) { + return new fu(t); + } + bypassSecurityTrustScript(t) { + return new bu(t); + } + bypassSecurityTrustUrl(t) { + return new _u(t); + } + bypassSecurityTrustResourceUrl(t) { + return new Cu(t); + } + })(); + class gu { + constructor(t) { + this.changingThisBreaksApplicationSecurity = t; + } + toString() { + return ( + `SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}` + + " (see http://g.co/ng/security#xss)" + ); + } + } + class pu extends gu { + getTypeName() { + return "HTML"; + } + } + class fu extends gu { + getTypeName() { + return "Style"; + } + } + class bu extends gu { + getTypeName() { + return "Script"; + } + } + class _u extends gu { + getTypeName() { + return "URL"; + } + } + class Cu extends gu { + getTypeName() { + return "ResourceURL"; + } + } + const Pu = $i(ur, "browser", [ + { provide: fi, useValue: Vs }, + { + provide: pi, + useValue: function() { + Od.makeCurrent(), Sd.init(); + }, + multi: !0 + }, + { provide: ts, useClass: xd, deps: [Bs] }, + { + provide: Bs, + useFactory: function() { + return document; + }, + deps: [] + } + ]); + function Ou() { + return new Le(); + } + const Mu = (() => { + 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: mi, useValue: e.appId }, + { provide: kd, useExisting: mi }, + wd + ] + }; + } + } + return t; + })(); + "undefined" != typeof window && window; + class yu { + constructor(t, e) { + (this.id = t), (this.url = e); + } + } + class vu extends yu { + constructor(t, e, n = "imperative", a = null) { + super(t, e), (this.navigationTrigger = n), (this.restoredState = a); + } + toString() { + return `NavigationStart(id: ${this.id}, url: '${this.url}')`; + } + } + class xu extends yu { + constructor(t, e, n) { + super(t, e), (this.urlAfterRedirects = n); + } + toString() { + return `NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`; + } + } + class ku extends yu { + constructor(t, e, n) { + super(t, e), (this.reason = n); + } + toString() { + return `NavigationCancel(id: ${this.id}, url: '${this.url}')`; + } + } + class wu extends yu { + constructor(t, e, n) { + super(t, e), (this.error = n); + } + toString() { + return `NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`; + } + } + class Su extends yu { + constructor(t, e, n, a) { + super(t, e), (this.urlAfterRedirects = n), (this.state = a); + } + toString() { + return `RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`; + } + } + class Eu extends yu { + constructor(t, e, n, a) { + super(t, e), (this.urlAfterRedirects = n), (this.state = a); + } + toString() { + return `GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`; + } + } + class Iu extends yu { + constructor(t, e, n, a, o) { + super(t, e), + (this.urlAfterRedirects = n), + (this.state = a), + (this.shouldActivate = o); + } + toString() { + return `GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`; + } + } + class Au extends yu { + constructor(t, e, n, a) { + super(t, e), (this.urlAfterRedirects = n), (this.state = a); + } + toString() { + return `ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`; + } + } + class Tu extends yu { + constructor(t, e, n, a) { + super(t, e), (this.urlAfterRedirects = n), (this.state = a); + } + toString() { + return `ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`; + } + } + class Ru { + constructor(t) { + this.route = t; + } + toString() { + return `RouteConfigLoadStart(path: ${this.route.path})`; + } + } + class Du { + constructor(t) { + this.route = t; + } + toString() { + return `RouteConfigLoadEnd(path: ${this.route.path})`; + } + } + class Nu { + constructor(t) { + this.snapshot = t; + } + toString() { + return `ChildActivationStart(path: '${(this.snapshot.routeConfig && + this.snapshot.routeConfig.path) || + ""}')`; + } + } + class zu { + constructor(t) { + this.snapshot = t; + } + toString() { + return `ChildActivationEnd(path: '${(this.snapshot.routeConfig && + this.snapshot.routeConfig.path) || + ""}')`; + } + } + class Lu { + constructor(t) { + this.snapshot = t; + } + toString() { + return `ActivationStart(path: '${(this.snapshot.routeConfig && + this.snapshot.routeConfig.path) || + ""}')`; + } + } + class Fu { + constructor(t) { + this.snapshot = t; + } + toString() { + return `ActivationEnd(path: '${(this.snapshot.routeConfig && + this.snapshot.routeConfig.path) || + ""}')`; + } + } + class Bu { + constructor(t, e, n) { + (this.routerEvent = t), (this.position = e), (this.anchor = n); + } + toString() { + return `Scroll(anchor: '${this.anchor}', position: '${ + this.position ? `${this.position[0]}, ${this.position[1]}` : null + }')`; + } + } + const Vu = (() => class {})(), + Hu = "primary"; + class ju { + constructor(t) { + this.params = t || {}; + } + has(t) { + return this.params.hasOwnProperty(t); + } + get(t) { + if (this.has(t)) { + const e = this.params[t]; + return Array.isArray(e) ? e[0] : e; + } + return null; + } + getAll(t) { + if (this.has(t)) { + const e = this.params[t]; + return Array.isArray(e) ? e : [e]; + } + return []; + } + get keys() { + return Object.keys(this.params); + } + } + function Uu(t) { + return new ju(t); + } + const qu = "ngNavigationCancelingError"; + function Ku(t) { + const e = Error("NavigationCancelingError: " + t); + return (e[qu] = !0), e; + } + function Yu(t, e, n) { + const a = n.path.split("/"); + if (a.length > t.length) return null; + if ("full" === n.pathMatch && (e.hasChildren() || a.length < t.length)) + return null; + const o = {}; + for (let i = 0; i < a.length; i++) { + const e = a[i], + n = t[i]; + if (e.startsWith(":")) o[e.substring(1)] = n; + else if (e !== n.path) return null; + } + return { consumed: t.slice(0, a.length), posParams: o }; + } + class Wu { + constructor(t, e) { + (this.routes = t), (this.module = e); + } + } + function Gu(t, e = "") { + for (let n = 0; n < t.length; n++) { + const a = t[n]; + $u(a, Zu(e, a)); + } + } + function $u(t, e) { + if (!t) + throw new Error( + `\n Invalid configuration of route '${e}': Encountered undefined route.\n The reason might be an extra comma.\n\n Example:\n const routes: Routes = [\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n { path: 'dashboard', component: DashboardComponent },, << two commas\n { path: 'detail/:id', component: HeroDetailComponent }\n ];\n ` + ); + if (Array.isArray(t)) + throw new Error( + `Invalid configuration of route '${e}': Array cannot be specified` + ); + if ( + !t.component && + !t.children && + !t.loadChildren && + t.outlet && + t.outlet !== Hu + ) + throw new Error( + `Invalid configuration of route '${e}': a componentless route without children or loadChildren cannot have a named outlet set` + ); + if (t.redirectTo && t.children) + throw new Error( + `Invalid configuration of route '${e}': redirectTo and children cannot be used together` + ); + if (t.redirectTo && t.loadChildren) + throw new Error( + `Invalid configuration of route '${e}': redirectTo and loadChildren cannot be used together` + ); + if (t.children && t.loadChildren) + throw new Error( + `Invalid configuration of route '${e}': children and loadChildren cannot be used together` + ); + if (t.redirectTo && t.component) + throw new Error( + `Invalid configuration of route '${e}': redirectTo and component cannot be used together` + ); + if (t.path && t.matcher) + throw new Error( + `Invalid configuration of route '${e}': path and matcher cannot be used together` + ); + if ( + void 0 === t.redirectTo && + !t.component && + !t.children && + !t.loadChildren + ) + throw new Error( + `Invalid configuration of route '${e}'. One of the following must be provided: component, redirectTo, children or loadChildren` + ); + if (void 0 === t.path && void 0 === t.matcher) + throw new Error( + `Invalid configuration of route '${e}': routes must have either a path or a matcher specified` + ); + if ("string" == typeof t.path && "/" === t.path.charAt(0)) + throw new Error( + `Invalid configuration of route '${e}': path cannot start with a slash` + ); + if ("" === t.path && void 0 !== t.redirectTo && void 0 === t.pathMatch) + throw new Error( + `Invalid configuration of route '{path: "${e}", redirectTo: "${t.redirectTo}"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.` + ); + if ( + void 0 !== t.pathMatch && + "full" !== t.pathMatch && + "prefix" !== t.pathMatch + ) + throw new Error( + `Invalid configuration of route '${e}': pathMatch can only be set to 'prefix' or 'full'` + ); + t.children && Gu(t.children, e); + } + function Zu(t, e) { + return e + ? t || e.path + ? t && !e.path + ? `${t}/` + : !t && e.path + ? e.path + : `${t}/${e.path}` + : "" + : t; + } + function Qu(t) { + const e = t.children && t.children.map(Qu), + n = e ? Object.assign({}, t, { children: e }) : Object.assign({}, t); + return ( + !n.component && + (e || n.loadChildren) && + n.outlet && + n.outlet !== Hu && + (n.component = Vu), + n + ); + } + function Xu(t, e) { + const n = Object.keys(t), + a = Object.keys(e); + if (!n || !a || n.length != a.length) return !1; + let o; + for (let i = 0; i < n.length; i++) + if (t[(o = n[i])] !== e[o]) return !1; + return !0; + } + function Ju(t) { + return Array.prototype.concat.apply([], t); + } + function tm(t) { + return t.length > 0 ? t[t.length - 1] : null; + } + function em(t, e) { + for (const n in t) t.hasOwnProperty(n) && e(t[n], n); + } + function nm(t) { + return fn(t) ? t : pn(t) ? Y(Promise.resolve(t)) : $l(t); + } + function am(t, e, n) { + return n + ? (function(t, e) { + return Xu(t, e); + })(t.queryParams, e.queryParams) && + (function t(e, n) { + if (!lm(e.segments, n.segments)) return !1; + if (e.numberOfChildren !== n.numberOfChildren) return !1; + for (const a in n.children) { + if (!e.children[a]) return !1; + if (!t(e.children[a], n.children[a])) return !1; + } + return !0; + })(t.root, e.root) + : (function(t, e) { + return ( + Object.keys(e).length <= Object.keys(t).length && + Object.keys(e).every(n => e[n] === t[n]) + ); + })(t.queryParams, e.queryParams) && + (function t(e, n) { + return (function e(n, a, o) { + if (n.segments.length > o.length) { + return ( + !!lm(n.segments.slice(0, o.length), o) && !a.hasChildren() + ); + } + if (n.segments.length === o.length) { + if (!lm(n.segments, o)) return !1; + for (const e in a.children) { + if (!n.children[e]) return !1; + if (!t(n.children[e], a.children[e])) return !1; + } + return !0; + } + { + const t = o.slice(0, n.segments.length), + i = o.slice(n.segments.length); + return ( + !!lm(n.segments, t) && + !!n.children[Hu] && + e(n.children[Hu], a, i) + ); + } + })(e, n, n.segments); + })(t.root, e.root); + } + class om { + constructor(t, e, n) { + (this.root = t), (this.queryParams = e), (this.fragment = n); + } + get queryParamMap() { + return ( + this._queryParamMap || (this._queryParamMap = Uu(this.queryParams)), + this._queryParamMap + ); + } + toString() { + return um.serialize(this); + } + } + class im { + constructor(t, e) { + (this.segments = t), + (this.children = e), + (this.parent = null), + em(e, (t, e) => (t.parent = this)); + } + hasChildren() { + return this.numberOfChildren > 0; + } + get numberOfChildren() { + return Object.keys(this.children).length; + } + toString() { + return mm(this); + } + } + class rm { + constructor(t, e) { + (this.path = t), (this.parameters = e); + } + get parameterMap() { + return ( + this._parameterMap || (this._parameterMap = Uu(this.parameters)), + this._parameterMap + ); + } + toString() { + return _m(this); + } + } + function lm(t, e) { + return t.length === e.length && t.every((t, n) => t.path === e[n].path); + } + function sm(t, e) { + let n = []; + return ( + em(t.children, (t, a) => { + a === Hu && (n = n.concat(e(t, a))); + }), + em(t.children, (t, a) => { + a !== Hu && (n = n.concat(e(t, a))); + }), + n + ); + } + class cm {} + class dm { + parse(t) { + const e = new ym(t); + return new om( + e.parseRootSegment(), + e.parseQueryParams(), + e.parseFragment() + ); + } + serialize(t) { + var e; + return `${`/${(function t(e, n) { + if (!e.hasChildren()) return mm(e); + if (n) { + const n = e.children[Hu] ? t(e.children[Hu], !1) : "", + a = []; + return ( + em(e.children, (e, n) => { + n !== Hu && a.push(`${n}:${t(e, !1)}`); + }), + a.length > 0 ? `${n}(${a.join("//")})` : n + ); + } + { + const n = sm(e, (n, a) => + a === Hu ? [t(e.children[Hu], !1)] : [`${a}:${t(n, !1)}`] + ); + return `${mm(e)}/(${n.join("//")})`; + } + })(t.root, !0)}`}${(function(t) { + const e = Object.keys(t).map(e => { + const n = t[e]; + return Array.isArray(n) + ? n.map(t => `${gm(e)}=${gm(t)}`).join("&") + : `${gm(e)}=${gm(n)}`; + }); + return e.length ? `?${e.join("&")}` : ""; + })(t.queryParams)}${ + "string" == typeof t.fragment + ? `#${((e = t.fragment), encodeURI(e))}` + : "" + }`; + } + } + const um = new dm(); + function mm(t) { + return t.segments.map(t => _m(t)).join("/"); + } + function hm(t) { + return encodeURIComponent(t) + .replace(/%40/g, "@") + .replace(/%3A/gi, ":") + .replace(/%24/g, "$") + .replace(/%2C/gi, ","); + } + function gm(t) { + return hm(t).replace(/%3B/gi, ";"); + } + function pm(t) { + return hm(t) + .replace(/\(/g, "%28") + .replace(/\)/g, "%29") + .replace(/%26/gi, "&"); + } + function fm(t) { + return decodeURIComponent(t); + } + function bm(t) { + return fm(t.replace(/\+/g, "%20")); + } + function _m(t) { + return `${pm(t.path)}${((e = t.parameters), + Object.keys(e) + .map(t => `;${pm(t)}=${pm(e[t])}`) + .join(""))}`; + var e; + } + const Cm = /^[^\/()?;=#]+/; + function Pm(t) { + const e = t.match(Cm); + return e ? e[0] : ""; + } + const Om = /^[^=?&#]+/, + Mm = /^[^?&#]+/; + class ym { + constructor(t) { + (this.url = t), (this.remaining = t); + } + parseRootSegment() { + return ( + this.consumeOptional("/"), + "" === this.remaining || + this.peekStartsWith("?") || + this.peekStartsWith("#") + ? new im([], {}) + : new im([], 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[Hu] = new im(t, e)), + n + ); + } + parseSegment() { + const t = Pm(this.remaining); + if ("" === t && this.peekStartsWith(";")) + throw new Error( + `Empty path url segment cannot have parameters: '${this.remaining}'.` + ); + return this.capture(t), new rm(fm(t), this.parseMatrixParams()); + } + parseMatrixParams() { + const t = {}; + for (; this.consumeOptional(";"); ) this.parseParam(t); + return t; + } + parseParam(t) { + const e = Pm(this.remaining); + if (!e) return; + this.capture(e); + let n = ""; + if (this.consumeOptional("=")) { + const t = Pm(this.remaining); + t && this.capture((n = t)); + } + t[fm(e)] = fm(n); + } + parseQueryParam(t) { + const e = (function(t) { + const e = t.match(Om); + 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(Mm); + return e ? e[0] : ""; + })(this.remaining); + t && this.capture((n = t)); + } + const a = bm(e), + o = bm(n); + if (t.hasOwnProperty(a)) { + let e = t[a]; + Array.isArray(e) || (t[a] = e = [e]), e.push(o); + } else t[a] = o; + } + parseParens(t) { + const e = {}; + for ( + this.capture("("); + !this.consumeOptional(")") && this.remaining.length > 0; + + ) { + const n = Pm(this.remaining), + a = this.remaining[n.length]; + if ("/" !== a && ")" !== a && ";" !== a) + throw new Error(`Cannot parse url '${this.url}'`); + let o = void 0; + n.indexOf(":") > -1 + ? ((o = n.substr(0, n.indexOf(":"))), + this.capture(o), + this.capture(":")) + : t && (o = Hu); + const i = this.parseChildren(); + (e[o] = 1 === Object.keys(i).length ? i[Hu] : new im([], i)), + 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 vm { + 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 = xm(t, this._root); + return e ? e.children.map(t => t.value) : []; + } + firstChild(t) { + const e = xm(t, this._root); + return e && e.children.length > 0 ? e.children[0].value : null; + } + siblings(t) { + const e = km(t, this._root); + return e.length < 2 + ? [] + : e[e.length - 2].children.map(t => t.value).filter(e => e !== t); + } + pathFromRoot(t) { + return km(t, this._root).map(t => t.value); + } + } + function xm(t, e) { + if (t === e.value) return e; + for (const n of e.children) { + const e = xm(t, n); + if (e) return e; + } + return null; + } + function km(t, e) { + if (t === e.value) return [e]; + for (const n of e.children) { + const a = km(t, n); + if (a.length) return a.unshift(e), a; + } + return []; + } + class wm { + constructor(t, e) { + (this.value = t), (this.children = e); + } + toString() { + return `TreeNode(${this.value})`; + } + } + function Sm(t) { + const e = {}; + return t && t.children.forEach(t => (e[t.value.outlet] = t)), e; + } + class Em extends vm { + constructor(t, e) { + super(t), (this.snapshot = e), Nm(this, t); + } + toString() { + return this.snapshot.toString(); + } + } + function Im(t, e) { + const n = (function(t, e) { + const n = new Rm([], {}, {}, "", {}, Hu, e, null, t.root, -1, {}); + return new Dm("", new wm(n, [])); + })(t, e), + a = new xc([new rm("", {})]), + o = new xc({}), + i = new xc({}), + r = new xc({}), + l = new xc(""), + s = new Am(a, o, r, l, i, Hu, e, n.root); + return (s.snapshot = n.root), new Em(new wm(s, []), n); + } + class Am { + constructor(t, e, n, a, o, i, r, l) { + (this.url = t), + (this.params = e), + (this.queryParams = n), + (this.fragment = a), + (this.data = o), + (this.outlet = i), + (this.component = r), + (this._futureSnapshot = l); + } + 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(j(t => Uu(t)))), + this._paramMap + ); + } + get queryParamMap() { + return ( + this._queryParamMap || + (this._queryParamMap = this.queryParams.pipe(j(t => Uu(t)))), + this._queryParamMap + ); + } + toString() { + return this.snapshot + ? this.snapshot.toString() + : `Future(${this._futureSnapshot})`; + } + } + function Tm(t, e = "emptyOnly") { + const n = t.pathFromRoot; + let a = 0; + if ("always" !== e) + for (a = n.length - 1; a >= 1; ) { + const t = n[a], + e = n[a - 1]; + if (t.routeConfig && "" === t.routeConfig.path) a--; + else { + if (e.component) break; + a--; + } + } + return (function(t) { + return t.reduce( + (t, e) => ({ + params: Object.assign({}, t.params, e.params), + data: Object.assign({}, t.data, e.data), + resolve: Object.assign({}, t.resolve, e._resolvedData) + }), + { params: {}, data: {}, resolve: {} } + ); + })(n.slice(a)); + } + class Rm { + constructor(t, e, n, a, o, i, r, l, s, c, d) { + (this.url = t), + (this.params = e), + (this.queryParams = n), + (this.fragment = a), + (this.data = o), + (this.outlet = i), + (this.component = r), + (this.routeConfig = l), + (this._urlSegment = s), + (this._lastPathIndex = c), + (this._resolve = d); + } + 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 = Uu(this.params)), this._paramMap + ); + } + get queryParamMap() { + return ( + this._queryParamMap || (this._queryParamMap = Uu(this.queryParams)), + this._queryParamMap + ); + } + toString() { + return `Route(url:'${this.url + .map(t => t.toString()) + .join("/")}', path:'${ + this.routeConfig ? this.routeConfig.path : "" + }')`; + } + } + class Dm extends vm { + constructor(t, e) { + super(e), (this.url = t), Nm(this, e); + } + toString() { + return zm(this._root); + } + } + function Nm(t, e) { + (e.value._routerState = t), e.children.forEach(e => Nm(t, e)); + } + function zm(t) { + const e = + t.children.length > 0 ? ` { ${t.children.map(zm).join(", ")} } ` : ""; + return `${t.value}${e}`; + } + function Lm(t) { + if (t.snapshot) { + const e = t.snapshot, + n = t._futureSnapshot; + (t.snapshot = n), + Xu(e.queryParams, n.queryParams) || + t.queryParams.next(n.queryParams), + e.fragment !== n.fragment && t.fragment.next(n.fragment), + Xu(e.params, n.params) || t.params.next(n.params), + (function(t, e) { + if (t.length !== e.length) return !1; + for (let n = 0; n < t.length; ++n) if (!Xu(t[n], e[n])) return !1; + return !0; + })(e.url, n.url) || t.url.next(n.url), + Xu(e.data, n.data) || t.data.next(n.data); + } else + (t.snapshot = t._futureSnapshot), t.data.next(t._futureSnapshot.data); + } + function Fm(t, e) { + var n, a; + return ( + Xu(t.params, e.params) && + lm((n = t.url), (a = e.url)) && + n.every((t, e) => Xu(t.parameters, a[e].parameters)) && + !(!t.parent != !e.parent) && + (!t.parent || Fm(t.parent, e.parent)) + ); + } + function Bm(t) { + return ( + "object" == typeof t && null != t && !t.outlets && !t.segmentPath + ); + } + function Vm(t, e, n, a, o) { + let i = {}; + return ( + a && + em(a, (t, e) => { + i[e] = Array.isArray(t) ? t.map(t => `${t}`) : `${t}`; + }), + new om( + n.root === t + ? e + : (function t(e, n, a) { + const o = {}; + return ( + em(e.children, (e, i) => { + o[i] = e === n ? a : t(e, n, a); + }), + new im(e.segments, o) + ); + })(n.root, t, e), + i, + o + ) + ); + } + class Hm { + constructor(t, e, n) { + if ( + ((this.isAbsolute = t), + (this.numberOfDoubleDots = e), + (this.commands = n), + t && n.length > 0 && Bm(n[0])) + ) + throw new Error("Root segment cannot have matrix parameters"); + const a = n.find(t => "object" == typeof t && null != t && t.outlets); + if (a && a !== tm(n)) + throw new Error("{outlets:{}} has to be the last command"); + } + toRoot() { + return ( + this.isAbsolute && + 1 === this.commands.length && + "/" == this.commands[0] + ); + } + } + class jm { + constructor(t, e, n) { + (this.segmentGroup = t), (this.processChildren = e), (this.index = n); + } + } + function Um(t) { + return "object" == typeof t && null != t && t.outlets + ? t.outlets[Hu] + : `${t}`; + } + function qm(t, e, n) { + if ( + (t || (t = new im([], {})), + 0 === t.segments.length && t.hasChildren()) + ) + return Km(t, e, n); + const a = (function(t, e, n) { + let a = 0, + o = e; + const i = { match: !1, pathIndex: 0, commandIndex: 0 }; + for (; o < t.segments.length; ) { + if (a >= n.length) return i; + const e = t.segments[o], + r = Um(n[a]), + l = a < n.length - 1 ? n[a + 1] : null; + if (o > 0 && void 0 === r) break; + if (r && l && "object" == typeof l && void 0 === l.outlets) { + if (!$m(r, l, e)) return i; + a += 2; + } else { + if (!$m(r, {}, e)) return i; + a++; + } + o++; + } + return { match: !0, pathIndex: o, commandIndex: a }; + })(t, e, n), + o = n.slice(a.commandIndex); + if (a.match && a.pathIndex < t.segments.length) { + const e = new im(t.segments.slice(0, a.pathIndex), {}); + return ( + (e.children[Hu] = new im( + t.segments.slice(a.pathIndex), + t.children + )), + Km(e, 0, o) + ); + } + return a.match && 0 === o.length + ? new im(t.segments, {}) + : a.match && !t.hasChildren() + ? Ym(t, e, n) + : a.match + ? Km(t, 0, o) + : Ym(t, e, n); + } + function Km(t, e, n) { + if (0 === n.length) return new im(t.segments, {}); + { + const a = (function(t) { + return "object" != typeof t[0] + ? { [Hu]: t } + : void 0 === t[0].outlets + ? { [Hu]: t } + : t[0].outlets; + })(n), + o = {}; + return ( + em(a, (n, a) => { + null !== n && (o[a] = qm(t.children[a], e, n)); + }), + em(t.children, (t, e) => { + void 0 === a[e] && (o[e] = t); + }), + new im(t.segments, o) + ); + } + } + function Ym(t, e, n) { + const a = t.segments.slice(0, e); + let o = 0; + for (; o < n.length; ) { + if ("object" == typeof n[o] && void 0 !== n[o].outlets) { + const t = Wm(n[o].outlets); + return new im(a, t); + } + if (0 === o && Bm(n[0])) { + a.push(new rm(t.segments[e].path, n[0])), o++; + continue; + } + const i = Um(n[o]), + r = o < n.length - 1 ? n[o + 1] : null; + i && r && Bm(r) + ? (a.push(new rm(i, Gm(r))), (o += 2)) + : (a.push(new rm(i, {})), o++); + } + return new im(a, {}); + } + function Wm(t) { + const e = {}; + return ( + em(t, (t, n) => { + null !== t && (e[n] = Ym(new im([], {}), 0, t)); + }), + e + ); + } + function Gm(t) { + const e = {}; + return em(t, (t, n) => (e[n] = `${t}`)), e; + } + function $m(t, e, n) { + return t == n.path && Xu(e, n.parameters); + } + const Zm = (t, e, n) => + j( + a => ( + new Qm(e, a.targetRouterState, a.currentRouterState, n).activate(t), + a + ) + ); + class Qm { + constructor(t, e, n, a) { + (this.routeReuseStrategy = t), + (this.futureState = e), + (this.currState = n), + (this.forwardEvent = a); + } + activate(t) { + const e = this.futureState._root, + n = this.currState ? this.currState._root : null; + this.deactivateChildRoutes(e, n, t), + Lm(this.futureState.root), + this.activateChildRoutes(e, n, t); + } + deactivateChildRoutes(t, e, n) { + const a = Sm(e); + t.children.forEach(t => { + const e = t.value.outlet; + this.deactivateRoutes(t, a[e], n), delete a[e]; + }), + em(a, (t, e) => { + this.deactivateRouteAndItsChildren(t, n); + }); + } + deactivateRoutes(t, e, n) { + const a = t.value, + o = e ? e.value : null; + if (a === o) + if (a.component) { + const o = n.getContext(a.outlet); + o && this.deactivateChildRoutes(t, e, o.children); + } else this.deactivateChildRoutes(t, e, n); + else o && 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(), + a = n.children.onOutletDeactivated(); + this.routeReuseStrategy.store(t.value.snapshot, { + componentRef: e, + route: t, + contexts: a + }); + } + } + deactivateRouteAndOutlet(t, e) { + const n = e.getContext(t.value.outlet); + if (n) { + const a = Sm(t), + o = t.value.component ? n.children : e; + em(a, (t, e) => this.deactivateRouteAndItsChildren(t, o)), + n.outlet && + (n.outlet.deactivate(), n.children.onOutletDeactivated()); + } + } + activateChildRoutes(t, e, n) { + const a = Sm(e); + t.children.forEach(t => { + this.activateRoutes(t, a[t.value.outlet], n), + this.forwardEvent(new Fu(t.value.snapshot)); + }), + t.children.length && this.forwardEvent(new zu(t.value.snapshot)); + } + activateRoutes(t, e, n) { + const a = t.value, + o = e ? e.value : null; + if ((Lm(a), a === o)) + if (a.component) { + const o = n.getOrCreateContext(a.outlet); + this.activateChildRoutes(t, e, o.children); + } else this.activateChildRoutes(t, e, n); + else if (a.component) { + const e = n.getOrCreateContext(a.outlet); + if (this.routeReuseStrategy.shouldAttach(a.snapshot)) { + const t = this.routeReuseStrategy.retrieve(a.snapshot); + this.routeReuseStrategy.store(a.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), + Xm(t.route); + } else { + const n = (function(t) { + for (let e = a.snapshot.parent; e; e = e.parent) { + const t = e.routeConfig; + if (t && t._loadedConfig) return t._loadedConfig; + if (t && t.component) return null; + } + return null; + })(), + o = n ? n.module.componentFactoryResolver : null; + (e.attachRef = null), + (e.route = a), + (e.resolver = o), + e.outlet && e.outlet.activateWith(a, o), + this.activateChildRoutes(t, null, e.children); + } + } else this.activateChildRoutes(t, null, n); + } + } + function Xm(t) { + Lm(t.value), t.children.forEach(Xm); + } + function Jm(t) { + return "function" == typeof t; + } + function th(t) { + return t instanceof om; + } + class eh { + constructor(t) { + this.segmentGroup = t || null; + } + } + class nh { + constructor(t) { + this.urlTree = t; + } + } + function ah(t) { + return new O(e => e.error(new eh(t))); + } + function oh(t) { + return new O(e => e.error(new nh(t))); + } + function ih(t) { + return new O(e => + e.error( + new Error( + `Only absolute redirects can have named outlets. redirectTo: '${t}'` + ) + ) + ); + } + class rh { + constructor(t, e, n, a, o) { + (this.configLoader = e), + (this.urlSerializer = n), + (this.urlTree = a), + (this.config = o), + (this.allowRedirects = !0), + (this.ngModule = t.get(Dn)); + } + apply() { + return this.expandSegmentGroup( + this.ngModule, + this.config, + this.urlTree.root, + Hu + ) + .pipe( + j(t => + this.createUrlTree( + t, + this.urlTree.queryParams, + this.urlTree.fragment + ) + ) + ) + .pipe( + Wc(t => { + if (t instanceof nh) + return (this.allowRedirects = !1), this.match(t.urlTree); + if (t instanceof eh) throw this.noMatchError(t); + throw t; + }) + ); + } + match(t) { + return this.expandSegmentGroup(this.ngModule, this.config, t.root, Hu) + .pipe(j(e => this.createUrlTree(e, t.queryParams, t.fragment))) + .pipe( + Wc(t => { + if (t instanceof eh) throw this.noMatchError(t); + throw t; + }) + ); + } + noMatchError(t) { + return new Error( + `Cannot match any routes. URL Segment: '${t.segmentGroup}'` + ); + } + createUrlTree(t, e, n) { + const a = t.segments.length > 0 ? new im([], { [Hu]: t }) : t; + return new om(a, e, n); + } + expandSegmentGroup(t, e, n, a) { + return 0 === n.segments.length && n.hasChildren() + ? this.expandChildren(t, e, n).pipe(j(t => new im([], t))) + : this.expandSegment(t, n, e, n.segments, a, !0); + } + expandChildren(t, e, n) { + return (function(t, e) { + if (0 === Object.keys(t).length) return $l({}); + const n = [], + a = [], + o = {}; + return ( + em(t, (t, i) => { + const r = e(i, t).pipe(j(t => (o[i] = t))); + i === Hu ? n.push(r) : a.push(r); + }), + $l.apply(null, n.concat(a)).pipe( + Rc(), + Yc(), + j(() => o) + ) + ); + })(n.children, (n, a) => this.expandSegmentGroup(t, e, a, n)); + } + expandSegment(t, e, n, a, o, i) { + return $l(...n).pipe( + j(r => + this.expandSegmentAgainstRoute(t, e, n, r, a, o, i).pipe( + Wc(t => { + if (t instanceof eh) return $l(null); + throw t; + }) + ) + ), + Rc(), + Jc(t => !!t), + Wc((t, n) => { + if (t instanceof wc || "EmptyError" === t.name) { + if (this.noLeftoversInUrl(e, a, o)) return $l(new im([], {})); + throw new eh(e); + } + throw t; + }) + ); + } + noLeftoversInUrl(t, e, n) { + return 0 === e.length && !t.children[n]; + } + expandSegmentAgainstRoute(t, e, n, a, o, i, r) { + return dh(a) !== i + ? ah(e) + : void 0 === a.redirectTo + ? this.matchSegmentAgainstRoute(t, e, a, o) + : r && this.allowRedirects + ? this.expandSegmentAgainstRouteUsingRedirect(t, e, n, a, o, i) + : ah(e); + } + expandSegmentAgainstRouteUsingRedirect(t, e, n, a, o, i) { + return "**" === a.path + ? this.expandWildCardWithParamsAgainstRouteUsingRedirect(t, n, a, i) + : this.expandRegularSegmentAgainstRouteUsingRedirect( + t, + e, + n, + a, + o, + i + ); + } + expandWildCardWithParamsAgainstRouteUsingRedirect(t, e, n, a) { + const o = this.applyRedirectCommands([], n.redirectTo, {}); + return n.redirectTo.startsWith("/") + ? oh(o) + : this.lineralizeSegments(n, o).pipe( + W(n => { + const o = new im(n, {}); + return this.expandSegment(t, o, e, n, a, !1); + }) + ); + } + expandRegularSegmentAgainstRouteUsingRedirect(t, e, n, a, o, i) { + const { + matched: r, + consumedSegments: l, + lastChild: s, + positionalParamSegments: c + } = lh(e, a, o); + if (!r) return ah(e); + const d = this.applyRedirectCommands(l, a.redirectTo, c); + return a.redirectTo.startsWith("/") + ? oh(d) + : this.lineralizeSegments(a, d).pipe( + W(a => this.expandSegment(t, e, n, a.concat(o.slice(s)), i, !1)) + ); + } + matchSegmentAgainstRoute(t, e, n, a) { + if ("**" === n.path) + return n.loadChildren + ? this.configLoader + .load(t.injector, n) + .pipe(j(t => ((n._loadedConfig = t), new im(a, {})))) + : $l(new im(a, {})); + const { matched: o, consumedSegments: i, lastChild: r } = lh(e, n, a); + if (!o) return ah(e); + const l = a.slice(r); + return this.getChildConfig(t, n, a).pipe( + W(t => { + const n = t.module, + a = t.routes, + { segmentGroup: o, slicedSegments: r } = (function(t, e, n, a) { + return n.length > 0 && + (function(t, e, n) { + return a.some(n => ch(t, e, n) && dh(n) !== Hu); + })(t, n) + ? { + segmentGroup: sh( + new im( + e, + (function(t, e) { + const n = {}; + n[Hu] = e; + for (const a of t) + "" === a.path && + dh(a) !== Hu && + (n[dh(a)] = new im([], {})); + return n; + })(a, new im(n, t.children)) + ) + ), + slicedSegments: [] + } + : 0 === n.length && + (function(t, e, n) { + return a.some(n => ch(t, e, n)); + })(t, n) + ? { + segmentGroup: sh( + new im( + t.segments, + (function(t, e, n, a) { + const o = {}; + for (const i of n) + ch(t, e, i) && + !a[dh(i)] && + (o[dh(i)] = new im([], {})); + return Object.assign({}, a, o); + })(t, n, a, t.children) + ) + ), + slicedSegments: n + } + : { segmentGroup: t, slicedSegments: n }; + })(e, i, l, a); + return 0 === r.length && o.hasChildren() + ? this.expandChildren(n, a, o).pipe(j(t => new im(i, t))) + : 0 === a.length && 0 === r.length + ? $l(new im(i, {})) + : this.expandSegment(n, o, a, r, Hu, !0).pipe( + j(t => new im(i.concat(t.segments), t.children)) + ); + }) + ); + } + getChildConfig(t, e, n) { + return e.children + ? $l(new Wu(e.children, t)) + : e.loadChildren + ? void 0 !== e._loadedConfig + ? $l(e._loadedConfig) + : (function(t, e, n) { + const a = e.canLoad; + return a && 0 !== a.length + ? Y(a) + .pipe( + j(a => { + const o = t.get(a); + let i; + if ( + (function(t) { + return t && Jm(t.canLoad); + })(o) + ) + i = o.canLoad(e, n); + else { + if (!Jm(o)) + throw new Error("Invalid CanLoad guard"); + i = o(e, n); + } + return nm(i); + }) + ) + .pipe( + Rc(), + ((o = t => !0 === t), + t => t.lift(new td(o, void 0, t))) + ) + : $l(!0); + var o; + })(t.injector, e, n).pipe( + W(n => + n + ? this.configLoader + .load(t.injector, e) + .pipe(j(t => ((e._loadedConfig = t), t))) + : (function(t) { + return new O(e => + e.error( + Ku( + `Cannot load children because the guard of the route "path: '${t.path}'" returned false` + ) + ) + ); + })(e) + ) + ) + : $l(new Wu([], t)); + } + lineralizeSegments(t, e) { + let n = [], + a = e.root; + for (;;) { + if (((n = n.concat(a.segments)), 0 === a.numberOfChildren)) + return $l(n); + if (a.numberOfChildren > 1 || !a.children[Hu]) + return ih(t.redirectTo); + a = a.children[Hu]; + } + } + applyRedirectCommands(t, e, n) { + return this.applyRedirectCreatreUrlTree( + e, + this.urlSerializer.parse(e), + t, + n + ); + } + applyRedirectCreatreUrlTree(t, e, n, a) { + const o = this.createSegmentGroup(t, e.root, n, a); + return new om( + o, + this.createQueryParams(e.queryParams, this.urlTree.queryParams), + e.fragment + ); + } + createQueryParams(t, e) { + const n = {}; + return ( + em(t, (t, a) => { + if ("string" == typeof t && t.startsWith(":")) { + const o = t.substring(1); + n[a] = e[o]; + } else n[a] = t; + }), + n + ); + } + createSegmentGroup(t, e, n, a) { + const o = this.createSegments(t, e.segments, n, a); + let i = {}; + return ( + em(e.children, (e, o) => { + i[o] = this.createSegmentGroup(t, e, n, a); + }), + new im(o, i) + ); + } + createSegments(t, e, n, a) { + return e.map(e => + e.path.startsWith(":") + ? this.findPosParam(t, e, a) + : this.findOrReturn(e, n) + ); + } + findPosParam(t, e, n) { + const a = n[e.path.substring(1)]; + if (!a) + throw new Error( + `Cannot redirect to '${t}'. Cannot find '${e.path}'.` + ); + return a; + } + findOrReturn(t, e) { + let n = 0; + for (const a of e) { + if (a.path === t.path) return e.splice(n), a; + n++; + } + return t; + } + } + function lh(t, e, n) { + if ("" === e.path) + return "full" === e.pathMatch && (t.hasChildren() || n.length > 0) + ? { + matched: !1, + consumedSegments: [], + lastChild: 0, + positionalParamSegments: {} + } + : { + matched: !0, + consumedSegments: [], + lastChild: 0, + positionalParamSegments: {} + }; + const a = (e.matcher || Yu)(n, t, e); + return a + ? { + matched: !0, + consumedSegments: a.consumed, + lastChild: a.consumed.length, + positionalParamSegments: a.posParams + } + : { + matched: !1, + consumedSegments: [], + lastChild: 0, + positionalParamSegments: {} + }; + } + function sh(t) { + if (1 === t.numberOfChildren && t.children[Hu]) { + const e = t.children[Hu]; + return new im(t.segments.concat(e.segments), e.children); + } + return t; + } + function ch(t, e, n) { + return ( + (!(t.hasChildren() || e.length > 0) || "full" !== n.pathMatch) && + "" === n.path && + void 0 !== n.redirectTo + ); + } + function dh(t) { + return t.outlet || Hu; + } + class uh { + constructor(t) { + (this.path = t), (this.route = this.path[this.path.length - 1]); + } + } + class mh { + constructor(t, e) { + (this.component = t), (this.route = e); + } + } + function hh(t, e, n) { + const a = t._root; + return (function t( + e, + n, + a, + o, + i = { canDeactivateChecks: [], canActivateChecks: [] } + ) { + const r = Sm(n); + return ( + e.children.forEach(e => { + !(function( + e, + n, + a, + o, + i = { canDeactivateChecks: [], canActivateChecks: [] } + ) { + const r = e.value, + l = n ? n.value : null, + s = a ? a.getContext(e.value.outlet) : null; + if (l && r.routeConfig === l.routeConfig) { + const c = (function(t, e, n) { + if ("function" == typeof n) return n(t, e); + switch (n) { + case "pathParamsChange": + return !lm(t.url, e.url); + case "pathParamsOrQueryParamsChange": + return ( + !lm(t.url, e.url) || !Xu(t.queryParams, e.queryParams) + ); + case "always": + return !0; + case "paramsOrQueryParamsChange": + return !Fm(t, e) || !Xu(t.queryParams, e.queryParams); + case "paramsChange": + default: + return !Fm(t, e); + } + })(l, r, r.routeConfig.runGuardsAndResolvers); + if ( + (c + ? i.canActivateChecks.push(new uh(o)) + : ((r.data = l.data), + (r._resolvedData = l._resolvedData)), + t(e, n, r.component ? (s ? s.children : null) : a, o, i), + c) + ) { + i.canDeactivateChecks.push( + new mh((s && s.outlet && s.outlet.component) || null, l) + ); + } + } else + l && ph(n, s, i), + i.canActivateChecks.push(new uh(o)), + t(e, null, r.component ? (s ? s.children : null) : a, o, i); + })(e, r[e.value.outlet], a, o.concat([e.value]), i), + delete r[e.value.outlet]; + }), + em(r, (t, e) => ph(t, a.getContext(e), i)), + i + ); + })(a, e ? e._root : null, n, [a.value]); + } + function gh(t, e, n) { + const a = (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 (a ? a.module.injector : n).get(t); + } + function ph(t, e, n) { + const a = Sm(t), + o = t.value; + em(a, (t, a) => { + ph(t, o.component ? (e ? e.children.getContext(a) : null) : e, n); + }), + n.canDeactivateChecks.push( + new mh( + o.component && e && e.outlet && e.outlet.isActivated + ? e.outlet.component + : null, + o + ) + ); + } + const fh = Symbol("INITIAL_VALUE"); + function bh() { + return nd(t => + Ec( + ...t.map(t => + t.pipe( + Zc(1), + id(fh) + ) + ) + ).pipe( + rd((t, e) => { + let n = !1; + return e.reduce((t, a, o) => { + if (t !== fh) return t; + if ((a === fh && (n = !0), !n)) { + if (!1 === a) return a; + if (o === e.length - 1 || th(a)) return a; + } + return t; + }, t); + }, fh), + Ql(t => t !== fh), + j(t => (th(t) ? t : !0 === t)), + Zc(1) + ) + ); + } + function _h(t, e) { + return null !== t && e && e(new Lu(t)), $l(!0); + } + function Ch(t, e) { + return null !== t && e && e(new Nu(t)), $l(!0); + } + function Ph(t, e, n) { + const a = e.routeConfig ? e.routeConfig.canActivate : null; + return a && 0 !== a.length + ? $l( + a.map(a => + Tc(() => { + const o = gh(a, e, n); + let i; + if ( + (function(t) { + return t && Jm(t.canActivate); + })(o) + ) + i = nm(o.canActivate(e, t)); + else { + if (!Jm(o)) throw new Error("Invalid CanActivate guard"); + i = nm(o(e, t)); + } + return i.pipe(Jc()); + }) + ) + ).pipe(bh()) + : $l(!0); + } + function Oh(t, e, n) { + const a = e[e.length - 1], + o = 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 => + Tc(() => + $l( + e.guards.map(o => { + const i = gh(o, e.node, n); + let r; + if ( + (function(t) { + return t && Jm(t.canActivateChild); + })(i) + ) + r = nm(i.canActivateChild(a, t)); + else { + if (!Jm(i)) + throw new Error("Invalid CanActivateChild guard"); + r = nm(i(a, t)); + } + return r.pipe(Jc()); + }) + ).pipe(bh()) + ) + ); + return $l(o).pipe(bh()); + } + class Mh {} + class yh { + constructor(t, e, n, a, o, i) { + (this.rootComponentType = t), + (this.config = e), + (this.urlTree = n), + (this.url = a), + (this.paramsInheritanceStrategy = o), + (this.relativeLinkResolution = i); + } + recognize() { + try { + const e = kh( + this.urlTree.root, + [], + [], + this.config, + this.relativeLinkResolution + ).segmentGroup, + n = this.processSegmentGroup(this.config, e, Hu), + a = new Rm( + [], + Object.freeze({}), + Object.freeze(Object.assign({}, this.urlTree.queryParams)), + this.urlTree.fragment, + {}, + Hu, + this.rootComponentType, + null, + this.urlTree.root, + -1, + {} + ), + o = new wm(a, n), + i = new Dm(this.url, o); + return this.inheritParamsAndData(i._root), $l(i); + } catch (t) { + return new O(e => e.error(t)); + } + } + inheritParamsAndData(t) { + const e = t.value, + n = Tm(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 = sm(e, (e, n) => this.processSegmentGroup(t, e, n)); + return ( + (function(t) { + const e = {}; + n.forEach(t => { + const n = e[t.value.outlet]; + if (n) { + const e = n.url.map(t => t.toString()).join("/"), + a = t.value.url.map(t => t.toString()).join("/"); + throw new Error( + `Two segments cannot have the same outlet name: '${e}' and '${a}'.` + ); + } + e[t.value.outlet] = t.value; + }); + })(), + n.sort((t, e) => + t.value.outlet === Hu + ? -1 + : e.value.outlet === Hu + ? 1 + : t.value.outlet.localeCompare(e.value.outlet) + ), + n + ); + } + processSegment(t, e, n, a) { + for (const i of t) + try { + return this.processSegmentAgainstRoute(i, e, n, a); + } catch (o) { + if (!(o instanceof Mh)) throw o; + } + if (this.noLeftoversInUrl(e, n, a)) return []; + throw new Mh(); + } + noLeftoversInUrl(t, e, n) { + return 0 === e.length && !t.children[n]; + } + processSegmentAgainstRoute(t, e, n, a) { + if (t.redirectTo) throw new Mh(); + if ((t.outlet || Hu) !== a) throw new Mh(); + let o, + i = [], + r = []; + if ("**" === t.path) { + const i = n.length > 0 ? tm(n).parameters : {}; + o = new Rm( + n, + i, + Object.freeze(Object.assign({}, this.urlTree.queryParams)), + this.urlTree.fragment, + Eh(t), + a, + t.component, + t, + vh(e), + xh(e) + n.length, + Ih(t) + ); + } else { + const l = (function(t, e, n) { + if ("" === e.path) { + if ("full" === e.pathMatch && (t.hasChildren() || n.length > 0)) + throw new Mh(); + return { consumedSegments: [], lastChild: 0, parameters: {} }; + } + const a = (e.matcher || Yu)(n, t, e); + if (!a) throw new Mh(); + const o = {}; + em(a.posParams, (t, e) => { + o[e] = t.path; + }); + const i = + a.consumed.length > 0 + ? Object.assign( + {}, + o, + a.consumed[a.consumed.length - 1].parameters + ) + : o; + return { + consumedSegments: a.consumed, + lastChild: a.consumed.length, + parameters: i + }; + })(e, t, n); + (i = l.consumedSegments), + (r = n.slice(l.lastChild)), + (o = new Rm( + i, + l.parameters, + Object.freeze(Object.assign({}, this.urlTree.queryParams)), + this.urlTree.fragment, + Eh(t), + a, + t.component, + t, + vh(e), + xh(e) + i.length, + Ih(t) + )); + } + const l = (function(t) { + return t.children + ? t.children + : t.loadChildren + ? t._loadedConfig.routes + : []; + })(t), + { segmentGroup: s, slicedSegments: c } = kh( + e, + i, + r, + l, + this.relativeLinkResolution + ); + if (0 === c.length && s.hasChildren()) { + const t = this.processChildren(l, s); + return [new wm(o, t)]; + } + if (0 === l.length && 0 === c.length) return [new wm(o, [])]; + const d = this.processSegment(l, s, c, Hu); + return [new wm(o, d)]; + } + } + function vh(t) { + let e = t; + for (; e._sourceSegment; ) e = e._sourceSegment; + return e; + } + function xh(t) { + let e = t, + n = e._segmentIndexShift ? e._segmentIndexShift : 0; + for (; e._sourceSegment; ) + n += (e = e._sourceSegment)._segmentIndexShift + ? e._segmentIndexShift + : 0; + return n - 1; + } + function kh(t, e, n, a, o) { + if ( + n.length > 0 && + (function(t, e, n) { + return a.some(n => wh(t, e, n) && Sh(n) !== Hu); + })(t, n) + ) { + const o = new im( + e, + (function(t, e, n, a) { + const o = {}; + (o[Hu] = a), + (a._sourceSegment = t), + (a._segmentIndexShift = e.length); + for (const i of n) + if ("" === i.path && Sh(i) !== Hu) { + const n = new im([], {}); + (n._sourceSegment = t), + (n._segmentIndexShift = e.length), + (o[Sh(i)] = n); + } + return o; + })(t, e, a, new im(n, t.children)) + ); + return ( + (o._sourceSegment = t), + (o._segmentIndexShift = e.length), + { segmentGroup: o, slicedSegments: [] } + ); + } + if ( + 0 === n.length && + (function(t, e, n) { + return a.some(n => wh(t, e, n)); + })(t, n) + ) { + const i = new im( + t.segments, + (function(t, e, n, a, o, i) { + const r = {}; + for (const l of a) + if (wh(t, n, l) && !o[Sh(l)]) { + const n = new im([], {}); + (n._sourceSegment = t), + (n._segmentIndexShift = + "legacy" === i ? t.segments.length : e.length), + (r[Sh(l)] = n); + } + return Object.assign({}, o, r); + })(t, e, n, a, t.children, o) + ); + return ( + (i._sourceSegment = t), + (i._segmentIndexShift = e.length), + { segmentGroup: i, slicedSegments: n } + ); + } + const i = new im(t.segments, t.children); + return ( + (i._sourceSegment = t), + (i._segmentIndexShift = e.length), + { segmentGroup: i, slicedSegments: n } + ); + } + function wh(t, e, n) { + return ( + (!(t.hasChildren() || e.length > 0) || "full" !== n.pathMatch) && + "" === n.path && + void 0 === n.redirectTo + ); + } + function Sh(t) { + return t.outlet || Hu; + } + function Eh(t) { + return t.data || {}; + } + function Ih(t) { + return t.resolve || {}; + } + function Ah(t, e, n, a) { + const o = gh(t, e, a); + return nm(o.resolve ? o.resolve(e, n) : o(e, n)); + } + function Th(t) { + return function(e) { + return e.pipe( + nd(e => { + const n = t(e); + return n ? Y(n).pipe(j(() => e)) : Y([e]); + }) + ); + }; + } + class Rh {} + class Dh { + shouldDetach(t) { + return !1; + } + store(t, e) {} + shouldAttach(t) { + return !1; + } + retrieve(t) { + return null; + } + shouldReuseRoute(t, e) { + return t.routeConfig === e.routeConfig; + } + } + const Nh = new Ht("ROUTES"); + class zh { + constructor(t, e, n, a) { + (this.loader = t), + (this.compiler = e), + (this.onLoadStartListener = n), + (this.onLoadEndListener = a); + } + load(t, e) { + return ( + this.onLoadStartListener && this.onLoadStartListener(e), + this.loadModuleFactory(e.loadChildren).pipe( + j(n => { + this.onLoadEndListener && this.onLoadEndListener(e); + const a = n.create(t); + return new Wu(Ju(a.injector.get(Nh)).map(Qu), a); + }) + ) + ); + } + loadModuleFactory(t) { + return "string" == typeof t + ? Y(this.loader.load(t)) + : nm(t()).pipe( + W(t => + t instanceof Nn + ? $l(t) + : Y(this.compiler.compileModuleAsync(t)) + ) + ); + } + } + class Lh {} + class Fh { + shouldProcessUrl(t) { + return !0; + } + extract(t) { + return t; + } + merge(t, e) { + return t; + } + } + function Bh(t) { + throw t; + } + function Vh(t, e, n) { + return e.parse("/"); + } + function Hh(t, e) { + return $l(null); + } + class jh { + constructor(t, e, n, a, o, i, r, l) { + (this.rootComponentType = t), + (this.urlSerializer = e), + (this.rootContexts = n), + (this.location = a), + (this.config = l), + (this.lastSuccessfulNavigation = null), + (this.currentNavigation = null), + (this.navigationId = 0), + (this.isNgZoneEnabled = !1), + (this.events = new w()), + (this.errorHandler = Bh), + (this.malformedUriErrorHandler = Vh), + (this.navigated = !1), + (this.lastSuccessfulId = -1), + (this.hooks = { beforePreactivation: Hh, afterPreactivation: Hh }), + (this.urlHandlingStrategy = new Fh()), + (this.routeReuseStrategy = new Dh()), + (this.onSameUrlNavigation = "ignore"), + (this.paramsInheritanceStrategy = "emptyOnly"), + (this.urlUpdateStrategy = "deferred"), + (this.relativeLinkResolution = "legacy"), + (this.ngModule = o.get(Dn)), + (this.console = o.get(_i)); + const s = o.get(Di); + (this.isNgZoneEnabled = s instanceof Di), + this.resetConfig(l), + (this.currentUrlTree = new om(new im([], {}), {}, null)), + (this.rawUrlTree = this.currentUrlTree), + (this.browserUrlTree = this.currentUrlTree), + (this.configLoader = new zh( + i, + r, + t => this.triggerEvent(new Ru(t)), + t => this.triggerEvent(new Du(t)) + )), + (this.routerState = Im( + this.currentUrlTree, + this.rootComponentType + )), + (this.transitions = new xc({ + id: 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(); + } + setupNavigations(t) { + const e = this.events; + return t.pipe( + Ql(t => 0 !== t.id), + j(t => + Object.assign({}, t, { + extractedUrl: this.urlHandlingStrategy.extract(t.rawUrl) + }) + ), + nd(t => { + let n = !1, + a = !1; + return $l(t).pipe( + Bc(t => { + this.currentNavigation = { + id: t.id, + initialUrl: t.currentRawUrl, + extractedUrl: t.extractedUrl, + trigger: t.source, + extras: t.extras, + previousNavigation: this.lastSuccessfulNavigation + ? Object.assign({}, this.lastSuccessfulNavigation, { + previousNavigation: null + }) + : null + }; + }), + nd(t => { + const n = + !this.navigated || + t.extractedUrl.toString() !== + this.browserUrlTree.toString(); + if ( + ("reload" === this.onSameUrlNavigation || n) && + this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl) + ) + return $l(t).pipe( + nd(t => { + const n = this.transitions.getValue(); + return ( + e.next( + new vu( + t.id, + this.serializeUrl(t.extractedUrl), + t.source, + t.restoredState + ) + ), + n !== this.transitions.getValue() ? Yl : [t] + ); + }), + nd(t => Promise.resolve(t)), + (function(t, e, n, a) { + return function(o) { + return o.pipe( + nd(o => + (function(t, e, n, a, i) { + return new rh( + t, + e, + n, + o.extractedUrl, + i + ).apply(); + })(t, e, n, 0, a).pipe( + j(t => + Object.assign({}, o, { urlAfterRedirects: t }) + ) + ) + ) + ); + }; + })( + this.ngModule.injector, + this.configLoader, + this.urlSerializer, + this.config + ), + Bc(t => { + this.currentNavigation = Object.assign( + {}, + this.currentNavigation, + { finalUrl: t.urlAfterRedirects } + ); + }), + (function(t, e, n, a, o) { + return function(i) { + return i.pipe( + W(i => + (function( + t, + e, + n, + a, + o = "emptyOnly", + i = "legacy" + ) { + return new yh(t, e, n, a, o, i).recognize(); + })( + t, + e, + i.urlAfterRedirects, + n(i.urlAfterRedirects), + a, + o + ).pipe( + j(t => + Object.assign({}, i, { targetSnapshot: t }) + ) + ) + ) + ); + }; + })( + this.rootComponentType, + this.config, + t => this.serializeUrl(t), + this.paramsInheritanceStrategy, + this.relativeLinkResolution + ), + Bc(t => { + "eager" === this.urlUpdateStrategy && + (t.extras.skipLocationChange || + this.setBrowserUrl( + t.urlAfterRedirects, + !!t.extras.replaceUrl, + t.id, + t.extras.state + ), + (this.browserUrlTree = t.urlAfterRedirects)); + }), + Bc(t => { + const n = new Su( + t.id, + this.serializeUrl(t.extractedUrl), + this.serializeUrl(t.urlAfterRedirects), + t.targetSnapshot + ); + e.next(n); + }) + ); + if ( + n && + this.rawUrlTree && + this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree) + ) { + const { + id: n, + extractedUrl: a, + source: o, + restoredState: i, + extras: r + } = t, + l = new vu(n, this.serializeUrl(a), o, i); + e.next(l); + const s = Im(a, this.rootComponentType).snapshot; + return $l( + Object.assign({}, t, { + targetSnapshot: s, + urlAfterRedirects: a, + extras: Object.assign({}, r, { + skipLocationChange: !1, + replaceUrl: !1 + }) + }) + ); + } + return ( + (this.rawUrlTree = t.rawUrl), + (this.browserUrlTree = t.urlAfterRedirects), + t.resolve(null), + Yl + ); + }), + Th(t => { + const { + targetSnapshot: e, + id: n, + extractedUrl: a, + rawUrl: o, + extras: { skipLocationChange: i, replaceUrl: r } + } = t; + return this.hooks.beforePreactivation(e, { + navigationId: n, + appliedUrlTree: a, + rawUrlTree: o, + skipLocationChange: !!i, + replaceUrl: !!r + }); + }), + Bc(t => { + const e = new Eu( + t.id, + this.serializeUrl(t.extractedUrl), + this.serializeUrl(t.urlAfterRedirects), + t.targetSnapshot + ); + this.triggerEvent(e); + }), + j(t => + Object.assign({}, t, { + guards: hh( + t.targetSnapshot, + t.currentSnapshot, + this.rootContexts + ) + }) + ), + (function(t, e) { + return function(n) { + return n.pipe( + W(n => { + const { + targetSnapshot: a, + currentSnapshot: o, + guards: { + canActivateChecks: i, + canDeactivateChecks: r + } + } = n; + return 0 === r.length && 0 === i.length + ? $l(Object.assign({}, n, { guardsResult: !0 })) + : (function(t, e, n, a) { + return Y(r).pipe( + W(t => + (function(t, e, n, a, o) { + const i = + e && e.routeConfig + ? e.routeConfig.canDeactivate + : null; + return i && 0 !== i.length + ? $l( + i.map(i => { + const r = gh(i, e, o); + let l; + if ( + (function(t) { + return t && Jm(t.canDeactivate); + })(r) + ) + l = nm( + r.canDeactivate(t, e, n, a) + ); + else { + if (!Jm(r)) + throw new Error( + "Invalid CanDeactivate guard" + ); + l = nm(r(t, e, n, a)); + } + return l.pipe(Jc()); + }) + ).pipe(bh()) + : $l(!0); + })(t.component, t.route, n, e, a) + ), + Jc(t => !0 !== t, !0) + ); + })(0, a, o, t).pipe( + W(n => + n && + (function(t) { + return "boolean" == typeof n; + })() + ? (function(t, e, n, a) { + return Y(i).pipe( + Zl(e => + Y([ + Ch(e.route.parent, a), + _h(e.route, a), + Oh(t, e.path, n), + Ph(t, e.route, n) + ]).pipe( + Rc(), + Jc(t => !0 !== t, !0) + ) + ), + Jc(t => !0 !== t, !0) + ); + })(a, 0, t, e) + : $l(n) + ), + j(t => Object.assign({}, n, { guardsResult: t })) + ); + }) + ); + }; + })(this.ngModule.injector, t => this.triggerEvent(t)), + Bc(t => { + if (th(t.guardsResult)) { + const e = Ku( + `Redirecting to "${this.serializeUrl(t.guardsResult)}"` + ); + throw ((e.url = t.guardsResult), e); + } + }), + Bc(t => { + const e = new Iu( + t.id, + this.serializeUrl(t.extractedUrl), + this.serializeUrl(t.urlAfterRedirects), + t.targetSnapshot, + !!t.guardsResult + ); + this.triggerEvent(e); + }), + Ql(t => { + if (!t.guardsResult) { + this.resetUrlToCurrentUrlTree(); + const n = new ku( + t.id, + this.serializeUrl(t.extractedUrl), + "" + ); + return e.next(n), t.resolve(!1), !1; + } + return !0; + }), + Th(t => { + if (t.guards.canActivateChecks.length) + return $l(t).pipe( + Bc(t => { + const e = new Au( + t.id, + this.serializeUrl(t.extractedUrl), + this.serializeUrl(t.urlAfterRedirects), + t.targetSnapshot + ); + this.triggerEvent(e); + }), + (function(t, e) { + return function(n) { + return n.pipe( + W(n => { + const { + targetSnapshot: a, + guards: { canActivateChecks: o } + } = n; + return o.length + ? Y(o).pipe( + Zl(n => + (function(t, e, n, o) { + return (function(t, e, n, a) { + const o = Object.keys(t); + if (0 === o.length) return $l({}); + if (1 === o.length) { + const i = o[0]; + return Ah(t[i], e, n, a).pipe( + j(t => ({ [i]: t })) + ); + } + const i = {}; + return Y(o) + .pipe( + W(o => + Ah(t[o], e, n, a).pipe( + j(t => ((i[o] = t), t)) + ) + ) + ) + .pipe( + Yc(), + j(() => i) + ); + })(t._resolve, t, a, o).pipe( + j( + e => ( + (t._resolvedData = e), + (t.data = Object.assign( + {}, + t.data, + Tm(t, n).resolve + )), + null + ) + ) + ); + })(n.route, 0, t, e) + ), + (function(t, e) { + return arguments.length >= 2 + ? function(e) { + return C( + rd(t, void 0), + zc(1), + Uc(void 0) + )(e); + } + : function(e) { + return C( + rd((e, n, a) => t(e)), + zc(1) + )(e); + }; + })((t, e) => t), + j(t => n) + ) + : $l(n); + }) + ); + }; + })( + this.paramsInheritanceStrategy, + this.ngModule.injector + ), + Bc(t => { + const e = new Tu( + t.id, + this.serializeUrl(t.extractedUrl), + this.serializeUrl(t.urlAfterRedirects), + t.targetSnapshot + ); + this.triggerEvent(e); + }) + ); + }), + Th(t => { + const { + targetSnapshot: e, + id: n, + extractedUrl: a, + rawUrl: o, + extras: { skipLocationChange: i, replaceUrl: r } + } = t; + return this.hooks.afterPreactivation(e, { + navigationId: n, + appliedUrlTree: a, + rawUrlTree: o, + skipLocationChange: !!i, + replaceUrl: !!r + }); + }), + j(t => { + const e = (function(t, e, n) { + const a = (function t(e, n, a) { + if (a && e.shouldReuseRoute(n.value, a.value.snapshot)) { + const o = a.value; + o._futureSnapshot = n.value; + const i = (function(e, n, a) { + return n.children.map(n => { + for (const o of a.children) + if (e.shouldReuseRoute(o.value.snapshot, n.value)) + return t(e, n, o); + return t(e, n); + }); + })(e, n, a); + return new wm(o, i); + } + { + const a = e.retrieve(n.value); + if (a) { + const t = a.route; + return ( + (function t(e, n) { + if (e.value.routeConfig !== n.value.routeConfig) + throw new Error( + "Cannot reattach ActivatedRouteSnapshot created from a different route" + ); + if (e.children.length !== n.children.length) + throw new Error( + "Cannot reattach ActivatedRouteSnapshot with a different number of children" + ); + n.value._futureSnapshot = e.value; + for (let a = 0; a < e.children.length; ++a) + t(e.children[a], n.children[a]); + })(n, t), + t + ); + } + { + const a = new Am( + new xc((o = n.value).url), + new xc(o.params), + new xc(o.queryParams), + new xc(o.fragment), + new xc(o.data), + o.outlet, + o.component, + o + ), + i = n.children.map(n => t(e, n)); + return new wm(a, i); + } + } + var o; + })(t, e._root, n ? n._root : void 0); + return new Em(a, e); + })( + this.routeReuseStrategy, + t.targetSnapshot, + t.currentRouterState + ); + return Object.assign({}, t, { targetRouterState: e }); + }), + Bc(t => { + (this.currentUrlTree = t.urlAfterRedirects), + (this.rawUrlTree = this.urlHandlingStrategy.merge( + this.currentUrlTree, + t.rawUrl + )), + (this.routerState = t.targetRouterState), + "deferred" === this.urlUpdateStrategy && + (t.extras.skipLocationChange || + this.setBrowserUrl( + this.rawUrlTree, + !!t.extras.replaceUrl, + t.id, + t.extras.state + ), + (this.browserUrlTree = t.urlAfterRedirects)); + }), + Zm(this.rootContexts, this.routeReuseStrategy, t => + this.triggerEvent(t) + ), + Bc({ + next() { + n = !0; + }, + complete() { + n = !0; + } + }), + cd(() => { + if (!n && !a) { + this.resetUrlToCurrentUrlTree(); + const n = new ku( + t.id, + this.serializeUrl(t.extractedUrl), + `Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}` + ); + e.next(n), t.resolve(!1); + } + this.currentNavigation = null; + }), + Wc(n => { + if ( + ((a = !0), + (function(t) { + return n && n[qu]; + })()) + ) { + const a = th(n.url); + a || + ((this.navigated = !0), + this.resetStateAndUrl( + t.currentRouterState, + t.currentUrlTree, + t.rawUrl + )); + const o = new ku( + t.id, + this.serializeUrl(t.extractedUrl), + n.message + ); + e.next(o), t.resolve(!1), a && this.navigateByUrl(n.url); + } else { + this.resetStateAndUrl( + t.currentRouterState, + t.currentUrlTree, + t.rawUrl + ); + const a = new wu( + t.id, + this.serializeUrl(t.extractedUrl), + n + ); + e.next(a); + try { + t.resolve(this.errorHandler(n)); + } catch (o) { + t.reject(o); + } + } + return Yl; + }) + ); + }) + ); + } + 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({}, 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 => { + let e = this.parseUrl(t.url); + const n = "popstate" === t.type ? "popstate" : "hashchange", + a = t.state && t.state.navigationId ? t.state : null; + setTimeout(() => { + this.scheduleNavigation(e, n, a, { replaceUrl: !0 }); + }, 0); + })); + } + get url() { + return this.serializeUrl(this.currentUrlTree); + } + getCurrentNavigation() { + return this.currentNavigation; + } + triggerEvent(t) { + this.events.next(t); + } + resetConfig(t) { + Gu(t), + (this.config = t.map(Qu)), + (this.navigated = !1), + (this.lastSuccessfulId = -1); + } + ngOnDestroy() { + this.dispose(); + } + dispose() { + this.locationSubscription && + (this.locationSubscription.unsubscribe(), + (this.locationSubscription = null)); + } + createUrlTree(t, e = {}) { + const { + relativeTo: n, + queryParams: a, + fragment: o, + preserveQueryParams: i, + queryParamsHandling: r, + preserveFragment: l + } = e; + Ve() && + i && + console && + console.warn && + console.warn( + "preserveQueryParams is deprecated, use queryParamsHandling instead." + ); + const s = n || this.routerState.root, + c = l ? this.currentUrlTree.fragment : o; + let d = null; + if (r) + switch (r) { + case "merge": + d = Object.assign({}, this.currentUrlTree.queryParams, a); + break; + case "preserve": + d = this.currentUrlTree.queryParams; + break; + default: + d = a || null; + } + else d = i ? this.currentUrlTree.queryParams : a || null; + return ( + null !== d && (d = this.removeEmptyProps(d)), + (function(t, e, n, a, o) { + if (0 === n.length) return Vm(e.root, e.root, e, a, o); + const i = (function(t) { + if ("string" == typeof t[0] && 1 === t.length && "/" === t[0]) + return new Hm(!0, 0, t); + let e = 0, + n = !1; + const a = t.reduce((t, a, o) => { + if ("object" == typeof a && null != a) { + if (a.outlets) { + const e = {}; + return ( + em(a.outlets, (t, n) => { + e[n] = "string" == typeof t ? t.split("/") : t; + }), + [...t, { outlets: e }] + ); + } + if (a.segmentPath) return [...t, a.segmentPath]; + } + return "string" != typeof a + ? [...t, a] + : 0 === o + ? (a.split("/").forEach((a, o) => { + (0 == o && "." === a) || + (0 == o && "" === a + ? (n = !0) + : ".." === a + ? e++ + : "" != a && t.push(a)); + }), + t) + : [...t, a]; + }, []); + return new Hm(n, e, a); + })(n); + if (i.toRoot()) return Vm(e.root, new im([], {}), e, a, o); + const r = (function(t, n, a) { + if (t.isAbsolute) return new jm(e.root, !0, 0); + if (-1 === a.snapshot._lastPathIndex) + return new jm(a.snapshot._urlSegment, !0, 0); + const o = Bm(t.commands[0]) ? 0 : 1; + return (function(e, n, i) { + let r = a.snapshot._urlSegment, + l = a.snapshot._lastPathIndex + o, + s = t.numberOfDoubleDots; + for (; s > l; ) { + if (((s -= l), !(r = r.parent))) + throw new Error("Invalid number of '../'"); + l = r.segments.length; + } + return new jm(r, !1, l - s); + })(); + })(i, 0, t), + l = r.processChildren + ? Km(r.segmentGroup, r.index, i.commands) + : qm(r.segmentGroup, r.index, i.commands); + return Vm(r.segmentGroup, l, e, a, o); + })(s, this.currentUrlTree, t, d, c) + ); + } + navigateByUrl(t, e = { skipLocationChange: !1 }) { + Ve() && + this.isNgZoneEnabled && + !Di.isInAngularZone() && + this.console.warn( + "Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?" + ); + const n = th(t) ? t : this.parseUrl(t), + a = this.urlHandlingStrategy.merge(n, this.rawUrlTree); + return this.scheduleNavigation(a, "imperative", null, e); + } + navigate(t, e = { skipLocationChange: !1 }) { + return ( + (function(t) { + for (let e = 0; e < t.length; e++) { + const n = t[e]; + if (null == n) + throw new Error( + `The requested path contains ${n} segment at index ${e}` + ); + } + })(t), + this.navigateByUrl(this.createUrlTree(t, e), e) + ); + } + serializeUrl(t) { + return this.urlSerializer.serialize(t); + } + parseUrl(t) { + let e; + try { + e = this.urlSerializer.parse(t); + } catch (n) { + e = this.malformedUriErrorHandler(n, this.urlSerializer, t); + } + return e; + } + isActive(t, e) { + if (th(t)) return am(this.currentUrlTree, t, e); + const n = this.parseUrl(t); + return am(this.currentUrlTree, n, e); + } + removeEmptyProps(t) { + return Object.keys(t).reduce((e, n) => { + const a = t[n]; + return null != a && (e[n] = a), e; + }, {}); + } + processNavigations() { + this.navigations.subscribe( + t => { + (this.navigated = !0), + (this.lastSuccessfulId = t.id), + this.events.next( + new xu( + t.id, + this.serializeUrl(t.extractedUrl), + this.serializeUrl(this.currentUrlTree) + ) + ), + (this.lastSuccessfulNavigation = this.currentNavigation), + (this.currentNavigation = null), + t.resolve(!0); + }, + t => { + this.console.warn("Unhandled Navigation Error: "); + } + ); + } + scheduleNavigation(t, e, n, a) { + const o = this.getTransition(); + if ( + o && + "imperative" !== e && + "imperative" === o.source && + o.rawUrl.toString() === t.toString() + ) + return Promise.resolve(!0); + if ( + o && + "hashchange" == e && + "popstate" === o.source && + o.rawUrl.toString() === t.toString() + ) + return Promise.resolve(!0); + if ( + o && + "popstate" == e && + "hashchange" === o.source && + o.rawUrl.toString() === t.toString() + ) + return Promise.resolve(!0); + let i = null, + r = null; + const l = new Promise((t, e) => { + (i = t), (r = e); + }), + s = ++this.navigationId; + return ( + this.setTransition({ + id: s, + source: e, + restoredState: n, + currentUrlTree: this.currentUrlTree, + currentRawUrl: this.rawUrlTree, + rawUrl: t, + extras: a, + resolve: i, + reject: r, + promise: l, + currentSnapshot: this.routerState.snapshot, + currentRouterState: this.routerState + }), + l.catch(t => Promise.reject(t)) + ); + } + setBrowserUrl(t, e, n, a) { + const o = this.urlSerializer.serialize(t); + (a = a || {}), + this.location.isCurrentPathEqualTo(o) || e + ? this.location.replaceState( + o, + "", + Object.assign({}, a, { navigationId: n }) + ) + : this.location.go( + o, + "", + Object.assign({}, a, { navigationId: n }) + ); + } + resetStateAndUrl(t, e, n) { + (this.routerState = t), + (this.currentUrlTree = e), + (this.rawUrlTree = this.urlHandlingStrategy.merge( + this.currentUrlTree, + n + )), + this.resetUrlToCurrentUrlTree(); + } + resetUrlToCurrentUrlTree() { + this.location.replaceState( + this.urlSerializer.serialize(this.rawUrlTree), + "", + { navigationId: this.lastSuccessfulId } + ); + } + } + const Uh = (() => + class { + constructor(t, e, n, a, o) { + (this.router = t), + (this.route = e), + (this.commands = []), + null == n && a.setAttribute(o.nativeElement, "tabindex", "0"); + } + set routerLink(t) { + this.commands = null != t ? (Array.isArray(t) ? t : [t]) : []; + } + set preserveQueryParams(t) { + Ve() && + console && + console.warn && + console.warn( + "preserveQueryParams is deprecated!, use queryParamsHandling instead." + ), + (this.preserve = t); + } + onClick() { + const t = { + skipLocationChange: Kh(this.skipLocationChange), + replaceUrl: Kh(this.replaceUrl) + }; + return this.router.navigateByUrl(this.urlTree, t), !0; + } + get urlTree() { + return this.router.createUrlTree(this.commands, { + relativeTo: this.route, + queryParams: this.queryParams, + fragment: this.fragment, + preserveQueryParams: Kh(this.preserve), + queryParamsHandling: this.queryParamsHandling, + preserveFragment: Kh(this.preserveFragment) + }); + } + })(), + qh = (() => + class { + constructor(t, e, n) { + (this.router = t), + (this.route = e), + (this.locationStrategy = n), + (this.commands = []), + (this.subscription = t.events.subscribe(t => { + t instanceof xu && this.updateTargetUrlAndHref(); + })); + } + set routerLink(t) { + this.commands = null != t ? (Array.isArray(t) ? t : [t]) : []; + } + set preserveQueryParams(t) { + Ve() && + console && + console.warn && + console.warn( + "preserveQueryParams is deprecated, use queryParamsHandling instead." + ), + (this.preserve = t); + } + ngOnChanges(t) { + this.updateTargetUrlAndHref(); + } + ngOnDestroy() { + this.subscription.unsubscribe(); + } + onClick(t, e, n, a) { + if (0 !== t || e || n || a) return !0; + if ("string" == typeof this.target && "_self" != this.target) + return !0; + const o = { + skipLocationChange: Kh(this.skipLocationChange), + replaceUrl: Kh(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: this.route, + queryParams: this.queryParams, + fragment: this.fragment, + preserveQueryParams: Kh(this.preserve), + queryParamsHandling: this.queryParamsHandling, + preserveFragment: Kh(this.preserveFragment) + }); + } + })(); + function Kh(t) { + return "" === t || !!t; + } + const Yh = (() => + class { + constructor(t, e, n, a, o) { + (this.router = t), + (this.element = e), + (this.renderer = n), + (this.link = a), + (this.linkWithHref = o), + (this.classes = []), + (this.isActive = !1), + (this.routerLinkActiveOptions = { exact: !1 }), + (this.subscription = t.events.subscribe(t => { + t instanceof xu && this.update(); + })); + } + ngAfterContentInit() { + this.links.changes.subscribe(t => this.update()), + this.linksWithHrefs.changes.subscribe(t => this.update()), + this.update(); + } + set routerLinkActive(t) { + const e = Array.isArray(t) ? t : t.split(" "); + this.classes = e.filter(t => !!t); + } + ngOnChanges(t) { + this.update(); + } + ngOnDestroy() { + this.subscription.unsubscribe(); + } + update() { + this.links && + this.linksWithHrefs && + this.router.navigated && + Promise.resolve().then(() => { + const t = this.hasActiveLinks(); + this.isActive !== t && + ((this.isActive = t), + this.classes.forEach(e => { + t + ? this.renderer.addClass(this.element.nativeElement, e) + : this.renderer.removeClass( + this.element.nativeElement, + e + ); + })); + }); + } + isLinkActive(t) { + return e => + t.isActive(e.urlTree, this.routerLinkActiveOptions.exact); + } + 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) + ); + } + })(); + class Wh { + constructor() { + (this.outlet = null), + (this.route = null), + (this.resolver = null), + (this.children = new Gh()), + (this.attachRef = null); + } + } + class Gh { + 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); + } + 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 Wh()), this.contexts.set(t, e)), e; + } + getContext(t) { + return this.contexts.get(t) || null; + } + } + const $h = (() => + class { + constructor(t, e, n, a, o) { + (this.parentContexts = t), + (this.location = e), + (this.resolver = n), + (this.changeDetector = o), + (this.activated = null), + (this._activatedRoute = null), + (this.activateEvents = new li()), + (this.deactivateEvents = new li()), + (this.name = a || Hu), + 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 + ), + a = this.parentContexts.getOrCreateContext(this.name).children, + o = new Zh(t, a, this.location.injector); + (this.activated = this.location.createComponent( + n, + this.location.length, + o + )), + this.changeDetector.markForCheck(), + this.activateEvents.emit(this.activated.instance); + } + })(); + class Zh { + constructor(t, e, n) { + (this.route = t), (this.childContexts = e), (this.parent = n); + } + get(t, e) { + return t === Am + ? this.route + : t === Gh + ? this.childContexts + : this.parent.get(t, e); + } + } + class Qh {} + class Xh { + preload(t, e) { + return e().pipe(Wc(() => $l(null))); + } + } + class Jh { + preload(t, e) { + return $l(null); + } + } + const tg = (() => + class { + constructor(t, e, n, a, o) { + (this.router = t), + (this.injector = a), + (this.preloadingStrategy = o), + (this.loader = new zh( + e, + n, + e => t.triggerEvent(new Ru(e)), + e => t.triggerEvent(new Du(e)) + )); + } + setUpPreloading() { + this.subscription = this.router.events + .pipe( + Ql(t => t instanceof xu), + Zl(() => this.preload()) + ) + .subscribe(() => {}); + } + preload() { + const t = this.injector.get(Dn); + return this.processRoutes(t, this.router.config); + } + ngOnDestroy() { + this.subscription.unsubscribe(); + } + processRoutes(t, e) { + const n = []; + for (const a of e) + if (a.loadChildren && !a.canLoad && a._loadedConfig) { + const t = a._loadedConfig; + n.push(this.processRoutes(t.module, t.routes)); + } else + a.loadChildren && !a.canLoad + ? n.push(this.preloadConfig(t, a)) + : a.children && n.push(this.processRoutes(t, a.children)); + return Y(n).pipe( + Q(), + j(t => void 0) + ); + } + preloadConfig(t, e) { + return this.preloadingStrategy.preload(e, () => + this.loader + .load(t.injector, e) + .pipe( + W( + t => ( + (e._loadedConfig = t), + this.processRoutes(t.module, t.routes) + ) + ) + ) + ); + } + })(); + class eg { + 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 vu + ? ((this.store[ + this.lastId + ] = this.viewportScroller.getScrollPosition()), + (this.lastSource = t.navigationTrigger), + (this.restoredId = t.restoredState + ? t.restoredState.navigationId + : 0)) + : t instanceof xu && + ((this.lastId = t.id), + this.scheduleScrollEvent( + t, + this.router.parseUrl(t.urlAfterRedirects).fragment + )); + }); + } + consumeScrollEvents() { + return this.router.events.subscribe(t => { + t instanceof Bu && + (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 Bu( + t, + "popstate" === this.lastSource + ? this.store[this.restoredId] + : null, + e + ) + ); + } + ngOnDestroy() { + this.routerEventsSubscription && + this.routerEventsSubscription.unsubscribe(), + this.scrollEventsSubscription && + this.scrollEventsSubscription.unsubscribe(); + } + } + const ng = new Ht("ROUTER_CONFIGURATION"), + ag = new Ht("ROUTER_FORROOT_GUARD"), + og = [ + os, + { provide: cm, useClass: dm }, + { + provide: jh, + useFactory: ug, + deps: [ + Ji, + cm, + Gh, + os, + Wt, + ci, + vi, + Nh, + ng, + [Lh, new mt()], + [Rh, new mt()] + ] + }, + Gh, + { provide: Am, useFactory: mg, deps: [jh] }, + { provide: ci, useClass: ar }, + tg, + Jh, + Xh, + { provide: ng, useValue: { enableTracing: !1 } } + ]; + function ig() { + return new Gi("Router", jh); + } + const rg = (() => { + class t { + constructor(t, e) {} + static forRoot(e, n) { + return { + ngModule: t, + providers: [ + og, + dg(e), + { + provide: ag, + useFactory: cg, + deps: [[jh, new mt(), new gt()]] + }, + { provide: ng, useValue: n || {} }, + { + provide: ns, + useFactory: sg, + deps: [ts, [new ut(as), new mt()], ng] + }, + { provide: eg, useFactory: lg, deps: [jh, qs, ng] }, + { + provide: Qh, + useExisting: + n && n.preloadingStrategy ? n.preloadingStrategy : Jh + }, + { provide: Gi, multi: !0, useFactory: ig }, + [ + hg, + { provide: di, multi: !0, useFactory: gg, deps: [hg] }, + { provide: fg, useFactory: pg, deps: [hg] }, + { provide: bi, multi: !0, useExisting: fg } + ] + ] + }; + } + static forChild(e) { + return { ngModule: t, providers: [dg(e)] }; + } + } + return t; + })(); + function lg(t, e, n) { + return n.scrollOffset && e.setOffset(n.scrollOffset), new eg(t, e, n); + } + function sg(t, e, n = {}) { + return n.useHash ? new rs(t, e) : new ls(t, e); + } + function cg(t) { + if (t) + throw new Error( + "RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead." + ); + return "guarded"; + } + function dg(t) { + return [ + { provide: Ae, multi: !0, useValue: t }, + { provide: Nh, multi: !0, useValue: t } + ]; + } + function ug(t, e, n, a, o, i, r, l, s = {}, c, d) { + const u = new jh(null, e, n, a, o, i, r, Ju(l)); + if ( + (c && (u.urlHandlingStrategy = c), + d && (u.routeReuseStrategy = d), + s.errorHandler && (u.errorHandler = s.errorHandler), + s.malformedUriErrorHandler && + (u.malformedUriErrorHandler = s.malformedUriErrorHandler), + s.enableTracing) + ) { + const t = hd(); + u.events.subscribe(e => { + t.logGroup(`Router Event: ${e.constructor.name}`), + t.log(e.toString()), + t.log(e), + t.logGroupEnd(); + }); + } + return ( + s.onSameUrlNavigation && + (u.onSameUrlNavigation = s.onSameUrlNavigation), + s.paramsInheritanceStrategy && + (u.paramsInheritanceStrategy = s.paramsInheritanceStrategy), + s.urlUpdateStrategy && (u.urlUpdateStrategy = s.urlUpdateStrategy), + s.relativeLinkResolution && + (u.relativeLinkResolution = s.relativeLinkResolution), + u + ); + } + function mg(t) { + return t.routerState.root; + } + const hg = (() => + class { + constructor(t) { + (this.injector = t), + (this.initNavigation = !1), + (this.resultOfPreactivationDone = new w()); + } + appInitializer() { + return this.injector.get(es, Promise.resolve(null)).then(() => { + let t = null; + const e = new Promise(e => (t = e)), + n = this.injector.get(jh), + a = this.injector.get(ng); + if (this.isLegacyDisabled(a) || this.isLegacyEnabled(a)) t(!0); + else if ("disabled" === a.initialNavigation) + n.setUpLocationChangeListener(), t(!0); + else { + if ("enabled" !== a.initialNavigation) + throw new Error( + `Invalid initialNavigation options: '${a.initialNavigation}'` + ); + (n.hooks.afterPreactivation = () => + this.initNavigation + ? $l(null) + : ((this.initNavigation = !0), + t(!0), + this.resultOfPreactivationDone)), + n.initialNavigation(); + } + return e; + }); + } + bootstrapListener(t) { + const e = this.injector.get(ng), + n = this.injector.get(tg), + a = this.injector.get(eg), + o = this.injector.get(jh), + i = this.injector.get(Ji); + t === i.components[0] && + (this.isLegacyEnabled(e) + ? o.initialNavigation() + : this.isLegacyDisabled(e) && o.setUpLocationChangeListener(), + n.setUpPreloading(), + a.init(), + o.resetRootComponentType(i.componentTypes[0]), + this.resultOfPreactivationDone.next(null), + this.resultOfPreactivationDone.complete()); + } + isLegacyEnabled(t) { + return ( + "legacy_enabled" === t.initialNavigation || + !0 === t.initialNavigation || + void 0 === t.initialNavigation + ); + } + isLegacyDisabled(t) { + return ( + "legacy_disabled" === t.initialNavigation || + !1 === t.initialNavigation + ); + } + })(); + function gg(t) { + return t.appInitializer.bind(t); + } + function pg(t) { + return t.bootstrapListener.bind(t); + } + const fg = new Ht("Router Initializer"), + bg = (() => { + class t { + constructor(t, e) { + (this.appRef = t), + (this.beatOnApi = e), + (this.connectionStatus = Pg.Disconnected), + (this.setupMessage = new li()), + (this.toastMessage = new li()), + (this.downloadStatusMessage = new li()), + (this.configChangeMessage = new li()), + (this.opStatusMessage = new li()), + (this.connectionStatusChanged = new li()), + (this.actionResponseMessage = new li()), + ql.WS_ENDPOINT_OVERRIDE + ? ((this.netConfig = { + Url: ql.API_ENDPOINT, + WebSocketUrl: ql.WS_ENDPOINT_OVERRIDE + }), + this.openSocket()) + : e.getNetInfo().subscribe( + t => { + (this.netConfig = t), + console.log( + "HostMessageService got net config info, websocket is at " + + this.netConfig.WebSocketUrl + ), + this.openSocket(); + }, + t => { + console.log( + "Critical error: could not get net info for web socket!" + ); + } + ); + } + openSocket() { + null == this.websocket || + this.websocket.readyState !== WebSocket.OPEN + ? (null != this.websocket && this.websocket.close(), + (this.connectionStatus = Pg.Connecting), + this.connectionStatusChanged.emit(this.connectionStatus), + (this.websocket = new WebSocket(this.netConfig.WebSocketUrl)), + (this.websocket.onopen = t => { + console.log("Connection opened"), + (this.connectionStatus = Pg.Connected), + this.connectionStatusChanged.emit(this.connectionStatus); + }), + (this.websocket.onmessage = t => { + this.connectionStatus != Pg.Connected && + ((this.connectionStatus = Pg.Connected), + this.connectionStatusChanged.emit(this.connectionStatus)); + var e = new FileReader(); + (e.onload = () => { + let t = e.result, + n = JSON.parse(t); + "SetupEvent" == n.Type + ? this.setupMessage.emit(n) + : "Toast" == n.Type + ? this.toastMessage.emit(n) + : "DownloadStatus" == n.Type + ? this.downloadStatusMessage.emit(n) + : "ConfigChange" == n.Type + ? this.configChangeMessage.emit(n) + : "OpStatus" == n.Type + ? this.opStatusMessage.emit(n) + : "ActionResponse" == n.Type + ? this.actionResponseMessage.emit(n) + : console.log(`Unknown host message: ${t}`), + this.appRef.tick(); + }), + e.readAsText(t.data); + }), + (this.websocket.onclose = t => { + (this.connectionStatus = Pg.Disconnected), + this.connectionStatusChanged.emit(this.connectionStatus), + console.log( + "Connection was closed, reconnecting in several seconds..." + ); + }), + (this.websocket.onerror = t => { + (this.connectionStatus = Pg.Error), + this.connectionStatusChanged.emit(this.connectionStatus), + console.log("WEBSOCKET ERROR OH NOOOOO!"); + })) + : console.log( + "HostMessageService.openSocket called, but the connection is already open." + ); + } + reconnect() { + (null != this.websocket && + this.websocket.readyState === WebSocket.OPEN) || + this.openSocket(); + } + sendClientMessage(t) { + if (this.connectionStatus != Pg.Connected) { + var e; + (e = this.connectionStatusChanged.subscribe(n => { + if (n == Pg.Connected) { + var a = JSON.stringify(t); + this.websocket.send(a), e.unsubscribe(); + } + })), + this.connectionStatus == Pg.Disconnected && this.reconnect(); + } else { + var n = JSON.stringify(t); + this.websocket.send(n); + } + } + } + return ( + (t.ngInjectableDef = bt({ + factory: function() { + return new t(It(Ji), It(vc)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(); + var _g, + Cg, + Pg = (function(t) { + return ( + (t[(t.Disconnected = 0)] = "Disconnected"), + (t[(t.Connecting = 1)] = "Connecting"), + (t[(t.Connected = 2)] = "Connected"), + (t[(t.Error = 3)] = "Error"), + t + ); + })({}); + !(function(t) { + (t.Error = "Error"), + (t.Warning = "Warning"), + (t.Info = "Info"), + (t.Success = "Success"); + })(_g || (_g = {})), + (function(t) { + (t.Step1Complete = "Step1Complete"), + (t.Step2Complete = "Step2Complete"), + (t.Step3Complete = "Step3Complete"), + (t.Error = "Error"), + (t.StatusMessage = "StatusMessage"); + })(Cg || (Cg = {})), + n("mrSG"); + class Og { + constructor(t, e, n, a, o, i) { + (this.toastId = t), + (this.config = e), + (this.message = n), + (this.title = a), + (this.toastType = o), + (this.toastRef = i), + (this._onTap = new w()), + (this._onAction = new w()), + this.toastRef.afterClosed().subscribe(() => { + this._onAction.complete(), this._onTap.complete(); + }); + } + triggerTap() { + this._onTap.next(), + this.config.tapToDismiss && this._onTap.complete(); + } + onTap() { + return this._onTap.asObservable(); + } + triggerAction(t) { + this._onAction.next(t); + } + onAction() { + return this._onAction.asObservable(); + } + } + const Mg = { + maxOpened: 0, + autoDismiss: !1, + newestOnTop: !0, + preventDuplicates: !1, + countDuplicates: !1, + resetTimeoutOnDuplicate: !1, + iconClasses: { + error: "toast-error", + info: "toast-info", + success: "toast-success", + warning: "toast-warning" + }, + closeButton: !1, + disableTimeOut: !1, + timeOut: 5e3, + extendedTimeOut: 1e3, + enableHtml: !1, + progressBar: !1, + toastClass: "ngx-toastr", + positionClass: "toast-top-right", + titleClass: "toast-title", + messageClass: "toast-message", + easing: "ease-in", + easeTime: 300, + tapToDismiss: !0, + onActivateTick: !1, + progressAnimation: "decreasing" + }, + yg = new Ht("ToastConfig"); + class vg { + constructor(t, e) { + (this.component = t), (this.injector = e); + } + attach(t, e) { + return (this._attachedHost = t), t.attach(this, e); + } + detach() { + const t = this._attachedHost; + if (t) return (this._attachedHost = void 0), t.detach(); + } + get isAttached() { + return null != this._attachedHost; + } + setAttachedHost(t) { + this._attachedHost = t; + } + } + class xg { + attach(t, e) { + return (this._attachedPortal = t), this.attachComponentPortal(t, e); + } + detach() { + this._attachedPortal && this._attachedPortal.setAttachedHost(), + (this._attachedPortal = void 0), + this._disposeFn && (this._disposeFn(), (this._disposeFn = void 0)); + } + setDisposeFn(t) { + this._disposeFn = t; + } + } + class kg extends xg { + constructor(t, e, n) { + super(), + (this._hostDomElement = t), + (this._componentFactoryResolver = e), + (this._appRef = n); + } + attachComponentPortal(t, e) { + const n = this._componentFactoryResolver.resolveComponentFactory( + t.component + ); + let a; + return ( + (a = n.create(t.injector)), + this._appRef.attachView(a.hostView), + this.setDisposeFn(() => { + this._appRef.detachView(a.hostView), a.destroy(); + }), + e + ? this._hostDomElement.insertBefore( + this._getComponentRootNode(a), + this._hostDomElement.firstChild + ) + : this._hostDomElement.appendChild(this._getComponentRootNode(a)), + a + ); + } + _getComponentRootNode(t) { + return t.hostView.rootNodes[0]; + } + } + const wg = (() => { + let t = class { + constructor(t) { + this._document = t; + } + ngOnDestroy() { + this._containerElement && + this._containerElement.parentNode && + this._containerElement.parentNode.removeChild( + this._containerElement + ); + } + getContainerElement() { + return ( + this._containerElement || this._createContainer(), + this._containerElement + ); + } + _createContainer() { + const t = this._document.createElement("div"); + t.classList.add("overlay-container"), + this._document.body.appendChild(t), + (this._containerElement = t); + } + }; + return ( + (t.ngInjectableDef = _t({ + factory: function() { + return new t(At(Bs)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(); + class Sg { + constructor(t) { + this._portalHost = t; + } + attach(t, e = !0) { + return this._portalHost.attach(t, e); + } + detach() { + return this._portalHost.detach(); + } + } + const Eg = (() => { + let t = class { + constructor(t, e, n, a) { + (this._overlayContainer = t), + (this._componentFactoryResolver = e), + (this._appRef = n), + (this._document = a), + (this._paneElements = new Map()); + } + create(t, e) { + return this._createOverlayRef(this.getPaneElement(t, e)); + } + getPaneElement(t = "", e) { + return ( + this._paneElements.get(e) || this._paneElements.set(e, {}), + this._paneElements.get(e)[t] || + (this._paneElements.get(e)[t] = this._createPaneElement(t, e)), + this._paneElements.get(e)[t] + ); + } + _createPaneElement(t, e) { + const n = this._document.createElement("div"); + return ( + (n.id = "toast-container"), + n.classList.add(t), + n.classList.add("toast-container"), + e + ? e.getContainerElement().appendChild(n) + : this._overlayContainer.getContainerElement().appendChild(n), + n + ); + } + _createPortalHost(t) { + return new kg(t, this._componentFactoryResolver, this._appRef); + } + _createOverlayRef(t) { + return new Sg(this._createPortalHost(t)); + } + }; + return ( + (t.ngInjectableDef = _t({ + factory: function() { + return new t(At(wg), At(An), At(Ji), At(Bs)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(); + class Ig { + constructor(t) { + (this._overlayRef = t), + (this.duplicatesCount = 0), + (this._afterClosed = new w()), + (this._activate = new w()), + (this._manualClose = new w()), + (this._resetTimeout = new w()), + (this._countDuplicate = new w()); + } + manualClose() { + this._manualClose.next(), this._manualClose.complete(); + } + manualClosed() { + return this._manualClose.asObservable(); + } + timeoutReset() { + return this._resetTimeout.asObservable(); + } + countDuplicate() { + return this._countDuplicate.asObservable(); + } + close() { + this._overlayRef.detach(), + this._afterClosed.next(), + this._manualClose.next(), + this._afterClosed.complete(), + this._manualClose.complete(), + this._activate.complete(), + this._resetTimeout.complete(), + this._countDuplicate.complete(); + } + afterClosed() { + return this._afterClosed.asObservable(); + } + isInactive() { + return this._activate.isStopped; + } + activate() { + this._activate.next(), this._activate.complete(); + } + afterActivate() { + return this._activate.asObservable(); + } + onDuplicate(t, e) { + t && this._resetTimeout.next(), + e && this._countDuplicate.next(++this.duplicatesCount); + } + } + class Ag { + constructor(t, e) { + (this._toastPackage = t), (this._parentInjector = e); + } + get(t, e, n) { + return t === Og + ? this._toastPackage + : this._parentInjector.get(t, e, n); + } + } + const Tg = (() => { + let t = class { + constructor(t, e, n, a, o) { + (this.overlay = e), + (this._injector = n), + (this.sanitizer = a), + (this.ngZone = o), + (this.currentlyActive = 0), + (this.toasts = []), + (this.index = 0), + (this.toastrConfig = Object.assign({}, t.default, t.config)), + t.config.iconClasses && + (this.toastrConfig.iconClasses = Object.assign( + {}, + t.default.iconClasses, + t.config.iconClasses + )); + } + show(t, e, n = {}, a = "") { + return this._preBuildNotification(a, t, e, this.applyConfig(n)); + } + success(t, e, n = {}) { + return this._preBuildNotification( + this.toastrConfig.iconClasses.success || "", + t, + e, + this.applyConfig(n) + ); + } + error(t, e, n = {}) { + return this._preBuildNotification( + this.toastrConfig.iconClasses.error || "", + t, + e, + this.applyConfig(n) + ); + } + info(t, e, n = {}) { + return this._preBuildNotification( + this.toastrConfig.iconClasses.info || "", + t, + e, + this.applyConfig(n) + ); + } + warning(t, e, n = {}) { + return this._preBuildNotification( + this.toastrConfig.iconClasses.warning || "", + t, + e, + this.applyConfig(n) + ); + } + clear(t) { + for (const e of this.toasts) + if (void 0 !== t) { + if (e.toastId === t) return void e.toastRef.manualClose(); + } else e.toastRef.manualClose(); + } + remove(t) { + const e = this._findToast(t); + if (!e) return !1; + if ( + (e.activeToast.toastRef.close(), + this.toasts.splice(e.index, 1), + (this.currentlyActive = this.currentlyActive - 1), + !this.toastrConfig.maxOpened || !this.toasts.length) + ) + return !1; + if ( + this.currentlyActive < this.toastrConfig.maxOpened && + this.toasts[this.currentlyActive] + ) { + const t = this.toasts[this.currentlyActive].toastRef; + t.isInactive() || + ((this.currentlyActive = this.currentlyActive + 1), + t.activate()); + } + return !0; + } + findDuplicate(t, e, n) { + for (let a = 0; a < this.toasts.length; a++) { + const o = this.toasts[a]; + if (o.message === t) return o.toastRef.onDuplicate(e, n), o; + } + return null; + } + applyConfig(t = {}) { + return Object.assign({}, this.toastrConfig, t); + } + _findToast(t) { + for (let e = 0; e < this.toasts.length; e++) + if (this.toasts[e].toastId === t) + return { index: e, activeToast: this.toasts[e] }; + return null; + } + _preBuildNotification(t, e, n, a) { + return a.onActivateTick + ? this.ngZone.run(() => this._buildNotification(t, e, n, a)) + : this._buildNotification(t, e, n, a); + } + _buildNotification(t, e, n, a) { + if (!a.toastComponent) throw new Error("toastComponent required"); + const o = this.findDuplicate( + e, + this.toastrConfig.resetTimeoutOnDuplicate, + this.toastrConfig.countDuplicates + ); + if (e && this.toastrConfig.preventDuplicates && null !== o) + return o; + this.previousToastMessage = e; + let i = !1; + this.toastrConfig.maxOpened && + this.currentlyActive >= this.toastrConfig.maxOpened && + ((i = !0), + this.toastrConfig.autoDismiss && + this.clear(this.toasts[0].toastId)); + const r = this.overlay.create( + a.positionClass, + this.overlayContainer + ); + this.index = this.index + 1; + let l = e; + e && a.enableHtml && (l = this.sanitizer.sanitize(cn.HTML, e)); + const s = new Ig(r), + c = new Og(this.index, a, l, n, t, s), + d = new Ag(c, this._injector), + u = new vg(a.toastComponent, d), + m = r.attach(u, this.toastrConfig.newestOnTop); + s.componentInstance = m._component; + const h = { + toastId: this.index, + message: e || "", + toastRef: s, + onShown: s.afterActivate(), + onHidden: s.afterClosed(), + onTap: c.onTap(), + onAction: c.onAction(), + portal: m + }; + return ( + i || + setTimeout(() => { + h.toastRef.activate(), + (this.currentlyActive = this.currentlyActive + 1); + }), + this.toasts.push(h), + h + ); + } + }; + return ( + (t.ngInjectableDef = _t({ + factory: function() { + return new t(At(yg), At(Eg), At(Kt), At(mu), At(Di)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + Rg = (() => + class { + constructor(t, e, n) { + (this.toastrService = t), + (this.toastPackage = e), + (this.ngZone = n), + (this.width = -1), + (this.toastClasses = ""), + (this.state = { + value: "inactive", + params: { + easeTime: this.toastPackage.config.easeTime, + easing: "ease-in" + } + }), + (this.message = e.message), + (this.title = e.title), + (this.options = e.config), + (this.originalTimeout = e.config.timeOut), + (this.toastClasses = `${e.toastType} ${e.config.toastClass}`), + (this.sub = e.toastRef.afterActivate().subscribe(() => { + this.activateToast(); + })), + (this.sub1 = e.toastRef.manualClosed().subscribe(() => { + this.remove(); + })), + (this.sub2 = e.toastRef.timeoutReset().subscribe(() => { + this.resetTimeout(); + })), + (this.sub3 = e.toastRef.countDuplicate().subscribe(t => { + this.duplicatesCount = t; + })); + } + get displayStyle() { + return "inactive" === this.state.value ? "none" : "inherit"; + } + ngOnDestroy() { + this.sub.unsubscribe(), + this.sub1.unsubscribe(), + this.sub2.unsubscribe(), + this.sub3.unsubscribe(), + clearInterval(this.intervalId), + clearTimeout(this.timeout); + } + activateToast() { + (this.state = Object.assign({}, this.state, { value: "active" })), + !this.options.disableTimeOut && + this.options.timeOut && + (this.outsideTimeout( + () => this.remove(), + this.options.timeOut + ), + (this.hideTime = new Date().getTime() + this.options.timeOut), + this.options.progressBar && + this.outsideInterval(() => this.updateProgress(), 10)); + } + updateProgress() { + if ( + 0 === this.width || + 100 === this.width || + !this.options.timeOut + ) + return; + const t = new Date().getTime(); + (this.width = ((this.hideTime - t) / this.options.timeOut) * 100), + "increasing" === this.options.progressAnimation && + (this.width = 100 - this.width), + this.width <= 0 && (this.width = 0), + this.width >= 100 && (this.width = 100); + } + resetTimeout() { + clearTimeout(this.timeout), + clearInterval(this.intervalId), + (this.state = Object.assign({}, this.state, { + value: "active" + })), + this.outsideTimeout(() => this.remove(), this.originalTimeout), + (this.options.timeOut = this.originalTimeout), + (this.hideTime = + new Date().getTime() + (this.options.timeOut || 0)), + (this.width = -1), + this.options.progressBar && + this.outsideInterval(() => this.updateProgress(), 10); + } + remove() { + "removed" !== this.state.value && + (clearTimeout(this.timeout), + (this.state = Object.assign({}, this.state, { + value: "removed" + })), + this.outsideTimeout( + () => this.toastrService.remove(this.toastPackage.toastId), + +this.toastPackage.config.easeTime + )); + } + tapToast() { + "removed" !== this.state.value && + (this.toastPackage.triggerTap(), + this.options.tapToDismiss && this.remove()); + } + stickAround() { + "removed" !== this.state.value && + (clearTimeout(this.timeout), + (this.options.timeOut = 0), + (this.hideTime = 0), + clearInterval(this.intervalId), + (this.width = 0)); + } + delayedHideToast() { + this.options.disableTimeOut || + 0 === this.options.extendedTimeOut || + "removed" === this.state.value || + (this.outsideTimeout( + () => this.remove(), + this.options.extendedTimeOut + ), + (this.options.timeOut = this.options.extendedTimeOut), + (this.hideTime = + new Date().getTime() + (this.options.timeOut || 0)), + (this.width = -1), + this.options.progressBar && + this.outsideInterval(() => this.updateProgress(), 10)); + } + outsideTimeout(t, e) { + this.ngZone + ? this.ngZone.runOutsideAngular( + () => + (this.timeout = setTimeout( + () => this.runInsideAngular(t), + e + )) + ) + : (this.timeout = setTimeout(() => t(), e)); + } + outsideInterval(t, e) { + this.ngZone + ? this.ngZone.runOutsideAngular( + () => + (this.intervalId = setInterval( + () => this.runInsideAngular(t), + e + )) + ) + : (this.intervalId = setInterval(() => t(), e)); + } + runInsideAngular(t) { + this.ngZone ? this.ngZone.run(() => t()) : t(); + } + })(); + var Dg; + const Ng = Object.assign({}, Mg, { toastComponent: Rg }), + zg = (() => + (Dg = class { + static forRoot(t = {}) { + return { + ngModule: Dg, + providers: [ + { provide: yg, useValue: { default: Ng, config: t } } + ] + }; + } + }))(), + Lg = (() => { + class t { + constructor(t, e, n) { + (this.beatOnApi = t), + (this.msgSvc = e), + (this.toastr = n), + (this.configUpdated = new li()), + console.log( + "config service subscribing to host config change event" + ), + this.msgSvc.configChangeMessage.subscribe(t => { + console.log("config service got updated config message"), + (this.currentConfig = t.UpdatedConfig), + this.configUpdated.emit(t.UpdatedConfig); + }); + } + getConfig() { + return new O(t => { + null != this.currentConfig + ? t.next(this.currentConfig) + : this.beatOnApi.getConfig().subscribe( + e => { + (this.currentConfig = e), t.next(e); + }, + e => { + this.toastr.error( + "Unable to load configuration", + "Showstopping Error", + { timeOut: 30 } + ), + (this.currentConfig = { + IsCommitted: !0, + Config: {} + }), + t.next(this.currentConfig); + } + ); + }); + } + ngOnInit() {} + refreshConfig() { + this.beatOnApi.getConfig().subscribe( + t => { + (this.currentConfig = t), this.configUpdated.emit(t); + }, + t => { + console.log("ERROR" + t); + } + ); + } + } + return ( + (t.ngInjectableDef = bt({ + factory: function() { + return new t(It(vc), It(bg), It(Tg)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + Fg = (() => { + class t { + constructor() { + (this.appButtonPressed = new li()), + (this.isBrowserShown = !1), + window.addEventListener( + "appbutton", + t => { + this.appButtonPressed.emit(t.detail); + }, + !1 + ); + } + isAppLoaded() { + return null != window[t.INTERFACE_NAME]; + } + refreshBrowser() { + console.log("calling interface refresh browser"), + window[t.INTERFACE_NAME].refreshBrowser(); + } + showBrowser() { + var e = document + .getElementById("mainContentDiv") + .getBoundingClientRect(); + console.log( + "calling interface show browser with offset " + e.top + ), + window[t.INTERFACE_NAME].showBrowser(e.top), + (this.isBrowserShown = !0); + } + hideBrowser() { + console.log("calling interface hide browser"), + window[t.INTERFACE_NAME].hideBrowser(), + (this.isBrowserShown = !1); + } + browserGoBack() { + console.log("calling interface browser go back"), + window[t.INTERFACE_NAME].browserGoBack(); + } + navigateBrowser(e) { + console.log("calling navigate browser with " + e), + window[t.INTERFACE_NAME].navigateBrowser(e); + } + showToast(e, n, a, o) { + console.log("calling toast"), + window[t.INTERFACE_NAME].showToast(e, n, _g[a], o); + } + } + return ( + (t.INTERFACE_NAME = "BeatOnAppInterface"), + (t.ngInjectableDef = bt({ + factory: function() { + return new t(); + }, + token: t, + providedIn: "root" + })), + t + ); + })(); + class Bg { + constructor(t, e, n, a, o) { + (this.dialogRef = t), + (this.data = e), + (this.msgSvc = n), + (this.cdr = a), + (this.appIntegration = o), + (this.messages = new Array()), + (this.mainText = ""), + (this.mainText = e.mainText); + var i = !1; + t.afterOpened().subscribe(() => { + this.appIntegration.isBrowserShown && + this.appIntegration.isAppLoaded() && + (this.appIntegration.hideBrowser(), (i = !0)); + }), + t.beforeClosed().subscribe(() => { + i && + this.appIntegration.isAppLoaded() && + this.appIntegration.showBrowser(); + }), + this.msgSvc.setupMessage.subscribe(t => { + t.SetupEvent == Cg.StatusMessage && + (this.messages.push(t.Message), this.cdr.detectChanges()); + }); + } + addMessage(t) { + this.messages.push(t.data.Message); + } + ngOnInit() {} + } + var Vg = (function(t) { + return ( + (t[(t.Queued = "Queued")] = "Queued"), + (t[(t.Started = "Started")] = "Started"), + (t[(t.Complete = "Complete")] = "Complete"), + (t[(t.Failed = "Failed")] = "Failed"), + t + ); + })({}); + const Hg = (() => { + class t { + constructor() { + (this.backClicked = new li()), + (this.navigate = new li()), + (this.refreshClicked = new li()); + } + triggerBackClicked() { + this.backClicked.emit(!0); + } + triggerRefreshClicked() { + this.refreshClicked.emit(!0); + } + triggerNavigate(t) { + this.navigate.emit(t); + } + } + return ( + (t.ngInjectableDef = bt({ + factory: function() { + return new t(); + }, + token: t, + providedIn: "root" + })), + t + ); + })(); + var jg = (function(t) { + return ( + (t[(t.NotStarted = "NotStarted")] = "NotStarted"), + (t[(t.Downloading = "Downloading")] = "Downloading"), + (t[(t.Downloaded = "Downloaded")] = "Downloaded"), + (t[(t.Processing = "Proccessing")] = "Processing"), + (t[(t.Processed = "Processed")] = "Processed"), + (t[(t.Failed = "Failed")] = "Failed"), + t + ); + })({}); + class Ug { + constructor(t, e, n, a, o, i, r, l) { + (this.beatOnApi = t), + (this.router = e), + (this.msgSvc = n), + (this.toastr = a), + (this.cfgSvc = o), + (this.dialog = i), + (this.toolbarEvents = r), + (this.appIntegration = l), + (this.appIntegrated = !1), + (this.opInProgress = !1), + (this.dlInProgress = !1), + (this.modStatusLoaded = !1), + (this.title = "Beat On"), + (this.showRefreshButton = !1), + (this.showBackButton = !1), + (this.showBrowser = !1), + (this.resultJson = ""), + (this.modStatus = { CurrentStatus: "" }), + (this.config = { IsCommitted: !0, Config: null, SyncConfig: null }), + (this.connectionStatus = Pg.Disconnected), + (this.appIntegrated = l.isAppLoaded()), + this.msgSvc.opStatusMessage.subscribe(t => { + this.opInProgress = + t.Ops.findIndex(t => t.Status != Vg.Failed) > -1; + }), + this.msgSvc.downloadStatusMessage.subscribe(t => { + this.dlInProgress = + t.Downloads.findIndex( + t => t.Status != jg.Failed && t.Status != jg.Processed + ) > -1; + }), + this.router.events.subscribe(t => {}), + this.msgSvc.toastMessage.subscribe(t => this.showToast(t)), + this.cfgSvc.configUpdated.subscribe(t => { + this.config = t; + }), + this.msgSvc.connectionStatusChanged.subscribe(t => { + this.connectionStatus = t; + }), + this.router.events.subscribe(t => { + t instanceof vu && + ((this.showBackButton = "/main/browser" == t.url), + (this.showRefreshButton = "/main/browser" == t.url), + (this.showBrowser = "/main/browser" == t.url), + "/" == t.url && + ((this.modStatusLoaded = !1), this.checkModStatus())); + }), + this.msgSvc.setupMessage.subscribe(t => { + switch (t.SetupEvent) { + case Cg.Step1Complete: + this.router.navigateByUrl("/setupstep2"); + break; + case Cg.Step2Complete: + this.router.navigateByUrl("/setupstep3"); + break; + case Cg.Step3Complete: + this.router.navigateByUrl("/"); + } + }); + } + ngOnInit() { + this.checkModStatus(); + } + showWait() { + return ( + !this.modStatusLoaded || + "/" == this.router.url || + null == this.config.Config + ); + } + commitConfig() { + const t = this.dialog.open(Bg, { + width: "450px", + height: "350px", + disableClose: !0, + data: { mainText: "Updating config... Do not exit Beat On yet!" } + }); + this.beatOnApi.commitConfig().subscribe( + e => { + t.close(); + }, + e => { + t.close(); + } + ); + } + clickStartBeatSaber() { + this.beatOnApi.startBeatSaber().subscribe(() => {}); + } + showToast(t) { + if (this.appIntegration.isBrowserShown) + return ( + console.log("redirecting toast to host since browser is visible"), + void this.appIntegration.showToast( + t.Title, + t.Message, + t.ToastType, + t.Timeout + ) + ); + switch ( + (console.log("browser is not shown, doing toast on web"), + t.ToastType) + ) { + case _g.Error: + this.toastr.error(t.Message, t.Title, { timeOut: t.Timeout }); + break; + case _g.Info: + this.toastr.info(t.Message, t.Title, { timeOut: t.Timeout }); + break; + case _g.Success: + this.toastr.success(t.Message, t.Title, { timeOut: t.Timeout }); + break; + case _g.Warning: + this.toastr.warning(t.Message, t.Title, { timeOut: t.Timeout }); + } + } + getConnStatusColor() { + return this.connectionStatus == Pg.Connected + ? "green" + : this.connectionStatus == Pg.Connecting + ? "orange" + : "gray"; + } + getConnStatusIcon() { + return ( + this.connectionStatus == Pg.Connected || + this.connectionStatus == Pg.Connecting + ); + } + resetConfig() { + const t = this.dialog.open(Bg, { + width: "450px", + height: "350px", + disableClose: !0, + data: { mainText: "Resetting changes..." } + }); + this.beatOnApi.revertConfig().subscribe( + () => { + t.close(); + }, + e => { + t.close(), console.log("Failed to revert config!"); + } + ); + } + reconnect() { + this.msgSvc.reconnect(); + } + checkModStatus() { + this.beatOnApi.getModStatus().subscribe(t => { + (this.modStatusLoaded = !0), + (this.modStatus = t), + "ModInstallNotStarted" == this.modStatus.CurrentStatus + ? this.router.navigateByUrl("/setup") + : "ReadyForModApply" == this.modStatus.CurrentStatus + ? this.router.navigateByUrl("/setupstep2") + : "ReadyForInstall" == this.modStatus.CurrentStatus + ? this.router.navigateByUrl("/setupstep3") + : "ModInstalled" == this.modStatus.CurrentStatus && + this.cfgSvc.getConfig().subscribe(t => { + (this.config = t), + ("/" == this.router.url || + this.router.url.indexOf("setup") > -1 || + "/main" == this.router.url || + "" == this.router.url) && + (this.appIntegration.isAppLoaded() + ? this.router.navigateByUrl("/main/browser") + : this.router.navigateByUrl("/main/upload")); + }); + }); + } + disableSync() { + return this.opInProgress || this.dlInProgress; + } + onClickModStatus() {} + onClickInstallModStep1() { + this.beatOnApi.installModStep1().subscribe(t => { + (this.modStatusLoaded = !0), + (this.modStatus = t), + (this.resultJson = JSON.stringify(t)); + }); + } + onClickInstallModStep2() { + this.beatOnApi.installModStep2().subscribe(t => { + (this.modStatus = t), (this.resultJson = JSON.stringify(t)); + }); + } + clickBack() { + this.toolbarEvents.triggerBackClicked(); + } + clickRefresh() { + this.toolbarEvents.triggerRefreshClicked(); + } + linkSelected(t) { + this.toolbarEvents.triggerNavigate(t); + } + } + var qg = Ia({ + encapsulation: 2, + styles: [], + data: { + animation: [ + { + type: 7, + name: "flyInOut", + definitions: [ + { + type: 0, + name: "inactive", + styles: { type: 6, styles: { opacity: 0 }, offset: null }, + options: void 0 + }, + { + type: 0, + name: "active", + styles: { type: 6, styles: { opacity: 1 }, offset: null }, + options: void 0 + }, + { + type: 0, + name: "removed", + styles: { type: 6, styles: { opacity: 0 }, offset: null }, + options: void 0 + }, + { + type: 1, + expr: "inactive => active", + animation: { + type: 4, + styles: null, + timings: "{{ easeTime }}ms {{ easing }}" + }, + options: null + }, + { + type: 1, + expr: "active => removed", + animation: { + type: 4, + styles: null, + timings: "{{ easeTime }}ms {{ easing }}" + }, + options: null + } + ], + options: {} + } + ] + } + }); + function Kg(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 2, + "button", + [["aria-label", "Close"], ["class", "toast-close-button"]], + null, + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && (a = !1 !== t.component.remove() && a), a + ); + }, + null, + null + )), + (t()(), + Cr( + 1, + 0, + null, + null, + 1, + "span", + [["aria-hidden", "true"]], + null, + null, + null, + null, + null + )), + (t()(), Rr(-1, null, ["\xd7"])) + ], + null, + null + ); + } + function Yg(t) { + return zr( + 0, + [ + (t()(), + Cr(0, 0, null, null, 1, null, null, null, null, null, null, null)), + (t()(), Rr(1, null, ["[", "]"])) + ], + null, + function(t, e) { + t(e, 1, 0, e.component.duplicatesCount + 1); + } + ); + } + function Wg(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 3, + "div", + [], + [[8, "className", 0], [1, "aria-label", 0]], + null, + null, + null, + null + )), + (t()(), Rr(1, null, [" ", " "])), + (t()(), _r(16777216, null, null, 1, null, Yg)), + Uo(3, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null) + ], + function(t, e) { + t(e, 3, 0, e.component.duplicatesCount); + }, + function(t, e) { + var n = e.component; + t(e, 0, 0, n.options.titleClass, n.title), t(e, 1, 0, n.title); + } + ); + } + function Gg(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 0, + "div", + [["aria-live", "polite"], ["role", "alertdialog"]], + [[8, "className", 0], [8, "innerHTML", 1]], + null, + null, + null, + null + )) + ], + null, + function(t, e) { + var n = e.component; + t(e, 0, 0, n.options.messageClass, n.message); + } + ); + } + function $g(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "div", + [["aria-live", "polite"], ["role", "alertdialog"]], + [[8, "className", 0], [1, "aria-label", 0]], + null, + null, + null, + null + )), + (t()(), Rr(1, null, [" ", " "])) + ], + null, + function(t, e) { + var n = e.component; + t(e, 0, 0, n.options.messageClass, n.message), + t(e, 1, 0, n.message); + } + ); + } + function Zg(t) { + return zr( + 0, + [ + (t()(), + Cr(0, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), + Cr( + 1, + 0, + null, + null, + 0, + "div", + [["class", "toast-progress"]], + [[4, "width", null]], + null, + null, + null, + null + )) + ], + null, + function(t, e) { + t(e, 1, 0, e.component.width + "%"); + } + ); + } + function Qg(t) { + return zr( + 0, + [ + (t()(), _r(16777216, null, null, 1, null, Kg)), + Uo(1, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, null, 1, null, Wg)), + Uo(3, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, null, 1, null, Gg)), + Uo(5, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, null, 1, null, $g)), + Uo(7, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, null, 1, null, Zg)), + Uo(9, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null) + ], + function(t, e) { + var n = e.component; + t(e, 1, 0, n.options.closeButton), + t(e, 3, 0, n.title), + t(e, 5, 0, n.message && n.options.enableHtml), + t(e, 7, 0, n.message && !n.options.enableHtml), + t(e, 9, 0, n.options.progressBar); + }, + null + ); + } + function Xg(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "div", + [["toast-component", ""]], + [[8, "className", 0], [40, "@flyInOut", 0], [4, "display", null]], + [[null, "click"], [null, "mouseenter"], [null, "mouseleave"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && (a = !1 !== Io(t, 1).tapToast() && a), + "mouseenter" === e && + (a = !1 !== Io(t, 1).stickAround() && a), + "mouseleave" === e && + (a = !1 !== Io(t, 1).delayedHideToast() && a), + a + ); + }, + Qg, + qg + )), + Uo(1, 180224, null, 0, Rg, [Tg, Og, Di], null, null) + ], + null, + function(t, e) { + t( + e, + 0, + 0, + Io(e, 1).toastClasses, + Io(e, 1).state, + Io(e, 1).displayStyle + ); + } + ); + } + var Jg = Co("[toast-component]", Rg, Xg, {}, {}, []), + tp = Ia({ encapsulation: 2, styles: [], data: {} }); + function ep(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 16777216, + null, + null, + 1, + "router-outlet", + [], + null, + null, + null, + null, + null + )), + Uo(1, 212992, null, 0, $h, [Gh, ua, An, [8, null], oa], null, null) + ], + function(t, e) { + t(e, 1, 0); + }, + null + ); + } + function np(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "ng-component", + [], + null, + null, + null, + ep, + tp + )), + Uo(1, 49152, null, 0, Vu, [], null, null) + ], + null, + null + ); + } + var ap = Co("ng-component", Vu, np, {}, {}, []); + const op = (() => class {})(), + ip = (() => class {})(), + rp = (() => class {})(), + lp = (() => + class { + constructor() { + this.align = "start"; + } + })(), + sp = (() => class {})(), + cp = (() => class {})(), + dp = (() => class {})(), + up = (() => class {})(), + mp = new Ht("cdk-dir-doc", { + providedIn: "root", + factory: function() { + return At(Bs); + } + }), + hp = (() => { + class t { + constructor(t) { + if (((this.value = "ltr"), (this.change = new li()), t)) { + const e = t.documentElement ? t.documentElement.dir : null, + n = (t.body ? t.body.dir : null) || e; + this.value = "ltr" === n || "rtl" === n ? n : "ltr"; + } + } + ngOnDestroy() { + this.change.complete(); + } + } + return ( + (t.ngInjectableDef = bt({ + factory: function() { + return new t(It(mp, 8)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + gp = (() => class {})(); + function pp(t) { + return null != t && "false" !== `${t}`; + } + function fp(t, e = 0) { + return (function(t) { + return !isNaN(parseFloat(t)) && !isNaN(Number(t)); + })(t) + ? Number(t) + : e; + } + function bp(t) { + return Array.isArray(t) ? t : [t]; + } + function _p(t) { + return null == t ? "" : "string" == typeof t ? t : `${t}px`; + } + function Cp(t) { + return t instanceof Ln ? t.nativeElement : t; + } + let Pp; + try { + Pp = "undefined" != typeof Intl && Intl.v8BreakIterator; + } catch (vR) { + Pp = !1; + } + const Op = (() => { + class t { + constructor(t) { + (this._platformId = t), + (this.isBrowser = this._platformId + ? js(this._platformId) + : "object" == typeof document && !!document), + (this.EDGE = + this.isBrowser && /(edge)/i.test(navigator.userAgent)), + (this.TRIDENT = + this.isBrowser && + /(msie|trident)/i.test(navigator.userAgent)), + (this.BLINK = + this.isBrowser && + !(!window.chrome && !Pp) && + "undefined" != typeof CSS && + !this.EDGE && + !this.TRIDENT), + (this.WEBKIT = + this.isBrowser && + /AppleWebKit/i.test(navigator.userAgent) && + !this.BLINK && + !this.EDGE && + !this.TRIDENT), + (this.IOS = + this.isBrowser && + /iPad|iPhone|iPod/.test(navigator.userAgent) && + !("MSStream" in window)), + (this.FIREFOX = + this.isBrowser && + /(firefox|minefield)/i.test(navigator.userAgent)), + (this.ANDROID = + this.isBrowser && + /android/i.test(navigator.userAgent) && + !this.TRIDENT), + (this.SAFARI = + this.isBrowser && + /safari/i.test(navigator.userAgent) && + this.WEBKIT); + } + } + return ( + (t.ngInjectableDef = bt({ + factory: function() { + return new t(It(fi, 8)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + Mp = (() => class {})(); + let yp; + const vp = [ + "color", + "button", + "checkbox", + "date", + "datetime-local", + "email", + "file", + "hidden", + "image", + "month", + "number", + "password", + "radio", + "range", + "reset", + "search", + "submit", + "tel", + "text", + "time", + "url", + "week" + ]; + function xp() { + if (yp) return yp; + if ("object" != typeof document || !document) return (yp = new Set(vp)); + let t = document.createElement("input"); + return (yp = new Set( + vp.filter(e => (t.setAttribute("type", e), t.type === e)) + )); + } + let kp; + function wp(t) { + return (function() { + if (null == kp && "undefined" != typeof window) + try { + window.addEventListener( + "test", + null, + Object.defineProperty({}, "passive", { get: () => (kp = !0) }) + ); + } finally { + kp = kp || !1; + } + return kp; + })() + ? t + : !!t.capture; + } + const Sp = (function() { + var t = { NORMAL: 0, NEGATED: 1, INVERTED: 2 }; + return ( + (t[t.NORMAL] = "NORMAL"), + (t[t.NEGATED] = "NEGATED"), + (t[t.INVERTED] = "INVERTED"), + t + ); + })(); + let Ep; + function Ip() { + if ("object" != typeof document || !document) return Sp.NORMAL; + if (!Ep) { + const t = document.createElement("div"), + e = t.style; + (t.dir = "rtl"), + (e.height = "1px"), + (e.width = "1px"), + (e.overflow = "auto"), + (e.visibility = "hidden"), + (e.pointerEvents = "none"), + (e.position = "absolute"); + const n = document.createElement("div"), + a = n.style; + (a.width = "2px"), + (a.height = "1px"), + t.appendChild(n), + document.body.appendChild(t), + (Ep = Sp.NORMAL), + 0 === t.scrollLeft && + ((t.scrollLeft = 1), + (Ep = 0 === t.scrollLeft ? Sp.NEGATED : Sp.INVERTED)), + t.parentNode.removeChild(t); + } + return Ep; + } + const Ap = 9, + Tp = 13, + Rp = 27, + Dp = 37, + Np = 38, + zp = 39, + Lp = 40, + Fp = 48, + Bp = 57, + Vp = 65, + Hp = 90, + jp = 188; + function Up(t, ...e) { + return e.length + ? e.some(e => t[e]) + : t.altKey || t.shiftKey || t.ctrlKey || t.metaKey; + } + class qp extends m { + constructor(t, e) { + super(); + } + schedule(t, e = 0) { + return this; + } + } + class Kp extends qp { + 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, + a = this.scheduler; + return ( + null != n && (this.id = this.recycleAsyncId(a, n, e)), + (this.pending = !0), + (this.delay = e), + (this.id = this.id || this.requestAsyncId(a, this.id, e)), + this + ); + } + requestAsyncId(t, e, n = 0) { + return setInterval(t.flush.bind(t, this), n); + } + recycleAsyncId(t, e, n = 0) { + if (null !== n && this.delay === n && !1 === this.pending) return e; + clearInterval(e); + } + execute(t, e) { + if (this.closed) return new Error("executing a cancelled action"); + this.pending = !1; + const n = this._execute(t, e); + if (n) return n; + !1 === this.pending && + null != this.id && + (this.id = this.recycleAsyncId(this.scheduler, this.id, null)); + } + _execute(t, e) { + let n = !1, + a = void 0; + try { + this.work(t); + } catch (o) { + (n = !0), (a = (!!o && o) || new Error(o)); + } + if (n) return this.unsubscribe(), a; + } + _unsubscribe() { + const t = this.id, + e = this.scheduler, + n = e.actions, + a = n.indexOf(this); + (this.work = null), + (this.state = null), + (this.pending = !1), + (this.scheduler = null), + -1 !== a && n.splice(a, 1), + null != t && (this.id = this.recycleAsyncId(e, t, null)), + (this.delay = null); + } + } + const Yp = (() => { + 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 Wp extends Yp { + constructor(t, e = Yp.now) { + super(t, () => + Wp.delegate && Wp.delegate !== this ? Wp.delegate.now() : e() + ), + (this.actions = []), + (this.active = !1), + (this.scheduled = void 0); + } + schedule(t, e = 0, n) { + return Wp.delegate && Wp.delegate !== this + ? Wp.delegate.schedule(t, e, n) + : super.schedule(t, e, n); + } + flush(t) { + const { actions: e } = this; + if (this.active) return void e.push(t); + let n; + this.active = !0; + do { + if ((n = t.execute(t.state, t.delay))) break; + } while ((t = e.shift())); + if (((this.active = !1), n)) { + for (; (t = e.shift()); ) t.unsubscribe(); + throw n; + } + } + } + const Gp = new Wp(Kp); + function $p(t, e = Gp) { + return n => n.lift(new Zp(t, e)); + } + class Zp { + constructor(t, e) { + (this.dueTime = t), (this.scheduler = e); + } + call(t, e) { + return e.subscribe(new Qp(t, this.dueTime, this.scheduler)); + } + } + class Qp extends p { + constructor(t, e, n) { + super(t), + (this.dueTime = e), + (this.scheduler = n), + (this.debouncedSubscription = null), + (this.lastValue = null), + (this.hasValue = !1); + } + _next(t) { + this.clearDebounce(), + (this.lastValue = t), + (this.hasValue = !0), + this.add( + (this.debouncedSubscription = this.scheduler.schedule( + Xp, + 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 Xp(t) { + t.debouncedNext(); + } + const Jp = " "; + function tf(t, e) { + return (t.getAttribute(e) || "").match(/\S+/g) || []; + } + const ef = "cdk-describedby-message-container", + nf = "cdk-describedby-message", + af = "cdk-describedby-host"; + let of = 0; + const rf = new Map(); + let lf = null; + const sf = (() => { + class t { + constructor(t) { + this._document = t; + } + describe(t, e) { + this._canBeDescribed(t, e) && + (rf.has(e) || this._createMessageElement(e), + this._isElementDescribedByMessage(t, e) || + this._addMessageReference(t, e)); + } + removeDescription(t, e) { + if (!this._isElementNode(t)) return; + this._isElementDescribedByMessage(t, e) && + this._removeMessageReference(t, e); + const n = rf.get(e); + n && 0 === n.referenceCount && this._deleteMessageElement(e), + lf && + 0 === lf.childNodes.length && + this._deleteMessagesContainer(); + } + ngOnDestroy() { + const t = this._document.querySelectorAll(`[${af}]`); + for (let e = 0; e < t.length; e++) + this._removeCdkDescribedByReferenceIds(t[e]), + t[e].removeAttribute(af); + lf && this._deleteMessagesContainer(), rf.clear(); + } + _createMessageElement(t) { + const e = this._document.createElement("div"); + e.setAttribute("id", `${nf}-${of++}`), + e.appendChild(this._document.createTextNode(t)), + this._createMessagesContainer(), + lf.appendChild(e), + rf.set(t, { messageElement: e, referenceCount: 0 }); + } + _deleteMessageElement(t) { + const e = rf.get(t), + n = e && e.messageElement; + lf && n && lf.removeChild(n), rf.delete(t); + } + _createMessagesContainer() { + if (!lf) { + const t = this._document.getElementById(ef); + t && t.parentNode.removeChild(t), + ((lf = this._document.createElement("div")).id = ef), + lf.setAttribute("aria-hidden", "true"), + (lf.style.display = "none"), + this._document.body.appendChild(lf); + } + } + _deleteMessagesContainer() { + lf && lf.parentNode && (lf.parentNode.removeChild(lf), (lf = null)); + } + _removeCdkDescribedByReferenceIds(t) { + const e = tf(t, "aria-describedby").filter(t => 0 != t.indexOf(nf)); + t.setAttribute("aria-describedby", e.join(" ")); + } + _addMessageReference(t, e) { + const n = rf.get(e); + !(function(t, e, n) { + const a = tf(t, e); + a.some(t => t.trim() == n.trim()) || + (a.push(n.trim()), t.setAttribute(e, a.join(Jp))); + })(t, "aria-describedby", n.messageElement.id), + t.setAttribute(af, ""), + n.referenceCount++; + } + _removeMessageReference(t, e) { + const n = rf.get(e); + n.referenceCount--, + (function(t, e, n) { + const a = tf(t, e).filter(t => t != n.trim()); + t.setAttribute(e, a.join(Jp)); + })(t, "aria-describedby", n.messageElement.id), + t.removeAttribute(af); + } + _isElementDescribedByMessage(t, e) { + const n = tf(t, "aria-describedby"), + a = rf.get(e), + o = a && a.messageElement.id; + return !!o && -1 != n.indexOf(o); + } + _canBeDescribed(t, e) { + if (!this._isElementNode(t)) return !1; + const n = null == e ? "" : `${e}`.trim(), + a = t.getAttribute("aria-label"); + return !(!n || (a && a.trim() === n)); + } + _isElementNode(t) { + return t.nodeType === this._document.ELEMENT_NODE; + } + } + return ( + (t.ngInjectableDef = bt({ + factory: function() { + return new t(It(Bs)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(); + class cf { + constructor(t) { + (this._items = t), + (this._activeItemIndex = -1), + (this._activeItem = null), + (this._wrap = !1), + (this._letterKeyStream = new w()), + (this._typeaheadSubscription = m.EMPTY), + (this._vertical = !0), + (this._allowedModifierKeys = []), + (this._skipPredicateFn = t => t.disabled), + (this._pressedLetters = []), + (this.tabOut = new w()), + (this.change = new w()), + t instanceof si && + t.changes.subscribe(t => { + if (this._activeItem) { + const e = t.toArray().indexOf(this._activeItem); + e > -1 && + e !== this._activeItemIndex && + (this._activeItemIndex = e); + } + }); + } + skipPredicate(t) { + return (this._skipPredicateFn = t), this; + } + withWrap(t = !0) { + return (this._wrap = t), this; + } + withVerticalOrientation(t = !0) { + return (this._vertical = t), this; + } + withHorizontalOrientation(t) { + return (this._horizontal = t), this; + } + withAllowedModifierKeys(t) { + return (this._allowedModifierKeys = t), this; + } + withTypeAhead(t = 200) { + if ( + this._items.length && + this._items.some(t => "function" != typeof t.getLabel) + ) + throw Error( + "ListKeyManager items in typeahead mode must implement the `getLabel` method." + ); + return ( + this._typeaheadSubscription.unsubscribe(), + (this._typeaheadSubscription = this._letterKeyStream + .pipe( + Bc(t => this._pressedLetters.push(t)), + $p(t), + Ql(() => this._pressedLetters.length > 0), + j(() => this._pressedLetters.join("")) + ) + .subscribe(t => { + const e = this._getItemsArray(); + for (let n = 1; n < e.length + 1; n++) { + const a = (this._activeItemIndex + n) % e.length, + o = e[a]; + if ( + !this._skipPredicateFn(o) && + 0 === + o + .getLabel() + .toUpperCase() + .trim() + .indexOf(t) + ) { + this.setActiveItem(a); + break; + } + } + this._pressedLetters = []; + })), + this + ); + } + setActiveItem(t) { + const e = this._activeItemIndex; + this.updateActiveItem(t), + this._activeItemIndex !== e && + this.change.next(this._activeItemIndex); + } + onKeydown(t) { + const e = t.keyCode, + n = ["altKey", "ctrlKey", "metaKey", "shiftKey"].every( + e => !t[e] || this._allowedModifierKeys.indexOf(e) > -1 + ); + switch (e) { + case Ap: + return void this.tabOut.next(); + case Lp: + if (this._vertical && n) { + this.setNextItemActive(); + break; + } + return; + case Np: + if (this._vertical && n) { + this.setPreviousItemActive(); + break; + } + return; + case zp: + if (this._horizontal && n) { + "rtl" === this._horizontal + ? this.setPreviousItemActive() + : this.setNextItemActive(); + break; + } + return; + case Dp: + if (this._horizontal && n) { + "rtl" === this._horizontal + ? this.setNextItemActive() + : this.setPreviousItemActive(); + break; + } + return; + default: + return void ( + (n || Up(t, "shiftKey")) && + (t.key && 1 === t.key.length + ? this._letterKeyStream.next(t.key.toLocaleUpperCase()) + : ((e >= Vp && e <= Hp) || (e >= Fp && e <= Bp)) && + this._letterKeyStream.next(String.fromCharCode(e))) + ); + } + (this._pressedLetters = []), t.preventDefault(); + } + get activeItemIndex() { + return this._activeItemIndex; + } + get activeItem() { + return this._activeItem; + } + setFirstItemActive() { + this._setActiveItemByIndex(0, 1); + } + setLastItemActive() { + this._setActiveItemByIndex(this._items.length - 1, -1); + } + setNextItemActive() { + this._activeItemIndex < 0 + ? this.setFirstItemActive() + : this._setActiveItemByDelta(1); + } + setPreviousItemActive() { + this._activeItemIndex < 0 && this._wrap + ? this.setLastItemActive() + : this._setActiveItemByDelta(-1); + } + updateActiveItem(t) { + const e = this._getItemsArray(), + n = "number" == typeof t ? t : e.indexOf(t), + a = e[n]; + (this._activeItem = null == a ? null : a), + (this._activeItemIndex = n); + } + updateActiveItemIndex(t) { + this.updateActiveItem(t); + } + _setActiveItemByDelta(t) { + this._wrap + ? this._setActiveInWrapMode(t) + : this._setActiveInDefaultMode(t); + } + _setActiveInWrapMode(t) { + const e = this._getItemsArray(); + for (let n = 1; n <= e.length; n++) { + const a = (this._activeItemIndex + t * n + e.length) % e.length; + if (!this._skipPredicateFn(e[a])) return void this.setActiveItem(a); + } + } + _setActiveInDefaultMode(t) { + this._setActiveItemByIndex(this._activeItemIndex + t, t); + } + _setActiveItemByIndex(t, e) { + const n = this._getItemsArray(); + if (n[t]) { + for (; this._skipPredicateFn(n[t]); ) if (!n[(t += e)]) return; + this.setActiveItem(t); + } + } + _getItemsArray() { + return this._items instanceof si + ? this._items.toArray() + : this._items; + } + } + class df extends cf { + constructor() { + super(...arguments), (this._origin = "program"); + } + setFocusOrigin(t) { + return (this._origin = t), this; + } + setActiveItem(t) { + super.setActiveItem(t), + this.activeItem && this.activeItem.focus(this._origin); + } + } + const uf = (() => { + class t { + constructor(t) { + this._platform = t; + } + isDisabled(t) { + return t.hasAttribute("disabled"); + } + isVisible(t) { + return ( + (function(t) { + return !!( + t.offsetWidth || + t.offsetHeight || + ("function" == typeof t.getClientRects && + t.getClientRects().length) + ); + })(t) && "visible" === getComputedStyle(t).visibility + ); + } + isTabbable(t) { + if (!this._platform.isBrowser) return !1; + const e = (function(t) { + try { + return t.frameElement; + } catch (vR) { + return null; + } + })( + ((n = t).ownerDocument && n.ownerDocument.defaultView) || window + ); + var n; + if (e) { + const t = e && e.nodeName.toLowerCase(); + if (-1 === hf(e)) return !1; + if ( + (this._platform.BLINK || this._platform.WEBKIT) && + "object" === t + ) + return !1; + if ( + (this._platform.BLINK || this._platform.WEBKIT) && + !this.isVisible(e) + ) + return !1; + } + let a = t.nodeName.toLowerCase(), + o = hf(t); + if (t.hasAttribute("contenteditable")) return -1 !== o; + if ("iframe" === a) return !1; + if ("audio" === a) { + if (!t.hasAttribute("controls")) return !1; + if (this._platform.BLINK) return !0; + } + if ("video" === a) { + if (!t.hasAttribute("controls") && this._platform.TRIDENT) + return !1; + if (this._platform.BLINK || this._platform.FIREFOX) return !0; + } + return ( + ("object" !== a || + (!this._platform.BLINK && !this._platform.WEBKIT)) && + !( + this._platform.WEBKIT && + this._platform.IOS && + !(function(t) { + let e = t.nodeName.toLowerCase(), + n = "input" === e && t.type; + return ( + "text" === n || + "password" === n || + "select" === e || + "textarea" === e + ); + })(t) + ) && + t.tabIndex >= 0 + ); + } + isFocusable(t) { + return ( + (function(t) { + return ( + !(function(t) { + return ( + (function(t) { + return "input" == t.nodeName.toLowerCase(); + })(t) && "hidden" == t.type + ); + })(t) && + ((function(t) { + let e = t.nodeName.toLowerCase(); + return ( + "input" === e || + "select" === e || + "button" === e || + "textarea" === e + ); + })(t) || + (function(t) { + return ( + (function(t) { + return "a" == t.nodeName.toLowerCase(); + })(t) && t.hasAttribute("href") + ); + })(t) || + t.hasAttribute("contenteditable") || + mf(t)) + ); + })(t) && + !this.isDisabled(t) && + this.isVisible(t) + ); + } + } + return ( + (t.ngInjectableDef = bt({ + factory: function() { + return new t(It(Op)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(); + function mf(t) { + if (!t.hasAttribute("tabindex") || void 0 === t.tabIndex) return !1; + let e = t.getAttribute("tabindex"); + return "-32768" != e && !(!e || isNaN(parseInt(e, 10))); + } + function hf(t) { + if (!mf(t)) return null; + const e = parseInt(t.getAttribute("tabindex") || "", 10); + return isNaN(e) ? -1 : e; + } + class gf { + constructor(t, e, n, a, o = !1) { + (this._element = t), + (this._checker = e), + (this._ngZone = n), + (this._document = a), + (this._hasAttached = !1), + (this.startAnchorListener = () => this.focusLastTabbableElement()), + (this.endAnchorListener = () => this.focusFirstTabbableElement()), + (this._enabled = !0), + o || this.attachAnchors(); + } + get enabled() { + return this._enabled; + } + set enabled(t) { + (this._enabled = t), + this._startAnchor && + this._endAnchor && + (this._toggleAnchorTabIndex(t, this._startAnchor), + this._toggleAnchorTabIndex(t, this._endAnchor)); + } + destroy() { + const t = this._startAnchor, + e = this._endAnchor; + t && + (t.removeEventListener("focus", this.startAnchorListener), + t.parentNode && t.parentNode.removeChild(t)), + e && + (e.removeEventListener("focus", this.endAnchorListener), + e.parentNode && e.parentNode.removeChild(e)), + (this._startAnchor = this._endAnchor = null); + } + attachAnchors() { + return ( + !!this._hasAttached || + (this._ngZone.runOutsideAngular(() => { + this._startAnchor || + ((this._startAnchor = this._createAnchor()), + this._startAnchor.addEventListener( + "focus", + this.startAnchorListener + )), + this._endAnchor || + ((this._endAnchor = this._createAnchor()), + this._endAnchor.addEventListener( + "focus", + this.endAnchorListener + )); + }), + this._element.parentNode && + (this._element.parentNode.insertBefore( + this._startAnchor, + this._element + ), + this._element.parentNode.insertBefore( + this._endAnchor, + this._element.nextSibling + ), + (this._hasAttached = !0)), + this._hasAttached) + ); + } + focusInitialElementWhenReady() { + return new Promise(t => { + this._executeOnStable(() => t(this.focusInitialElement())); + }); + } + focusFirstTabbableElementWhenReady() { + return new Promise(t => { + this._executeOnStable(() => t(this.focusFirstTabbableElement())); + }); + } + focusLastTabbableElementWhenReady() { + return new Promise(t => { + this._executeOnStable(() => t(this.focusLastTabbableElement())); + }); + } + _getRegionBoundary(t) { + let e = this._element.querySelectorAll( + `[cdk-focus-region-${t}], ` + + `[cdkFocusRegion${t}], ` + + `[cdk-focus-${t}]` + ); + for (let n = 0; n < e.length; n++) + e[n].hasAttribute(`cdk-focus-${t}`) + ? console.warn( + `Found use of deprecated attribute 'cdk-focus-${t}', ` + + `use 'cdkFocusRegion${t}' instead. The deprecated ` + + "attribute will be removed in 8.0.0.", + e[n] + ) + : e[n].hasAttribute(`cdk-focus-region-${t}`) && + console.warn( + `Found use of deprecated attribute 'cdk-focus-region-${t}', ` + + `use 'cdkFocusRegion${t}' instead. The deprecated attribute ` + + "will be removed in 8.0.0.", + e[n] + ); + return "start" == t + ? e.length + ? e[0] + : this._getFirstTabbableElement(this._element) + : e.length + ? e[e.length - 1] + : this._getLastTabbableElement(this._element); + } + focusInitialElement() { + const t = this._element.querySelector( + "[cdk-focus-initial], [cdkFocusInitial]" + ); + return t + ? (t.hasAttribute("cdk-focus-initial") && + console.warn( + "Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0", + t + ), + Ve() && + !this._checker.isFocusable(t) && + console.warn( + "Element matching '[cdkFocusInitial]' is not focusable.", + t + ), + t.focus(), + !0) + : this.focusFirstTabbableElement(); + } + focusFirstTabbableElement() { + const t = this._getRegionBoundary("start"); + return t && t.focus(), !!t; + } + focusLastTabbableElement() { + const t = this._getRegionBoundary("end"); + return t && t.focus(), !!t; + } + hasAttached() { + return this._hasAttached; + } + _getFirstTabbableElement(t) { + if (this._checker.isFocusable(t) && this._checker.isTabbable(t)) + return t; + let e = t.children || t.childNodes; + for (let n = 0; n < e.length; n++) { + let t = + e[n].nodeType === this._document.ELEMENT_NODE + ? this._getFirstTabbableElement(e[n]) + : null; + if (t) return t; + } + return null; + } + _getLastTabbableElement(t) { + if (this._checker.isFocusable(t) && this._checker.isTabbable(t)) + return t; + let e = t.children || t.childNodes; + for (let n = e.length - 1; n >= 0; n--) { + let t = + e[n].nodeType === this._document.ELEMENT_NODE + ? this._getLastTabbableElement(e[n]) + : null; + if (t) return t; + } + return null; + } + _createAnchor() { + const t = this._document.createElement("div"); + return ( + this._toggleAnchorTabIndex(this._enabled, t), + t.classList.add("cdk-visually-hidden"), + t.classList.add("cdk-focus-trap-anchor"), + t.setAttribute("aria-hidden", "true"), + t + ); + } + _toggleAnchorTabIndex(t, e) { + t ? e.setAttribute("tabindex", "0") : e.removeAttribute("tabindex"); + } + _executeOnStable(t) { + this._ngZone.isStable + ? t() + : this._ngZone.onStable + .asObservable() + .pipe(Zc(1)) + .subscribe(t); + } + } + const pf = (() => { + class t { + constructor(t, e, n) { + (this._checker = t), (this._ngZone = e), (this._document = n); + } + create(t, e = !1) { + return new gf(t, this._checker, this._ngZone, this._document, e); + } + } + return ( + (t.ngInjectableDef = bt({ + factory: function() { + return new t(It(uf), It(Di), It(Bs)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + ff = 650, + bf = wp({ passive: !0, capture: !0 }), + _f = (() => { + class t { + constructor(t, e) { + (this._ngZone = t), + (this._platform = e), + (this._origin = null), + (this._windowFocused = !1), + (this._elementInfo = new Map()), + (this._monitoredElementCount = 0), + (this._documentKeydownListener = () => { + (this._lastTouchTarget = null), + this._setOriginForCurrentEventQueue("keyboard"); + }), + (this._documentMousedownListener = () => { + this._lastTouchTarget || + this._setOriginForCurrentEventQueue("mouse"); + }), + (this._documentTouchstartListener = t => { + null != this._touchTimeoutId && + clearTimeout(this._touchTimeoutId), + (this._lastTouchTarget = t.target), + (this._touchTimeoutId = setTimeout( + () => (this._lastTouchTarget = null), + ff + )); + }), + (this._windowFocusListener = () => { + (this._windowFocused = !0), + (this._windowFocusTimeoutId = setTimeout( + () => (this._windowFocused = !1) + )); + }); + } + monitor(t, e = !1) { + if (!this._platform.isBrowser) return $l(null); + const n = Cp(t); + if (this._elementInfo.has(n)) { + let t = this._elementInfo.get(n); + return (t.checkChildren = e), t.subject.asObservable(); + } + let a = { + unlisten: () => {}, + checkChildren: e, + subject: new w() + }; + this._elementInfo.set(n, a), + this._incrementMonitoredElementCount(); + let o = t => this._onFocus(t, n), + i = t => this._onBlur(t, n); + return ( + this._ngZone.runOutsideAngular(() => { + n.addEventListener("focus", o, !0), + n.addEventListener("blur", i, !0); + }), + (a.unlisten = () => { + n.removeEventListener("focus", o, !0), + n.removeEventListener("blur", i, !0); + }), + a.subject.asObservable() + ); + } + stopMonitoring(t) { + const e = Cp(t), + n = this._elementInfo.get(e); + n && + (n.unlisten(), + n.subject.complete(), + this._setClasses(e), + this._elementInfo.delete(e), + this._decrementMonitoredElementCount()); + } + focusVia(t, e, n) { + const a = Cp(t); + this._setOriginForCurrentEventQueue(e), + "function" == typeof a.focus && a.focus(n); + } + ngOnDestroy() { + this._elementInfo.forEach((t, e) => this.stopMonitoring(e)); + } + _toggleClass(t, e, n) { + n ? t.classList.add(e) : t.classList.remove(e); + } + _setClasses(t, e) { + this._elementInfo.get(t) && + (this._toggleClass(t, "cdk-focused", !!e), + this._toggleClass(t, "cdk-touch-focused", "touch" === e), + this._toggleClass(t, "cdk-keyboard-focused", "keyboard" === e), + this._toggleClass(t, "cdk-mouse-focused", "mouse" === e), + this._toggleClass(t, "cdk-program-focused", "program" === e)); + } + _setOriginForCurrentEventQueue(t) { + this._ngZone.runOutsideAngular(() => { + (this._origin = t), + (this._originTimeoutId = setTimeout( + () => (this._origin = null), + 1 + )); + }); + } + _wasCausedByTouch(t) { + let e = t.target; + return ( + this._lastTouchTarget instanceof Node && + e instanceof Node && + (e === this._lastTouchTarget || + e.contains(this._lastTouchTarget)) + ); + } + _onFocus(t, e) { + const n = this._elementInfo.get(e); + if (!n || (!n.checkChildren && e !== t.target)) return; + let a = this._origin; + a || + (a = + this._windowFocused && this._lastFocusOrigin + ? this._lastFocusOrigin + : this._wasCausedByTouch(t) + ? "touch" + : "program"), + this._setClasses(e, a), + this._emitOrigin(n.subject, a), + (this._lastFocusOrigin = a); + } + _onBlur(t, e) { + const n = this._elementInfo.get(e); + !n || + (n.checkChildren && + t.relatedTarget instanceof Node && + e.contains(t.relatedTarget)) || + (this._setClasses(e), this._emitOrigin(n.subject, null)); + } + _emitOrigin(t, e) { + this._ngZone.run(() => t.next(e)); + } + _incrementMonitoredElementCount() { + 1 == ++this._monitoredElementCount && + this._platform.isBrowser && + this._ngZone.runOutsideAngular(() => { + document.addEventListener( + "keydown", + this._documentKeydownListener, + bf + ), + document.addEventListener( + "mousedown", + this._documentMousedownListener, + bf + ), + document.addEventListener( + "touchstart", + this._documentTouchstartListener, + bf + ), + window.addEventListener("focus", this._windowFocusListener); + }); + } + _decrementMonitoredElementCount() { + --this._monitoredElementCount || + (document.removeEventListener( + "keydown", + this._documentKeydownListener, + bf + ), + document.removeEventListener( + "mousedown", + this._documentMousedownListener, + bf + ), + document.removeEventListener( + "touchstart", + this._documentTouchstartListener, + bf + ), + window.removeEventListener("focus", this._windowFocusListener), + clearTimeout(this._windowFocusTimeoutId), + clearTimeout(this._touchTimeoutId), + clearTimeout(this._originTimeoutId)); + } + } + return ( + (t.ngInjectableDef = bt({ + factory: function() { + return new t(It(Di), It(Op)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(); + function Cf(t) { + return 0 === t.buttons; + } + const Pf = (() => class {})(), + Of = new Ht("mat-sanity-checks", { + providedIn: "root", + factory: function() { + return !0; + } + }), + Mf = (() => + class { + constructor(t, e) { + (this._sanityChecksEnabled = t), + (this._hammerLoader = e), + (this._hasDoneGlobalChecks = !1), + (this._hasCheckedHammer = !1), + (this._document = + "object" == typeof document && document ? document : null), + (this._window = + "object" == typeof window && window ? window : null), + this._areChecksEnabled() && + !this._hasDoneGlobalChecks && + (this._checkDoctypeIsDefined(), + this._checkThemeIsPresent(), + (this._hasDoneGlobalChecks = !0)); + } + _areChecksEnabled() { + return this._sanityChecksEnabled && Ve() && !this._isTestEnv(); + } + _isTestEnv() { + const t = this._window; + return t && (t.__karma__ || t.jasmine); + } + _checkDoctypeIsDefined() { + this._document && + !this._document.doctype && + console.warn( + "Current document does not have a doctype. This may cause some Angular Material components not to behave as expected." + ); + } + _checkThemeIsPresent() { + if ( + !this._document || + !this._document.body || + "function" != typeof getComputedStyle + ) + return; + const t = this._document.createElement("div"); + t.classList.add("mat-theme-loaded-marker"), + this._document.body.appendChild(t); + const e = getComputedStyle(t); + e && + "none" !== e.display && + console.warn( + "Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming" + ), + this._document.body.removeChild(t); + } + _checkHammerIsAvailable() { + !this._hasCheckedHammer && + this._window && + (!this._areChecksEnabled() || + this._window.Hammer || + this._hammerLoader || + console.warn( + "Could not find HammerJS. Certain Angular Material components may not work correctly." + ), + (this._hasCheckedHammer = !0)); + } + })(); + function yf(t) { + return class extends t { + constructor(...t) { + super(...t), (this._disabled = !1); + } + get disabled() { + return this._disabled; + } + set disabled(t) { + this._disabled = pp(t); + } + }; + } + function vf(t, e) { + return class extends t { + get color() { + return this._color; + } + set color(t) { + const n = t || e; + n !== this._color && + (this._color && + this._elementRef.nativeElement.classList.remove( + `mat-${this._color}` + ), + n && this._elementRef.nativeElement.classList.add(`mat-${n}`), + (this._color = n)); + } + constructor(...t) { + super(...t), (this.color = e); + } + }; + } + function xf(t) { + return class extends t { + constructor(...t) { + super(...t), (this._disableRipple = !1); + } + get disableRipple() { + return this._disableRipple; + } + set disableRipple(t) { + this._disableRipple = pp(t); + } + }; + } + function kf(t, e = 0) { + return class extends t { + constructor(...t) { + super(...t), (this._tabIndex = e); + } + get tabIndex() { + return this.disabled ? -1 : this._tabIndex; + } + set tabIndex(t) { + this._tabIndex = null != t ? t : e; + } + }; + } + function wf(t) { + return class extends t { + constructor(...t) { + super(...t), (this.errorState = !1), (this.stateChanges = new w()); + } + updateErrorState() { + const t = this.errorState, + e = ( + this.errorStateMatcher || this._defaultErrorStateMatcher + ).isErrorState( + this.ngControl ? this.ngControl.control : null, + this._parentFormGroup || this._parentForm + ); + e !== t && ((this.errorState = e), this.stateChanges.next()); + } + }; + } + let Sf; + try { + Sf = "undefined" != typeof Intl; + } catch (vR) { + Sf = !1; + } + const Ef = (() => { + class t { + isErrorState(t, e) { + return !!(t && t.invalid && (t.touched || (e && e.submitted))); + } + } + return ( + (t.ngInjectableDef = bt({ + factory: function() { + return new t(); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + If = new Ht("MAT_HAMMER_OPTIONS"), + Af = [ + "longpress", + "slide", + "slidestart", + "slideend", + "slideright", + "slideleft" + ], + Tf = { on: () => {}, off: () => {} }, + Rf = (() => + class extends lu { + constructor(t, e) { + super(), + (this._hammerOptions = t), + (this.events = Af), + e && e._checkHammerIsAvailable(); + } + buildHammer(t) { + const e = "undefined" != typeof window ? window.Hammer : null; + if (!e) return Tf; + const n = new e(t, this._hammerOptions || void 0), + a = new e.Pan(), + o = new e.Swipe(), + i = new e.Press(), + r = this._createRecognizer( + a, + { event: "slide", threshold: 0 }, + o + ), + l = this._createRecognizer(i, { + event: "longpress", + time: 500 + }); + return ( + a.recognizeWith(o), + l.recognizeWith(r), + n.add([o, i, a, r, l]), + n + ); + } + _createRecognizer(t, e, ...n) { + let a = new t.constructor(e); + return n.push(t), n.forEach(t => a.recognizeWith(t)), a; + } + })(), + Df = (() => class {})(); + function Nf(t, e, n) { + const a = t.nativeElement.classList; + n ? a.add(e) : a.remove(e); + } + const zf = (() => class {})(), + Lf = (function() { + var t = { FADING_IN: 0, VISIBLE: 1, FADING_OUT: 2, HIDDEN: 3 }; + return ( + (t[t.FADING_IN] = "FADING_IN"), + (t[t.VISIBLE] = "VISIBLE"), + (t[t.FADING_OUT] = "FADING_OUT"), + (t[t.HIDDEN] = "HIDDEN"), + t + ); + })(); + class Ff { + constructor(t, e, n) { + (this._renderer = t), + (this.element = e), + (this.config = n), + (this.state = Lf.HIDDEN); + } + fadeOut() { + this._renderer.fadeOutRipple(this); + } + } + const Bf = { enterDuration: 450, exitDuration: 400 }, + Vf = 800, + Hf = wp({ passive: !0 }); + class jf { + constructor(t, e, n, a) { + (this._target = t), + (this._ngZone = e), + (this._isPointerDown = !1), + (this._triggerEvents = new Map()), + (this._activeRipples = new Set()), + (this._onMousedown = t => { + const e = Cf(t), + n = + this._lastTouchStartEvent && + Date.now() < this._lastTouchStartEvent + Vf; + this._target.rippleDisabled || + e || + n || + ((this._isPointerDown = !0), + this.fadeInRipple( + t.clientX, + t.clientY, + this._target.rippleConfig + )); + }), + (this._onTouchStart = t => { + if (!this._target.rippleDisabled) { + (this._lastTouchStartEvent = Date.now()), + (this._isPointerDown = !0); + const e = t.changedTouches; + for (let t = 0; t < e.length; t++) + this.fadeInRipple( + e[t].clientX, + e[t].clientY, + this._target.rippleConfig + ); + } + }), + (this._onPointerUp = () => { + this._isPointerDown && + ((this._isPointerDown = !1), + this._activeRipples.forEach(t => { + !t.config.persistent && + (t.state === Lf.VISIBLE || + (t.config.terminateOnPointerUp && + t.state === Lf.FADING_IN)) && + t.fadeOut(); + })); + }), + a.isBrowser && + ((this._containerElement = n.nativeElement), + this._triggerEvents + .set("mousedown", this._onMousedown) + .set("mouseup", this._onPointerUp) + .set("mouseleave", this._onPointerUp) + .set("touchstart", this._onTouchStart) + .set("touchend", this._onPointerUp) + .set("touchcancel", this._onPointerUp)); + } + fadeInRipple(t, e, n = {}) { + const a = (this._containerRect = + this._containerRect || + this._containerElement.getBoundingClientRect()), + o = Object.assign({}, Bf, n.animation); + n.centered && + ((t = a.left + a.width / 2), (e = a.top + a.height / 2)); + const i = + n.radius || + (function(t, e, n) { + const a = Math.max(Math.abs(t - n.left), Math.abs(t - n.right)), + o = Math.max(Math.abs(e - n.top), Math.abs(e - n.bottom)); + return Math.sqrt(a * a + o * o); + })(t, e, a), + r = t - a.left, + l = e - a.top, + s = o.enterDuration, + c = document.createElement("div"); + c.classList.add("mat-ripple-element"), + (c.style.left = `${r - i}px`), + (c.style.top = `${l - i}px`), + (c.style.height = `${2 * i}px`), + (c.style.width = `${2 * i}px`), + (c.style.backgroundColor = n.color || null), + (c.style.transitionDuration = `${s}ms`), + this._containerElement.appendChild(c), + window.getComputedStyle(c).getPropertyValue("opacity"), + (c.style.transform = "scale(1)"); + const d = new Ff(this, c, n); + return ( + (d.state = Lf.FADING_IN), + this._activeRipples.add(d), + n.persistent || (this._mostRecentTransientRipple = d), + this._runTimeoutOutsideZone(() => { + const t = d === this._mostRecentTransientRipple; + (d.state = Lf.VISIBLE), + n.persistent || (t && this._isPointerDown) || d.fadeOut(); + }, s), + d + ); + } + fadeOutRipple(t) { + const e = this._activeRipples.delete(t); + if ( + (t === this._mostRecentTransientRipple && + (this._mostRecentTransientRipple = null), + this._activeRipples.size || (this._containerRect = null), + !e) + ) + return; + const n = t.element, + a = Object.assign({}, Bf, t.config.animation); + (n.style.transitionDuration = `${a.exitDuration}ms`), + (n.style.opacity = "0"), + (t.state = Lf.FADING_OUT), + this._runTimeoutOutsideZone(() => { + (t.state = Lf.HIDDEN), n.parentNode.removeChild(n); + }, a.exitDuration); + } + fadeOutAll() { + this._activeRipples.forEach(t => t.fadeOut()); + } + setupTriggerEvents(t) { + t && + t !== this._triggerElement && + (this._removeTriggerEvents(), + this._ngZone.runOutsideAngular(() => { + this._triggerEvents.forEach((e, n) => { + t.addEventListener(n, e, Hf); + }); + }), + (this._triggerElement = t)); + } + _runTimeoutOutsideZone(t, e = 0) { + this._ngZone.runOutsideAngular(() => setTimeout(t, e)); + } + _removeTriggerEvents() { + this._triggerElement && + this._triggerEvents.forEach((t, e) => { + this._triggerElement.removeEventListener(e, t, Hf); + }); + } + } + const Uf = new Ht("mat-ripple-global-options"), + qf = (() => + class { + constructor(t, e, n, a, o) { + (this._elementRef = t), + (this.radius = 0), + (this._disabled = !1), + (this._isInitialized = !1), + (this._globalOptions = a || {}), + (this._rippleRenderer = new jf(this, e, t, n)), + "NoopAnimations" === o && + (this._globalOptions.animation = { + enterDuration: 0, + exitDuration: 0 + }); + } + get disabled() { + return this._disabled; + } + set disabled(t) { + (this._disabled = t), this._setupTriggerEventsIfEnabled(); + } + get trigger() { + return this._trigger || this._elementRef.nativeElement; + } + set trigger(t) { + (this._trigger = t), this._setupTriggerEventsIfEnabled(); + } + ngOnInit() { + (this._isInitialized = !0), this._setupTriggerEventsIfEnabled(); + } + ngOnDestroy() { + this._rippleRenderer._removeTriggerEvents(); + } + fadeOutAll() { + this._rippleRenderer.fadeOutAll(); + } + get rippleConfig() { + return { + centered: this.centered, + radius: this.radius, + color: this.color, + animation: Object.assign( + {}, + this._globalOptions.animation, + this.animation + ), + terminateOnPointerUp: this._globalOptions.terminateOnPointerUp + }; + } + get rippleDisabled() { + return this.disabled || !!this._globalOptions.disabled; + } + _setupTriggerEventsIfEnabled() { + !this.disabled && + this._isInitialized && + this._rippleRenderer.setupTriggerEvents(this.trigger); + } + launch(t, e = 0, n) { + return "number" == typeof t + ? this._rippleRenderer.fadeInRipple( + t, + e, + Object.assign({}, this.rippleConfig, n) + ) + : this._rippleRenderer.fadeInRipple( + 0, + 0, + Object.assign({}, this.rippleConfig, t) + ); + } + })(), + Kf = (() => class {})(), + Yf = (() => class {})(), + Wf = new Ht("mat-label-global-options"); + var Gf = Ia({ + encapsulation: 2, + styles: [ + ".mat-card{transition:box-shadow 280ms cubic-bezier(.4,0,.2,1);display:block;position:relative;padding:16px;border-radius:4px}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}@media (-ms-high-contrast:active){.mat-card{outline:solid 1px}}.mat-card-actions,.mat-card-content,.mat-card-subtitle{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media (max-width:599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card-content>:first-child,.mat-card>:first-child{margin-top:0}.mat-card-content>:last-child:not(.mat-card-footer),.mat-card>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child{margin-left:0;margin-right:0}.mat-card-subtitle:not(:first-child),.mat-card-title:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}" + ], + data: {} + }); + function $f(t) { + return zr(2, [Er(null, 0), Er(null, 1)], null, null); + } + var Zf = Ia({ encapsulation: 2, styles: [], data: {} }); + function Qf(t) { + return zr( + 2, + [ + Er(null, 0), + (t()(), + Cr( + 1, + 0, + null, + null, + 1, + "div", + [["class", "mat-card-header-text"]], + null, + null, + null, + null, + null + )), + Er(null, 1), + Er(null, 2) + ], + null, + null + ); + } + function Xf(t, e) { + return new O( + e + ? n => e.schedule(Jf, 0, { error: t, subscriber: n }) + : e => e.error(t) + ); + } + function Jf({ error: t, subscriber: e }) { + e.error(t); + } + function tb(...t) { + let e; + return ( + "function" == typeof t[t.length - 1] && (e = t.pop()), + 1 === t.length && s(t[0]) && (t = t[0]), + 0 === t.length + ? Yl + : e + ? tb(t).pipe(j(t => e(...t))) + : new O(e => new eb(e, t)) + ); + } + class eb extends H { + constructor(t, e) { + super(t), + (this.sources = e), + (this.completed = 0), + (this.haveValues = 0); + const n = e.length; + this.values = new Array(n); + for (let a = 0; a < n; a++) { + const t = V(this, e[a], null, a); + t && this.add(t); + } + } + notifyNext(t, e, n, a, o) { + (this.values[n] = e), + o._hasValue || ((o._hasValue = !0), this.haveValues++); + } + notifyComplete(t) { + const { destination: e, haveValues: n, values: a } = this, + o = a.length; + t._hasValue + ? (this.completed++, + this.completed === o && (n === o && e.next(a), e.complete())) + : e.complete(); + } + } + function nb(t) { + return Error(`Unable to find icon with the name "${t}"`); + } + function ab(t) { + return Error( + "The URL provided to MatIconRegistry was not trusted as a resource URL " + + `via Angular's DomSanitizer. Attempted URL was "${t}".` + ); + } + function ob(t) { + return Error( + "The literal provided to MatIconRegistry was not trusted as safe HTML by " + + `Angular's DomSanitizer. Attempted literal was "${t}".` + ); + } + class ib { + constructor(t) { + t.nodeName ? (this.svgElement = t) : (this.url = t); + } + } + const rb = (() => { + class t { + constructor(t, e, n) { + (this._httpClient = t), + (this._sanitizer = e), + (this._svgIconConfigs = new Map()), + (this._iconSetConfigs = new Map()), + (this._cachedIconsByUrl = new Map()), + (this._inProgressUrlFetches = new Map()), + (this._fontCssClassesByAlias = new Map()), + (this._defaultFontSetClass = "material-icons"), + (this._document = n); + } + addSvgIcon(t, e) { + return this.addSvgIconInNamespace("", t, e); + } + addSvgIconLiteral(t, e) { + return this.addSvgIconLiteralInNamespace("", t, e); + } + addSvgIconInNamespace(t, e, n) { + return this._addSvgIconConfig(t, e, new ib(n)); + } + addSvgIconLiteralInNamespace(t, e, n) { + const a = this._sanitizer.sanitize(cn.HTML, n); + if (!a) throw ob(n); + const o = this._createSvgElementForSingleIcon(a); + return this._addSvgIconConfig(t, e, new ib(o)); + } + addSvgIconSet(t) { + return this.addSvgIconSetInNamespace("", t); + } + addSvgIconSetLiteral(t) { + return this.addSvgIconSetLiteralInNamespace("", t); + } + addSvgIconSetInNamespace(t, e) { + return this._addSvgIconSetConfig(t, new ib(e)); + } + addSvgIconSetLiteralInNamespace(t, e) { + const n = this._sanitizer.sanitize(cn.HTML, e); + if (!n) throw ob(e); + const a = this._svgElementFromString(n); + return this._addSvgIconSetConfig(t, new ib(a)); + } + registerFontClassAlias(t, e = t) { + return this._fontCssClassesByAlias.set(t, e), this; + } + classNameForFontAlias(t) { + return this._fontCssClassesByAlias.get(t) || t; + } + setDefaultFontSetClass(t) { + return (this._defaultFontSetClass = t), this; + } + getDefaultFontSetClass() { + return this._defaultFontSetClass; + } + getSvgIconFromUrl(t) { + const e = this._sanitizer.sanitize(cn.RESOURCE_URL, t); + if (!e) throw ab(t); + const n = this._cachedIconsByUrl.get(e); + return n + ? $l(lb(n)) + : this._loadSvgIconFromConfig(new ib(t)).pipe( + Bc(t => this._cachedIconsByUrl.set(e, t)), + j(t => lb(t)) + ); + } + getNamedSvgIcon(t, e = "") { + const n = sb(e, t), + a = this._svgIconConfigs.get(n); + if (a) return this._getSvgFromConfig(a); + const o = this._iconSetConfigs.get(e); + return o ? this._getSvgFromIconSetConfigs(t, o) : Xf(nb(n)); + } + ngOnDestroy() { + this._svgIconConfigs.clear(), + this._iconSetConfigs.clear(), + this._cachedIconsByUrl.clear(); + } + _getSvgFromConfig(t) { + return t.svgElement + ? $l(lb(t.svgElement)) + : this._loadSvgIconFromConfig(t).pipe( + Bc(e => (t.svgElement = e)), + j(t => lb(t)) + ); + } + _getSvgFromIconSetConfigs(t, e) { + const n = this._extractIconWithNameFromAnySet(t, e); + return n + ? $l(n) + : tb( + e + .filter(t => !t.svgElement) + .map(t => + this._loadSvgIconSetFromConfig(t).pipe( + Wc(e => { + const n = this._sanitizer.sanitize( + cn.RESOURCE_URL, + t.url + ); + return ( + console.error( + `Loading icon set URL: ${n} failed: ${e.message}` + ), + $l(null) + ); + }) + ) + ) + ).pipe( + j(() => { + const n = this._extractIconWithNameFromAnySet(t, e); + if (!n) throw nb(t); + return n; + }) + ); + } + _extractIconWithNameFromAnySet(t, e) { + for (let n = e.length - 1; n >= 0; n--) { + const a = e[n]; + if (a.svgElement) { + const e = this._extractSvgIconFromSet(a.svgElement, t); + if (e) return e; + } + } + return null; + } + _loadSvgIconFromConfig(t) { + return this._fetchUrl(t.url).pipe( + j(t => this._createSvgElementForSingleIcon(t)) + ); + } + _loadSvgIconSetFromConfig(t) { + return t.svgElement + ? $l(t.svgElement) + : this._fetchUrl(t.url).pipe( + j( + e => ( + t.svgElement || + (t.svgElement = this._svgElementFromString(e)), + t.svgElement + ) + ) + ); + } + _createSvgElementForSingleIcon(t) { + const e = this._svgElementFromString(t); + return this._setSvgAttributes(e), e; + } + _extractSvgIconFromSet(t, e) { + const n = t.querySelector(`[id="${e}"]`); + if (!n) return null; + const a = n.cloneNode(!0); + if ((a.removeAttribute("id"), "svg" === a.nodeName.toLowerCase())) + return this._setSvgAttributes(a); + if ("symbol" === a.nodeName.toLowerCase()) + return this._setSvgAttributes(this._toSvgElement(a)); + const o = this._svgElementFromString(""); + return o.appendChild(a), this._setSvgAttributes(o); + } + _svgElementFromString(t) { + const e = this._document.createElement("DIV"); + e.innerHTML = t; + const n = e.querySelector("svg"); + if (!n) throw Error(" tag not found"); + return n; + } + _toSvgElement(t) { + let e = this._svgElementFromString(""); + for (let n = 0; n < t.childNodes.length; n++) + t.childNodes[n].nodeType === this._document.ELEMENT_NODE && + e.appendChild(t.childNodes[n].cloneNode(!0)); + return e; + } + _setSvgAttributes(t) { + return ( + t.setAttribute("fit", ""), + t.setAttribute("height", "100%"), + t.setAttribute("width", "100%"), + t.setAttribute("preserveAspectRatio", "xMidYMid meet"), + t.setAttribute("focusable", "false"), + t + ); + } + _fetchUrl(t) { + if (!this._httpClient) + throw Error( + "Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports." + ); + if (null == t) throw Error(`Cannot fetch icon from URL "${t}".`); + const e = this._sanitizer.sanitize(cn.RESOURCE_URL, t); + if (!e) throw ab(t); + const n = this._inProgressUrlFetches.get(e); + if (n) return n; + const a = this._httpClient.get(e, { responseType: "text" }).pipe( + cd(() => this._inProgressUrlFetches.delete(e)), + rt() + ); + return this._inProgressUrlFetches.set(e, a), a; + } + _addSvgIconConfig(t, e, n) { + return this._svgIconConfigs.set(sb(t, e), n), this; + } + _addSvgIconSetConfig(t, e) { + const n = this._iconSetConfigs.get(t); + return n ? n.push(e) : this._iconSetConfigs.set(t, [e]), this; + } + } + return ( + (t.ngInjectableDef = bt({ + factory: function() { + return new t(It(sc, 8), It(mu), It(Bs, 8)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(); + function lb(t) { + return t.cloneNode(!0); + } + function sb(t, e) { + return t + ":" + e; + } + class cb { + constructor(t) { + this._elementRef = t; + } + } + const db = vf(cb), + ub = new Ht("mat-icon-location", { + providedIn: "root", + factory: function() { + const t = At(Bs), + e = t ? t.location : null; + return { getPathname: () => (e ? e.pathname + e.search : "") }; + } + }), + mb = [ + "clip-path", + "color-profile", + "src", + "cursor", + "fill", + "filter", + "marker", + "marker-start", + "marker-mid", + "marker-end", + "mask", + "stroke" + ], + hb = mb.map(t => `[${t}]`).join(", "), + gb = /^url\(['"]?#(.*?)['"]?\)$/, + pb = (() => + class extends db { + constructor(t, e, n, a) { + super(t), + (this._iconRegistry = e), + (this._location = a), + (this._inline = !1), + n || t.nativeElement.setAttribute("aria-hidden", "true"); + } + get inline() { + return this._inline; + } + set inline(t) { + this._inline = pp(t); + } + get fontSet() { + return this._fontSet; + } + set fontSet(t) { + this._fontSet = this._cleanupFontValue(t); + } + get fontIcon() { + return this._fontIcon; + } + set fontIcon(t) { + this._fontIcon = this._cleanupFontValue(t); + } + _splitIconName(t) { + if (!t) return ["", ""]; + const e = t.split(":"); + switch (e.length) { + case 1: + return ["", e[0]]; + case 2: + return e; + default: + throw Error(`Invalid icon name: "${t}"`); + } + } + ngOnChanges(t) { + const e = t.svgIcon; + if (e) + if (this.svgIcon) { + const [t, e] = this._splitIconName(this.svgIcon); + this._iconRegistry + .getNamedSvgIcon(e, t) + .pipe(Zc(1)) + .subscribe( + t => this._setSvgElement(t), + t => console.log(`Error retrieving icon: ${t.message}`) + ); + } else e.previousValue && this._clearSvgElement(); + this._usingFontIcon() && this._updateFontIconClasses(); + } + ngOnInit() { + this._usingFontIcon() && this._updateFontIconClasses(); + } + ngAfterViewChecked() { + const t = this._elementsWithExternalReferences; + if (t && this._location && t.size) { + const t = this._location.getPathname(); + t !== this._previousPath && + ((this._previousPath = t), this._prependPathToReferences(t)); + } + } + ngOnDestroy() { + this._elementsWithExternalReferences && + this._elementsWithExternalReferences.clear(); + } + _usingFontIcon() { + return !this.svgIcon; + } + _setSvgElement(t) { + this._clearSvgElement(); + const e = t.querySelectorAll("style"); + for (let n = 0; n < e.length; n++) e[n].textContent += " "; + if (this._location) { + const e = this._location.getPathname(); + (this._previousPath = e), + this._cacheChildrenWithExternalReferences(t), + this._prependPathToReferences(e); + } + this._elementRef.nativeElement.appendChild(t); + } + _clearSvgElement() { + const t = this._elementRef.nativeElement; + let e = t.childNodes.length; + for ( + this._elementsWithExternalReferences && + this._elementsWithExternalReferences.clear(); + e--; + + ) { + const n = t.childNodes[e]; + (1 === n.nodeType && "svg" !== n.nodeName.toLowerCase()) || + t.removeChild(n); + } + } + _updateFontIconClasses() { + if (!this._usingFontIcon()) return; + const t = this._elementRef.nativeElement, + e = this.fontSet + ? this._iconRegistry.classNameForFontAlias(this.fontSet) + : this._iconRegistry.getDefaultFontSetClass(); + e != this._previousFontSetClass && + (this._previousFontSetClass && + t.classList.remove(this._previousFontSetClass), + e && t.classList.add(e), + (this._previousFontSetClass = e)), + this.fontIcon != this._previousFontIconClass && + (this._previousFontIconClass && + t.classList.remove(this._previousFontIconClass), + this.fontIcon && t.classList.add(this.fontIcon), + (this._previousFontIconClass = this.fontIcon)); + } + _cleanupFontValue(t) { + return "string" == typeof t ? t.trim().split(" ")[0] : t; + } + _prependPathToReferences(t) { + const e = this._elementsWithExternalReferences; + e && + e.forEach((e, n) => { + e.forEach(e => { + n.setAttribute(e.name, `url('${t}#${e.value}')`); + }); + }); + } + _cacheChildrenWithExternalReferences(t) { + const e = t.querySelectorAll(hb), + n = (this._elementsWithExternalReferences = + this._elementsWithExternalReferences || new Map()); + for (let a = 0; a < e.length; a++) + mb.forEach(t => { + const o = e[a], + i = o.getAttribute(t), + r = i ? i.match(gb) : null; + if (r) { + let e = n.get(o); + e || n.set(o, (e = [])), e.push({ name: t, value: r[1] }); + } + }); + } + })(), + fb = (() => class {})(); + var bb = Ia({ + encapsulation: 2, + styles: [ + ".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1,1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}" + ], + data: {} + }); + function _b(t) { + return zr(2, [Er(null, 0)], null, null); + } + const Cb = [ + "mat-button", + "mat-flat-button", + "mat-icon-button", + "mat-raised-button", + "mat-stroked-button", + "mat-mini-fab", + "mat-fab" + ]; + class Pb { + constructor(t) { + this._elementRef = t; + } + } + const Ob = vf(yf(xf(Pb))), + Mb = (() => + class extends Ob { + constructor(t, e, n) { + super(t), + (this._focusMonitor = e), + (this._animationMode = n), + (this.isRoundButton = this._hasHostAttributes( + "mat-fab", + "mat-mini-fab" + )), + (this.isIconButton = this._hasHostAttributes( + "mat-icon-button" + )); + for (const a of Cb) + this._hasHostAttributes(a) && t.nativeElement.classList.add(a); + this._focusMonitor.monitor(this._elementRef, !0), + this.isRoundButton && (this.color = "accent"); + } + ngOnDestroy() { + this._focusMonitor.stopMonitoring(this._elementRef); + } + focus() { + this._getHostElement().focus(); + } + _getHostElement() { + return this._elementRef.nativeElement; + } + _isRippleDisabled() { + return this.disableRipple || this.disabled; + } + _hasHostAttributes(...t) { + return t.some(t => this._getHostElement().hasAttribute(t)); + } + })(), + yb = (() => class {})(); + class vb {} + class xb {} + const kb = "*"; + function wb(t, e = null) { + return { type: 2, steps: t, options: e }; + } + function Sb(t) { + return { type: 6, styles: t, offset: null }; + } + function Eb(t) { + Promise.resolve(null).then(t); + } + class Ib { + constructor(t = 0, e = 0) { + (this._onDoneFns = []), + (this._onStartFns = []), + (this._onDestroyFns = []), + (this._started = !1), + (this._destroyed = !1), + (this._finished = !1), + (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() { + Eb(() => 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() {} + setPosition(t) {} + getPosition() { + return 0; + } + triggerCallback(t) { + const e = "start" == t ? this._onStartFns : this._onDoneFns; + e.forEach(t => t()), (e.length = 0); + } + } + class Ab { + 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, + a = 0; + const o = this.players.length; + 0 == o + ? Eb(() => this._onFinish()) + : this.players.forEach(t => { + t.onDone(() => { + ++e == o && this._onFinish(); + }), + t.onDestroy(() => { + ++n == o && this._onDestroy(); + }), + t.onStart(() => { + ++a == o && 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() { + let t = 0; + return ( + this.players.forEach(e => { + const n = e.getPosition(); + t = Math.min(n, t); + }), + t + ); + } + 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 Tb = "!"; + function Rb() { + return "undefined" != typeof process; + } + function Db(t) { + switch (t.length) { + case 0: + return new Ib(); + case 1: + return t[0]; + default: + return new Ab(t); + } + } + function Nb(t, e, n, a, o = {}, i = {}) { + const r = [], + l = []; + let s = -1, + c = null; + if ( + (a.forEach(t => { + const n = t.offset, + a = n == s, + d = (a && c) || {}; + Object.keys(t).forEach(n => { + let a = n, + l = t[n]; + if ("offset" !== n) + switch (((a = e.normalizePropertyName(a, r)), l)) { + case Tb: + l = o[n]; + break; + case kb: + l = i[n]; + break; + default: + l = e.normalizeStyleValue(n, a, l, r); + } + d[a] = l; + }), + a || l.push(d), + (c = d), + (s = n); + }), + r.length) + ) { + const t = "\n - "; + throw new Error( + `Unable to animate due to the following errors:${t}${r.join(t)}` + ); + } + return l; + } + function zb(t, e, n, a) { + switch (e) { + case "start": + t.onStart(() => a(n && Lb(n, "start", t))); + break; + case "done": + t.onDone(() => a(n && Lb(n, "done", t))); + break; + case "destroy": + t.onDestroy(() => a(n && Lb(n, "destroy", t))); + } + } + function Lb(t, e, n) { + const a = n.totalTime, + o = Fb( + t.element, + t.triggerName, + t.fromState, + t.toState, + e || t.phaseName, + null == a ? t.totalTime : a, + !!n.disabled + ), + i = t._data; + return null != i && (o._data = i), o; + } + function Fb(t, e, n, a, o = "", i = 0, r) { + return { + element: t, + triggerName: e, + fromState: n, + toState: a, + phaseName: o, + totalTime: i, + disabled: !!r + }; + } + function Bb(t, e, n) { + let a; + return ( + t instanceof Map + ? (a = t.get(e)) || t.set(e, (a = n)) + : (a = t[e]) || (a = t[e] = n), + a + ); + } + function Vb(t) { + const e = t.indexOf(":"); + return [t.substring(1, e), t.substr(e + 1)]; + } + let Hb = (t, e) => !1, + jb = (t, e) => !1, + Ub = (t, e, n) => []; + const qb = Rb(); + (qb || "undefined" != typeof Element) && + ((Hb = (t, e) => t.contains(e)), + (jb = (() => { + if (qb || 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]) : jb; + } + })()), + (Ub = (t, e, n) => { + let a = []; + if (n) a.push(...t.querySelectorAll(e)); + else { + const n = t.querySelector(e); + n && a.push(n); + } + return a; + })); + let Kb = null, + Yb = !1; + function Wb(t) { + Kb || + ((Kb = ("undefined" != typeof document ? document.body : null) || {}), + (Yb = !!Kb.style && "WebkitAppearance" in Kb.style)); + let e = !0; + return ( + Kb.style && + !(function(t) { + return "ebkit" == t.substring(1, 6); + })(t) && + !(e = t in Kb.style) && + Yb && + (e = + "Webkit" + t.charAt(0).toUpperCase() + t.substr(1) in Kb.style), + e + ); + } + const Gb = jb, + $b = Hb, + Zb = Ub; + function Qb(t) { + const e = {}; + return ( + Object.keys(t).forEach(n => { + const a = n.replace(/([a-z])([A-Z])/g, "$1-$2"); + e[a] = t[n]; + }), + e + ); + } + const Xb = (() => + class { + validateStyleProperty(t) { + return Wb(t); + } + matchesElement(t, e) { + return Gb(t, e); + } + containsElement(t, e) { + return $b(t, e); + } + query(t, e, n) { + return Zb(t, e, n); + } + computeStyle(t, e, n) { + return n || ""; + } + animate(t, e, n, a, o, i = [], r) { + return new Ib(n, a); + } + })(), + Jb = (() => { + class t {} + return (t.NOOP = new Xb()), t; + })(), + t_ = 1e3, + e_ = "{{", + n_ = "ng-enter", + a_ = "ng-leave", + o_ = "ng-trigger", + i_ = ".ng-trigger", + r_ = "ng-animating", + l_ = ".ng-animating"; + function s_(t) { + if ("number" == typeof t) return t; + const e = t.match(/^(-?[\.\d]+)(m?s)/); + return !e || e.length < 2 ? 0 : c_(parseFloat(e[1]), e[2]); + } + function c_(t, e) { + switch (e) { + case "s": + return t * t_; + default: + return t; + } + } + function d_(t, e, n) { + return t.hasOwnProperty("duration") + ? t + : (function(t, e, n) { + let a, + o = 0, + i = ""; + 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: "" } + ); + a = c_(parseFloat(n[1]), n[2]); + const r = n[3]; + null != r && (o = c_(parseFloat(r), n[4])); + const l = n[5]; + l && (i = l); + } else a = t; + if (!n) { + let n = !1, + i = e.length; + a < 0 && + (e.push( + "Duration values below 0 are not allowed for this animation step." + ), + (n = !0)), + o < 0 && + (e.push( + "Delay values below 0 are not allowed for this animation step." + ), + (n = !0)), + n && + e.splice( + i, + 0, + `The provided timing value "${t}" is invalid.` + ); + } + return { duration: a, delay: o, easing: i }; + })(t, e, n); + } + function u_(t, e = {}) { + return ( + Object.keys(t).forEach(n => { + e[n] = t[n]; + }), + e + ); + } + function m_(t, e, n = {}) { + if (e) for (let a in t) n[a] = t[a]; + else u_(t, n); + return n; + } + function h_(t, e, n) { + return n ? e + ":" + n + ";" : ""; + } + function g_(t) { + let e = ""; + for (let n = 0; n < t.style.length; n++) { + const a = t.style.item(n); + e += h_(0, a, t.style.getPropertyValue(a)); + } + for (const n in t.style) + t.style.hasOwnProperty(n) && + !n.startsWith("_") && + (e += h_( + 0, + n.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(), + t.style[n] + )); + t.setAttribute("style", e); + } + function p_(t, e, n) { + t.style && + (Object.keys(e).forEach(a => { + const o = y_(a); + n && !n.hasOwnProperty(a) && (n[a] = t.style[o]), + (t.style[o] = e[a]); + }), + Rb() && g_(t)); + } + function f_(t, e) { + t.style && + (Object.keys(e).forEach(e => { + const n = y_(e); + t.style[n] = ""; + }), + Rb() && g_(t)); + } + function b_(t) { + return Array.isArray(t) ? (1 == t.length ? t[0] : wb(t)) : t; + } + const __ = new RegExp(`${e_}\\s*(.+?)\\s*}}`, "g"); + function C_(t) { + let e = []; + if ("string" == typeof t) { + const n = t.toString(); + let a; + for (; (a = __.exec(n)); ) e.push(a[1]); + __.lastIndex = 0; + } + return e; + } + function P_(t, e, n) { + const a = t.toString(), + o = a.replace(__, (t, a) => { + let o = e[a]; + return ( + e.hasOwnProperty(a) || + (n.push(`Please provide a value for the animation param ${a}`), + (o = "")), + o.toString() + ); + }); + return o == a ? t : o; + } + function O_(t) { + const e = []; + let n = t.next(); + for (; !n.done; ) e.push(n.value), (n = t.next()); + return e; + } + const M_ = /-+([a-z0-9])/g; + function y_(t) { + return t.replace(M_, (...t) => t[1].toUpperCase()); + } + function v_(t, e) { + return 0 === t || 0 === e; + } + function x_(t, e, n) { + const a = Object.keys(n); + if (a.length && e.length) { + let i = e[0], + r = []; + if ( + (a.forEach(t => { + i.hasOwnProperty(t) || r.push(t), (i[t] = n[t]); + }), + r.length) + ) + for (var o = 1; o < e.length; o++) { + let n = e[o]; + r.forEach(function(e) { + n[e] = w_(t, e); + }); + } + } + return e; + } + function k_(t, e, n) { + switch (e.type) { + case 7: + return t.visitTrigger(e, n); + case 0: + return t.visitState(e, n); + case 1: + return t.visitTransition(e, n); + case 2: + return t.visitSequence(e, n); + case 3: + return t.visitGroup(e, n); + case 4: + return t.visitAnimate(e, n); + case 5: + return t.visitKeyframes(e, n); + case 6: + return t.visitStyle(e, n); + case 8: + return t.visitReference(e, n); + case 9: + return t.visitAnimateChild(e, n); + case 10: + return t.visitAnimateRef(e, n); + case 11: + return t.visitQuery(e, n); + case 12: + return t.visitStagger(e, n); + default: + throw new Error( + `Unable to resolve animation metadata node #${e.type}` + ); + } + } + function w_(t, e) { + return window.getComputedStyle(t)[e]; + } + const S_ = "*"; + function E_(t, e) { + const n = []; + return ( + "string" == typeof t + ? t.split(/\s*,\s*/).forEach(t => + (function(t, e, n) { + if (":" == t[0]) { + const a = (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) < parseFloat(t); + default: + return ( + e.push( + `The transition alias value "${t}" is not supported` + ), + "* => *" + ); + } + })(t, n); + if ("function" == typeof a) return void e.push(a); + t = a; + } + const a = t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/); + if (null == a || a.length < 4) + return ( + n.push( + `The provided transition expression "${t}" is not supported` + ), + e + ); + const o = a[1], + i = a[2], + r = a[3]; + e.push(T_(o, r)), + "<" != i[0] || (o == S_ && r == S_) || e.push(T_(r, o)); + })(t, n, e) + ) + : n.push(t), + n + ); + } + const I_ = new Set(["true", "1"]), + A_ = new Set(["false", "0"]); + function T_(t, e) { + const n = I_.has(t) || A_.has(t), + a = I_.has(e) || A_.has(e); + return (o, i) => { + let r = t == S_ || t == o, + l = e == S_ || e == i; + return ( + !r && n && "boolean" == typeof o && (r = o ? I_.has(t) : A_.has(t)), + !l && a && "boolean" == typeof i && (l = i ? I_.has(e) : A_.has(e)), + r && l + ); + }; + } + const R_ = ":self", + D_ = new RegExp(`s*${R_}s*,?`, "g"); + function N_(t, e, n) { + return new L_(t).build(e, n); + } + const z_ = ""; + class L_ { + constructor(t) { + this._driver = t; + } + build(t, e) { + const n = new F_(e); + return this._resetContextStyleTimingState(n), k_(this, b_(t), n); + } + _resetContextStyleTimingState(t) { + (t.currentQuerySelector = z_), + (t.collectedStyles = {}), + (t.collectedStyles[z_] = {}), + (t.currentTime = 0); + } + visitTrigger(t, e) { + let n = (e.queryCount = 0), + a = (e.depCount = 0); + const o = [], + i = []; + 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, + a = n.name; + a + .toString() + .split(/\s*,\s*/) + .forEach(t => { + (n.name = t), o.push(this.visitState(n, e)); + }), + (n.name = a); + } else if (1 == t.type) { + const o = this.visitTransition(t, e); + (n += o.queryCount), (a += o.depCount), i.push(o); + } else + e.errors.push( + "only state() and transition() definitions can sit inside of a trigger()" + ); + }), + { + type: 7, + name: t.name, + states: o, + transitions: i, + queryCount: n, + depCount: a, + options: null + } + ); + } + visitState(t, e) { + const n = this.visitStyle(t.styles, e), + a = (t.options && t.options.params) || null; + if (n.containsDynamicStyles) { + const o = new Set(), + i = a || {}; + if ( + (n.styles.forEach(t => { + if (B_(t)) { + const e = t; + Object.keys(e).forEach(t => { + C_(e[t]).forEach(t => { + i.hasOwnProperty(t) || o.add(t); + }); + }); + } + }), + o.size) + ) { + const n = O_(o.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: a ? { params: a } : null + }; + } + visitTransition(t, e) { + (e.queryCount = 0), (e.depCount = 0); + const n = k_(this, b_(t.animation), e); + return { + type: 1, + matchers: E_(t.expr, e.errors), + animation: n, + queryCount: e.queryCount, + depCount: e.depCount, + options: V_(t.options) + }; + } + visitSequence(t, e) { + return { + type: 2, + steps: t.steps.map(t => k_(this, t, e)), + options: V_(t.options) + }; + } + visitGroup(t, e) { + const n = e.currentTime; + let a = 0; + const o = t.steps.map(t => { + e.currentTime = n; + const o = k_(this, t, e); + return (a = Math.max(a, e.currentTime)), o; + }); + return ( + (e.currentTime = a), { type: 3, steps: o, options: V_(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 H_(d_(t, e).duration, 0, ""); + const a = t; + if ( + a.split(/\s+/).some(t => "{" == t.charAt(0) && "{" == t.charAt(1)) + ) { + const t = H_(0, 0, ""); + return (t.dynamic = !0), (t.strValue = a), t; + } + return H_((n = n || d_(a, e)).duration, n.delay, n.easing); + })(t.timings, e.errors); + let a; + e.currentAnimateTimings = n; + let o = t.styles ? t.styles : Sb({}); + if (5 == o.type) a = this.visitKeyframes(o, e); + else { + let o = t.styles, + i = !1; + if (!o) { + i = !0; + const t = {}; + n.easing && (t.easing = n.easing), (o = Sb(t)); + } + e.currentTime += n.duration + n.delay; + const r = this.visitStyle(o, e); + (r.isEmptyStep = i), (a = r); + } + return ( + (e.currentAnimateTimings = null), + { type: 4, timings: n, style: a, 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 == kb + ? n.push(t) + : e.errors.push( + `The provided style string value ${t} is not allowed.` + ) + : n.push(t); + }) + : n.push(t.styles); + let a = !1, + o = null; + return ( + n.forEach(t => { + if (B_(t)) { + const e = t, + n = e.easing; + if ((n && ((o = n), delete e.easing), !a)) + for (let t in e) + if (e[t].toString().indexOf(e_) >= 0) { + a = !0; + break; + } + } + }), + { + type: 6, + styles: n, + easing: o, + offset: t.offset, + containsDynamicStyles: a, + options: null + } + ); + } + _validateStyleAst(t, e) { + const n = e.currentAnimateTimings; + let a = e.currentTime, + o = e.currentTime; + n && o > 0 && (o -= 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 i = e.collectedStyles[e.currentQuerySelector], + r = i[n]; + let l = !0; + r && + (o != a && + o >= r.startTime && + a <= r.endTime && + (e.errors.push( + `The CSS property "${n}" that exists between the times of "${r.startTime}ms" and "${r.endTime}ms" is also being animated in a parallel animation between the times of "${o}ms" and "${a}ms"` + ), + (l = !1)), + (o = r.startTime)), + l && (i[n] = { startTime: o, endTime: a }), + e.options && + (function(a, o, i) { + const r = e.options.params || {}, + l = C_(t[n]); + l.length && + l.forEach(t => { + r.hasOwnProperty(t) || + i.push( + `Unable to resolve the local animation param ${t} in the given list of values` + ); + }); + })(0, 0, 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 a = 0; + const o = []; + let i = !1, + r = !1, + l = 0; + const s = t.steps.map(t => { + const n = this._makeStyleAst(t, e); + let s = + null != n.offset + ? n.offset + : (function(t) { + if ("string" == typeof t) return null; + let e = null; + if (Array.isArray(t)) + t.forEach(t => { + if (B_(t) && t.hasOwnProperty("offset")) { + const n = t; + (e = parseFloat(n.offset)), delete n.offset; + } + }); + else if (B_(t) && t.hasOwnProperty("offset")) { + const n = t; + (e = parseFloat(n.offset)), delete n.offset; + } + return e; + })(n.styles), + c = 0; + return ( + null != s && (a++, (c = n.offset = s)), + (r = r || c < 0 || c > 1), + (i = i || c < l), + (l = c), + o.push(c), + n + ); + }); + r && + e.errors.push( + "Please ensure that all keyframe offsets are between 0 and 1" + ), + i && + e.errors.push( + "Please ensure that all keyframe offsets are in order" + ); + const c = t.steps.length; + let d = 0; + a > 0 && a < c + ? e.errors.push( + "Not all style() steps within the declared keyframes() contain offsets" + ) + : 0 == a && (d = 1 / (c - 1)); + const u = c - 1, + m = e.currentTime, + h = e.currentAnimateTimings, + g = h.duration; + return ( + s.forEach((t, a) => { + const i = d > 0 ? (a == u ? 1 : d * a) : o[a], + r = i * g; + (e.currentTime = m + h.delay + r), + (h.duration = r), + this._validateStyleAst(t, e), + (t.offset = i), + n.styles.push(t); + }), + n + ); + } + visitReference(t, e) { + return { + type: 8, + animation: k_(this, b_(t.animation), e), + options: V_(t.options) + }; + } + visitAnimateChild(t, e) { + return e.depCount++, { type: 9, options: V_(t.options) }; + } + visitAnimateRef(t, e) { + return { + type: 10, + animation: this.visitReference(t.animation, e), + options: V_(t.options) + }; + } + visitQuery(t, e) { + const n = e.currentQuerySelector, + a = t.options || {}; + e.queryCount++, (e.currentQuery = t); + const [o, i] = (function(t) { + const e = !!t.split(/\s*,\s*/).find(t => t == R_); + return ( + e && (t = t.replace(D_, "")), + [ + (t = t + .replace(/@\*/g, i_) + .replace(/@\w+/g, t => i_ + "-" + t.substr(1)) + .replace(/:animating/g, l_)), + e + ] + ); + })(t.selector); + (e.currentQuerySelector = n.length ? n + " " + o : o), + Bb(e.collectedStyles, e.currentQuerySelector, {}); + const r = k_(this, b_(t.animation), e); + return ( + (e.currentQuery = null), + (e.currentQuerySelector = n), + { + type: 11, + selector: o, + limit: a.limit || 0, + optional: !!a.optional, + includeSelf: i, + animation: r, + originalSelector: t.selector, + options: V_(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" } + : d_(t.timings, e.errors, !0); + return { + type: 12, + animation: k_(this, b_(t.animation), e), + timings: n, + options: null + }; + } + } + class F_ { + 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 B_(t) { + return !Array.isArray(t) && "object" == typeof t; + } + function V_(t) { + var e; + return ( + t + ? (t = u_(t)).params && (t.params = (e = t.params) ? u_(e) : null) + : (t = {}), + t + ); + } + function H_(t, e, n) { + return { duration: t, delay: e, easing: n }; + } + function j_(t, e, n, a, o, i, r = null, l = !1) { + return { + type: 1, + element: t, + keyframes: e, + preStyleProps: n, + postStyleProps: a, + duration: o, + delay: i, + totalTime: o + i, + easing: r, + subTimeline: l + }; + } + class U_ { + 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 q_ = 1, + K_ = new RegExp(":enter", "g"), + Y_ = new RegExp(":leave", "g"); + function W_(t, e, n, a, o, i = {}, r = {}, l, s, c = []) { + return new G_().buildKeyframes(t, e, n, a, o, i, r, l, s, c); + } + class G_ { + buildKeyframes(t, e, n, a, o, i, r, l, s, c = []) { + s = s || new U_(); + const d = new Z_(t, e, s, a, o, c, []); + (d.options = l), + d.currentTimeline.setStyles([i], null, d.errors, l), + k_(this, n, d); + const u = d.timelines.filter(t => t.containsAnimation()); + if (u.length && Object.keys(r).length) { + const t = u[u.length - 1]; + t.allowOnlyTimelineStyles() || t.setStyles([r], null, d.errors, l); + } + return u.length + ? u.map(t => t.buildKeyframes()) + : [j_(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 a = e.createSubContext(t.options), + o = e.currentTimeline.currentTime, + i = this._visitSubInstructions(n, a, a.options); + o != i && e.transformIntoNewTimeline(i); + } + 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 a = e.currentTimeline.currentTime; + const o = null != n.duration ? s_(n.duration) : null, + i = null != n.delay ? s_(n.delay) : null; + return ( + 0 !== o && + t.forEach(t => { + const n = e.appendInstructionToTimeline(t, o, i); + a = Math.max(a, n.duration + n.delay); + }), + a + ); + } + visitReference(t, e) { + e.updateOptions(t.options, !0), + k_(this, t.animation, e), + (e.previousNode = t); + } + visitSequence(t, e) { + const n = e.subContextCount; + let a = e; + const o = t.options; + if ( + o && + (o.params || o.delay) && + ((a = e.createSubContext(o)).transformIntoNewTimeline(), + null != o.delay) + ) { + 6 == a.previousNode.type && + (a.currentTimeline.snapshotCurrentStyles(), + (a.previousNode = $_)); + const t = s_(o.delay); + a.delayNextStep(t); + } + t.steps.length && + (t.steps.forEach(t => k_(this, t, a)), + a.currentTimeline.applyStylesToKeyframe(), + a.subContextCount > n && a.transformIntoNewTimeline()), + (e.previousNode = t); + } + visitGroup(t, e) { + const n = []; + let a = e.currentTimeline.currentTime; + const o = t.options && t.options.delay ? s_(t.options.delay) : 0; + t.steps.forEach(i => { + const r = e.createSubContext(t.options); + o && r.delayNextStep(o), + k_(this, i, r), + (a = Math.max(a, r.currentTimeline.currentTime)), + n.push(r.currentTimeline); + }), + n.forEach(t => e.currentTimeline.mergeTimelineCollectedStyles(t)), + e.transformIntoNewTimeline(a), + (e.previousNode = t); + } + _visitTiming(t, e) { + if (t.dynamic) { + const n = t.strValue; + return d_(e.params ? P_(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)), + a = e.currentTimeline; + n.delay && (e.incrementTime(n.delay), a.snapshotCurrentStyles()); + const o = t.style; + 5 == o.type + ? this.visitKeyframes(o, e) + : (e.incrementTime(n.duration), + this.visitStyle(o, e), + a.applyStylesToKeyframe()), + (e.currentAnimateTimings = null), + (e.previousNode = t); + } + visitStyle(t, e) { + const n = e.currentTimeline, + a = e.currentAnimateTimings; + !a && n.getCurrentStyleProperties().length && n.forwardFrame(); + const o = (a && a.easing) || t.easing; + t.isEmptyStep + ? n.applyEmptyStep(o) + : n.setStyles(t.styles, o, e.errors, e.options), + (e.previousNode = t); + } + visitKeyframes(t, e) { + const n = e.currentAnimateTimings, + a = e.currentTimeline.duration, + o = n.duration, + i = e.createSubContext().currentTimeline; + (i.easing = n.easing), + t.styles.forEach(t => { + i.forwardTime((t.offset || 0) * o), + i.setStyles(t.styles, t.easing, e.errors, e.options), + i.applyStylesToKeyframe(); + }), + e.currentTimeline.mergeTimelineCollectedStyles(i), + e.transformIntoNewTimeline(a + o), + (e.previousNode = t); + } + visitQuery(t, e) { + const n = e.currentTimeline.currentTime, + a = t.options || {}, + o = a.delay ? s_(a.delay) : 0; + o && + (6 === e.previousNode.type || + (0 == n && + e.currentTimeline.getCurrentStyleProperties().length)) && + (e.currentTimeline.snapshotCurrentStyles(), (e.previousNode = $_)); + let i = n; + const r = e.invokeQuery( + t.selector, + t.originalSelector, + t.limit, + t.includeSelf, + !!a.optional, + e.errors + ); + e.currentQueryTotal = r.length; + let l = null; + r.forEach((n, a) => { + e.currentQueryIndex = a; + const r = e.createSubContext(t.options, n); + o && r.delayNextStep(o), + n === e.element && (l = r.currentTimeline), + k_(this, t.animation, r), + r.currentTimeline.applyStylesToKeyframe(), + (i = Math.max(i, r.currentTimeline.currentTime)); + }), + (e.currentQueryIndex = 0), + (e.currentQueryTotal = 0), + e.transformIntoNewTimeline(i), + l && + (e.currentTimeline.mergeTimelineCollectedStyles(l), + e.currentTimeline.snapshotCurrentStyles()), + (e.previousNode = t); + } + visitStagger(t, e) { + const n = e.parentContext, + a = e.currentTimeline, + o = t.timings, + i = Math.abs(o.duration), + r = i * (e.currentQueryTotal - 1); + let l = i * e.currentQueryIndex; + switch (o.duration < 0 ? "reverse" : o.easing) { + case "reverse": + l = r - l; + break; + case "full": + l = n.currentStaggerTime; + } + const s = e.currentTimeline; + l && s.delayNextStep(l); + const c = s.currentTime; + k_(this, t.animation, e), + (e.previousNode = t), + (n.currentStaggerTime = + a.currentTime - c + (a.startTime - n.currentTimeline.startTime)); + } + } + const $_ = {}; + class Z_ { + constructor(t, e, n, a, o, i, r, l) { + (this._driver = t), + (this.element = e), + (this.subInstructions = n), + (this._enterClassName = a), + (this._leaveClassName = o), + (this.errors = i), + (this.timelines = r), + (this.parentContext = null), + (this.currentAnimateTimings = null), + (this.previousNode = $_), + (this.subContextCount = 0), + (this.options = {}), + (this.currentQueryIndex = 0), + (this.currentQueryTotal = 0), + (this.currentStaggerTime = 0), + (this.currentTimeline = l || new Q_(this._driver, e, 0)), + r.push(this.currentTimeline); + } + get params() { + return this.options.params; + } + updateOptions(t, e) { + if (!t) return; + const n = t; + let a = this.options; + null != n.duration && (a.duration = s_(n.duration)), + null != n.delay && (a.delay = s_(n.delay)); + const o = n.params; + if (o) { + let t = a.params; + t || (t = this.options.params = {}), + Object.keys(o).forEach(n => { + (e && t.hasOwnProperty(n)) || (t[n] = P_(o[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 a = e || this.element, + o = new Z_( + this._driver, + a, + this.subInstructions, + this._enterClassName, + this._leaveClassName, + this.errors, + this.timelines, + this.currentTimeline.fork(a, n || 0) + ); + return ( + (o.previousNode = this.previousNode), + (o.currentAnimateTimings = this.currentAnimateTimings), + (o.options = this._copyOptions()), + o.updateOptions(t), + (o.currentQueryIndex = this.currentQueryIndex), + (o.currentQueryTotal = this.currentQueryTotal), + (o.parentContext = this), + this.subContextCount++, + o + ); + } + transformIntoNewTimeline(t) { + return ( + (this.previousNode = $_), + (this.currentTimeline = this.currentTimeline.fork(this.element, t)), + this.timelines.push(this.currentTimeline), + this.currentTimeline + ); + } + appendInstructionToTimeline(t, e, n) { + const a = { + duration: null != e ? e : t.duration, + delay: + this.currentTimeline.currentTime + + (null != n ? n : 0) + + t.delay, + easing: "" + }, + o = new X_( + this._driver, + t.element, + t.keyframes, + t.preStyleProps, + t.postStyleProps, + a, + t.stretchStartingKeyframe + ); + return this.timelines.push(o), a; + } + incrementTime(t) { + this.currentTimeline.forwardTime(this.currentTimeline.duration + t); + } + delayNextStep(t) { + t > 0 && this.currentTimeline.delayNextStep(t); + } + invokeQuery(t, e, n, a, o, i) { + let r = []; + if ((a && r.push(this.element), t.length > 0)) { + t = (t = t.replace(K_, "." + this._enterClassName)).replace( + Y_, + "." + 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)), + r.push(...e); + } + return ( + o || + 0 != r.length || + i.push( + `\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)` + ), + r + ); + } + } + class Q_ { + constructor(t, e, n, a) { + (this._driver = t), + (this.element = e), + (this.startTime = n), + (this._elementTimelineStylesLookup = a), + (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 Q_( + 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 += q_), 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] || kb), + (this._currentKeyframe[t] = kb); + }), + (this._currentEmptyStepKeyframe = this._currentKeyframe); + } + setStyles(t, e, n, a) { + e && (this._previousKeyframe.easing = e); + const o = (a && a.params) || {}, + i = (function(t, e) { + const n = {}; + let a; + return ( + t.forEach(t => { + "*" === t + ? (a = a || Object.keys(e)).forEach(t => { + n[t] = kb; + }) + : m_(t, !1, n); + }), + n + ); + })(t, this._globalTimelineStyles); + Object.keys(i).forEach(t => { + const e = P_(i[t], o, n); + (this._pendingStyles[t] = e), + this._localTimelineStyles.hasOwnProperty(t) || + (this._backFill[t] = this._globalTimelineStyles.hasOwnProperty( + t + ) + ? this._globalTimelineStyles[t] + : kb), + 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], + a = t._styleSummary[e]; + (!n || a.time > n.time) && this._updateStyle(e, a.value); + }); + } + buildKeyframes() { + this.applyStylesToKeyframe(); + const t = new Set(), + e = new Set(), + n = 1 === this._keyframes.size && 0 === this.duration; + let a = []; + this._keyframes.forEach((o, i) => { + const r = m_(o, !0); + Object.keys(r).forEach(n => { + const a = r[n]; + a == Tb ? t.add(n) : a == kb && e.add(n); + }), + n || (r.offset = i / this.duration), + a.push(r); + }); + const o = t.size ? O_(t.values()) : [], + i = e.size ? O_(e.values()) : []; + if (n) { + const t = a[0], + e = u_(t); + (t.offset = 0), (e.offset = 1), (a = [t, e]); + } + return j_( + this.element, + a, + o, + i, + this.duration, + this.startTime, + this.easing, + !1 + ); + } + } + class X_ extends Q_ { + constructor(t, e, n, a, o, i, r = !1) { + super(t, e, i.delay), + (this.element = e), + (this.keyframes = n), + (this.preStyleProps = a), + (this.postStyleProps = o), + (this._stretchStartingKeyframe = r), + (this.timings = { + duration: i.duration, + delay: i.delay, + easing: i.easing + }); + } + containsAnimation() { + return this.keyframes.length > 1; + } + buildKeyframes() { + let t = this.keyframes, + { delay: e, duration: n, easing: a } = this.timings; + if (this._stretchStartingKeyframe && e) { + const o = [], + i = n + e, + r = e / i, + l = m_(t[0], !1); + (l.offset = 0), o.push(l); + const s = m_(t[0], !1); + (s.offset = J_(r)), o.push(s); + const c = t.length - 1; + for (let a = 1; a <= c; a++) { + let r = m_(t[a], !1); + (r.offset = J_((e + r.offset * n) / i)), o.push(r); + } + (n = i), (e = 0), (a = ""), (t = o); + } + return j_( + this.element, + t, + this.preStyleProps, + this.postStyleProps, + n, + e, + a, + !0 + ); + } + } + function J_(t, e = 3) { + const n = Math.pow(10, e - 1); + return Math.round(t * n) / n; + } + class tC {} + class eC extends tC { + normalizePropertyName(t, e) { + return y_(t); + } + normalizeStyleValue(t, e, n, a) { + let o = ""; + const i = n.toString().trim(); + if (nC[e] && 0 !== n && "0" !== n) + if ("number" == typeof n) o = "px"; + else { + const e = n.match(/^[+-]?[\d\.]+([a-z]*)$/); + e && + 0 == e[1].length && + a.push(`Please provide a CSS unit value for ${t}:${n}`); + } + return i + o; + } + } + const nC = (() => + (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 aC(t, e, n, a, o, i, r, l, s, c, d, u, m) { + return { + type: 0, + element: t, + triggerName: e, + isRemovalTransition: o, + fromState: n, + fromStyles: i, + toState: a, + toStyles: r, + timelines: l, + queriedElements: s, + preStyleProps: c, + postStyleProps: d, + totalTime: u, + errors: m + }; + } + const oC = {}; + class iC { + constructor(t, e, n) { + (this._triggerName = t), (this.ast = e), (this._stateStyles = n); + } + match(t, e, n, a) { + return (function(t, e, n, a, o) { + return t.some(t => t(e, n, a, o)); + })(this.ast.matchers, t, e, n, a); + } + buildStyles(t, e, n) { + const a = this._stateStyles["*"], + o = this._stateStyles[t], + i = a ? a.buildStyles(e, n) : {}; + return o ? o.buildStyles(e, n) : i; + } + build(t, e, n, a, o, i, r, l, s, c) { + const d = [], + u = (this.ast.options && this.ast.options.params) || oC, + m = this.buildStyles(n, (r && r.params) || oC, d), + h = (l && l.params) || oC, + g = this.buildStyles(a, h, d), + p = new Set(), + f = new Map(), + b = new Map(), + _ = "void" === a, + C = { params: Object.assign({}, u, h) }, + P = c ? [] : W_(t, e, this.ast.animation, o, i, m, g, C, s, d); + let O = 0; + if ( + (P.forEach(t => { + O = Math.max(t.duration + t.delay, O); + }), + d.length) + ) + return aC(e, this._triggerName, n, a, _, m, g, [], [], f, b, O, d); + P.forEach(t => { + const n = t.element, + a = Bb(f, n, {}); + t.preStyleProps.forEach(t => (a[t] = !0)); + const o = Bb(b, n, {}); + t.postStyleProps.forEach(t => (o[t] = !0)), n !== e && p.add(n); + }); + const M = O_(p.values()); + return aC(e, this._triggerName, n, a, _, m, g, P, M, f, b, O); + } + } + class rC { + constructor(t, e) { + (this.styles = t), (this.defaultParams = e); + } + buildStyles(t, e) { + const n = {}, + a = u_(this.defaultParams); + return ( + Object.keys(t).forEach(e => { + const n = t[e]; + null != n && (a[e] = n); + }), + this.styles.styles.forEach(t => { + if ("string" != typeof t) { + const o = t; + Object.keys(o).forEach(t => { + let i = o[t]; + i.length > 1 && (i = P_(i, a, e)), (n[t] = i); + }); + } + }), + n + ); + } + } + class lC { + constructor(t, e) { + (this.name = t), + (this.ast = e), + (this.transitionFactories = []), + (this.states = {}), + e.states.forEach(t => { + this.states[t.name] = new rC( + t.style, + (t.options && t.options.params) || {} + ); + }), + sC(this.states, "true", "1"), + sC(this.states, "false", "0"), + e.transitions.forEach(e => { + this.transitionFactories.push(new iC(t, e, this.states)); + }), + (this.fallbackTransition = new iC( + t, + { + type: 1, + animation: { type: 2, steps: [], options: null }, + matchers: [(t, e) => !0], + options: null, + queryCount: 0, + depCount: 0 + }, + this.states + )); + } + get containsQueries() { + return this.ast.queryCount > 0; + } + matchTransition(t, e, n, a) { + return ( + this.transitionFactories.find(o => o.match(t, e, n, a)) || null + ); + } + matchStyles(t, e, n) { + return this.fallbackTransition.buildStyles(t, e, n); + } + } + function sC(t, e, n) { + t.hasOwnProperty(e) + ? t.hasOwnProperty(n) || (t[n] = t[e]) + : t.hasOwnProperty(n) && (t[e] = t[n]); + } + const cC = new U_(); + class dC { + constructor(t, e, n) { + (this.bodyNode = t), + (this._driver = e), + (this._normalizer = n), + (this._animations = {}), + (this._playersById = {}), + (this.players = []); + } + register(t, e) { + const n = [], + a = N_(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] = a; + } + _buildPlayer(t, e, n) { + const a = t.element, + o = Nb(0, this._normalizer, 0, t.keyframes, e, n); + return this._driver.animate( + a, + o, + t.duration, + t.delay, + t.easing, + [], + !0 + ); + } + create(t, e, n = {}) { + const a = [], + o = this._animations[t]; + let i; + const r = new Map(); + if ( + (o + ? (i = W_(this._driver, e, o, n_, a_, {}, {}, n, cC, a)).forEach( + t => { + const e = Bb(r, t.element, {}); + t.postStyleProps.forEach(t => (e[t] = null)); + } + ) + : (a.push( + "The requested animation doesn't exist or has already been destroyed" + ), + (i = [])), + a.length) + ) + throw new Error( + `Unable to create the animation due to the following errors: ${a.join( + "\n" + )}` + ); + r.forEach((t, e) => { + Object.keys(t).forEach(n => { + t[n] = this._driver.computeStyle(e, n, kb); + }); + }); + const l = Db( + i.map(t => { + const e = r.get(t.element); + return this._buildPlayer(t, {}, e); + }) + ); + return ( + (this._playersById[t] = l), + l.onDestroy(() => this.destroy(t)), + this.players.push(l), + l + ); + } + 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, a) { + const o = Fb(e, "", "", ""); + return zb(this._getPlayer(t), n, o, a), () => {}; + } + command(t, e, n, a) { + if ("register" == n) return void this.register(t, a[0]); + if ("create" == n) return void this.create(t, e, a[0] || {}); + const o = this._getPlayer(t); + switch (n) { + case "play": + o.play(); + break; + case "pause": + o.pause(); + break; + case "reset": + o.reset(); + break; + case "restart": + o.restart(); + break; + case "finish": + o.finish(); + break; + case "init": + o.init(); + break; + case "setPosition": + o.setPosition(parseFloat(a[0])); + break; + case "destroy": + this.destroy(t); + } + } + } + const uC = "ng-animate-queued", + mC = ".ng-animate-queued", + hC = "ng-animate-disabled", + gC = ".ng-animate-disabled", + pC = "ng-star-inserted", + fC = ".ng-star-inserted", + bC = [], + _C = { + namespaceId: "", + setForRemoval: !1, + setForMove: !1, + hasAnimation: !1, + removedBeforeQueried: !1 + }, + CC = { + namespaceId: "", + setForMove: !1, + setForRemoval: !1, + hasAnimation: !1, + removedBeforeQueried: !0 + }, + PC = "__ng_removed"; + class OC { + constructor(t, e = "") { + this.namespaceId = e; + const n = t && t.hasOwnProperty("value"); + if ( + ((this.value = (function(t) { + return null != t ? t : null; + })(n ? t.value : t)), + n) + ) { + const e = u_(t); + delete e.value, (this.options = e); + } else this.options = {}; + 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 MC = "void", + yC = new OC(MC); + class vC { + 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), + TC(e, this._hostClassName); + } + listen(t, e, n, a) { + 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" != (o = n) && "done" != o) + throw new Error( + `The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!` + ); + var o; + const i = Bb(this._elementListeners, t, []), + r = { name: e, phase: n, callback: a }; + i.push(r); + const l = Bb(this._engine.statesByElement, t, {}); + return ( + l.hasOwnProperty(e) || + (TC(t, o_), TC(t, o_ + "-" + e), (l[e] = yC)), + () => { + this._engine.afterFlush(() => { + const t = i.indexOf(r); + t >= 0 && i.splice(t, 1), this._triggers[e] || delete l[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, a = !0) { + const o = this._getTrigger(e), + i = new kC(this.id, e, t); + let r = this._engine.statesByElement.get(t); + r || + (TC(t, o_), + TC(t, o_ + "-" + e), + this._engine.statesByElement.set(t, (r = {}))); + let l = r[e]; + const s = new OC(n, this.id); + if ( + (!(n && n.hasOwnProperty("value")) && + l && + s.absorbOptions(l.options), + (r[e] = s), + l || (l = yC), + s.value !== MC && l.value === s.value) + ) { + if ( + !(function(t, e) { + const n = Object.keys(t), + a = Object.keys(e); + if (n.length != a.length) return !1; + for (let o = 0; o < n.length; o++) { + const a = n[o]; + if (!e.hasOwnProperty(a) || t[a] !== e[a]) return !1; + } + return !0; + })(l.params, s.params) + ) { + const e = [], + n = o.matchStyles(l.value, l.params, e), + a = o.matchStyles(s.value, s.params, e); + e.length + ? this._engine.reportError(e) + : this._engine.afterFlush(() => { + f_(t, n), p_(t, a); + }); + } + return; + } + const c = Bb(this._engine.playersByElement, t, []); + c.forEach(t => { + t.namespaceId == this.id && + t.triggerName == e && + t.queued && + t.destroy(); + }); + let d = o.matchTransition(l.value, s.value, t, s.params), + u = !1; + if (!d) { + if (!a) return; + (d = o.fallbackTransition), (u = !0); + } + return ( + this._engine.totalQueuedPlayers++, + this._queue.push({ + element: t, + triggerName: e, + transition: d, + fromState: l, + toState: s, + player: i, + isFallbackTransition: u + }), + u || + (TC(t, uC), + i.onStart(() => { + RC(t, uC); + })), + i.onDone(() => { + let e = this.players.indexOf(i); + e >= 0 && this.players.splice(e, 1); + const n = this._engine.playersByElement.get(t); + if (n) { + let t = n.indexOf(i); + t >= 0 && n.splice(t, 1); + } + }), + this.players.push(i), + c.push(i), + i + ); + } + 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, n = !1) { + this._engine.driver.query(t, i_, !0).forEach(t => { + if (t[PC]) return; + const n = this._engine.fetchNamespacesByElement(t); + n.size + ? n.forEach(n => n.triggerLeaveAnimation(t, e, !1, !0)) + : this.clearElementCache(t); + }); + } + triggerLeaveAnimation(t, e, n, a) { + const o = this._engine.statesByElement.get(t); + if (o) { + const i = []; + if ( + (Object.keys(o).forEach(e => { + if (this._triggers[e]) { + const n = this.trigger(t, e, MC, a); + n && i.push(n); + } + }), + i.length) + ) + return ( + this._engine.markElementAsRemoved(this.id, t, !0, e), + n && Db(i).onDone(() => this._engine.processLeaveNode(t)), + !0 + ); + } + return !1; + } + prepareLeaveAnimationListeners(t) { + const e = this._elementListeners.get(t); + if (e) { + const n = new Set(); + e.forEach(e => { + const a = e.name; + if (n.has(a)) return; + n.add(a); + const o = this._triggers[a].fallbackTransition, + i = this._engine.statesByElement.get(t)[a] || yC, + r = new OC(MC), + l = new kC(this.id, a, t); + this._engine.totalQueuedPlayers++, + this._queue.push({ + element: t, + triggerName: a, + transition: o, + fromState: i, + toState: r, + player: l, + isFallbackTransition: !0 + }); + }); + } + } + removeNode(t, e) { + const n = this._engine; + if ( + (t.childElementCount && + this._signalRemovalForInnerTriggers(t, e, !0), + this.triggerLeaveAnimation(t, e, !0)) + ) + return; + let a = !1; + if (n.totalAnimations) { + const e = n.players.length ? n.playersByQueriedElement.get(t) : []; + if (e && e.length) a = !0; + else { + let e = t; + for (; (e = e.parentNode); ) + if (n.statesByElement.get(e)) { + a = !0; + break; + } + } + } + this.prepareLeaveAnimationListeners(t), + a + ? n.markElementAsRemoved(this.id, t, !1, e) + : (n.afterFlush(() => this.clearElementCache(t)), + n.destroyInnerAnimations(t), + n._onRemovalComplete(t, e)); + } + insertNode(t, e) { + TC(t, this._hostClassName); + } + drainQueuedTransitions(t) { + const e = []; + return ( + this._queue.forEach(n => { + const a = n.player; + if (a.destroyed) return; + const o = n.element, + i = this._elementListeners.get(o); + i && + i.forEach(e => { + if (e.name == n.triggerName) { + const a = Fb( + o, + n.triggerName, + n.fromState.value, + n.toState.value + ); + (a._data = t), zb(n.player, e.phase, a, e.callback); + } + }), + a.markedForDestroy + ? this._engine.afterFlush(() => { + a.destroy(); + }) + : e.push(n); + }), + (this._queue = []), + e.sort((t, e) => { + const n = t.transition.ast.depCount, + a = e.transition.ast.depCount; + return 0 == n || 0 == a + ? n - a + : 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), + !!this._queue.find(e => e.element === t) || e + ); + } + } + class xC { + 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 vC(t, e, this); + return ( + e.parentNode + ? 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 a = !1; + for (let o = n; o >= 0; o--) + if ( + this.driver.containsElement( + this._namespaceList[o].hostElement, + e + ) + ) { + this._namespaceList.splice(o + 1, 0, t), (a = !0); + break; + } + a || 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 a = this._namespaceLookup[t]; + a && a.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 a = 0; a < t.length; a++) { + const o = n[t[a]].namespaceId; + if (o) { + const t = this._fetchNamespace(o); + t && e.add(t); + } + } + } + return e; + } + trigger(t, e, n, a) { + if (wC(e)) { + const o = this._fetchNamespace(t); + if (o) return o.trigger(e, n, a), !0; + } + return !1; + } + insertNode(t, e, n, a) { + if (!wC(e)) return; + const o = e[PC]; + if (o && o.setForRemoval) { + (o.setForRemoval = !1), (o.setForMove = !0); + const t = this.collectedLeaveElements.indexOf(e); + t >= 0 && this.collectedLeaveElements.splice(t, 1); + } + if (t) { + const a = this._fetchNamespace(t); + a && a.insertNode(e, n); + } + a && this.collectEnterElement(e); + } + collectEnterElement(t) { + this.collectedEnterElements.push(t); + } + markElementAsDisabled(t, e) { + e + ? this.disabledNodes.has(t) || + (this.disabledNodes.add(t), TC(t, hC)) + : this.disabledNodes.has(t) && + (this.disabledNodes.delete(t), RC(t, hC)); + } + removeNode(t, e, n, a) { + if (wC(e)) { + const o = t ? this._fetchNamespace(t) : null; + if ( + (o ? o.removeNode(e, a) : this.markElementAsRemoved(t, e, !1, a), + n) + ) { + const n = this.namespacesByHostElement.get(e); + n && n.id !== t && n.removeNode(e, a); + } + } else this._onRemovalComplete(e, a); + } + markElementAsRemoved(t, e, n, a) { + this.collectedLeaveElements.push(e), + (e[PC] = { + namespaceId: t, + setForRemoval: a, + hasAnimation: n, + removedBeforeQueried: !1 + }); + } + listen(t, e, n, a, o) { + return wC(e) ? this._fetchNamespace(t).listen(e, n, a, o) : () => {}; + } + _buildInstruction(t, e, n, a, o) { + return t.transition.build( + this.driver, + t.element, + t.fromState.value, + t.toState.value, + n, + a, + t.fromState.options, + t.toState.options, + e, + o + ); + } + destroyInnerAnimations(t) { + let e = this.driver.query(t, i_, !0); + e.forEach(t => this.destroyActiveAnimationsForElement(t)), + 0 != this.playersByQueriedElement.size && + (e = this.driver.query(t, l_, !0)).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 Db(this.players).onDone(() => t()); + t(); + }); + } + processLeaveNode(t) { + const e = t[PC]; + if (e && e.setForRemoval) { + if (((t[PC] = _C), e.namespaceId)) { + this.destroyInnerAnimations(t); + const n = this._fetchNamespace(e.namespaceId); + n && n.clearElementCache(t); + } + this._onRemovalComplete(t, e.setForRemoval); + } + this.driver.matchesElement(t, gC) && + this.markElementAsDisabled(t, !1), + this.driver.query(t, gC, !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; n < this.collectedEnterElements.length; n++) + TC(this.collectedEnterElements[n], pC); + if ( + this._namespaceList.length && + (this.totalQueuedPlayers || this.collectedLeaveElements.length) + ) { + const n = []; + try { + e = this._flushAnimations(n, t); + } finally { + for (let t = 0; t < n.length; t++) n[t](); + } + } else + for (let n = 0; n < this.collectedLeaveElements.length; n++) + this.processLeaveNode(this.collectedLeaveElements[n]); + if ( + ((this.totalQueuedPlayers = 0), + (this.collectedEnterElements.length = 0), + (this.collectedLeaveElements.length = 0), + this._flushFns.forEach(t => t()), + (this._flushFns = []), + this._whenQuietFns.length) + ) { + const t = this._whenQuietFns; + (this._whenQuietFns = []), + e.length + ? Db(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 U_(), + a = [], + o = new Map(), + i = [], + r = new Map(), + l = new Map(), + s = new Map(), + c = new Set(); + this.disabledNodes.forEach(t => { + c.add(t); + const e = this.driver.query(t, mC, !0); + for (let n = 0; n < e.length; n++) c.add(e[n]); + }); + const d = this.bodyNode, + u = Array.from(this.statesByElement.keys()), + m = IC(u, this.collectedEnterElements), + h = new Map(); + let g = 0; + m.forEach((t, e) => { + const n = n_ + g++; + h.set(e, n), t.forEach(t => TC(t, n)); + }); + const p = [], + f = new Set(), + b = new Set(); + for (let I = 0; I < this.collectedLeaveElements.length; I++) { + const t = this.collectedLeaveElements[I], + e = t[PC]; + e && + e.setForRemoval && + (p.push(t), + f.add(t), + e.hasAnimation + ? this.driver.query(t, fC, !0).forEach(t => f.add(t)) + : b.add(t)); + } + const _ = new Map(), + C = IC(u, Array.from(f)); + C.forEach((t, e) => { + const n = a_ + g++; + _.set(e, n), t.forEach(t => TC(t, n)); + }), + t.push(() => { + m.forEach((t, e) => { + const n = h.get(e); + t.forEach(t => RC(t, n)); + }), + C.forEach((t, e) => { + const n = _.get(e); + t.forEach(t => RC(t, n)); + }), + p.forEach(t => { + this.processLeaveNode(t); + }); + }); + const P = [], + O = []; + for (let I = this._namespaceList.length - 1; I >= 0; I--) + this._namespaceList[I].drainQueuedTransitions(e).forEach(t => { + const e = t.player, + o = t.element; + if ((P.push(e), this.collectedEnterElements.length)) { + const t = o[PC]; + if (t && t.setForMove) return void e.destroy(); + } + const c = !d || !this.driver.containsElement(d, o), + u = _.get(o), + m = h.get(o), + g = this._buildInstruction(t, n, m, u, c); + if (!g.errors || !g.errors.length) + return c + ? (e.onStart(() => f_(o, g.fromStyles)), + e.onDestroy(() => p_(o, g.toStyles)), + void a.push(e)) + : t.isFallbackTransition + ? (e.onStart(() => f_(o, g.fromStyles)), + e.onDestroy(() => p_(o, g.toStyles)), + void a.push(e)) + : (g.timelines.forEach(t => (t.stretchStartingKeyframe = !0)), + n.append(o, g.timelines), + i.push({ instruction: g, player: e, element: o }), + g.queriedElements.forEach(t => Bb(r, t, []).push(e)), + g.preStyleProps.forEach((t, e) => { + const n = Object.keys(t); + if (n.length) { + let t = l.get(e); + t || l.set(e, (t = new Set())), + n.forEach(e => t.add(e)); + } + }), + void g.postStyleProps.forEach((t, e) => { + const n = Object.keys(t); + let a = s.get(e); + a || s.set(e, (a = new Set())), n.forEach(t => a.add(t)); + })); + O.push(g); + }); + if (O.length) { + const t = []; + O.forEach(e => { + t.push(`@${e.triggerName} has failed due to:\n`), + e.errors.forEach(e => t.push(`- ${e}\n`)); + }), + P.forEach(t => t.destroy()), + this.reportError(t); + } + const M = new Map(), + y = new Map(); + i.forEach(t => { + const e = t.element; + n.has(e) && + (y.set(e, e), + this._beforeAnimationBuild( + t.player.namespaceId, + t.instruction, + M + )); + }), + a.forEach(t => { + const e = t.element; + this._getPreviousPlayers( + e, + !1, + t.namespaceId, + t.triggerName, + null + ).forEach(t => { + Bb(M, e, []).push(t), t.destroy(); + }); + }); + const v = p.filter(t => NC(t, l, s)), + x = new Map(); + EC(x, this.driver, b, s, kb).forEach(t => { + NC(t, l, s) && v.push(t); + }); + const k = new Map(); + m.forEach((t, e) => { + EC(k, this.driver, new Set(t), l, Tb); + }), + v.forEach(t => { + const e = x.get(t), + n = k.get(t); + x.set(t, Object.assign({}, e, n)); + }); + const w = [], + S = [], + E = {}; + i.forEach(t => { + const { element: e, player: i, instruction: r } = t; + if (n.has(e)) { + if (c.has(e)) + return ( + i.onDestroy(() => p_(e, r.toStyles)), + (i.disabled = !0), + i.overrideTotalTime(r.totalTime), + void a.push(i) + ); + let t = E; + if (y.size > 1) { + let n = e; + const a = []; + for (; (n = n.parentNode); ) { + const e = y.get(n); + if (e) { + t = e; + break; + } + a.push(n); + } + a.forEach(e => y.set(e, t)); + } + const n = this._buildAnimation(i.namespaceId, r, M, o, k, x); + if ((i.setRealPlayer(n), t === E)) w.push(i); + else { + const e = this.playersByElement.get(t); + e && e.length && (i.parentPlayer = Db(e)), a.push(i); + } + } else + f_(e, r.fromStyles), + i.onDestroy(() => p_(e, r.toStyles)), + S.push(i), + c.has(e) && a.push(i); + }), + S.forEach(t => { + const e = o.get(t.element); + if (e && e.length) { + const n = Db(e); + t.setRealPlayer(n); + } + }), + a.forEach(t => { + t.parentPlayer ? t.syncPlayerEvents(t.parentPlayer) : t.destroy(); + }); + for (let I = 0; I < p.length; I++) { + const t = p[I], + e = t[PC]; + if ((RC(t, a_), e && e.hasAnimation)) continue; + let n = []; + if (r.size) { + let e = r.get(t); + e && e.length && n.push(...e); + let a = this.driver.query(t, l_, !0); + for (let t = 0; t < a.length; t++) { + let e = r.get(a[t]); + e && e.length && n.push(...e); + } + } + const a = n.filter(t => !t.destroyed); + a.length ? DC(this, t, a) : this.processLeaveNode(t); + } + return ( + (p.length = 0), + w.forEach(t => { + this.players.push(t), + t.onDone(() => { + t.destroy(); + const e = this.players.indexOf(t); + this.players.splice(e, 1); + }), + t.play(); + }), + w + ); + } + elementContainsData(t, e) { + let n = !1; + const a = e[PC]; + return ( + a && a.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, a, o) { + let i = []; + if (e) { + const e = this.playersByQueriedElement.get(t); + e && (i = e); + } else { + const e = this.playersByElement.get(t); + if (e) { + const t = !o || o == MC; + e.forEach(e => { + e.queued || ((t || e.triggerName == a) && i.push(e)); + }); + } + } + return ( + (n || a) && + (i = i.filter( + t => !((n && n != t.namespaceId) || (a && a != t.triggerName)) + )), + i + ); + } + _beforeAnimationBuild(t, e, n) { + const a = e.element, + o = e.isRemovalTransition ? void 0 : t, + i = e.isRemovalTransition ? void 0 : e.triggerName; + for (const r of e.timelines) { + const t = r.element, + l = t !== a, + s = Bb(n, t, []); + this._getPreviousPlayers(t, l, o, i, e.toState).forEach(t => { + const e = t.getRealPlayer(); + e.beforeDestroy && e.beforeDestroy(), t.destroy(), s.push(t); + }); + } + f_(a, e.fromStyles); + } + _buildAnimation(t, e, n, a, o, i) { + const r = e.triggerName, + l = e.element, + s = [], + c = new Set(), + d = new Set(), + u = e.timelines.map(e => { + const u = e.element; + c.add(u); + const m = u[PC]; + if (m && m.removedBeforeQueried) + return new Ib(e.duration, e.delay); + const h = u !== l, + g = (function(t) { + const e = []; + return ( + (function t(e, n) { + for (let a = 0; a < e.length; a++) { + const o = e[a]; + o instanceof Ab ? t(o.players, n) : n.push(o); + } + })((n.get(u) || bC).map(t => t.getRealPlayer()), e), + e + ); + })().filter(t => !!t.element && t.element === u), + p = o.get(u), + f = i.get(u), + b = Nb(0, this._normalizer, 0, e.keyframes, p, f), + _ = this._buildPlayer(e, b, g); + if ((e.subTimeline && a && d.add(u), h)) { + const e = new kC(t, r, u); + e.setRealPlayer(_), s.push(e); + } + return _; + }); + s.forEach(t => { + Bb(this.playersByQueriedElement, t.element, []).push(t), + t.onDone(() => + (function(t, e, n) { + let a; + if (t instanceof Map) { + if ((a = t.get(e))) { + if (a.length) { + const t = a.indexOf(n); + a.splice(t, 1); + } + 0 == a.length && t.delete(e); + } + } else if ((a = t[e])) { + if (a.length) { + const t = a.indexOf(n); + a.splice(t, 1); + } + 0 == a.length && delete t[e]; + } + return a; + })(this.playersByQueriedElement, t.element, t) + ); + }), + c.forEach(t => TC(t, r_)); + const m = Db(u); + return ( + m.onDestroy(() => { + c.forEach(t => RC(t, r_)), p_(l, e.toStyles); + }), + d.forEach(t => { + Bb(a, 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 Ib(t.duration, t.delay); + } + } + class kC { + constructor(t, e, n) { + (this.namespaceId = t), + (this.triggerName = e), + (this.element = n), + (this._player = new Ib()), + (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 => zb(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) { + Bb(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 wC(t) { + return t && 1 === t.nodeType; + } + function SC(t, e) { + const n = t.style.display; + return (t.style.display = null != e ? e : "none"), n; + } + function EC(t, e, n, a, o) { + const i = []; + n.forEach(t => i.push(SC(t))); + const r = []; + a.forEach((n, a) => { + const i = {}; + n.forEach(t => { + const n = (i[t] = e.computeStyle(a, t, o)); + (n && 0 != n.length) || ((a[PC] = CC), r.push(a)); + }), + t.set(a, i); + }); + let l = 0; + return n.forEach(t => SC(t, i[l++])), r; + } + function IC(t, e) { + const n = new Map(); + if ((t.forEach(t => n.set(t, [])), 0 == e.length)) return n; + const a = new Set(e), + o = new Map(); + return ( + e.forEach(t => { + const e = (function t(e) { + if (!e) return 1; + let i = o.get(e); + if (i) return i; + const r = e.parentNode; + return (i = n.has(r) ? r : a.has(r) ? 1 : t(r)), o.set(e, i), i; + })(t); + 1 !== e && n.get(e).push(t); + }), + n + ); + } + const AC = "$$classes"; + function TC(t, e) { + if (t.classList) t.classList.add(e); + else { + let n = t[AC]; + n || (n = t[AC] = {}), (n[e] = !0); + } + } + function RC(t, e) { + if (t.classList) t.classList.remove(e); + else { + let n = t[AC]; + n && delete n[e]; + } + } + function DC(t, e, n) { + Db(n).onDone(() => t.processLeaveNode(e)); + } + function NC(t, e, n) { + const a = n.get(t); + if (!a) return !1; + let o = e.get(t); + return o ? a.forEach(t => o.add(t)) : e.set(t, a), n.delete(t), !0; + } + class zC { + constructor(t, e, n) { + (this.bodyNode = t), + (this._driver = e), + (this._triggerCache = {}), + (this.onRemovalComplete = (t, e) => {}), + (this._transitionEngine = new xC(t, e, n)), + (this._timelineEngine = new dC(t, e, n)), + (this._transitionEngine.onRemovalComplete = (t, e) => + this.onRemovalComplete(t, e)); + } + registerTrigger(t, e, n, a, o) { + const i = t + "-" + a; + let r = this._triggerCache[i]; + if (!r) { + const t = [], + e = N_(this._driver, o, t); + if (t.length) + throw new Error( + `The animation trigger "${a}" has failed to build due to the following errors:\n - ${t.join( + "\n - " + )}` + ); + (r = (function(t, e) { + return new lC(t, e); + })(a, e)), + (this._triggerCache[i] = r); + } + this._transitionEngine.registerTrigger(e, a, r); + } + register(t, e) { + this._transitionEngine.register(t, e); + } + destroy(t, e) { + this._transitionEngine.destroy(t, e); + } + onInsert(t, e, n, a) { + this._transitionEngine.insertNode(t, e, n, a); + } + onRemove(t, e, n, a) { + this._transitionEngine.removeNode(t, e, a || !1, n); + } + disableAnimations(t, e) { + this._transitionEngine.markElementAsDisabled(t, e); + } + process(t, e, n, a) { + if ("@" == n.charAt(0)) { + const [t, o] = Vb(n); + this._timelineEngine.command(t, e, o, a); + } else this._transitionEngine.trigger(t, e, n, a); + } + listen(t, e, n, a, o) { + if ("@" == n.charAt(0)) { + const [t, a] = Vb(n); + return this._timelineEngine.listen(t, e, a, o); + } + return this._transitionEngine.listen(t, e, n, a, o); + } + flush(t = -1) { + this._transitionEngine.flush(t); + } + get players() { + return this._transitionEngine.players.concat( + this._timelineEngine.players + ); + } + whenRenderingDone() { + return this._transitionEngine.whenRenderingDone(); + } + } + function LC(t, e) { + let n = null, + a = null; + return ( + Array.isArray(e) && e.length + ? ((n = BC(e[0])), e.length > 1 && (a = BC(e[e.length - 1]))) + : e && (n = BC(e)), + n || a ? new FC(t, n, a) : null + ); + } + const FC = (() => { + class t { + constructor(e, n, a) { + (this._element = e), + (this._startStyles = n), + (this._endStyles = a), + (this._state = 0); + let o = t.initialStylesByElement.get(e); + o || t.initialStylesByElement.set(e, (o = {})), + (this._initialStyles = o); + } + start() { + this._state < 1 && + (this._startStyles && + p_(this._element, this._startStyles, this._initialStyles), + (this._state = 1)); + } + finish() { + this.start(), + this._state < 2 && + (p_(this._element, this._initialStyles), + this._endStyles && + (p_(this._element, this._endStyles), + (this._endStyles = null)), + (this._state = 1)); + } + destroy() { + this.finish(), + this._state < 3 && + (t.initialStylesByElement.delete(this._element), + this._startStyles && + (f_(this._element, this._startStyles), + (this._endStyles = null)), + this._endStyles && + (f_(this._element, this._endStyles), + (this._endStyles = null)), + p_(this._element, this._initialStyles), + (this._state = 3)); + } + } + return (t.initialStylesByElement = new WeakMap()), t; + })(); + function BC(t) { + let e = null; + const n = Object.keys(t); + for (let a = 0; a < n.length; a++) { + const o = n[a]; + VC(o) && ((e = e || {})[o] = t[o]); + } + return e; + } + function VC(t) { + return "display" === t || "position" === t; + } + const HC = 3, + jC = "animation", + UC = "animationend", + qC = 1e3; + class KC { + constructor(t, e, n, a, o, i, r) { + (this._element = t), + (this._name = e), + (this._duration = n), + (this._delay = a), + (this._easing = o), + (this._fillMode = i), + (this._onDoneFn = r), + (this._finished = !1), + (this._destroyed = !1), + (this._startTime = 0), + (this._position = 0), + (this._eventFn = t => this._handleCallback(t)); + } + apply() { + !(function(t, e) { + const n = QC(t, "").trim(); + n.length && + ((function(t, e) { + let n = 0; + for (let a = 0; a < t.length; a++) "," === t.charAt(a) && n++; + })(n), + (e = `${n}, ${e}`)), + ZC(t, "", e); + })( + this._element, + `${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}` + ), + $C(this._element, this._eventFn, !1), + (this._startTime = Date.now()); + } + pause() { + YC(this._element, this._name, "paused"); + } + resume() { + YC(this._element, this._name, "running"); + } + setPosition(t) { + const e = WC(this._element, this._name); + (this._position = t * this._duration), + ZC(this._element, "Delay", `-${this._position}ms`, e); + } + getPosition() { + return this._position; + } + _handleCallback(t) { + const e = t._ngTestManualTimestamp || Date.now(), + n = parseFloat(t.elapsedTime.toFixed(HC)) * qC; + t.animationName == this._name && + Math.max(e - this._startTime, 0) >= this._delay && + n >= this._duration && + this.finish(); + } + finish() { + this._finished || + ((this._finished = !0), + this._onDoneFn(), + $C(this._element, this._eventFn, !0)); + } + destroy() { + this._destroyed || + ((this._destroyed = !0), + this.finish(), + (function(t, e) { + const n = QC(t, "").split(","), + a = GC(n, e); + a >= 0 && (n.splice(a, 1), ZC(t, "", n.join(","))); + })(this._element, this._name)); + } + } + function YC(t, e, n) { + ZC(t, "PlayState", n, WC(t, e)); + } + function WC(t, e) { + const n = QC(t, ""); + return n.indexOf(",") > 0 ? GC(n.split(","), e) : GC([n], e); + } + function GC(t, e) { + for (let n = 0; n < t.length; n++) if (t[n].indexOf(e) >= 0) return n; + return -1; + } + function $C(t, e, n) { + n ? t.removeEventListener(UC, e) : t.addEventListener(UC, e); + } + function ZC(t, e, n, a) { + const o = jC + e; + if (null != a) { + const e = t.style[o]; + if (e.length) { + const t = e.split(","); + (t[a] = n), (n = t.join(",")); + } + } + t.style[o] = n; + } + function QC(t, e) { + return t.style[jC + e]; + } + const XC = "forwards", + JC = "linear"; + class tP { + constructor(t, e, n, a, o, i, r, l) { + (this.element = t), + (this.keyframes = e), + (this.animationName = n), + (this._duration = a), + (this._delay = o), + (this._finalStyles = r), + (this._specialStyles = l), + (this._onDoneFns = []), + (this._onStartFns = []), + (this._onDestroyFns = []), + (this._started = !1), + (this.currentSnapshot = {}), + (this._state = 0), + (this.easing = i || JC), + (this.totalTime = a + o), + 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._styler.destroy(), this._buildStyler(), this._styler.apply(); + } + _buildStyler() { + this._styler = new KC( + this.element, + this.animationName, + this._duration, + this._delay, + this.easing, + XC, + () => 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] : w_(this.element, n)); + }); + } + this.currentSnapshot = t; + } + } + class eP extends Ib { + constructor(t, e) { + super(), + (this.element = t), + (this._startingStyles = {}), + (this.__initialized = !1), + (this._styles = Qb(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()); + } + } + const nP = "gen_css_kf_", + aP = " "; + class oP { + constructor() { + (this._count = 0), + (this._head = document.querySelector("head")), + (this._warningIssued = !1); + } + validateStyleProperty(t) { + return Wb(t); + } + matchesElement(t, e) { + return Gb(t, e); + } + containsElement(t, e) { + return $b(t, e); + } + query(t, e, n) { + return Zb(t, e, n); + } + computeStyle(t, e, n) { + return window.getComputedStyle(t)[e]; + } + buildKeyframeElement(t, e, n) { + n = n.map(t => Qb(t)); + let a = `@keyframes ${e} {\n`, + o = ""; + n.forEach(t => { + o = aP; + const e = parseFloat(t.offset); + (a += `${o}${100 * e}% {\n`), + (o += aP), + Object.keys(t).forEach(e => { + const n = t[e]; + switch (e) { + case "offset": + return; + case "easing": + return void ( + n && (a += `${o}animation-timing-function: ${n};\n`) + ); + default: + return void (a += `${o}${e}: ${n};\n`); + } + }), + (a += `${o}}\n`); + }), + (a += "}\n"); + const i = document.createElement("style"); + return (i.innerHTML = a), i; + } + animate(t, e, n, a, o, i = [], r) { + r && this._notifyFaultyScrubber(); + const l = i.filter(t => t instanceof tP), + s = {}; + v_(n, a) && + l.forEach(t => { + let e = t.currentSnapshot; + Object.keys(e).forEach(t => (s[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 = x_(t, e, s))); + if (0 == n) return new eP(t, c); + const d = `${nP}${this._count++}`, + u = this.buildKeyframeElement(t, d, e); + document.querySelector("head").appendChild(u); + const m = LC(t, e), + h = new tP(t, e, d, n, a, o, c, m); + return ( + h.onDestroy(() => + (function(t) { + u.parentNode.removeChild(u); + })() + ), + h + ); + } + _notifyFaultyScrubber() { + this._warningIssued || + (console.warn( + "@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n", + " visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill." + ), + (this._warningIssued = !0)); + } + } + class iP { + constructor(t, e, n, a) { + (this.element = t), + (this.keyframes = e), + (this.options = n), + (this._specialStyles = a), + (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) { + 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] + : w_(this.element, e)); + }), + (this.currentSnapshot = t); + } + triggerCallback(t) { + const e = "start" == t ? this._onStartFns : this._onDoneFns; + e.forEach(t => t()), (e.length = 0); + } + } + class rP { + constructor() { + (this._isNativeImpl = /\{\s*\[native\s+code\]\s*\}/.test( + lP().toString() + )), + (this._cssKeyframesDriver = new oP()); + } + validateStyleProperty(t) { + return Wb(t); + } + matchesElement(t, e) { + return Gb(t, e); + } + containsElement(t, e) { + return $b(t, e); + } + query(t, e, n) { + return Zb(t, e, n); + } + computeStyle(t, e, n) { + return window.getComputedStyle(t)[e]; + } + overrideWebAnimationsSupport(t) { + this._isNativeImpl = t; + } + animate(t, e, n, a, o, i = [], r) { + if (!r && !this._isNativeImpl) + return this._cssKeyframesDriver.animate(t, e, n, a, o, i); + const l = { + duration: n, + delay: a, + fill: 0 == a ? "both" : "forwards" + }; + o && (l.easing = o); + const s = {}, + c = i.filter(t => t instanceof iP); + v_(n, a) && + c.forEach(t => { + let e = t.currentSnapshot; + Object.keys(e).forEach(t => (s[t] = e[t])); + }); + const d = LC(t, (e = x_(t, (e = e.map(t => m_(t, !1))), s))); + return new iP(t, e, l, d); + } + } + function lP() { + return ( + ("undefined" != typeof window && + void 0 !== window.document && + Element.prototype.animate) || + {} + ); + } + const sP = (() => + class extends vb { + constructor(t, e) { + super(), + (this._nextAnimationId = 0), + (this._renderer = t.createRenderer(e.body, { + id: "0", + encapsulation: Te.None, + styles: [], + data: { animation: [] } + })); + } + build(t) { + const e = this._nextAnimationId.toString(); + this._nextAnimationId++; + const n = Array.isArray(t) ? wb(t) : t; + return ( + uP(this._renderer, null, e, "register", [n]), + new cP(e, this._renderer) + ); + } + })(); + class cP extends xb { + constructor(t, e) { + super(), (this._id = t), (this._renderer = e); + } + create(t, e) { + return new dP(this._id, t, e || {}, this._renderer); + } + } + class dP { + constructor(t, e, n, a) { + (this.id = t), + (this.element = e), + (this._renderer = a), + (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 uP(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"); + } + setPosition(t) { + this._command("setPosition", t); + } + getPosition() { + return 0; + } + } + function uP(t, e, n, a, o) { + return t.setProperty(e, `@@${n}:${a}`, o); + } + const mP = "@", + hP = "@.disabled", + gP = (() => + class { + 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 pP("", n, this.engine)), + this._rendererCache.set(n, t)), + t + ); + } + const a = e.id, + o = e.id + "-" + this._currentId; + return ( + this._currentId++, + this.engine.register(o, t), + e.data.animation.forEach(e => + this.engine.registerTrigger(a, o, t, e.name, e) + ), + new fP(this, o, n, this.engine) + ); + } + begin() { + this._cdRecurDepth++, + this.delegate.begin && this.delegate.begin(); + } + _scheduleCountTask() { + this.promise.then(() => { + this._microtaskId++; + }); + } + scheduleListenerCallback(t, e, n) { + t >= 0 && t < this._microtaskId + ? this._zone.run(() => e(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(); + } + })(); + class pP { + 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) { + this.delegate.insertBefore(t, e, n), + this.engine.onInsert(this.namespaceId, e, t, !0); + } + 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, a) { + this.delegate.setAttribute(t, e, n, a); + } + 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, a) { + this.delegate.setStyle(t, e, n, a); + } + removeStyle(t, e, n) { + this.delegate.removeStyle(t, e, n); + } + setProperty(t, e, n) { + e.charAt(0) == mP && e == hP + ? 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 fP extends pP { + constructor(t, e, n, a) { + super(e, n, a), (this.factory = t), (this.namespaceId = e); + } + setProperty(t, e, n) { + e.charAt(0) == mP + ? "." == e.charAt(1) && e == hP + ? 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) == mP) { + const a = (function(t) { + switch (t) { + case "body": + return document.body; + case "document": + return document; + case "window": + return window; + default: + return t; + } + })(t); + let o = e.substr(1), + i = ""; + return ( + o.charAt(0) != mP && + ([o, i] = (function(t) { + const e = t.indexOf("."); + return [t.substring(0, e), t.substr(e + 1)]; + })(o)), + this.engine.listen(this.namespaceId, a, o, i, t => { + this.factory.scheduleListenerCallback(t._data || -1, n, t); + }) + ); + } + return this.delegate.listen(t, e, n); + } + } + const bP = (() => + class extends zC { + constructor(t, e, n) { + super(t.body, e, n); + } + })(); + function _P() { + return "function" == typeof lP() ? new rP() : new oP(); + } + function CP() { + return new eC(); + } + function PP(t, e, n) { + return new gP(t, e, n); + } + const OP = new Ht("AnimationModuleType"), + MP = (() => class {})(); + var yP = Ia({ + encapsulation: 2, + styles: [ + ".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media (hover:none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-flat-button,.mat-icon-button,.mat-stroked-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-flat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-focus-overlay,.mat-stroked-button .mat-button-ripple.mat-ripple{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button .mat-icon,.mat-icon-button i{line-height:24px}.mat-button-focus-overlay,.mat-button-ripple.mat-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity .2s cubic-bezier(.35,0,.25,1),background-color .2s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}@media (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:#fff}}@media (-ms-high-contrast:black-on-white){.mat-button-focus-overlay{background-color:#000}}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}@media (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}" + ], + data: {} + }); + function vP(t) { + return zr( + 2, + [ + vr(671088640, 1, { ripple: 0 }), + (t()(), + Cr( + 1, + 0, + null, + null, + 1, + "span", + [["class", "mat-button-wrapper"]], + null, + null, + null, + null, + null + )), + Er(null, 0), + (t()(), + Cr( + 3, + 0, + null, + null, + 1, + "div", + [["class", "mat-button-ripple mat-ripple"], ["matRipple", ""]], + [ + [2, "mat-button-ripple-round", null], + [2, "mat-ripple-unbounded", null] + ], + null, + null, + null, + null + )), + Uo( + 4, + 212992, + [[1, 4]], + 0, + qf, + [Ln, Di, Op, [2, Uf], [2, OP]], + { + centered: [0, "centered"], + disabled: [1, "disabled"], + trigger: [2, "trigger"] + }, + null + ), + (t()(), + Cr( + 5, + 0, + null, + null, + 0, + "div", + [["class", "mat-button-focus-overlay"]], + null, + null, + null, + null, + null + )) + ], + function(t, e) { + var n = e.component; + t( + e, + 4, + 0, + n.isIconButton, + n._isRippleDisabled(), + n._getHostElement() + ); + }, + function(t, e) { + var n = e.component; + t(e, 3, 0, n.isRoundButton || n.isIconButton, Io(e, 4).unbounded); + } + ); + } + class xP { + constructor(t) { + (this.elRef = t), + (this.wasClicked = !1), + (this.element = t.nativeElement), + this.element.addEventListener("click", this.onClick.bind(this)), + this.element.addEventListener( + "touchstart", + this.onTouchStart.bind(this) + ); + } + onClick() { + this.wasClicked = !0; + } + onTouchStart(t) { + t.stopPropagation(), + (this.wasClicked = !1), + setTimeout(() => { + this.wasClicked || (this.element.click(), (this.wasClicked = !0)); + }, 300); + } + } + class kP { + constructor(t, e, n) { + (this.beatOnApi = t), (this.msgSvc = e), (this.router = n); + } + ngOnInit() { + this.msgSvc.setupMessage.subscribe(t => { + switch (t.SetupEvent) { + case Cg.Step1Complete: + this.router.navigateByUrl("/setupstep2"); + break; + case Cg.Step2Complete: + this.router.navigateByUrl("/setupstep3"); + break; + case Cg.Step3Complete: + this.router.navigateByUrl("/"); + } + }); + } + } + var wP = Ia({ + encapsulation: 0, + styles: [ + [ + '.mat-badge-content[_ngcontent-%COMP%]{font-weight:600;font-size:12px;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:9px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:24px}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 11.62px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 9.38px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,"Helvetica Neue",sans-serif}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,"Helvetica Neue",sans-serif;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34375em) scale(.75);transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34374em) scale(.75);transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28121em) scale(.75);transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59375em) scale(.75);transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59374em) scale(.75);transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59375em) scale(.75);transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59374em) scale(.75);transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:16px;color:#fff}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif;color:rgba(255,255,255,.7)}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,-webkit-transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1),-webkit-transform 0s cubic-bezier(0,0,.2,1);-webkit-transform:scale(0);transform:scale(0)}@media (-ms-high-contrast:active){.mat-ripple-element[_ngcontent-%COMP%]{display:none}}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-start{}@-webkit-keyframes cdk-text-field-autofill-end{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation-name:cdk-text-field-autofill-start;animation-name:cdk-text-field-autofill-start}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation-name:cdk-text-field-autofill-end;animation-name:cdk-text-field-autofill-end}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{height:auto!important;overflow:hidden!important;padding:2px 0!important;box-sizing:content-box!important}.mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple):not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:focus:not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:hover:not(.mat-option-disabled){background:rgba(255,255,255,.04)}.mat-option.mat-active[_ngcontent-%COMP%]{background:rgba(255,255,255,.04);color:#fff}.mat-option.mat-option-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-primary[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ad2c2c}.mat-accent[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#216bad}.mat-warn[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ff5722}.mat-optgroup-disabled[_ngcontent-%COMP%] .mat-optgroup-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-pseudo-checkbox[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-pseudo-checkbox[_ngcontent-%COMP%]::after{color:#303030}.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{color:#686868}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%], .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#216bad}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ad2c2c}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ff5722}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{background:#686868}.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-app-background[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-theme-loaded-marker[_ngcontent-%COMP%]{display:none}.mat-autocomplete-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-autocomplete-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover){background:#424242}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#fff}@media (-ms-high-contrast:active){.mat-badge-content[_ngcontent-%COMP%]{outline:solid 1px;border-radius:0}.mat-checkbox-disabled[_ngcontent-%COMP%]{opacity:.5}}.mat-badge-accent[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-badge-warn[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ff5722}.mat-badge[_ngcontent-%COMP%]{position:relative}.mat-badge-hidden[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{display:none}.mat-badge-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#6e6e6e;color:rgba(255,255,255,.5)}.mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ad2c2c;position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out;-webkit-transform:scale(.6);transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.mat-badge-content._mat-animation-noopable[_ngcontent-%COMP%], .ng-animate-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{transition:none}.mat-badge-content.mat-badge-active[_ngcontent-%COMP%]{-webkit-transform:none;transform:none}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:16px;height:16px;line-height:16px}.mat-badge-small.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-8px}.mat-badge-small.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-8px}.mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-16px}.mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-8px}.mat-badge-medium[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-11px}.mat-badge-medium.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-11px}.mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-22px}.mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-11px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:28px;height:28px;line-height:28px}.mat-badge-large.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-14px}.mat-badge-large.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-14px}.mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-28px}.mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-14px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{color:inherit;background:0 0}.mat-button.mat-primary[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-button[disabled][disabled][_ngcontent-%COMP%], .mat-icon-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-icon-button[disabled][disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-stroked-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ff5722}.mat-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:transparent}.mat-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{opacity:.1;background-color:currentColor}.mat-button-focus-overlay[_ngcontent-%COMP%]{background:#fff}.mat-stroked-button[_ngcontent-%COMP%]:not([disabled]){border-color:rgba(255,255,255,.12)}.mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%]{color:#fff;background-color:#424242}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{color:#fff}.mat-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-fab[disabled][disabled][_ngcontent-%COMP%], .mat-flat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-flat-button[disabled][disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-mini-fab[disabled][disabled][_ngcontent-%COMP%], .mat-raised-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-raised-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:rgba(255,255,255,.12)}.mat-fab.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-flat-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-stroked-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-raised-button[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-button-toggle-group[_ngcontent-%COMP%], .mat-button-toggle-standalone[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%], .mat-button-toggle-standalone.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{box-shadow:none;border:1px solid rgba(255,255,255,.12)}.mat-button-toggle[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-button-toggle[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff;background:#424242}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:#fff}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12)}[dir=rtl][_ngcontent-%COMP%] .mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:none;border-top:1px solid rgba(255,255,255,.12)}.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#212121;color:rgba(255,255,255,.7)}.mat-button-toggle-checked.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff}.mat-button-toggle-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:#000}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{background:#424242}.mat-button-toggle-disabled.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#424242}.mat-card[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-card[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-card.mat-card-flat[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-card-subtitle[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-checkbox-frame[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-checkbox-checkmark[_ngcontent-%COMP%]{fill:#303030}.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#303030!important}@media (-ms-high-contrast:black-on-white){.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#000!important}}.mat-checkbox-mixedmark[_ngcontent-%COMP%]{background-color:#303030}.mat-checkbox-checked.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-checkbox-checked.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#216bad}.mat-checkbox-checked.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ff5722}.mat-checkbox-disabled.mat-checkbox-checked[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-disabled.mat-checkbox-indeterminate[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%]:not(.mat-checkbox-checked) .mat-checkbox-frame[_ngcontent-%COMP%]{border-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}@media (-ms-high-contrast:active){.mat-checkbox-background[_ngcontent-%COMP%]{background:0 0}}.mat-checkbox[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%]{background:#ad2c2c}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%]{background:#216bad}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%]{background:#ff5722}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]{background-color:#616161;color:#fff}.mat-chip.mat-standard-chip[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled) .mat-chip-remove[_ngcontent-%COMP%]:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled[_ngcontent-%COMP%]{opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]::after{background:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-table[_ngcontent-%COMP%]{background:#424242}.mat-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%], .mat-table-sticky[_ngcontent-%COMP%], [mat-footer-row][_ngcontent-%COMP%], [mat-header-row][_ngcontent-%COMP%], [mat-row][_ngcontent-%COMP%], mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%]{background:inherit}mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%], td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{border-bottom-color:rgba(255,255,255,.12)}.mat-header-cell[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{color:#fff}.mat-calendar-arrow[_ngcontent-%COMP%]{border-top-color:#fff}.mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-next-button[_ngcontent-%COMP%], .mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-previous-button[_ngcontent-%COMP%], .mat-datepicker-toggle[_ngcontent-%COMP%]{color:#fff}.mat-calendar-table-header[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-calendar-table-header-divider[_ngcontent-%COMP%]::after{background:rgba(255,255,255,.12)}.mat-calendar-body-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-calendar-body-cell-content[_ngcontent-%COMP%]{color:#fff;border-color:transparent}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){color:rgba(255,255,255,.5)}.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .cdk-program-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .mat-calendar-body-cell[_ngcontent-%COMP%]:not(.mat-calendar-body-disabled):hover > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){background-color:rgba(255,255,255,.04)}.mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.5)}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.3)}.mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.4)}.mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#424242;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.4)}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.4)}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content-touch[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-datepicker-toggle-active[_ngcontent-%COMP%]{color:#ad2c2c}.mat-datepicker-toggle-active.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-datepicker-toggle-active.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-dialog-container[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-divider[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-divider-vertical[_ngcontent-%COMP%]{border-right-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-expansion-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-action-row[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-keyboard-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-program-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]):hover{background:rgba(255,255,255,.04)}@media (hover:none){.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header[_ngcontent-%COMP%]:hover{background:#424242}}.mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:#fff}.mat-expansion-indicator[_ngcontent-%COMP%]::after, .mat-expansion-panel-header-description[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%], .mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:inherit}.mat-form-field-label[_ngcontent-%COMP%], .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-focused[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#fff}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid) .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ad2c2c}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#216bad}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#ff5722}.mat-error[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.25em;background-color:rgba(255,255,255,.7)}.mat-form-field-appearance-legacy.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7)}.mat-form-field-appearance-standard.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.05)}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:transparent}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#fff}.mat-form-field-appearance-outline.mat-focused[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field-appearance-outline.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-appearance-outline.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.15)}.mat-icon.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-icon.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-icon.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-type-mat-native-select[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:rgba(255,255,255,.7)}.mat-form-field-type-mat-native-select.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-input-element[_ngcontent-%COMP%]:disabled{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]{caret-color:#ad2c2c}.mat-input-element[_ngcontent-%COMP%]::-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-moz-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-webkit-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]{color:rgba(0,0,0,.87)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]:disabled{color:rgba(0,0,0,.38)}.mat-accent[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#216bad}.mat-form-field-invalid[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#ff5722}.mat-form-field-type-mat-native-select.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ff5722}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%], .mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{color:#fff}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500;color:rgba(255,255,255,.7)}.mat-list-item-disabled[_ngcontent-%COMP%]{background-color:#000}.mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover, .mat-list-option[_ngcontent-%COMP%]:focus, .mat-list-option[_ngcontent-%COMP%]:hover, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover{background:rgba(255,255,255,.04)}.mat-menu-panel[_ngcontent-%COMP%]{background:#424242}.mat-menu-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-menu-item[_ngcontent-%COMP%]{background:0 0;color:#fff}.mat-menu-item[disabled][_ngcontent-%COMP%], .mat-menu-item[disabled][_ngcontent-%COMP%]::after{color:rgba(255,255,255,.5)}.mat-menu-item[_ngcontent-%COMP%] .mat-icon-no-color[_ngcontent-%COMP%], .mat-menu-item-submenu-trigger[_ngcontent-%COMP%]::after{color:#fff}.mat-menu-item-highlighted[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-keyboard-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-program-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item[_ngcontent-%COMP%]:hover:not([disabled]){background:rgba(255,255,255,.04)}.mat-paginator[_ngcontent-%COMP%]{background:#424242}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-paginator-decrement[_ngcontent-%COMP%], .mat-paginator-increment[_ngcontent-%COMP%]{border-top:2px solid #fff;border-right:2px solid #fff}.mat-paginator-first[_ngcontent-%COMP%], .mat-paginator-last[_ngcontent-%COMP%]{border-top:2px solid #fff}.mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-decrement[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-first[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-increment[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-last[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-progress-bar-background[_ngcontent-%COMP%]{fill:#e6c0c0}.mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#e6c0c0}.mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ad2c2c}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#216bad}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ff5722}.mat-progress-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ad2c2c}.mat-progress-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#216bad}.mat-progress-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ff5722}.mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ad2c2c}.mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#216bad}.mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#216bad}.mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ff5722}.mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ff5722}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-label-content[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-radio-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-select-value[_ngcontent-%COMP%]{color:#fff}.mat-select-disabled[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%], .mat-select-placeholder[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-select-panel[_ngcontent-%COMP%]{background:#424242}.mat-select-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-select-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple){background:rgba(255,255,255,.12)}.mat-form-field.mat-focused.mat-primary[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#216bad}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-invalid[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-form-field.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-disabled[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-drawer-container[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-drawer[_ngcontent-%COMP%]{background-color:#424242;color:#fff}.mat-drawer.mat-drawer-push[_ngcontent-%COMP%]{background-color:#424242}.mat-drawer[_ngcontent-%COMP%]:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-drawer-side[_ngcontent-%COMP%]{border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%] .mat-drawer-side[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12);border-right:none}[dir=rtl][_ngcontent-%COMP%] .mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-backdrop.mat-drawer-shown[_ngcontent-%COMP%]{background-color:rgba(189,189,189,.6)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.54)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.54)}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.54)}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle[_ngcontent-%COMP%]:not(.mat-checked) .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-slide-toggle-thumb[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#bdbdbd}.mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#216bad}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ff5722}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.2)}.cdk-focused[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%] .mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:#fff}.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing) .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3);background-color:transparent}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-has-ticks[_ngcontent-%COMP%] .mat-slider-wrapper[_ngcontent-%COMP%]::after{border-color:rgba(255,255,255,.7)}.mat-slider-horizontal[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to right,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-slider-vertical[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to bottom,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused[_ngcontent-%COMP%], .mat-step-header.cdk-program-focused[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%]:hover{background-color:rgba(255,255,255,.04)}@media (hover:none){.mat-step-header[_ngcontent-%COMP%]:hover{background:0 0}}.mat-step-header[_ngcontent-%COMP%] .mat-step-label[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-optional[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7);color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-selected[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-edit[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-error[_ngcontent-%COMP%]{background-color:transparent;color:#ff5722}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-active[_ngcontent-%COMP%]{color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-error[_ngcontent-%COMP%]{color:#ff5722}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{background-color:#424242}.mat-stepper-vertical-line[_ngcontent-%COMP%]::before{border-left-color:rgba(255,255,255,.12)}.mat-horizontal-stepper-header[_ngcontent-%COMP%]::after, .mat-horizontal-stepper-header[_ngcontent-%COMP%]::before, .mat-stepper-horizontal-line[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-sort-header-arrow[_ngcontent-%COMP%]{color:#c6c6c6}.mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[_ngcontent-%COMP%]{border-bottom:1px solid rgba(255,255,255,.12)}.mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-nav-bar[_ngcontent-%COMP%]{border-top:1px solid rgba(255,255,255,.12);border-bottom:none}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-tab-group[class*=mat-background-][_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[class*=mat-background-][_ngcontent-%COMP%]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-toolbar[_ngcontent-%COMP%]{background:#212121;color:#fff}.mat-toolbar.mat-primary[_ngcontent-%COMP%]{background:#ad2c2c;color:#fff}.mat-toolbar.mat-accent[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-toolbar.mat-warn[_ngcontent-%COMP%]{background:#ff5722;color:#fff}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:currentColor}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%]{color:inherit}.mat-toolbar[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:currentColor}.mat-tooltip[_ngcontent-%COMP%]{background:rgba(97,97,97,.9)}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;background:#424242}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px;color:#fff}.mat-snack-bar-container[_ngcontent-%COMP%]{color:rgba(0,0,0,.87);background:#fafafa;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-simple-snackbar-action[_ngcontent-%COMP%]{color:inherit}.setup-icon[_ngcontent-%COMP%]{font-size:40px}' + ] + ], + data: {} + }); + function SP(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 37, + "mat-card", + [["class", "setup-card mat-card"]], + null, + null, + null, + $f, + Gf + )), + Uo(1, 49152, null, 0, cp, [], null, null), + (t()(), + Cr( + 2, + 0, + null, + 0, + 12, + "mat-card-header", + [["class", "mat-card-header"]], + null, + null, + null, + Qf, + Zf + )), + Uo(3, 49152, null, 0, dp, [], null, null), + (t()(), + Cr( + 4, + 0, + null, + 0, + 4, + "div", + [["class", "mat-card-avatar"], ["mat-card-avatar", ""]], + null, + null, + null, + null, + null + )), + Uo(5, 16384, null, 0, sp, [], null, null), + (t()(), + Cr( + 6, + 0, + null, + null, + 2, + "mat-icon", + [ + ["aria-hidden", "false"], + ["class", "setup-icon mat-icon notranslate"], + ["role", "img"] + ], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + _b, + bb + )), + Uo( + 7, + 9158656, + null, + 0, + pb, + [Ln, rb, [8, "false"], [2, ub]], + null, + null + ), + (t()(), Rr(-1, 0, ["update"])), + (t()(), + Cr( + 9, + 0, + null, + 1, + 2, + "mat-card-title", + [["class", "mat-card-title"]], + null, + null, + null, + null, + null + )), + Uo(10, 16384, null, 0, ip, [], null, null), + (t()(), Rr(-1, null, ["Setup"])), + (t()(), + Cr( + 12, + 0, + null, + 1, + 2, + "mat-card-subtitle", + [["class", "mat-card-subtitle"]], + null, + null, + null, + null, + null + )), + Uo(13, 16384, null, 0, rp, [], null, null), + (t()(), Rr(-1, null, ["Introduction"])), + (t()(), + Cr( + 15, + 0, + null, + 0, + 12, + "mat-card-content", + [["class", "mat-card-content"]], + null, + null, + null, + null, + null + )), + Uo(16, 16384, null, 0, op, [], null, null), + (t()(), + Cr(17, 0, null, null, 1, "h4", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["Welcome to Beat On!"])), + (t()(), + Cr(19, 0, null, null, 1, "p", [], null, null, null, null, null)), + (t()(), + Rr(-1, null, [ + "Beat On will modify and reinstall your copy of Beat Saber so that it can support custom songs and some additional modifications. After the modifications to Beat Saber during the setup process, Beat On will allow you to download songs on the Quest from this app, upload songs from your computer, manage custom playlists from the Quest or your computer's browser and install some types of other modifications." + ])), + (t()(), + Cr(21, 0, null, null, 1, "h4", [], null, null, null, null, null)), + (t()(), + Rr(-1, null, [ + "This version of Beat On is intended for Beat Saber version 1.1.0!" + ])), + (t()(), + Cr(23, 0, null, null, 1, "p", [], null, null, null, null, null)), + (t()(), + Rr(-1, null, [ + "It is remotely possible that it may work with future versions of Beat Saber without modification, however it is highly likely that if a new version of Beat Saber has been released, this will result in a Beat Saber that doesn't work and you will need to wait for an update to Beat On." + ])), + (t()(), + Cr(25, 0, null, null, 0, "br", [], null, null, null, null, null)), + (t()(), + Cr( + 26, + 0, + null, + null, + 1, + "p", + [["style", "color: orangered"]], + null, + null, + null, + null, + null + )), + (t()(), + Rr(-1, null, [ + "If at any point you have problems with Beat Saber or Beat On, uninstalling Beat Saber (either through Beat On or another tool like adb) and reinstalling Beat Saber from the Oculus Store will revert Beat Saber back to normal." + ])), + (t()(), + Cr( + 28, + 0, + null, + 0, + 9, + "mat-card-actions", + [["class", "mat-card-actions"]], + [[2, "mat-card-actions-align-end", null]], + null, + null, + null, + null + )), + Uo(29, 16384, null, 0, lp, [], null, null), + (t()(), + Cr( + 30, + 0, + null, + null, + 7, + "button", + [ + ["color", "accent"], + ["fast-click", ""], + ["mat-raised-button", ""], + ["routerLink", "/setupstep1"], + ["routerLinkActive", "active"] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && (a = !1 !== Io(t, 31).onClick() && a), a + ); + }, + vP, + yP + )), + Uo( + 31, + 16384, + [[1, 4]], + 0, + Uh, + [jh, Am, [8, null], jn, Ln], + { routerLink: [0, "routerLink"] }, + null + ), + Uo( + 32, + 1720320, + null, + 2, + Yh, + [jh, Ln, jn, [2, Uh], [2, qh]], + { routerLinkActive: [0, "routerLinkActive"] }, + null + ), + vr(603979776, 1, { links: 1 }), + vr(603979776, 2, { linksWithHrefs: 1 }), + Uo( + 35, + 180224, + null, + 0, + Mb, + [Ln, _f, [2, OP]], + { color: [0, "color"] }, + null + ), + Uo(36, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, 0, ["Continue"])) + ], + function(t, e) { + t(e, 7, 0), + t(e, 31, 0, "/setupstep1"), + t(e, 32, 0, "active"), + t(e, 35, 0, "accent"); + }, + function(t, e) { + t( + e, + 6, + 0, + Io(e, 7).inline, + "primary" !== Io(e, 7).color && + "accent" !== Io(e, 7).color && + "warn" !== Io(e, 7).color + ), + t(e, 28, 0, "end" === Io(e, 29).align), + t( + e, + 30, + 0, + Io(e, 35).disabled || null, + "NoopAnimations" === Io(e, 35)._animationMode + ); + } + ); + } + function EP(t) { + return zr( + 0, + [ + (t()(), + Cr(0, 0, null, null, 1, "app-setup", [], null, null, null, SP, wP)), + Uo(1, 114688, null, 0, kP, [vc, bg, jh], null, null) + ], + function(t, e) { + t(e, 1, 0); + }, + null + ); + } + var IP = Co("app-setup", kP, EP, {}, {}, []); + class AP { + constructor(t, e) { + (this.beatOnApi = t), (this.dialog = e); + } + ngOnInit() {} + clickBegin() { + const t = this.dialog.open(Bg, { + width: "450px", + height: "350px", + disableClose: !0, + data: { mainText: "Please wait..." } + }); + this.beatOnApi.installModStep1().subscribe(e => { + t.close(); + }); + } + } + function TP() { + throw Error("Host already has a portal attached"); + } + class RP { + attach(t) { + return ( + null == t && + (function() { + throw Error( + "Attempting to attach a portal to a null PortalOutlet" + ); + })(), + t.hasAttached() && TP(), + (this._attachedHost = t), + t.attach(this) + ); + } + detach() { + let t = this._attachedHost; + null == t + ? (function() { + throw Error( + "Attempting to detach a portal that is not attached to a host" + ); + })() + : ((this._attachedHost = null), t.detach()); + } + get isAttached() { + return null != this._attachedHost; + } + setAttachedHost(t) { + this._attachedHost = t; + } + } + class DP extends RP { + constructor(t, e, n, a) { + super(), + (this.component = t), + (this.viewContainerRef = e), + (this.injector = n), + (this.componentFactoryResolver = a); + } + } + class NP extends RP { + constructor(t, e, n) { + super(), + (this.templateRef = t), + (this.viewContainerRef = e), + (this.context = n); + } + get origin() { + return this.templateRef.elementRef; + } + attach(t, e = this.context) { + return (this.context = e), super.attach(t); + } + detach() { + return (this.context = void 0), super.detach(); + } + } + class zP { + constructor() { + this._isDisposed = !1; + } + hasAttached() { + return !!this._attachedPortal; + } + attach(t) { + return ( + t || + (function() { + throw Error("Must provide a portal to attach"); + })(), + this.hasAttached() && TP(), + this._isDisposed && + (function() { + throw Error("This PortalOutlet has already been disposed"); + })(), + t instanceof DP + ? ((this._attachedPortal = t), this.attachComponentPortal(t)) + : t instanceof NP + ? ((this._attachedPortal = t), this.attachTemplatePortal(t)) + : void (function() { + throw Error( + "Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal." + ); + })() + ); + } + detach() { + this._attachedPortal && + (this._attachedPortal.setAttachedHost(null), + (this._attachedPortal = null)), + this._invokeDisposeFn(); + } + dispose() { + this.hasAttached() && this.detach(), + this._invokeDisposeFn(), + (this._isDisposed = !0); + } + setDisposeFn(t) { + this._disposeFn = t; + } + _invokeDisposeFn() { + this._disposeFn && (this._disposeFn(), (this._disposeFn = null)); + } + } + class LP extends zP { + constructor(t, e, n, a) { + super(), + (this.outletElement = t), + (this._componentFactoryResolver = e), + (this._appRef = n), + (this._defaultInjector = a); + } + attachComponentPortal(t) { + const e = ( + t.componentFactoryResolver || this._componentFactoryResolver + ).resolveComponentFactory(t.component); + let n; + return ( + t.viewContainerRef + ? ((n = t.viewContainerRef.createComponent( + e, + t.viewContainerRef.length, + t.injector || t.viewContainerRef.injector + )), + this.setDisposeFn(() => n.destroy())) + : ((n = e.create(t.injector || this._defaultInjector)), + this._appRef.attachView(n.hostView), + this.setDisposeFn(() => { + this._appRef.detachView(n.hostView), n.destroy(); + })), + this.outletElement.appendChild(this._getComponentRootNode(n)), + n + ); + } + attachTemplatePortal(t) { + let e = t.viewContainerRef, + n = e.createEmbeddedView(t.templateRef, t.context); + return ( + n.detectChanges(), + n.rootNodes.forEach(t => this.outletElement.appendChild(t)), + this.setDisposeFn(() => { + let t = e.indexOf(n); + -1 !== t && e.remove(t); + }), + n + ); + } + dispose() { + super.dispose(), + null != this.outletElement.parentNode && + this.outletElement.parentNode.removeChild(this.outletElement); + } + _getComponentRootNode(t) { + return t.hostView.rootNodes[0]; + } + } + const FP = (() => + class extends zP { + constructor(t, e) { + super(), + (this._componentFactoryResolver = t), + (this._viewContainerRef = e), + (this._isInitialized = !1), + (this.attached = new li()); + } + get portal() { + return this._attachedPortal; + } + set portal(t) { + (!this.hasAttached() || t || this._isInitialized) && + (this.hasAttached() && super.detach(), + t && super.attach(t), + (this._attachedPortal = t)); + } + get attachedRef() { + return this._attachedRef; + } + ngOnInit() { + this._isInitialized = !0; + } + ngOnDestroy() { + super.dispose(), + (this._attachedPortal = null), + (this._attachedRef = null); + } + attachComponentPortal(t) { + t.setAttachedHost(this); + const e = + null != t.viewContainerRef + ? t.viewContainerRef + : this._viewContainerRef, + n = ( + t.componentFactoryResolver || this._componentFactoryResolver + ).resolveComponentFactory(t.component), + a = e.createComponent(n, e.length, t.injector || e.injector); + return ( + super.setDisposeFn(() => a.destroy()), + (this._attachedPortal = t), + (this._attachedRef = a), + this.attached.emit(a), + a + ); + } + attachTemplatePortal(t) { + t.setAttachedHost(this); + const e = this._viewContainerRef.createEmbeddedView( + t.templateRef, + t.context + ); + return ( + super.setDisposeFn(() => this._viewContainerRef.clear()), + (this._attachedPortal = t), + (this._attachedRef = e), + this.attached.emit(e), + e + ); + } + })(), + BP = (() => class {})(); + class VP { + constructor(t, e) { + (this._parentInjector = t), (this._customTokens = e); + } + get(t, e) { + const n = this._customTokens.get(t); + return void 0 !== n ? n : this._parentInjector.get(t, e); + } + } + function HP(t, e, n, o) { + return ( + a(n) && ((o = n), (n = void 0)), + o + ? HP(t, e, n).pipe(j(t => (s(t) ? o(...t) : o(t)))) + : new O(a => { + !(function t(e, n, a, o, i) { + let r; + if ( + (function(t) { + return ( + t && + "function" == typeof t.addEventListener && + "function" == typeof t.removeEventListener + ); + })(e) + ) { + const t = e; + e.addEventListener(n, a, i), + (r = () => t.removeEventListener(n, a, i)); + } else if ( + (function(t) { + return ( + t && + "function" == typeof t.on && + "function" == typeof t.off + ); + })(e) + ) { + const t = e; + e.on(n, a), (r = () => t.off(n, a)); + } else if ( + (function(t) { + return ( + t && + "function" == typeof t.addListener && + "function" == typeof t.removeListener + ); + })(e) + ) { + const t = e; + e.addListener(n, a), (r = () => t.removeListener(n, a)); + } else { + if (!e || !e.length) + throw new TypeError("Invalid event target"); + for (let r = 0, l = e.length; r < l; r++) + t(e[r], n, a, o, i); + } + o.add(r); + })( + t, + e, + function(t) { + a.next( + arguments.length > 1 + ? Array.prototype.slice.call(arguments) + : t + ); + }, + a, + n + ); + }) + ); + } + class jP extends Kp { + constructor(t, e) { + super(t, e), (this.scheduler = t), (this.work = e); + } + requestAsyncId(t, e, n = 0) { + return null !== n && n > 0 + ? 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)); + } + } + class UP extends Wp { + flush(t) { + (this.active = !0), (this.scheduled = void 0); + const { actions: e } = this; + let n, + a = -1, + o = e.length; + t = t || e.shift(); + do { + if ((n = t.execute(t.state, t.delay))) break; + } while (++a < o && (t = e.shift())); + if (((this.active = !1), n)) { + for (; ++a < o && (t = e.shift()); ) t.unsubscribe(); + throw n; + } + } + } + const qP = new UP(jP); + let KP = 1; + const YP = {}, + WP = { + setImmediate(t) { + const e = KP++; + return ( + (YP[e] = t), + Promise.resolve().then(() => + (function(t) { + const e = YP[t]; + e && e(); + })(e) + ), + e + ); + }, + clearImmediate(t) { + delete YP[t]; + } + }; + class GP extends Kp { + constructor(t, e) { + super(t, e), (this.scheduler = t), (this.work = e); + } + requestAsyncId(t, e, n = 0) { + return null !== n && n > 0 + ? super.requestAsyncId(t, e, n) + : (t.actions.push(this), + t.scheduled || + (t.scheduled = WP.setImmediate(t.flush.bind(t, 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 && + (WP.clearImmediate(e), (t.scheduled = void 0)); + } + } + class $P extends Wp { + flush(t) { + (this.active = !0), (this.scheduled = void 0); + const { actions: e } = this; + let n, + a = -1, + o = e.length; + t = t || e.shift(); + do { + if ((n = t.execute(t.state, t.delay))) break; + } while (++a < o && (t = e.shift())); + if (((this.active = !1), n)) { + for (; ++a < o && (t = e.shift()); ) t.unsubscribe(); + throw n; + } + } + } + const ZP = new $P(GP); + class QP { + constructor(t, e) { + (this.compare = t), (this.keySelector = e); + } + call(t, e) { + return e.subscribe(new XP(t, this.compare, this.keySelector)); + } + } + class XP extends p { + 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 (a) { + return this.destination.error(a); + } + let n = !1; + if (this.hasKey) + try { + const { compare: t } = this; + n = t(this.key, e); + } catch (a) { + return this.destination.error(a); + } + else this.hasKey = !0; + n || ((this.key = e), this.destination.next(t)); + } + } + class JP { + constructor(t) { + this.durationSelector = t; + } + call(t, e) { + return e.subscribe(new tO(t, this.durationSelector)); + } + } + class tO extends H { + constructor(t, e) { + super(t), (this.durationSelector = e), (this.hasValue = !1); + } + _next(t) { + if (((this.value = t), (this.hasValue = !0), !this.throttled)) { + let n; + try { + const { durationSelector: a } = this; + n = a(t); + } catch (e) { + return this.destination.error(e); + } + const a = V(this, n); + !a || a.closed + ? this.clearThrottle() + : this.add((this.throttled = a)); + } + } + clearThrottle() { + const { value: t, hasValue: e, throttled: n } = this; + n && (this.remove(n), (this.throttled = null), n.unsubscribe()), + e && + ((this.value = null), + (this.hasValue = !1), + this.destination.next(t)); + } + notifyNext(t, e, n, a) { + this.clearThrottle(); + } + notifyComplete() { + this.clearThrottle(); + } + } + function eO(t) { + return !s(t) && t - parseFloat(t) + 1 >= 0; + } + function nO(t) { + const { index: e, period: n, subscriber: a } = t; + if ((a.next(e), !a.closed)) { + if (-1 === n) return a.complete(); + (t.index = e + 1), this.schedule(t, n); + } + } + function aO(t, e = Gp) { + return ( + (n = () => + (function(t = 0, e, n) { + let a = -1; + return ( + eO(e) ? (a = Number(e) < 1 ? 1 : Number(e)) : E(e) && (n = e), + E(n) || (n = Gp), + new O(e => { + const o = eO(t) ? t : +t - n.now(); + return n.schedule(nO, o, { + index: 0, + period: a, + subscriber: e + }); + }) + ); + })(t, e)), + function(t) { + return t.lift(new JP(n)); + } + ); + var n; + } + function oO(t) { + return e => e.lift(new iO(t)); + } + class iO { + constructor(t) { + this.notifier = t; + } + call(t, e) { + const n = new rO(t), + a = V(n, this.notifier); + return a && !n.seenValue ? (n.add(a), e.subscribe(n)) : n; + } + } + class rO extends H { + constructor(t) { + super(t), (this.seenValue = !1); + } + notifyNext(t, e, n, a, o) { + (this.seenValue = !0), this.complete(); + } + notifyComplete() {} + } + class lO { + call(t, e) { + return e.subscribe(new sO(t)); + } + } + class sO extends p { + constructor(t) { + super(t), (this.hasPrev = !1); + } + _next(t) { + this.hasPrev + ? this.destination.next([this.prev, t]) + : (this.hasPrev = !0), + (this.prev = t); + } + } + class cO extends Kp { + 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); + } + } + class dO extends Wp {} + const uO = new dO(cO); + var mO; + !(function(t) { + (t.NEXT = "N"), (t.ERROR = "E"), (t.COMPLETE = "C"); + })(mO || (mO = {})); + const hO = (() => { + class t { + constructor(t, e, n) { + (this.kind = t), + (this.value = e), + (this.error = n), + (this.hasValue = "N" === t); + } + observe(t) { + switch (this.kind) { + case "N": + return t.next && t.next(this.value); + case "E": + return t.error && t.error(this.error); + case "C": + return t.complete && t.complete(); + } + } + do(t, e, n) { + switch (this.kind) { + case "N": + return t && t(this.value); + case "E": + return e && e(this.error); + case "C": + return n && n(); + } + } + accept(t, e, n) { + return t && "function" == typeof t.next + ? this.observe(t) + : this.do(t, e, n); + } + toObservable() { + switch (this.kind) { + case "N": + return $l(this.value); + case "E": + return Xf(this.error); + case "C": + return Wl(); + } + throw new Error("unexpected notification kind value"); + } + static createNext(e) { + return void 0 !== e ? new t("N", e) : t.undefinedValueNotification; + } + static createError(e) { + return new t("E", void 0, e); + } + static createComplete() { + return t.completeNotification; + } + } + return ( + (t.completeNotification = new t("C")), + (t.undefinedValueNotification = new t("N", void 0)), + t + ); + })(); + class gO extends p { + 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( + gO.dispatch, + this.delay, + new pO(t, this.destination) + ) + ); + } + _next(t) { + this.scheduleMessage(hO.createNext(t)); + } + _error(t) { + this.scheduleMessage(hO.createError(t)), this.unsubscribe(); + } + _complete() { + this.scheduleMessage(hO.createComplete()), this.unsubscribe(); + } + } + class pO { + constructor(t, e) { + (this.notification = t), (this.destination = e); + } + } + class fO extends w { + 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) { + const e = this._events; + e.push(t), e.length > this._bufferSize && e.shift(), super.next(t); + } + nextTimeWindow(t) { + this._events.push(new bO(this._getNow(), t)), + this._trimBufferThenGetEvents(), + super.next(t); + } + _subscribe(t) { + const e = this._infiniteTimeWindow, + n = e ? this._events : this._trimBufferThenGetEvents(), + a = this.scheduler, + o = n.length; + let i; + if (this.closed) throw new v(); + if ( + (this.isStopped || this.hasError + ? (i = m.EMPTY) + : (this.observers.push(t), (i = new x(this, t))), + a && t.add((t = new gO(t, a))), + e) + ) + for (let r = 0; r < o && !t.closed; r++) t.next(n[r]); + else for (let r = 0; r < o && !t.closed; r++) t.next(n[r].value); + return ( + this.hasError + ? t.error(this.thrownError) + : this.isStopped && t.complete(), + i + ); + } + _getNow() { + return (this.scheduler || uO).now(); + } + _trimBufferThenGetEvents() { + const t = this._getNow(), + e = this._bufferSize, + n = this._windowTime, + a = this._events, + o = a.length; + let i = 0; + for (; i < o && !(t - a[i].time < n); ) i++; + return o > e && (i = Math.max(i, o - e)), i > 0 && a.splice(0, i), a; + } + } + class bO { + constructor(t, e) { + (this.time = t), (this.value = e); + } + } + class _O {} + class CO extends _O { + constructor(t) { + super(), (this._data = t); + } + connect() { + return this._data instanceof O ? this._data : $l(this._data); + } + disconnect() {} + } + class PO { + constructor(t = !1, e, n = !0) { + (this._multiple = t), + (this._emitChanges = n), + (this._selection = new Set()), + (this._deselectedToEmit = []), + (this._selectedToEmit = []), + (this.changed = new w()), + (this.onChange = this.changed), + e && + e.length && + (t + ? e.forEach(t => this._markSelected(t)) + : this._markSelected(e[0]), + (this._selectedToEmit.length = 0)); + } + get selected() { + return ( + this._selected || + (this._selected = Array.from(this._selection.values())), + this._selected + ); + } + select(...t) { + this._verifyValueAssignment(t), + t.forEach(t => this._markSelected(t)), + this._emitChangeEvent(); + } + deselect(...t) { + this._verifyValueAssignment(t), + t.forEach(t => this._unmarkSelected(t)), + this._emitChangeEvent(); + } + toggle(t) { + this.isSelected(t) ? this.deselect(t) : this.select(t); + } + clear() { + this._unmarkAll(), this._emitChangeEvent(); + } + isSelected(t) { + return this._selection.has(t); + } + isEmpty() { + return 0 === this._selection.size; + } + hasValue() { + return !this.isEmpty(); + } + sort(t) { + this._multiple && this.selected && this._selected.sort(t); + } + isMultipleSelection() { + return this._multiple; + } + _emitChangeEvent() { + (this._selected = null), + (this._selectedToEmit.length || this._deselectedToEmit.length) && + (this.changed.next({ + source: this, + added: this._selectedToEmit, + removed: this._deselectedToEmit + }), + (this._deselectedToEmit = []), + (this._selectedToEmit = [])); + } + _markSelected(t) { + this.isSelected(t) || + (this._multiple || this._unmarkAll(), + this._selection.add(t), + this._emitChanges && this._selectedToEmit.push(t)); + } + _unmarkSelected(t) { + this.isSelected(t) && + (this._selection.delete(t), + this._emitChanges && this._deselectedToEmit.push(t)); + } + _unmarkAll() { + this.isEmpty() || + this._selection.forEach(t => this._unmarkSelected(t)); + } + _verifyValueAssignment(t) { + if (t.length > 1 && !this._multiple) + throw Error( + "Cannot pass multiple values into SelectionModel with single-value mode." + ); + } + } + const OO = new Ht("VIRTUAL_SCROLL_STRATEGY"); + class MO { + constructor(t, e, n) { + (this._scrolledIndexChange = new w()), + (this.scrolledIndexChange = this._scrolledIndexChange.pipe(t => + t.lift(new QP(void 0, void 0)) + )), + (this._viewport = null), + (this._itemSize = t), + (this._minBufferPx = e), + (this._maxBufferPx = n); + } + attach(t) { + (this._viewport = t), + this._updateTotalContentSize(), + this._updateRenderedRange(); + } + detach() { + this._scrolledIndexChange.complete(), (this._viewport = null); + } + updateItemAndBufferSize(t, e, n) { + if (n < e) + throw Error( + "CDK virtual scroll: maxBufferPx must be greater than or equal to minBufferPx" + ); + (this._itemSize = t), + (this._minBufferPx = e), + (this._maxBufferPx = n), + this._updateTotalContentSize(), + this._updateRenderedRange(); + } + onContentScrolled() { + this._updateRenderedRange(); + } + onDataLengthChanged() { + this._updateTotalContentSize(), this._updateRenderedRange(); + } + onContentRendered() {} + onRenderedOffsetChanged() {} + scrollToIndex(t, e) { + this._viewport && + this._viewport.scrollToOffset(t * this._itemSize, e); + } + _updateTotalContentSize() { + this._viewport && + this._viewport.setTotalContentSize( + this._viewport.getDataLength() * this._itemSize + ); + } + _updateRenderedRange() { + if (!this._viewport) return; + const t = this._viewport.measureScrollOffset(), + e = t / this._itemSize, + n = this._viewport.getRenderedRange(), + a = { start: n.start, end: n.end }, + o = this._viewport.getViewportSize(), + i = this._viewport.getDataLength(), + r = t - a.start * this._itemSize; + if (r < this._minBufferPx && 0 != a.start) { + const t = Math.ceil((this._maxBufferPx - r) / this._itemSize); + (a.start = Math.max(0, a.start - t)), + (a.end = Math.min( + i, + Math.ceil(e + (o + this._minBufferPx) / this._itemSize) + )); + } else { + const n = a.end * this._itemSize - (t + o); + if (n < this._minBufferPx && a.end != i) { + const t = Math.ceil((this._maxBufferPx - n) / this._itemSize); + t > 0 && + ((a.end = Math.min(i, a.end + t)), + (a.start = Math.max( + 0, + Math.floor(e - this._minBufferPx / this._itemSize) + ))); + } + } + this._viewport.setRenderedRange(a), + this._viewport.setRenderedContentOffset(this._itemSize * a.start), + this._scrolledIndexChange.next(Math.floor(e)); + } + } + function yO(t) { + return t._scrollStrategy; + } + const vO = (() => + class { + constructor() { + (this._itemSize = 20), + (this._minBufferPx = 100), + (this._maxBufferPx = 200), + (this._scrollStrategy = new MO( + this.itemSize, + this.minBufferPx, + this.maxBufferPx + )); + } + get itemSize() { + return this._itemSize; + } + set itemSize(t) { + this._itemSize = fp(t); + } + get minBufferPx() { + return this._minBufferPx; + } + set minBufferPx(t) { + this._minBufferPx = fp(t); + } + get maxBufferPx() { + return this._maxBufferPx; + } + set maxBufferPx(t) { + this._maxBufferPx = fp(t); + } + ngOnChanges() { + this._scrollStrategy.updateItemAndBufferSize( + this.itemSize, + this.minBufferPx, + this.maxBufferPx + ); + } + })(), + xO = 20, + kO = (() => { + class t { + constructor(t, e) { + (this._ngZone = t), + (this._platform = e), + (this._scrolled = new w()), + (this._globalSubscription = null), + (this._scrolledCount = 0), + (this.scrollContainers = new Map()); + } + register(t) { + this.scrollContainers.has(t) || + this.scrollContainers.set( + t, + t.elementScrolled().subscribe(() => this._scrolled.next(t)) + ); + } + deregister(t) { + const e = this.scrollContainers.get(t); + e && (e.unsubscribe(), this.scrollContainers.delete(t)); + } + scrolled(t = xO) { + return this._platform.isBrowser + ? new O(e => { + this._globalSubscription || this._addGlobalListener(); + const n = + t > 0 + ? this._scrolled.pipe(aO(t)).subscribe(e) + : this._scrolled.subscribe(e); + return ( + this._scrolledCount++, + () => { + n.unsubscribe(), + this._scrolledCount--, + this._scrolledCount || this._removeGlobalListener(); + } + ); + }) + : $l(); + } + ngOnDestroy() { + this._removeGlobalListener(), + this.scrollContainers.forEach((t, e) => this.deregister(e)), + this._scrolled.complete(); + } + ancestorScrolled(t, e) { + const n = this.getAncestorScrollContainers(t); + return this.scrolled(e).pipe(Ql(t => !t || n.indexOf(t) > -1)); + } + getAncestorScrollContainers(t) { + const e = []; + return ( + this.scrollContainers.forEach((n, a) => { + this._scrollableContainsElement(a, t) && e.push(a); + }), + e + ); + } + _scrollableContainsElement(t, e) { + let n = e.nativeElement, + a = t.getElementRef().nativeElement; + do { + if (n == a) return !0; + } while ((n = n.parentElement)); + return !1; + } + _addGlobalListener() { + this._globalSubscription = this._ngZone.runOutsideAngular(() => + HP(window.document, "scroll").subscribe(() => + this._scrolled.next() + ) + ); + } + _removeGlobalListener() { + this._globalSubscription && + (this._globalSubscription.unsubscribe(), + (this._globalSubscription = null)); + } + } + return ( + (t.ngInjectableDef = bt({ + factory: function() { + return new t(It(Di), It(Op)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + wO = (() => + class { + constructor(t, e, n, a) { + (this.elementRef = t), + (this.scrollDispatcher = e), + (this.ngZone = n), + (this.dir = a), + (this._destroyed = new w()), + (this._elementScrolled = new O(t => + this.ngZone.runOutsideAngular(() => + HP(this.elementRef.nativeElement, "scroll") + .pipe(oO(this._destroyed)) + .subscribe(t) + ) + )); + } + ngOnInit() { + this.scrollDispatcher.register(this); + } + ngOnDestroy() { + this.scrollDispatcher.deregister(this), + this._destroyed.next(), + this._destroyed.complete(); + } + elementScrolled() { + return this._elementScrolled; + } + getElementRef() { + return this.elementRef; + } + scrollTo(t) { + const e = this.elementRef.nativeElement, + n = this.dir && "rtl" == this.dir.value; + (t.left = null == t.left ? (n ? t.end : t.start) : t.left), + (t.right = null == t.right ? (n ? t.start : t.end) : t.right), + null != t.bottom && + (t.top = e.scrollHeight - e.clientHeight - t.bottom), + n && Ip() != Sp.NORMAL + ? (null != t.left && + (t.right = e.scrollWidth - e.clientWidth - t.left), + Ip() == Sp.INVERTED + ? (t.left = t.right) + : Ip() == Sp.NEGATED && + (t.left = t.right ? -t.right : t.right)) + : null != t.right && + (t.left = e.scrollWidth - e.clientWidth - t.right), + this._applyScrollToOptions(t); + } + _applyScrollToOptions(t) { + const e = this.elementRef.nativeElement; + "object" == typeof document && + "scrollBehavior" in document.documentElement.style + ? e.scrollTo(t) + : (null != t.top && (e.scrollTop = t.top), + null != t.left && (e.scrollLeft = t.left)); + } + measureScrollOffset(t) { + const e = this.elementRef.nativeElement; + if ("top" == t) return e.scrollTop; + if ("bottom" == t) + return e.scrollHeight - e.clientHeight - e.scrollTop; + const n = this.dir && "rtl" == this.dir.value; + return ( + "start" == t + ? (t = n ? "right" : "left") + : "end" == t && (t = n ? "left" : "right"), + n && Ip() == Sp.INVERTED + ? "left" == t + ? e.scrollWidth - e.clientWidth - e.scrollLeft + : e.scrollLeft + : n && Ip() == Sp.NEGATED + ? "left" == t + ? e.scrollLeft + e.scrollWidth - e.clientWidth + : -e.scrollLeft + : "left" == t + ? e.scrollLeft + : e.scrollWidth - e.clientWidth - e.scrollLeft + ); + } + })(), + SO = "undefined" != typeof requestAnimationFrame ? qP : ZP, + EO = (() => + class extends wO { + constructor(t, e, n, a, o, i) { + if ( + (super(t, i, n, o), + (this.elementRef = t), + (this._changeDetectorRef = e), + (this._scrollStrategy = a), + (this._detachedSubject = new w()), + (this._renderedRangeSubject = new w()), + (this.orientation = "vertical"), + (this.scrolledIndexChange = new O(t => + this._scrollStrategy.scrolledIndexChange.subscribe(e => + Promise.resolve().then(() => + this.ngZone.run(() => t.next(e)) + ) + ) + )), + (this.renderedRangeStream = this._renderedRangeSubject.asObservable()), + (this._totalContentSizeTransform = ""), + (this._totalContentSize = 0), + (this._renderedRange = { start: 0, end: 0 }), + (this._dataLength = 0), + (this._viewportSize = 0), + (this._renderedContentOffset = 0), + (this._renderedContentOffsetNeedsRewrite = !1), + (this._isChangeDetectionPending = !1), + (this._runAfterChangeDetection = []), + !a) + ) + throw Error( + 'Error: cdk-virtual-scroll-viewport requires the "itemSize" property to be set.' + ); + } + ngOnInit() { + super.ngOnInit(), + this.ngZone.runOutsideAngular(() => + Promise.resolve().then(() => { + this._measureViewportSize(), + this._scrollStrategy.attach(this), + this.elementScrolled() + .pipe( + id(null), + aO(0, SO) + ) + .subscribe(() => + this._scrollStrategy.onContentScrolled() + ), + this._markChangeDetectionNeeded(); + }) + ); + } + ngOnDestroy() { + this.detach(), + this._scrollStrategy.detach(), + this._renderedRangeSubject.complete(), + this._detachedSubject.complete(), + super.ngOnDestroy(); + } + attach(t) { + if (this._forOf) + throw Error("CdkVirtualScrollViewport is already attached."); + this.ngZone.runOutsideAngular(() => { + (this._forOf = t), + this._forOf.dataStream + .pipe(oO(this._detachedSubject)) + .subscribe(t => { + const e = t.length; + e !== this._dataLength && + ((this._dataLength = e), + this._scrollStrategy.onDataLengthChanged()), + this._doChangeDetection(); + }); + }); + } + detach() { + (this._forOf = null), this._detachedSubject.next(); + } + getDataLength() { + return this._dataLength; + } + getViewportSize() { + return this._viewportSize; + } + getRenderedRange() { + return this._renderedRange; + } + setTotalContentSize(t) { + this._totalContentSize !== t && + ((this._totalContentSize = t), + (this._totalContentSizeTransform = `scale${ + "horizontal" == this.orientation ? "X" : "Y" + }(${this._totalContentSize})`), + this._markChangeDetectionNeeded()); + } + setRenderedRange(t) { + var e, n; + ((e = this._renderedRange).start != (n = t).start || + e.end != n.end) && + (this._renderedRangeSubject.next((this._renderedRange = t)), + this._markChangeDetectionNeeded(() => + this._scrollStrategy.onContentRendered() + )); + } + getOffsetToRenderedContentStart() { + return this._renderedContentOffsetNeedsRewrite + ? null + : this._renderedContentOffset; + } + setRenderedContentOffset(t, e = "to-start") { + const n = "horizontal" == this.orientation, + a = n ? "X" : "Y"; + let o = `translate${a}(${Number( + (n && this.dir && "rtl" == this.dir.value ? -1 : 1) * t + )}px)`; + (this._renderedContentOffset = t), + "to-end" === e && + ((o += ` translate${a}(-100%)`), + (this._renderedContentOffsetNeedsRewrite = !0)), + this._renderedContentTransform != o && + ((this._renderedContentTransform = o), + this._markChangeDetectionNeeded(() => { + this._renderedContentOffsetNeedsRewrite + ? ((this._renderedContentOffset -= this.measureRenderedContentSize()), + (this._renderedContentOffsetNeedsRewrite = !1), + this.setRenderedContentOffset( + this._renderedContentOffset + )) + : this._scrollStrategy.onRenderedOffsetChanged(); + })); + } + scrollToOffset(t, e = "auto") { + const n = { behavior: e }; + "horizontal" === this.orientation ? (n.start = t) : (n.top = t), + this.scrollTo(n); + } + scrollToIndex(t, e = "auto") { + this._scrollStrategy.scrollToIndex(t, e); + } + measureScrollOffset(t) { + return super.measureScrollOffset( + t || ("horizontal" === this.orientation ? "start" : "top") + ); + } + measureRenderedContentSize() { + const t = this._contentWrapper.nativeElement; + return "horizontal" === this.orientation + ? t.offsetWidth + : t.offsetHeight; + } + measureRangeSize(t) { + return this._forOf + ? this._forOf.measureRangeSize(t, this.orientation) + : 0; + } + checkViewportSize() { + this._measureViewportSize(), + this._scrollStrategy.onDataLengthChanged(); + } + _measureViewportSize() { + const t = this.elementRef.nativeElement; + this._viewportSize = + "horizontal" === this.orientation + ? t.clientWidth + : t.clientHeight; + } + _markChangeDetectionNeeded(t) { + t && this._runAfterChangeDetection.push(t), + this._isChangeDetectionPending || + ((this._isChangeDetectionPending = !0), + this.ngZone.runOutsideAngular(() => + Promise.resolve().then(() => { + this._doChangeDetection(); + }) + )); + } + _doChangeDetection() { + (this._isChangeDetectionPending = !1), + this.ngZone.run(() => this._changeDetectorRef.markForCheck()), + (this._contentWrapper.nativeElement.style.transform = this._renderedContentTransform); + const t = this._runAfterChangeDetection; + this._runAfterChangeDetection = []; + for (const e of t) e(); + } + })(); + function IO(t, e) { + if (!e.getBoundingClientRect) return 0; + const n = e.getBoundingClientRect(); + return "horizontal" == t ? n.width : n.height; + } + const AO = (() => + class { + constructor(t, e, n, a, o) { + (this._viewContainerRef = t), + (this._template = e), + (this._differs = n), + (this._viewport = a), + (this.viewChange = new w()), + (this._dataSourceChanges = new w()), + (this.cdkVirtualForTemplateCacheSize = 20), + (this.dataStream = this._dataSourceChanges.pipe( + id(null), + t => t.lift(new lO()), + nd(([t, e]) => this._changeDataSource(t, e)), + (function(t, e, n) { + let a; + return ( + (a = { + bufferSize: 1, + windowTime: void 0, + refCount: !1, + scheduler: void 0 + }), + t => + t.lift( + (function({ + bufferSize: t = Number.POSITIVE_INFINITY, + windowTime: e = Number.POSITIVE_INFINITY, + refCount: n, + scheduler: a + }) { + let o, + i, + r = 0, + l = !1, + s = !1; + return function(c) { + r++, + (o && !l) || + ((l = !1), + (o = new fO(t, e, a)), + (i = c.subscribe({ + next(t) { + o.next(t); + }, + error(t) { + (l = !0), o.error(t); + }, + complete() { + (s = !0), o.complete(); + } + }))); + const d = o.subscribe(this); + this.add(() => { + r--, + d.unsubscribe(), + i && + !s && + n && + 0 === r && + (i.unsubscribe(), + (i = void 0), + (o = void 0)); + }); + }; + })(a) + ) + ); + })() + )), + (this._differ = null), + (this._templateCache = []), + (this._needsUpdate = !1), + (this._destroyed = new w()), + this.dataStream.subscribe(t => { + (this._data = t), this._onRenderedDataChange(); + }), + this._viewport.renderedRangeStream + .pipe(oO(this._destroyed)) + .subscribe(t => { + (this._renderedRange = t), + o.run(() => this.viewChange.next(this._renderedRange)), + this._onRenderedDataChange(); + }), + this._viewport.attach(this); + } + get cdkVirtualForOf() { + return this._cdkVirtualForOf; + } + set cdkVirtualForOf(t) { + this._cdkVirtualForOf = t; + const e = (function(t) { + return t && "function" == typeof t.connect; + })(t) + ? t + : new CO( + t instanceof O ? t : Array.prototype.slice.call(t || []) + ); + this._dataSourceChanges.next(e); + } + get cdkVirtualForTrackBy() { + return this._cdkVirtualForTrackBy; + } + set cdkVirtualForTrackBy(t) { + (this._needsUpdate = !0), + (this._cdkVirtualForTrackBy = t + ? (e, n) => + t( + e + + (this._renderedRange ? this._renderedRange.start : 0), + n + ) + : void 0); + } + set cdkVirtualForTemplate(t) { + t && ((this._needsUpdate = !0), (this._template = t)); + } + measureRangeSize(t, e) { + if (t.start >= t.end) return 0; + if ( + t.start < this._renderedRange.start || + t.end > this._renderedRange.end + ) + throw Error( + "Error: attempted to measure an item that isn't rendered." + ); + const n = t.start - this._renderedRange.start; + let a = 0, + o = t.end - t.start; + for (; o--; ) { + const t = this._viewContainerRef.get(o + n); + let i = t ? t.rootNodes.length : 0; + for (; i--; ) a += IO(e, t.rootNodes[i]); + } + return a; + } + ngDoCheck() { + if (this._differ && this._needsUpdate) { + const t = this._differ.diff(this._renderedItems); + t ? this._applyChanges(t) : this._updateContext(), + (this._needsUpdate = !1); + } + } + ngOnDestroy() { + this._viewport.detach(), + this._dataSourceChanges.next(), + this._dataSourceChanges.complete(), + this.viewChange.complete(), + this._destroyed.next(), + this._destroyed.complete(); + for (let t of this._templateCache) t.destroy(); + } + _onRenderedDataChange() { + this._renderedRange && + ((this._renderedItems = this._data.slice( + this._renderedRange.start, + this._renderedRange.end + )), + this._differ || + (this._differ = this._differs + .find(this._renderedItems) + .create(this.cdkVirtualForTrackBy)), + (this._needsUpdate = !0)); + } + _changeDataSource(t, e) { + return ( + t && t.disconnect(this), + (this._needsUpdate = !0), + e ? e.connect(this) : $l() + ); + } + _updateContext() { + const t = this._data.length; + let e = this._viewContainerRef.length; + for (; e--; ) { + let n = this._viewContainerRef.get(e); + (n.context.index = this._renderedRange.start + e), + (n.context.count = t), + this._updateComputedContextProperties(n.context), + n.detectChanges(); + } + } + _applyChanges(t) { + t.forEachOperation((t, e, n) => { + if (null == t.previousIndex) + this._insertViewForNewItem(n).context.$implicit = t.item; + else if (null == n) this._cacheView(this._detachView(e)); + else { + const a = this._viewContainerRef.get(e); + this._viewContainerRef.move(a, n), + (a.context.$implicit = t.item); + } + }), + t.forEachIdentityChange(t => { + this._viewContainerRef.get(t.currentIndex).context.$implicit = + t.item; + }); + const e = this._data.length; + let n = this._viewContainerRef.length; + for (; n--; ) { + const t = this._viewContainerRef.get(n); + (t.context.index = this._renderedRange.start + n), + (t.context.count = e), + this._updateComputedContextProperties(t.context); + } + } + _cacheView(t) { + if ( + this._templateCache.length < this.cdkVirtualForTemplateCacheSize + ) + this._templateCache.push(t); + else { + const e = this._viewContainerRef.indexOf(t); + -1 === e ? t.destroy() : this._viewContainerRef.remove(e); + } + } + _insertViewForNewItem(t) { + return ( + this._insertViewFromCache(t) || this._createEmbeddedViewAt(t) + ); + } + _updateComputedContextProperties(t) { + (t.first = 0 === t.index), + (t.last = t.index === t.count - 1), + (t.even = t.index % 2 == 0), + (t.odd = !t.even); + } + _createEmbeddedViewAt(t) { + return this._viewContainerRef.createEmbeddedView( + this._template, + { + $implicit: null, + cdkVirtualForOf: this._cdkVirtualForOf, + index: -1, + count: -1, + first: !1, + last: !1, + odd: !1, + even: !1 + }, + t + ); + } + _insertViewFromCache(t) { + const e = this._templateCache.pop(); + return e && this._viewContainerRef.insert(e, t), e || null; + } + _detachView(t) { + return this._viewContainerRef.detach(t); + } + })(), + TO = (() => class {})(), + RO = (() => class {})(), + DO = 20, + NO = (() => { + class t { + constructor(t, e) { + (this._platform = t), + e.runOutsideAngular(() => { + (this._change = t.isBrowser + ? X(HP(window, "resize"), HP(window, "orientationchange")) + : $l()), + (this._invalidateCache = this.change().subscribe(() => + this._updateViewportSize() + )); + }); + } + ngOnDestroy() { + this._invalidateCache.unsubscribe(); + } + getViewportSize() { + this._viewportSize || this._updateViewportSize(); + const t = { + width: this._viewportSize.width, + height: this._viewportSize.height + }; + return this._platform.isBrowser || (this._viewportSize = null), t; + } + getViewportRect() { + const t = this.getViewportScrollPosition(), + { width: e, height: n } = this.getViewportSize(); + return { + top: t.top, + left: t.left, + bottom: t.top + n, + right: t.left + e, + height: n, + width: e + }; + } + getViewportScrollPosition() { + if (!this._platform.isBrowser) return { top: 0, left: 0 }; + const t = document.documentElement, + e = t.getBoundingClientRect(); + return { + top: + -e.top || + document.body.scrollTop || + window.scrollY || + t.scrollTop || + 0, + left: + -e.left || + document.body.scrollLeft || + window.scrollX || + t.scrollLeft || + 0 + }; + } + change(t = DO) { + return t > 0 ? this._change.pipe(aO(t)) : this._change; + } + _updateViewportSize() { + this._viewportSize = this._platform.isBrowser + ? { width: window.innerWidth, height: window.innerHeight } + : { width: 0, height: 0 }; + } + } + return ( + (t.ngInjectableDef = bt({ + factory: function() { + return new t(It(Op), It(Di)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(); + class zO { + constructor(t, e) { + (this._viewportRuler = t), + (this._previousHTMLStyles = { top: "", left: "" }), + (this._isEnabled = !1), + (this._document = e); + } + attach() {} + enable() { + if (this._canBeEnabled()) { + const t = this._document.documentElement; + (this._previousScrollPosition = this._viewportRuler.getViewportScrollPosition()), + (this._previousHTMLStyles.left = t.style.left || ""), + (this._previousHTMLStyles.top = t.style.top || ""), + (t.style.left = _p(-this._previousScrollPosition.left)), + (t.style.top = _p(-this._previousScrollPosition.top)), + t.classList.add("cdk-global-scrollblock"), + (this._isEnabled = !0); + } + } + disable() { + if (this._isEnabled) { + const t = this._document.documentElement, + e = t.style, + n = this._document.body.style, + a = e.scrollBehavior || "", + o = n.scrollBehavior || ""; + (this._isEnabled = !1), + (e.left = this._previousHTMLStyles.left), + (e.top = this._previousHTMLStyles.top), + t.classList.remove("cdk-global-scrollblock"), + (e.scrollBehavior = n.scrollBehavior = "auto"), + window.scroll( + this._previousScrollPosition.left, + this._previousScrollPosition.top + ), + (e.scrollBehavior = a), + (n.scrollBehavior = o); + } + } + _canBeEnabled() { + if ( + this._document.documentElement.classList.contains( + "cdk-global-scrollblock" + ) || + this._isEnabled + ) + return !1; + const t = this._document.body, + e = this._viewportRuler.getViewportSize(); + return t.scrollHeight > e.height || t.scrollWidth > e.width; + } + } + function LO() { + return Error("Scroll strategy has already been attached."); + } + class FO { + constructor(t, e, n, a) { + (this._scrollDispatcher = t), + (this._ngZone = e), + (this._viewportRuler = n), + (this._config = a), + (this._scrollSubscription = null), + (this._detach = () => { + this.disable(), + this._overlayRef.hasAttached() && + this._ngZone.run(() => this._overlayRef.detach()); + }); + } + attach(t) { + if (this._overlayRef) throw LO(); + this._overlayRef = t; + } + enable() { + if (this._scrollSubscription) return; + const t = this._scrollDispatcher.scrolled(0); + this._config && this._config.threshold && this._config.threshold > 1 + ? ((this._initialScrollPosition = this._viewportRuler.getViewportScrollPosition().top), + (this._scrollSubscription = t.subscribe(() => { + const t = this._viewportRuler.getViewportScrollPosition().top; + Math.abs(t - this._initialScrollPosition) > + this._config.threshold + ? this._detach() + : this._overlayRef.updatePosition(); + }))) + : (this._scrollSubscription = t.subscribe(this._detach)); + } + disable() { + this._scrollSubscription && + (this._scrollSubscription.unsubscribe(), + (this._scrollSubscription = null)); + } + detach() { + this.disable(), (this._overlayRef = null); + } + } + class BO { + enable() {} + disable() {} + attach() {} + } + function VO(t, e) { + return e.some( + e => + t.bottom < e.top || + t.top > e.bottom || + t.right < e.left || + t.left > e.right + ); + } + function HO(t, e) { + return e.some( + e => + t.top < e.top || + t.bottom > e.bottom || + t.left < e.left || + t.right > e.right + ); + } + class jO { + constructor(t, e, n, a) { + (this._scrollDispatcher = t), + (this._viewportRuler = e), + (this._ngZone = n), + (this._config = a), + (this._scrollSubscription = null); + } + attach(t) { + if (this._overlayRef) throw LO(); + this._overlayRef = t; + } + enable() { + this._scrollSubscription || + (this._scrollSubscription = this._scrollDispatcher + .scrolled(this._config ? this._config.scrollThrottle : 0) + .subscribe(() => { + if ( + (this._overlayRef.updatePosition(), + this._config && this._config.autoClose) + ) { + const t = this._overlayRef.overlayElement.getBoundingClientRect(), + { + width: e, + height: n + } = this._viewportRuler.getViewportSize(); + VO(t, [ + { + width: e, + height: n, + bottom: n, + right: e, + top: 0, + left: 0 + } + ]) && + (this.disable(), + this._ngZone.run(() => this._overlayRef.detach())); + } + })); + } + disable() { + this._scrollSubscription && + (this._scrollSubscription.unsubscribe(), + (this._scrollSubscription = null)); + } + detach() { + this.disable(), (this._overlayRef = null); + } + } + const UO = (() => { + class t { + constructor(t, e, n, a) { + (this._scrollDispatcher = t), + (this._viewportRuler = e), + (this._ngZone = n), + (this.noop = () => new BO()), + (this.close = t => + new FO( + this._scrollDispatcher, + this._ngZone, + this._viewportRuler, + t + )), + (this.block = () => new zO(this._viewportRuler, this._document)), + (this.reposition = t => + new jO( + this._scrollDispatcher, + this._viewportRuler, + this._ngZone, + t + )), + (this._document = a); + } + } + return ( + (t.ngInjectableDef = bt({ + factory: function() { + return new t(It(kO), It(NO), It(Di), It(Bs)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(); + class qO { + constructor(t) { + (this.scrollStrategy = new BO()), + (this.panelClass = ""), + (this.hasBackdrop = !1), + (this.backdropClass = "cdk-overlay-dark-backdrop"), + (this.disposeOnNavigation = !1), + t && + Object.keys(t).forEach(e => { + void 0 !== t[e] && (this[e] = t[e]); + }); + } + } + class KO { + constructor(t, e, n, a, o) { + (this.offsetX = n), + (this.offsetY = a), + (this.panelClass = o), + (this.originX = t.originX), + (this.originY = t.originY), + (this.overlayX = e.overlayX), + (this.overlayY = e.overlayY); + } + } + const YO = (() => + class { + constructor(t, e) { + (this.connectionPair = t), (this.scrollableViewProperties = e); + } + })(); + function WO(t, e) { + if ("top" !== e && "bottom" !== e && "center" !== e) + throw Error( + `ConnectedPosition: Invalid ${t} "${e}". ` + + 'Expected "top", "bottom" or "center".' + ); + } + function GO(t, e) { + if ("start" !== e && "end" !== e && "center" !== e) + throw Error( + `ConnectedPosition: Invalid ${t} "${e}". ` + + 'Expected "start", "end" or "center".' + ); + } + const $O = (() => { + class t { + constructor(t) { + (this._attachedOverlays = []), + (this._keydownListener = t => { + const e = this._attachedOverlays; + for (let n = e.length - 1; n > -1; n--) + if (e[n]._keydownEventSubscriptions > 0) { + e[n]._keydownEvents.next(t); + break; + } + }), + (this._document = t); + } + ngOnDestroy() { + this._detach(); + } + add(t) { + this.remove(t), + this._isAttached || + (this._document.body.addEventListener( + "keydown", + this._keydownListener + ), + (this._isAttached = !0)), + this._attachedOverlays.push(t); + } + remove(t) { + const e = this._attachedOverlays.indexOf(t); + e > -1 && this._attachedOverlays.splice(e, 1), + 0 === this._attachedOverlays.length && this._detach(); + } + _detach() { + this._isAttached && + (this._document.body.removeEventListener( + "keydown", + this._keydownListener + ), + (this._isAttached = !1)); + } + } + return ( + (t.ngInjectableDef = bt({ + factory: function() { + return new t(It(Bs)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + ZO = (() => { + class t { + constructor(t) { + this._document = t; + } + ngOnDestroy() { + this._containerElement && + this._containerElement.parentNode && + this._containerElement.parentNode.removeChild( + this._containerElement + ); + } + getContainerElement() { + return ( + this._containerElement || this._createContainer(), + this._containerElement + ); + } + _createContainer() { + const t = this._document.createElement("div"); + t.classList.add("cdk-overlay-container"), + this._document.body.appendChild(t), + (this._containerElement = t); + } + } + return ( + (t.ngInjectableDef = bt({ + factory: function() { + return new t(It(Bs)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(); + class QO { + constructor(t, e, n, a, o, i, r, l) { + (this._portalOutlet = t), + (this._host = e), + (this._pane = n), + (this._config = a), + (this._ngZone = o), + (this._keyboardDispatcher = i), + (this._document = r), + (this._location = l), + (this._backdropElement = null), + (this._backdropClick = new w()), + (this._attachments = new w()), + (this._detachments = new w()), + (this._locationChanges = m.EMPTY), + (this._keydownEventsObservable = new O(t => { + const e = this._keydownEvents.subscribe(t); + return ( + this._keydownEventSubscriptions++, + () => { + e.unsubscribe(), this._keydownEventSubscriptions--; + } + ); + })), + (this._keydownEvents = new w()), + (this._keydownEventSubscriptions = 0), + a.scrollStrategy && + ((this._scrollStrategy = a.scrollStrategy), + this._scrollStrategy.attach(this)), + (this._positionStrategy = a.positionStrategy); + } + get overlayElement() { + return this._pane; + } + get backdropElement() { + return this._backdropElement; + } + get hostElement() { + return this._host; + } + attach(t) { + let e = this._portalOutlet.attach(t); + return ( + this._positionStrategy && this._positionStrategy.attach(this), + !this._host.parentElement && + this._previousHostParent && + this._previousHostParent.appendChild(this._host), + this._updateStackingOrder(), + this._updateElementSize(), + this._updateElementDirection(), + this._scrollStrategy && this._scrollStrategy.enable(), + this._ngZone.onStable + .asObservable() + .pipe(Zc(1)) + .subscribe(() => { + this.hasAttached() && this.updatePosition(); + }), + this._togglePointerEvents(!0), + this._config.hasBackdrop && this._attachBackdrop(), + this._config.panelClass && + this._toggleClasses(this._pane, this._config.panelClass, !0), + this._attachments.next(), + this._keyboardDispatcher.add(this), + this._config.disposeOnNavigation && + this._location && + (this._locationChanges = this._location.subscribe(() => + this.dispose() + )), + e + ); + } + detach() { + if (!this.hasAttached()) return; + this.detachBackdrop(), + this._togglePointerEvents(!1), + this._positionStrategy && + this._positionStrategy.detach && + this._positionStrategy.detach(), + this._scrollStrategy && this._scrollStrategy.disable(); + const t = this._portalOutlet.detach(); + return ( + this._detachments.next(), + this._keyboardDispatcher.remove(this), + this._detachContentWhenStable(), + this._locationChanges.unsubscribe(), + t + ); + } + dispose() { + const t = this.hasAttached(); + this._positionStrategy && this._positionStrategy.dispose(), + this._disposeScrollStrategy(), + this.detachBackdrop(), + this._locationChanges.unsubscribe(), + this._keyboardDispatcher.remove(this), + this._portalOutlet.dispose(), + this._attachments.complete(), + this._backdropClick.complete(), + this._keydownEvents.complete(), + this._host && + this._host.parentNode && + (this._host.parentNode.removeChild(this._host), + (this._host = null)), + (this._previousHostParent = this._pane = null), + t && this._detachments.next(), + this._detachments.complete(); + } + hasAttached() { + return this._portalOutlet.hasAttached(); + } + backdropClick() { + return this._backdropClick.asObservable(); + } + attachments() { + return this._attachments.asObservable(); + } + detachments() { + return this._detachments.asObservable(); + } + keydownEvents() { + return this._keydownEventsObservable; + } + getConfig() { + return this._config; + } + updatePosition() { + this._positionStrategy && this._positionStrategy.apply(); + } + updatePositionStrategy(t) { + t !== this._positionStrategy && + (this._positionStrategy && this._positionStrategy.dispose(), + (this._positionStrategy = t), + this.hasAttached() && (t.attach(this), this.updatePosition())); + } + updateSize(t) { + (this._config = Object.assign({}, this._config, t)), + this._updateElementSize(); + } + setDirection(t) { + (this._config = Object.assign({}, this._config, { direction: t })), + this._updateElementDirection(); + } + addPanelClass(t) { + this._pane && this._toggleClasses(this._pane, t, !0); + } + removePanelClass(t) { + this._pane && this._toggleClasses(this._pane, t, !1); + } + getDirection() { + const t = this._config.direction; + return t ? ("string" == typeof t ? t : t.value) : "ltr"; + } + updateScrollStrategy(t) { + t !== this._scrollStrategy && + (this._disposeScrollStrategy(), + (this._scrollStrategy = t), + this.hasAttached() && (t.attach(this), t.enable())); + } + _updateElementDirection() { + this._host.setAttribute("dir", this.getDirection()); + } + _updateElementSize() { + const t = this._pane.style; + (t.width = _p(this._config.width)), + (t.height = _p(this._config.height)), + (t.minWidth = _p(this._config.minWidth)), + (t.minHeight = _p(this._config.minHeight)), + (t.maxWidth = _p(this._config.maxWidth)), + (t.maxHeight = _p(this._config.maxHeight)); + } + _togglePointerEvents(t) { + this._pane.style.pointerEvents = t ? "auto" : "none"; + } + _attachBackdrop() { + (this._backdropElement = this._document.createElement("div")), + this._backdropElement.classList.add("cdk-overlay-backdrop"), + this._config.backdropClass && + this._toggleClasses( + this._backdropElement, + this._config.backdropClass, + !0 + ), + this._host.parentElement.insertBefore( + this._backdropElement, + this._host + ), + this._backdropElement.addEventListener("click", t => + this._backdropClick.next(t) + ), + "undefined" != typeof requestAnimationFrame + ? this._ngZone.runOutsideAngular(() => { + requestAnimationFrame(() => { + this._backdropElement && + this._backdropElement.classList.add( + "cdk-overlay-backdrop-showing" + ); + }); + }) + : this._backdropElement.classList.add( + "cdk-overlay-backdrop-showing" + ); + } + _updateStackingOrder() { + this._host.nextSibling && + this._host.parentNode.appendChild(this._host); + } + detachBackdrop() { + let t, + e = this._backdropElement; + if (!e) return; + let n = () => { + e && e.parentNode && e.parentNode.removeChild(e), + this._backdropElement == e && (this._backdropElement = null), + this._config.backdropClass && + this._toggleClasses(e, this._config.backdropClass, !1), + clearTimeout(t); + }; + e.classList.remove("cdk-overlay-backdrop-showing"), + this._ngZone.runOutsideAngular(() => { + e.addEventListener("transitionend", n); + }), + (e.style.pointerEvents = "none"), + (t = this._ngZone.runOutsideAngular(() => setTimeout(n, 500))); + } + _toggleClasses(t, e, n) { + const a = t.classList; + bp(e).forEach(t => { + n ? a.add(t) : a.remove(t); + }); + } + _detachContentWhenStable() { + this._ngZone.runOutsideAngular(() => { + const t = this._ngZone.onStable + .asObservable() + .pipe(oO(X(this._attachments, this._detachments))) + .subscribe(() => { + (this._pane && + this._host && + 0 !== this._pane.children.length) || + (this._pane && + this._config.panelClass && + this._toggleClasses( + this._pane, + this._config.panelClass, + !1 + ), + this._host && + this._host.parentElement && + ((this._previousHostParent = this._host.parentElement), + this._previousHostParent.removeChild(this._host)), + t.unsubscribe()); + }); + }); + } + _disposeScrollStrategy() { + const t = this._scrollStrategy; + t && (t.disable(), t.detach && t.detach()); + } + } + const XO = "cdk-overlay-connected-position-bounding-box"; + class JO { + constructor(t, e, n, a, o) { + (this._viewportRuler = e), + (this._document = n), + (this._platform = a), + (this._overlayContainer = o), + (this._lastBoundingBoxSize = { width: 0, height: 0 }), + (this._isPushed = !1), + (this._canPush = !0), + (this._growAfterOpen = !1), + (this._hasFlexibleDimensions = !0), + (this._positionLocked = !1), + (this._viewportMargin = 0), + (this._scrollables = []), + (this._preferredPositions = []), + (this._positionChanges = new w()), + (this._resizeSubscription = m.EMPTY), + (this._offsetX = 0), + (this._offsetY = 0), + (this._appliedPanelClasses = []), + (this.positionChanges = this._positionChanges.asObservable()), + this.setOrigin(t); + } + get positions() { + return this._preferredPositions; + } + attach(t) { + if (this._overlayRef && t !== this._overlayRef) + throw Error( + "This position strategy is already attached to an overlay" + ); + this._validatePositions(), + t.hostElement.classList.add(XO), + (this._overlayRef = t), + (this._boundingBox = t.hostElement), + (this._pane = t.overlayElement), + (this._isDisposed = !1), + (this._isInitialRender = !0), + (this._lastPosition = null), + this._resizeSubscription.unsubscribe(), + (this._resizeSubscription = this._viewportRuler + .change() + .subscribe(() => { + (this._isInitialRender = !0), this.apply(); + })); + } + apply() { + if (this._isDisposed || !this._platform.isBrowser) return; + if ( + !this._isInitialRender && + this._positionLocked && + this._lastPosition + ) + return void this.reapplyLastPosition(); + this._clearPanelClasses(), + this._resetOverlayElementStyles(), + this._resetBoundingBoxStyles(), + (this._viewportRect = this._getNarrowedViewportRect()), + (this._originRect = this._getOriginRect()), + (this._overlayRect = this._pane.getBoundingClientRect()); + const t = this._originRect, + e = this._overlayRect, + n = this._viewportRect, + a = []; + let o; + for (let i of this._preferredPositions) { + let r = this._getOriginPoint(t, i), + l = this._getOverlayPoint(r, e, i), + s = this._getOverlayFit(l, e, n, i); + if (s.isCompletelyWithinViewport) + return (this._isPushed = !1), void this._applyPosition(i, r); + this._canFitWithFlexibleDimensions(s, l, n) + ? a.push({ + position: i, + origin: r, + overlayRect: e, + boundingBoxRect: this._calculateBoundingBoxRect(r, i) + }) + : (!o || o.overlayFit.visibleArea < s.visibleArea) && + (o = { + overlayFit: s, + overlayPoint: l, + originPoint: r, + position: i, + overlayRect: e + }); + } + if (a.length) { + let t = null, + e = -1; + for (const n of a) { + const a = + n.boundingBoxRect.width * + n.boundingBoxRect.height * + (n.position.weight || 1); + a > e && ((e = a), (t = n)); + } + return ( + (this._isPushed = !1), + void this._applyPosition(t.position, t.origin) + ); + } + if (this._canPush) + return ( + (this._isPushed = !0), + void this._applyPosition(o.position, o.originPoint) + ); + this._applyPosition(o.position, o.originPoint); + } + detach() { + this._clearPanelClasses(), + (this._lastPosition = null), + (this._previousPushAmount = null), + this._resizeSubscription.unsubscribe(); + } + dispose() { + this._isDisposed || + (this._boundingBox && + tM(this._boundingBox.style, { + top: "", + left: "", + right: "", + bottom: "", + height: "", + width: "", + alignItems: "", + justifyContent: "" + }), + this._pane && this._resetOverlayElementStyles(), + this._overlayRef && + this._overlayRef.hostElement.classList.remove(XO), + this.detach(), + this._positionChanges.complete(), + (this._overlayRef = this._boundingBox = null), + (this._isDisposed = !0)); + } + reapplyLastPosition() { + if ( + !this._isDisposed && + (!this._platform || this._platform.isBrowser) + ) { + (this._originRect = this._getOriginRect()), + (this._overlayRect = this._pane.getBoundingClientRect()), + (this._viewportRect = this._getNarrowedViewportRect()); + const t = this._lastPosition || this._preferredPositions[0], + e = this._getOriginPoint(this._originRect, t); + this._applyPosition(t, e); + } + } + withScrollableContainers(t) { + return (this._scrollables = t), this; + } + withPositions(t) { + return ( + (this._preferredPositions = t), + -1 === t.indexOf(this._lastPosition) && (this._lastPosition = null), + this._validatePositions(), + this + ); + } + withViewportMargin(t) { + return (this._viewportMargin = t), this; + } + withFlexibleDimensions(t = !0) { + return (this._hasFlexibleDimensions = t), this; + } + withGrowAfterOpen(t = !0) { + return (this._growAfterOpen = t), this; + } + withPush(t = !0) { + return (this._canPush = t), this; + } + withLockedPosition(t = !0) { + return (this._positionLocked = t), this; + } + setOrigin(t) { + return (this._origin = t), this; + } + withDefaultOffsetX(t) { + return (this._offsetX = t), this; + } + withDefaultOffsetY(t) { + return (this._offsetY = t), this; + } + withTransformOriginOn(t) { + return (this._transformOriginSelector = t), this; + } + _getOriginPoint(t, e) { + let n, a; + if ("center" == e.originX) n = t.left + t.width / 2; + else { + const a = this._isRtl() ? t.right : t.left, + o = this._isRtl() ? t.left : t.right; + n = "start" == e.originX ? a : o; + } + return { + x: n, + y: (a = + "center" == e.originY + ? t.top + t.height / 2 + : "top" == e.originY + ? t.top + : t.bottom) + }; + } + _getOverlayPoint(t, e, n) { + let a, o; + return ( + (a = + "center" == n.overlayX + ? -e.width / 2 + : "start" === n.overlayX + ? this._isRtl() + ? -e.width + : 0 + : this._isRtl() + ? 0 + : -e.width), + { + x: t.x + a, + y: + t.y + + (o = + "center" == n.overlayY + ? -e.height / 2 + : "top" == n.overlayY + ? 0 + : -e.height) + } + ); + } + _getOverlayFit(t, e, n, a) { + let { x: o, y: i } = t, + r = this._getOffset(a, "x"), + l = this._getOffset(a, "y"); + r && (o += r), l && (i += l); + let s = 0 - i, + c = i + e.height - n.height, + d = this._subtractOverflows(e.width, 0 - o, o + e.width - n.width), + u = this._subtractOverflows(e.height, s, c), + m = d * u; + return { + visibleArea: m, + isCompletelyWithinViewport: e.width * e.height === m, + fitsInViewportVertically: u === e.height, + fitsInViewportHorizontally: d == e.width + }; + } + _canFitWithFlexibleDimensions(t, e, n) { + if (this._hasFlexibleDimensions) { + const a = n.bottom - e.y, + o = n.right - e.x, + i = this._overlayRef.getConfig().minHeight, + r = this._overlayRef.getConfig().minWidth, + l = t.fitsInViewportHorizontally || (null != r && r <= o); + return (t.fitsInViewportVertically || (null != i && i <= a)) && l; + } + } + _pushOverlayOnScreen(t, e, n) { + if (this._previousPushAmount && this._positionLocked) + return { + x: t.x + this._previousPushAmount.x, + y: t.y + this._previousPushAmount.y + }; + const a = this._viewportRect, + o = Math.max(t.x + e.width - a.right, 0), + i = Math.max(t.y + e.height - a.bottom, 0), + r = Math.max(a.top - n.top - t.y, 0), + l = Math.max(a.left - n.left - t.x, 0); + let s = 0, + c = 0; + return ( + (this._previousPushAmount = { + x: (s = + e.width <= a.width + ? l || -o + : t.x < this._viewportMargin + ? a.left - n.left - t.x + : 0), + y: (c = + e.height <= a.height + ? r || -i + : t.y < this._viewportMargin + ? a.top - n.top - t.y + : 0) + }), + { x: t.x + s, y: t.y + c } + ); + } + _applyPosition(t, e) { + if ( + (this._setTransformOrigin(t), + this._setOverlayElementStyles(e, t), + this._setBoundingBoxStyles(e, t), + t.panelClass && this._addPanelClasses(t.panelClass), + (this._lastPosition = t), + this._positionChanges.observers.length) + ) { + const e = this._getScrollVisibility(), + n = new YO(t, e); + this._positionChanges.next(n); + } + this._isInitialRender = !1; + } + _setTransformOrigin(t) { + if (!this._transformOriginSelector) return; + const e = this._boundingBox.querySelectorAll( + this._transformOriginSelector + ); + let n, + a = t.overlayY; + n = + "center" === t.overlayX + ? "center" + : this._isRtl() + ? "start" === t.overlayX + ? "right" + : "left" + : "start" === t.overlayX + ? "left" + : "right"; + for (let o = 0; o < e.length; o++) + e[o].style.transformOrigin = `${n} ${a}`; + } + _calculateBoundingBoxRect(t, e) { + const n = this._viewportRect, + a = this._isRtl(); + let o, i, r, l, s, c; + if ("top" === e.overlayY) + o = n.height - (i = t.y) + this._viewportMargin; + else if ("bottom" === e.overlayY) + o = + n.height - + (r = n.height - t.y + 2 * this._viewportMargin) + + this._viewportMargin; + else { + const e = Math.min(n.bottom - t.y + n.top, t.y), + a = this._lastBoundingBoxSize.height; + (i = t.y - e), + (o = 2 * e) > a && + !this._isInitialRender && + !this._growAfterOpen && + (i = t.y - a / 2); + } + if (("end" === e.overlayX && !a) || ("start" === e.overlayX && a)) + (c = n.right - t.x + this._viewportMargin), (l = t.x - n.left); + else if ( + ("start" === e.overlayX && !a) || + ("end" === e.overlayX && a) + ) + (s = t.x), (l = n.right - t.x); + else { + const e = Math.min(n.right - t.x + n.left, t.x), + a = this._lastBoundingBoxSize.width; + (s = t.x - e), + (l = 2 * e) > a && + !this._isInitialRender && + !this._growAfterOpen && + (s = t.x - a / 2); + } + return { top: i, left: s, bottom: r, right: c, width: l, height: o }; + } + _setBoundingBoxStyles(t, e) { + const n = this._calculateBoundingBoxRect(t, e); + this._isInitialRender || + this._growAfterOpen || + ((n.height = Math.min(n.height, this._lastBoundingBoxSize.height)), + (n.width = Math.min(n.width, this._lastBoundingBoxSize.width))); + const a = {}; + if (this._hasExactPosition()) + (a.top = a.left = "0"), + (a.bottom = a.right = ""), + (a.width = a.height = "100%"); + else { + const t = this._overlayRef.getConfig().maxHeight, + o = this._overlayRef.getConfig().maxWidth; + (a.height = _p(n.height)), + (a.top = _p(n.top)), + (a.bottom = _p(n.bottom)), + (a.width = _p(n.width)), + (a.left = _p(n.left)), + (a.right = _p(n.right)), + (a.alignItems = + "center" === e.overlayX + ? "center" + : "end" === e.overlayX + ? "flex-end" + : "flex-start"), + (a.justifyContent = + "center" === e.overlayY + ? "center" + : "bottom" === e.overlayY + ? "flex-end" + : "flex-start"), + t && (a.maxHeight = _p(t)), + o && (a.maxWidth = _p(o)); + } + (this._lastBoundingBoxSize = n), tM(this._boundingBox.style, a); + } + _resetBoundingBoxStyles() { + tM(this._boundingBox.style, { + top: "0", + left: "0", + right: "0", + bottom: "0", + height: "", + width: "", + alignItems: "", + justifyContent: "" + }); + } + _resetOverlayElementStyles() { + tM(this._pane.style, { + top: "", + left: "", + bottom: "", + right: "", + position: "", + transform: "" + }); + } + _setOverlayElementStyles(t, e) { + const n = {}; + if (this._hasExactPosition()) { + const a = this._viewportRuler.getViewportScrollPosition(); + tM(n, this._getExactOverlayY(e, t, a)), + tM(n, this._getExactOverlayX(e, t, a)); + } else n.position = "static"; + let a = "", + o = this._getOffset(e, "x"), + i = this._getOffset(e, "y"); + o && (a += `translateX(${o}px) `), + i && (a += `translateY(${i}px)`), + (n.transform = a.trim()), + this._hasFlexibleDimensions && + this._overlayRef.getConfig().maxHeight && + (n.maxHeight = ""), + this._hasFlexibleDimensions && + this._overlayRef.getConfig().maxWidth && + (n.maxWidth = ""), + tM(this._pane.style, n); + } + _getExactOverlayY(t, e, n) { + let a = { top: null, bottom: null }, + o = this._getOverlayPoint(e, this._overlayRect, t); + this._isPushed && + (o = this._pushOverlayOnScreen(o, this._overlayRect, n)); + let i = this._overlayContainer + .getContainerElement() + .getBoundingClientRect().top; + return ( + (o.y -= i), + "bottom" === t.overlayY + ? (a.bottom = `${this._document.documentElement.clientHeight - + (o.y + this._overlayRect.height)}px`) + : (a.top = _p(o.y)), + a + ); + } + _getExactOverlayX(t, e, n) { + let a, + o = { left: null, right: null }, + i = this._getOverlayPoint(e, this._overlayRect, t); + return ( + this._isPushed && + (i = this._pushOverlayOnScreen(i, this._overlayRect, n)), + "right" == + (a = this._isRtl() + ? "end" === t.overlayX + ? "left" + : "right" + : "end" === t.overlayX + ? "right" + : "left") + ? (o.right = `${this._document.documentElement.clientWidth - + (i.x + this._overlayRect.width)}px`) + : (o.left = _p(i.x)), + o + ); + } + _getScrollVisibility() { + const t = this._getOriginRect(), + e = this._pane.getBoundingClientRect(), + n = this._scrollables.map(t => + t.getElementRef().nativeElement.getBoundingClientRect() + ); + return { + isOriginClipped: HO(t, n), + isOriginOutsideView: VO(t, n), + isOverlayClipped: HO(e, n), + isOverlayOutsideView: VO(e, n) + }; + } + _subtractOverflows(t, ...e) { + return e.reduce((t, e) => t - Math.max(e, 0), t); + } + _getNarrowedViewportRect() { + const t = this._document.documentElement.clientWidth, + e = this._document.documentElement.clientHeight, + n = this._viewportRuler.getViewportScrollPosition(); + return { + top: n.top + this._viewportMargin, + left: n.left + this._viewportMargin, + right: n.left + t - this._viewportMargin, + bottom: n.top + e - this._viewportMargin, + width: t - 2 * this._viewportMargin, + height: e - 2 * this._viewportMargin + }; + } + _isRtl() { + return "rtl" === this._overlayRef.getDirection(); + } + _hasExactPosition() { + return !this._hasFlexibleDimensions || this._isPushed; + } + _getOffset(t, e) { + return "x" === e + ? null == t.offsetX + ? this._offsetX + : t.offsetX + : null == t.offsetY + ? this._offsetY + : t.offsetY; + } + _validatePositions() { + if (!this._preferredPositions.length) + throw Error( + "FlexibleConnectedPositionStrategy: At least one position is required." + ); + this._preferredPositions.forEach(t => { + GO("originX", t.originX), + WO("originY", t.originY), + GO("overlayX", t.overlayX), + WO("overlayY", t.overlayY); + }); + } + _addPanelClasses(t) { + this._pane && + bp(t).forEach(t => { + "" !== t && + -1 === this._appliedPanelClasses.indexOf(t) && + (this._appliedPanelClasses.push(t), + this._pane.classList.add(t)); + }); + } + _clearPanelClasses() { + this._pane && + (this._appliedPanelClasses.forEach(t => { + this._pane.classList.remove(t); + }), + (this._appliedPanelClasses = [])); + } + _getOriginRect() { + const t = this._origin; + return t instanceof Ln + ? t.nativeElement.getBoundingClientRect() + : t instanceof HTMLElement + ? t.getBoundingClientRect() + : { + top: t.y, + bottom: t.y, + left: t.x, + right: t.x, + height: 0, + width: 0 + }; + } + } + function tM(t, e) { + for (let n in e) e.hasOwnProperty(n) && (t[n] = e[n]); + return t; + } + class eM { + constructor(t, e, n, a, o, i, r) { + (this._preferredPositions = []), + (this._positionStrategy = new JO(n, a, o, i, r) + .withFlexibleDimensions(!1) + .withPush(!1) + .withViewportMargin(0)), + this.withFallbackPosition(t, e); + } + get _isRtl() { + return "rtl" === this._overlayRef.getDirection(); + } + get onPositionChange() { + return this._positionStrategy.positionChanges; + } + get positions() { + return this._preferredPositions; + } + attach(t) { + (this._overlayRef = t), + this._positionStrategy.attach(t), + this._direction && + (t.setDirection(this._direction), (this._direction = null)); + } + dispose() { + this._positionStrategy.dispose(); + } + detach() { + this._positionStrategy.detach(); + } + apply() { + this._positionStrategy.apply(); + } + recalculateLastPosition() { + this._positionStrategy.reapplyLastPosition(); + } + withScrollableContainers(t) { + this._positionStrategy.withScrollableContainers(t); + } + withFallbackPosition(t, e, n, a) { + const o = new KO(t, e, n, a); + return ( + this._preferredPositions.push(o), + this._positionStrategy.withPositions(this._preferredPositions), + this + ); + } + withDirection(t) { + return ( + this._overlayRef + ? this._overlayRef.setDirection(t) + : (this._direction = t), + this + ); + } + withOffsetX(t) { + return this._positionStrategy.withDefaultOffsetX(t), this; + } + withOffsetY(t) { + return this._positionStrategy.withDefaultOffsetY(t), this; + } + withLockedPosition(t) { + return this._positionStrategy.withLockedPosition(t), this; + } + withPositions(t) { + return ( + (this._preferredPositions = t.slice()), + this._positionStrategy.withPositions(this._preferredPositions), + this + ); + } + setOrigin(t) { + return this._positionStrategy.setOrigin(t), this; + } + } + const nM = "cdk-global-overlay-wrapper"; + class aM { + constructor() { + (this._cssPosition = "static"), + (this._topOffset = ""), + (this._bottomOffset = ""), + (this._leftOffset = ""), + (this._rightOffset = ""), + (this._alignItems = ""), + (this._justifyContent = ""), + (this._width = ""), + (this._height = ""); + } + attach(t) { + const e = t.getConfig(); + (this._overlayRef = t), + this._width && !e.width && t.updateSize({ width: this._width }), + this._height && !e.height && t.updateSize({ height: this._height }), + t.hostElement.classList.add(nM), + (this._isDisposed = !1); + } + top(t = "") { + return ( + (this._bottomOffset = ""), + (this._topOffset = t), + (this._alignItems = "flex-start"), + this + ); + } + left(t = "") { + return ( + (this._rightOffset = ""), + (this._leftOffset = t), + (this._justifyContent = "flex-start"), + this + ); + } + bottom(t = "") { + return ( + (this._topOffset = ""), + (this._bottomOffset = t), + (this._alignItems = "flex-end"), + this + ); + } + right(t = "") { + return ( + (this._leftOffset = ""), + (this._rightOffset = t), + (this._justifyContent = "flex-end"), + this + ); + } + width(t = "") { + return ( + this._overlayRef + ? this._overlayRef.updateSize({ width: t }) + : (this._width = t), + this + ); + } + height(t = "") { + return ( + this._overlayRef + ? this._overlayRef.updateSize({ height: t }) + : (this._height = t), + this + ); + } + centerHorizontally(t = "") { + return this.left(t), (this._justifyContent = "center"), this; + } + centerVertically(t = "") { + return this.top(t), (this._alignItems = "center"), this; + } + apply() { + if (!this._overlayRef || !this._overlayRef.hasAttached()) return; + const t = this._overlayRef.overlayElement.style, + e = this._overlayRef.hostElement.style, + n = this._overlayRef.getConfig(); + (t.position = this._cssPosition), + (t.marginLeft = "100%" === n.width ? "0" : this._leftOffset), + (t.marginTop = "100%" === n.height ? "0" : this._topOffset), + (t.marginBottom = this._bottomOffset), + (t.marginRight = this._rightOffset), + "100%" === n.width + ? (e.justifyContent = "flex-start") + : "center" === this._justifyContent + ? (e.justifyContent = "center") + : "rtl" === this._overlayRef.getConfig().direction + ? "flex-start" === this._justifyContent + ? (e.justifyContent = "flex-end") + : "flex-end" === this._justifyContent && + (e.justifyContent = "flex-start") + : (e.justifyContent = this._justifyContent), + (e.alignItems = + "100%" === n.height ? "flex-start" : this._alignItems); + } + dispose() { + if (this._isDisposed || !this._overlayRef) return; + const t = this._overlayRef.overlayElement.style, + e = this._overlayRef.hostElement, + n = e.style; + e.classList.remove(nM), + (n.justifyContent = n.alignItems = t.marginTop = t.marginBottom = t.marginLeft = t.marginRight = t.position = + ""), + (this._overlayRef = null), + (this._isDisposed = !0); + } + } + const oM = (() => { + class t { + constructor(t, e, n, a) { + (this._viewportRuler = t), + (this._document = e), + (this._platform = n), + (this._overlayContainer = a); + } + global() { + return new aM(); + } + connectedTo(t, e, n) { + return new eM( + e, + n, + t, + this._viewportRuler, + this._document, + this._platform, + this._overlayContainer + ); + } + flexibleConnectedTo(t) { + return new JO( + t, + this._viewportRuler, + this._document, + this._platform, + this._overlayContainer + ); + } + } + return ( + (t.ngInjectableDef = bt({ + factory: function() { + return new t(It(NO), It(Bs), It(Op), It(ZO)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(); + let iM = 0; + const rM = (() => + class { + constructor(t, e, n, a, o, i, r, l, s, c) { + (this.scrollStrategies = t), + (this._overlayContainer = e), + (this._componentFactoryResolver = n), + (this._positionBuilder = a), + (this._keyboardDispatcher = o), + (this._injector = i), + (this._ngZone = r), + (this._document = l), + (this._directionality = s), + (this._location = c); + } + create(t) { + const e = this._createHostElement(), + n = this._createPaneElement(e), + a = this._createPortalOutlet(n), + o = new qO(t); + return ( + (o.direction = o.direction || this._directionality.value), + new QO( + a, + e, + n, + o, + this._ngZone, + this._keyboardDispatcher, + this._document, + this._location + ) + ); + } + position() { + return this._positionBuilder; + } + _createPaneElement(t) { + const e = this._document.createElement("div"); + return ( + (e.id = `cdk-overlay-${iM++}`), + e.classList.add("cdk-overlay-pane"), + t.appendChild(e), + e + ); + } + _createHostElement() { + const t = this._document.createElement("div"); + return ( + this._overlayContainer.getContainerElement().appendChild(t), t + ); + } + _createPortalOutlet(t) { + return ( + this._appRef || (this._appRef = this._injector.get(Ji)), + new LP( + t, + this._componentFactoryResolver, + this._appRef, + this._injector + ) + ); + } + })(), + lM = new Ht("cdk-connected-overlay-scroll-strategy"); + function sM(t) { + return () => t.scrollStrategies.reposition(); + } + const cM = (() => class {})(); + class dM { + constructor() { + (this.role = "dialog"), + (this.panelClass = ""), + (this.hasBackdrop = !0), + (this.backdropClass = ""), + (this.disableClose = !1), + (this.width = ""), + (this.height = ""), + (this.maxWidth = "80vw"), + (this.data = null), + (this.ariaDescribedBy = null), + (this.ariaLabelledBy = null), + (this.ariaLabel = null), + (this.autoFocus = !0), + (this.restoreFocus = !0), + (this.closeOnNavigation = !0); + } + } + function uM() { + throw Error( + "Attempting to attach dialog content after content is already attached" + ); + } + const mM = (() => + class extends zP { + constructor(t, e, n, a, o) { + super(), + (this._elementRef = t), + (this._focusTrapFactory = e), + (this._changeDetectorRef = n), + (this._document = a), + (this._config = o), + (this._elementFocusedBeforeDialogWasOpened = null), + (this._state = "enter"), + (this._animationStateChanged = new li()), + (this._ariaLabelledBy = o.ariaLabelledBy || null); + } + attachComponentPortal(t) { + return ( + this._portalOutlet.hasAttached() && uM(), + this._savePreviouslyFocusedElement(), + this._portalOutlet.attachComponentPortal(t) + ); + } + attachTemplatePortal(t) { + return ( + this._portalOutlet.hasAttached() && uM(), + this._savePreviouslyFocusedElement(), + this._portalOutlet.attachTemplatePortal(t) + ); + } + _trapFocus() { + this._focusTrap || + (this._focusTrap = this._focusTrapFactory.create( + this._elementRef.nativeElement + )), + this._config.autoFocus && + this._focusTrap.focusInitialElementWhenReady(); + } + _restoreFocus() { + const t = this._elementFocusedBeforeDialogWasOpened; + this._config.restoreFocus && + t && + "function" == typeof t.focus && + t.focus(), + this._focusTrap && this._focusTrap.destroy(); + } + _savePreviouslyFocusedElement() { + this._document && + ((this._elementFocusedBeforeDialogWasOpened = this._document.activeElement), + this._elementRef.nativeElement.focus && + Promise.resolve().then(() => + this._elementRef.nativeElement.focus() + )); + } + _onAnimationDone(t) { + "enter" === t.toState + ? this._trapFocus() + : "exit" === t.toState && this._restoreFocus(), + this._animationStateChanged.emit(t); + } + _onAnimationStart(t) { + this._animationStateChanged.emit(t); + } + _startExitAnimation() { + (this._state = "exit"), this._changeDetectorRef.markForCheck(); + } + })(); + let hM = 0; + class gM { + constructor(t, e, n, a = `mat-dialog-${hM++}`) { + (this._overlayRef = t), + (this._containerInstance = e), + (this.id = a), + (this.disableClose = this._containerInstance._config.disableClose), + (this._afterOpened = new w()), + (this._afterClosed = new w()), + (this._beforeClosed = new w()), + (e._id = a), + e._animationStateChanged + .pipe( + Ql(t => "done" === t.phaseName && "enter" === t.toState), + Zc(1) + ) + .subscribe(() => { + this._afterOpened.next(), this._afterOpened.complete(); + }), + e._animationStateChanged + .pipe( + Ql(t => "done" === t.phaseName && "exit" === t.toState), + Zc(1) + ) + .subscribe(() => this._overlayRef.dispose()), + t.detachments().subscribe(() => { + this._beforeClosed.next(this._result), + this._beforeClosed.complete(), + this._afterClosed.next(this._result), + this._afterClosed.complete(), + (this.componentInstance = null), + this._overlayRef.dispose(); + }), + t + .keydownEvents() + .pipe(Ql(t => t.keyCode === Rp && !this.disableClose && !Up(t))) + .subscribe(t => { + t.preventDefault(), this.close(); + }); + } + close(t) { + (this._result = t), + this._containerInstance._animationStateChanged + .pipe( + Ql(t => "start" === t.phaseName), + Zc(1) + ) + .subscribe(() => { + this._beforeClosed.next(t), + this._beforeClosed.complete(), + this._overlayRef.detachBackdrop(); + }), + this._containerInstance._startExitAnimation(); + } + afterOpened() { + return this._afterOpened.asObservable(); + } + afterClosed() { + return this._afterClosed.asObservable(); + } + beforeClosed() { + return this._beforeClosed.asObservable(); + } + backdropClick() { + return this._overlayRef.backdropClick(); + } + keydownEvents() { + return this._overlayRef.keydownEvents(); + } + updatePosition(t) { + let e = this._getPositionStrategy(); + return ( + t && (t.left || t.right) + ? t.left + ? e.left(t.left) + : e.right(t.right) + : e.centerHorizontally(), + t && (t.top || t.bottom) + ? t.top + ? e.top(t.top) + : e.bottom(t.bottom) + : e.centerVertically(), + this._overlayRef.updatePosition(), + this + ); + } + updateSize(t = "", e = "") { + return ( + this._getPositionStrategy() + .width(t) + .height(e), + this._overlayRef.updatePosition(), + this + ); + } + addPanelClass(t) { + return this._overlayRef.addPanelClass(t), this; + } + removePanelClass(t) { + return this._overlayRef.removePanelClass(t), this; + } + afterOpen() { + return this.afterOpened(); + } + beforeClose() { + return this.beforeClosed(); + } + _getPositionStrategy() { + return this._overlayRef.getConfig().positionStrategy; + } + } + const pM = new Ht("MatDialogData"), + fM = new Ht("mat-dialog-default-options"), + bM = new Ht("mat-dialog-scroll-strategy"); + function _M(t) { + return () => t.scrollStrategies.block(); + } + const CM = (() => + class { + constructor(t, e, n, a, o, i, r) { + (this._overlay = t), + (this._injector = e), + (this._location = n), + (this._defaultOptions = a), + (this._parentDialog = i), + (this._overlayContainer = r), + (this._openDialogsAtThisLevel = []), + (this._afterAllClosedAtThisLevel = new w()), + (this._afterOpenedAtThisLevel = new w()), + (this._ariaHiddenElements = new Map()), + (this.afterAllClosed = Tc(() => + this.openDialogs.length + ? this._afterAllClosed + : this._afterAllClosed.pipe(id(void 0)) + )), + (this._scrollStrategy = o); + } + get openDialogs() { + return this._parentDialog + ? this._parentDialog.openDialogs + : this._openDialogsAtThisLevel; + } + get afterOpened() { + return this._parentDialog + ? this._parentDialog.afterOpened + : this._afterOpenedAtThisLevel; + } + get afterOpen() { + return this.afterOpened; + } + get _afterAllClosed() { + const t = this._parentDialog; + return t ? t._afterAllClosed : this._afterAllClosedAtThisLevel; + } + open(t, e) { + if ( + (e = (function(t, e) { + return Object.assign({}, e, t); + })(e, this._defaultOptions || new dM())).id && + this.getDialogById(e.id) + ) + throw Error( + `Dialog with id "${e.id}" exists already. The dialog id must be unique.` + ); + const n = this._createOverlay(e), + a = this._attachDialogContainer(n, e), + o = this._attachDialogContent(t, a, n, e); + return ( + this.openDialogs.length || + this._hideNonDialogContentFromAssistiveTechnology(), + this.openDialogs.push(o), + o.afterClosed().subscribe(() => this._removeOpenDialog(o)), + this.afterOpened.next(o), + o + ); + } + closeAll() { + this._closeDialogs(this.openDialogs); + } + getDialogById(t) { + return this.openDialogs.find(e => e.id === t); + } + ngOnDestroy() { + this._closeDialogs(this._openDialogsAtThisLevel), + this._afterAllClosedAtThisLevel.complete(), + this._afterOpenedAtThisLevel.complete(); + } + _createOverlay(t) { + const e = this._getOverlayConfig(t); + return this._overlay.create(e); + } + _getOverlayConfig(t) { + const e = new qO({ + positionStrategy: this._overlay.position().global(), + scrollStrategy: t.scrollStrategy || this._scrollStrategy(), + panelClass: t.panelClass, + hasBackdrop: t.hasBackdrop, + direction: t.direction, + minWidth: t.minWidth, + minHeight: t.minHeight, + maxWidth: t.maxWidth, + maxHeight: t.maxHeight, + disposeOnNavigation: t.closeOnNavigation + }); + return t.backdropClass && (e.backdropClass = t.backdropClass), e; + } + _attachDialogContainer(t, e) { + const n = new VP( + (e && e.viewContainerRef && e.viewContainerRef.injector) || + this._injector, + new WeakMap([[dM, e]]) + ), + a = new DP(mM, e.viewContainerRef, n); + return t.attach(a).instance; + } + _attachDialogContent(t, e, n, a) { + const o = new gM(n, e, this._location, a.id); + if ( + (a.hasBackdrop && + n.backdropClick().subscribe(() => { + o.disableClose || o.close(); + }), + t instanceof ca) + ) + e.attachTemplatePortal( + new NP(t, null, { $implicit: a.data, dialogRef: o }) + ); + else { + const n = this._createInjector(a, o, e), + i = e.attachComponentPortal(new DP(t, void 0, n)); + o.componentInstance = i.instance; + } + return ( + o.updateSize(a.width, a.height).updatePosition(a.position), o + ); + } + _createInjector(t, e, n) { + const a = t && t.viewContainerRef && t.viewContainerRef.injector, + o = new WeakMap([[mM, n], [pM, t.data], [gM, e]]); + return ( + !t.direction || + (a && a.get(hp, null)) || + o.set(hp, { value: t.direction, change: $l() }), + new VP(a || this._injector, o) + ); + } + _removeOpenDialog(t) { + const e = this.openDialogs.indexOf(t); + e > -1 && + (this.openDialogs.splice(e, 1), + this.openDialogs.length || + (this._ariaHiddenElements.forEach((t, e) => { + t + ? e.setAttribute("aria-hidden", t) + : e.removeAttribute("aria-hidden"); + }), + this._ariaHiddenElements.clear(), + this._afterAllClosed.next())); + } + _hideNonDialogContentFromAssistiveTechnology() { + const t = this._overlayContainer.getContainerElement(); + if (t.parentElement) { + const e = t.parentElement.children; + for (let n = e.length - 1; n > -1; n--) { + let a = e[n]; + a === t || + "SCRIPT" === a.nodeName || + "STYLE" === a.nodeName || + a.hasAttribute("aria-live") || + (this._ariaHiddenElements.set( + a, + a.getAttribute("aria-hidden") + ), + a.setAttribute("aria-hidden", "true")); + } + } + } + _closeDialogs(t) { + let e = t.length; + for (; e--; ) t[e].close(); + } + })(), + PM = (() => class {})(); + var OM = Ia({ + encapsulation: 0, + styles: [[".setup-icon[_ngcontent-%COMP%]{font-size:40px}"]], + data: {} + }); + function MM(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 23, + "mat-card", + [["class", "setup-card mat-card"]], + null, + null, + null, + $f, + Gf + )), + Uo(1, 49152, null, 0, cp, [], null, null), + (t()(), + Cr( + 2, + 0, + null, + 0, + 12, + "mat-card-header", + [["class", "mat-card-header"]], + null, + null, + null, + Qf, + Zf + )), + Uo(3, 49152, null, 0, dp, [], null, null), + (t()(), + Cr( + 4, + 0, + null, + 0, + 4, + "div", + [["class", "mat-card-avatar"], ["mat-card-avatar", ""]], + null, + null, + null, + null, + null + )), + Uo(5, 16384, null, 0, sp, [], null, null), + (t()(), + Cr( + 6, + 0, + null, + null, + 2, + "mat-icon", + [ + ["aria-hidden", "false"], + ["class", "setup-icon mat-icon notranslate"], + ["role", "img"] + ], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + _b, + bb + )), + Uo( + 7, + 9158656, + null, + 0, + pb, + [Ln, rb, [8, "false"], [2, ub]], + null, + null + ), + (t()(), Rr(-1, 0, ["update"])), + (t()(), + Cr( + 9, + 0, + null, + 1, + 2, + "mat-card-title", + [["class", "mat-card-title"]], + null, + null, + null, + null, + null + )), + Uo(10, 16384, null, 0, ip, [], null, null), + (t()(), Rr(-1, null, ["Setup"])), + (t()(), + Cr( + 12, + 0, + null, + 1, + 2, + "mat-card-subtitle", + [["class", "mat-card-subtitle"]], + null, + null, + null, + null, + null + )), + Uo(13, 16384, null, 0, rp, [], null, null), + (t()(), Rr(-1, null, ["Step 1"])), + (t()(), + Cr( + 15, + 0, + null, + 0, + 2, + "mat-card-content", + [["class", "mat-card-content"]], + null, + null, + null, + null, + null + )), + Uo(16, 16384, null, 0, op, [], null, null), + (t()(), + Rr(-1, null, [ + " Beat On will now uninstall Beat Saber to prepare for modding process to add custom levels to Beat Saber " + ])), + (t()(), + Cr( + 18, + 0, + null, + 0, + 5, + "mat-card-actions", + [["class", "mat-card-actions"]], + [[2, "mat-card-actions-align-end", null]], + null, + null, + null, + null + )), + Uo(19, 16384, null, 0, lp, [], null, null), + (t()(), + Cr( + 20, + 0, + null, + null, + 3, + "button", + [ + ["color", "accent"], + ["fast-click", ""], + ["mat-raised-button", ""] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && (a = !1 !== t.component.clickBegin() && a), a + ); + }, + vP, + yP + )), + Uo( + 21, + 180224, + null, + 0, + Mb, + [Ln, _f, [2, OP]], + { color: [0, "color"] }, + null + ), + Uo(22, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, 0, ["Uninstall Beat Saber"])) + ], + function(t, e) { + t(e, 7, 0), t(e, 21, 0, "accent"); + }, + function(t, e) { + t( + e, + 6, + 0, + Io(e, 7).inline, + "primary" !== Io(e, 7).color && + "accent" !== Io(e, 7).color && + "warn" !== Io(e, 7).color + ), + t(e, 18, 0, "end" === Io(e, 19).align), + t( + e, + 20, + 0, + Io(e, 21).disabled || null, + "NoopAnimations" === Io(e, 21)._animationMode + ); + } + ); + } + function yM(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "app-setup-step1", + [], + null, + null, + null, + MM, + OM + )), + Uo(1, 114688, null, 0, AP, [vc, CM], null, null) + ], + function(t, e) { + t(e, 1, 0); + }, + null + ); + } + var vM = Co("app-setup-step1", AP, yM, {}, {}, []); + class xM { + constructor(t, e) { + (this.beatOnApi = t), (this.dialog = e); + } + ngOnInit() {} + clickBegin() { + const t = this.dialog.open(Bg, { + width: "450px", + height: "350px", + disableClose: !0, + data: { mainText: "Please wait..." } + }); + this.beatOnApi.installModStep2().subscribe(e => { + t.close(); + }); + } + } + var kM = Ia({ encapsulation: 0, styles: [[""]], data: {} }); + function wM(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 23, + "mat-card", + [["class", "setup-card mat-card"]], + null, + null, + null, + $f, + Gf + )), + Uo(1, 49152, null, 0, cp, [], null, null), + (t()(), + Cr( + 2, + 0, + null, + 0, + 12, + "mat-card-header", + [["class", "mat-card-header"]], + null, + null, + null, + Qf, + Zf + )), + Uo(3, 49152, null, 0, dp, [], null, null), + (t()(), + Cr( + 4, + 0, + null, + 0, + 4, + "div", + [["class", "mat-card-avatar"], ["mat-card-avatar", ""]], + null, + null, + null, + null, + null + )), + Uo(5, 16384, null, 0, sp, [], null, null), + (t()(), + Cr( + 6, + 0, + null, + null, + 2, + "mat-icon", + [ + ["aria-hidden", "false"], + ["class", "setup-icon mat-icon notranslate"], + ["role", "img"] + ], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + _b, + bb + )), + Uo( + 7, + 9158656, + null, + 0, + pb, + [Ln, rb, [8, "false"], [2, ub]], + null, + null + ), + (t()(), Rr(-1, 0, ["update"])), + (t()(), + Cr( + 9, + 0, + null, + 1, + 2, + "mat-card-title", + [["class", "mat-card-title"]], + null, + null, + null, + null, + null + )), + Uo(10, 16384, null, 0, ip, [], null, null), + (t()(), Rr(-1, null, ["Setup"])), + (t()(), + Cr( + 12, + 0, + null, + 1, + 2, + "mat-card-subtitle", + [["class", "mat-card-subtitle"]], + null, + null, + null, + null, + null + )), + Uo(13, 16384, null, 0, rp, [], null, null), + (t()(), Rr(-1, null, ["Step 2"])), + (t()(), + Cr( + 15, + 0, + null, + 0, + 2, + "mat-card-content", + [["class", "mat-card-content"]], + null, + null, + null, + null, + null + )), + Uo(16, 16384, null, 0, op, [], null, null), + (t()(), + Rr(-1, null, [ + " Beat On will now patch Beat Saber to allow the ability to add custom levels and custom playlists. This also adds the requirement for Beat Saber to have permissions to external storage. " + ])), + (t()(), + Cr( + 18, + 0, + null, + 0, + 5, + "mat-card-actions", + [["class", "mat-card-actions"]], + [[2, "mat-card-actions-align-end", null]], + null, + null, + null, + null + )), + Uo(19, 16384, null, 0, lp, [], null, null), + (t()(), + Cr( + 20, + 0, + null, + null, + 3, + "button", + [ + ["color", "accent"], + ["fast-click", ""], + ["mat-raised-button", ""] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && (a = !1 !== t.component.clickBegin() && a), a + ); + }, + vP, + yP + )), + Uo( + 21, + 180224, + null, + 0, + Mb, + [Ln, _f, [2, OP]], + { color: [0, "color"] }, + null + ), + Uo(22, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, 0, ["Patch Beat Saber"])) + ], + function(t, e) { + t(e, 7, 0), t(e, 21, 0, "accent"); + }, + function(t, e) { + t( + e, + 6, + 0, + Io(e, 7).inline, + "primary" !== Io(e, 7).color && + "accent" !== Io(e, 7).color && + "warn" !== Io(e, 7).color + ), + t(e, 18, 0, "end" === Io(e, 19).align), + t( + e, + 20, + 0, + Io(e, 21).disabled || null, + "NoopAnimations" === Io(e, 21)._animationMode + ); + } + ); + } + function SM(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "app-setup-step2", + [], + null, + null, + null, + wM, + kM + )), + Uo(1, 114688, null, 0, xM, [vc, CM], null, null) + ], + function(t, e) { + t(e, 1, 0); + }, + null + ); + } + var EM = Co("app-setup-step2", xM, SM, {}, {}, []); + class IM { + constructor(t, e, n) { + (this.beatOnApi = t), (this.dialog = e), (this.router = n); + } + ngOnInit() {} + clickBegin() { + const t = this.dialog.open(Bg, { + width: "450px", + height: "350px", + disableClose: !0, + data: { mainText: "Please wait..." } + }); + this.beatOnApi.installModStep3().subscribe(e => { + let n; + t.close(); + let a = 0, + o = () => { + ++a > 10 + ? this.router.navigateByUrl("/") + : this.beatOnApi.getModStatus().subscribe(t => { + "ModInstalled" != t.CurrentStatus + ? (n = setTimeout(o, 5e3)) + : this.router.navigateByUrl("/"); + }); + }; + n = setTimeout(o, 5e3); + }); + } + } + var AM = Ia({ encapsulation: 0, styles: [[""]], data: {} }); + function TM(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 36, + "mat-card", + [["class", "setup-card mat-card"]], + null, + null, + null, + $f, + Gf + )), + Uo(1, 49152, null, 0, cp, [], null, null), + (t()(), + Cr( + 2, + 0, + null, + 0, + 12, + "mat-card-header", + [["class", "mat-card-header"]], + null, + null, + null, + Qf, + Zf + )), + Uo(3, 49152, null, 0, dp, [], null, null), + (t()(), + Cr( + 4, + 0, + null, + 0, + 4, + "div", + [["class", "mat-card-avatar"], ["mat-card-avatar", ""]], + null, + null, + null, + null, + null + )), + Uo(5, 16384, null, 0, sp, [], null, null), + (t()(), + Cr( + 6, + 0, + null, + null, + 2, + "mat-icon", + [ + ["aria-hidden", "false"], + ["class", "setup-icon mat-icon notranslate"], + ["role", "img"] + ], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + _b, + bb + )), + Uo( + 7, + 9158656, + null, + 0, + pb, + [Ln, rb, [8, "false"], [2, ub]], + null, + null + ), + (t()(), Rr(-1, 0, ["update"])), + (t()(), + Cr( + 9, + 0, + null, + 1, + 2, + "mat-card-title", + [["class", "mat-card-title"]], + null, + null, + null, + null, + null + )), + Uo(10, 16384, null, 0, ip, [], null, null), + (t()(), Rr(-1, null, ["Setup"])), + (t()(), + Cr( + 12, + 0, + null, + 1, + 2, + "mat-card-subtitle", + [["class", "mat-card-subtitle"]], + null, + null, + null, + null, + null + )), + Uo(13, 16384, null, 0, rp, [], null, null), + (t()(), Rr(-1, null, ["Step 3"])), + (t()(), + Cr( + 15, + 0, + null, + 0, + 15, + "mat-card-content", + [["class", "mat-card-content"]], + null, + null, + null, + null, + null + )), + Uo(16, 16384, null, 0, op, [], null, null), + (t()(), + Cr(17, 0, null, null, 1, "p", [], null, null, null, null, null)), + (t()(), + Rr(-1, null, [ + "Beat On will now reinstall modded Beat Saber. Upon launching Beat Saber you will be prompted to allow Beat Saber permissions to access external storage. This will only happen once." + ])), + (t()(), + Cr(19, 0, null, null, 1, "p", [], null, null, null, null, null)), + (t()(), + Rr(-1, null, [ + 'If you do not already have untrusted sources enabled, you may be prompted to "allow untrusted sources" and will be directed to the settings page where you will need to turn on the option.' + ])), + (t()(), + Cr( + 21, + 0, + null, + null, + 1, + "h2", + [["style", "color: red"]], + null, + null, + null, + null, + null + )), + (t()(), Rr(-1, null, ["IMPORTANT"])), + (t()(), + Cr(23, 0, null, null, 7, "ul", [], null, null, null, null, null)), + (t()(), + Cr(24, 0, null, null, 4, "li", [], null, null, null, null, null)), + (t()(), + Rr(-1, null, ["After installation has completed, choose the "])), + (t()(), + Cr( + 26, + 0, + null, + null, + 1, + "b", + [["style", "color: green"]], + null, + null, + null, + null, + null + )), + (t()(), Rr(-1, null, ["DONE"])), + (t()(), + Rr(-1, null, [ + " button. Do not press the OPEN button, Beat Saber will not launch from here." + ])), + (t()(), + Cr(29, 0, null, null, 1, "li", [], null, null, null, null, null)), + (t()(), + Rr(-1, null, [ + 'When the modded APK gets installed, it will probably tell you that you don\'t have "untrusted sources" enabled and will offer to take you to the settings page. Go to the settings page, and turn on the switch for allowing untrusted sources, then you can continue installing the modded APK.' + ])), + (t()(), + Cr( + 31, + 0, + null, + 0, + 5, + "mat-card-actions", + [["class", "mat-card-actions"]], + [[2, "mat-card-actions-align-end", null]], + null, + null, + null, + null + )), + Uo(32, 16384, null, 0, lp, [], null, null), + (t()(), + Cr( + 33, + 0, + null, + null, + 3, + "button", + [ + ["color", "accent"], + ["fast-click", ""], + ["mat-raised-button", ""] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && (a = !1 !== t.component.clickBegin() && a), a + ); + }, + vP, + yP + )), + Uo( + 34, + 180224, + null, + 0, + Mb, + [Ln, _f, [2, OP]], + { color: [0, "color"] }, + null + ), + Uo(35, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, 0, ["Install Modded Beat Saber"])) + ], + function(t, e) { + t(e, 7, 0), t(e, 34, 0, "accent"); + }, + function(t, e) { + t( + e, + 6, + 0, + Io(e, 7).inline, + "primary" !== Io(e, 7).color && + "accent" !== Io(e, 7).color && + "warn" !== Io(e, 7).color + ), + t(e, 31, 0, "end" === Io(e, 32).align), + t( + e, + 33, + 0, + Io(e, 34).disabled || null, + "NoopAnimations" === Io(e, 34)._animationMode + ); + } + ); + } + function RM(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "app-setup-step3", + [], + null, + null, + null, + TM, + AM + )), + Uo(1, 114688, null, 0, IM, [vc, CM, jh], null, null) + ], + function(t, e) { + t(e, 1, 0); + }, + null + ); + } + var DM = Co("app-setup-step3", IM, RM, {}, {}, []); + const NM = new Ht("MatInkBarPositioner", { + providedIn: "root", + factory: function() { + return t => ({ + left: t ? (t.offsetLeft || 0) + "px" : "0", + width: t ? (t.offsetWidth || 0) + "px" : "0" + }); + } + }), + zM = (() => + class { + constructor(t, e, n) { + (this._elementRef = t), + (this._ngZone = e), + (this._inkBarPositioner = n); + } + alignToElement(t) { + this.show(), + "undefined" != typeof requestAnimationFrame + ? this._ngZone.runOutsideAngular(() => { + requestAnimationFrame(() => this._setStyles(t)); + }) + : this._setStyles(t); + } + show() { + this._elementRef.nativeElement.style.visibility = "visible"; + } + hide() { + this._elementRef.nativeElement.style.visibility = "hidden"; + } + _setStyles(t) { + const e = this._inkBarPositioner(t), + n = this._elementRef.nativeElement; + (n.style.left = e.left), (n.style.width = e.width); + } + })(); + class LM { + constructor(t) { + this._elementRef = t; + } + } + const FM = xf(vf(LM, "primary")), + BM = (() => + class extends FM { + constructor(t, e, n, a, o) { + super(t), + (this._dir = e), + (this._ngZone = n), + (this._changeDetectorRef = a), + (this._viewportRuler = o), + (this._onDestroy = new w()); + } + get backgroundColor() { + return this._backgroundColor; + } + set backgroundColor(t) { + const e = this._elementRef.nativeElement; + e.classList.remove(`mat-background-${this.backgroundColor}`), + t && e.classList.add(`mat-background-${t}`), + (this._backgroundColor = t); + } + updateActiveLink(t) { + (this._activeLinkChanged = !!t), + this._changeDetectorRef.markForCheck(); + } + ngAfterContentInit() { + this._ngZone.runOutsideAngular(() => + X( + this._dir ? this._dir.change : $l(null), + this._viewportRuler.change(10) + ) + .pipe(oO(this._onDestroy)) + .subscribe(() => this._alignInkBar()) + ); + } + ngAfterContentChecked() { + if (this._activeLinkChanged) { + const t = this._tabLinks.find(t => t.active); + (this._activeLinkElement = t ? t._elementRef : null), + this._alignInkBar(), + (this._activeLinkChanged = !1); + } + } + ngOnDestroy() { + this._onDestroy.next(), this._onDestroy.complete(); + } + _alignInkBar() { + this._activeLinkElement + ? (this._inkBar.show(), + this._inkBar.alignToElement( + this._activeLinkElement.nativeElement + )) + : this._inkBar.hide(); + } + })(); + class VM {} + const HM = kf(xf(yf(VM))), + jM = (() => + class extends HM { + constructor(t, e, n, a, o, i, r) { + super(), + (this._tabNavBar = t), + (this._elementRef = e), + (this._focusMonitor = r), + (this._isActive = !1), + (this._tabLinkRipple = new jf(this, n, e, a)), + this._tabLinkRipple.setupTriggerEvents(e.nativeElement), + (this.rippleConfig = o || {}), + (this.tabIndex = parseInt(i) || 0), + r.monitor(e); + } + get active() { + return this._isActive; + } + set active(t) { + t !== this._isActive && + ((this._isActive = t), + this._tabNavBar.updateActiveLink(this._elementRef)); + } + get rippleDisabled() { + return ( + this.disabled || + this.disableRipple || + this._tabNavBar.disableRipple || + !!this.rippleConfig.disabled + ); + } + ngOnDestroy() { + this._tabLinkRipple._removeTriggerEvents(), + this._focusMonitor.stopMonitoring(this._elementRef); + } + })(), + UM = (() => class {})(), + qM = (() => class {})(); + class KM { + constructor(t = !1, e = "all", n = "", a = "", o = 0) { + (this.matches = t), + (this.mediaQuery = e), + (this.mqAlias = n), + (this.suffix = a), + (this.priority = o), + (this.property = ""); + } + clone() { + return new KM( + this.matches, + this.mediaQuery, + this.mqAlias, + this.suffix + ); + } + } + const YM = (() => { + class t { + constructor() { + this.stylesheet = new Map(); + } + addStyleToElement(t, e, n) { + const a = this.stylesheet.get(t); + a ? a.set(e, n) : this.stylesheet.set(t, new Map([[e, n]])); + } + clearStyles() { + this.stylesheet.clear(); + } + getStyleForElement(t, e) { + const n = this.stylesheet.get(t); + let a = ""; + if (n) { + const t = n.get(e); + ("number" != typeof t && "string" != typeof t) || (a = t + ""); + } + return a; + } + } + return ( + (t.ngInjectableDef = _t({ + factory: function() { + return new t(); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + WM = { + addFlexToParent: !0, + addOrientationBps: !1, + disableDefaultBps: !1, + disableVendorPrefixes: !1, + serverLoaded: !1, + useColumnBasisZero: !0, + printWithBreakpoints: [], + mediaTriggerAutoRestore: !0, + ssrObserveBreakpoints: [] + }, + GM = new Ht("Flex Layout token, config options for the library", { + providedIn: "root", + factory: () => WM + }), + $M = new Ht("FlexLayoutServerLoaded", { + providedIn: "root", + factory: () => !1 + }), + ZM = new Ht( + "Flex Layout token, collect all breakpoints into one provider", + { providedIn: "root", factory: () => null } + ); + function QM(t, e) { + return ( + (t = t ? t.clone() : new KM()), + e && + ((t.mqAlias = e.alias), + (t.mediaQuery = e.mediaQuery), + (t.suffix = e.suffix), + (t.priority = e.priority)), + t + ); + } + const XM = "inline", + JM = ["row", "column", "row-reverse", "column-reverse"]; + function ty(t) { + if (t) + switch (t.toLowerCase()) { + case "reverse": + case "wrap-reverse": + case "reverse-wrap": + t = "wrap-reverse"; + break; + case "no": + case "none": + case "nowrap": + t = "nowrap"; + break; + default: + t = "wrap"; + } + return t; + } + class ey { + constructor(t, e, n, a) { + (this.elementRef = t), + (this.styleBuilder = e), + (this.styler = n), + (this.marshal = a), + (this.DIRECTIVE_KEY = ""), + (this.inputs = []), + (this.mru = {}), + (this.destroySubject = new w()), + (this.styleCache = new Map()); + } + get parentElement() { + return this.elementRef.nativeElement.parentElement; + } + get nativeElement() { + return this.elementRef.nativeElement; + } + get activatedValue() { + return this.marshal.getValue(this.nativeElement, this.DIRECTIVE_KEY); + } + set activatedValue(t) { + this.marshal.setValue( + this.nativeElement, + this.DIRECTIVE_KEY, + t, + this.marshal.activatedAlias + ); + } + ngOnChanges(t) { + Object.keys(t).forEach(e => { + if (-1 !== this.inputs.indexOf(e)) { + const n = e + .split(".") + .slice(1) + .join("."); + this.setValue(t[e].currentValue, n); + } + }); + } + ngOnDestroy() { + this.destroySubject.next(), + this.destroySubject.complete(), + this.marshal.releaseElement(this.nativeElement); + } + init(t = []) { + this.marshal.init( + this.elementRef.nativeElement, + this.DIRECTIVE_KEY, + this.updateWithValue.bind(this), + this.clearStyles.bind(this), + t + ); + } + addStyles(t, e) { + const n = this.styleBuilder, + a = n.shouldCache; + let o = this.styleCache.get(t); + (o && a) || + ((o = n.buildStyles(t, e)), a && this.styleCache.set(t, o)), + (this.mru = Object.assign({}, o)), + this.applyStyleToElement(o), + n.sideEffect(t, o, e); + } + clearStyles() { + Object.keys(this.mru).forEach(t => { + this.mru[t] = ""; + }), + this.applyStyleToElement(this.mru), + (this.mru = {}); + } + triggerUpdate() { + this.marshal.triggerUpdate(this.nativeElement, this.DIRECTIVE_KEY); + } + getFlexFlowDirection(t, e = !1) { + if (t) { + const [n, a] = this.styler.getFlowDirection(t); + if (!a && e) { + const e = (function(t) { + let [e, n, a] = (function(t) { + t = t ? t.toLowerCase() : ""; + let [e, n, a] = t.split(" "); + return ( + JM.find(t => t === e) || (e = JM[0]), + n === XM && ((n = a !== XM ? a : ""), (a = XM)), + [e, ty(n), !!a] + ); + })(t); + return (function(t, e = null, n = !1) { + return { + display: n ? "inline-flex" : "flex", + "box-sizing": "border-box", + "flex-direction": t, + "flex-wrap": e || null + }; + })(e, n, a); + })(n); + this.styler.applyStyleToElements(e, [t]); + } + return n.trim(); + } + return "row"; + } + applyStyleToElement(t, e, n = this.nativeElement) { + this.styler.applyStyleToElement(n, t, e); + } + setValue(t, e) { + this.marshal.setValue(this.nativeElement, this.DIRECTIVE_KEY, t, e); + } + updateWithValue(t) { + this.addStyles(t); + } + } + const ny = [ + { + alias: "xs", + mediaQuery: "screen and (min-width: 0px) and (max-width: 599.99px)", + priority: 1e3 + }, + { + alias: "sm", + mediaQuery: + "screen and (min-width: 600px) and (max-width: 959.99px)", + priority: 900 + }, + { + alias: "md", + mediaQuery: + "screen and (min-width: 960px) and (max-width: 1279.99px)", + priority: 800 + }, + { + alias: "lg", + mediaQuery: + "screen and (min-width: 1280px) and (max-width: 1919.99px)", + priority: 700 + }, + { + alias: "xl", + mediaQuery: + "screen and (min-width: 1920px) and (max-width: 4999.99px)", + priority: 600 + }, + { + alias: "lt-sm", + overlapping: !0, + mediaQuery: "screen and (max-width: 599.99px)", + priority: 950 + }, + { + alias: "lt-md", + overlapping: !0, + mediaQuery: "screen and (max-width: 959.99px)", + priority: 850 + }, + { + alias: "lt-lg", + overlapping: !0, + mediaQuery: "screen and (max-width: 1279.99px)", + priority: 750 + }, + { + alias: "lt-xl", + overlapping: !0, + priority: 650, + mediaQuery: "screen and (max-width: 1919.99px)" + }, + { + alias: "gt-xs", + overlapping: !0, + mediaQuery: "screen and (min-width: 600px)", + priority: -950 + }, + { + alias: "gt-sm", + overlapping: !0, + mediaQuery: "screen and (min-width: 960px)", + priority: -850 + }, + { + alias: "gt-md", + overlapping: !0, + mediaQuery: "screen and (min-width: 1280px)", + priority: -750 + }, + { + alias: "gt-lg", + overlapping: !0, + mediaQuery: "screen and (min-width: 1920px)", + priority: -650 + } + ], + ay = "(orientation: portrait) and (max-width: 599.99px)", + oy = + "(orientation: portrait) and (min-width: 600px) and (max-width: 839.99px)", + iy = + "(orientation: landscape) and (min-width: 960px) and (max-width: 1279.99px)", + ry = "(orientation: portrait) and (min-width: 840px)", + ly = "(orientation: landscape) and (min-width: 1280px)", + sy = { + HANDSET: `${ay}, (orientation: landscape) and (max-width: 959.99px)`, + TABLET: `${oy} , ${iy}`, + WEB: `${ry}, ${ly} `, + HANDSET_PORTRAIT: `${ay}`, + TABLET_PORTRAIT: `${oy} `, + WEB_PORTRAIT: `${ry}`, + HANDSET_LANDSCAPE: + "(orientation: landscape) and (max-width: 959.99px)]", + TABLET_LANDSCAPE: `${iy}`, + WEB_LANDSCAPE: `${ly}` + }, + cy = [ + { alias: "handset", priority: 2e3, mediaQuery: sy.HANDSET }, + { + alias: "handset.landscape", + priority: 2e3, + mediaQuery: sy.HANDSET_LANDSCAPE + }, + { + alias: "handset.portrait", + priority: 2e3, + mediaQuery: sy.HANDSET_PORTRAIT + }, + { alias: "tablet", priority: 2100, mediaQuery: sy.TABLET }, + { alias: "tablet.landscape", priority: 2100, mediaQuery: sy.TABLET }, + { + alias: "tablet.portrait", + priority: 2100, + mediaQuery: sy.TABLET_PORTRAIT + }, + { alias: "web", priority: 2200, mediaQuery: sy.WEB, overlapping: !0 }, + { + alias: "web.landscape", + priority: 2200, + mediaQuery: sy.WEB_LANDSCAPE, + overlapping: !0 + }, + { + alias: "web.portrait", + priority: 2200, + mediaQuery: sy.WEB_PORTRAIT, + overlapping: !0 + } + ], + dy = /(\.|-|_)/g; + function uy(t) { + let e = t.length > 0 ? t.charAt(0) : "", + n = t.length > 1 ? t.slice(1) : ""; + return e.toUpperCase() + n; + } + const my = new Ht("Token (@angular/flex-layout) Breakpoints", { + providedIn: "root", + factory: () => { + const t = At(ZM), + e = At(GM), + n = [].concat.apply( + [], + (t || []).map(t => (Array.isArray(t) ? t : [t])) + ); + return (function(t, e = []) { + const n = {}; + return ( + t.forEach(t => { + n[t.alias] = t; + }), + e.forEach(t => { + n[t.alias] + ? (function(t, ...e) { + if (null == t) + throw TypeError( + "Cannot convert undefined or null to object" + ); + for (let n of e) + if (null != n) + for (let e in n) n.hasOwnProperty(e) && (t[e] = n[e]); + })(n[t.alias], t) + : (n[t.alias] = t); + }), + (a = Object.keys(n).map(t => n[t])).forEach(t => { + t.suffix || + ((t.suffix = (function(e) { + return t.alias + .replace(dy, "|") + .split("|") + .map(uy) + .join(""); + })()), + (t.overlapping = !!t.overlapping)); + }), + a + ); + var a; + })( + (e.disableDefaultBps ? [] : ny).concat( + e.addOrientationBps ? cy : [] + ), + n + ); + } + }); + function hy(t, e) { + return ((e && e.priority) || 0) - ((t && t.priority) || 0); + } + function gy(t, e) { + return (t.priority || 0) - (e.priority || 0); + } + const py = (() => { + class t { + constructor(t) { + (this.findByMap = new Map()), (this.items = [...t].sort(gy)); + } + findByAlias(t) { + return t ? this.findWithPredicate(t, e => e.alias == t) : null; + } + findByQuery(t) { + return this.findWithPredicate(t, e => e.mediaQuery == t); + } + get overlappings() { + return this.items.filter(t => 1 == t.overlapping); + } + get aliases() { + return this.items.map(t => t.alias); + } + get suffixes() { + return this.items.map(t => (t.suffix ? t.suffix : "")); + } + findWithPredicate(t, e) { + let n = this.findByMap.get(t); + return ( + n || + ((n = this.items.find(e) || null), this.findByMap.set(t, n)), + n || null + ); + } + } + return ( + (t.ngInjectableDef = _t({ + factory: function() { + return new t(At(my)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + fy = (() => { + class t { + constructor(t, e, n) { + (this._zone = t), + (this._platformId = e), + (this._document = n), + (this.source = new xc(new KM(!0))), + (this.registry = new Map()), + (this._observable$ = this.source.asObservable()); + } + get activations() { + const t = []; + return ( + this.registry.forEach((e, n) => { + e.matches && t.push(n); + }), + t + ); + } + isActive(t) { + const e = this.registry.get(t); + return !!e && e.matches; + } + observe(t, e = !1) { + if (t && t.length) { + const n = this._observable$.pipe( + Ql(n => !e || t.indexOf(n.mediaQuery) > -1) + ); + return X( + new O(e => { + const n = this.registerQuery(t); + if (n.length) { + const t = n.pop(); + n.forEach(t => { + e.next(t); + }), + this.source.next(t); + } + e.complete(); + }), + n + ); + } + return this._observable$; + } + registerQuery(t) { + const e = Array.isArray(t) ? t : [t], + n = []; + return ( + (function(t, e) { + const n = t.filter(t => !by[t]); + if (n.length > 0) { + const t = n.join(", "); + try { + const o = e.createElement("style"); + o.setAttribute("type", "text/css"), + o.styleSheet || + o.appendChild( + e.createTextNode( + `\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${t} {.fx-query-test{ }}\n` + ) + ), + e.head.appendChild(o), + n.forEach(t => (by[t] = o)); + } catch (a) { + console.error(a); + } + } + })(e, this._document), + e.forEach(t => { + let e = this.registry.get(t); + e || + ((e = this.buildMQL(t)).addListener(e => { + this._zone.run(() => + this.source.next(new KM(e.matches, t)) + ); + }), + this.registry.set(t, e)), + e.matches && n.push(new KM(!0, t)); + }), + n + ); + } + buildMQL(t) { + return (function(t, e) { + return e && window.matchMedia("all").addListener + ? window.matchMedia(t) + : { + matches: "all" === t || "" === t, + media: t, + addListener: () => {}, + removeListener: () => {} + }; + })(t, js(this._platformId)); + } + } + return ( + (t.ngInjectableDef = _t({ + factory: function() { + return new t(At(Di), At(fi), At(Bs)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + by = {}, + _y = "print", + Cy = { alias: _y, mediaQuery: _y, priority: 1e3 }, + Py = (() => { + class t { + constructor(t, e) { + (this.breakpoints = t), + (this.layoutConfig = e), + (this.isPrinting = !1), + (this.queue = new Oy()), + (this.deactivations = []); + } + withPrintQuery(t) { + return [...t, _y]; + } + isPrintEvent(t) { + return t.mediaQuery.startsWith(_y); + } + get printAlias() { + return this.layoutConfig.printWithBreakpoints || []; + } + get printBreakPoints() { + return this.printAlias + .map(t => this.breakpoints.findByAlias(t)) + .filter(t => null !== t); + } + getEventBreakpoints({ mediaQuery: t }) { + const e = this.breakpoints.findByQuery(t); + return (e + ? [...this.printBreakPoints, e] + : this.printBreakPoints + ).sort(hy); + } + updateEvent(t) { + let e = this.breakpoints.findByQuery(t.mediaQuery); + return ( + this.isPrintEvent(t) && + ((e = this.getEventBreakpoints(t)[0]), + (t.mediaQuery = e ? e.mediaQuery : "")), + QM(t, e) + ); + } + interceptEvents(t) { + return e => { + this.isPrintEvent(e) + ? e.matches && !this.isPrinting + ? (this.startPrinting(t, this.getEventBreakpoints(e)), + t.updateStyles()) + : !e.matches && + this.isPrinting && + (this.stopPrinting(t), t.updateStyles()) + : this.collectActivations(e); + }; + } + blockPropagation() { + return t => !(this.isPrinting || this.isPrintEvent(t)); + } + startPrinting(t, e) { + (this.isPrinting = !0), + (t.activatedBreakpoints = this.queue.addPrintBreakpoints(e)); + } + stopPrinting(t) { + (t.activatedBreakpoints = this.deactivations), + (this.deactivations = []), + this.queue.clear(), + (this.isPrinting = !1); + } + collectActivations(t) { + if (!this.isPrinting) + if (t.matches) this.deactivations = []; + else { + const e = this.breakpoints.findByQuery(t.mediaQuery); + e && + (this.deactivations.push(e), this.deactivations.sort(hy)); + } + } + } + return ( + (t.ngInjectableDef = _t({ + factory: function() { + return new t(At(py), At(GM)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(); + class Oy { + constructor() { + this.printBreakpoints = []; + } + addPrintBreakpoints(t) { + return ( + t.push(Cy), + t.sort(hy), + t.forEach(t => this.addBreakpoint(t)), + this.printBreakpoints + ); + } + addBreakpoint(t) { + t && + void 0 === + this.printBreakpoints.find(e => e.mediaQuery === t.mediaQuery) && + (this.printBreakpoints = (function(t) { + return !!t && t.mediaQuery.startsWith(_y); + })(t) + ? [t, ...this.printBreakpoints] + : [...this.printBreakpoints, t]); + } + clear() { + this.printBreakpoints = []; + } + } + function My(t) { + for (let e in t) { + let n = t[e] || ""; + switch (e) { + case "display": + t.display = + "flex" === n + ? ["-webkit-flex", "flex"] + : "inline-flex" === n + ? ["-webkit-inline-flex", "inline-flex"] + : n; + break; + case "align-items": + case "align-self": + case "align-content": + case "flex": + case "flex-basis": + case "flex-flow": + case "flex-grow": + case "flex-shrink": + case "flex-wrap": + case "justify-content": + t["-webkit-" + e] = n; + break; + case "flex-direction": + (t["-webkit-flex-direction"] = n = n || "row"), + (t["flex-direction"] = n); + break; + case "order": + t.order = t["-webkit-" + e] = isNaN(+n) ? "0" : n; + } + } + return t; + } + const yy = (() => { + class t { + constructor(t, e, n, a) { + (this._serverStylesheet = t), + (this._serverModuleLoaded = e), + (this._platformId = n), + (this.layoutConfig = a); + } + applyStyleToElement(t, e, n = null) { + let a = {}; + "string" == typeof e && ((a[e] = n), (e = a)), + (a = this.layoutConfig.disableVendorPrefixes ? e : My(e)), + this._applyMultiValueStyleToElement(a, t); + } + applyStyleToElements(t, e = []) { + const n = this.layoutConfig.disableVendorPrefixes ? t : My(t); + e.forEach(t => { + this._applyMultiValueStyleToElement(n, t); + }); + } + getFlowDirection(t) { + let e = this.lookupStyle(t, "flex-direction"); + return [ + e || "row", + this.lookupInlineStyle(t, "flex-direction") || + (Us(this._platformId) && this._serverModuleLoaded) + ? e + : "" + ]; + } + lookupAttributeValue(t, e) { + return t.getAttribute(e) || ""; + } + lookupInlineStyle(t, e) { + return js(this._platformId) + ? t.style.getPropertyValue(e) + : this._getServerStyle(t, e); + } + lookupStyle(t, e, n = !1) { + let a = ""; + return ( + t && + ((a = this.lookupInlineStyle(t, e)) || + (js(this._platformId) + ? n || (a = getComputedStyle(t).getPropertyValue(e)) + : this._serverModuleLoaded && + (a = this._serverStylesheet.getStyleForElement(t, e)))), + a ? a.trim() : "" + ); + } + _applyMultiValueStyleToElement(t, e) { + Object.keys(t) + .sort() + .forEach(n => { + const a = t[n], + o = Array.isArray(a) ? a : [a]; + o.sort(); + for (let t of o) + (t = t ? t + "" : ""), + js(this._platformId) || !this._serverModuleLoaded + ? js(this._platformId) + ? e.style.setProperty(n, t) + : this._setServerStyle(e, n, t) + : this._serverStylesheet.addStyleToElement(e, n, t); + }); + } + _setServerStyle(t, e, n) { + e = e.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(); + const a = this._readStyleAttribute(t); + (a[e] = n || ""), this._writeStyleAttribute(t, a); + } + _getServerStyle(t, e) { + return this._readStyleAttribute(t)[e] || ""; + } + _readStyleAttribute(t) { + const e = {}, + n = t.getAttribute("style"); + if (n) { + const t = n.split(/;+/g); + for (let n = 0; n < t.length; n++) { + const a = t[n].trim(); + if (a.length > 0) { + const t = a.indexOf(":"); + if (-1 === t) throw new Error(`Invalid CSS style: ${a}`); + e[a.substr(0, t).trim()] = a.substr(t + 1).trim(); + } + } + } + return e; + } + _writeStyleAttribute(t, e) { + let n = ""; + for (const a in e) e[a] && (n += a + ":" + e[a] + ";"); + t.setAttribute("style", n); + } + } + return ( + (t.ngInjectableDef = _t({ + factory: function() { + return new t(At(YM, 8), At($M, 8), At(fi), At(GM)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(); + class vy { + constructor() { + this.shouldCache = !0; + } + sideEffect(t, e, n) {} + } + function xy(t, e = "1", n = "1") { + let a = [e, n, t], + o = t.indexOf("calc"); + if (o > 0) { + a[2] = ky(t.substring(o).trim()); + let e = t + .substr(0, o) + .trim() + .split(" "); + 2 == e.length && ((a[0] = e[0]), (a[1] = e[1])); + } else if (0 == o) a[2] = ky(t.trim()); + else { + let o = t.split(" "); + a = 3 === o.length ? o : [e, n, t]; + } + return a; + } + function ky(t) { + return t.replace(/[\s]/g, "").replace(/[\/\*\+\-]/g, " $& "); + } + const wy = (() => { + class t { + constructor(t, e, n) { + (this.matchMedia = t), + (this.breakpoints = e), + (this.hook = n), + (this.activatedBreakpoints = []), + (this.elementMap = new Map()), + (this.elementKeyMap = new WeakMap()), + (this.watcherMap = new WeakMap()), + (this.updateMap = new WeakMap()), + (this.clearMap = new WeakMap()), + (this.subject = new w()), + this.observeActivations(); + } + get activatedAlias() { + return this.activatedBreakpoints[0] + ? this.activatedBreakpoints[0].alias + : ""; + } + onMediaChange(t) { + const e = this.findByQuery(t.mediaQuery); + e && + ((t = QM(t, e)).matches && + -1 === this.activatedBreakpoints.indexOf(e) + ? (this.activatedBreakpoints.push(e), + this.activatedBreakpoints.sort(hy), + this.updateStyles()) + : t.matches || + -1 === this.activatedBreakpoints.indexOf(e) || + (this.activatedBreakpoints.splice( + this.activatedBreakpoints.indexOf(e), + 1 + ), + this.activatedBreakpoints.sort(hy), + this.updateStyles())); + } + init(t, e, n, a, o = []) { + Sy(this.updateMap, t, e, n), + Sy(this.clearMap, t, e, a), + this.buildElementKeyMap(t, e), + this.watchExtraTriggers(t, e, o); + } + getValue(t, e, n) { + const a = this.elementMap.get(t); + if (a) { + const t = void 0 !== n ? a.get(n) : this.getActivatedValues(a, e); + if (t) return t.get(e); + } + } + hasValue(t, e) { + const n = this.elementMap.get(t); + if (n) { + const t = this.getActivatedValues(n, e); + if (t) return void 0 !== t.get(e) || !1; + } + return !1; + } + setValue(t, e, n, a) { + let o = this.elementMap.get(t); + if (o) { + const i = (o.get(a) || new Map()).set(e, n); + o.set(a, i), this.elementMap.set(t, o); + } else + (o = new Map().set(a, new Map().set(e, n))), + this.elementMap.set(t, o); + const i = this.getValue(t, e); + void 0 !== i && this.updateElement(t, e, i); + } + trackValue(t, e) { + return this.subject + .asObservable() + .pipe(Ql(n => n.element === t && n.key === e)); + } + updateStyles() { + this.elementMap.forEach((t, e) => { + const n = new Set(this.elementKeyMap.get(e)); + let a = this.getActivatedValues(t); + a && + a.forEach((t, a) => { + this.updateElement(e, a, t), n.delete(a); + }), + n.forEach(n => { + if ((a = this.getActivatedValues(t, n))) { + const t = a.get(n); + this.updateElement(e, n, t); + } else this.clearElement(e, n); + }); + }); + } + clearElement(t, e) { + const n = this.clearMap.get(t); + if (n) { + const a = n.get(e); + a && (a(), this.subject.next({ element: t, key: e, value: "" })); + } + } + updateElement(t, e, n) { + const a = this.updateMap.get(t); + if (a) { + const o = a.get(e); + o && (o(n), this.subject.next({ element: t, key: e, value: n })); + } + } + releaseElement(t) { + const e = this.watcherMap.get(t); + e && (e.forEach(t => t.unsubscribe()), this.watcherMap.delete(t)); + const n = this.elementMap.get(t); + n && (n.forEach((t, e) => n.delete(e)), this.elementMap.delete(t)); + } + triggerUpdate(t, e) { + const n = this.elementMap.get(t); + if (n) { + const a = this.getActivatedValues(n, e); + a && + (e + ? this.updateElement(t, e, a.get(e)) + : a.forEach((e, n) => this.updateElement(t, n, e))); + } + } + buildElementKeyMap(t, e) { + let n = this.elementKeyMap.get(t); + n || ((n = new Set()), this.elementKeyMap.set(t, n)), n.add(e); + } + watchExtraTriggers(t, e, n) { + if (n && n.length) { + let a = this.watcherMap.get(t); + if ( + (a || ((a = new Map()), this.watcherMap.set(t, a)), !a.get(e)) + ) { + const o = X(...n).subscribe(() => { + const n = this.getValue(t, e); + this.updateElement(t, e, n); + }); + a.set(e, o); + } + } + } + findByQuery(t) { + return this.breakpoints.findByQuery(t); + } + getActivatedValues(t, e) { + for (let a = 0; a < this.activatedBreakpoints.length; a++) { + const n = t.get(this.activatedBreakpoints[a].alias); + if (n && (void 0 === e || n.has(e))) return n; + } + const n = t.get(""); + return void 0 === e || (n && n.has(e)) ? n : void 0; + } + observeActivations() { + const t = this.breakpoints.items.map(t => t.mediaQuery); + this.matchMedia + .observe(this.hook.withPrintQuery(t)) + .pipe( + Bc(this.hook.interceptEvents(this)), + Ql(this.hook.blockPropagation()) + ) + .subscribe(this.onMediaChange.bind(this)); + } + } + return ( + (t.ngInjectableDef = _t({ + factory: function() { + return new t(At(fy), At(py), At(Py)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(); + function Sy(t, e, n, a) { + if (void 0 !== a) { + let o = t.get(e); + o || ((o = new Map()), t.set(e, o)), o.set(n, a); + } + } + const Ey = "inline", + Iy = ["row", "column", "row-reverse", "column-reverse"]; + function Ay(t) { + t = t ? t.toLowerCase() : ""; + let [e, n, a] = t.split(" "); + return ( + Iy.find(t => t === e) || (e = Iy[0]), + n === Ey && ((n = a !== Ey ? a : ""), (a = Ey)), + [e, Ry(n), !!a] + ); + } + function Ty(t) { + let [e] = Ay(t); + return e.indexOf("row") > -1; + } + function Ry(t) { + if (t) + switch (t.toLowerCase()) { + case "reverse": + case "wrap-reverse": + case "reverse-wrap": + t = "wrap-reverse"; + break; + case "no": + case "none": + case "nowrap": + t = "nowrap"; + break; + default: + t = "wrap"; + } + return t; + } + const Dy = (() => { + class t extends vy { + buildStyles(t) { + return (function(t) { + let [e, n, a] = Ay(t); + return (function(t, e = null, n = !1) { + return { + display: n ? "inline-flex" : "flex", + "box-sizing": "border-box", + "flex-direction": t, + "flex-wrap": e || null + }; + })(e, n, a); + })(t); + } + } + return ( + (t.ngInjectableDef = _t({ + factory: function() { + return new t(); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + Ny = [ + "fxLayout", + "fxLayout.xs", + "fxLayout.sm", + "fxLayout.md", + "fxLayout.lg", + "fxLayout.xl", + "fxLayout.lt-sm", + "fxLayout.lt-md", + "fxLayout.lt-lg", + "fxLayout.lt-xl", + "fxLayout.gt-xs", + "fxLayout.gt-sm", + "fxLayout.gt-md", + "fxLayout.gt-lg" + ], + zy = (() => + class extends ey { + constructor(t, e, n, a) { + super(t, n, e, a), + (this.elRef = t), + (this.styleUtils = e), + (this.styleBuilder = n), + (this.marshal = a), + (this.DIRECTIVE_KEY = "layout"), + (this.styleCache = Fy), + this.init(); + } + })(), + Ly = (() => + class extends zy { + constructor() { + super(...arguments), (this.inputs = Ny); + } + })(), + Fy = new Map(); + function By(t, ...e) { + if (null == t) + throw TypeError("Cannot convert undefined or null to object"); + for (let n of e) + if (null != n) for (let e in n) n.hasOwnProperty(e) && (t[e] = n[e]); + return t; + } + const Vy = (() => { + class t extends vy { + constructor(t) { + super(), (this.layoutConfig = t); + } + buildStyles(t, e) { + let [n, a, ...o] = t.split(" "), + i = o.join(" "); + const r = e.direction.indexOf("column") > -1 ? "column" : "row", + l = Ty(r) ? "max-width" : "max-height", + s = Ty(r) ? "min-width" : "min-height", + c = String(i).indexOf("calc") > -1, + d = c || "auto" === i, + u = String(i).indexOf("%") > -1 && !c, + m = + String(i).indexOf("px") > -1 || + String(i).indexOf("rem") > -1 || + String(i).indexOf("em") > -1 || + String(i).indexOf("vw") > -1 || + String(i).indexOf("vh") > -1; + let h = c || m; + a = "0" == a ? 0 : a; + const g = !(n = "0" == n ? 0 : n) && !a; + let p = {}; + const f = { + "max-width": null, + "max-height": null, + "min-width": null, + "min-height": null + }; + switch (i || "") { + case "": + const t = !1 !== this.layoutConfig.useColumnBasisZero; + i = "row" === r ? "0%" : t ? "0.000000001px" : "auto"; + break; + case "initial": + case "nogrow": + (n = 0), (i = "auto"); + break; + case "grow": + i = "100%"; + break; + case "noshrink": + (a = 0), (i = "auto"); + break; + case "auto": + break; + case "none": + (n = 0), (a = 0), (i = "auto"); + break; + default: + h || u || isNaN(i) || (i += "%"), + "0%" === i && (h = !0), + "0px" === i && (i = "0%"), + (p = By( + f, + c + ? { + "flex-grow": n, + "flex-shrink": a, + "flex-basis": h ? i : "100%" + } + : { flex: `${n} ${a} ${h ? i : "100%"}` } + )); + } + return ( + p.flex || + p["flex-grow"] || + (p = By( + f, + c + ? { "flex-grow": n, "flex-shrink": a, "flex-basis": i } + : { flex: `${n} ${a} ${i}` } + )), + "0%" !== i && + "0px" !== i && + "0.000000001px" !== i && + "auto" !== i && + ((p[s] = g || (h && n) ? i : null), + (p[l] = g || (!d && a) ? i : null)), + p[s] || p[l] + ? e.hasWrap && + (p[c ? "flex-basis" : "flex"] = p[l] + ? c + ? p[l] + : `${n} ${a} ${p[l]}` + : c + ? p[s] + : `${n} ${a} ${p[s]}`) + : (p = By( + f, + c + ? { "flex-grow": n, "flex-shrink": a, "flex-basis": i } + : { flex: `${n} ${a} ${i}` } + )), + By(p, { "box-sizing": "border-box" }) + ); + } + } + return ( + (t.ngInjectableDef = _t({ + factory: function() { + return new t(At(GM)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + Hy = [ + "fxFlex", + "fxFlex.xs", + "fxFlex.sm", + "fxFlex.md", + "fxFlex.lg", + "fxFlex.xl", + "fxFlex.lt-sm", + "fxFlex.lt-md", + "fxFlex.lt-lg", + "fxFlex.lt-xl", + "fxFlex.gt-xs", + "fxFlex.gt-sm", + "fxFlex.gt-md", + "fxFlex.gt-lg" + ], + jy = (() => + class extends ey { + constructor(t, e, n, a, o) { + super(t, a, e, o), + (this.elRef = t), + (this.styleUtils = e), + (this.layoutConfig = n), + (this.styleBuilder = a), + (this.marshal = o), + (this.DIRECTIVE_KEY = "flex"), + (this.direction = ""), + (this.wrap = !1), + (this.flexGrow = "1"), + (this.flexShrink = "1"), + this.init(), + this.parentElement && + (this.marshal + .trackValue(this.parentElement, "layout") + .pipe(oO(this.destroySubject)) + .subscribe(this.onLayoutChange.bind(this)), + this.marshal + .trackValue(this.nativeElement, "layout-align") + .pipe(oO(this.destroySubject)) + .subscribe(this.triggerReflow.bind(this))); + } + get shrink() { + return this.flexShrink; + } + set shrink(t) { + (this.flexShrink = t || "1"), this.triggerReflow(); + } + get grow() { + return this.flexGrow; + } + set grow(t) { + (this.flexGrow = t || "1"), this.triggerReflow(); + } + onLayoutChange(t) { + const e = t.value.split(" "); + (this.direction = e[0]), + (this.wrap = void 0 !== e[1] && "wrap" === e[1]), + this.triggerUpdate(); + } + updateWithValue(t) { + this.direction || + (this.direction = this.getFlexFlowDirection( + this.parentElement, + !1 !== this.layoutConfig.addFlexToParent + )); + const e = this.direction, + n = e.startsWith("row"), + a = this.wrap; + n && a + ? (this.styleCache = Yy) + : n && !a + ? (this.styleCache = qy) + : !n && a + ? (this.styleCache = Wy) + : n || a || (this.styleCache = Ky); + const o = xy( + String(t).replace(";", ""), + this.flexGrow, + this.flexShrink + ); + this.addStyles(o.join(" "), { direction: e, hasWrap: a }); + } + triggerReflow() { + const t = this.activatedValue; + if (void 0 !== t) { + const e = xy(t, this.flexGrow, this.flexShrink); + this.marshal.updateElement( + this.nativeElement, + this.DIRECTIVE_KEY, + e.join(" ") + ); + } + } + })(), + Uy = (() => + class extends jy { + constructor() { + super(...arguments), (this.inputs = Hy); + } + })(), + qy = new Map(), + Ky = new Map(), + Yy = new Map(), + Wy = new Map(), + Gy = { + margin: 0, + width: "100%", + height: "100%", + "min-width": "100%", + "min-height": "100%" + }, + $y = (() => { + class t extends vy { + buildStyles(t) { + return Gy; + } + } + return ( + (t.ngInjectableDef = _t({ + factory: function() { + return new t(); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + Zy = (() => + class extends ey { + constructor(t, e, n, a) { + super(t, n, e, a), + (this.elRef = t), + (this.styleUtils = e), + (this.styleBuilder = n), + (this.marshal = a), + (this.styleCache = Qy), + this.addStyles(""); + } + })(), + Qy = new Map(), + Xy = (() => class {})(), + Jy = (() => { + class t { + create(t) { + return "undefined" == typeof MutationObserver + ? null + : new MutationObserver(t); + } + } + return ( + (t.ngInjectableDef = bt({ + factory: function() { + return new t(); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + tv = (() => { + class t { + constructor(t) { + (this._mutationObserverFactory = t), + (this._observedElements = new Map()); + } + ngOnDestroy() { + this._observedElements.forEach((t, e) => + this._cleanupObserver(e) + ); + } + observe(t) { + const e = Cp(t); + return new O(t => { + const n = this._observeElement(e).subscribe(t); + return () => { + n.unsubscribe(), this._unobserveElement(e); + }; + }); + } + _observeElement(t) { + if (this._observedElements.has(t)) + this._observedElements.get(t).count++; + else { + const e = new w(), + n = this._mutationObserverFactory.create(t => e.next(t)); + n && + n.observe(t, { + characterData: !0, + childList: !0, + subtree: !0 + }), + this._observedElements.set(t, { + observer: n, + stream: e, + count: 1 + }); + } + return this._observedElements.get(t).stream; + } + _unobserveElement(t) { + this._observedElements.has(t) && + (this._observedElements.get(t).count--, + this._observedElements.get(t).count || + this._cleanupObserver(t)); + } + _cleanupObserver(t) { + if (this._observedElements.has(t)) { + const { observer: e, stream: n } = this._observedElements.get( + t + ); + e && e.disconnect(), + n.complete(), + this._observedElements.delete(t); + } + } + } + return ( + (t.ngInjectableDef = bt({ + factory: function() { + return new t(It(Jy)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + ev = (() => + class { + constructor(t, e, n) { + (this._contentObserver = t), + (this._elementRef = e), + (this._ngZone = n), + (this.event = new li()), + (this._disabled = !1), + (this._currentSubscription = null); + } + get disabled() { + return this._disabled; + } + set disabled(t) { + (this._disabled = pp(t)), + this._disabled ? this._unsubscribe() : this._subscribe(); + } + get debounce() { + return this._debounce; + } + set debounce(t) { + (this._debounce = fp(t)), this._subscribe(); + } + ngAfterContentInit() { + this._currentSubscription || this.disabled || this._subscribe(); + } + ngOnDestroy() { + this._unsubscribe(); + } + _subscribe() { + this._unsubscribe(); + const t = this._contentObserver.observe(this._elementRef); + this._ngZone.runOutsideAngular(() => { + this._currentSubscription = (this.debounce + ? t.pipe($p(this.debounce)) + : t + ).subscribe(this.event); + }); + } + _unsubscribe() { + this._currentSubscription && + this._currentSubscription.unsubscribe(); + } + })(), + nv = (() => class {})(); + var av = Ia({ + encapsulation: 2, + styles: [ + ".mat-tab-nav-bar{overflow:hidden;position:relative;flex-shrink:0}.mat-tab-links{position:relative;display:flex}[mat-align-tabs=center] .mat-tab-links{justify-content:center}[mat-align-tabs=end] .mat-tab-links{justify-content:flex-end}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:transparent}.mat-tab-link:focus{outline:0}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}@media (-ms-high-contrast:active){.mat-tab-link:focus{outline:dotted 2px}}.mat-tab-link.mat-tab-disabled{cursor:default}@media (-ms-high-contrast:active){.mat-tab-link.mat-tab-disabled{opacity:.5}}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (-ms-high-contrast:active){.mat-tab-link{opacity:1}}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}@media (max-width:599px){.mat-tab-link{min-width:72px}}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:.5s cubic-bezier(.35,0,.25,1)}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}@media (-ms-high-contrast:active){.mat-ink-bar{outline:solid 2px;height:0}}" + ], + data: {} + }); + function ov(t) { + return zr( + 2, + [ + vr(402653184, 1, { _inkBar: 0 }), + (t()(), + Cr( + 1, + 0, + null, + null, + 4, + "div", + [["class", "mat-tab-links"]], + null, + [[null, "cdkObserveContent"]], + function(t, e, n) { + var a = !0; + return ( + "cdkObserveContent" === e && + (a = !1 !== t.component._alignInkBar() && a), + a + ); + }, + null, + null + )), + Uo(2, 1196032, null, 0, ev, [tv, Ln, Di], null, { + event: "cdkObserveContent" + }), + Er(null, 0), + (t()(), + Cr( + 4, + 0, + null, + null, + 1, + "mat-ink-bar", + [["class", "mat-ink-bar"]], + null, + null, + null, + null, + null + )), + Uo(5, 16384, [[1, 4]], 0, zM, [Ln, Di, NM], null, null) + ], + null, + null + ); + } + class iv { + constructor(t, e, n, a) { + (this.beatOnApi = t), + (this.dialog = e), + (this.router = n), + (this.configSvc = a), + (this.activeLinkIndex = -1), + (this.navLinks = []), + (this.testHtml = ""); + } + tabMouseDown(t) { + this.activeLinkIndex = t.index; + } + clickStuff() {} + ngOnInit() { + this.configSvc.refreshConfig(); + let t = window.isQuestHosted(); + t + ? console.log( + "Hosted in Beat On on the quest, showing browser rather than upload." + ) + : console.log( + "Not hosted on the quest in Beat On, showing upload rather than browser." + ), + this.navLinks.push({ + label: "Playlists", + path: "./playlists", + index: 0 + }), + this.navLinks.push( + t + ? { label: "Browser", path: "./browser", index: 1 } + : { label: "Upload", path: "./upload", index: 1 } + ), + this.navLinks.push({ + label: "SyncSaber", + path: "./sync-saber", + index: 1 + }), + this.navLinks.push({ label: "Mods", path: "./mods", index: 3 }), + this.navLinks.push({ label: "Tools", path: "./tools", index: 2 }), + this.navLinks.push({ + label: "Credits", + path: "./credits", + index: 2 + }); + } + getState(t) { + return t.activatedRoute.snapshot.routeConfig.path; + } + } + var rv = Ia({ + encapsulation: 0, + styles: [ + [ + "app-main[_ngcontent-%COMP%]{height:100%}.tabNav[_ngcontent-%COMP%]{min-height:48px;height:48px}" + ] + ], + data: { + animation: [ + { + type: 7, + name: "routerTransition", + definitions: [ + { + type: 1, + expr: "* => playlists", + animation: [ + { + type: 11, + selector: ":enter, :leave", + animation: { + type: 6, + styles: { position: "fixed", width: "100%" }, + offset: null + }, + options: { optional: !0 } + }, + { + type: 3, + steps: [ + { + type: 11, + selector: ":enter", + animation: [ + { + type: 6, + styles: { transform: "translateX(-100%)" }, + offset: null + }, + { + type: 4, + styles: { + type: 6, + styles: { transform: "translateX(0%)" }, + offset: null + }, + timings: "0.5s ease-in-out" + } + ], + options: { optional: !0 } + }, + { + type: 11, + selector: ":leave", + animation: [ + { + type: 6, + styles: { transform: "translateX(0%)" }, + offset: null + }, + { + type: 4, + styles: { + type: 6, + styles: { transform: "translateX(100%)" }, + offset: null + }, + timings: "0.5s ease-in-out" + } + ], + options: { optional: !0 } + } + ], + options: null + } + ], + options: null + }, + { + type: 1, + expr: "* => browser", + animation: [ + { + type: 3, + steps: [ + { + type: 11, + selector: ":enter, :leave", + animation: { + type: 6, + styles: { position: "fixed", width: "100%" }, + offset: null + }, + options: { optional: !0 } + }, + { + type: 11, + selector: ":enter", + animation: [ + { + type: 6, + styles: { transform: "translateX(100%)" }, + offset: null + }, + { + type: 4, + styles: { + type: 6, + styles: { transform: "translateX(0%)" }, + offset: null + }, + timings: "0.5s ease-in-out" + } + ], + options: { optional: !0 } + }, + { + type: 11, + selector: ":leave", + animation: [ + { + type: 6, + styles: { transform: "translateX(0%)" }, + offset: null + }, + { + type: 4, + styles: { + type: 6, + styles: { transform: "translateX(-100%)" }, + offset: null + }, + timings: "0.5s ease-in-out" + } + ], + options: { optional: !0 } + } + ], + options: null + } + ], + options: null + } + ], + options: {} + } + ] + } + }); + function lv(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 7, + "a", + [ + ["class", "mat-tab-link"], + ["fast-click", ""], + ["mat-tab-link", ""], + ["routerLinkActive", ""] + ], + [ + [1, "target", 0], + [8, "href", 4], + [1, "aria-current", 0], + [1, "aria-disabled", 0], + [1, "tabIndex", 0], + [2, "mat-tab-disabled", null], + [2, "mat-tab-label-active", null] + ], + [[null, "click"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "click" === e && + (a = + !1 !== + Io(t, 1).onClick( + n.button, + n.ctrlKey, + n.metaKey, + n.shiftKey + ) && a), + "click" === e && (a = !1 !== o.clickStuff() && a), + a + ); + }, + null, + null + )), + Uo( + 1, + 671744, + [[3, 4]], + 0, + qh, + [jh, Am, ns], + { routerLink: [0, "routerLink"] }, + null + ), + Uo( + 2, + 1720320, + [["rla", 4]], + 2, + Yh, + [jh, Ln, jn, [2, Uh], [2, qh]], + { routerLinkActive: [0, "routerLinkActive"] }, + null + ), + vr(603979776, 2, { links: 1 }), + vr(603979776, 3, { linksWithHrefs: 1 }), + Uo( + 5, + 147456, + [[1, 4]], + 0, + jM, + [BM, Ln, Di, Op, [2, Uf], [8, null], _f], + { active: [0, "active"] }, + null + ), + Uo(6, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(7, null, [" ", " "])) + ], + function(t, e) { + t(e, 1, 0, e.context.$implicit.path), + t(e, 2, 0, ""), + t(e, 5, 0, Io(e, 2).isActive); + }, + function(t, e) { + t( + e, + 0, + 0, + Io(e, 1).target, + Io(e, 1).href, + Io(e, 5).active, + Io(e, 5).disabled.toString(), + Io(e, 5).tabIndex, + Io(e, 5).disabled, + Io(e, 5).active + ), + t(e, 7, 0, e.context.$implicit.label); + } + ); + } + function sv(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 12, + "div", + [["fxLayout", "column"], ["style", "height: 100%"]], + null, + null, + null, + null, + null + )), + Uo( + 1, + 671744, + null, + 0, + Ly, + [Ln, yy, [2, Dy], wy], + { fxLayout: [0, "fxLayout"] }, + null + ), + (t()(), + Cr( + 2, + 0, + null, + null, + 5, + "nav", + [ + ["class", "tabNav mat-tab-nav-bar"], + ["fxLayout", "row"], + ["mat-tab-nav-bar", ""] + ], + null, + null, + null, + ov, + av + )), + Uo(3, 3325952, null, 1, BM, [Ln, [2, hp], Di, oa, NO], null, null), + vr(603979776, 1, { _tabLinks: 1 }), + Uo( + 5, + 671744, + null, + 0, + Ly, + [Ln, yy, [2, Dy], wy], + { fxLayout: [0, "fxLayout"] }, + null + ), + (t()(), _r(16777216, null, 0, 1, null, lv)), + Uo( + 7, + 278528, + null, + 0, + Os, + [ua, ca, na], + { ngForOf: [0, "ngForOf"] }, + null + ), + (t()(), + Cr( + 8, + 0, + null, + null, + 4, + "div", + [ + ["class", "fullheight"], + ["fxLayout", "column"], + ["id", "mainContentDiv"] + ], + null, + null, + null, + null, + null + )), + Uo( + 9, + 671744, + null, + 0, + Ly, + [Ln, yy, [2, Dy], wy], + { fxLayout: [0, "fxLayout"] }, + null + ), + (t()(), + Cr( + 10, + 16777216, + null, + null, + 2, + "router-outlet", + [["fxLayout", "column"]], + null, + null, + null, + null, + null + )), + Uo( + 11, + 212992, + [["o", 4]], + 0, + $h, + [Gh, ua, An, [8, null], oa], + null, + null + ), + Uo( + 12, + 671744, + null, + 0, + Ly, + [Ln, yy, [2, Dy], wy], + { fxLayout: [0, "fxLayout"] }, + null + ) + ], + function(t, e) { + var n = e.component; + t(e, 1, 0, "column"), + t(e, 5, 0, "row"), + t(e, 7, 0, n.navLinks), + t(e, 9, 0, "column"), + t(e, 11, 0), + t(e, 12, 0, "column"); + }, + null + ); + } + function cv(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "app-main", + [["class", "fullheight"]], + null, + null, + null, + sv, + rv + )), + Uo(1, 114688, null, 0, iv, [vc, CM, jh, Lg], null, null) + ], + function(t, e) { + t(e, 1, 0); + }, + null + ); + } + var dv = Co("app-main", iv, cv, {}, {}, []); + const uv = new Set(); + let mv; + const hv = (() => { + class t { + constructor(t) { + (this._platform = t), + (this._matchMedia = + this._platform.isBrowser && window.matchMedia + ? window.matchMedia.bind(window) + : gv); + } + matchMedia(t) { + return ( + this._platform.WEBKIT && + (function(t) { + if (!uv.has(t)) + try { + mv || + ((mv = document.createElement("style")).setAttribute( + "type", + "text/css" + ), + document.head.appendChild(mv)), + mv.sheet && + (mv.sheet.insertRule( + `@media ${t} {.fx-query-test{ }}`, + 0 + ), + uv.add(t)); + } catch (e) { + console.error(e); + } + })(t), + this._matchMedia(t) + ); + } + } + return ( + (t.ngInjectableDef = bt({ + factory: function() { + return new t(It(Op)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(); + function gv(t) { + return { + matches: "all" === t || "" === t, + media: t, + addListener: () => {}, + removeListener: () => {} + }; + } + const pv = (() => { + class t { + constructor(t, e) { + (this._mediaMatcher = t), + (this._zone = e), + (this._queries = new Map()), + (this._destroySubject = new w()); + } + ngOnDestroy() { + this._destroySubject.next(), this._destroySubject.complete(); + } + isMatched(t) { + return fv(bp(t)).some(t => this._registerQuery(t).mql.matches); + } + observe(t) { + return Ec( + fv(bp(t)).map(t => this._registerQuery(t).observable) + ).pipe( + $p(0, ZP), + j(t => { + const e = { matches: !1, breakpoints: {} }; + return ( + t.forEach(t => { + (e.matches = e.matches || t.matches), + (e.breakpoints[t.query] = t.matches); + }), + e + ); + }) + ); + } + _registerQuery(t) { + if (this._queries.has(t)) return this._queries.get(t); + const e = this._mediaMatcher.matchMedia(t), + n = { + observable: new O(t => { + const n = e => this._zone.run(() => t.next(e)); + return ( + e.addListener(n), + () => { + e.removeListener(n); + } + ); + }).pipe( + id(e), + j(e => ({ query: t, matches: e.matches })), + oO(this._destroySubject) + ), + mql: e + }; + return this._queries.set(t, n), n; + } + } + return ( + (t.ngInjectableDef = bt({ + factory: function() { + return new t(It(hv), It(Di)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(); + function fv(t) { + return t + .map(t => t.split(",")) + .reduce((t, e) => t.concat(e)) + .map(t => t.trim()); + } + const bv = 20; + function _v(t) { + return Error(`Tooltip position "${t}" is invalid.`); + } + const Cv = new Ht("mat-tooltip-scroll-strategy"); + function Pv(t) { + return () => t.scrollStrategies.reposition({ scrollThrottle: bv }); + } + const Ov = new Ht("mat-tooltip-default-options", { + providedIn: "root", + factory: function() { + return { showDelay: 0, hideDelay: 0, touchendHideDelay: 1500 }; + } + }), + Mv = (() => + class { + constructor(t, e, n, a, o, i, r, l, s, c, d, u) { + (this._overlay = t), + (this._elementRef = e), + (this._scrollDispatcher = n), + (this._viewContainerRef = a), + (this._ngZone = o), + (this._ariaDescriber = r), + (this._focusMonitor = l), + (this._dir = c), + (this._defaultOptions = d), + (this._position = "below"), + (this._disabled = !1), + (this.showDelay = this._defaultOptions.showDelay), + (this.hideDelay = this._defaultOptions.hideDelay), + (this._message = ""), + (this._manualListeners = new Map()), + (this._destroyed = new w()), + (this._scrollStrategy = s); + const m = e.nativeElement, + h = "undefined" == typeof window || window.Hammer || u; + i.IOS || i.ANDROID + ? h || + this._manualListeners.set("touchstart", () => this.show()) + : this._manualListeners + .set("mouseenter", () => this.show()) + .set("mouseleave", () => this.hide()), + this._manualListeners.forEach((t, e) => + m.addEventListener(e, t) + ), + l + .monitor(e) + .pipe(oO(this._destroyed)) + .subscribe(t => { + t + ? "keyboard" === t && o.run(() => this.show()) + : o.run(() => this.hide(0)); + }), + d && d.position && (this.position = d.position); + } + get position() { + return this._position; + } + set position(t) { + t !== this._position && + ((this._position = t), + this._overlayRef && + (this._updatePosition(), + this._tooltipInstance && this._tooltipInstance.show(0), + this._overlayRef.updatePosition())); + } + get disabled() { + return this._disabled; + } + set disabled(t) { + (this._disabled = pp(t)), this._disabled && this.hide(0); + } + get message() { + return this._message; + } + set message(t) { + this._ariaDescriber.removeDescription( + this._elementRef.nativeElement, + this._message + ), + (this._message = null != t ? `${t}`.trim() : ""), + !this._message && this._isTooltipVisible() + ? this.hide(0) + : (this._updateTooltipMessage(), + this._ariaDescriber.describe( + this._elementRef.nativeElement, + this.message + )); + } + get tooltipClass() { + return this._tooltipClass; + } + set tooltipClass(t) { + (this._tooltipClass = t), + this._tooltipInstance && + this._setTooltipClass(this._tooltipClass); + } + ngOnInit() { + const t = this._elementRef.nativeElement, + e = t.style; + ("INPUT" !== t.nodeName && "TEXTAREA" !== t.nodeName) || + (e.webkitUserSelect = e.userSelect = e.msUserSelect = ""), + t.draggable && + "none" === e.webkitUserDrag && + (e.webkitUserDrag = ""); + } + ngOnDestroy() { + this._overlayRef && + (this._overlayRef.dispose(), (this._tooltipInstance = null)), + this._manualListeners.forEach((t, e) => { + this._elementRef.nativeElement.removeEventListener(e, t); + }), + this._manualListeners.clear(), + this._destroyed.next(), + this._destroyed.complete(), + this._ariaDescriber.removeDescription( + this._elementRef.nativeElement, + this.message + ), + this._focusMonitor.stopMonitoring(this._elementRef); + } + show(t = this.showDelay) { + if ( + this.disabled || + !this.message || + (this._isTooltipVisible() && + !this._tooltipInstance._showTimeoutId && + !this._tooltipInstance._hideTimeoutId) + ) + return; + const e = this._createOverlay(); + this._detach(), + (this._portal = + this._portal || new DP(yv, this._viewContainerRef)), + (this._tooltipInstance = e.attach(this._portal).instance), + this._tooltipInstance + .afterHidden() + .pipe(oO(this._destroyed)) + .subscribe(() => this._detach()), + this._setTooltipClass(this._tooltipClass), + this._updateTooltipMessage(), + this._tooltipInstance.show(t); + } + hide(t = this.hideDelay) { + this._tooltipInstance && this._tooltipInstance.hide(t); + } + toggle() { + this._isTooltipVisible() ? this.hide() : this.show(); + } + _isTooltipVisible() { + return ( + !!this._tooltipInstance && this._tooltipInstance.isVisible() + ); + } + _handleKeydown(t) { + this._isTooltipVisible() && + t.keyCode === Rp && + !Up(t) && + (t.preventDefault(), t.stopPropagation(), this.hide(0)); + } + _handleTouchend() { + this.hide(this._defaultOptions.touchendHideDelay); + } + _createOverlay() { + if (this._overlayRef) return this._overlayRef; + const t = this._scrollDispatcher.getAncestorScrollContainers( + this._elementRef + ), + e = this._overlay + .position() + .flexibleConnectedTo(this._elementRef) + .withTransformOriginOn(".mat-tooltip") + .withFlexibleDimensions(!1) + .withViewportMargin(8) + .withScrollableContainers(t); + return ( + e.positionChanges.pipe(oO(this._destroyed)).subscribe(t => { + this._tooltipInstance && + t.scrollableViewProperties.isOverlayClipped && + this._tooltipInstance.isVisible() && + this._ngZone.run(() => this.hide(0)); + }), + (this._overlayRef = this._overlay.create({ + direction: this._dir, + positionStrategy: e, + panelClass: "mat-tooltip-panel", + scrollStrategy: this._scrollStrategy() + })), + this._updatePosition(), + this._overlayRef + .detachments() + .pipe(oO(this._destroyed)) + .subscribe(() => this._detach()), + this._overlayRef + ); + } + _detach() { + this._overlayRef && + this._overlayRef.hasAttached() && + this._overlayRef.detach(), + (this._tooltipInstance = null); + } + _updatePosition() { + const t = this._overlayRef.getConfig().positionStrategy, + e = this._getOrigin(), + n = this._getOverlayPosition(); + t.withPositions([ + Object.assign({}, e.main, n.main), + Object.assign({}, e.fallback, n.fallback) + ]); + } + _getOrigin() { + const t = !this._dir || "ltr" == this._dir.value, + e = this.position; + let n; + if ("above" == e || "below" == e) + n = { + originX: "center", + originY: "above" == e ? "top" : "bottom" + }; + else if ( + "before" == e || + ("left" == e && t) || + ("right" == e && !t) + ) + n = { originX: "start", originY: "center" }; + else { + if ( + !("after" == e || ("right" == e && t) || ("left" == e && !t)) + ) + throw _v(e); + n = { originX: "end", originY: "center" }; + } + const { x: a, y: o } = this._invertPosition(n.originX, n.originY); + return { main: n, fallback: { originX: a, originY: o } }; + } + _getOverlayPosition() { + const t = !this._dir || "ltr" == this._dir.value, + e = this.position; + let n; + if ("above" == e) n = { overlayX: "center", overlayY: "bottom" }; + else if ("below" == e) + n = { overlayX: "center", overlayY: "top" }; + else if ( + "before" == e || + ("left" == e && t) || + ("right" == e && !t) + ) + n = { overlayX: "end", overlayY: "center" }; + else { + if ( + !("after" == e || ("right" == e && t) || ("left" == e && !t)) + ) + throw _v(e); + n = { overlayX: "start", overlayY: "center" }; + } + const { x: a, y: o } = this._invertPosition( + n.overlayX, + n.overlayY + ); + return { main: n, fallback: { overlayX: a, overlayY: o } }; + } + _updateTooltipMessage() { + this._tooltipInstance && + ((this._tooltipInstance.message = this.message), + this._tooltipInstance._markForCheck(), + this._ngZone.onMicrotaskEmpty + .asObservable() + .pipe( + Zc(1), + oO(this._destroyed) + ) + .subscribe(() => { + this._tooltipInstance && this._overlayRef.updatePosition(); + })); + } + _setTooltipClass(t) { + this._tooltipInstance && + ((this._tooltipInstance.tooltipClass = t), + this._tooltipInstance._markForCheck()); + } + _invertPosition(t, e) { + return ( + "above" === this.position || "below" === this.position + ? "top" === e + ? (e = "bottom") + : "bottom" === e && (e = "top") + : "end" === t + ? (t = "start") + : "start" === t && (t = "end"), + { x: t, y: e } + ); + } + })(), + yv = (() => + class { + constructor(t, e) { + (this._changeDetectorRef = t), + (this._breakpointObserver = e), + (this._visibility = "initial"), + (this._closeOnInteraction = !1), + (this._onHide = new w()), + (this._isHandset = this._breakpointObserver.observe( + "(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)" + )); + } + show(t) { + this._hideTimeoutId && + (clearTimeout(this._hideTimeoutId), + (this._hideTimeoutId = null)), + (this._closeOnInteraction = !0), + (this._showTimeoutId = setTimeout(() => { + (this._visibility = "visible"), + (this._showTimeoutId = null), + this._markForCheck(); + }, t)); + } + hide(t) { + this._showTimeoutId && + (clearTimeout(this._showTimeoutId), + (this._showTimeoutId = null)), + (this._hideTimeoutId = setTimeout(() => { + (this._visibility = "hidden"), + (this._hideTimeoutId = null), + this._markForCheck(); + }, t)); + } + afterHidden() { + return this._onHide.asObservable(); + } + isVisible() { + return "visible" === this._visibility; + } + ngOnDestroy() { + this._onHide.complete(); + } + _animationStart() { + this._closeOnInteraction = !1; + } + _animationDone(t) { + const e = t.toState; + "hidden" !== e || this.isVisible() || this._onHide.next(), + ("visible" !== e && "hidden" !== e) || + (this._closeOnInteraction = !0); + } + _handleBodyInteraction() { + this._closeOnInteraction && this.hide(0); + } + _markForCheck() { + this._changeDetectorRef.markForCheck(); + } + })(), + vv = (() => class {})(); + function xv(t, e) { + for (let n in e) e.hasOwnProperty(n) && (t[n] = e[n]); + return t; + } + function kv(t, e) { + const n = e ? "" : "none"; + xv(t.style, { + touchAction: e ? "" : "none", + webkitUserDrag: e ? "" : "none", + webkitTapHighlightColor: e ? "" : "transparent", + userSelect: n, + msUserSelect: n, + webkitUserSelect: n, + MozUserSelect: n + }); + } + function wv(t) { + const e = t.toLowerCase().indexOf("ms") > -1 ? 1 : 1e3; + return parseFloat(t) * e; + } + function Sv(t, e) { + return t + .getPropertyValue(e) + .split(",") + .map(t => t.trim()); + } + const Ev = wp({ passive: !0 }), + Iv = wp({ passive: !1 }), + Av = 800; + class Tv { + constructor(t, e, n, a, o, i) { + (this._config = e), + (this._document = n), + (this._ngZone = a), + (this._viewportRuler = o), + (this._dragDropRegistry = i), + (this._passiveTransform = { x: 0, y: 0 }), + (this._activeTransform = { x: 0, y: 0 }), + (this._moveEvents = new w()), + (this._pointerMoveSubscription = m.EMPTY), + (this._pointerUpSubscription = m.EMPTY), + (this._boundaryElement = null), + (this._nativeInteractionsEnabled = !0), + (this._handles = []), + (this._disabledHandles = new Set()), + (this._direction = "ltr"), + (this.dragStartDelay = 0), + (this._disabled = !1), + (this.beforeStarted = new w()), + (this.started = new w()), + (this.released = new w()), + (this.ended = new w()), + (this.entered = new w()), + (this.exited = new w()), + (this.dropped = new w()), + (this.moved = this._moveEvents.asObservable()), + (this._pointerDown = t => { + if ((this.beforeStarted.next(), this._handles.length)) { + const e = this._handles.find(e => { + const n = t.target; + return !!n && (n === e || e.contains(n)); + }); + !e || + this._disabledHandles.has(e) || + this.disabled || + this._initializeDragSequence(e, t); + } else + this.disabled || + this._initializeDragSequence(this._rootElement, t); + }), + (this._pointerMove = t => { + if (!this._hasStartedDragging) { + const e = this._getPointerPositionOnPage(t); + return void ( + Math.abs(e.x - this._pickupPositionOnPage.x) + + Math.abs(e.y - this._pickupPositionOnPage.y) >= + this._config.dragStartThreshold && + Date.now() >= + this._dragStartTime + (this.dragStartDelay || 0) && + ((this._dropContainer && this._dropContainer.isDragging()) || + ((this._hasStartedDragging = !0), + this._ngZone.run(() => this._startDragSequence(t)))) + ); + } + this._boundaryElement && + ((this._previewRect && + (this._previewRect.width || this._previewRect.height)) || + (this._previewRect = ( + this._preview || this._rootElement + ).getBoundingClientRect())); + const e = this._getConstrainedPointerPosition(t); + if ( + ((this._hasMoved = !0), + t.preventDefault(), + this._updatePointerDirectionDelta(e), + this._dropContainer) + ) + this._updateActiveDropContainer(e); + else { + const t = this._activeTransform; + (t.x = + e.x - + this._pickupPositionOnPage.x + + this._passiveTransform.x), + (t.y = + e.y - + this._pickupPositionOnPage.y + + this._passiveTransform.y), + this._applyRootElementTransform(t.x, t.y), + "undefined" != typeof SVGElement && + this._rootElement instanceof SVGElement && + this._rootElement.setAttribute( + "transform", + `translate(${t.x} ${t.y})` + ); + } + this._moveEvents.observers.length && + this._ngZone.run(() => { + this._moveEvents.next({ + source: this, + pointerPosition: e, + event: t, + distance: this._getDragDistance(e), + delta: this._pointerDirectionDelta + }); + }); + }), + (this._pointerUp = t => { + if ( + this._dragDropRegistry.isDragging(this) && + (this._removeSubscriptions(), + this._dragDropRegistry.stopDragging(this), + this._handles && + (this._rootElement.style.webkitTapHighlightColor = this._rootElementTapHighlight), + this._hasStartedDragging) + ) { + if ( + (this.released.next({ source: this }), !this._dropContainer) + ) + return ( + (this._passiveTransform.x = this._activeTransform.x), + (this._passiveTransform.y = this._activeTransform.y), + this._ngZone.run(() => { + this.ended.next({ + source: this, + distance: this._getDragDistance( + this._getPointerPositionOnPage(t) + ) + }); + }), + void this._dragDropRegistry.stopDragging(this) + ); + this._animatePreviewToPlaceholder().then(() => { + this._cleanupDragArtifacts(t), + this._dragDropRegistry.stopDragging(this); + }); + } + }), + this.withRootElement(t), + i.registerDragItem(this); + } + get disabled() { + return ( + this._disabled || + !(!this._dropContainer || !this._dropContainer.disabled) + ); + } + set disabled(t) { + const e = pp(t); + e !== this._disabled && + ((this._disabled = e), this._toggleNativeDragInteractions()); + } + getPlaceholderElement() { + return this._placeholder; + } + getRootElement() { + return this._rootElement; + } + withHandles(t) { + return ( + (this._handles = t.map(t => Cp(t))), + this._handles.forEach(t => kv(t, !1)), + this._toggleNativeDragInteractions(), + this + ); + } + withPreviewTemplate(t) { + return (this._previewTemplate = t), this; + } + withPlaceholderTemplate(t) { + return (this._placeholderTemplate = t), this; + } + withRootElement(t) { + const e = Cp(t); + return ( + e !== this._rootElement && + (this._rootElement && + this._removeRootElementListeners(this._rootElement), + e.addEventListener("mousedown", this._pointerDown, Iv), + e.addEventListener("touchstart", this._pointerDown, Ev), + (this._initialTransform = void 0), + (this._rootElement = e)), + this + ); + } + withBoundaryElement(t) { + return (this._boundaryElement = t ? Cp(t) : null), this; + } + dispose() { + this._removeRootElementListeners(this._rootElement), + this.isDragging() && zv(this._rootElement), + this._destroyPreview(), + this._destroyPlaceholder(), + this._dragDropRegistry.removeDragItem(this), + this._removeSubscriptions(), + this.beforeStarted.complete(), + this.started.complete(), + this.released.complete(), + this.ended.complete(), + this.entered.complete(), + this.exited.complete(), + this.dropped.complete(), + this._moveEvents.complete(), + (this._handles = []), + this._disabledHandles.clear(), + (this._dropContainer = void 0), + (this._boundaryElement = this._rootElement = this._placeholderTemplate = this._previewTemplate = this._nextSibling = null); + } + isDragging() { + return ( + this._hasStartedDragging && this._dragDropRegistry.isDragging(this) + ); + } + reset() { + (this._rootElement.style.transform = this._initialTransform || ""), + (this._activeTransform = { x: 0, y: 0 }), + (this._passiveTransform = { x: 0, y: 0 }); + } + disableHandle(t) { + this._handles.indexOf(t) > -1 && this._disabledHandles.add(t); + } + enableHandle(t) { + this._disabledHandles.delete(t); + } + withDirection(t) { + return (this._direction = t), this; + } + _withDropContainer(t) { + this._dropContainer = t; + } + getFreeDragPosition() { + return { x: this._passiveTransform.x, y: this._passiveTransform.y }; + } + setFreeDragPosition(t) { + return ( + (this._activeTransform = { x: 0, y: 0 }), + (this._passiveTransform.x = t.x), + (this._passiveTransform.y = t.y), + this._dropContainer || this._applyRootElementTransform(t.x, t.y), + this + ); + } + _removeSubscriptions() { + this._pointerMoveSubscription.unsubscribe(), + this._pointerUpSubscription.unsubscribe(); + } + _destroyPreview() { + this._preview && zv(this._preview), + this._previewRef && this._previewRef.destroy(), + (this._preview = this._previewRef = null); + } + _destroyPlaceholder() { + this._placeholder && zv(this._placeholder), + this._placeholderRef && this._placeholderRef.destroy(), + (this._placeholder = this._placeholderRef = null); + } + _startDragSequence(t) { + if ( + (this.started.next({ source: this }), + Lv(t) && (this._lastTouchEventTime = Date.now()), + this._dropContainer) + ) { + const t = this._rootElement; + this._nextSibling = t.nextSibling; + const n = (this._preview = this._createPreviewElement()), + a = (this._placeholder = this._createPlaceholderElement()); + (t.style.display = "none"), + this._document.body.appendChild(t.parentNode.replaceChild(a, t)), + ((e = this._document), + e.fullscreenElement || + e.webkitFullscreenElement || + e.mozFullScreenElement || + e.msFullscreenElement || + e.body).appendChild(n), + this._dropContainer.start(); + } + var e; + } + _initializeDragSequence(t, e) { + e.stopPropagation(); + const n = this.isDragging(), + a = Lv(e), + o = !a && 0 !== e.button, + i = this._rootElement, + r = + !a && + this._lastTouchEventTime && + this._lastTouchEventTime + Av > Date.now(); + if ( + (e.target && + e.target.draggable && + "mousedown" === e.type && + e.preventDefault(), + n || o || r) + ) + return; + this._handles.length && + ((this._rootElementTapHighlight = i.style.webkitTapHighlightColor), + (i.style.webkitTapHighlightColor = "transparent")), + this._toggleNativeDragInteractions(), + (this._hasStartedDragging = this._hasMoved = !1), + (this._initialContainer = this._dropContainer), + this._removeSubscriptions(), + (this._pointerMoveSubscription = this._dragDropRegistry.pointerMove.subscribe( + this._pointerMove + )), + (this._pointerUpSubscription = this._dragDropRegistry.pointerUp.subscribe( + this._pointerUp + )), + (this._scrollPosition = this._viewportRuler.getViewportScrollPosition()), + this._boundaryElement && + (this._boundaryRect = this._boundaryElement.getBoundingClientRect()), + (this._pickupPositionInElement = + this._previewTemplate && this._previewTemplate.template + ? { x: 0, y: 0 } + : this._getPointerPositionInElement(t, e)); + const l = (this._pickupPositionOnPage = this._getPointerPositionOnPage( + e + )); + (this._pointerDirectionDelta = { x: 0, y: 0 }), + (this._pointerPositionAtLastDirectionChange = { x: l.x, y: l.y }), + (this._dragStartTime = Date.now()), + this._dragDropRegistry.startDragging(this, e); + } + _cleanupDragArtifacts(t) { + (this._rootElement.style.display = ""), + this._nextSibling + ? this._nextSibling.parentNode.insertBefore( + this._rootElement, + this._nextSibling + ) + : Cp(this._initialContainer.element).appendChild( + this._rootElement + ), + this._destroyPreview(), + this._destroyPlaceholder(), + (this._boundaryRect = this._previewRect = void 0), + this._ngZone.run(() => { + const e = this._dropContainer, + n = e.getItemIndex(this), + a = this._getPointerPositionOnPage(t), + o = this._getDragDistance(this._getPointerPositionOnPage(t)), + i = e._isOverContainer(a.x, a.y); + this.ended.next({ source: this, distance: o }), + this.dropped.next({ + item: this, + currentIndex: n, + previousIndex: this._initialContainer.getItemIndex(this), + container: e, + previousContainer: this._initialContainer, + isPointerOverContainer: i, + distance: o + }), + e.drop(this, n, this._initialContainer, i, o), + (this._dropContainer = this._initialContainer); + }); + } + _updateActiveDropContainer({ x: t, y: e }) { + let n = this._initialContainer._getSiblingContainerFromPosition( + this, + t, + e + ); + !n && + this._dropContainer !== this._initialContainer && + this._initialContainer._isOverContainer(t, e) && + (n = this._initialContainer), + n && + n !== this._dropContainer && + this._ngZone.run(() => { + this.exited.next({ + item: this, + container: this._dropContainer + }), + this._dropContainer.exit(this), + (this._dropContainer = n), + this._dropContainer.enter(this, t, e), + this.entered.next({ + item: this, + container: n, + currentIndex: n.getItemIndex(this) + }); + }), + this._dropContainer._sortItem( + this, + t, + e, + this._pointerDirectionDelta + ), + (this._preview.style.transform = Rv( + t - this._pickupPositionInElement.x, + e - this._pickupPositionInElement.y + )); + } + _createPreviewElement() { + const t = this._previewTemplate, + e = t ? t.template : null; + let n; + if (e) { + const a = t.viewContainer.createEmbeddedView(e, t.context); + (n = a.rootNodes[0]), + (this._previewRef = a), + (n.style.transform = Rv( + this._pickupPositionOnPage.x, + this._pickupPositionOnPage.y + )); + } else { + const t = this._rootElement, + e = t.getBoundingClientRect(); + ((n = Dv(t)).style.width = `${e.width}px`), + (n.style.height = `${e.height}px`), + (n.style.transform = Rv(e.left, e.top)); + } + return ( + xv(n.style, { + pointerEvents: "none", + position: "fixed", + top: "0", + left: "0", + zIndex: "1000" + }), + kv(n, !1), + n.classList.add("cdk-drag-preview"), + n.setAttribute("dir", this._direction), + n + ); + } + _animatePreviewToPlaceholder() { + if (!this._hasMoved) return Promise.resolve(); + const t = this._placeholder.getBoundingClientRect(); + this._preview.classList.add("cdk-drag-animating"), + (this._preview.style.transform = Rv(t.left, t.top)); + const e = (function(t) { + const e = getComputedStyle(t), + n = Sv(e, "transition-property"), + a = n.find(t => "transform" === t || "all" === t); + if (!a) return 0; + const o = n.indexOf(a), + i = Sv(e, "transition-duration"), + r = Sv(e, "transition-delay"); + return wv(i[o]) + wv(r[o]); + })(this._preview); + return 0 === e + ? Promise.resolve() + : this._ngZone.runOutsideAngular( + () => + new Promise(t => { + const n = e => { + (!e || + (e.target === this._preview && + "transform" === e.propertyName)) && + (this._preview.removeEventListener( + "transitionend", + n + ), + t(), + clearTimeout(a)); + }, + a = setTimeout(n, 1.5 * e); + this._preview.addEventListener("transitionend", n); + }) + ); + } + _createPlaceholderElement() { + const t = this._placeholderTemplate, + e = t ? t.template : null; + let n; + return ( + e + ? ((this._placeholderRef = t.viewContainer.createEmbeddedView( + e, + t.context + )), + (n = this._placeholderRef.rootNodes[0])) + : (n = Dv(this._rootElement)), + n.classList.add("cdk-drag-placeholder"), + n + ); + } + _getPointerPositionInElement(t, e) { + const n = this._rootElement.getBoundingClientRect(), + a = t === this._rootElement ? null : t, + o = a ? a.getBoundingClientRect() : n, + i = Lv(e) ? e.targetTouches[0] : e; + return { + x: o.left - n.left + (i.pageX - o.left - this._scrollPosition.left), + y: o.top - n.top + (i.pageY - o.top - this._scrollPosition.top) + }; + } + _getPointerPositionOnPage(t) { + const e = Lv(t) ? t.touches[0] || t.changedTouches[0] : t; + return { + x: e.pageX - this._scrollPosition.left, + y: e.pageY - this._scrollPosition.top + }; + } + _getConstrainedPointerPosition(t) { + const e = this._getPointerPositionOnPage(t), + n = this.constrainPosition ? this.constrainPosition(e) : e, + a = this._dropContainer ? this._dropContainer.lockAxis : null; + if ( + ("x" === this.lockAxis || "x" === a + ? (n.y = this._pickupPositionOnPage.y) + : ("y" !== this.lockAxis && "y" !== a) || + (n.x = this._pickupPositionOnPage.x), + this._boundaryRect) + ) { + const { x: t, y: e } = this._pickupPositionInElement, + a = this._boundaryRect, + o = this._previewRect, + i = a.top + e, + r = a.bottom - (o.height - e); + (n.x = Nv(n.x, a.left + t, a.right - (o.width - t))), + (n.y = Nv(n.y, i, r)); + } + return n; + } + _updatePointerDirectionDelta(t) { + const { x: e, y: n } = t, + a = this._pointerDirectionDelta, + o = this._pointerPositionAtLastDirectionChange, + i = Math.abs(e - o.x), + r = Math.abs(n - o.y); + return ( + i > this._config.pointerDirectionChangeThreshold && + ((a.x = e > o.x ? 1 : -1), (o.x = e)), + r > this._config.pointerDirectionChangeThreshold && + ((a.y = n > o.y ? 1 : -1), (o.y = n)), + a + ); + } + _toggleNativeDragInteractions() { + if (!this._rootElement || !this._handles) return; + const t = this.disabled || this._handles.length > 0; + t !== this._nativeInteractionsEnabled && + ((this._nativeInteractionsEnabled = t), kv(this._rootElement, t)); + } + _removeRootElementListeners(t) { + t.removeEventListener("mousedown", this._pointerDown, Iv), + t.removeEventListener("touchstart", this._pointerDown, Ev); + } + _applyRootElementTransform(t, e) { + const n = Rv(t, e); + null == this._initialTransform && + (this._initialTransform = this._rootElement.style.transform || ""), + (this._rootElement.style.transform = this._initialTransform + ? n + " " + this._initialTransform + : n); + } + _getDragDistance(t) { + const e = this._pickupPositionOnPage; + return e ? { x: t.x - e.x, y: t.y - e.y } : { x: 0, y: 0 }; + } + } + function Rv(t, e) { + return `translate3d(${Math.round(t)}px, ${Math.round(e)}px, 0)`; + } + function Dv(t) { + const e = t.cloneNode(!0), + n = e.querySelectorAll("[id]"), + a = t.querySelectorAll("canvas"); + e.removeAttribute("id"); + for (let o = 0; o < n.length; o++) n[o].removeAttribute("id"); + if (a.length) { + const t = e.querySelectorAll("canvas"); + for (let e = 0; e < a.length; e++) { + const n = t[e].getContext("2d"); + n && n.drawImage(a[e], 0, 0); + } + } + return e; + } + function Nv(t, e, n) { + return Math.max(e, Math.min(n, t)); + } + function zv(t) { + t && t.parentNode && t.parentNode.removeChild(t); + } + function Lv(t) { + return t.type.startsWith("touch"); + } + function Fv(t, e) { + return Math.max(0, Math.min(e, t)); + } + let Bv = 0; + const Vv = 0.05; + class Hv { + constructor(t, e, n) { + (this._dragDropRegistry = e), + (this.id = `cdk-drop-list-ref-${Bv++}`), + (this.disabled = !1), + (this.sortingDisabled = !0), + (this.enterPredicate = () => !0), + (this.beforeStarted = new w()), + (this.entered = new w()), + (this.exited = new w()), + (this.dropped = new w()), + (this.sorted = new w()), + (this._isDragging = !1), + (this._itemPositions = []), + (this._previousSwap = { drag: null, delta: 0 }), + (this._siblings = []), + (this._orientation = "vertical"), + (this._activeSiblings = new Set()), + (this._direction = "ltr"), + e.registerDropContainer(this), + (this._document = n), + (this.element = t instanceof Ln ? t.nativeElement : t); + } + dispose() { + this.beforeStarted.complete(), + this.entered.complete(), + this.exited.complete(), + this.dropped.complete(), + this.sorted.complete(), + this._activeSiblings.clear(), + this._dragDropRegistry.removeDropContainer(this); + } + isDragging() { + return this._isDragging; + } + start() { + this.beforeStarted.next(), + (this._isDragging = !0), + this._cacheItems(), + this._siblings.forEach(t => t._startReceiving(this)); + } + enter(t, e, n) { + this.start(); + let a = this.sortingDisabled ? this._draggables.indexOf(t) : -1; + -1 === a && (a = this._getItemIndexFromPointerPosition(t, e, n)); + const o = this._activeDraggables, + i = o.indexOf(t), + r = t.getPlaceholderElement(); + let l = o[a]; + if ( + (l === t && (l = o[a + 1]), + i > -1 && o.splice(i, 1), + l && !this._dragDropRegistry.isDragging(l)) + ) { + const e = l.getRootElement(); + e.parentElement.insertBefore(r, e), o.splice(a, 0, t); + } else Cp(this.element).appendChild(r), o.push(t); + (r.style.transform = ""), + this._cacheItemPositions(), + this.entered.next({ + item: t, + container: this, + currentIndex: this.getItemIndex(t) + }); + } + exit(t) { + this._reset(), this.exited.next({ item: t, container: this }); + } + drop(t, e, n, a, o = { x: 0, y: 0 }) { + this._reset(), + this.dropped.next({ + item: t, + currentIndex: e, + previousIndex: n.getItemIndex(t), + container: this, + previousContainer: n, + isPointerOverContainer: a, + distance: o + }); + } + withItems(t) { + return ( + (this._draggables = t), + t.forEach(t => t._withDropContainer(this)), + this.isDragging() && this._cacheItems(), + this + ); + } + withDirection(t) { + return (this._direction = t), this; + } + connectedTo(t) { + return (this._siblings = t.slice()), this; + } + withOrientation(t) { + return (this._orientation = t), this; + } + getItemIndex(t) { + return this._isDragging + ? Uv( + "horizontal" === this._orientation && "rtl" === this._direction + ? this._itemPositions.slice().reverse() + : this._itemPositions, + e => e.drag === t + ) + : this._draggables.indexOf(t); + } + isReceiving() { + return this._activeSiblings.size > 0; + } + _sortItem(t, e, n, a) { + if (this.sortingDisabled || !this._isPointerNearDropContainer(e, n)) + return; + const o = this._itemPositions, + i = this._getItemIndexFromPointerPosition(t, e, n, a); + if (-1 === i && o.length > 0) return; + const r = "horizontal" === this._orientation, + l = Uv(o, e => e.drag === t), + s = o[i], + c = o[l].clientRect, + d = s.clientRect, + u = l > i ? 1 : -1; + (this._previousSwap.drag = s.drag), + (this._previousSwap.delta = r ? a.x : a.y); + const m = this._getItemOffsetPx(c, d, u), + h = this._getSiblingOffsetPx(l, o, u), + g = o.slice(); + !(function(t, e, n) { + const a = Fv(l, t.length - 1), + o = Fv(n, t.length - 1); + if (a === o) return; + const i = t[a], + r = o < a ? -1 : 1; + for (let l = a; l !== o; l += r) t[l] = t[l + r]; + t[o] = i; + })(o, 0, i), + this.sorted.next({ + previousIndex: l, + currentIndex: i, + container: this, + item: t + }), + o.forEach((e, n) => { + if (g[n] === e) return; + const a = e.drag === t, + o = a ? m : h, + i = a ? t.getPlaceholderElement() : e.drag.getRootElement(); + (e.offset += o), + r + ? ((i.style.transform = `translate3d(${Math.round( + e.offset + )}px, 0, 0)`), + jv(e.clientRect, 0, o)) + : ((i.style.transform = `translate3d(0, ${Math.round( + e.offset + )}px, 0)`), + jv(e.clientRect, o, 0)); + }); + } + _cacheOwnPosition() { + this._clientRect = Cp(this.element).getBoundingClientRect(); + } + _cacheItemPositions() { + const t = "horizontal" === this._orientation; + this._itemPositions = this._activeDraggables + .map(t => { + const e = (this._dragDropRegistry.isDragging(t) + ? t.getPlaceholderElement() + : t.getRootElement() + ).getBoundingClientRect(); + return { + drag: t, + offset: 0, + clientRect: { + top: e.top, + right: e.right, + bottom: e.bottom, + left: e.left, + width: e.width, + height: e.height + } + }; + }) + .sort((e, n) => + t + ? e.clientRect.left - n.clientRect.left + : e.clientRect.top - n.clientRect.top + ); + } + _reset() { + (this._isDragging = !1), + this._activeDraggables.forEach( + t => (t.getRootElement().style.transform = "") + ), + this._siblings.forEach(t => t._stopReceiving(this)), + (this._activeDraggables = []), + (this._itemPositions = []), + (this._previousSwap.drag = null), + (this._previousSwap.delta = 0); + } + _getSiblingOffsetPx(t, e, n) { + const a = "horizontal" === this._orientation, + o = e[t].clientRect, + i = e[t + -1 * n]; + let r = o[a ? "width" : "height"] * n; + if (i) { + const t = a ? "left" : "top", + e = a ? "right" : "bottom"; + -1 === n + ? (r -= i.clientRect[t] - o[e]) + : (r += o[t] - i.clientRect[e]); + } + return r; + } + _isPointerNearDropContainer(t, e) { + const { + top: n, + right: a, + bottom: o, + left: i, + width: r, + height: l + } = this._clientRect, + s = r * Vv, + c = l * Vv; + return e > n - c && e < o + c && t > i - s && t < a + s; + } + _getItemOffsetPx(t, e, n) { + const a = "horizontal" === this._orientation; + let o = a ? e.left - t.left : e.top - t.top; + return ( + -1 === n && (o += a ? e.width - t.width : e.height - t.height), o + ); + } + _getItemIndexFromPointerPosition(t, e, n, a) { + const o = "horizontal" === this._orientation; + return Uv(this._itemPositions, ({ drag: i, clientRect: r }, l, s) => { + if (i === t) return s.length < 2; + if (a) { + const t = o ? a.x : a.y; + if ( + i === this._previousSwap.drag && + t === this._previousSwap.delta + ) + return !1; + } + return o + ? e >= Math.floor(r.left) && e <= Math.floor(r.right) + : n >= Math.floor(r.top) && n <= Math.floor(r.bottom); + }); + } + _cacheItems() { + (this._activeDraggables = this._draggables.slice()), + this._cacheItemPositions(), + this._cacheOwnPosition(); + } + _isOverContainer(t, e) { + return qv(this._clientRect, t, e); + } + _getSiblingContainerFromPosition(t, e, n) { + return this._siblings.find(a => a._canReceive(t, e, n)); + } + _canReceive(t, e, n) { + if (!this.enterPredicate(t, this) || !qv(this._clientRect, e, n)) + return !1; + const a = this._document.elementFromPoint(e, n); + if (!a) return !1; + const o = Cp(this.element); + return a === o || o.contains(a); + } + _startReceiving(t) { + const e = this._activeSiblings; + e.has(t) || (e.add(t), this._cacheOwnPosition()); + } + _stopReceiving(t) { + this._activeSiblings.delete(t); + } + } + function jv(t, e, n) { + (t.top += e), + (t.bottom = t.top + t.height), + (t.left += n), + (t.right = t.left + t.width); + } + function Uv(t, e) { + for (let n = 0; n < t.length; n++) if (e(t[n], n, t)) return n; + return -1; + } + function qv(t, e, n) { + const { top: a, bottom: o, left: i, right: r } = t; + return n >= a && n <= o && e >= i && e <= r; + } + const Kv = wp({ passive: !1, capture: !0 }), + Yv = (() => { + class t { + constructor(t, e) { + (this._ngZone = t), + (this._dropInstances = new Set()), + (this._dragInstances = new Set()), + (this._activeDragInstances = new Set()), + (this._globalListeners = new Map()), + (this.pointerMove = new w()), + (this.pointerUp = new w()), + (this._preventDefaultWhileDragging = t => { + this._activeDragInstances.size && t.preventDefault(); + }), + (this._document = e); + } + registerDropContainer(t) { + if (!this._dropInstances.has(t)) { + if (this.getDropContainer(t.id)) + throw Error( + `Drop instance with id "${t.id}" has already been registered.` + ); + this._dropInstances.add(t); + } + } + registerDragItem(t) { + this._dragInstances.add(t), + 1 === this._dragInstances.size && + this._ngZone.runOutsideAngular(() => { + this._document.addEventListener( + "touchmove", + this._preventDefaultWhileDragging, + Kv + ); + }); + } + removeDropContainer(t) { + this._dropInstances.delete(t); + } + removeDragItem(t) { + this._dragInstances.delete(t), + this.stopDragging(t), + 0 === this._dragInstances.size && + this._document.removeEventListener( + "touchmove", + this._preventDefaultWhileDragging, + Kv + ); + } + startDragging(t, e) { + if ( + !this._activeDragInstances.has(t) && + (this._activeDragInstances.add(t), + 1 === this._activeDragInstances.size) + ) { + const t = e.type.startsWith("touch"), + n = t ? "touchend" : "mouseup"; + this._globalListeners + .set(t ? "touchmove" : "mousemove", { + handler: t => this.pointerMove.next(t), + options: Kv + }) + .set(n, { handler: t => this.pointerUp.next(t), options: !0 }) + .set("selectstart", { + handler: this._preventDefaultWhileDragging, + options: Kv + }), + t || + this._globalListeners.set("wheel", { + handler: this._preventDefaultWhileDragging, + options: Kv + }), + this._ngZone.runOutsideAngular(() => { + this._globalListeners.forEach((t, e) => { + this._document.addEventListener(e, t.handler, t.options); + }); + }); + } + } + stopDragging(t) { + this._activeDragInstances.delete(t), + 0 === this._activeDragInstances.size && + this._clearGlobalListeners(); + } + isDragging(t) { + return this._activeDragInstances.has(t); + } + getDropContainer(t) { + return Array.from(this._dropInstances).find(e => e.id === t); + } + ngOnDestroy() { + this._dragInstances.forEach(t => this.removeDragItem(t)), + this._dropInstances.forEach(t => this.removeDropContainer(t)), + this._clearGlobalListeners(), + this.pointerMove.complete(), + this.pointerUp.complete(); + } + _clearGlobalListeners() { + this._globalListeners.forEach((t, e) => { + this._document.removeEventListener(e, t.handler, t.options); + }), + this._globalListeners.clear(); + } + } + return ( + (t.ngInjectableDef = bt({ + factory: function() { + return new t(It(Di), It(Bs)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + Wv = { dragStartThreshold: 5, pointerDirectionChangeThreshold: 5 }, + Gv = (() => { + class t { + constructor(t, e, n, a) { + (this._document = t), + (this._ngZone = e), + (this._viewportRuler = n), + (this._dragDropRegistry = a); + } + createDrag(t, e = Wv) { + return new Tv( + t, + e, + this._document, + this._ngZone, + this._viewportRuler, + this._dragDropRegistry + ); + } + createDropList(t) { + return new Hv(t, this._dragDropRegistry, this._document); + } + } + return ( + (t.ngInjectableDef = bt({ + factory: function() { + return new t(It(Bs), It(Di), It(NO), It(Yv)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + $v = new Ht("CDK_DROP_LIST"), + Zv = new Ht("CDK_DRAG_PARENT"), + Qv = (() => + class { + constructor(t, e) { + (this.element = t), + (this._stateChanges = new w()), + (this._disabled = !1), + (this._parentDrag = e), + kv(t.nativeElement, !1); + } + get disabled() { + return this._disabled; + } + set disabled(t) { + (this._disabled = pp(t)), this._stateChanges.next(this); + } + ngOnDestroy() { + this._stateChanges.complete(); + } + })(), + Xv = new Ht("CDK_DRAG_CONFIG", { + providedIn: "root", + factory: function() { + return { + dragStartThreshold: 5, + pointerDirectionChangeThreshold: 5 + }; + } + }), + Jv = (() => + class { + constructor(t, e, n, a, o, i, r, l, s) { + (this.element = t), + (this.dropContainer = e), + (this._document = n), + (this._ngZone = a), + (this._viewContainerRef = o), + (this._dir = r), + (this._changeDetectorRef = s), + (this._destroyed = new w()), + (this.dragStartDelay = 0), + (this._disabled = !1), + (this.started = new li()), + (this.released = new li()), + (this.ended = new li()), + (this.entered = new li()), + (this.exited = new li()), + (this.dropped = new li()), + (this.moved = new O(t => { + const e = this._dragRef.moved + .pipe( + j(t => ({ + source: this, + pointerPosition: t.pointerPosition, + event: t.event, + delta: t.delta, + distance: t.distance + })) + ) + .subscribe(t); + return () => { + e.unsubscribe(); + }; + })), + (this._dragRef = l.createDrag(t, i)), + (this._dragRef.data = this), + this._syncInputs(this._dragRef), + this._handleEvents(this._dragRef); + } + get boundaryElementSelector() { + return "string" == typeof this.boundaryElement + ? this.boundaryElement + : void 0; + } + set boundaryElementSelector(t) { + this.boundaryElement = t; + } + get disabled() { + return ( + this._disabled || + (this.dropContainer && this.dropContainer.disabled) + ); + } + set disabled(t) { + (this._disabled = pp(t)), + (this._dragRef.disabled = this._disabled); + } + getPlaceholderElement() { + return this._dragRef.getPlaceholderElement(); + } + getRootElement() { + return this._dragRef.getRootElement(); + } + reset() { + this._dragRef.reset(); + } + getFreeDragPosition() { + return this._dragRef.getFreeDragPosition(); + } + ngAfterViewInit() { + this._ngZone.onStable + .asObservable() + .pipe( + Zc(1), + oO(this._destroyed) + ) + .subscribe(() => { + this._updateRootElement(), + this._handles.changes + .pipe( + id(this._handles), + Bc(t => { + const e = t + .filter(t => t._parentDrag === this) + .map(t => t.element); + this._dragRef.withHandles(e); + }), + nd(t => X(...t.map(t => t._stateChanges))), + oO(this._destroyed) + ) + .subscribe(t => { + const e = this._dragRef, + n = t.element.nativeElement; + t.disabled ? e.disableHandle(n) : e.enableHandle(n); + }), + this.freeDragPosition && + this._dragRef.setFreeDragPosition(this.freeDragPosition); + }); + } + ngOnChanges(t) { + const e = t.rootElementSelector, + n = t.freeDragPosition; + e && !e.firstChange && this._updateRootElement(), + n && + !n.firstChange && + this.freeDragPosition && + this._dragRef.setFreeDragPosition(this.freeDragPosition); + } + ngOnDestroy() { + this._destroyed.next(), + this._destroyed.complete(), + this._dragRef.dispose(); + } + _updateRootElement() { + const t = this.element.nativeElement, + e = this.rootElementSelector + ? tx(t, this.rootElementSelector) + : t; + if (e && e.nodeType !== this._document.ELEMENT_NODE) + throw Error( + "cdkDrag must be attached to an element node. " + + `Currently attached to "${e.nodeName}".` + ); + this._dragRef.withRootElement(e || t); + } + _getBoundaryElement() { + const t = this.boundaryElement; + if (!t) return null; + if ("string" == typeof t) + return tx(this.element.nativeElement, t); + const e = Cp(t); + if (Ve() && !e.contains(this.element.nativeElement)) + throw Error( + "Draggable element is not inside of the node passed into cdkDragBoundary." + ); + return e; + } + _syncInputs(t) { + t.beforeStarted.subscribe(() => { + if (!t.isDragging()) { + const e = this._dir, + n = this._placeholderTemplate + ? { + template: this._placeholderTemplate.templateRef, + context: this._placeholderTemplate.data, + viewContainer: this._viewContainerRef + } + : null, + a = this._previewTemplate + ? { + template: this._previewTemplate.templateRef, + context: this._previewTemplate.data, + viewContainer: this._viewContainerRef + } + : null; + (t.disabled = this.disabled), + (t.lockAxis = this.lockAxis), + (t.dragStartDelay = fp(this.dragStartDelay)), + (t.constrainPosition = this.constrainPosition), + t + .withBoundaryElement(this._getBoundaryElement()) + .withPlaceholderTemplate(n) + .withPreviewTemplate(a), + e && t.withDirection(e.value); + } + }); + } + _handleEvents(t) { + t.started.subscribe(() => { + this.started.emit({ source: this }), + this._changeDetectorRef.markForCheck(); + }), + t.released.subscribe(() => { + this.released.emit({ source: this }); + }), + t.ended.subscribe(t => { + this.ended.emit({ source: this, distance: t.distance }), + this._changeDetectorRef.markForCheck(); + }), + t.entered.subscribe(t => { + this.entered.emit({ + container: t.container.data, + item: this, + currentIndex: t.currentIndex + }); + }), + t.exited.subscribe(t => { + this.exited.emit({ container: t.container.data, item: this }); + }), + t.dropped.subscribe(t => { + this.dropped.emit({ + previousIndex: t.previousIndex, + currentIndex: t.currentIndex, + previousContainer: t.previousContainer.data, + container: t.container.data, + isPointerOverContainer: t.isPointerOverContainer, + item: this, + distance: t.distance + }); + }); + } + })(); + function tx(t, e) { + let n = t.parentElement; + for (; n; ) { + if (n.matches ? n.matches(e) : n.msMatchesSelector(e)) return n; + n = n.parentElement; + } + return null; + } + const ex = (() => + class { + constructor() { + (this._items = new Set()), (this._disabled = !1); + } + get disabled() { + return this._disabled; + } + set disabled(t) { + this._disabled = pp(t); + } + ngOnDestroy() { + this._items.clear(); + } + })(); + let nx = 0; + const ax = (() => { + class t { + constructor(e, n, a, o, i) { + (this.element = e), + (this._changeDetectorRef = a), + (this._dir = o), + (this._group = i), + (this._destroyed = new w()), + (this.connectedTo = []), + (this.orientation = "vertical"), + (this.id = `cdk-drop-list-${nx++}`), + (this._disabled = !1), + (this._sortingDisabled = !1), + (this.enterPredicate = () => !0), + (this.dropped = new li()), + (this.entered = new li()), + (this.exited = new li()), + (this.sorted = new li()), + (this._dropListRef = n.createDropList(e)), + (this._dropListRef.data = this), + (this._dropListRef.enterPredicate = (t, e) => + this.enterPredicate(t.data, e.data)), + this._syncInputs(this._dropListRef), + this._handleEvents(this._dropListRef), + t._dropLists.push(this), + i && i._items.add(this); + } + get disabled() { + return this._disabled || (!!this._group && this._group.disabled); + } + set disabled(t) { + this._disabled = pp(t); + } + get sortingDisabled() { + return this._sortingDisabled; + } + set sortingDisabled(t) { + this._sortingDisabled = pp(t); + } + ngAfterContentInit() { + this._draggables.changes + .pipe( + id(this._draggables), + oO(this._destroyed) + ) + .subscribe(t => { + this._dropListRef.withItems(t.map(t => t._dragRef)); + }); + } + ngOnDestroy() { + const e = t._dropLists.indexOf(this); + e > -1 && t._dropLists.splice(e, 1), + this._group && this._group._items.delete(this), + this._dropListRef.dispose(), + this._destroyed.next(), + this._destroyed.complete(); + } + start() { + this._dropListRef.start(); + } + drop(t, e, n, a) { + this._dropListRef.drop(t._dragRef, e, n._dropListRef, a); + } + enter(t, e, n) { + this._dropListRef.enter(t._dragRef, e, n); + } + exit(t) { + this._dropListRef.exit(t._dragRef); + } + getItemIndex(t) { + return this._dropListRef.getItemIndex(t._dragRef); + } + _sortItem(t, e, n, a) { + return this._dropListRef._sortItem(t._dragRef, e, n, a); + } + _getSiblingContainerFromPosition(t, e, n) { + const a = this._dropListRef._getSiblingContainerFromPosition( + t._dragRef, + e, + n + ); + return a ? a.data : null; + } + _isOverContainer(t, e) { + return this._dropListRef._isOverContainer(t, e); + } + _syncInputs(e) { + this._dir && + this._dir.change + .pipe( + id(this._dir.value), + oO(this._destroyed) + ) + .subscribe(t => e.withDirection(t)), + e.beforeStarted.subscribe(() => { + const n = bp(this.connectedTo).map(e => + "string" == typeof e + ? t._dropLists.find(t => t.id === e) + : e + ); + this._group && + this._group._items.forEach(t => { + -1 === n.indexOf(t) && n.push(t); + }), + (e.disabled = this.disabled), + (e.lockAxis = this.lockAxis), + (e.sortingDisabled = this.sortingDisabled), + e + .connectedTo( + n.filter(t => t && t !== this).map(t => t._dropListRef) + ) + .withOrientation(this.orientation); + }); + } + _handleEvents(t) { + t.beforeStarted.subscribe(() => { + this._changeDetectorRef.markForCheck(); + }), + t.entered.subscribe(t => { + this.entered.emit({ + container: this, + item: t.item.data, + currentIndex: t.currentIndex + }); + }), + t.exited.subscribe(t => { + this.exited.emit({ container: this, item: t.item.data }), + this._changeDetectorRef.markForCheck(); + }), + t.sorted.subscribe(t => { + this.sorted.emit({ + previousIndex: t.previousIndex, + currentIndex: t.currentIndex, + container: this, + item: t.item.data + }); + }), + t.dropped.subscribe(t => { + this.dropped.emit({ + previousIndex: t.previousIndex, + currentIndex: t.currentIndex, + previousContainer: t.previousContainer.data, + container: t.container.data, + item: t.item.data, + isPointerOverContainer: t.isPointerOverContainer, + distance: t.distance + }), + this._changeDetectorRef.markForCheck(); + }); + } + } + return (t._dropLists = []), t; + })(), + ox = (() => class {})(); + function ix(t, e = Gp) { + var n; + const a = + (n = t) instanceof Date && !isNaN(+n) ? +t - e.now() : Math.abs(t); + return t => t.lift(new rx(a, e)); + } + class rx { + constructor(t, e) { + (this.delay = t), (this.scheduler = e); + } + call(t, e) { + return e.subscribe(new lx(t, this.delay, this.scheduler)); + } + } + class lx extends p { + 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, + a = t.scheduler, + o = t.destination; + for (; n.length > 0 && n[0].time - a.now() <= 0; ) + n.shift().notification.observe(o); + if (n.length > 0) { + const e = Math.max(0, n[0].time - a.now()); + this.schedule(t, e); + } else this.unsubscribe(), (e.active = !1); + } + _schedule(t) { + (this.active = !0), + this.destination.add( + t.schedule(lx.dispatch, this.delay, { + source: this, + destination: this.destination, + scheduler: t + }) + ); + } + scheduleNotification(t) { + if (!0 === this.errored) return; + const e = this.scheduler, + n = new sx(e.now() + this.delay, t); + this.queue.push(n), !1 === this.active && this._schedule(e); + } + _next(t) { + this.scheduleNotification(hO.createNext(t)); + } + _error(t) { + (this.errored = !0), + (this.queue = []), + this.destination.error(t), + this.unsubscribe(); + } + _complete() { + this.scheduleNotification(hO.createComplete()), this.unsubscribe(); + } + } + class sx { + constructor(t, e) { + (this.time = t), (this.notification = e); + } + } + const cx = new Ht("MAT_MENU_PANEL"); + class dx {} + const ux = xf(yf(dx)), + mx = (() => + class extends ux { + constructor(t, e, n, a) { + super(), + (this._elementRef = t), + (this._focusMonitor = n), + (this._parentMenu = a), + (this.role = "menuitem"), + (this._hovered = new w()), + (this._highlighted = !1), + (this._triggersSubmenu = !1), + n && n.monitor(this._elementRef, !1), + a && a.addItem && a.addItem(this), + (this._document = e); + } + focus(t = "program") { + this._focusMonitor + ? this._focusMonitor.focusVia(this._getHostElement(), t) + : this._getHostElement().focus(); + } + ngOnDestroy() { + this._focusMonitor && + this._focusMonitor.stopMonitoring(this._elementRef), + this._parentMenu && + this._parentMenu.removeItem && + this._parentMenu.removeItem(this), + this._hovered.complete(); + } + _getTabIndex() { + return this.disabled ? "-1" : "0"; + } + _getHostElement() { + return this._elementRef.nativeElement; + } + _checkDisabled(t) { + this.disabled && (t.preventDefault(), t.stopPropagation()); + } + _handleMouseEnter() { + this._hovered.next(this); + } + getLabel() { + const t = this._elementRef.nativeElement, + e = this._document ? this._document.TEXT_NODE : 3; + let n = ""; + if (t.childNodes) { + const a = t.childNodes.length; + for (let o = 0; o < a; o++) + t.childNodes[o].nodeType === e && + (n += t.childNodes[o].textContent); + } + return n.trim(); + } + })(), + hx = new Ht("mat-menu-default-options", { + providedIn: "root", + factory: function() { + return { + overlapTrigger: !1, + xPosition: "after", + yPosition: "below", + backdropClass: "cdk-overlay-transparent-backdrop" + }; + } + }), + gx = (() => + class { + constructor(t, e, n) { + (this._elementRef = t), + (this._ngZone = e), + (this._defaultOptions = n), + (this._xPosition = this._defaultOptions.xPosition), + (this._yPosition = this._defaultOptions.yPosition), + (this._items = []), + (this._itemChanges = new w()), + (this._tabSubscription = m.EMPTY), + (this._classList = {}), + (this._panelAnimationState = "void"), + (this._animationDone = new w()), + (this.backdropClass = this._defaultOptions.backdropClass), + (this._overlapTrigger = this._defaultOptions.overlapTrigger), + (this._hasBackdrop = this._defaultOptions.hasBackdrop), + (this.closed = new li()), + (this.close = this.closed); + } + get xPosition() { + return this._xPosition; + } + set xPosition(t) { + "before" !== t && + "after" !== t && + (function() { + throw Error( + 'xPosition value must be either \'before\' or after\'.\n Example: ' + ); + })(), + (this._xPosition = t), + this.setPositionClasses(); + } + get yPosition() { + return this._yPosition; + } + set yPosition(t) { + "above" !== t && + "below" !== t && + (function() { + throw Error( + 'yPosition value must be either \'above\' or below\'.\n Example: ' + ); + })(), + (this._yPosition = t), + this.setPositionClasses(); + } + get overlapTrigger() { + return this._overlapTrigger; + } + set overlapTrigger(t) { + this._overlapTrigger = pp(t); + } + get hasBackdrop() { + return this._hasBackdrop; + } + set hasBackdrop(t) { + this._hasBackdrop = pp(t); + } + set panelClass(t) { + const e = this._previousPanelClass; + e && + e.length && + e.split(" ").forEach(t => { + this._classList[t] = !1; + }), + (this._previousPanelClass = t), + t && + t.length && + (t.split(" ").forEach(t => { + this._classList[t] = !0; + }), + (this._elementRef.nativeElement.className = "")); + } + get classList() { + return this.panelClass; + } + set classList(t) { + this.panelClass = t; + } + ngOnInit() { + this.setPositionClasses(); + } + ngAfterContentInit() { + (this._keyManager = new df(this._items) + .withWrap() + .withTypeAhead()), + (this._tabSubscription = this._keyManager.tabOut.subscribe(() => + this.closed.emit("tab") + )); + } + ngOnDestroy() { + this._tabSubscription.unsubscribe(), this.closed.complete(); + } + _hovered() { + return this._itemChanges.pipe( + id(this._items), + nd(t => X(...t.map(t => t._hovered))) + ); + } + _handleKeydown(t) { + const e = t.keyCode, + n = this._keyManager; + switch (e) { + case Rp: + Up(t) || (t.preventDefault(), this.closed.emit("keydown")); + break; + case Dp: + this.parentMenu && + "ltr" === this.direction && + this.closed.emit("keydown"); + break; + case zp: + this.parentMenu && + "rtl" === this.direction && + this.closed.emit("keydown"); + break; + case 36: + case 35: + Up(t) || + (36 === e ? n.setFirstItemActive() : n.setLastItemActive(), + t.preventDefault()); + break; + default: + (e !== Np && e !== Lp) || n.setFocusOrigin("keyboard"), + n.onKeydown(t); + } + } + focusFirstItem(t = "program") { + this.lazyContent + ? this._ngZone.onStable + .asObservable() + .pipe(Zc(1)) + .subscribe(() => + this._keyManager.setFocusOrigin(t).setFirstItemActive() + ) + : this._keyManager.setFocusOrigin(t).setFirstItemActive(); + } + resetActiveItem() { + this._keyManager.setActiveItem(-1); + } + setElevation(t) { + const e = `mat-elevation-z${4 + t}`, + n = Object.keys(this._classList).find(t => + t.startsWith("mat-elevation-z") + ); + (n && n !== this._previousElevation) || + (this._previousElevation && + (this._classList[this._previousElevation] = !1), + (this._classList[e] = !0), + (this._previousElevation = e)); + } + addItem(t) { + -1 === this._items.indexOf(t) && + (this._items.push(t), this._itemChanges.next(this._items)); + } + removeItem(t) { + const e = this._items.indexOf(t); + this._items.indexOf(t) > -1 && + (this._items.splice(e, 1), this._itemChanges.next(this._items)); + } + setPositionClasses(t = this.xPosition, e = this.yPosition) { + const n = this._classList; + (n["mat-menu-before"] = "before" === t), + (n["mat-menu-after"] = "after" === t), + (n["mat-menu-above"] = "above" === e), + (n["mat-menu-below"] = "below" === e); + } + _startAnimation() { + this._panelAnimationState = "enter"; + } + _resetAnimation() { + this._panelAnimationState = "void"; + } + _onAnimationDone(t) { + this._animationDone.next(t), (this._isAnimating = !1); + } + _onAnimationStart(t) { + (this._isAnimating = !0), + "enter" === t.toState && + 0 === this._keyManager.activeItemIndex && + (t.element.scrollTop = 0); + } + })(); + class px extends gx {} + const fx = (() => + class extends px { + constructor(t, e, n) { + super(t, e, n); + } + })(), + bx = new Ht("mat-menu-scroll-strategy"); + function _x(t) { + return () => t.scrollStrategies.reposition(); + } + const Cx = wp({ passive: !0 }), + Px = (() => + class { + constructor(t, e, n, a, o, i, r, l) { + (this._overlay = t), + (this._element = e), + (this._viewContainerRef = n), + (this._parentMenu = o), + (this._menuItemInstance = i), + (this._dir = r), + (this._focusMonitor = l), + (this._overlayRef = null), + (this._menuOpen = !1), + (this._closingActionsSubscription = m.EMPTY), + (this._hoverSubscription = m.EMPTY), + (this._menuCloseSubscription = m.EMPTY), + (this._handleTouchStart = () => (this._openedBy = "touch")), + (this._openedBy = null), + (this.restoreFocus = !0), + (this.menuOpened = new li()), + (this.onMenuOpen = this.menuOpened), + (this.menuClosed = new li()), + (this.onMenuClose = this.menuClosed), + e.nativeElement.addEventListener( + "touchstart", + this._handleTouchStart, + Cx + ), + i && (i._triggersSubmenu = this.triggersSubmenu()), + (this._scrollStrategy = a); + } + get _deprecatedMatMenuTriggerFor() { + return this.menu; + } + set _deprecatedMatMenuTriggerFor(t) { + this.menu = t; + } + get menu() { + return this._menu; + } + set menu(t) { + t !== this._menu && + ((this._menu = t), + this._menuCloseSubscription.unsubscribe(), + t && + (this._menuCloseSubscription = t.close + .asObservable() + .subscribe(t => { + this._destroyMenu(), + ("click" !== t && "tab" !== t) || + !this._parentMenu || + this._parentMenu.closed.emit(t); + }))); + } + ngAfterContentInit() { + this._checkMenu(), this._handleHover(); + } + ngOnDestroy() { + this._overlayRef && + (this._overlayRef.dispose(), (this._overlayRef = null)), + this._element.nativeElement.removeEventListener( + "touchstart", + this._handleTouchStart, + Cx + ), + this._menuCloseSubscription.unsubscribe(), + this._closingActionsSubscription.unsubscribe(), + this._hoverSubscription.unsubscribe(); + } + get menuOpen() { + return this._menuOpen; + } + get dir() { + return this._dir && "rtl" === this._dir.value ? "rtl" : "ltr"; + } + triggersSubmenu() { + return !(!this._menuItemInstance || !this._parentMenu); + } + toggleMenu() { + return this._menuOpen ? this.closeMenu() : this.openMenu(); + } + openMenu() { + if (this._menuOpen) return; + this._checkMenu(); + const t = this._createOverlay(), + e = t.getConfig(); + this._setPosition(e.positionStrategy), + (e.hasBackdrop = + null == this.menu.hasBackdrop + ? !this.triggersSubmenu() + : this.menu.hasBackdrop), + t.attach(this._getPortal()), + this.menu.lazyContent && + this.menu.lazyContent.attach(this.menuData), + (this._closingActionsSubscription = this._menuClosingActions().subscribe( + () => this.closeMenu() + )), + this._initMenu(), + this.menu instanceof px && this.menu._startAnimation(); + } + closeMenu() { + this.menu.close.emit(); + } + focus(t = "program") { + this._focusMonitor + ? this._focusMonitor.focusVia(this._element, t) + : this._element.nativeElement.focus(); + } + _destroyMenu() { + if (!this._overlayRef || !this.menuOpen) return; + const t = this.menu; + this._closingActionsSubscription.unsubscribe(), + this._overlayRef.detach(), + t instanceof px + ? (t._resetAnimation(), + t.lazyContent + ? t._animationDone + .pipe( + Ql(t => "void" === t.toState), + Zc(1), + oO(t.lazyContent._attached) + ) + .subscribe({ + next: () => t.lazyContent.detach(), + complete: () => this._resetMenu() + }) + : this._resetMenu()) + : (this._resetMenu(), + t.lazyContent && t.lazyContent.detach()); + } + _initMenu() { + (this.menu.parentMenu = this.triggersSubmenu() + ? this._parentMenu + : void 0), + (this.menu.direction = this.dir), + this._setMenuElevation(), + this._setIsMenuOpen(!0), + this.menu.focusFirstItem(this._openedBy || "program"); + } + _setMenuElevation() { + if (this.menu.setElevation) { + let t = 0, + e = this.menu.parentMenu; + for (; e; ) t++, (e = e.parentMenu); + this.menu.setElevation(t); + } + } + _resetMenu() { + this._setIsMenuOpen(!1), + this.restoreFocus && + (this._openedBy + ? this.triggersSubmenu() || this.focus(this._openedBy) + : this.focus()), + (this._openedBy = null); + } + _setIsMenuOpen(t) { + (this._menuOpen = t), + this._menuOpen + ? this.menuOpened.emit() + : this.menuClosed.emit(), + this.triggersSubmenu() && + (this._menuItemInstance._highlighted = t); + } + _checkMenu() { + this.menu || + (function() { + throw Error( + 'matMenuTriggerFor: must pass in an mat-menu instance.\n\n Example:\n \n ' + ); + })(); + } + _createOverlay() { + if (!this._overlayRef) { + const t = this._getOverlayConfig(); + this._subscribeToPositions(t.positionStrategy), + (this._overlayRef = this._overlay.create(t)), + this._overlayRef.keydownEvents().subscribe(); + } + return this._overlayRef; + } + _getOverlayConfig() { + return new qO({ + positionStrategy: this._overlay + .position() + .flexibleConnectedTo(this._element) + .withLockedPosition() + .withTransformOriginOn( + ".mat-menu-panel, .mat-mdc-menu-panel" + ), + backdropClass: + this.menu.backdropClass || "cdk-overlay-transparent-backdrop", + scrollStrategy: this._scrollStrategy(), + direction: this._dir + }); + } + _subscribeToPositions(t) { + this.menu.setPositionClasses && + t.positionChanges.subscribe(t => { + this.menu.setPositionClasses( + "start" === t.connectionPair.overlayX ? "after" : "before", + "top" === t.connectionPair.overlayY ? "below" : "above" + ); + }); + } + _setPosition(t) { + let [e, n] = + "before" === this.menu.xPosition + ? ["end", "start"] + : ["start", "end"], + [a, o] = + "above" === this.menu.yPosition + ? ["bottom", "top"] + : ["top", "bottom"], + [i, r] = [a, o], + [l, s] = [e, n], + c = 0; + this.triggersSubmenu() + ? ((s = e = "before" === this.menu.xPosition ? "start" : "end"), + (n = l = "end" === e ? "start" : "end"), + (c = "bottom" === a ? 8 : -8)) + : this.menu.overlapTrigger || + ((i = "top" === a ? "bottom" : "top"), + (r = "top" === o ? "bottom" : "top")), + t.withPositions([ + { + originX: e, + originY: i, + overlayX: l, + overlayY: a, + offsetY: c + }, + { + originX: n, + originY: i, + overlayX: s, + overlayY: a, + offsetY: c + }, + { + originX: e, + originY: r, + overlayX: l, + overlayY: o, + offsetY: -c + }, + { + originX: n, + originY: r, + overlayX: s, + overlayY: o, + offsetY: -c + } + ]); + } + _menuClosingActions() { + const t = this._overlayRef.backdropClick(), + e = this._overlayRef.detachments(); + return X( + t, + this._parentMenu ? this._parentMenu.closed : $l(), + this._parentMenu + ? this._parentMenu._hovered().pipe( + Ql(t => t !== this._menuItemInstance), + Ql(() => this._menuOpen) + ) + : $l(), + e + ); + } + _handleMousedown(t) { + Cf(t) || + ((this._openedBy = 0 === t.button ? "mouse" : null), + this.triggersSubmenu() && t.preventDefault()); + } + _handleKeydown(t) { + const e = t.keyCode; + this.triggersSubmenu() && + ((e === zp && "ltr" === this.dir) || + (e === Dp && "rtl" === this.dir)) && + this.openMenu(); + } + _handleClick(t) { + this.triggersSubmenu() + ? (t.stopPropagation(), this.openMenu()) + : this.toggleMenu(); + } + _handleHover() { + this.triggersSubmenu() && + (this._hoverSubscription = this._parentMenu + ._hovered() + .pipe( + Ql(t => t === this._menuItemInstance && !t.disabled), + ix(0, ZP) + ) + .subscribe(() => { + (this._openedBy = "mouse"), + this.menu instanceof px && this.menu._isAnimating + ? this.menu._animationDone + .pipe( + Zc(1), + ix(0, ZP), + oO(this._parentMenu._hovered()) + ) + .subscribe(() => this.openMenu()) + : this.openMenu(); + })); + } + _getPortal() { + return ( + (this._portal && + this._portal.templateRef === this.menu.templateRef) || + (this._portal = new NP( + this.menu.templateRef, + this._viewContainerRef + )), + this._portal + ); + } + })(), + Ox = (() => class {})(), + Mx = (() => class {})(); + var yx = Ia({ + encapsulation: 2, + styles: [ + ".mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}@media (-ms-high-contrast:active){.mat-menu-panel{outline:solid 1px}}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}@media (-ms-high-contrast:active){.mat-menu-item-highlighted,.mat-menu-item.cdk-keyboard-focused,.mat-menu-item.cdk-program-focused{outline:dotted 1px}}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:'';display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}" + ], + data: { + animation: [ + { + type: 7, + name: "transformMenu", + definitions: [ + { + type: 0, + name: "void", + styles: { + type: 6, + styles: { opacity: 0, transform: "scale(0.8)" }, + offset: null + }, + options: void 0 + }, + { + type: 1, + expr: "void => enter", + animation: { + type: 3, + steps: [ + { + type: 11, + selector: ".mat-menu-content, .mat-mdc-menu-content", + animation: { + type: 4, + styles: { + type: 6, + styles: { opacity: 1 }, + offset: null + }, + timings: "100ms linear" + }, + options: null + }, + { + type: 4, + styles: { + type: 6, + styles: { transform: "scale(1)" }, + offset: null + }, + timings: "120ms cubic-bezier(0, 0, 0.2, 1)" + } + ], + options: null + }, + options: null + }, + { + type: 1, + expr: "* => void", + animation: { + type: 4, + styles: { type: 6, styles: { opacity: 0 }, offset: null }, + timings: "100ms 25ms linear" + }, + options: null + } + ], + options: {} + }, + { + type: 7, + name: "fadeInItems", + definitions: [ + { + type: 0, + name: "showing", + styles: { type: 6, styles: { opacity: 1 }, offset: null }, + options: void 0 + }, + { + type: 1, + expr: "void => *", + animation: [ + { type: 6, styles: { opacity: 0 }, offset: null }, + { + type: 4, + styles: null, + timings: "400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)" + } + ], + options: null + } + ], + options: {} + } + ] + } + }); + function vx(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 4, + "div", + [ + ["class", "mat-menu-panel"], + ["role", "menu"], + ["tabindex", "-1"] + ], + [[24, "@transformMenu", 0]], + [ + [null, "keydown"], + [null, "click"], + [null, "@transformMenu.start"], + [null, "@transformMenu.done"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "keydown" === e && (a = !1 !== o._handleKeydown(n) && a), + "click" === e && (a = !1 !== o.closed.emit("click") && a), + "@transformMenu.start" === e && + (a = !1 !== o._onAnimationStart(n) && a), + "@transformMenu.done" === e && + (a = !1 !== o._onAnimationDone(n) && a), + a + ); + }, + null, + null + )), + Ko(512, null, fs, bs, [na, aa, Ln, jn]), + Uo( + 2, + 278528, + null, + 0, + Cs, + [fs], + { klass: [0, "klass"], ngClass: [1, "ngClass"] }, + null + ), + (t()(), + Cr( + 3, + 0, + null, + null, + 1, + "div", + [["class", "mat-menu-content"]], + null, + null, + null, + null, + null + )), + Er(null, 0) + ], + function(t, e) { + t(e, 2, 0, "mat-menu-panel", e.component._classList); + }, + function(t, e) { + t(e, 0, 0, e.component._panelAnimationState); + } + ); + } + function xx(t) { + return zr( + 2, + [ + vr(671088640, 1, { templateRef: 0 }), + (t()(), _r(0, [[1, 2]], null, 0, null, vx)) + ], + null, + null + ); + } + var kx = Ia({ encapsulation: 2, styles: [], data: {} }); + function wx(t) { + return zr( + 2, + [ + Er(null, 0), + (t()(), + Cr( + 1, + 0, + null, + null, + 1, + "div", + [["class", "mat-menu-ripple mat-ripple"], ["matRipple", ""]], + [[2, "mat-ripple-unbounded", null]], + null, + null, + null, + null + )), + Uo( + 2, + 212992, + null, + 0, + qf, + [Ln, Di, Op, [2, Uf], [2, OP]], + { disabled: [0, "disabled"], trigger: [1, "trigger"] }, + null + ) + ], + function(t, e) { + var n = e.component; + t(e, 2, 0, n.disableRipple || n.disabled, n._getHostElement()); + }, + function(t, e) { + t(e, 1, 0, Io(e, 2).unbounded); + } + ); + } + const Sx = (() => + class extends ey { + constructor(t, e, n, a, o, i, r) { + super(t, null, e, n), + (this.elementRef = t), + (this.styler = e), + (this.marshal = n), + (this.iterableDiffers = a), + (this.keyValueDiffers = o), + (this.renderer = i), + (this.ngClassInstance = r), + (this.DIRECTIVE_KEY = "ngClass"), + this.ngClassInstance || + (this.ngClassInstance = new Cs( + this.iterableDiffers, + this.keyValueDiffers, + this.elementRef, + this.renderer + )), + this.init(), + this.setValue("", ""); + } + set klass(t) { + (this.ngClassInstance.klass = t), this.setValue(t, ""); + } + updateWithValue(t) { + (this.ngClassInstance.ngClass = t), + this.ngClassInstance.ngDoCheck(); + } + ngDoCheck() { + this.ngClassInstance.ngDoCheck(); + } + })(), + Ex = [ + "ngClass", + "ngClass.xs", + "ngClass.sm", + "ngClass.md", + "ngClass.lg", + "ngClass.xl", + "ngClass.lt-sm", + "ngClass.lt-md", + "ngClass.lt-lg", + "ngClass.lt-xl", + "ngClass.gt-xs", + "ngClass.gt-sm", + "ngClass.gt-md", + "ngClass.gt-lg" + ], + Ix = (() => + class extends Sx { + constructor() { + super(...arguments), (this.inputs = Ex); + } + })(); + class Ax { + constructor(t, e, n = !0) { + (this.key = t), + (this.value = e), + (this.key = n ? t.replace(/['"]/g, "").trim() : t.trim()), + (this.value = n ? e.replace(/['"]/g, "").trim() : e.trim()), + (this.value = this.value.replace(/;/, "")); + } + } + function Tx(t) { + let e = typeof t; + return "object" === e + ? t.constructor === Array + ? "array" + : t.constructor === Set + ? "set" + : "object" + : e; + } + function Rx(t) { + const [e, ...n] = t.split(":"); + return new Ax(e, n.join(":")); + } + function Dx(t, e) { + return e.key && (t[e.key] = e.value), t; + } + const Nx = (() => + class extends ey { + constructor(t, e, n, a, o, i, r, l, s) { + super(t, null, e, n), + (this.elementRef = t), + (this.styler = e), + (this.marshal = n), + (this.keyValueDiffers = a), + (this.renderer = o), + (this.sanitizer = i), + (this.ngStyleInstance = r), + (this.DIRECTIVE_KEY = "ngStyle"), + this.ngStyleInstance || + (this.ngStyleInstance = new Ts( + this.keyValueDiffers, + this.elementRef, + this.renderer + )), + this.init(); + const c = this.nativeElement.getAttribute("style") || ""; + (this.fallbackStyles = this.buildStyleMap(c)), + (this.isServer = l && Us(s)); + } + updateWithValue(t) { + const e = this.buildStyleMap(t); + (this.ngStyleInstance.ngStyle = Object.assign( + {}, + this.fallbackStyles, + e + )), + this.isServer && this.applyStyleToElement(e), + this.ngStyleInstance.ngDoCheck(); + } + clearStyles() { + (this.ngStyleInstance.ngStyle = this.fallbackStyles), + this.ngStyleInstance.ngDoCheck(); + } + buildStyleMap(t) { + const e = t => this.sanitizer.sanitize(cn.STYLE, t) || ""; + if (t) + switch (Tx(t)) { + case "string": + return Fx( + (function(e, n = ";") { + return String(t) + .trim() + .split(n) + .map(t => t.trim()) + .filter(t => "" !== t); + })(), + e + ); + case "array": + return Fx(t, e); + case "set": + default: + return (function(t, e) { + let n = []; + return ( + "set" === Tx(t) + ? t.forEach(t => n.push(t)) + : Object.keys(t).forEach(e => { + n.push(`${e}:${t[e]}`); + }), + (function(t, e) { + return n + .map(Rx) + .filter(t => !!t) + .map(t => (e && (t.value = e(t.value)), t)) + .reduce(Dx, {}); + })(0, e) + ); + })(t, e); + } + return {}; + } + ngDoCheck() { + this.ngStyleInstance.ngDoCheck(); + } + })(), + zx = [ + "ngStyle", + "ngStyle.xs", + "ngStyle.sm", + "ngStyle.md", + "ngStyle.lg", + "ngStyle.xl", + "ngStyle.lt-sm", + "ngStyle.lt-md", + "ngStyle.lt-lg", + "ngStyle.lt-xl", + "ngStyle.gt-xs", + "ngStyle.gt-sm", + "ngStyle.gt-md", + "ngStyle.gt-lg" + ], + Lx = (() => + class extends Nx { + constructor() { + super(...arguments), (this.inputs = zx); + } + })(); + function Fx(t, e) { + return t + .map(Rx) + .filter(t => !!t) + .map(t => (e && (t.value = e(t.value)), t)) + .reduce(Dx, {}); + } + const Bx = (() => class {})(); + var Vx = Ia({ + encapsulation: 2, + styles: [ + "cdk-virtual-scroll-viewport{display:block;position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:0}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:0}.cdk-virtual-scroll-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0}[dir=rtl] .cdk-virtual-scroll-spacer{right:0;left:auto;transform-origin:100% 0}" + ], + data: {} + }); + function Hx(t) { + return zr( + 2, + [ + vr(402653184, 1, { _contentWrapper: 0 }), + (t()(), + Cr( + 1, + 0, + [[1, 0], ["contentWrapper", 1]], + null, + 1, + "div", + [["class", "cdk-virtual-scroll-content-wrapper"]], + null, + null, + null, + null, + null + )), + Er(null, 0), + (t()(), + Cr( + 3, + 0, + null, + null, + 0, + "div", + [["class", "cdk-virtual-scroll-spacer"]], + [[4, "transform", null]], + null, + null, + null, + null + )) + ], + null, + function(t, e) { + t(e, 3, 0, e.component._totalContentSizeTransform); + } + ); + } + class jx { + constructor(t) { + (this.viewportComponent = t), (this.destroy$ = new w()); + } + ngOnInit() { + HP(window, "resize") + .pipe( + $p(10), + oO(this.destroy$) + ) + .subscribe(() => this.viewportComponent.checkViewportSize()); + } + ngOnDestroy() { + this.destroy$.next(), this.destroy$.complete(); + } + } + const Ux = new Ht("NgValueAccessor"), + qx = (() => + class { + constructor(t, e) { + (this._renderer = t), + (this._elementRef = e), + (this.onChange = t => {}), + (this.onTouched = () => {}); + } + writeValue(t) { + this._renderer.setProperty( + this._elementRef.nativeElement, + "checked", + t + ); + } + registerOnChange(t) { + this.onChange = t; + } + registerOnTouched(t) { + this.onTouched = t; + } + setDisabledState(t) { + this._renderer.setProperty( + this._elementRef.nativeElement, + "disabled", + t + ); + } + })(), + Kx = new Ht("CompositionEventMode"), + Yx = (() => + class { + constructor(t, e, n) { + (this._renderer = t), + (this._elementRef = e), + (this._compositionMode = n), + (this.onChange = t => {}), + (this.onTouched = () => {}), + (this._composing = !1), + null == this._compositionMode && + (this._compositionMode = !(function() { + const t = hd() ? hd().getUserAgent() : ""; + return /android (\d+)/.test(t.toLowerCase()); + })()); + } + writeValue(t) { + this._renderer.setProperty( + this._elementRef.nativeElement, + "value", + null == t ? "" : t + ); + } + registerOnChange(t) { + this.onChange = t; + } + registerOnTouched(t) { + this.onTouched = t; + } + setDisabledState(t) { + this._renderer.setProperty( + this._elementRef.nativeElement, + "disabled", + 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); + } + })(); + class Wx { + 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; + } + 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; + } + } + class Gx extends Wx { + get formDirective() { + return null; + } + get path() { + return null; + } + } + function $x() { + throw new Error("unimplemented"); + } + class Zx extends Wx { + constructor() { + super(...arguments), + (this._parent = null), + (this.name = null), + (this.valueAccessor = null), + (this._rawValidators = []), + (this._rawAsyncValidators = []); + } + get validator() { + return $x(); + } + get asyncValidator() { + return $x(); + } + } + const Qx = (() => + class extends class { + constructor(t) { + this._cd = t; + } + get ngClassUntouched() { + return !!this._cd.control && this._cd.control.untouched; + } + get ngClassTouched() { + return !!this._cd.control && this._cd.control.touched; + } + get ngClassPristine() { + return !!this._cd.control && this._cd.control.pristine; + } + get ngClassDirty() { + return !!this._cd.control && this._cd.control.dirty; + } + get ngClassValid() { + return !!this._cd.control && this._cd.control.valid; + } + get ngClassInvalid() { + return !!this._cd.control && this._cd.control.invalid; + } + get ngClassPending() { + return !!this._cd.control && this._cd.control.pending; + } + } { + constructor(t) { + super(t); + } + })(); + function Xx(t) { + return null == t || 0 === t.length; + } + const Jx = /^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[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])?)*$/; + class tk { + static min(t) { + return e => { + if (Xx(e.value) || Xx(t)) return null; + const n = parseFloat(e.value); + return !isNaN(n) && n < t + ? { min: { min: t, actual: e.value } } + : null; + }; + } + static max(t) { + return e => { + if (Xx(e.value) || Xx(t)) return null; + const n = parseFloat(e.value); + return !isNaN(n) && n > t + ? { max: { max: t, actual: e.value } } + : null; + }; + } + static required(t) { + return Xx(t.value) ? { required: !0 } : null; + } + static requiredTrue(t) { + return !0 === t.value ? null : { required: !0 }; + } + static email(t) { + return Xx(t.value) ? null : Jx.test(t.value) ? null : { email: !0 }; + } + static minLength(t) { + return e => { + if (Xx(e.value)) return null; + const n = e.value ? e.value.length : 0; + return n < t + ? { minlength: { requiredLength: t, actualLength: n } } + : null; + }; + } + static maxLength(t) { + return e => { + const n = e.value ? e.value.length : 0; + return n > t + ? { maxlength: { requiredLength: t, actualLength: n } } + : null; + }; + } + static pattern(t) { + if (!t) return tk.nullValidator; + let e, n; + return ( + "string" == typeof t + ? ((n = ""), + "^" !== t.charAt(0) && (n += "^"), + (n += t), + "$" !== t.charAt(t.length - 1) && (n += "$"), + (e = new RegExp(n))) + : ((n = t.toString()), (e = t)), + t => { + if (Xx(t.value)) return null; + const a = t.value; + return e.test(a) + ? null + : { pattern: { requiredPattern: n, actualValue: a } }; + } + ); + } + static nullValidator(t) { + return null; + } + static compose(t) { + if (!t) return null; + const e = t.filter(ek); + return 0 == e.length + ? null + : function(t) { + return ak( + (function(t, n) { + return e.map(e => e(t)); + })(t) + ); + }; + } + static composeAsync(t) { + if (!t) return null; + const e = t.filter(ek); + return 0 == e.length + ? null + : function(t) { + return tb( + (function(t, n) { + return e.map(e => e(t)); + })(t).map(nk) + ).pipe(j(ak)); + }; + } + } + function ek(t) { + return null != t; + } + function nk(t) { + const e = pn(t) ? Y(t) : t; + if (!fn(e)) + throw new Error( + "Expected validator to return Promise or Observable." + ); + return e; + } + function ak(t) { + const e = t.reduce( + (t, e) => (null != e ? Object.assign({}, t, e) : t), + {} + ); + return 0 === Object.keys(e).length ? null : e; + } + function ok(t) { + return t.validate ? e => t.validate(e) : t; + } + function ik(t) { + return t.validate ? e => t.validate(e) : t; + } + const rk = (() => + class { + constructor(t, e) { + (this._renderer = t), + (this._elementRef = e), + (this.onChange = t => {}), + (this.onTouched = () => {}); + } + writeValue(t) { + this._renderer.setProperty( + this._elementRef.nativeElement, + "value", + null == t ? "" : t + ); + } + registerOnChange(t) { + this.onChange = e => { + t("" == e ? null : parseFloat(e)); + }; + } + registerOnTouched(t) { + this.onTouched = t; + } + setDisabledState(t) { + this._renderer.setProperty( + this._elementRef.nativeElement, + "disabled", + t + ); + } + })(), + lk = (() => + class { + constructor() { + this._accessors = []; + } + add(t, e) { + this._accessors.push([t, e]); + } + remove(t) { + for (let e = this._accessors.length - 1; e >= 0; --e) + if (this._accessors[e][1] === t) + return void this._accessors.splice(e, 1); + } + select(t) { + this._accessors.forEach(e => { + this._isSameGroup(e, t) && + e[1] !== t && + e[1].fireUncheck(t.value); + }); + } + _isSameGroup(t, e) { + return ( + !!t[0].control && + t[0]._parent === e._control._parent && + t[1].name === e.name + ); + } + })(), + sk = (() => + class { + constructor(t, e, n, a) { + (this._renderer = t), + (this._elementRef = e), + (this._registry = n), + (this._injector = a), + (this.onChange = () => {}), + (this.onTouched = () => {}); + } + ngOnInit() { + (this._control = this._injector.get(Zx)), + this._checkName(), + this._registry.add(this._control, this); + } + ngOnDestroy() { + this._registry.remove(this); + } + writeValue(t) { + (this._state = t === this.value), + this._renderer.setProperty( + this._elementRef.nativeElement, + "checked", + this._state + ); + } + registerOnChange(t) { + (this._fn = t), + (this.onChange = () => { + t(this.value), this._registry.select(this); + }); + } + fireUncheck(t) { + this.writeValue(t); + } + registerOnTouched(t) { + this.onTouched = t; + } + setDisabledState(t) { + this._renderer.setProperty( + this._elementRef.nativeElement, + "disabled", + t + ); + } + _checkName() { + this.name && + this.formControlName && + this.name !== this.formControlName && + this._throwNameError(), + !this.name && + this.formControlName && + (this.name = this.formControlName); + } + _throwNameError() { + throw new Error( + '\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex:

\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });', + formGroupName: + '\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });', + formArrayName: + '\n
\n
\n
\n \n
\n
\n
\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });', + ngModelGroup: + '\n
\n
\n \n
\n
', + ngModelWithFormGroup: + '\n
\n \n \n
\n ' + }; + function dk(t, e) { + return [...e.path, t]; + } + function uk(t, e) { + t || pk(e, "Cannot find control with"), + e.valueAccessor || pk(e, "No value accessor for form control with"), + (t.validator = tk.compose([t.validator, e.validator])), + (t.asyncValidator = tk.composeAsync([ + t.asyncValidator, + e.asyncValidator + ])), + e.valueAccessor.writeValue(t.value), + (function(t, e) { + e.valueAccessor.registerOnChange(n => { + (t._pendingValue = n), + (t._pendingChange = !0), + (t._pendingDirty = !0), + "change" === t.updateOn && mk(t, e); + }); + })(t, e), + (function(t, e) { + t.registerOnChange((t, n) => { + e.valueAccessor.writeValue(t), n && e.viewToModelUpdate(t); + }); + })(t, e), + (function(t, e) { + e.valueAccessor.registerOnTouched(() => { + (t._pendingTouched = !0), + "blur" === t.updateOn && t._pendingChange && mk(t, e), + "submit" !== t.updateOn && t.markAsTouched(); + }); + })(t, e), + e.valueAccessor.setDisabledState && + t.registerOnDisabledChange(t => { + e.valueAccessor.setDisabledState(t); + }), + e._rawValidators.forEach(e => { + e.registerOnValidatorChange && + e.registerOnValidatorChange(() => t.updateValueAndValidity()); + }), + e._rawAsyncValidators.forEach(e => { + e.registerOnValidatorChange && + e.registerOnValidatorChange(() => t.updateValueAndValidity()); + }); + } + function mk(t, e) { + t._pendingDirty && t.markAsDirty(), + t.setValue(t._pendingValue, { emitModelToViewChange: !1 }), + e.viewToModelUpdate(t._pendingValue), + (t._pendingChange = !1); + } + function hk(t, e) { + null == t && pk(e, "Cannot find control with"), + (t.validator = tk.compose([t.validator, e.validator])), + (t.asyncValidator = tk.composeAsync([ + t.asyncValidator, + e.asyncValidator + ])); + } + function gk(t) { + return pk( + t, + "There is no FormControl instance attached to form control element with" + ); + } + function pk(t, e) { + let n; + throw ((n = + t.path.length > 1 + ? `path: '${t.path.join(" -> ")}'` + : t.path[0] + ? `name: '${t.path}'` + : "unspecified name attribute"), + new Error(`${e} ${n}`)); + } + function fk(t) { + return null != t ? tk.compose(t.map(ok)) : null; + } + function bk(t) { + return null != t ? tk.composeAsync(t.map(ik)) : null; + } + const _k = [ + qx, + (() => + class { + constructor(t, e) { + (this._renderer = t), + (this._elementRef = e), + (this.onChange = t => {}), + (this.onTouched = () => {}); + } + writeValue(t) { + this._renderer.setProperty( + this._elementRef.nativeElement, + "value", + parseFloat(t) + ); + } + registerOnChange(t) { + this.onChange = e => { + t("" == e ? null : parseFloat(e)); + }; + } + registerOnTouched(t) { + this.onTouched = t; + } + setDisabledState(t) { + this._renderer.setProperty( + this._elementRef.nativeElement, + "disabled", + t + ); + } + })(), + rk, + (() => + class { + constructor(t, e) { + (this._renderer = t), + (this._elementRef = e), + (this._optionMap = new Map()), + (this._idCounter = 0), + (this.onChange = t => {}), + (this.onTouched = () => {}), + (this._compareWith = Cn); + } + set compareWith(t) { + if ("function" != typeof t) + throw new Error( + `compareWith must be a function, but received ${JSON.stringify( + t + )}` + ); + this._compareWith = t; + } + writeValue(t) { + this.value = t; + const e = this._getOptionId(t); + null == e && + this._renderer.setProperty( + this._elementRef.nativeElement, + "selectedIndex", + -1 + ); + const n = (function(t, e) { + return null == t + ? `${e}` + : (e && "object" == typeof e && (e = "Object"), + `${t}: ${e}`.slice(0, 50)); + })(e, t); + this._renderer.setProperty( + this._elementRef.nativeElement, + "value", + n + ); + } + registerOnChange(t) { + this.onChange = e => { + (this.value = this._getOptionValue(e)), t(this.value); + }; + } + registerOnTouched(t) { + this.onTouched = t; + } + setDisabledState(t) { + this._renderer.setProperty( + this._elementRef.nativeElement, + "disabled", + t + ); + } + _registerOption() { + return (this._idCounter++).toString(); + } + _getOptionId(t) { + for (const e of Array.from(this._optionMap.keys())) + if (this._compareWith(this._optionMap.get(e), t)) return e; + return null; + } + _getOptionValue(t) { + const e = (function(t) { + return t.split(":")[0]; + })(t); + return this._optionMap.has(e) ? this._optionMap.get(e) : t; + } + })(), + (() => + class { + constructor(t, e) { + (this._renderer = t), + (this._elementRef = e), + (this._optionMap = new Map()), + (this._idCounter = 0), + (this.onChange = t => {}), + (this.onTouched = () => {}), + (this._compareWith = Cn); + } + set compareWith(t) { + if ("function" != typeof t) + throw new Error( + `compareWith must be a function, but received ${JSON.stringify( + t + )}` + ); + this._compareWith = t; + } + writeValue(t) { + let e; + if (((this.value = t), Array.isArray(t))) { + const n = t.map(t => this._getOptionId(t)); + e = (t, e) => { + t._setSelected(n.indexOf(e.toString()) > -1); + }; + } else + e = (t, e) => { + t._setSelected(!1); + }; + this._optionMap.forEach(e); + } + registerOnChange(t) { + this.onChange = e => { + const n = []; + if (e.hasOwnProperty("selectedOptions")) { + const t = e.selectedOptions; + for (let e = 0; e < t.length; e++) { + const a = t.item(e), + o = this._getOptionValue(a.value); + n.push(o); + } + } else { + const t = e.options; + for (let e = 0; e < t.length; e++) { + const a = t.item(e); + if (a.selected) { + const t = this._getOptionValue(a.value); + n.push(t); + } + } + } + (this.value = n), t(n); + }; + } + registerOnTouched(t) { + this.onTouched = t; + } + setDisabledState(t) { + this._renderer.setProperty( + this._elementRef.nativeElement, + "disabled", + t + ); + } + _registerOption(t) { + const e = (this._idCounter++).toString(); + return this._optionMap.set(e, t), e; + } + _getOptionId(t) { + for (const e of Array.from(this._optionMap.keys())) + if (this._compareWith(this._optionMap.get(e)._value, t)) + return e; + return null; + } + _getOptionValue(t) { + const e = (function(t) { + return t.split(":")[0]; + })(t); + return this._optionMap.has(e) ? this._optionMap.get(e)._value : t; + } + })(), + sk + ]; + function Ck(t, e) { + t._syncPendingControls(), + e.forEach(t => { + const e = t.control; + "submit" === e.updateOn && + e._pendingChange && + (t.viewToModelUpdate(e._pendingValue), (e._pendingChange = !1)); + }); + } + function Pk(t, e) { + const n = t.indexOf(e); + n > -1 && t.splice(n, 1); + } + const Ok = "VALID", + Mk = "INVALID", + yk = "PENDING", + vk = "DISABLED"; + function xk(t) { + const e = wk(t) ? t.validators : t; + return Array.isArray(e) ? fk(e) : e || null; + } + function kk(t, e) { + const n = wk(e) ? e.asyncValidators : t; + return Array.isArray(n) ? bk(n) : n || null; + } + function wk(t) { + return null != t && !Array.isArray(t) && "object" == typeof t; + } + class Sk { + constructor(t, e) { + (this.validator = t), + (this.asyncValidator = e), + (this._onCollectionChange = () => {}), + (this.pristine = !0), + (this.touched = !1), + (this._onDisabledChange = []); + } + get parent() { + return this._parent; + } + get valid() { + return this.status === Ok; + } + get invalid() { + return this.status === Mk; + } + get pending() { + return this.status == yk; + } + get disabled() { + return this.status === vk; + } + get enabled() { + return this.status !== vk; + } + 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.validator = xk(t); + } + setAsyncValidators(t) { + this.asyncValidator = kk(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 = yk), + !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 = vk), + (this.errors = null), + this._forEachChild(e => { + e.disable(Object.assign({}, t, { onlySelf: !0 })); + }), + this._updateValue(), + !1 !== t.emitEvent && + (this.valueChanges.emit(this.value), + this.statusChanges.emit(this.status)), + this._updateAncestors( + Object.assign({}, t, { skipPristineCheck: e }) + ), + this._onDisabledChange.forEach(t => t(!0)); + } + enable(t = {}) { + const e = this._parentMarkedDirty(t.onlySelf); + (this.status = Ok), + this._forEachChild(e => { + e.enable(Object.assign({}, t, { onlySelf: !0 })); + }), + this.updateValueAndValidity({ + onlySelf: !0, + emitEvent: t.emitEvent + }), + this._updateAncestors( + 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 !== Ok && this.status !== yk) || + 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() ? vk : Ok; + } + _runValidator() { + return this.validator ? this.validator(this) : null; + } + _runAsyncValidator(t) { + if (this.asyncValidator) { + this.status = yk; + const e = nk(this.asyncValidator(this)); + this._asyncValidationSubscription = e.subscribe(e => + this.setErrors(e, { emitEvent: t }) + ); + } + } + _cancelExistingSubscription() { + this._asyncValidationSubscription && + this._asyncValidationSubscription.unsubscribe(); + } + setErrors(t, e = {}) { + (this.errors = t), this._updateControlsErrors(!1 !== e.emitEvent); + } + get(t) { + return (function(t, e, n) { + return null == e + ? null + : (e instanceof Array || (e = e.split(".")), + e instanceof Array && 0 === e.length + ? null + : e.reduce( + (t, e) => + t instanceof Ik + ? t.controls.hasOwnProperty(e) + ? t.controls[e] + : null + : (t instanceof Ak && t.at(e)) || null, + t + )); + })(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 li()), (this.statusChanges = new li()); + } + _calculateStatus() { + return this._allControlsDisabled() + ? vk + : this.errors + ? Mk + : this._anyControlsHaveStatus(yk) + ? yk + : this._anyControlsHaveStatus(Mk) + ? Mk + : Ok; + } + _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) { + wk(t) && null != t.updateOn && (this._updateOn = t.updateOn); + } + _parentMarkedDirty(t) { + return ( + !t && + this._parent && + this._parent.dirty && + !this._parent._anyControlsDirty() + ); + } + } + class Ek extends Sk { + constructor(t = null, e, n) { + super(xk(e), kk(n, e)), + (this._onChange = []), + this._applyFormState(t), + this._setUpdateStrategy(e), + this.updateValueAndValidity({ onlySelf: !0, emitEvent: !1 }), + this._initObservables(); + } + 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); + } + _clearChangeFns() { + (this._onChange = []), + (this._onDisabledChange = []), + (this._onCollectionChange = () => {}); + } + registerOnDisabledChange(t) { + this._onDisabledChange.push(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 Ik extends Sk { + constructor(t, e, n) { + super(xk(e), kk(n, e)), + (this.controls = t), + this._initObservables(), + this._setUpdateStrategy(e), + this._setUpControls(), + this.updateValueAndValidity({ onlySelf: !0, emitEvent: !1 }); + } + 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) { + this.registerControl(t, e), + this.updateValueAndValidity(), + this._onCollectionChange(); + } + removeControl(t) { + this.controls[t] && + this.controls[t]._registerOnCollectionChange(() => {}), + delete this.controls[t], + this.updateValueAndValidity(), + this._onCollectionChange(); + } + setControl(t, e) { + this.controls[t] && + this.controls[t]._registerOnCollectionChange(() => {}), + delete this.controls[t], + e && this.registerControl(t, e), + this.updateValueAndValidity(), + 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 = {}) { + 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, a) => { + n.reset(t[a], { 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 Ek ? 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 => t(this.controls[e], e)); + } + _setUpControls() { + this._forEachChild(t => { + t.setParent(this), + t._registerOnCollectionChange(this._onCollectionChange); + }); + } + _updateValue() { + this.value = this._reduceValue(); + } + _anyControls(t) { + let e = !1; + return ( + this._forEachChild((n, a) => { + e = e || (this.contains(a) && t(n)); + }), + e + ); + } + _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, a) => { + n = e(n, t, a); + }), + 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 Ak extends Sk { + constructor(t, e, n) { + super(xk(e), kk(n, e)), + (this.controls = t), + this._initObservables(), + this._setUpdateStrategy(e), + this._setUpControls(), + this.updateValueAndValidity({ onlySelf: !0, emitEvent: !1 }); + } + at(t) { + return this.controls[t]; + } + push(t) { + this.controls.push(t), + this._registerControl(t), + this.updateValueAndValidity(), + this._onCollectionChange(); + } + insert(t, e) { + this.controls.splice(t, 0, e), + this._registerControl(e), + this.updateValueAndValidity(); + } + removeAt(t) { + this.controls[t] && + this.controls[t]._registerOnCollectionChange(() => {}), + this.controls.splice(t, 1), + this.updateValueAndValidity(); + } + setControl(t, e) { + this.controls[t] && + this.controls[t]._registerOnCollectionChange(() => {}), + this.controls.splice(t, 1), + e && (this.controls.splice(t, 0, e), this._registerControl(e)), + this.updateValueAndValidity(), + 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 = {}) { + 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, a) => { + n.reset(t[a], { onlySelf: !0, emitEvent: e.emitEvent }); + }), + this._updatePristine(e), + this._updateTouched(e), + this.updateValueAndValidity(e); + } + getRawValue() { + return this.controls.map(t => + t instanceof Ek ? t.value : t.getRawValue() + ); + } + clear() { + this.controls.length < 1 || + (this._forEachChild(t => t._registerOnCollectionChange(() => {})), + this.controls.splice(0), + this.updateValueAndValidity()); + } + _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 Tk = (() => Promise.resolve(null))(), + Rk = (() => + class extends Gx { + constructor(t, e) { + super(), + (this.submitted = !1), + (this._directives = []), + (this.ngSubmit = new li()), + (this.form = new Ik({}, fk(t), bk(e))); + } + ngAfterViewInit() { + this._setUpdateStrategy(); + } + get formDirective() { + return this; + } + get control() { + return this.form; + } + get path() { + return []; + } + get controls() { + return this.form.controls; + } + addControl(t) { + Tk.then(() => { + const e = this._findContainer(t.path); + (t.control = e.registerControl(t.name, t.control)), + uk(t.control, t), + t.control.updateValueAndValidity({ emitEvent: !1 }), + this._directives.push(t); + }); + } + getControl(t) { + return this.form.get(t.path); + } + removeControl(t) { + Tk.then(() => { + const e = this._findContainer(t.path); + e && e.removeControl(t.name), Pk(this._directives, t); + }); + } + addFormGroup(t) { + Tk.then(() => { + const e = this._findContainer(t.path), + n = new Ik({}); + hk(n, t), + e.registerControl(t.name, n), + n.updateValueAndValidity({ emitEvent: !1 }); + }); + } + removeFormGroup(t) { + Tk.then(() => { + const e = this._findContainer(t.path); + e && e.removeControl(t.name); + }); + } + getFormGroup(t) { + return this.form.get(t.path); + } + updateModel(t, e) { + Tk.then(() => { + this.form.get(t.path).setValue(e); + }); + } + setValue(t) { + this.control.setValue(t); + } + onSubmit(t) { + return ( + (this.submitted = !0), + Ck(this.form, this._directives), + this.ngSubmit.emit(t), + !1 + ); + } + onReset() { + this.resetForm(); + } + resetForm(t) { + this.form.reset(t), (this.submitted = !1); + } + _setUpdateStrategy() { + this.options && + null != this.options.updateOn && + (this.form._updateOn = this.options.updateOn); + } + _findContainer(t) { + return t.pop(), t.length ? this.form.get(t) : this.form; + } + })(); + class Dk { + static modelParentException() { + throw new Error( + `\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup's partner directive "formControlName" instead. Example:\n\n ${ck.formControlName}\n\n Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n Example:\n\n ${ck.ngModelWithFormGroup}` + ); + } + static formGroupNameException() { + throw new Error( + `\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n ${ck.formGroupName}\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n ${ck.ngModelGroup}` + ); + } + static missingNameException() { + throw new Error( + 'If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: \n Example 2: ' + ); + } + static modelGroupParentException() { + throw new Error( + `\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n ${ck.formGroupName}\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n ${ck.ngModelGroup}` + ); + } + static ngFormWarning() { + console.warn( + "\n It looks like you're using 'ngForm'.\n\n Support for using the 'ngForm' element selector has been deprecated in Angular v6 and will be removed\n in Angular v9.\n\n Use 'ng-form' instead.\n\n Before:\n \n\n After:\n \n " + ); + } + } + const Nk = new Ht("NgFormSelectorWarning"); + class zk extends Gx { + ngOnInit() { + this._checkParentType(), this.formDirective.addFormGroup(this); + } + ngOnDestroy() { + this.formDirective && this.formDirective.removeFormGroup(this); + } + get control() { + return this.formDirective.getFormGroup(this); + } + get path() { + return dk(this.name, this._parent); + } + get formDirective() { + return this._parent ? this._parent.formDirective : null; + } + get validator() { + return fk(this._validators); + } + get asyncValidator() { + return bk(this._asyncValidators); + } + _checkParentType() {} + } + const Lk = (() => { + class t extends zk { + constructor(t, e, n) { + super(), + (this._parent = t), + (this._validators = e), + (this._asyncValidators = n); + } + _checkParentType() { + this._parent instanceof t || + this._parent instanceof Rk || + Dk.modelGroupParentException(); + } + } + return t; + })(), + Fk = (() => Promise.resolve(null))(), + Bk = (() => + class extends Zx { + constructor(t, e, n, a) { + super(), + (this.control = new Ek()), + (this._registered = !1), + (this.update = new li()), + (this._parent = t), + (this._rawValidators = e || []), + (this._rawAsyncValidators = n || []), + (this.valueAccessor = (function(t, e) { + if (!e) return null; + Array.isArray(e) || + pk( + t, + "Value accessor was not provided as an array for form control with" + ); + let n = void 0, + a = void 0, + o = void 0; + return ( + e.forEach(e => { + e.constructor === Yx + ? (n = e) + : (function(t) { + return _k.some(e => t.constructor === e); + })(e) + ? (a && + pk( + t, + "More than one built-in value accessor matches form control with" + ), + (a = e)) + : (o && + pk( + t, + "More than one custom value accessor matches form control with" + ), + (o = e)); + }), + o || + a || + n || + (pk(t, "No valid value accessor for form control with"), + null) + ); + })(this, a)); + } + ngOnChanges(t) { + this._checkForErrors(), + this._registered || this._setUpControl(), + "isDisabled" in t && this._updateDisabled(t), + (function(t, e) { + if (!t.hasOwnProperty("model")) return !1; + const n = t.model; + return !!n.isFirstChange() || !Cn(e, n.currentValue); + })(t, this.viewModel) && + (this._updateValue(this.model), + (this.viewModel = this.model)); + } + ngOnDestroy() { + this.formDirective && this.formDirective.removeControl(this); + } + get path() { + return this._parent ? dk(this.name, this._parent) : [this.name]; + } + get formDirective() { + return this._parent ? this._parent.formDirective : null; + } + get validator() { + return fk(this._rawValidators); + } + get asyncValidator() { + return bk(this._rawAsyncValidators); + } + 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() { + uk(this.control, this), + this.control.updateValueAndValidity({ emitEvent: !1 }); + } + _checkForErrors() { + this._isStandalone() || this._checkParentType(), + this._checkName(); + } + _checkParentType() { + !(this._parent instanceof Lk) && this._parent instanceof zk + ? Dk.formGroupNameException() + : this._parent instanceof Lk || + this._parent instanceof Rk || + Dk.modelParentException(); + } + _checkName() { + this.options && + this.options.name && + (this.name = this.options.name), + this._isStandalone() || this.name || Dk.missingNameException(); + } + _updateValue(t) { + Fk.then(() => { + this.control.setValue(t, { emitViewToModelChange: !1 }); + }); + } + _updateDisabled(t) { + const e = t.isDisabled.currentValue, + n = "" === e || (e && "false" !== e); + Fk.then(() => { + n && !this.control.disabled + ? this.control.disable() + : !n && this.control.disabled && this.control.enable(); + }); + } + })(), + Vk = new Ht("NgModelWithFormControlWarning"), + Hk = (() => + class extends Gx { + constructor(t, e) { + super(), + (this._validators = t), + (this._asyncValidators = e), + (this.submitted = !1), + (this.directives = []), + (this.form = null), + (this.ngSubmit = new li()); + } + ngOnChanges(t) { + this._checkFormPresent(), + t.hasOwnProperty("form") && + (this._updateValidators(), + this._updateDomValue(), + this._updateRegistrations()); + } + get formDirective() { + return this; + } + get control() { + return this.form; + } + get path() { + return []; + } + addControl(t) { + const e = this.form.get(t.path); + return ( + uk(e, t), + e.updateValueAndValidity({ emitEvent: !1 }), + this.directives.push(t), + e + ); + } + getControl(t) { + return this.form.get(t.path); + } + removeControl(t) { + Pk(this.directives, t); + } + addFormGroup(t) { + const e = this.form.get(t.path); + hk(e, t), e.updateValueAndValidity({ emitEvent: !1 }); + } + removeFormGroup(t) {} + getFormGroup(t) { + return this.form.get(t.path); + } + addFormArray(t) { + const e = this.form.get(t.path); + hk(e, t), e.updateValueAndValidity({ emitEvent: !1 }); + } + removeFormArray(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), + Ck(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 = this.form.get(t.path); + t.control !== e && + ((function(t, e) { + e.valueAccessor.registerOnChange(() => gk(e)), + e.valueAccessor.registerOnTouched(() => gk(e)), + e._rawValidators.forEach(t => { + t.registerOnValidatorChange && + t.registerOnValidatorChange(null); + }), + e._rawAsyncValidators.forEach(t => { + t.registerOnValidatorChange && + t.registerOnValidatorChange(null); + }), + t && t._clearChangeFns(); + })(t.control, t), + e && uk(e, t), + (t.control = e)); + }), + this.form._updateTreeValidity({ emitEvent: !1 }); + } + _updateRegistrations() { + this.form._registerOnCollectionChange(() => + this._updateDomValue() + ), + this._oldForm && + this._oldForm._registerOnCollectionChange(() => {}), + (this._oldForm = this.form); + } + _updateValidators() { + const t = fk(this._validators); + this.form.validator = tk.compose([this.form.validator, t]); + const e = bk(this._asyncValidators); + this.form.asyncValidator = tk.composeAsync([ + this.form.asyncValidator, + e + ]); + } + _checkFormPresent() { + this.form || + class { + static controlParentException() { + throw new Error( + `formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n ${ck.formControlName}` + ); + } + static ngModelGroupException() { + throw new Error( + `formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n ${ck.formGroupName}\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n ${ck.ngModelGroup}` + ); + } + static missingFormException() { + throw new Error( + `formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n ${ck.formControlName}` + ); + } + static groupParentException() { + throw new Error( + `formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n ${ck.formGroupName}` + ); + } + static arrayParentException() { + throw new Error( + `formArrayName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n ${ck.formArrayName}` + ); + } + static disabledAttrWarning() { + console.warn( + "\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n " + ); + } + static ngModelWarning(t) { + console.warn( + `\n It looks like you're using ngModel on the same form field as ${t}. \n Support for using the ngModel input property and ngModelChange event with \n reactive form directives has been deprecated in Angular v6 and will be removed \n in Angular v7.\n \n For more information on this, see our API docs here:\n https://angular.io/api/forms/${ + "formControl" === t + ? "FormControlDirective" + : "FormControlName" + }#use-with-ngmodel\n ` + ); + } + }.missingFormException(); + } + })(), + jk = (() => class {})(), + Uk = (() => + class { + group(t, e = null) { + const n = this._reduceControls(t); + let a = null, + o = null, + i = void 0; + return ( + null != e && + ((function(t) { + return ( + void 0 !== t.asyncValidators || + void 0 !== t.validators || + void 0 !== t.updateOn + ); + })(e) + ? ((a = null != e.validators ? e.validators : null), + (o = + null != e.asyncValidators ? e.asyncValidators : null), + (i = null != e.updateOn ? e.updateOn : void 0)) + : ((a = null != e.validator ? e.validator : null), + (o = + null != e.asyncValidator ? e.asyncValidator : null))), + new Ik(n, { asyncValidators: o, updateOn: i, validators: a }) + ); + } + control(t, e, n) { + return new Ek(t, e, n); + } + array(t, e, n) { + const a = t.map(t => this._createControl(t)); + return new Ak(a, e, n); + } + _reduceControls(t) { + const e = {}; + return ( + Object.keys(t).forEach(n => { + e[n] = this._createControl(t[n]); + }), + e + ); + } + _createControl(t) { + return t instanceof Ek || t instanceof Ik || t instanceof Ak + ? t + : Array.isArray(t) + ? this.control( + t[0], + t.length > 1 ? t[1] : null, + t.length > 2 ? t[2] : null + ) + : this.control(t); + } + })(), + qk = (() => { + class t { + static withConfig(e) { + return { + ngModule: t, + providers: [ + { provide: Nk, useValue: e.warnOnDeprecatedNgFormSelector } + ] + }; + } + } + return t; + })(), + Kk = (() => { + class t { + static withConfig(e) { + return { + ngModule: t, + providers: [ + { provide: Vk, useValue: e.warnOnNgModelWithFormControl } + ] + }; + } + } + return t; + })(), + Yk = new Ht("mat-checkbox-click-action"); + let Wk = 0; + const Gk = (function() { + var t = { Init: 0, Checked: 1, Unchecked: 2, Indeterminate: 3 }; + return ( + (t[t.Init] = "Init"), + (t[t.Checked] = "Checked"), + (t[t.Unchecked] = "Unchecked"), + (t[t.Indeterminate] = "Indeterminate"), + t + ); + })(); + class $k {} + class Zk { + constructor(t) { + this._elementRef = t; + } + } + const Qk = kf(vf(xf(yf(Zk)), "accent")), + Xk = (() => + class extends Qk { + constructor(t, e, n, a, o, i, r) { + super(t), + (this._changeDetectorRef = e), + (this._focusMonitor = n), + (this._ngZone = a), + (this._clickAction = i), + (this._animationMode = r), + (this.ariaLabel = ""), + (this.ariaLabelledby = null), + (this._uniqueId = `mat-checkbox-${++Wk}`), + (this.id = this._uniqueId), + (this.labelPosition = "after"), + (this.name = null), + (this.change = new li()), + (this.indeterminateChange = new li()), + (this._onTouched = () => {}), + (this._currentAnimationClass = ""), + (this._currentCheckState = Gk.Init), + (this._controlValueAccessorChangeFn = () => {}), + (this._checked = !1), + (this._disabled = !1), + (this._indeterminate = !1), + (this.tabIndex = parseInt(o) || 0), + this._focusMonitor.monitor(t, !0).subscribe(t => { + t || + Promise.resolve().then(() => { + this._onTouched(), e.markForCheck(); + }); + }); + } + get inputId() { + return `${this.id || this._uniqueId}-input`; + } + get required() { + return this._required; + } + set required(t) { + this._required = pp(t); + } + ngAfterViewChecked() {} + ngOnDestroy() { + this._focusMonitor.stopMonitoring(this._elementRef); + } + get checked() { + return this._checked; + } + set checked(t) { + t != this.checked && + ((this._checked = t), this._changeDetectorRef.markForCheck()); + } + get disabled() { + return this._disabled; + } + set disabled(t) { + const e = pp(t); + e !== this.disabled && + ((this._disabled = e), this._changeDetectorRef.markForCheck()); + } + get indeterminate() { + return this._indeterminate; + } + set indeterminate(t) { + const e = t != this._indeterminate; + (this._indeterminate = t), + e && + (this._transitionCheckState( + this._indeterminate + ? Gk.Indeterminate + : this.checked + ? Gk.Checked + : Gk.Unchecked + ), + this.indeterminateChange.emit(this._indeterminate)); + } + _isRippleDisabled() { + return this.disableRipple || this.disabled; + } + _onLabelTextChange() { + this._changeDetectorRef.detectChanges(); + } + writeValue(t) { + this.checked = !!t; + } + registerOnChange(t) { + this._controlValueAccessorChangeFn = t; + } + registerOnTouched(t) { + this._onTouched = t; + } + setDisabledState(t) { + this.disabled = t; + } + _getAriaChecked() { + return this.checked + ? "true" + : this.indeterminate + ? "mixed" + : "false"; + } + _transitionCheckState(t) { + let e = this._currentCheckState, + n = this._elementRef.nativeElement; + if ( + e !== t && + (this._currentAnimationClass.length > 0 && + n.classList.remove(this._currentAnimationClass), + (this._currentAnimationClass = this._getAnimationClassForCheckStateTransition( + e, + t + )), + (this._currentCheckState = t), + this._currentAnimationClass.length > 0) + ) { + n.classList.add(this._currentAnimationClass); + const t = this._currentAnimationClass; + this._ngZone.runOutsideAngular(() => { + setTimeout(() => { + n.classList.remove(t); + }, 1e3); + }); + } + } + _emitChangeEvent() { + const t = new $k(); + (t.source = this), + (t.checked = this.checked), + this._controlValueAccessorChangeFn(this.checked), + this.change.emit(t); + } + toggle() { + this.checked = !this.checked; + } + _onInputClick(t) { + t.stopPropagation(), + this.disabled || "noop" === this._clickAction + ? this.disabled || + "noop" !== this._clickAction || + ((this._inputElement.nativeElement.checked = this.checked), + (this._inputElement.nativeElement.indeterminate = this.indeterminate)) + : (this.indeterminate && + "check" !== this._clickAction && + Promise.resolve().then(() => { + (this._indeterminate = !1), + this.indeterminateChange.emit(this._indeterminate); + }), + this.toggle(), + this._transitionCheckState( + this._checked ? Gk.Checked : Gk.Unchecked + ), + this._emitChangeEvent()); + } + focus() { + this._focusMonitor.focusVia(this._inputElement, "keyboard"); + } + _onInteractionEvent(t) { + t.stopPropagation(); + } + _getAnimationClassForCheckStateTransition(t, e) { + if ("NoopAnimations" === this._animationMode) return ""; + let n = ""; + switch (t) { + case Gk.Init: + if (e === Gk.Checked) n = "unchecked-checked"; + else { + if (e != Gk.Indeterminate) return ""; + n = "unchecked-indeterminate"; + } + break; + case Gk.Unchecked: + n = + e === Gk.Checked + ? "unchecked-checked" + : "unchecked-indeterminate"; + break; + case Gk.Checked: + n = + e === Gk.Unchecked + ? "checked-unchecked" + : "checked-indeterminate"; + break; + case Gk.Indeterminate: + n = + e === Gk.Checked + ? "indeterminate-checked" + : "indeterminate-unchecked"; + } + return `mat-checkbox-anim-${n}`; + } + })(), + Jk = (() => class {})(), + tw = (() => class {})(); + var ew = Ia({ + encapsulation: 2, + styles: [ + "@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.91026}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0,0,0,1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(.4,0,1,1);stroke-dashoffset:0}to{stroke-dashoffset:-22.91026}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0,0,.2,.1);opacity:1;transform:rotate(0)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(.14,0,0,1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0,0,.2,.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(.14,0,0,1);opacity:1;transform:rotate(0)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}100%,32.8%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0,0,.2,.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}@media (-ms-high-contrast:active){.mat-checkbox.cdk-keyboard-focused .mat-checkbox-frame{border-style:dotted}}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0,0,.2,.1),opacity 90ms cubic-bezier(0,0,.2,.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.mat-checkbox-persistent-ripple{width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media (hover:none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.91026;stroke-dasharray:22.91026;stroke-width:2.13333px}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0);border-radius:2px}@media (-ms-high-contrast:active){.mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0s mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0s mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0s mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0s mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0s mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:.5s linear 0s mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:.5s linear 0s mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:.3s linear 0s mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}" + ], + data: {} + }); + function nw(t) { + return zr( + 2, + [ + vr(671088640, 1, { _inputElement: 0 }), + vr(671088640, 2, { ripple: 0 }), + (t()(), + Cr( + 2, + 0, + [["label", 1]], + null, + 16, + "label", + [["class", "mat-checkbox-layout"]], + [[1, "for", 0]], + null, + null, + null, + null + )), + (t()(), + Cr( + 3, + 0, + null, + null, + 10, + "div", + [["class", "mat-checkbox-inner-container"]], + [[2, "mat-checkbox-inner-container-no-side-margin", null]], + null, + null, + null, + null + )), + (t()(), + Cr( + 4, + 0, + [[1, 0], ["input", 1]], + null, + 0, + "input", + [ + ["class", "mat-checkbox-input cdk-visually-hidden"], + ["type", "checkbox"] + ], + [ + [8, "id", 0], + [8, "required", 0], + [8, "checked", 0], + [1, "value", 0], + [8, "disabled", 0], + [1, "name", 0], + [8, "tabIndex", 0], + [8, "indeterminate", 0], + [1, "aria-label", 0], + [1, "aria-labelledby", 0], + [1, "aria-checked", 0] + ], + [[null, "change"], [null, "click"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "change" === e && (a = !1 !== o._onInteractionEvent(n) && a), + "click" === e && (a = !1 !== o._onInputClick(n) && a), + a + ); + }, + null, + null + )), + (t()(), + Cr( + 5, + 0, + null, + null, + 3, + "div", + [["class", "mat-checkbox-ripple mat-ripple"], ["matRipple", ""]], + [[2, "mat-ripple-unbounded", null]], + null, + null, + null, + null + )), + Uo( + 6, + 212992, + [[2, 4]], + 0, + qf, + [Ln, Di, Op, [2, Uf], [2, OP]], + { + centered: [0, "centered"], + radius: [1, "radius"], + animation: [2, "animation"], + disabled: [3, "disabled"], + trigger: [4, "trigger"] + }, + null + ), + Ar(7, { enterDuration: 0 }), + (t()(), + Cr( + 8, + 0, + null, + null, + 0, + "div", + [["class", "mat-ripple-element mat-checkbox-persistent-ripple"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 9, + 0, + null, + null, + 0, + "div", + [["class", "mat-checkbox-frame"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 10, + 0, + null, + null, + 3, + "div", + [["class", "mat-checkbox-background"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 11, + 0, + null, + null, + 1, + ":svg:svg", + [ + [":xml:space", "preserve"], + ["class", "mat-checkbox-checkmark"], + ["focusable", "false"], + ["version", "1.1"], + ["viewBox", "0 0 24 24"] + ], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 12, + 0, + null, + null, + 0, + ":svg:path", + [ + ["class", "mat-checkbox-checkmark-path"], + ["d", "M4.1,12.7 9,17.6 20.3,6.3"], + ["fill", "none"], + ["stroke", "white"] + ], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 13, + 0, + null, + null, + 0, + "div", + [["class", "mat-checkbox-mixedmark"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 14, + 0, + [["checkboxLabel", 1]], + null, + 4, + "span", + [["class", "mat-checkbox-label"]], + null, + [[null, "cdkObserveContent"]], + function(t, e, n) { + var a = !0; + return ( + "cdkObserveContent" === e && + (a = !1 !== t.component._onLabelTextChange() && a), + a + ); + }, + null, + null + )), + Uo(15, 1196032, null, 0, ev, [tv, Ln, Di], null, { + event: "cdkObserveContent" + }), + (t()(), + Cr( + 16, + 0, + null, + null, + 1, + "span", + [["style", "display:none"]], + null, + null, + null, + null, + null + )), + (t()(), Rr(-1, null, ["\xa0"])), + Er(null, 0) + ], + function(t, e) { + var n = e.component, + a = t(e, 7, 0, 150); + t(e, 6, 0, !0, 20, a, n._isRippleDisabled(), Io(e, 2)); + }, + function(t, e) { + var n = e.component; + t(e, 2, 0, n.inputId), + t( + e, + 3, + 0, + !Io(e, 14).textContent || !Io(e, 14).textContent.trim() + ), + t(e, 4, 1, [ + n.inputId, + n.required, + n.checked, + n.value, + n.disabled, + n.name, + n.tabIndex, + n.indeterminate, + n.ariaLabel || null, + n.ariaLabelledby, + n._getAriaChecked() + ]), + t(e, 5, 0, Io(e, 6).unbounded); + } + ); + } + var aw = n("zB/H"); + class ow { + constructor() { + this.MessageID = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace( + /[xy]/g, + function(t) { + var e = (16 * Math.random()) | 0; + return ("x" == t ? e : (3 & e) | 8).toString(16); + } + ); + } + } + var iw = (function(t) { + return ( + (t[(t.SetupEvent = "SetupEvent")] = "SetupEvent"), + (t[(t.Toast = "Toast")] = "Toast"), + (t[(t.DownloadStatus = "DownloadStatus")] = "DownloadStatus"), + (t[(t.ConfigChange = "ConfigChange")] = "ConfigChange"), + (t[(t.DeleteSong = "DeleteSong")] = "DeleteSong"), + (t[(t.MoveSongToPlaylist = "MoveSongToPlaylist")] = + "MoveSongToPlaylist"), + (t[(t.DeletePlaylist = "DeletePlaylist")] = "DeletePlaylist"), + (t[(t.AddOrUpdatePlaylist = "AddOrUpdatePlaylist")] = + "AddOrUpdatePlaylist"), + (t[(t.OpStatus = "OpStatus")] = "OpStatus"), + (t[(t.GetOps = "GetOps")] = "GetOps"), + (t[(t.SortPlaylist = "SortPlaylist")] = "SortPlaylist"), + (t[(t.AutoCreatePlaylists = "AutoCreatePlaylists")] = + "AutoCreatePlaylists"), + (t[(t.SetModStatus = "SetModStatus")] = "SetModStatus"), + (t[(t.ActionResponse = "ActionResponse")] = "ActionResponse"), + (t[(t.MoveSongInPlaylist = "MoveSongInPlaylist")] = + "MoveSongInPlaylist"), + (t[(t.MovePlaylist = "MovePlaylist")] = "MovePlaylist"), + (t[(t.DeleteMod = "DeleteMod")] = "DeleteMod"), + (t[(t.ChangeColor = "ChangeColor")] = "ChangeColor"), + (t[(t.SetBeastSaberUsername = "SetBeastSaberUsername")] = + "SetBeastSaberUsername"), + (t[(t.UpdateFeedReader = "UpdateFeedReader")] = "UpdateFeedReader"), + (t[(t.SyncSaberSync = "SyncSaberSync")] = "SyncSaberSync"), + (t[(t.StopDownloads = "StopDownloads")] = "StopDownloads"), + t + ); + })({}); + class rw extends ow { + constructor() { + super(), (this.Type = iw.SortPlaylist); + } + } + class lw extends ow { + constructor() { + super(), (this.Type = iw.MoveSongInPlaylist); + } + } + class sw extends ow { + constructor() { + super(), (this.Type = iw.MoveSongToPlaylist); + } + } + class cw extends ow { + constructor() { + super(), (this.Type = iw.MovePlaylist); + } + } + class dw extends ow { + constructor() { + super(), (this.Type = iw.DeleteSong); + } + } + class uw extends ow { + constructor() { + super(), (this.Type = iw.DeletePlaylist); + } + } + const mw = (() => { + class t { + constructor(t, e) { + (this.dialogRef = t), (this.api = e), (this.images = []); + } + ngOnInit() { + this.api.getImages().subscribe(t => { + this.images = t; + }); + } + getImgUrl(t) { + return ( + "url(" + + ql.API_ENDPOINT + + "/host/mod/image?filename=" + + encodeURIComponent(t) + + ")" + ); + } + pickImage(t) { + this.api.getImageBlob(t).subscribe(t => { + var e = new FileReader(); + (e.onload = t => { + this.dialogRef.close(e.result); + }), + e.readAsDataURL(t); + }); + } + clickCancel() { + this.dialogRef.close(null); + } + } + return ( + (t.ngInjectableDef = bt({ + factory: function() { + return new t(It(gM), It(vc)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + hw = (() => { + class t { + constructor(t, e, n, a) { + (this.appInt = t), + (this.dialogRef = e), + (this.data = n), + (this.dialog = a); + var o = encodeURIComponent(n.playlist.PlaylistID); + (o = o.replace("(", "%28").replace(")", "%29")), + (this.currentCover = + ql.API_ENDPOINT + + "/host/beatsaber/playlist/cover?playlistid=" + + o); + } + getCover() { + return "url(" + this.currentCover + ")"; + } + onQuest() { + return this.appInt.isAppLoaded(); + } + makeAutoID(t) { + return null != t && t.replace(" ", "").length + ? "Playlist ID (" + + t + .replace(/[^a-z0-9]/gim, "") + .replace(/\s+/g, "") + .replace(" ", "") + + ")" + + new Date().getTime() + : "Playlist ID"; + } + loadCover(t) { + if (0 == t.length) return void console.log("No file selected!"); + let e = t[0]; + var n = new FileReader(); + (n.onload = t => { + (this.currentCover = n.result), + (this.data.playlist.CoverImageBytes = this.currentCover.substring( + this.currentCover.indexOf(";base64,") + 8 + )); + }), + n.readAsDataURL(e); + } + clickSave() { + if ( + !(this.data.playlist.PlaylistName.replace(" ", "").length < 1) + ) { + if ( + !this.data.playlist.PlaylistID || + this.data.playlist.PlaylistID.replace(" ", "").length < 1 + ) { + if (!this.data.isNew) return; + (this.data.playlist.PlaylistID = + this.data.playlist.PlaylistName.replace(/[^a-z0-9]/gim, "") + .replace(/\s+/g, "") + .replace(" ", "") + new Date().getTime()), + (this.data.playlist.SongList = []); + } + this.dialogRef.close(this.data); + } + } + clickCancel() { + (this.data = null), this.dialogRef.close(); + } + clickDelete() { + this.dialogRef.close({ + playlist: this.data.playlist, + deletePlaylist: !0 + }); + } + questClick() { + this.dialog + .open(mw, { width: "500px", height: "500px", disableClose: !0 }) + .afterClosed() + .subscribe(t => { + t && + ((this.currentCover = t), + (this.data.playlist.CoverImageBytes = this.currentCover.substring( + this.currentCover.indexOf(";base64,") + 8 + ))); + }); + } + ngOnInit() {} + } + return ( + (t.ngInjectableDef = bt({ + factory: function() { + return new t(It(Fg), It(gM), It(pM), It(CM)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(); + class gw extends ow { + constructor() { + super(), (this.Type = iw.AddOrUpdatePlaylist); + } + } + var pw = n("ds6q"); + class fw extends ow { + constructor() { + super(), + (this.Type = iw.AutoCreatePlaylists), + (this.RemoveEmptyPlaylists = !0); + } + } + var bw = (function(t) { + return ( + (t[(t.Up = "Up")] = "Up"), + (t[(t.Down = "Down")] = "Down"), + (t[(t.Left = "Left")] = "Left"), + (t[(t.Right = "Right")] = "Right"), + (t[(t.Center = "Center")] = "Center"), + t + ); + })({}); + const _w = (() => { + class t { + constructor(t) { + this.sanitizer = t; + } + transform(t) { + const e = t.map(t => t.PlaylistID).indexOf("CustomSongs"); + if (e > -1) { + let n = t.slice(0); + return n.splice(e, 1), n; + } + return t; + } + } + return ( + (t.ngInjectableDef = bt({ + factory: function() { + return new t(It(mu)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + Cw = (() => { + class t { + constructor(t) { + this.sanitizer = t; + } + transform(t) { + const e = t.map(t => t.PlaylistID).indexOf("CustomSongs"); + return e > -1 ? [t[e]] : []; + } + } + return ( + (t.ngInjectableDef = bt({ + factory: function() { + return new t(It(mu)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + Pw = (() => { + class t { + constructor(t, e) { + (this.dialogRef = t), (this.data = e); + } + ngOnInit() {} + clickButton1() { + this.dialogRef.close(1); + } + clickCancel() { + this.dialogRef.close(-1); + } + } + return ( + (t.ngInjectableDef = bt({ + factory: function() { + return new t(It(gM), It(pM)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(); + class Ow { + constructor(t, e, n, a, o, i) { + (this.dialog = t), + (this.configSvc = e), + (this.msgSvc = n), + (this.integrationService = a), + (this.nocustomsongs = o), + (this.onlycustomsongs = i), + (this.defaultImage = "assets/default-pack-cover.png"), + (this.BAG = "SONGS"), + (this.subs = new aw.Subscription()), + (this.updateHack = 0), + (this.SCROLL_ACCEL_INCREMENT = 50), + (this.SCROLL_ACCEL_DELAY_MS = 350), + (this.scrollAccel = 0), + (this.scrollLastTime = 0), + (this.updateSearchResult = new pw.Subject()), + this.subs.add( + this.integrationService.appButtonPressed.subscribe(t => { + (this.scrollAccel = + this.scrollLastButton == t.button && + new Date().getTime() - this.scrollLastTime <= + this.SCROLL_ACCEL_DELAY_MS + ? this.scrollAccel + this.SCROLL_ACCEL_INCREMENT + : 0), + (this.scrollLastButton = t.button), + (this.scrollLastTime = new Date().getTime()); + var e, + n = e => { + var n = { left: 0 }; + t.button == bw.Down + ? ((n.bottom = + e.measureScrollOffset("bottom") - + (300 + this.scrollAccel)), + n.bottom < 0 && (n.bottom = 0), + e.scrollTo(n)) + : t.button == bw.Up && + ((n.top = + e.measureScrollOffset("top") - + (300 + this.scrollAccel)), + n.top < 0 && (n.top = 0), + e.scrollTo(n)); + }; + this.song_container && + ((e = this.song_container.elementRef.nativeElement.getBoundingClientRect()), + t.x >= e.left && + t.x <= e.right && + t.y >= e.top && + t.y <= e.bottom) + ? n(this.song_container) + : this.pack_container && + ((e = this.pack_container.nativeElement.getBoundingClientRect()), + t.x >= e.left && + t.x <= e.right && + t.y >= e.top && + t.y <= e.bottom) + ? (e => { + if (t.button == bw.Down) + e.scrollTop < e.scrollHeight - e.offsetHeight && + ((n = e.scrollHeight - e.offsetHeight - e.scrollTop) > + 300 && (n = 300), + e.scrollTo( + e.scrollLeft, + e.scrollTop + n + this.scrollAccel + )); + else if (t.button == bw.Up) { + var n; + e.scrollTop > 0 && + ((n = e.scrollTop) > 300 && (n = 300), + e.scrollTo( + e.scrollLeft, + e.scrollTop - (n + this.scrollAccel) + )); + } + })(this.pack_container.nativeElement) + : this.pack_song_container && + ((e = this.pack_song_container.elementRef.nativeElement.getBoundingClientRect()), + t.x >= e.left && + t.x <= e.right && + t.y >= e.top && + t.y <= e.bottom) && + n(this.pack_song_container); + }) + ); + } + ngOnDestroy() { + this.subs.unsubscribe(); + } + ngOnInit() { + this.configSvc.getConfig().subscribe(this.handleConfig.bind(this)), + this.configSvc.configUpdated.subscribe( + this.handleConfig.bind(this) + ); + } + ngAfterViewInit() {} + hasSelected() { + return this.songs.filter(t => t.Selected).length; + } + dragMove(t) { + this.lastDragPointer = t.pointerPosition; + } + handleConfig(t) { + (this.config = t), + (this.packs = this.nocustomsongs.transform(t.Config.Playlists)); + var e = this.onlycustomsongs.transform(t.Config.Playlists); + if (e.length < 1) { + const t = { + SongList: [], + PlaylistID: "CustomSongs", + PlaylistName: "Custom Songs" + }, + e = new gw(); + (e.Playlist = t), + this.msgSvc.sendClientMessage(e), + (this.songsPack = t); + } else this.songsPack = e[0]; + this.songs = this.songsPack.SongList; + } + drop(t) { + const e = t.container.element.nativeElement, + n = t.item.element.nativeElement; + var a, o; + this.pack_container && + this.pack_container.id == t.container.element.id && + n.dataset.song_id + ? (this.pack_container && + t.container.element.nativeElement === + this.pack_container.nativeElement && + (a = (o = t => + null == t + ? null + : t.attributes["data-playlist_id"] + ? t.attributes["data-playlist_id"].value + : t.id == e.id + ? void 0 + : null == t.parentElement + ? null + : o(t.parentElement))( + document.elementFromPoint( + this.lastDragPointer.x, + this.lastDragPointer.y + ) + )), + null == a && (a = this.packs[t.currentIndex].PlaylistID)) + : (a = e.dataset.playlist_id); + let i = t.currentIndex; + if ( + this.selectedPlaylist || + e !== this.pack_container.nativeElement || + n.dataset.song_id + ) { + const e = this.song_container.getRenderedRange(); + var r; + this.pack_song_container && + (r = this.pack_song_container.getRenderedRange()); + let o = n.dataset.song_id, + d = t.currentIndex; + var l, s; + if ( + (t.container.element.nativeElement === + this.song_container.elementRef.nativeElement + ? ((s = "songs"), (i = t.currentIndex + e.start)) + : this.pack_song_container && + t.container.element.nativeElement === + this.pack_song_container.elementRef.nativeElement + ? ((s = "packsongs"), (i = t.currentIndex + r.start)) + : this.pack_container && + t.container.element.nativeElement == + this.pack_container.nativeElement && + (s = "pack"), + t.previousContainer.element.nativeElement == + this.song_container.elementRef.nativeElement + ? ((l = "songs"), (d += e.start)) + : this.pack_song_container && + t.previousContainer.element.nativeElement == + this.pack_song_container.elementRef.nativeElement + ? ((l = "packsongs"), (d += r.start)) + : this.pack_container && + t.previousContainer.element.nativeElement == + this.pack_container.nativeElement && + (l = "pack"), + "songs" == l && "pack" == s) + ) { + const t = this.packs.find(t => t.PlaylistID == a); + i = t ? t.SongList.length : 0; + } + if ( + (console.log( + "drop moving songid from " + + l + + " at index " + + d + + " to " + + s + + " (playlist ID " + + a + + ") at index " + + i + ), + "pack" == l && "songs" == s) + ) { + var c = i; + t.item.data.SongList.forEach(t => { + const e = new sw(); + (e.ToPlaylistID = a), + (e.SongID = t.SongID), + (e.Index = c), + this.msgSvc.sendClientMessage(e), + (c += 1); + }), + this.removePlaylist(t.item.data.PlaylistID); + } else { + if (l == s) { + const t = new lw(); + (t.SongID = o), (t.Index = i), this.msgSvc.sendClientMessage(t); + } else { + const t = new sw(); + (t.ToPlaylistID = a), + (t.SongID = o), + (t.Index = i), + this.msgSvc.sendClientMessage(t); + } + t.previousContainer.data.splice(d, 1), + t.container.data.splice(i, 0, t.item.data); + } + } else { + const t = this.config.Config.Playlists.findIndex( + t => t.PlaylistID == this.songsPack.PlaylistID + ); + t > -1 && i > t && (i += 1); + const e = new cw(); + (e.PlaylistID = n.dataset.playlist_id), + (e.Index = i), + this.msgSvc.sendClientMessage(e); + } + } + addSelected(t) { + const e = this.songs.filter(t => t.Selected); + e.forEach(e => { + const n = new sw(); + (n.ToPlaylistID = t.PlaylistID), + (n.SongID = e.SongID), + this.msgSvc.sendClientMessage(n); + }), + (t.SongList = t.SongList.concat(e)), + this.songs.forEach(t => (t.Selected = !1)), + (this.checkboxChecked = !1); + } + getBackground(t) { + let e = encodeURIComponent(t); + return ( + (e = e.replace("(", "%28").replace(")", "%29")), + ql.API_ENDPOINT + "/host/beatsaber/song/cover?songid=" + e + ); + } + updateImages(t) { + setTimeout(() => this.updateSearchResult.next(), t); + } + getPackBackground(t) { + let e = encodeURIComponent(t); + return ( + (e = e.replace("(", "%28").replace(")", "%29")), + ql.API_ENDPOINT + + "/host/beatsaber/playlist/cover?playlistid=" + + e + + "&updateCount=" + + this.updateHack + ); + } + sortAuthor(t) { + this.sortPack(t, Kl.LevelAuthor); + } + sortDifficulty(t) { + this.sortPack(t, Kl.MaxDifficulty); + } + sortName(t) { + this.sortPack(t, Kl.Name); + } + sortPack(t, e) { + this.reverseSortToggle = !this.reverseSortToggle; + const n = new rw(); + (n.PlaylistID = t), + (n.SortMode = e), + (n.Reverse = this.reverseSortToggle), + this.msgSvc.sendClientMessage(n); + } + addEditPlaylist(t) { + this.dialog + .open(hw, { + width: "450px", + height: "320px", + disableClose: !0, + data: { + playlist: t + ? { PlaylistID: t.PlaylistID, PlaylistName: t.PlaylistName } + : {}, + isNew: !t + } + }) + .afterClosed() + .subscribe(t => this.dialogClosed(t)); + } + deletePlaylist(t) { + t.SongList.length + ? this.dialog + .open(Pw, { + width: "450px", + height: "200px", + disableClose: !0, + data: { + title: "Delete " + t.PlaylistName + "?", + subTitle: + "Are you sure you want to delete this playlist" + + (t.SongList.length + ? " and all " + t.SongList.length + " songs on it?" + : "?"), + button1Text: "Yes" + } + }) + .afterClosed() + .subscribe(e => { + 1 == e && this.removePlaylist(t.PlaylistID); + }) + : this.removePlaylist(t.PlaylistID); + } + dialogClosed(t) { + null != t && + (!0 === t.deletePlaylist + ? this.removePlaylist(t.playlist.PlaylistID) + : t.isNew + ? this.configSvc.getConfig().subscribe(e => { + e.Config.Playlists.push(t.playlist); + const n = new gw(); + (n.Playlist = t.playlist), this.msgSvc.sendClientMessage(n); + }) + : this.configSvc.getConfig().subscribe(e => { + let n = null; + if ( + (e.Config.Playlists.forEach(e => { + e.PlaylistID == t.playlist.PlaylistID && + ((n = e), + t.playlist.CoverImageBytes && + t.playlist.CoverImageBytes.length > 50 && + (n.CoverImageBytes = t.playlist.CoverImageBytes), + (n.PlaylistName = t.playlist.PlaylistName)); + }), + n) + ) { + const t = new gw(); + var a; + (t.Playlist = n), + this.msgSvc.sendClientMessage(t), + (a = this.msgSvc.configChangeMessage.subscribe(t => { + a.unsubscribe(), + (this.updateHack = new Date().getTime()); + })); + } + })); + } + removePlaylist(t) { + const e = new uw(); + (e.PlaylistID = t), this.msgSvc.sendClientMessage(e); + } + removeSong(t) { + const e = new dw(); + (e.SongID = t), this.msgSvc.sendClientMessage(e); + } + removeSongFromPack(t, e) { + const n = new sw(); + (n.ToPlaylistID = "CustomSongs"), + (n.SongID = t.SongID), + (n.Index = this.songs.length), + this.msgSvc.sendClientMessage(n), + this.songs.push(t), + (e.SongList = e.SongList.filter(e => e !== t)); + } + selectAll() { + (this.selectAllToggle = !this.selectAllToggle), + (this.checkboxChecked = !0), + this.songs.forEach(t => { + t.Selected = this.selectAllToggle; + }); + } + autoSortName(t) { + var e = new fw(); + (e.MaxPerNamePlaylist = t), + (e.SortMode = Kl.Name), + this.msgSvc.sendClientMessage(e); + } + autoSortDifficulty() { + var t = new fw(); + (t.MaxPerNamePlaylist = 5), + (t.SortMode = Kl.MaxDifficulty), + this.msgSvc.sendClientMessage(t); + } + openPack() {} + } + var Mw = Ia({ + encapsulation: 0, + styles: [ + [ + '@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28121em) scale(.75);transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}@-webkit-keyframes cdk-text-field-autofill-start{}@-webkit-keyframes cdk-text-field-autofill-end{}.mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-option[_ngcontent-%COMP%]{color:#fff}.mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple):not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:focus:not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:hover:not(.mat-option-disabled){background:rgba(255,255,255,.04)}.mat-option.mat-active[_ngcontent-%COMP%]{background:rgba(255,255,255,.04);color:#fff}.mat-option.mat-option-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-primary[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ad2c2c}.mat-accent[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#216bad}.mat-warn[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ff5722}.mat-optgroup-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-optgroup-disabled[_ngcontent-%COMP%] .mat-optgroup-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-pseudo-checkbox[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-pseudo-checkbox[_ngcontent-%COMP%]::after{color:#303030}.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{color:#686868}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%], .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#216bad}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ad2c2c}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ff5722}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{background:#686868}.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-app-background[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-theme-loaded-marker[_ngcontent-%COMP%]{display:none}.mat-autocomplete-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-autocomplete-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover){background:#424242}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#fff}@media (-ms-high-contrast:active){.mat-badge-content[_ngcontent-%COMP%]{outline:solid 1px;border-radius:0}.mat-checkbox-disabled[_ngcontent-%COMP%]{opacity:.5}}.mat-badge-accent[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-badge-warn[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ff5722}.mat-badge[_ngcontent-%COMP%]{position:relative}.mat-badge-hidden[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{display:none}.mat-badge-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#6e6e6e;color:rgba(255,255,255,.5)}.mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ad2c2c;position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out;-webkit-transform:scale(.6);transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;font-weight:600;font-size:12px;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-badge-content._mat-animation-noopable[_ngcontent-%COMP%], .ng-animate-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{transition:none}.mat-badge-content.mat-badge-active[_ngcontent-%COMP%]{-webkit-transform:none;transform:none}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:16px;height:16px;line-height:16px;font-size:9px}.mat-badge-small.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-8px}.mat-badge-small.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-8px}.mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-16px}.mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-8px}.mat-badge-medium[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-11px}.mat-badge-medium.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-11px}.mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-22px}.mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-11px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:28px;height:28px;line-height:28px;font-size:24px}.mat-badge-large.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-14px}.mat-badge-large.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-14px}.mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-28px}.mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-14px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{color:inherit;background:0 0}.mat-button.mat-primary[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-button[disabled][disabled][_ngcontent-%COMP%], .mat-icon-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-icon-button[disabled][disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-stroked-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ff5722}.mat-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:transparent}.mat-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{opacity:.1;background-color:currentColor}.mat-button-focus-overlay[_ngcontent-%COMP%]{background:#fff}.mat-stroked-button[_ngcontent-%COMP%]:not([disabled]){border-color:rgba(255,255,255,.12)}.mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%]{color:#fff;background-color:#424242}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{color:#fff}.mat-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-fab[disabled][disabled][_ngcontent-%COMP%], .mat-flat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-flat-button[disabled][disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-mini-fab[disabled][disabled][_ngcontent-%COMP%], .mat-raised-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-raised-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:rgba(255,255,255,.12)}.mat-fab.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-flat-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-stroked-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-raised-button[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-button-toggle-group[_ngcontent-%COMP%], .mat-button-toggle-standalone[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%], .mat-button-toggle-standalone.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{box-shadow:none;border:1px solid rgba(255,255,255,.12)}.mat-button-toggle[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-button-toggle[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff;background:#424242}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:#fff}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12)}[dir=rtl][_ngcontent-%COMP%] .mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:none;border-top:1px solid rgba(255,255,255,.12)}.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#212121;color:rgba(255,255,255,.7)}.mat-button-toggle-checked.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff}.mat-button-toggle-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:#000}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{background:#424242}.mat-button-toggle-disabled.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#424242}.mat-card[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-card[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-card.mat-card-flat[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-card-subtitle[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-checkbox-frame[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-checkbox-checkmark[_ngcontent-%COMP%]{fill:#303030}.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#303030!important}@media (-ms-high-contrast:black-on-white){.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#000!important}}.mat-checkbox-mixedmark[_ngcontent-%COMP%]{background-color:#303030}.mat-checkbox-checked.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-checkbox-checked.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#216bad}.mat-checkbox-checked.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ff5722}.mat-checkbox-disabled.mat-checkbox-checked[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-disabled.mat-checkbox-indeterminate[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%]:not(.mat-checkbox-checked) .mat-checkbox-frame[_ngcontent-%COMP%]{border-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}@media (-ms-high-contrast:active){.mat-checkbox-background[_ngcontent-%COMP%]{background:0 0}.mat-ripple-element[_ngcontent-%COMP%]{display:none}}.mat-checkbox[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%]{background:#ad2c2c}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%]{background:#216bad}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%]{background:#ff5722}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]{background-color:#616161;color:#fff}.mat-chip.mat-standard-chip[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled) .mat-chip-remove[_ngcontent-%COMP%]:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled[_ngcontent-%COMP%]{opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]::after{background:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-table[_ngcontent-%COMP%]{background:#424242}.mat-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%], .mat-table-sticky[_ngcontent-%COMP%], [mat-footer-row][_ngcontent-%COMP%], [mat-header-row][_ngcontent-%COMP%], [mat-row][_ngcontent-%COMP%], mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%]{background:inherit}mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%], td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{border-bottom-color:rgba(255,255,255,.12)}.mat-header-cell[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{color:#fff}.mat-calendar-arrow[_ngcontent-%COMP%]{border-top-color:#fff}.mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-next-button[_ngcontent-%COMP%], .mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-previous-button[_ngcontent-%COMP%], .mat-datepicker-toggle[_ngcontent-%COMP%]{color:#fff}.mat-calendar-table-header[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-calendar-table-header-divider[_ngcontent-%COMP%]::after{background:rgba(255,255,255,.12)}.mat-calendar-body-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-calendar-body-cell-content[_ngcontent-%COMP%]{color:#fff;border-color:transparent}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){color:rgba(255,255,255,.5)}.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .cdk-program-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .mat-calendar-body-cell[_ngcontent-%COMP%]:not(.mat-calendar-body-disabled):hover > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){background-color:rgba(255,255,255,.04)}.mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.5)}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.3)}.mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.4)}.mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#424242;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.4)}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.4)}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content-touch[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-datepicker-toggle-active[_ngcontent-%COMP%]{color:#ad2c2c}.mat-datepicker-toggle-active.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-datepicker-toggle-active.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-dialog-container[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-divider[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-divider-vertical[_ngcontent-%COMP%]{border-right-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-expansion-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-action-row[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-keyboard-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-program-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]):hover{background:rgba(255,255,255,.04)}@media (hover:none){.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header[_ngcontent-%COMP%]:hover{background:#424242}}.mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:#fff}.mat-expansion-indicator[_ngcontent-%COMP%]::after, .mat-expansion-panel-header-description[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%], .mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:inherit}.mat-form-field-label[_ngcontent-%COMP%], .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-focused[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#fff}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid) .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ad2c2c}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#216bad}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#ff5722}.mat-error[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7);bottom:1.25em}.mat-form-field-appearance-legacy.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7)}.mat-form-field-appearance-standard.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.05)}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:transparent}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#fff}.mat-form-field-appearance-outline.mat-focused[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field-appearance-outline.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-appearance-outline.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.15)}.mat-icon.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-icon.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-icon.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-type-mat-native-select[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:rgba(255,255,255,.7)}.mat-form-field-type-mat-native-select.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-input-element[_ngcontent-%COMP%]:disabled{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]{caret-color:#ad2c2c}.mat-input-element[_ngcontent-%COMP%]::-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-moz-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-webkit-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]{color:rgba(0,0,0,.87)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]:disabled{color:rgba(0,0,0,.38)}.mat-accent[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#216bad}.mat-form-field-invalid[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#ff5722}.mat-form-field-type-mat-native-select.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ff5722}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%], .mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{color:#fff}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-list-item-disabled[_ngcontent-%COMP%]{background-color:#000}.mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover, .mat-list-option[_ngcontent-%COMP%]:focus, .mat-list-option[_ngcontent-%COMP%]:hover, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover{background:rgba(255,255,255,.04)}.mat-menu-panel[_ngcontent-%COMP%]{background:#424242}.mat-menu-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-menu-item[_ngcontent-%COMP%]{background:0 0;color:#fff}.mat-menu-item[disabled][_ngcontent-%COMP%], .mat-menu-item[disabled][_ngcontent-%COMP%]::after{color:rgba(255,255,255,.5)}.mat-menu-item[_ngcontent-%COMP%] .mat-icon-no-color[_ngcontent-%COMP%], .mat-menu-item-submenu-trigger[_ngcontent-%COMP%]::after{color:#fff}.mat-menu-item-highlighted[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-keyboard-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-program-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item[_ngcontent-%COMP%]:hover:not([disabled]){background:rgba(255,255,255,.04)}.mat-paginator[_ngcontent-%COMP%]{background:#424242}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-paginator-decrement[_ngcontent-%COMP%], .mat-paginator-increment[_ngcontent-%COMP%]{border-top:2px solid #fff;border-right:2px solid #fff}.mat-paginator-first[_ngcontent-%COMP%], .mat-paginator-last[_ngcontent-%COMP%]{border-top:2px solid #fff}.mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-decrement[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-first[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-increment[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-last[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-progress-bar-background[_ngcontent-%COMP%]{fill:#e6c0c0}.mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#e6c0c0}.mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ad2c2c}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#216bad}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ff5722}.mat-progress-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ad2c2c}.mat-progress-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#216bad}.mat-progress-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ff5722}.mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ad2c2c}.mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#216bad}.mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#216bad}.mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ff5722}.mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ff5722}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-label-content[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-radio-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-select-value[_ngcontent-%COMP%]{color:#fff}.mat-select-disabled[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%], .mat-select-placeholder[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-select-panel[_ngcontent-%COMP%]{background:#424242}.mat-select-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-select-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple){background:rgba(255,255,255,.12)}.mat-form-field.mat-focused.mat-primary[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#216bad}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-invalid[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-form-field.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-disabled[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-drawer-container[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-drawer[_ngcontent-%COMP%]{background-color:#424242;color:#fff}.mat-drawer.mat-drawer-push[_ngcontent-%COMP%]{background-color:#424242}.mat-drawer[_ngcontent-%COMP%]:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-drawer-side[_ngcontent-%COMP%]{border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%] .mat-drawer-side[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12);border-right:none}[dir=rtl][_ngcontent-%COMP%] .mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-backdrop.mat-drawer-shown[_ngcontent-%COMP%]{background-color:rgba(189,189,189,.6)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.54)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.54)}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.54)}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle[_ngcontent-%COMP%]:not(.mat-checked) .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-slide-toggle-thumb[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#bdbdbd}.mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#216bad}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ff5722}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.2)}.cdk-focused[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%] .mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:#fff}.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing) .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3);background-color:transparent}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-has-ticks[_ngcontent-%COMP%] .mat-slider-wrapper[_ngcontent-%COMP%]::after{border-color:rgba(255,255,255,.7)}.mat-slider-horizontal[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to right,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-slider-vertical[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to bottom,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused[_ngcontent-%COMP%], .mat-step-header.cdk-program-focused[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%]:hover{background-color:rgba(255,255,255,.04)}@media (hover:none){.mat-step-header[_ngcontent-%COMP%]:hover{background:0 0}}.mat-step-header[_ngcontent-%COMP%] .mat-step-label[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-optional[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7);color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-selected[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-edit[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-error[_ngcontent-%COMP%]{background-color:transparent;color:#ff5722}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-active[_ngcontent-%COMP%]{color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-error[_ngcontent-%COMP%]{color:#ff5722}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{background-color:#424242}.mat-stepper-vertical-line[_ngcontent-%COMP%]::before{border-left-color:rgba(255,255,255,.12)}.mat-horizontal-stepper-header[_ngcontent-%COMP%]::after, .mat-horizontal-stepper-header[_ngcontent-%COMP%]::before, .mat-stepper-horizontal-line[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-sort-header-arrow[_ngcontent-%COMP%]{color:#c6c6c6}.mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[_ngcontent-%COMP%]{border-bottom:1px solid rgba(255,255,255,.12)}.mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-nav-bar[_ngcontent-%COMP%]{border-top:1px solid rgba(255,255,255,.12);border-bottom:none}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-tab-group[class*=mat-background-][_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[class*=mat-background-][_ngcontent-%COMP%]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-toolbar[_ngcontent-%COMP%]{background:#212121;color:#fff}.mat-toolbar.mat-primary[_ngcontent-%COMP%]{background:#ad2c2c;color:#fff}.mat-toolbar.mat-accent[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-toolbar.mat-warn[_ngcontent-%COMP%]{background:#ff5722;color:#fff}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:currentColor}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%]{color:inherit}.mat-toolbar[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:currentColor}.mat-tooltip[_ngcontent-%COMP%]{background:rgba(97,97,97,.9)}.mat-tree[_ngcontent-%COMP%]{background:#424242}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{color:#fff}.mat-snack-bar-container[_ngcontent-%COMP%]{color:rgba(0,0,0,.87);background:#fafafa;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 11.62px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 9.38px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,"Helvetica Neue",sans-serif}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,"Helvetica Neue",sans-serif;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34373em) scale(.75);transform:translateY(-1.34373em) scale(.75);width:133.3333533333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34372em) scale(.75);transform:translateY(-1.34372em) scale(.75);width:133.3333633333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00106px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00106px);-ms-transform:translateY(-1.28119em) scale(.75);width:133.3333933333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00107px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00107px);-ms-transform:translateY(-1.28118em) scale(.75);width:133.3334033333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00108px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00108px);-ms-transform:translateY(-1.28117em) scale(.75);width:133.3334133333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28116em) scale(.75);transform:translateY(-1.28116em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28115em) scale(.75);transform:translateY(-1.28115em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28114em) scale(.75);transform:translateY(-1.28114em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59373em) scale(.75);transform:translateY(-.59373em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59372em) scale(.75);transform:translateY(-.59372em) scale(.75);width:133.3333633333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59373em) scale(.75);transform:translateY(-1.59373em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59372em) scale(.75);transform:translateY(-1.59372em) scale(.75);width:133.3333633333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{color:inherit;line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,-webkit-transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1),-webkit-transform 0s cubic-bezier(0,0,.2,1);-webkit-transform:scale(0);transform:scale(0)}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation-name:cdk-text-field-autofill-start;animation-name:cdk-text-field-autofill-start}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation-name:cdk-text-field-autofill-end;animation-name:cdk-text-field-autofill-end}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{height:auto!important;overflow:hidden!important;padding:2px 0!important;box-sizing:content-box!important}.packs-left[_ngcontent-%COMP%], .packs-right[_ngcontent-%COMP%]{display:block;float:left;width:100%;height:100%}.packs-right[_ngcontent-%COMP%]{width:100%}.right[_ngcontent-%COMP%]{float:right}.left[_ngcontent-%COMP%]{float:left}button.right[_ngcontent-%COMP%]{margin-left:15px}.drag-playlist[_ngcontent-%COMP%]{margin-top:-15px}.left-col[_ngcontent-%COMP%], .right-col[_ngcontent-%COMP%]{width:calc(50% - 15px);display:inline-block;height:100%;margin-left:10px;margin-right:5px;vertical-align:top}.right-col[_ngcontent-%COMP%]{margin-left:5px;margin-right:10px}.outer-container[_ngcontent-%COMP%]{height:calc(100% - 10px);overflow:hidden;margin-top:-10px;color:#fff}.collection-song[_ngcontent-%COMP%]{line-height:2rem;padding:10px;margin:0;border-bottom:1px solid #e0e0e0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;max-width:100%;position:relative;min-height:50px}.collection-song[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%]{height:65px;padding-left:72px;position:relative}.collection-song[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:16px;vertical-align:middle;display:inline-block}.collection-song[_ngcontent-%COMP%]:last-child{border-bottom:initial}.edit-main-playlist[_ngcontent-%COMP%]{margin-left:10px;font-size:24px}.pack-song-container[_ngcontent-%COMP%] .collection-song[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%]{display:none}.song-container[_ngcontent-%COMP%] .collection-song[_ngcontent-%COMP%]:last-child{border-bottom:1px solid #e0e0e0}.handle[_ngcontent-%COMP%]{touch-action:none;cursor:pointer}.packOuter[_ngcontent-%COMP%]{color:#fff;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-bottom:1px solid #fff;height:38px;padding-top:20px}.packOuter[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-left:15px}.playlistInner[_ngcontent-%COMP%]{color:#fff;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin-top:29px;margin-bottom:23px}.collection-song.avatar[_ngcontent-%COMP%] [_ngcontent-%COMP%]:not(.circle-clipper) > .circle[_ngcontent-%COMP%], .collection-song.avatar[_ngcontent-%COMP%]:not(.circle-clipper) > .circle[_ngcontent-%COMP%]{float:left;width:42px;height:42px;overflow:hidden;display:inline-block;vertical-align:middle}.main-pack-image[_ngcontent-%COMP%], .pack-image[_ngcontent-%COMP%]{width:48px;height:48px;overflow:hidden;display:block;float:left}.pack-image[_ngcontent-%COMP%]{margin-left:7px;margin-top:-15px}.main-pack-image[_ngcontent-%COMP%]{margin-top:15px;margin-right:12px}.select-song[_ngcontent-%COMP%]{margin-top:15px;margin-right:10px;color:#d3d3d3}.drag-indicator[_ngcontent-%COMP%]{font-size:2rem;line-height:3rem;vertical-align:middle}.drag-indicator.handle[_ngcontent-%COMP%]{float:left}.truncate[_ngcontent-%COMP%]{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gu-mirror[_ngcontent-%COMP%]{position:fixed!important;margin:0!important;z-index:9999!important;opacity:.8;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";filter:alpha(opacity=80)}.collection[_ngcontent-%COMP%]{color:#fff}.gu-hide[_ngcontent-%COMP%]{display:none!important}.gu-unselectable[_ngcontent-%COMP%]{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.gu-transit[_ngcontent-%COMP%]{opacity:.2;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";filter:alpha(opacity=20)}.cursor[_ngcontent-%COMP%]{cursor:pointer}.collection[_ngcontent-%COMP%] li[_ngcontent-%COMP%], .collection-song[_ngcontent-%COMP%]{list-style-type:none;color:#fff}.add-to-drag[_ngcontent-%COMP%]{width:100%;padding:1em;border:2px dashed #3f3f3f;text-align:center;box-sizing:border-box}.side-packs[_ngcontent-%COMP%]{height:100%}.side-packs-fixed[_ngcontent-%COMP%]{position:fixed;width:40%;height:100%}.delete-pack[_ngcontent-%COMP%]{display:none}.sort-songs[_ngcontent-%COMP%]{float:right}.no-margin-top[_ngcontent-%COMP%]{margin-top:0}.song-handle-backer[_ngcontent-%COMP%]{width:110px;height:calc(100% - 16px);position:absolute;left:0;top:8px;z-index:99}.pack-handle-backer[_ngcontent-%COMP%]{position:relative;width:0;height:0}.pack-handle-backer[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{width:100px;position:absolute;left:5px;top:0;margin-top:-20px;height:56px}.pack-container[_ngcontent-%COMP%], .song-container[_ngcontent-%COMP%]{height:calc(100% - 75px);overflow:auto;border:1px solid #cfcfcf;border-right:0 solid #cfcfcf!important;border-left:1px solid #cfcfcf!important;scroll-behavior:smooth}.material-icons.right.cursor[_ngcontent-%COMP%]{margin-right:3px;margin-top:-5px}.name[_ngcontent-%COMP%], .name-top[_ngcontent-%COMP%]{padding-left:1.2em!important;font-size:14px}.songpackname[_ngcontent-%COMP%]{overflow:ellipsis;white-space:nowrap;display:inline-block;max-width:calc(100% - 370px);margin-top:4px;margin-bottom:-4px}.name-top[_ngcontent-%COMP%]{padding-top:2px}.playlists-label-top[_ngcontent-%COMP%]{padding-top:10px;padding-left:5px}.playlists-label-top[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-top:-9px}.song-container[_ngcontent-%COMP%]{height:calc(100% - 75px);background:rgba(255,255,255,.36);padding-left:0;max-width:100%}.pack-container[_ngcontent-%COMP%]{background:rgba(255,255,255,.2)}.pack-container[_ngcontent-%COMP%] .collection-song.cdk-drag-placeholder[_ngcontent-%COMP%]{padding:0;margin:0;height:0!important;width:0!important;overflow:hidden;min-height:0}.pack-song-container-outer[_ngcontent-%COMP%]{border-top:1px solid #e0e0e0;height:100%;overflow-y:scroll;overflow-x:hidden}.pack-container[_ngcontent-%COMP%] > li.collection-song[_ngcontent-%COMP%], div.collection-song[_ngcontent-%COMP%], div.packOuter[_ngcontent-%COMP%]{-webkit-transform:none!important;transform:none!important}.add-to-pack[_ngcontent-%COMP%]{padding:1em;width:100%;border:3px dashed #a9a9a9;text-align:center}.show-pack[_ngcontent-%COMP%]{margin-right:.5em}.pack-song-container[_ngcontent-%COMP%]{padding-left:10px;padding-right:10px;background:rgba(255,255,255,.2);height:calc(100% - 76px);scroll-behavior:smooth}.pack-song-container.cdk-drop-list-dragging[_ngcontent-%COMP%] .example-box[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1),-webkit-transform 250ms cubic-bezier(0,0,.2,1)}.pack-song-container-outer[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{-webkit-margin-before:0;margin-block-start:0}.song-sort[_ngcontent-%COMP%]{margin-top:15px;margin-right:20px;vertical-align:middle}.song-sort[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{padding-left:15px}.hide-this[_ngcontent-%COMP%]{padding:0;margin:0;border:0 solid #fff;height:0}.description[_ngcontent-%COMP%]{margin-top:-10px;font-size:.8rem;font-style:italic;margin-bottom:0}.playlist-check[_ngcontent-%COMP%]{-webkit-animation:.4s bigEntry;animation:.4s bigEntry}@-webkit-keyframes bigEntry{0%{-webkit-transform:scale(.2);transform:scale(.2);text-shadow:1px 1px 5px #ad2c2c,-1px 1px 5px #ad2c2c,1px -1px 5px #ad2c2c,-1px -1px 5px #ad2c2c}50%{-webkit-transform:scale(1.5);transform:scale(1.5);text-shadow:3px 3px 10px #ad2c2c,-3px 3px 10px #ad2c2c,3px -3px 10px #ad2c2c,-3px -3px 10px #ad2c2c}100%{-webkit-transform:scale(1);transform:scale(1);text-shadow:5px 5px 15px rgba(173,44,44,0),-5px 5px 15px rgba(173,44,44,0),5px -5px 15px rgba(173,44,44,0),-5px -5px 15px rgba(173,44,44,0)}}@keyframes bigEntry{0%{-webkit-transform:scale(.2);transform:scale(.2);text-shadow:1px 1px 5px #ad2c2c,-1px 1px 5px #ad2c2c,1px -1px 5px #ad2c2c,-1px -1px 5px #ad2c2c}50%{-webkit-transform:scale(1.5);transform:scale(1.5);text-shadow:3px 3px 10px #ad2c2c,-3px 3px 10px #ad2c2c,3px -3px 10px #ad2c2c,-3px -3px 10px #ad2c2c}100%{-webkit-transform:scale(1);transform:scale(1);text-shadow:5px 5px 15px rgba(173,44,44,0),-5px 5px 15px rgba(173,44,44,0),5px -5px 15px rgba(173,44,44,0),-5px -5px 15px rgba(173,44,44,0)}}' + ] + ], + data: { + animation: [ + { + type: 7, + name: "winkout", + definitions: [ + { + type: 1, + expr: ":leave", + animation: [ + { + type: 6, + styles: { transform: "scale(1)" }, + offset: null + }, + { + type: 4, + styles: { + type: 6, + styles: { transform: "scale(0)" }, + offset: null + }, + timings: "0.1s" + } + ], + options: null + } + ], + options: {} + } + ] + } + }); + function yw(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 16777216, + null, + null, + 3, + "i", + [ + ["class", "material-icons right cursor playlist-check"], + ["fast-click", ""], + ["matTooltip", "Copy Selected Songs into this pack"], + ["matTooltipPosition", "below"] + ], + [[24, "@winkout", 0]], + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "longpress" === e && (a = !1 !== Io(t, 1).show() && a), + "keydown" === e && + (a = !1 !== Io(t, 1)._handleKeydown(n) && a), + "touchend" === e && + (a = !1 !== Io(t, 1)._handleTouchend() && a), + "click" === e && + (o.addSelected(t.parent.context.$implicit), + (a = !1 !== n.stopPropagation() && a)), + a + ); + }, + null, + null + )), + Uo( + 1, + 212992, + null, + 0, + Mv, + [rM, Ln, kO, ua, Di, Op, sf, _f, Cv, [2, hp], [2, Ov], [2, ru]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Uo(2, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, null, ["done_all"])), + (t()(), _r(0, null, null, 0)) + ], + function(t, e) { + t(e, 1, 0, "below", "Copy Selected Songs into this pack"); + }, + function(t, e) { + t(e, 0, 0, void 0); + } + ); + } + function vw(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 16777216, + null, + null, + 28, + "div", + [["cdkDrag", ""], ["class", "packOuter cdk-drag"]], + [ + [1, "data-playlist_id", 0], + [2, "cdk-drag-disabled", null], + [2, "cdk-drag-dragging", null] + ], + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && + (a = + !1 !== + (t.component.selectedPlaylist = t.context.$implicit) && + a), + a + ); + }, + null, + null + )), + Uo( + 1, + 4866048, + [[10, 4]], + 3, + Jv, + [Ln, [3, $v], Bs, Di, ua, Xv, [2, hp], Gv, oa], + { data: [0, "data"] }, + null + ), + vr(603979776, 11, { _handles: 1 }), + vr(603979776, 12, { _previewTemplate: 0 }), + vr(603979776, 13, { _placeholderTemplate: 0 }), + Ko(2048, null, Zv, null, [Jv]), + (t()(), + Cr( + 6, + 0, + null, + null, + 2, + "div", + [ + ["cdkDragHandle", ""], + ["class", "pack-handle-backer cdk-drag-handle"] + ], + null, + null, + null, + null, + null + )), + Uo(7, 147456, [[11, 4]], 0, Qv, [Ln, [2, Zv]], null, null), + (t()(), + Cr( + 8, + 0, + null, + null, + 0, + "div", + [["class", "handle pack-handle-backer"]], + null, + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && + ((t.component.selectedPlaylist = t.context.$implicit), + (a = !1 !== n.stopPropagation() && a)), + a + ); + }, + null, + null + )), + (t()(), + Cr( + 9, + 16777216, + null, + null, + 3, + "i", + [ + ["class", "material-icons cursor orange-text right"], + ["fast-click", ""], + ["matTooltip", "Remove playlist"], + ["matTooltipPosition", "below"] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "longpress" === e && (a = !1 !== Io(t, 10).show() && a), + "keydown" === e && + (a = !1 !== Io(t, 10)._handleKeydown(n) && a), + "touchend" === e && + (a = !1 !== Io(t, 10)._handleTouchend() && a), + "click" === e && + (o.deletePlaylist(t.context.$implicit), + (a = !1 !== n.stopPropagation() && a)), + a + ); + }, + null, + null + )), + Uo( + 10, + 212992, + null, + 0, + Mv, + [rM, Ln, kO, ua, Di, Op, sf, _f, Cv, [2, hp], [2, Ov], [2, ru]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Uo(11, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, null, ["close"])), + (t()(), + Cr( + 13, + 16777216, + null, + null, + 3, + "i", + [ + ["class", "material-icons right cursor"], + ["fast-click", ""], + ["matTooltip", "Edit Playlist"], + ["matTooltipPosition", "below"] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "longpress" === e && (a = !1 !== Io(t, 14).show() && a), + "keydown" === e && + (a = !1 !== Io(t, 14)._handleKeydown(n) && a), + "touchend" === e && + (a = !1 !== Io(t, 14)._handleTouchend() && a), + "click" === e && + (o.addEditPlaylist(t.context.$implicit), + (a = !1 !== n.stopPropagation() && a)), + a + ); + }, + null, + null + )), + Uo( + 14, + 212992, + null, + 0, + Mv, + [rM, Ln, kO, ua, Di, Op, sf, _f, Cv, [2, hp], [2, Ov], [2, ru]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Uo(15, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, null, ["edit"])), + (t()(), _r(16777216, null, null, 1, null, yw)), + Uo(18, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), + Cr( + 19, + 0, + null, + null, + 0, + "img", + [["class", "pack-image handle"]], + [[8, "src", 4]], + null, + null, + null, + null + )), + (t()(), + Cr( + 20, + 16777216, + null, + null, + 2, + "i", + [ + [ + "class", + "material-icons cursor grey-text drag-indicator left drag-playlist handle" + ], + ["matTooltip", "Drag this playlist to re-order"], + ["matTooltipPosition", "below"] + ], + null, + [[null, "longpress"], [null, "keydown"], [null, "touchend"]], + function(t, e, n) { + var a = !0; + return ( + "longpress" === e && (a = !1 !== Io(t, 21).show() && a), + "keydown" === e && + (a = !1 !== Io(t, 21)._handleKeydown(n) && a), + "touchend" === e && + (a = !1 !== Io(t, 21)._handleTouchend() && a), + a + ); + }, + null, + null + )), + Uo( + 21, + 212992, + null, + 0, + Mv, + [rM, Ln, kO, ua, Di, Op, sf, _f, Cv, [2, hp], [2, Ov], [2, ru]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + (t()(), Rr(-1, null, ["more_vert"])), + (t()(), + Cr( + 23, + 16777216, + null, + null, + 3, + "i", + [ + ["class", "material-icons right show-pack cursor"], + ["fast-click", ""], + ["matTooltip", "Open this playlist"], + ["matTooltipPosition", "below"] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "longpress" === e && (a = !1 !== Io(t, 24).show() && a), + "keydown" === e && + (a = !1 !== Io(t, 24)._handleKeydown(n) && a), + "touchend" === e && + (a = !1 !== Io(t, 24)._handleTouchend() && a), + "click" === e && + ((o.selectedPlaylist = t.context.$implicit), + (a = !1 !== n.stopPropagation() && a)), + a + ); + }, + null, + null + )), + Uo( + 24, + 212992, + null, + 0, + Mv, + [rM, Ln, kO, ua, Di, Op, sf, _f, Cv, [2, hp], [2, Ov], [2, ru]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Uo(25, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, null, [" navigate_next "])), + (t()(), + Cr( + 27, + 0, + null, + null, + 1, + "div", + [["class", "cursor name truncate"]], + null, + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && + ((t.component.selectedPlaylist = t.context.$implicit), + (a = !1 !== n.stopPropagation() && a)), + a + ); + }, + null, + null + )), + (t()(), Rr(28, null, ["", ""])), + (t()(), _r(0, null, null, 0)) + ], + function(t, e) { + var n = e.component; + t(e, 1, 0, e.context.$implicit), + t(e, 10, 0, "below", "Remove playlist"), + t(e, 14, 0, "below", "Edit Playlist"), + t(e, 18, 0, n.hasSelected()), + t(e, 21, 0, "below", "Drag this playlist to re-order"), + t(e, 24, 0, "below", "Open this playlist"); + }, + function(t, e) { + var n = e.component; + t( + e, + 0, + 0, + e.context.$implicit.PlaylistID, + Io(e, 1).disabled, + Io(e, 1)._dragRef.isDragging() + ), + t( + e, + 19, + 0, + ao( + 1, + "", + n.getPackBackground(e.context.$implicit.PlaylistID), + "" + ) + ), + t(e, 28, 0, e.context.$implicit.PlaylistName); + } + ); + } + function xw(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 67, + "div", + [["class", "left-col"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 1, + 0, + null, + null, + 66, + "div", + [["class", "packs-left side-packs"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 2, + 0, + null, + null, + 53, + "h4", + [["class", "playlists-label-top"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 3, + 16777216, + null, + null, + 6, + "button", + [ + ["class", "right"], + ["color", "primary"], + ["fast-click", ""], + ["mat-flat-button", ""], + ["matTooltip", "Add playlist"], + ["matTooltipPosition", "below"] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "longpress" === e && (a = !1 !== Io(t, 5).show() && a), + "keydown" === e && + (a = !1 !== Io(t, 5)._handleKeydown(n) && a), + "touchend" === e && + (a = !1 !== Io(t, 5)._handleTouchend() && a), + "click" === e && (a = !1 !== o.addEditPlaylist() && a), + a + ); + }, + vP, + yP + )), + Uo( + 4, + 180224, + null, + 0, + Mb, + [Ln, _f, [2, OP]], + { color: [0, "color"] }, + null + ), + Uo( + 5, + 212992, + null, + 0, + Mv, + [rM, Ln, kO, ua, Di, Op, sf, _f, Cv, [2, hp], [2, Ov], [2, ru]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Uo(6, 16384, null, 0, xP, [Ln], null, null), + (t()(), + Cr( + 7, + 0, + null, + 0, + 2, + "mat-icon", + [["class", "mat-icon notranslate"], ["role", "img"]], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + _b, + bb + )), + Uo( + 8, + 9158656, + null, + 0, + pb, + [Ln, rb, [8, null], [2, ub]], + null, + null + ), + (t()(), Rr(-1, 0, ["playlist_add"])), + (t()(), + Cr( + 10, + 16777216, + null, + null, + 7, + "button", + [ + ["aria-haspopup", "true"], + ["class", "right"], + ["color", "accent"], + ["fast-click", ""], + ["mat-button", ""], + ["mat-raised-button", ""], + ["matTooltip", "Auto Sort into Playlists"] + ], + [ + [1, "disabled", 0], + [2, "_mat-animation-noopable", null], + [1, "aria-expanded", 0] + ], + [ + [null, "mousedown"], + [null, "keydown"], + [null, "click"], + [null, "longpress"], + [null, "touchend"] + ], + function(t, e, n) { + var a = !0; + return ( + "mousedown" === e && + (a = !1 !== Io(t, 12)._handleMousedown(n) && a), + "keydown" === e && + (a = !1 !== Io(t, 12)._handleKeydown(n) && a), + "click" === e && (a = !1 !== Io(t, 12)._handleClick(n) && a), + "longpress" === e && (a = !1 !== Io(t, 13).show() && a), + "keydown" === e && + (a = !1 !== Io(t, 13)._handleKeydown(n) && a), + "touchend" === e && + (a = !1 !== Io(t, 13)._handleTouchend() && a), + a + ); + }, + vP, + yP + )), + Uo( + 11, + 180224, + null, + 0, + Mb, + [Ln, _f, [2, OP]], + { color: [0, "color"] }, + null + ), + Uo( + 12, + 1196032, + null, + 0, + Px, + [rM, Ln, ua, bx, [2, px], [8, null], [2, hp], _f], + { menu: [0, "menu"] }, + null + ), + Uo( + 13, + 212992, + null, + 0, + Mv, + [rM, Ln, kO, ua, Di, Op, sf, _f, Cv, [2, hp], [2, Ov], [2, ru]], + { message: [0, "message"] }, + null + ), + Uo(14, 16384, null, 0, xP, [Ln], null, null), + (t()(), + Cr( + 15, + 0, + null, + 0, + 2, + "mat-icon", + [["class", "mat-icon notranslate"], ["role", "img"]], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + _b, + bb + )), + Uo( + 16, + 9158656, + null, + 0, + pb, + [Ln, rb, [8, null], [2, ub]], + null, + null + ), + (t()(), Rr(-1, 0, ["sort"])), + (t()(), + Cr( + 18, + 0, + null, + null, + 14, + "mat-menu", + [], + null, + null, + null, + xx, + yx + )), + Uo(19, 1294336, [["menu", 4]], 2, fx, [Ln, Di, hx], null, null), + vr(603979776, 6, { items: 1 }), + vr(603979776, 7, { lazyContent: 0 }), + Ko(2048, null, px, null, [fx]), + Ko(2048, null, cx, null, [px]), + (t()(), + Cr( + 24, + 16777216, + null, + 0, + 4, + "button", + [ + ["aria-haspopup", "true"], + ["class", "mat-menu-item"], + ["fast-click", ""], + ["mat-menu-item", ""] + ], + [ + [1, "role", 0], + [2, "mat-menu-item-highlighted", null], + [2, "mat-menu-item-submenu-trigger", null], + [1, "tabindex", 0], + [1, "aria-disabled", 0], + [1, "disabled", 0], + [1, "aria-expanded", 0] + ], + [ + [null, "click"], + [null, "mouseenter"], + [null, "mousedown"], + [null, "keydown"] + ], + function(t, e, n) { + var a = !0; + return ( + "click" === e && + (a = !1 !== Io(t, 25)._checkDisabled(n) && a), + "mouseenter" === e && + (a = !1 !== Io(t, 25)._handleMouseEnter() && a), + "mousedown" === e && + (a = !1 !== Io(t, 26)._handleMousedown(n) && a), + "keydown" === e && + (a = !1 !== Io(t, 26)._handleKeydown(n) && a), + "click" === e && (a = !1 !== Io(t, 26)._handleClick(n) && a), + a + ); + }, + wx, + kx + )), + Uo(25, 180224, [[6, 4]], 0, mx, [Ln, Bs, _f, [2, cx]], null, null), + Uo( + 26, + 1196032, + null, + 0, + Px, + [rM, Ln, ua, bx, [2, px], [6, mx], [2, hp], _f], + { menu: [0, "menu"] }, + null + ), + Uo(27, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, 0, ["Sort into New Playlists by Name"])), + (t()(), + Cr( + 29, + 0, + null, + 0, + 3, + "button", + [ + ["class", "mat-menu-item"], + ["fast-click", ""], + ["mat-menu-item", ""] + ], + [ + [1, "role", 0], + [2, "mat-menu-item-highlighted", null], + [2, "mat-menu-item-submenu-trigger", null], + [1, "tabindex", 0], + [1, "aria-disabled", 0], + [1, "disabled", 0] + ], + [[null, "click"], [null, "mouseenter"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "click" === e && + (a = !1 !== Io(t, 30)._checkDisabled(n) && a), + "mouseenter" === e && + (a = !1 !== Io(t, 30)._handleMouseEnter() && a), + "click" === e && (a = !1 !== o.autoSortDifficulty() && a), + a + ); + }, + wx, + kx + )), + Uo(30, 180224, [[6, 4]], 0, mx, [Ln, Bs, _f, [2, cx]], null, null), + Uo(31, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, 0, ["Sort into New Playlists by Difficulty"])), + (t()(), + Cr( + 33, + 0, + null, + null, + 21, + "mat-menu", + [], + null, + null, + null, + xx, + yx + )), + Uo( + 34, + 1294336, + [["subMenuNameCount", 4]], + 2, + fx, + [Ln, Di, hx], + null, + null + ), + vr(603979776, 8, { items: 1 }), + vr(603979776, 9, { lazyContent: 0 }), + Ko(2048, null, px, null, [fx]), + Ko(2048, null, cx, null, [px]), + (t()(), + Cr( + 39, + 0, + null, + 0, + 3, + "button", + [ + ["class", "mat-menu-item"], + ["fast-click", ""], + ["mat-menu-item", ""] + ], + [ + [1, "role", 0], + [2, "mat-menu-item-highlighted", null], + [2, "mat-menu-item-submenu-trigger", null], + [1, "tabindex", 0], + [1, "aria-disabled", 0], + [1, "disabled", 0] + ], + [[null, "click"], [null, "mouseenter"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "click" === e && + (a = !1 !== Io(t, 40)._checkDisabled(n) && a), + "mouseenter" === e && + (a = !1 !== Io(t, 40)._handleMouseEnter() && a), + "click" === e && (a = !1 !== o.autoSortName(10) && a), + a + ); + }, + wx, + kx + )), + Uo(40, 180224, [[8, 4]], 0, mx, [Ln, Bs, _f, [2, cx]], null, null), + Uo(41, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, 0, ["10 Per Playlist"])), + (t()(), + Cr( + 43, + 0, + null, + 0, + 3, + "button", + [ + ["class", "mat-menu-item"], + ["fast-click", ""], + ["mat-menu-item", ""] + ], + [ + [1, "role", 0], + [2, "mat-menu-item-highlighted", null], + [2, "mat-menu-item-submenu-trigger", null], + [1, "tabindex", 0], + [1, "aria-disabled", 0], + [1, "disabled", 0] + ], + [[null, "click"], [null, "mouseenter"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "click" === e && + (a = !1 !== Io(t, 44)._checkDisabled(n) && a), + "mouseenter" === e && + (a = !1 !== Io(t, 44)._handleMouseEnter() && a), + "click" === e && (a = !1 !== o.autoSortName(20) && a), + a + ); + }, + wx, + kx + )), + Uo(44, 180224, [[8, 4]], 0, mx, [Ln, Bs, _f, [2, cx]], null, null), + Uo(45, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, 0, ["20 Per Playlist"])), + (t()(), + Cr( + 47, + 0, + null, + 0, + 3, + "button", + [ + ["class", "mat-menu-item"], + ["fast-click", ""], + ["mat-menu-item", ""] + ], + [ + [1, "role", 0], + [2, "mat-menu-item-highlighted", null], + [2, "mat-menu-item-submenu-trigger", null], + [1, "tabindex", 0], + [1, "aria-disabled", 0], + [1, "disabled", 0] + ], + [[null, "click"], [null, "mouseenter"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "click" === e && + (a = !1 !== Io(t, 48)._checkDisabled(n) && a), + "mouseenter" === e && + (a = !1 !== Io(t, 48)._handleMouseEnter() && a), + "click" === e && (a = !1 !== o.autoSortName(50) && a), + a + ); + }, + wx, + kx + )), + Uo(48, 180224, [[8, 4]], 0, mx, [Ln, Bs, _f, [2, cx]], null, null), + Uo(49, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, 0, ["50 Per Playlist"])), + (t()(), + Cr( + 51, + 0, + null, + 0, + 3, + "button", + [ + ["class", "mat-menu-item"], + ["fast-click", ""], + ["mat-menu-item", ""] + ], + [ + [1, "role", 0], + [2, "mat-menu-item-highlighted", null], + [2, "mat-menu-item-submenu-trigger", null], + [1, "tabindex", 0], + [1, "aria-disabled", 0], + [1, "disabled", 0] + ], + [[null, "click"], [null, "mouseenter"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "click" === e && + (a = !1 !== Io(t, 52)._checkDisabled(n) && a), + "mouseenter" === e && + (a = !1 !== Io(t, 52)._handleMouseEnter() && a), + "click" === e && (a = !1 !== o.autoSortName(100) && a), + a + ); + }, + wx, + kx + )), + Uo(52, 180224, [[8, 4]], 0, mx, [Ln, Bs, _f, [2, cx]], null, null), + Uo(53, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, 0, ["100 Per Playlist"])), + (t()(), Rr(-1, null, [" My Playlists "])), + (t()(), + Cr( + 56, + 0, + [[3, 0], ["pack_container", 1]], + null, + 11, + "div", + [["cdkDropList", ""], ["class", "pack-container cdk-drop-list"]], + [ + [8, "id", 0], + [2, "cdk-drop-list-disabled", null], + [2, "cdk-drop-list-dragging", null], + [2, "cdk-drop-list-receiving", null] + ], + [[null, "cdkDropListDropped"]], + function(t, e, n) { + var a = !0; + return ( + "cdkDropListDropped" === e && + (a = !1 !== t.component.drop(n) && a), + a + ); + }, + null, + null + )), + Ko(6144, null, $v, null, [ax]), + Ko(512, null, fs, bs, [na, aa, Ln, jn]), + Uo( + 59, + 278528, + null, + 0, + Cs, + [fs], + { klass: [0, "klass"], ngClass: [1, "ngClass"] }, + null + ), + Ar(60, { "hide-scroll-bar": 0 }), + Uo( + 61, + 933888, + null, + 0, + Ix, + [Ln, yy, wy, na, aa, jn, [6, Cs]], + { ngClass: [0, "ngClass"], klass: [1, "klass"] }, + null + ), + Ar(62, { "hide-scroll-bar": 0 }), + Uo( + 63, + 1196032, + null, + 1, + ax, + [Ln, Gv, oa, [2, hp], [3, ex]], + { data: [0, "data"] }, + { dropped: "cdkDropListDropped" } + ), + vr(603979776, 10, { _draggables: 1 }), + Ko(256, null, ex, void 0, []), + (t()(), _r(16777216, null, null, 1, null, vw)), + Uo( + 67, + 278528, + null, + 0, + Os, + [ua, ca, na], + { ngForOf: [0, "ngForOf"] }, + null + ) + ], + function(t, e) { + var n = e.component; + t(e, 4, 0, "primary"), + t(e, 5, 0, "below", "Add playlist"), + t(e, 8, 0), + t(e, 11, 0, "accent"), + t(e, 12, 0, Io(e, 19)), + t(e, 13, 0, "Auto Sort into Playlists"), + t(e, 16, 0), + t(e, 19, 0), + t(e, 26, 0, Io(e, 34)), + t(e, 34, 0); + var a = t(e, 60, 0, n.integrationService.isAppLoaded()); + t(e, 59, 0, "pack-container", a); + var o = t(e, 62, 0, n.integrationService.isAppLoaded()); + t(e, 61, 0, o, "pack-container"), + t(e, 63, 0, n.packs), + t(e, 67, 0, n.packs); + }, + function(t, e) { + t( + e, + 3, + 0, + Io(e, 4).disabled || null, + "NoopAnimations" === Io(e, 4)._animationMode + ), + t( + e, + 7, + 0, + Io(e, 8).inline, + "primary" !== Io(e, 8).color && + "accent" !== Io(e, 8).color && + "warn" !== Io(e, 8).color + ), + t( + e, + 10, + 0, + Io(e, 11).disabled || null, + "NoopAnimations" === Io(e, 11)._animationMode, + Io(e, 12).menuOpen || null + ), + t( + e, + 15, + 0, + Io(e, 16).inline, + "primary" !== Io(e, 16).color && + "accent" !== Io(e, 16).color && + "warn" !== Io(e, 16).color + ), + t( + e, + 24, + 0, + Io(e, 25).role, + Io(e, 25)._highlighted, + Io(e, 25)._triggersSubmenu, + Io(e, 25)._getTabIndex(), + Io(e, 25).disabled.toString(), + Io(e, 25).disabled || null, + Io(e, 26).menuOpen || null + ), + t( + e, + 29, + 0, + Io(e, 30).role, + Io(e, 30)._highlighted, + Io(e, 30)._triggersSubmenu, + Io(e, 30)._getTabIndex(), + Io(e, 30).disabled.toString(), + Io(e, 30).disabled || null + ), + t( + e, + 39, + 0, + Io(e, 40).role, + Io(e, 40)._highlighted, + Io(e, 40)._triggersSubmenu, + Io(e, 40)._getTabIndex(), + Io(e, 40).disabled.toString(), + Io(e, 40).disabled || null + ), + t( + e, + 43, + 0, + Io(e, 44).role, + Io(e, 44)._highlighted, + Io(e, 44)._triggersSubmenu, + Io(e, 44)._getTabIndex(), + Io(e, 44).disabled.toString(), + Io(e, 44).disabled || null + ), + t( + e, + 47, + 0, + Io(e, 48).role, + Io(e, 48)._highlighted, + Io(e, 48)._triggersSubmenu, + Io(e, 48)._getTabIndex(), + Io(e, 48).disabled.toString(), + Io(e, 48).disabled || null + ), + t( + e, + 51, + 0, + Io(e, 52).role, + Io(e, 52)._highlighted, + Io(e, 52)._triggersSubmenu, + Io(e, 52)._getTabIndex(), + Io(e, 52).disabled.toString(), + Io(e, 52).disabled || null + ), + t( + e, + 56, + 0, + Io(e, 63).id, + Io(e, 63).disabled, + Io(e, 63)._dropListRef.isDragging(), + Io(e, 63)._dropListRef.isReceiving() + ); + } + ); + } + function kw(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 16777216, + null, + null, + 3, + "i", + [ + ["class", "material-icons right cursor playlist-check"], + ["fast-click", ""], + ["matTooltip", "Copy Selected Songs into this pack"], + ["matTooltipPosition", "below"] + ], + [[24, "@winkout", 0]], + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "longpress" === e && (a = !1 !== Io(t, 1).show() && a), + "keydown" === e && + (a = !1 !== Io(t, 1)._handleKeydown(n) && a), + "touchend" === e && + (a = !1 !== Io(t, 1)._handleTouchend() && a), + "click" === e && + (a = !1 !== o.addSelected(o.selectedPlaylist) && a), + a + ); + }, + null, + null + )), + Uo( + 1, + 212992, + null, + 0, + Mv, + [rM, Ln, kO, ua, Di, Op, sf, _f, Cv, [2, hp], [2, Ov], [2, ru]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Uo(2, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, null, ["done_all"])), + (t()(), _r(0, null, null, 0)) + ], + function(t, e) { + t(e, 1, 0, "below", "Copy Selected Songs into this pack"); + }, + function(t, e) { + t(e, 0, 0, void 0); + } + ); + } + function ww(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 16777216, + null, + null, + 29, + "li", + [["cdkDrag", ""], ["class", "collection-song avatar cdk-drag"]], + [ + [1, "data-song_id", 0], + [2, "cdk-drag-disabled", null], + [2, "cdk-drag-dragging", null] + ], + [[null, "cdkDragMoved"]], + function(t, e, n) { + var a = !0; + return ( + "cdkDragMoved" === e && + (a = !1 !== t.component.dragMove(n) && a), + a + ); + }, + null, + null + )), + Uo( + 1, + 4866048, + [[14, 4]], + 3, + Jv, + [Ln, [3, $v], Bs, Di, ua, Xv, [2, hp], Gv, oa], + { data: [0, "data"] }, + { moved: "cdkDragMoved" } + ), + vr(603979776, 15, { _handles: 1 }), + vr(603979776, 16, { _previewTemplate: 0 }), + vr(603979776, 17, { _placeholderTemplate: 0 }), + Ko(2048, null, Zv, null, [Jv]), + (t()(), + Cr( + 6, + 0, + null, + null, + 1, + "div", + [ + ["cdkDragHandle", ""], + ["class", "handle song-handle-backer cdk-drag-handle"] + ], + null, + null, + null, + null, + null + )), + Uo(7, 147456, [[15, 4]], 0, Qv, [Ln, [2, Zv]], null, null), + (t()(), + Cr( + 8, + 16777216, + null, + null, + 3, + "i", + [ + [ + "class", + "material-icons cursor orange-text drag-indicator right" + ], + ["fast-click", ""], + ["matTooltip", "Remove song from playlist"], + ["matTooltipPosition", "below"] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "longpress" === e && (a = !1 !== Io(t, 9).show() && a), + "keydown" === e && + (a = !1 !== Io(t, 9)._handleKeydown(n) && a), + "touchend" === e && + (a = !1 !== Io(t, 9)._handleTouchend() && a), + "click" === e && + (a = + !1 !== + o.removeSongFromPack( + t.context.$implicit, + o.selectedPlaylist + ) && a), + a + ); + }, + null, + null + )), + Uo( + 9, + 212992, + null, + 0, + Mv, + [rM, Ln, kO, ua, Di, Op, sf, _f, Cv, [2, hp], [2, Ov], [2, ru]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Uo(10, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, null, ["close"])), + (t()(), + Cr( + 12, + 0, + null, + null, + 0, + "img", + [["alt", ""], ["class", "circle red handle"]], + [[8, "src", 4]], + null, + null, + null, + null + )), + (t()(), + Cr( + 13, + 16777216, + null, + null, + 2, + "i", + [ + [ + "class", + "material-icons cursor grey-text drag-indicator handle" + ], + ["matTooltip", "Drag this song to reorder"], + ["matTooltipPosition", "below"] + ], + null, + [[null, "longpress"], [null, "keydown"], [null, "touchend"]], + function(t, e, n) { + var a = !0; + return ( + "longpress" === e && (a = !1 !== Io(t, 14).show() && a), + "keydown" === e && + (a = !1 !== Io(t, 14)._handleKeydown(n) && a), + "touchend" === e && + (a = !1 !== Io(t, 14)._handleTouchend() && a), + a + ); + }, + null, + null + )), + Uo( + 14, + 212992, + null, + 0, + Mv, + [rM, Ln, kO, ua, Di, Op, sf, _f, Cv, [2, hp], [2, Ov], [2, ru]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + (t()(), Rr(-1, null, ["more_vert"])), + (t()(), + Cr( + 16, + 0, + null, + null, + 6, + "span", + [["class", "title truncate"]], + null, + null, + null, + null, + null + )), + Ko(512, null, Es, Is, [Ln, aa, jn]), + Uo( + 18, + 278528, + null, + 0, + Ts, + [Es], + { ngStyle: [0, "ngStyle"] }, + null + ), + Ar(19, { width: 0 }), + Uo( + 20, + 933888, + null, + 0, + Lx, + [Ln, yy, wy, aa, jn, mu, [6, Ts], [2, $M], fi], + { ngStyle: [0, "ngStyle"] }, + null + ), + Ar(21, { width: 0 }), + (t()(), Rr(22, null, ["", ""])), + (t()(), + Cr( + 23, + 0, + null, + null, + 6, + "p", + [["class", "description truncate"]], + null, + null, + null, + null, + null + )), + Ko(512, null, Es, Is, [Ln, aa, jn]), + Uo( + 25, + 278528, + null, + 0, + Ts, + [Es], + { ngStyle: [0, "ngStyle"] }, + null + ), + Ar(26, { width: 0 }), + Uo( + 27, + 933888, + null, + 0, + Lx, + [Ln, yy, wy, aa, jn, mu, [6, Ts], [2, $M], fi], + { ngStyle: [0, "ngStyle"] }, + null + ), + Ar(28, { width: 0 }), + (t()(), Rr(29, null, ["", "", "", ""])), + (t()(), _r(0, null, null, 0)) + ], + function(t, e) { + var n = e.component; + t(e, 1, 0, e.context.$implicit), + t(e, 9, 0, "below", "Remove song from playlist"), + t(e, 14, 0, "below", "Drag this song to reorder"); + var a = t( + e, + 19, + 0, + n.checkboxChecked ? "calc(100% - 250px)" : "calc(100% - 150px)" + ); + t(e, 18, 0, a); + var o = t( + e, + 21, + 0, + n.checkboxChecked ? "calc(100% - 250px)" : "calc(100% - 150px)" + ); + t(e, 20, 0, o); + var i = t( + e, + 26, + 0, + n.checkboxChecked ? "calc(100% - 250px)" : "calc(100% - 150px)" + ); + t(e, 25, 0, i); + var r = t( + e, + 28, + 0, + n.checkboxChecked ? "calc(100% - 250px)" : "calc(100% - 150px)" + ); + t(e, 27, 0, r); + }, + function(t, e) { + var n = e.component; + t( + e, + 0, + 0, + e.context.$implicit.SongID, + Io(e, 1).disabled, + Io(e, 1)._dragRef.isDragging() + ), + t( + e, + 12, + 0, + ao(1, "", n.getBackground(e.context.$implicit.SongID), "") + ), + t(e, 22, 0, e.context.$implicit.SongName), + t( + e, + 29, + 0, + e.context.$implicit.LevelAuthorName + ? "Level Author: " + e.context.$implicit.LevelAuthorName + : "", + e.context.$implicit.SongAuthorName + ? " - Song Author: " + e.context.$implicit.SongAuthorName + : "", + e.context.$implicit.SongName + ? " - " + e.context.$implicit.SongName + : "" + ); + } + ); + } + function Sw(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 44, + "div", + [["class", "left-col"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 1, + 0, + null, + null, + 28, + "div", + [["class", "playlistInner"]], + [[1, "data-playlist_id", 0]], + null, + null, + null, + null + )), + (t()(), + Cr( + 2, + 0, + null, + null, + 2, + "div", + [ + ["cdkDragHandle", ""], + ["class", "pack-handle-backer cdk-drag-handle"] + ], + null, + null, + null, + null, + null + )), + Uo(3, 147456, null, 0, Qv, [Ln, [2, Zv]], null, null), + (t()(), + Cr( + 4, + 0, + null, + null, + 0, + "div", + [["class", "handle pack-handle-backer"]], + null, + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && + (a = !1 !== (t.component.selectedPlaylist = null) && a), + a + ); + }, + null, + null + )), + (t()(), + Cr( + 5, + 16777216, + null, + null, + 3, + "i", + [ + ["class", "material-icons show-pack cursor left"], + ["fast-click", ""], + ["matTooltip", "Back to playlists"], + ["matTooltipPosition", "below"] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "longpress" === e && (a = !1 !== Io(t, 6).show() && a), + "keydown" === e && + (a = !1 !== Io(t, 6)._handleKeydown(n) && a), + "touchend" === e && + (a = !1 !== Io(t, 6)._handleTouchend() && a), + "click" === e && + (a = !1 !== (o.selectedPlaylist = null) && a), + a + ); + }, + null, + null + )), + Uo( + 6, + 212992, + null, + 0, + Mv, + [rM, Ln, kO, ua, Di, Op, sf, _f, Cv, [2, hp], [2, Ov], [2, ru]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Uo(7, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, null, [" navigate_before "])), + (t()(), + Cr( + 9, + 16777216, + null, + null, + 3, + "i", + [ + ["class", "material-icons right cursor"], + ["fast-click", ""], + ["matTooltip", "Sort By Difficulty"], + ["matTooltipPosition", "below"] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "longpress" === e && (a = !1 !== Io(t, 10).show() && a), + "keydown" === e && + (a = !1 !== Io(t, 10)._handleKeydown(n) && a), + "touchend" === e && + (a = !1 !== Io(t, 10)._handleTouchend() && a), + "click" === e && + (a = + !1 !== o.sortDifficulty(o.selectedPlaylist.PlaylistID) && + a), + a + ); + }, + null, + null + )), + Uo( + 10, + 212992, + null, + 0, + Mv, + [rM, Ln, kO, ua, Di, Op, sf, _f, Cv, [2, hp], [2, Ov], [2, ru]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Uo(11, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, null, ["fitness_center"])), + (t()(), + Cr( + 13, + 16777216, + null, + null, + 3, + "i", + [ + ["class", "material-icons right cursor"], + ["fast-click", ""], + ["matTooltip", "Sort By Author"], + ["matTooltipPosition", "below"] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "longpress" === e && (a = !1 !== Io(t, 14).show() && a), + "keydown" === e && + (a = !1 !== Io(t, 14)._handleKeydown(n) && a), + "touchend" === e && + (a = !1 !== Io(t, 14)._handleTouchend() && a), + "click" === e && + (a = + !1 !== o.sortAuthor(o.selectedPlaylist.PlaylistID) && a), + a + ); + }, + null, + null + )), + Uo( + 14, + 212992, + null, + 0, + Mv, + [rM, Ln, kO, ua, Di, Op, sf, _f, Cv, [2, hp], [2, Ov], [2, ru]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Uo(15, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, null, ["face"])), + (t()(), + Cr( + 17, + 16777216, + null, + null, + 3, + "i", + [ + ["class", "material-icons right cursor"], + ["fast-click", ""], + ["matTooltip", "Sort Alphabetically"], + ["matTooltipPosition", "below"] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "longpress" === e && (a = !1 !== Io(t, 18).show() && a), + "keydown" === e && + (a = !1 !== Io(t, 18)._handleKeydown(n) && a), + "touchend" === e && + (a = !1 !== Io(t, 18)._handleTouchend() && a), + "click" === e && + (a = !1 !== o.sortName(o.selectedPlaylist.PlaylistID) && a), + a + ); + }, + null, + null + )), + Uo( + 18, + 212992, + null, + 0, + Mv, + [rM, Ln, kO, ua, Di, Op, sf, _f, Cv, [2, hp], [2, Ov], [2, ru]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Uo(19, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, null, ["sort"])), + (t()(), + Cr( + 21, + 16777216, + null, + null, + 3, + "i", + [ + ["class", "material-icons right cursor"], + ["fast-click", ""], + ["matTooltip", "Edit Playlist"], + ["matTooltipPosition", "below"] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "longpress" === e && (a = !1 !== Io(t, 22).show() && a), + "keydown" === e && + (a = !1 !== Io(t, 22)._handleKeydown(n) && a), + "touchend" === e && + (a = !1 !== Io(t, 22)._handleTouchend() && a), + "click" === e && + (a = !1 !== o.addEditPlaylist(o.selectedPlaylist) && a), + a + ); + }, + null, + null + )), + Uo( + 22, + 212992, + null, + 0, + Mv, + [rM, Ln, kO, ua, Di, Op, sf, _f, Cv, [2, hp], [2, Ov], [2, ru]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Uo(23, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, null, ["edit"])), + (t()(), _r(16777216, null, null, 1, null, kw)), + Uo(26, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), + Cr( + 27, + 0, + null, + null, + 0, + "img", + [["class", "pack-image handle"]], + [[8, "src", 4]], + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && + (a = !1 !== (t.component.selectedPlaylist = null) && a), + a + ); + }, + null, + null + )), + (t()(), + Cr( + 28, + 0, + null, + null, + 1, + "h4", + [["class", "name-top truncate"]], + null, + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && + (a = !1 !== (t.component.selectedPlaylist = null) && a), + a + ); + }, + null, + null + )), + (t()(), Rr(29, null, ["", ""])), + (t()(), + Cr( + 30, + 0, + null, + null, + 14, + "div", + [["class", "pack-song-container-outer"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 31, + 0, + null, + null, + 13, + "cdk-virtual-scroll-viewport", + [ + ["cdkDropList", ""], + [ + "class", + "collection pack-song-container cdk-virtual-scroll-viewport cdk-drop-list" + ] + ], + [ + [1, "data-playlist_id", 0], + [2, "cdk-virtual-scroll-orientation-horizontal", null], + [2, "cdk-virtual-scroll-orientation-vertical", null], + [8, "id", 0], + [2, "cdk-drop-list-disabled", null], + [2, "cdk-drop-list-dragging", null], + [2, "cdk-drop-list-receiving", null] + ], + [[null, "cdkDropListDropped"]], + function(t, e, n) { + var a = !0; + return ( + "cdkDropListDropped" === e && + (a = !1 !== t.component.drop(n) && a), + a + ); + }, + Hx, + Vx + )), + Ko(6144, null, $v, null, [ax]), + Ko(6144, null, wO, null, [EO]), + Uo( + 34, + 540672, + null, + 0, + vO, + [], + { itemSize: [0, "itemSize"] }, + null + ), + Ko(1024, null, OO, yO, [vO]), + Uo( + 36, + 245760, + [[2, 4], ["pack_song_container", 4]], + 0, + EO, + [Ln, oa, Di, [2, OO], [2, hp], kO], + null, + null + ), + Uo( + 37, + 1196032, + null, + 1, + ax, + [Ln, Gv, oa, [2, hp], [3, ex]], + { data: [0, "data"] }, + { dropped: "cdkDropListDropped" } + ), + vr(603979776, 14, { _draggables: 1 }), + Uo(39, 212992, null, 0, jx, [[4, EO]], null, null), + Ko(256, null, ex, void 0, []), + (t()(), _r(16777216, null, 0, 1, null, ww)), + Uo( + 42, + 409600, + null, + 0, + AO, + [ua, ca, na, [1, EO], Di], + { cdkVirtualForOf: [0, "cdkVirtualForOf"] }, + null + ), + (t()(), + Cr( + 43, + 0, + null, + 0, + 1, + "li", + [["class", "add-to-drag"]], + null, + null, + null, + null, + null + )), + (t()(), Rr(-1, null, ["Drop song here to add!"])) + ], + function(t, e) { + var n = e.component; + t(e, 6, 0, "below", "Back to playlists"), + t(e, 10, 0, "below", "Sort By Difficulty"), + t(e, 14, 0, "below", "Sort By Author"), + t(e, 18, 0, "below", "Sort Alphabetically"), + t(e, 22, 0, "below", "Edit Playlist"), + t(e, 26, 0, n.hasSelected()), + t(e, 34, 0, 86), + t(e, 36, 0), + t(e, 37, 0, n.selectedPlaylist.SongList), + t(e, 39, 0), + t(e, 42, 0, n.selectedPlaylist.SongList); + }, + function(t, e) { + var n = e.component; + t(e, 1, 0, n.selectedPlaylist.PlaylistID), + t( + e, + 27, + 0, + ao( + 1, + "", + n.getPackBackground(n.selectedPlaylist.PlaylistID), + "" + ) + ), + t(e, 29, 0, n.selectedPlaylist.PlaylistName), + t( + e, + 31, + 0, + n.selectedPlaylist.PlaylistID, + "horizontal" === Io(e, 36).orientation, + "horizontal" !== Io(e, 36).orientation, + Io(e, 37).id, + Io(e, 37).disabled, + Io(e, 37)._dropListRef.isDragging(), + Io(e, 37)._dropListRef.isReceiving() + ); + } + ); + } + function Ew(t) { + return zr(0, [(t()(), _r(0, null, null, 0))], null, null); + } + function Iw(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 6, + "mat-checkbox", + [ + ["class", "right select-song mat-checkbox"], + ["color", "primary"] + ], + [ + [8, "id", 0], + [1, "tabindex", 0], + [2, "mat-checkbox-indeterminate", null], + [2, "mat-checkbox-checked", null], + [2, "mat-checkbox-disabled", null], + [2, "mat-checkbox-label-before", null], + [2, "_mat-animation-noopable", null], + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null] + ], + [[null, "ngModelChange"]], + function(t, e, n) { + var a = !0; + return ( + "ngModelChange" === e && + (a = !1 !== (t.parent.context.$implicit.Selected = n) && a), + a + ); + }, + nw, + ew + )), + Uo( + 1, + 8568832, + null, + 0, + Xk, + [Ln, oa, _f, Di, [8, null], [2, Yk], [2, OP]], + { color: [0, "color"] }, + null + ), + Ko( + 1024, + null, + Ux, + function(t) { + return [t]; + }, + [Xk] + ), + Uo( + 3, + 671744, + null, + 0, + Bk, + [[8, null], [8, null], [8, null], [6, Ux]], + { model: [0, "model"] }, + { update: "ngModelChange" } + ), + Ko(2048, null, Zx, null, [Bk]), + Uo(5, 16384, null, 0, Qx, [[4, Zx]], null, null), + (t()(), Rr(-1, 0, ["Select Song"])) + ], + function(t, e) { + t(e, 1, 0, "primary"), + t(e, 3, 0, e.parent.context.$implicit.Selected); + }, + function(t, e) { + t(e, 0, 1, [ + Io(e, 1).id, + null, + Io(e, 1).indeterminate, + Io(e, 1).checked, + Io(e, 1).disabled, + "before" == Io(e, 1).labelPosition, + "NoopAnimations" === Io(e, 1)._animationMode, + Io(e, 5).ngClassUntouched, + Io(e, 5).ngClassTouched, + Io(e, 5).ngClassPristine, + Io(e, 5).ngClassDirty, + Io(e, 5).ngClassValid, + Io(e, 5).ngClassInvalid, + Io(e, 5).ngClassPending + ]); + } + ); + } + function Aw(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 16777216, + null, + null, + 31, + "li", + [["cdkDrag", ""], ["class", "collection-song avatar cdk-drag"]], + [ + [1, "data-song_id", 0], + [2, "cdk-drag-disabled", null], + [2, "cdk-drag-dragging", null] + ], + [[null, "cdkDragMoved"]], + function(t, e, n) { + var a = !0; + return ( + "cdkDragMoved" === e && + (a = !1 !== t.component.dragMove(n) && a), + a + ); + }, + null, + null + )), + Uo( + 1, + 4866048, + [[18, 4]], + 3, + Jv, + [Ln, [3, $v], Bs, Di, ua, Xv, [2, hp], Gv, oa], + { data: [0, "data"] }, + { moved: "cdkDragMoved" } + ), + vr(603979776, 19, { _handles: 1 }), + vr(603979776, 20, { _previewTemplate: 0 }), + vr(603979776, 21, { _placeholderTemplate: 0 }), + Ko(2048, null, Zv, null, [Jv]), + (t()(), + Cr( + 6, + 0, + null, + null, + 1, + "div", + [ + ["cdkDragHandle", ""], + ["class", "handle song-handle-backer cdk-drag-handle"] + ], + null, + null, + null, + null, + null + )), + Uo(7, 147456, [[19, 4]], 0, Qv, [Ln, [2, Zv]], null, null), + (t()(), + Cr( + 8, + 16777216, + null, + null, + 3, + "i", + [ + [ + "class", + "material-icons cursor orange-text drag-indicator right" + ], + ["fast-click", ""], + ["matTooltip", "Delete this song."], + ["matTooltipPosition", "below"] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "longpress" === e && (a = !1 !== Io(t, 9).show() && a), + "keydown" === e && + (a = !1 !== Io(t, 9)._handleKeydown(n) && a), + "touchend" === e && + (a = !1 !== Io(t, 9)._handleTouchend() && a), + "click" === e && + (a = !1 !== o.removeSong(t.context.$implicit.SongID) && a), + a + ); + }, + null, + null + )), + Uo( + 9, + 212992, + null, + 0, + Mv, + [rM, Ln, kO, ua, Di, Op, sf, _f, Cv, [2, hp], [2, Ov], [2, ru]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Uo(10, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, null, ["close"])), + (t()(), _r(16777216, null, null, 1, null, Iw)), + Uo(13, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), + Cr( + 14, + 0, + null, + null, + 0, + "img", + [ + ["alt", ""], + ["class", "circle red handle"], + ["onerror", "this.src = 'assets/default-pack-cover.png'"] + ], + [[8, "src", 4]], + null, + null, + null, + null + )), + (t()(), + Cr( + 15, + 16777216, + null, + null, + 2, + "i", + [ + [ + "class", + "material-icons cursor grey-text drag-indicator handle" + ], + ["matTooltip", "Drag this song to a playlist."], + ["matTooltipPosition", "below"] + ], + null, + [[null, "longpress"], [null, "keydown"], [null, "touchend"]], + function(t, e, n) { + var a = !0; + return ( + "longpress" === e && (a = !1 !== Io(t, 16).show() && a), + "keydown" === e && + (a = !1 !== Io(t, 16)._handleKeydown(n) && a), + "touchend" === e && + (a = !1 !== Io(t, 16)._handleTouchend() && a), + a + ); + }, + null, + null + )), + Uo( + 16, + 212992, + null, + 0, + Mv, + [rM, Ln, kO, ua, Di, Op, sf, _f, Cv, [2, hp], [2, Ov], [2, ru]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + (t()(), Rr(-1, null, ["more_vert"])), + (t()(), + Cr( + 18, + 0, + null, + null, + 6, + "span", + [["class", "title truncate"]], + null, + null, + null, + null, + null + )), + Ko(512, null, Es, Is, [Ln, aa, jn]), + Uo( + 20, + 278528, + null, + 0, + Ts, + [Es], + { ngStyle: [0, "ngStyle"] }, + null + ), + Ar(21, { width: 0 }), + Uo( + 22, + 933888, + null, + 0, + Lx, + [Ln, yy, wy, aa, jn, mu, [6, Ts], [2, $M], fi], + { ngStyle: [0, "ngStyle"] }, + null + ), + Ar(23, { width: 0 }), + (t()(), Rr(24, null, ["", ""])), + (t()(), + Cr( + 25, + 0, + null, + null, + 6, + "p", + [["class", "description truncate"]], + null, + null, + null, + null, + null + )), + Ko(512, null, Es, Is, [Ln, aa, jn]), + Uo( + 27, + 278528, + null, + 0, + Ts, + [Es], + { ngStyle: [0, "ngStyle"] }, + null + ), + Ar(28, { width: 0 }), + Uo( + 29, + 933888, + null, + 0, + Lx, + [Ln, yy, wy, aa, jn, mu, [6, Ts], [2, $M], fi], + { ngStyle: [0, "ngStyle"] }, + null + ), + Ar(30, { width: 0 }), + (t()(), Rr(31, null, ["", "", "", ""])), + (t()(), _r(0, null, null, 0)) + ], + function(t, e) { + var n = e.component; + t(e, 1, 0, e.context.$implicit), + t(e, 9, 0, "below", "Delete this song."), + t(e, 13, 0, n.checkboxChecked), + t(e, 16, 0, "below", "Drag this song to a playlist."); + var a = t( + e, + 21, + 0, + n.checkboxChecked ? "calc(100% - 250px)" : "calc(100% - 150px)" + ); + t(e, 20, 0, a); + var o = t( + e, + 23, + 0, + n.checkboxChecked ? "calc(100% - 250px)" : "calc(100% - 150px)" + ); + t(e, 22, 0, o); + var i = t( + e, + 28, + 0, + n.checkboxChecked ? "calc(100% - 250px)" : "calc(100% - 150px)" + ); + t(e, 27, 0, i); + var r = t( + e, + 30, + 0, + n.checkboxChecked ? "calc(100% - 250px)" : "calc(100% - 150px)" + ); + t(e, 29, 0, r); + }, + function(t, e) { + var n = e.component; + t( + e, + 0, + 0, + e.context.$implicit.SongID, + Io(e, 1).disabled, + Io(e, 1)._dragRef.isDragging() + ), + t( + e, + 14, + 0, + ao(1, "", n.getBackground(e.context.$implicit.SongID), "") + ), + t(e, 24, 0, e.context.$implicit.SongName), + t( + e, + 31, + 0, + e.context.$implicit.LevelAuthorName + ? "Level Author: " + e.context.$implicit.LevelAuthorName + : "", + e.context.$implicit.SongAuthorName + ? " - Song Author: " + e.context.$implicit.SongAuthorName + : "", + e.context.$implicit.SongName + ? " - " + e.context.$implicit.SongName + : "" + ); + } + ); + } + function Tw(t) { + return zr( + 0, + [ + vr(671088640, 1, { song_container: 0 }), + vr(671088640, 2, { pack_song_container: 0 }), + vr(671088640, 3, { pack_container: 0 }), + vr(671088640, 4, { mirror_holder: 0 }), + vr(402653184, 5, { empty: 0 }), + (t()(), + Cr( + 5, + 0, + null, + null, + 57, + "span", + [["cdkDropListGroup", ""]], + null, + null, + null, + null, + null + )), + Uo(6, 147456, null, 0, ex, [], null, null), + (t()(), + Cr( + 7, + 0, + null, + null, + 55, + "div", + [["class", "outer-container"]], + null, + null, + null, + null, + null + )), + (t()(), _r(16777216, null, null, 1, null, xw)), + Uo(9, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, null, 1, null, Sw)), + Uo(11, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(0, [[5, 2], ["empty", 2]], null, 0, null, Ew)), + (t()(), + Cr( + 13, + 0, + null, + null, + 49, + "div", + [["class", "right-col"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 14, + 0, + null, + null, + 48, + "div", + [["class", "packs-right"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 15, + 0, + null, + null, + 0, + "img", + [["class", "main-pack-image"]], + [[8, "src", 4]], + null, + null, + null, + null + )), + (t()(), + Cr(16, 0, null, null, 27, "h4", [], null, null, null, null, null)), + (t()(), + Cr( + 17, + 0, + null, + null, + 20, + "div", + [["class", "right song-sort"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 18, + 16777216, + null, + null, + 3, + "i", + [ + ["class", "material-icons right cursor"], + ["fast-click", ""], + ["matTooltip", "Sort By Difficulty"], + ["matTooltipPosition", "below"] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "longpress" === e && (a = !1 !== Io(t, 19).show() && a), + "keydown" === e && + (a = !1 !== Io(t, 19)._handleKeydown(n) && a), + "touchend" === e && + (a = !1 !== Io(t, 19)._handleTouchend() && a), + "click" === e && + (a = !1 !== o.sortDifficulty("CustomSongs") && a), + a + ); + }, + null, + null + )), + Uo( + 19, + 212992, + null, + 0, + Mv, + [rM, Ln, kO, ua, Di, Op, sf, _f, Cv, [2, hp], [2, Ov], [2, ru]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Uo(20, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, null, ["fitness_center"])), + (t()(), + Cr( + 22, + 16777216, + null, + null, + 3, + "i", + [ + ["class", "material-icons right cursor"], + ["fast-click", ""], + ["matTooltip", "Sort By Author"], + ["matTooltipPosition", "below"] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "longpress" === e && (a = !1 !== Io(t, 23).show() && a), + "keydown" === e && + (a = !1 !== Io(t, 23)._handleKeydown(n) && a), + "touchend" === e && + (a = !1 !== Io(t, 23)._handleTouchend() && a), + "click" === e && + (a = !1 !== o.sortAuthor("CustomSongs") && a), + a + ); + }, + null, + null + )), + Uo( + 23, + 212992, + null, + 0, + Mv, + [rM, Ln, kO, ua, Di, Op, sf, _f, Cv, [2, hp], [2, Ov], [2, ru]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Uo(24, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, null, ["face"])), + (t()(), + Cr( + 26, + 16777216, + null, + null, + 3, + "i", + [ + ["class", "material-icons right cursor"], + ["fast-click", ""], + ["matTooltip", "Sort Alphabetically"], + ["matTooltipPosition", "below"] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "longpress" === e && (a = !1 !== Io(t, 27).show() && a), + "keydown" === e && + (a = !1 !== Io(t, 27)._handleKeydown(n) && a), + "touchend" === e && + (a = !1 !== Io(t, 27)._handleTouchend() && a), + "click" === e && (a = !1 !== o.sortName("CustomSongs") && a), + a + ); + }, + null, + null + )), + Uo( + 27, + 212992, + null, + 0, + Mv, + [rM, Ln, kO, ua, Di, Op, sf, _f, Cv, [2, hp], [2, Ov], [2, ru]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Uo(28, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, null, ["sort"])), + (t()(), + Cr( + 30, + 16777216, + null, + null, + 3, + "i", + [ + ["class", "material-icons right cursor"], + ["fast-click", ""], + ["matTooltip", "Select multiple songs to add to a pack"], + ["matTooltipPosition", "below"] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "longpress" === e && (a = !1 !== Io(t, 31).show() && a), + "keydown" === e && + (a = !1 !== Io(t, 31)._handleKeydown(n) && a), + "touchend" === e && + (a = !1 !== Io(t, 31)._handleTouchend() && a), + "click" === e && + (a = 0 != (o.checkboxChecked = !o.checkboxChecked) && a), + a + ); + }, + null, + null + )), + Uo( + 31, + 212992, + null, + 0, + Mv, + [rM, Ln, kO, ua, Di, Op, sf, _f, Cv, [2, hp], [2, Ov], [2, ru]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Uo(32, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, null, ["check_box"])), + (t()(), + Cr( + 34, + 16777216, + null, + null, + 3, + "i", + [ + ["class", "material-icons right cursor"], + ["fast-click", ""], + ["matTooltip", "Select all / Deselect all"], + ["matTooltipPosition", "below"] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "longpress" === e && (a = !1 !== Io(t, 35).show() && a), + "keydown" === e && + (a = !1 !== Io(t, 35)._handleKeydown(n) && a), + "touchend" === e && + (a = !1 !== Io(t, 35)._handleTouchend() && a), + "click" === e && (a = !1 !== o.selectAll() && a), + a + ); + }, + null, + null + )), + Uo( + 35, + 212992, + null, + 0, + Mv, + [rM, Ln, kO, ua, Di, Op, sf, _f, Cv, [2, hp], [2, Ov], [2, ru]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Uo(36, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, null, ["done_all"])), + (t()(), + Cr( + 38, + 0, + null, + null, + 1, + "div", + [["class", "truncate songpackname"]], + null, + null, + null, + null, + null + )), + (t()(), Rr(39, null, ["", ""])), + (t()(), + Cr( + 40, + 16777216, + null, + null, + 3, + "i", + [ + ["class", "material-icons cursor edit-main-playlist"], + ["fast-click", ""], + ["matTooltip", "Edit Playlist"], + ["matTooltipPosition", "below"] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "longpress" === e && (a = !1 !== Io(t, 41).show() && a), + "keydown" === e && + (a = !1 !== Io(t, 41)._handleKeydown(n) && a), + "touchend" === e && + (a = !1 !== Io(t, 41)._handleTouchend() && a), + "click" === e && + (a = !1 !== o.addEditPlaylist(o.songsPack) && a), + a + ); + }, + null, + null + )), + Uo( + 41, + 212992, + null, + 0, + Mv, + [rM, Ln, kO, ua, Di, Op, sf, _f, Cv, [2, hp], [2, Ov], [2, ru]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Uo(42, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, null, ["edit"])), + (t()(), + Cr( + 44, + 0, + null, + null, + 18, + "cdk-virtual-scroll-viewport", + [ + ["cdkDropList", ""], + [ + "class", + "collection song-container cdk-virtual-scroll-viewport cdk-drop-list" + ] + ], + [ + [1, "data-playlist_id", 0], + [2, "cdk-virtual-scroll-orientation-horizontal", null], + [2, "cdk-virtual-scroll-orientation-vertical", null], + [8, "id", 0], + [2, "cdk-drop-list-disabled", null], + [2, "cdk-drop-list-dragging", null], + [2, "cdk-drop-list-receiving", null] + ], + [[null, "cdkDropListDropped"]], + function(t, e, n) { + var a = !0; + return ( + "cdkDropListDropped" === e && + (a = !1 !== t.component.drop(n) && a), + a + ); + }, + Hx, + Vx + )), + Ko(6144, null, $v, null, [ax]), + Ko(6144, null, wO, null, [EO]), + Ko(512, null, fs, bs, [na, aa, Ln, jn]), + Uo( + 48, + 278528, + null, + 0, + Cs, + [fs], + { klass: [0, "klass"], ngClass: [1, "ngClass"] }, + null + ), + Ar(49, { "hide-scroll-bar": 0 }), + Uo( + 50, + 540672, + null, + 0, + vO, + [], + { itemSize: [0, "itemSize"] }, + null + ), + Ko(1024, null, OO, yO, [vO]), + Uo( + 52, + 245760, + [[1, 4], ["song_container", 4]], + 0, + EO, + [Ln, oa, Di, [2, OO], [2, hp], kO], + null, + null + ), + Uo( + 53, + 933888, + null, + 0, + Ix, + [Ln, yy, wy, na, aa, jn, [6, Cs]], + { ngClass: [0, "ngClass"], klass: [1, "klass"] }, + null + ), + Ar(54, { "hide-scroll-bar": 0 }), + Uo( + 55, + 1196032, + null, + 1, + ax, + [Ln, Gv, oa, [2, hp], [3, ex]], + { data: [0, "data"] }, + { dropped: "cdkDropListDropped" } + ), + vr(603979776, 18, { _draggables: 1 }), + Uo(57, 212992, null, 0, jx, [[4, EO]], null, null), + Ko(256, null, ex, void 0, []), + (t()(), _r(16777216, null, 0, 1, null, Aw)), + Uo( + 60, + 409600, + null, + 0, + AO, + [ua, ca, na, [1, EO], Di], + { cdkVirtualForOf: [0, "cdkVirtualForOf"] }, + null + ), + (t()(), + Cr( + 61, + 0, + null, + 0, + 1, + "li", + [["class", "add-to-drag"]], + null, + null, + null, + null, + null + )), + (t()(), Rr(-1, null, ["Drop song here to add!"])), + (t()(), + Cr( + 63, + 0, + [[4, 0], ["mirror_holder", 1]], + null, + 0, + "ul", + [["class", "collection hide-this"]], + null, + null, + null, + null, + null + )) + ], + function(t, e) { + var n = e.component; + t(e, 9, 0, !n.selectedPlaylist), + t(e, 11, 0, n.selectedPlaylist), + t(e, 19, 0, "below", "Sort By Difficulty"), + t(e, 23, 0, "below", "Sort By Author"), + t(e, 27, 0, "below", "Sort Alphabetically"), + t(e, 31, 0, "below", "Select multiple songs to add to a pack"), + t(e, 35, 0, "below", "Select all / Deselect all"), + t(e, 41, 0, "below", "Edit Playlist"); + var a = t(e, 49, 0, n.integrationService.isAppLoaded()); + t(e, 48, 0, "collection song-container", a), + t(e, 50, 0, 86), + t(e, 52, 0); + var o = t(e, 54, 0, n.integrationService.isAppLoaded()); + t(e, 53, 0, o, "collection song-container"), + t(e, 55, 0, n.songs), + t(e, 57, 0), + t(e, 60, 0, n.songs); + }, + function(t, e) { + var n = e.component; + t( + e, + 15, + 0, + ao(1, "", n.getPackBackground(n.songsPack.PlaylistID), "") + ), + t(e, 39, 0, n.songsPack.PlaylistName), + t( + e, + 44, + 0, + "CustomSongs", + "horizontal" === Io(e, 52).orientation, + "horizontal" !== Io(e, 52).orientation, + Io(e, 55).id, + Io(e, 55).disabled, + Io(e, 55)._dropListRef.isDragging(), + Io(e, 55)._dropListRef.isReceiving() + ); + } + ); + } + class Rw { + constructor(t, e, n) { + (this.beatOnApi = t), + (this.configSvc = e), + (this.msgSvc = n), + (this.selectedPlaylist = {}); + } + ngOnInit() { + this.configSvc.getConfig().subscribe(this.handleConfig.bind(this)), + this.configSvc.configUpdated.subscribe( + this.handleConfig.bind(this) + ); + } + selectedPlaylistChanged(t) { + this.selectedPlaylist = t; + } + saveTempConfig() { + this.hasLastConfig = !!this.config; + let t = []; + return ( + this.config && + this.config.Playlists && + (t = this.config.Playlists.map(t => ({ + PlaylistID: t.PlaylistID, + IsOpen: t.IsOpen + }))), + t + ); + } + restoreTempConfig(t) { + this.config && + this.config.Playlists && + (this.config.Playlists.forEach(e => { + const n = t.filter(t => t.PlaylistID == e.PlaylistID); + n.length && (e.IsOpen = n[0].IsOpen); + }), + (t = this.config.Playlists.map(t => ({ + PlaylistID: t.PlaylistID, + IsOpen: t.IsOpen + })))); + } + handleConfig(t) { + const e = this.saveTempConfig(); + (this.config = t.Config), + this.restoreTempConfig(e), + this.setupPlaylists(); + } + setupPlaylists() { + this.songManager && + this.songManager.selectedPlaylist && + this.config.Playlists.forEach(t => { + t.PlaylistID === this.songManager.selectedPlaylist.PlaylistID && + (this.songManager.selectedPlaylist = t); + }); + const t = this.config.Playlists.map(t => t.PlaylistID).indexOf( + "CustomSongs" + ); + this.customPlaylist = + t > -1 + ? this.config.Playlists[t] + : { + CoverArtFilename: null, + PlaylistID: "", + PlaylistName: "", + SongList: [], + CoverImageBytes: null + }; + } + } + var Dw = Ia({ + encapsulation: 0, + styles: [ + [".container[_ngcontent-%COMP%]{display:flex;width:100%;height:93%}"] + ], + data: {} + }); + function Nw(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "app-song-pack-manager", + [], + null, + null, + null, + Tw, + Mw + )), + Uo( + 1, + 4440064, + [[1, 4], ["songManager", 4]], + 0, + Ow, + [CM, Lg, bg, Fg, _w, Cw], + null, + null + ) + ], + function(t, e) { + t(e, 1, 0); + }, + null + ); + } + function zw(t) { + return zr( + 0, + [ + vr(671088640, 1, { songManager: 0 }), + (t()(), _r(16777216, null, null, 1, null, Nw)), + Uo(2, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null) + ], + function(t, e) { + var n = e.component; + t(e, 2, 0, n.config && n.customPlaylist); + }, + null + ); + } + function Lw(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "app-main-playlists", + [["class", "fullheight"]], + null, + null, + null, + zw, + Dw + )), + Uo(1, 114688, null, 0, Rw, [vc, Lg, bg], null, null) + ], + function(t, e) { + t(e, 1, 0); + }, + null + ); + } + var Fw = Co("app-main-playlists", Rw, Lw, {}, {}, []); + class Bw { + constructor(t) { + this.sanitizer = t; + } + transform(t) { + return this.sanitizer.bypassSecurityTrustResourceUrl(t); + } + } + class Vw { + constructor(t, e) { + (this.toolbarEvents = t), + (this.appIntegration = e), + (this.browserUrl = "https://www.bsaber.com"), + (this.hideIframe = !1), + t.backClicked.subscribe(() => { + this.appIntegration.isAppLoaded() + ? e.browserGoBack() + : window.history.back(); + }), + t.refreshClicked.subscribe(() => { + this.appIntegration.isAppLoaded() + ? e.refreshBrowser() + : (this.browser.nativeElement.src = this.browserUrl); + }), + t.navigate.subscribe(t => { + this.appIntegration.isAppLoaded() + ? e.navigateBrowser(t) + : (this.browserUrl = t); + }); + } + ngOnInit() { + console.log("trying to show browser"), + this.appIntegration.isAppLoaded() && + ((this.hideIframe = !0), + this.appIntegration.showBrowser(), + this.appIntegration.navigateBrowser(this.browserUrl)); + } + ngOnDestroy() { + console.log("trying to hide browser"), + this.appIntegration.isAppLoaded() && + this.appIntegration.hideBrowser(); + } + iframeLoaded(t) { + console.log("iframe has loaded " + t.src); + } + } + var Hw = Ia({ + encapsulation: 0, + styles: [ + [ + "iframe[_ngcontent-%COMP%]{display:block;width:100%;height:100%;border:none}" + ] + ], + data: {} + }); + function jw(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + [[1, 0], ["browser", 1]], + null, + 2, + "iframe", + [["fxFlexFill", ""]], + [[8, "src", 5]], + [[null, "load"]], + function(t, e, n) { + var a = !0, + o = t.component; + return "load" === e && (a = !1 !== o.iframeLoaded(o) && a), a; + }, + null, + null + )), + Uo(1, 671744, null, 0, Zy, [Ln, yy, $y, wy], null, null), + Tr(128, 2, new Array(2)) + ], + null, + function(t, e) { + var n = e.component, + a = wa(e, 0, 0, t(e, 2, 0, Io(e.parent, 0), n.browserUrl)); + t(e, 0, 0, a); + } + ); + } + function Uw(t) { + return zr( + 0, + [ + qo(0, Bw, [mu]), + vr(671088640, 1, { browser: 0 }), + (t()(), _r(16777216, null, null, 1, null, jw)), + Uo(3, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null) + ], + function(t, e) { + t(e, 3, 0, !e.component.hideIframe); + }, + null + ); + } + function qw(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "app-main-browser", + [["class", "fullheight"]], + null, + null, + null, + Uw, + Hw + )), + Uo(1, 245760, null, 0, Vw, [Hg, Fg], null, null) + ], + function(t, e) { + t(e, 1, 0); + }, + null + ); + } + var Kw = Co("app-main-browser", Vw, qw, {}, {}, []); + class Yw { + constructor(t, e, n) { + (this.beatOnApi = t), (this.dialog = e), (this.router = n); + } + clickUninstallBeatSaber() { + const t = this.dialog.open(Bg, { + width: "450px", + height: "350px", + disableClose: !0, + data: { mainText: "Please wait..." } + }); + this.beatOnApi.uninstallBeatSaber().subscribe( + e => { + t.close(), this.router.navigateByUrl("/"); + }, + e => { + t.close(); + } + ); + } + clickResetAssets() { + const t = this.dialog.open(Bg, { + width: "450px", + height: "350px", + disableClose: !0, + data: { mainText: "Please wait..." } + }); + this.beatOnApi.resetAssets().subscribe( + e => { + t.close(), + window.dispatchEvent( + new MessageEvent("host-message", { + data: { + ToastType: _g.Info, + Timeout: 3e3, + Title: "Assets reset.", + Message: "" + } + }) + ); + }, + e => { + t.close(), + window.dispatchEvent( + new MessageEvent("host-message", { + data: { + ToastType: _g.Error, + Timeout: 8e3, + Title: "Error resetting assets!", + Message: e + } + }) + ); + } + ); + } + clickQuickFix() { + this.beatOnApi.postLogs("unknown").subscribe(t => {}, t => {}); + const t = this.dialog.open(Bg, { + width: "450px", + height: "350px", + disableClose: !0, + data: { mainText: "Resetting assets..." } + }); + this.beatOnApi.resetAssets().subscribe( + e => { + t.close(); + const n = this.dialog.open(Bg, { + width: "450px", + height: "350px", + disableClose: !0, + data: { mainText: "Loading Songs Folder. Please wait..." } + }); + this.beatOnApi.reloadSongsFromFolders().subscribe( + t => { + n.close(), + this.beatOnApi.restoreCommittedConfig().subscribe(t => {}); + }, + t => { + n.close(); + } + ); + }, + e => { + t.close(); + } + ); + } + clickQuit() { + this.beatOnApi.quitBeatOn().subscribe(t => {}); + } + clickLoadLastConfig() { + this.beatOnApi.restoreCommittedConfig().subscribe(t => {}); + } + clickUploadLogs() { + const t = this.dialog.open(Bg, { + width: "450px", + height: "350px", + disableClose: !0, + data: { mainText: "Please wait..." } + }); + this.beatOnApi.postLogs("unknown").subscribe( + e => { + t.close(); + }, + e => { + t.close(); + } + ); + } + clickReloadSongsFolder() { + const t = this.dialog.open(Bg, { + width: "450px", + height: "350px", + disableClose: !0, + data: { mainText: "Loading Songs Folder. Please wait..." } + }); + this.beatOnApi.reloadSongsFromFolders().subscribe( + e => { + t.close(); + }, + e => { + t.close(), + window.dispatchEvent( + new MessageEvent("host-message", { + data: { + ToastType: _g.Error, + Timeout: 8e3, + Title: "Error reloading songs folder!", + Message: e + } + }) + ); + } + ); + } + getBackupStatus() { + return this.modStatus + ? this.modStatus.HasGoodBackup + ? "Good" + : this.modStatus.HasHalfAssBackup + ? "Not ideal" + : "NO BACKUP! Mods won't uninstall!" + : "unknown"; + } + getVersion() { + return this.modStatus && this.modStatus.BeatOnVersion + ? this.modStatus.BeatOnVersion + : "unknown"; + } + ngOnInit() { + this.beatOnApi.getNetInfo().subscribe(t => { + this.netInfo = t; + }), + this.beatOnApi.getModStatus().subscribe(t => { + this.modStatus = t; + }); + } + } + var Ww = Ia({ + encapsulation: 0, + styles: [ + [ + '@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28121em) scale(.75);transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}@-webkit-keyframes cdk-text-field-autofill-start{}@-webkit-keyframes cdk-text-field-autofill-end{}.mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-option[_ngcontent-%COMP%]{color:#fff}.mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple):not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:focus:not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:hover:not(.mat-option-disabled){background:rgba(255,255,255,.04)}.mat-option.mat-active[_ngcontent-%COMP%]{background:rgba(255,255,255,.04);color:#fff}.mat-option.mat-option-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-primary[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ad2c2c}.mat-accent[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#216bad}.mat-warn[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ff5722}.mat-optgroup-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-optgroup-disabled[_ngcontent-%COMP%] .mat-optgroup-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-pseudo-checkbox[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-pseudo-checkbox[_ngcontent-%COMP%]::after{color:#303030}.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{color:#686868}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%], .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#216bad}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ad2c2c}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ff5722}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{background:#686868}.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-app-background[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-theme-loaded-marker[_ngcontent-%COMP%]{display:none}.mat-autocomplete-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-autocomplete-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover){background:#424242}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#fff}@media (-ms-high-contrast:active){.mat-badge-content[_ngcontent-%COMP%]{outline:solid 1px;border-radius:0}.mat-checkbox-disabled[_ngcontent-%COMP%]{opacity:.5}}.mat-badge-accent[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-badge-warn[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ff5722}.mat-badge[_ngcontent-%COMP%]{position:relative}.mat-badge-hidden[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{display:none}.mat-badge-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#6e6e6e;color:rgba(255,255,255,.5)}.mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ad2c2c;position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out;-webkit-transform:scale(.6);transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;font-weight:600;font-size:12px;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-badge-content._mat-animation-noopable[_ngcontent-%COMP%], .ng-animate-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{transition:none}.mat-badge-content.mat-badge-active[_ngcontent-%COMP%]{-webkit-transform:none;transform:none}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:16px;height:16px;line-height:16px;font-size:9px}.mat-badge-small.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-8px}.mat-badge-small.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-8px}.mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-16px}.mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-8px}.mat-badge-medium[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-11px}.mat-badge-medium.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-11px}.mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-22px}.mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-11px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:28px;height:28px;line-height:28px;font-size:24px}.mat-badge-large.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-14px}.mat-badge-large.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-14px}.mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-28px}.mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-14px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{color:inherit;background:0 0}.mat-button.mat-primary[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-button[disabled][disabled][_ngcontent-%COMP%], .mat-icon-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-icon-button[disabled][disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-stroked-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ff5722}.mat-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:transparent}.mat-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{opacity:.1;background-color:currentColor}.mat-button-focus-overlay[_ngcontent-%COMP%]{background:#fff}.mat-stroked-button[_ngcontent-%COMP%]:not([disabled]){border-color:rgba(255,255,255,.12)}.mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%]{color:#fff;background-color:#424242}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{color:#fff}.mat-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-fab[disabled][disabled][_ngcontent-%COMP%], .mat-flat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-flat-button[disabled][disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-mini-fab[disabled][disabled][_ngcontent-%COMP%], .mat-raised-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-raised-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:rgba(255,255,255,.12)}.mat-fab.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-flat-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-stroked-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-raised-button[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-button-toggle-group[_ngcontent-%COMP%], .mat-button-toggle-standalone[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%], .mat-button-toggle-standalone.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{box-shadow:none;border:1px solid rgba(255,255,255,.12)}.mat-button-toggle[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-button-toggle[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff;background:#424242}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:#fff}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12)}[dir=rtl][_ngcontent-%COMP%] .mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:none;border-top:1px solid rgba(255,255,255,.12)}.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#212121;color:rgba(255,255,255,.7)}.mat-button-toggle-checked.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff}.mat-button-toggle-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:#000}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{background:#424242}.mat-button-toggle-disabled.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#424242}.mat-card[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-card[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-card.mat-card-flat[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-card-subtitle[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-checkbox-frame[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-checkbox-checkmark[_ngcontent-%COMP%]{fill:#303030}.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#303030!important}@media (-ms-high-contrast:black-on-white){.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#000!important}}.mat-checkbox-mixedmark[_ngcontent-%COMP%]{background-color:#303030}.mat-checkbox-checked.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-checkbox-checked.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#216bad}.mat-checkbox-checked.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ff5722}.mat-checkbox-disabled.mat-checkbox-checked[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-disabled.mat-checkbox-indeterminate[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%]:not(.mat-checkbox-checked) .mat-checkbox-frame[_ngcontent-%COMP%]{border-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}@media (-ms-high-contrast:active){.mat-checkbox-background[_ngcontent-%COMP%]{background:0 0}.mat-ripple-element[_ngcontent-%COMP%]{display:none}}.mat-checkbox[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%]{background:#ad2c2c}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%]{background:#216bad}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%]{background:#ff5722}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]{background-color:#616161;color:#fff}.mat-chip.mat-standard-chip[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled) .mat-chip-remove[_ngcontent-%COMP%]:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled[_ngcontent-%COMP%]{opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]::after{background:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-table[_ngcontent-%COMP%]{background:#424242}.mat-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%], .mat-table-sticky[_ngcontent-%COMP%], [mat-footer-row][_ngcontent-%COMP%], [mat-header-row][_ngcontent-%COMP%], [mat-row][_ngcontent-%COMP%], mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%]{background:inherit}mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%], td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{border-bottom-color:rgba(255,255,255,.12)}.mat-header-cell[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{color:#fff}.mat-calendar-arrow[_ngcontent-%COMP%]{border-top-color:#fff}.mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-next-button[_ngcontent-%COMP%], .mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-previous-button[_ngcontent-%COMP%], .mat-datepicker-toggle[_ngcontent-%COMP%]{color:#fff}.mat-calendar-table-header[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-calendar-table-header-divider[_ngcontent-%COMP%]::after{background:rgba(255,255,255,.12)}.mat-calendar-body-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-calendar-body-cell-content[_ngcontent-%COMP%]{color:#fff;border-color:transparent}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){color:rgba(255,255,255,.5)}.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .cdk-program-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .mat-calendar-body-cell[_ngcontent-%COMP%]:not(.mat-calendar-body-disabled):hover > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){background-color:rgba(255,255,255,.04)}.mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.5)}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.3)}.mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.4)}.mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#424242;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.4)}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.4)}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content-touch[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-datepicker-toggle-active[_ngcontent-%COMP%]{color:#ad2c2c}.mat-datepicker-toggle-active.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-datepicker-toggle-active.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-dialog-container[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-divider[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-divider-vertical[_ngcontent-%COMP%]{border-right-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-expansion-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-action-row[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-keyboard-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-program-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]):hover{background:rgba(255,255,255,.04)}@media (hover:none){.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header[_ngcontent-%COMP%]:hover{background:#424242}}.mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:#fff}.mat-expansion-indicator[_ngcontent-%COMP%]::after, .mat-expansion-panel-header-description[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%], .mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:inherit}.mat-form-field-label[_ngcontent-%COMP%], .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-focused[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#fff}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid) .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ad2c2c}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#216bad}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#ff5722}.mat-error[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7);bottom:1.25em}.mat-form-field-appearance-legacy.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7)}.mat-form-field-appearance-standard.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.05)}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:transparent}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#fff}.mat-form-field-appearance-outline.mat-focused[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field-appearance-outline.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-appearance-outline.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.15)}.mat-icon.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-icon.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-icon.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-type-mat-native-select[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:rgba(255,255,255,.7)}.mat-form-field-type-mat-native-select.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-input-element[_ngcontent-%COMP%]:disabled{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]{caret-color:#ad2c2c}.mat-input-element[_ngcontent-%COMP%]::-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-moz-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-webkit-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]{color:rgba(0,0,0,.87)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]:disabled{color:rgba(0,0,0,.38)}.mat-accent[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#216bad}.mat-form-field-invalid[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#ff5722}.mat-form-field-type-mat-native-select.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ff5722}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%], .mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{color:#fff}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-list-item-disabled[_ngcontent-%COMP%]{background-color:#000}.mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover, .mat-list-option[_ngcontent-%COMP%]:focus, .mat-list-option[_ngcontent-%COMP%]:hover, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover{background:rgba(255,255,255,.04)}.mat-menu-panel[_ngcontent-%COMP%]{background:#424242}.mat-menu-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-menu-item[_ngcontent-%COMP%]{background:0 0;color:#fff}.mat-menu-item[disabled][_ngcontent-%COMP%], .mat-menu-item[disabled][_ngcontent-%COMP%]::after{color:rgba(255,255,255,.5)}.mat-menu-item[_ngcontent-%COMP%] .mat-icon-no-color[_ngcontent-%COMP%], .mat-menu-item-submenu-trigger[_ngcontent-%COMP%]::after{color:#fff}.mat-menu-item-highlighted[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-keyboard-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-program-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item[_ngcontent-%COMP%]:hover:not([disabled]){background:rgba(255,255,255,.04)}.mat-paginator[_ngcontent-%COMP%]{background:#424242}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-paginator-decrement[_ngcontent-%COMP%], .mat-paginator-increment[_ngcontent-%COMP%]{border-top:2px solid #fff;border-right:2px solid #fff}.mat-paginator-first[_ngcontent-%COMP%], .mat-paginator-last[_ngcontent-%COMP%]{border-top:2px solid #fff}.mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-decrement[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-first[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-increment[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-last[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-progress-bar-background[_ngcontent-%COMP%]{fill:#e6c0c0}.mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#e6c0c0}.mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ad2c2c}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#216bad}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ff5722}.mat-progress-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ad2c2c}.mat-progress-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#216bad}.mat-progress-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ff5722}.mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ad2c2c}.mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#216bad}.mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#216bad}.mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ff5722}.mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ff5722}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-label-content[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-radio-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-select-value[_ngcontent-%COMP%]{color:#fff}.mat-select-disabled[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%], .mat-select-placeholder[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-select-panel[_ngcontent-%COMP%]{background:#424242}.mat-select-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-select-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple){background:rgba(255,255,255,.12)}.mat-form-field.mat-focused.mat-primary[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#216bad}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-invalid[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-form-field.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-disabled[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-drawer-container[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-drawer[_ngcontent-%COMP%]{background-color:#424242;color:#fff}.mat-drawer.mat-drawer-push[_ngcontent-%COMP%]{background-color:#424242}.mat-drawer[_ngcontent-%COMP%]:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-drawer-side[_ngcontent-%COMP%]{border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%] .mat-drawer-side[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12);border-right:none}[dir=rtl][_ngcontent-%COMP%] .mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-backdrop.mat-drawer-shown[_ngcontent-%COMP%]{background-color:rgba(189,189,189,.6)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.54)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.54)}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.54)}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle[_ngcontent-%COMP%]:not(.mat-checked) .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-slide-toggle-thumb[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#bdbdbd}.mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#216bad}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ff5722}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.2)}.cdk-focused[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%] .mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:#fff}.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing) .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3);background-color:transparent}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-has-ticks[_ngcontent-%COMP%] .mat-slider-wrapper[_ngcontent-%COMP%]::after{border-color:rgba(255,255,255,.7)}.mat-slider-horizontal[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to right,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-slider-vertical[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to bottom,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused[_ngcontent-%COMP%], .mat-step-header.cdk-program-focused[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%]:hover{background-color:rgba(255,255,255,.04)}@media (hover:none){.mat-step-header[_ngcontent-%COMP%]:hover{background:0 0}}.mat-step-header[_ngcontent-%COMP%] .mat-step-label[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-optional[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7);color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-selected[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-edit[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-error[_ngcontent-%COMP%]{background-color:transparent;color:#ff5722}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-active[_ngcontent-%COMP%]{color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-error[_ngcontent-%COMP%]{color:#ff5722}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{background-color:#424242}.mat-stepper-vertical-line[_ngcontent-%COMP%]::before{border-left-color:rgba(255,255,255,.12)}.mat-horizontal-stepper-header[_ngcontent-%COMP%]::after, .mat-horizontal-stepper-header[_ngcontent-%COMP%]::before, .mat-stepper-horizontal-line[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-sort-header-arrow[_ngcontent-%COMP%]{color:#c6c6c6}.mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[_ngcontent-%COMP%]{border-bottom:1px solid rgba(255,255,255,.12)}.mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-nav-bar[_ngcontent-%COMP%]{border-top:1px solid rgba(255,255,255,.12);border-bottom:none}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-tab-group[class*=mat-background-][_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[class*=mat-background-][_ngcontent-%COMP%]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-toolbar[_ngcontent-%COMP%]{background:#212121;color:#fff}.mat-toolbar.mat-primary[_ngcontent-%COMP%]{background:#ad2c2c;color:#fff}.mat-toolbar.mat-accent[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-toolbar.mat-warn[_ngcontent-%COMP%]{background:#ff5722;color:#fff}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:currentColor}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%]{color:inherit}.mat-toolbar[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:currentColor}.mat-tooltip[_ngcontent-%COMP%]{background:rgba(97,97,97,.9)}.mat-tree[_ngcontent-%COMP%]{background:#424242}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{color:#fff}.mat-snack-bar-container[_ngcontent-%COMP%]{color:rgba(0,0,0,.87);background:#fafafa;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 11.62px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 9.38px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,"Helvetica Neue",sans-serif}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,"Helvetica Neue",sans-serif;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34373em) scale(.75);transform:translateY(-1.34373em) scale(.75);width:133.3333533333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34372em) scale(.75);transform:translateY(-1.34372em) scale(.75);width:133.3333633333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00106px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00106px);-ms-transform:translateY(-1.28119em) scale(.75);width:133.3333933333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00107px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00107px);-ms-transform:translateY(-1.28118em) scale(.75);width:133.3334033333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00108px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00108px);-ms-transform:translateY(-1.28117em) scale(.75);width:133.3334133333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28116em) scale(.75);transform:translateY(-1.28116em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28115em) scale(.75);transform:translateY(-1.28115em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28114em) scale(.75);transform:translateY(-1.28114em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59373em) scale(.75);transform:translateY(-.59373em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59372em) scale(.75);transform:translateY(-.59372em) scale(.75);width:133.3333633333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59373em) scale(.75);transform:translateY(-1.59373em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59372em) scale(.75);transform:translateY(-1.59372em) scale(.75);width:133.3333633333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{color:inherit;line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,-webkit-transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1),-webkit-transform 0s cubic-bezier(0,0,.2,1);-webkit-transform:scale(0);transform:scale(0)}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation-name:cdk-text-field-autofill-start;animation-name:cdk-text-field-autofill-start}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation-name:cdk-text-field-autofill-end;animation-name:cdk-text-field-autofill-end}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{height:auto!important;overflow:hidden!important;padding:2px 0!important;box-sizing:content-box!important}button[_ngcontent-%COMP%]{margin-left:25px}.info[_ngcontent-%COMP%]{position:absolute;right:30px;top:10px;font-size:12px;color:#ff5722;line-height:1em}.netInfo[_ngcontent-%COMP%] .url[_ngcontent-%COMP%]{font-style:normal;font-weight:700;display:inline;font-size:14px}.descrip[_ngcontent-%COMP%]{margin-left:8px}li[_ngcontent-%COMP%]{margin-bottom:8px}' + ] + ], + data: {} + }); + function Gw(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "div", + [["class", "url"]], + null, + null, + null, + null, + null + )), + (t()(), Rr(1, null, ["", ""])) + ], + null, + function(t, e) { + t(e, 1, 0, e.component.netInfo.Url); + } + ); + } + function $w(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 85, + "mat-card", + [["class", "setup-card mat-card"]], + null, + null, + null, + $f, + Gf + )), + Uo(1, 49152, null, 0, cp, [], null, null), + (t()(), + Cr( + 2, + 0, + null, + 0, + 12, + "mat-card-header", + [["class", "mat-card-header"]], + null, + null, + null, + Qf, + Zf + )), + Uo(3, 49152, null, 0, dp, [], null, null), + (t()(), + Cr( + 4, + 0, + null, + 0, + 4, + "div", + [["class", "mat-card-avatar"], ["mat-card-avatar", ""]], + null, + null, + null, + null, + null + )), + Uo(5, 16384, null, 0, sp, [], null, null), + (t()(), + Cr( + 6, + 0, + null, + null, + 2, + "mat-icon", + [ + ["aria-hidden", "false"], + ["class", "setup-icon mat-icon notranslate"], + ["role", "img"] + ], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + _b, + bb + )), + Uo( + 7, + 9158656, + null, + 0, + pb, + [Ln, rb, [8, "false"], [2, ub]], + null, + null + ), + (t()(), Rr(-1, 0, ["build"])), + (t()(), + Cr( + 9, + 0, + null, + 1, + 2, + "mat-card-title", + [["class", "mat-card-title"]], + null, + null, + null, + null, + null + )), + Uo(10, 16384, null, 0, ip, [], null, null), + (t()(), Rr(-1, null, ["Tools"])), + (t()(), + Cr( + 12, + 0, + null, + 1, + 2, + "mat-card-subtitle", + [["class", "mat-card-subtitle"]], + null, + null, + null, + null, + null + )), + Uo(13, 16384, null, 0, rp, [], null, null), + (t()(), Rr(-1, null, ["Tools and Utilities"])), + (t()(), + Cr( + 15, + 0, + null, + 0, + 70, + "mat-card-content", + [["class", "mat-card-content"]], + null, + null, + null, + null, + null + )), + Uo(16, 16384, null, 0, op, [], null, null), + (t()(), + Cr( + 17, + 0, + null, + null, + 10, + "div", + [["class", "info"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 18, + 0, + null, + null, + 3, + "span", + [["color", "primary"]], + null, + null, + null, + null, + null + )), + (t()(), Rr(-1, null, ["Accessible via browser at "])), + (t()(), _r(16777216, null, null, 1, null, Gw)), + Uo(21, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), + Cr(22, 0, null, null, 0, "br", [], null, null, null, null, null)), + (t()(), + Cr(23, 0, null, null, 1, "span", [], null, null, null, null, null)), + (t()(), Rr(24, null, ["Version ", ""])), + (t()(), + Cr(25, 0, null, null, 0, "br", [], null, null, null, null, null)), + (t()(), + Cr(26, 0, null, null, 1, "span", [], null, null, null, null, null)), + (t()(), Rr(27, null, ["Backup Status: ", ""])), + (t()(), + Cr( + 28, + 0, + null, + null, + 57, + "mat-card", + [["class", "mat-card"]], + null, + null, + null, + $f, + Gf + )), + Uo(29, 49152, null, 0, cp, [], null, null), + (t()(), + Cr(30, 0, null, 0, 30, "ul", [], null, null, null, null, null)), + (t()(), + Cr(31, 0, null, null, 4, "li", [], null, null, null, null, null)), + (t()(), + Cr(32, 0, null, null, 1, "b", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["Reset All Assets:"])), + (t()(), + Cr( + 34, + 0, + null, + null, + 1, + "span", + [["class", "descrip"]], + null, + null, + null, + null, + null + )), + (t()(), + Rr(-1, null, [ + "Resets all offloaded assets files to their original state, removing any songs and asset-based mods that have been loaded. Also removes any hook mods." + ])), + (t()(), + Cr(36, 0, null, null, 4, "li", [], null, null, null, null, null)), + (t()(), + Cr(37, 0, null, null, 1, "b", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["Load Songs Folder:"])), + (t()(), + Cr( + 39, + 0, + null, + null, + 1, + "span", + [["class", "descrip"]], + null, + null, + null, + null, + null + )), + (t()(), + Rr(-1, null, [ + "Attempt to load any new songs from folders in /sdcard/BeatOnData/CustomSongs" + ])), + (t()(), + Cr(41, 0, null, null, 4, "li", [], null, null, null, null, null)), + (t()(), + Cr(42, 0, null, null, 1, "b", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["Quick Fix:"])), + (t()(), + Cr( + 44, + 0, + null, + null, + 1, + "span", + [["class", "descrip"]], + null, + null, + null, + null, + null + )), + (t()(), + Rr(-1, null, [ + "If you're having problems, try this button. This will reset your assets, reload your songs, then try loading the last config that you synced successfully. Also, it will upload your logs so the problem may get identifier and fixed faster." + ])), + (t()(), + Cr(46, 0, null, null, 4, "li", [], null, null, null, null, null)), + (t()(), + Cr(47, 0, null, null, 1, "b", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["Uninstall BS:"])), + (t()(), + Cr( + 49, + 0, + null, + null, + 1, + "span", + [["class", "descrip"]], + null, + null, + null, + null, + null + )), + (t()(), + Rr(-1, null, [ + "Uninstalls whatever Beat Saber APK is currently installed. This can't be undone, Beat Saber will have to be reinstalled and re-modded." + ])), + (t()(), + Cr(51, 0, null, null, 4, "li", [], null, null, null, null, null)), + (t()(), + Cr(52, 0, null, null, 1, "b", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["Upload Logs:"])), + (t()(), + Cr( + 54, + 0, + null, + null, + 1, + "span", + [["class", "descrip"]], + null, + null, + null, + null, + null + )), + (t()(), + Rr(-1, null, [ + "If you've just run into a problem, upload your logs to help the developers track it down." + ])), + (t()(), + Cr(56, 0, null, null, 4, "li", [], null, null, null, null, null)), + (t()(), + Cr(57, 0, null, null, 1, "b", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["Exit Beat On:"])), + (t()(), + Cr( + 59, + 0, + null, + null, + 1, + "span", + [["class", "descrip"]], + null, + null, + null, + null, + null + )), + (t()(), + Rr(-1, null, [ + "Exits Beat On immediately and stops all background processes." + ])), + (t()(), + Cr( + 61, + 0, + null, + 0, + 24, + "mat-card-actions", + [["class", "mat-card-actions"]], + [[2, "mat-card-actions-align-end", null]], + null, + null, + null, + null + )), + Uo(62, 16384, null, 0, lp, [], null, null), + (t()(), + Cr( + 63, + 0, + null, + null, + 3, + "button", + [ + ["color", "accent"], + ["fast-click", ""], + ["mat-raised-button", ""] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && + (a = !1 !== t.component.clickResetAssets() && a), + a + ); + }, + vP, + yP + )), + Uo( + 64, + 180224, + null, + 0, + Mb, + [Ln, _f, [2, OP]], + { color: [0, "color"] }, + null + ), + Uo(65, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, 0, ["Reset Assets"])), + (t()(), + Cr( + 67, + 0, + null, + null, + 3, + "button", + [ + ["color", "accent"], + ["fast-click", ""], + ["mat-raised-button", ""] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && + (a = !1 !== t.component.clickReloadSongsFolder() && a), + a + ); + }, + vP, + yP + )), + Uo( + 68, + 180224, + null, + 0, + Mb, + [Ln, _f, [2, OP]], + { color: [0, "color"] }, + null + ), + Uo(69, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, 0, ["Reload Songs Folder"])), + (t()(), + Cr( + 71, + 0, + null, + null, + 3, + "button", + [ + ["color", "accent"], + ["fast-click", ""], + ["mat-raised-button", ""] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && + (a = !1 !== t.component.clickQuickFix() && a), + a + ); + }, + vP, + yP + )), + Uo( + 72, + 180224, + null, + 0, + Mb, + [Ln, _f, [2, OP]], + { color: [0, "color"] }, + null + ), + Uo(73, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, 0, ["Quick Fix"])), + (t()(), + Cr( + 75, + 0, + null, + null, + 3, + "button", + [ + ["color", "accent"], + ["fast-click", ""], + ["mat-raised-button", ""] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && + (a = !1 !== t.component.clickUploadLogs() && a), + a + ); + }, + vP, + yP + )), + Uo( + 76, + 180224, + null, + 0, + Mb, + [Ln, _f, [2, OP]], + { color: [0, "color"] }, + null + ), + Uo(77, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, 0, ["Upload Logs"])), + (t()(), + Cr( + 79, + 0, + null, + null, + 3, + "button", + [ + ["color", "accent"], + ["fast-click", ""], + ["mat-raised-button", ""] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && + (a = !1 !== t.component.clickUninstallBeatSaber() && a), + a + ); + }, + vP, + yP + )), + Uo( + 80, + 180224, + null, + 0, + Mb, + [Ln, _f, [2, OP]], + { color: [0, "color"] }, + null + ), + Uo(81, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, 0, ["Uninstall BS"])), + (t()(), + Cr( + 83, + 0, + null, + null, + 2, + "button", + [["color", "warn"], ["mat-raised-button", ""]], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && (a = !1 !== t.component.clickQuit() && a), a + ); + }, + vP, + yP + )), + Uo( + 84, + 180224, + null, + 0, + Mb, + [Ln, _f, [2, OP]], + { color: [0, "color"] }, + null + ), + (t()(), Rr(-1, 0, ["Exit Beat On"])) + ], + function(t, e) { + var n = e.component; + t(e, 7, 0), + t(e, 21, 0, n.netInfo), + t(e, 64, 0, "accent"), + t(e, 68, 0, "accent"), + t(e, 72, 0, "accent"), + t(e, 76, 0, "accent"), + t(e, 80, 0, "accent"), + t(e, 84, 0, "warn"); + }, + function(t, e) { + var n = e.component; + t( + e, + 6, + 0, + Io(e, 7).inline, + "primary" !== Io(e, 7).color && + "accent" !== Io(e, 7).color && + "warn" !== Io(e, 7).color + ), + t(e, 24, 0, n.getVersion()), + t(e, 27, 0, n.getBackupStatus()), + t(e, 61, 0, "end" === Io(e, 62).align), + t( + e, + 63, + 0, + Io(e, 64).disabled || null, + "NoopAnimations" === Io(e, 64)._animationMode + ), + t( + e, + 67, + 0, + Io(e, 68).disabled || null, + "NoopAnimations" === Io(e, 68)._animationMode + ), + t( + e, + 71, + 0, + Io(e, 72).disabled || null, + "NoopAnimations" === Io(e, 72)._animationMode + ), + t( + e, + 75, + 0, + Io(e, 76).disabled || null, + "NoopAnimations" === Io(e, 76)._animationMode + ), + t( + e, + 79, + 0, + Io(e, 80).disabled || null, + "NoopAnimations" === Io(e, 80)._animationMode + ), + t( + e, + 83, + 0, + Io(e, 84).disabled || null, + "NoopAnimations" === Io(e, 84)._animationMode + ); + } + ); + } + function Zw(t) { + return zr( + 0, + [ + (t()(), + Cr(0, 0, null, null, 1, "app-tools", [], null, null, null, $w, Ww)), + Uo(1, 114688, null, 0, Yw, [vc, CM, jh], null, null) + ], + function(t, e) { + t(e, 1, 0); + }, + null + ); + } + var Qw = Co("app-tools", Yw, Zw, {}, {}, []); + class Xw { + constructor() { + (this.onFileDropped = new li()), + (this.background = "#f5fcff"), + (this.opacity = "1"); + } + onDragOver(t) { + t.preventDefault(), + t.stopPropagation(), + (this.background = "#9ecbec"), + (this.opacity = "0.8"); + } + onDragLeave(t) { + t.preventDefault(), + t.stopPropagation(), + (this.background = "#f5fcff"), + (this.opacity = "1"); + } + ondrop(t) { + t.preventDefault(), + t.stopPropagation(), + (this.background = "#f5fcff"), + (this.opacity = "1"); + let e = t.dataTransfer.files; + e.length > 0 && this.onFileDropped.emit(e); + } + } + class Jw { + constructor(t, e) { + (this.formBuilder = t), (this.beatOnApi = e); + } + ngOnInit() { + this.form = this.formBuilder.group({ fileUpload: [""] }); + } + uploadFile(t) { + for (let e = 0; e < t.length; e++) { + const n = t[e], + a = new FormData(); + a.append("file", n), + this.beatOnApi.uploadFile(a).subscribe( + t => { + console.log("File uploaded"); + }, + t => { + console.log("Failed to upload: " + t); + } + ); + } + } + } + var tS = Ia({ + encapsulation: 0, + styles: [ + [ + "form[_ngcontent-%COMP%]{margin-top:100px}.uploadfilecontainer[_ngcontent-%COMP%]{background:url(upload.png) center no-repeat;height:200px;width:80%;margin:20px auto;border:2px dashed #1c8adb;border-radius:10px}.uploadfilecontainer[_ngcontent-%COMP%]:hover{cursor:pointer;background-color:#9ecbec!important;opacity:.8}.files-list[_ngcontent-%COMP%]{display:flex;justify-content:space-between;width:80%;margin:10px auto;background:#fff;border:1px dashed;border-radius:12px;padding:5px;color:#1c8adb}.files-list[_ngcontent-%COMP%] .delete-file[_ngcontent-%COMP%]{background:0 0;border:none;cursor:pointer}.files-list[_ngcontent-%COMP%] .delete-file[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:30px}" + ] + ], + data: {} + }); + function eS(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 19, + "mat-card", + [["class", "setup-card mat-card"]], + null, + null, + null, + $f, + Gf + )), + Uo(1, 49152, null, 0, cp, [], null, null), + (t()(), + Cr( + 2, + 0, + null, + 0, + 12, + "mat-card-header", + [["class", "mat-card-header"]], + null, + null, + null, + Qf, + Zf + )), + Uo(3, 49152, null, 0, dp, [], null, null), + (t()(), + Cr( + 4, + 0, + null, + 0, + 4, + "div", + [["class", "mat-card-avatar"], ["mat-card-avatar", ""]], + null, + null, + null, + null, + null + )), + Uo(5, 16384, null, 0, sp, [], null, null), + (t()(), + Cr( + 6, + 0, + null, + null, + 2, + "mat-icon", + [ + ["aria-hidden", "false"], + ["class", "setup-icon mat-icon notranslate"], + ["role", "img"] + ], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + _b, + bb + )), + Uo( + 7, + 9158656, + null, + 0, + pb, + [Ln, rb, [8, "false"], [2, ub]], + null, + null + ), + (t()(), Rr(-1, 0, ["cloud_upload"])), + (t()(), + Cr( + 9, + 0, + null, + 1, + 2, + "mat-card-title", + [["class", "mat-card-title"]], + null, + null, + null, + null, + null + )), + Uo(10, 16384, null, 0, ip, [], null, null), + (t()(), Rr(-1, null, ["Upload Files"])), + (t()(), + Cr( + 12, + 0, + null, + 1, + 2, + "mat-card-subtitle", + [["class", "mat-card-subtitle"]], + null, + null, + null, + null, + null + )), + Uo(13, 16384, null, 0, rp, [], null, null), + (t()(), + Rr(-1, null, [ + "Drag zip files here to upload them, or click to select a file. Currently songs and Quest-specific mods are supported." + ])), + (t()(), + Cr( + 15, + 0, + null, + 0, + 4, + "mat-card-content", + [["class", "mat-card-content"]], + null, + null, + null, + null, + null + )), + Uo(16, 16384, null, 0, op, [], null, null), + (t()(), + Cr( + 17, + 0, + null, + null, + 2, + "div", + [["appDragDrop", ""], ["class", "uploadfilecontainer"]], + [[4, "background-color", null], [4, "opacity", null]], + [ + [null, "click"], + [null, "onFileDropped"], + [null, "dragover"], + [null, "dragleave"], + [null, "drop"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "dragover" === e && (a = !1 !== Io(t, 18).onDragOver(n) && a), + "dragleave" === e && + (a = !1 !== Io(t, 18).onDragLeave(n) && a), + "drop" === e && (a = !1 !== Io(t, 18).ondrop(n) && a), + "click" === e && (a = !1 !== Io(t, 19).click() && a), + "onFileDropped" === e && (a = !1 !== o.uploadFile(n) && a), + a + ); + }, + null, + null + )), + Uo(18, 16384, null, 0, Xw, [], null, { + onFileDropped: "onFileDropped" + }), + (t()(), + Cr( + 19, + 0, + [["fileInput", 1]], + null, + 0, + "input", + [["hidden", ""], ["type", "file"]], + null, + [[null, "change"]], + function(t, e, n) { + var a = !0; + return ( + "change" === e && + (a = !1 !== t.component.uploadFile(n.target.files) && a), + a + ); + }, + null, + null + )) + ], + function(t, e) { + t(e, 7, 0); + }, + function(t, e) { + t( + e, + 6, + 0, + Io(e, 7).inline, + "primary" !== Io(e, 7).color && + "accent" !== Io(e, 7).color && + "warn" !== Io(e, 7).color + ), + t(e, 17, 0, Io(e, 18).background, Io(e, 18).opacity); + } + ); + } + function nS(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "app-remote-upload", + [], + null, + null, + null, + eS, + tS + )), + Uo(1, 114688, null, 0, Jw, [Uk, vc], null, null) + ], + function(t, e) { + t(e, 1, 0); + }, + null + ); + } + var aS = Co("app-remote-upload", Jw, nS, {}, {}, []); + class oS { + constructor() {} + ngOnInit() {} + } + var iS = Ia({ + encapsulation: 0, + styles: [ + [ + ".credits[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:15px}" + ] + ], + data: {} + }); + function rS(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 45, + "mat-card", + [["class", "mat-card"], ["fxLayout", "column"]], + null, + null, + null, + $f, + Gf + )), + Uo(1, 49152, null, 0, cp, [], null, null), + Uo( + 2, + 671744, + null, + 0, + Ly, + [Ln, yy, [2, Dy], wy], + { fxLayout: [0, "fxLayout"] }, + null + ), + (t()(), + Cr(3, 0, null, 0, 1, "h2", [], null, null, null, null, null)), + (t()(), + Rr(-1, null, [ + "Credits to BSMG crew in general, and in particular:" + ])), + (t()(), + Cr( + 5, + 0, + null, + 0, + 40, + "ul", + [["class", "credits"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr(6, 0, null, null, 3, "li", [], null, null, null, null, null)), + (t()(), + Cr(7, 0, null, null, 1, "b", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["Sc2ad"])), + (t()(), + Rr(-1, null, [ + ": code contributor, code reviewer, lots of work on hook mods, lots of discussion and feedback" + ])), + (t()(), + Cr(10, 0, null, null, 3, "li", [], null, null, null, null, null)), + (t()(), + Cr(11, 0, null, null, 1, "b", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["jakibaki"])), + (t()(), + Rr(-1, null, [ + ": beat-saber hook (making the really cool stuff possible)" + ])), + (t()(), + Cr(14, 0, null, null, 3, "li", [], null, null, null, null, null)), + (t()(), + Cr(15, 0, null, null, 1, "b", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["Agent42"])), + (t()(), + Rr(-1, null, [ + ": extraordinary testing and support (if it works at all, thank him)" + ])), + (t()(), + Cr(18, 0, null, null, 3, "li", [], null, null, null, null, null)), + (t()(), + Cr(19, 0, null, null, 1, "b", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["Yuuki"])), + (t()(), Rr(-1, null, [": code contributor, code documentarian"])), + (t()(), + Cr(22, 0, null, null, 3, "li", [], null, null, null, null, null)), + (t()(), + Cr(23, 0, null, null, 1, "b", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["shaneharris"])), + (t()(), + Rr(-1, null, [ + ": code contributor, advice, especially on the angular and android side of things" + ])), + (t()(), + Cr(26, 0, null, null, 3, "li", [], null, null, null, null, null)), + (t()(), + Cr(27, 0, null, null, 1, "b", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["elliotttate"])), + (t()(), + Rr(-1, null, [": inspiration, support and the awesome logos"])), + (t()(), + Cr(30, 0, null, null, 3, "li", [], null, null, null, null, null)), + (t()(), + Cr(31, 0, null, null, 1, "b", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["karldeux"])), + (t()(), Rr(-1, null, [": code contributor, project wrangler"])), + (t()(), + Cr(34, 0, null, null, 3, "li", [], null, null, null, null, null)), + (t()(), + Cr(35, 0, null, null, 1, "b", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["Zingabopp"])), + (t()(), Rr(-1, null, [": Sync Saber Service"])), + (t()(), + Cr(38, 0, null, null, 3, "li", [], null, null, null, null, null)), + (t()(), + Cr(39, 0, null, null, 1, "b", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["lolpants"])), + (t()(), Rr(-1, null, [": everything lolpants does."])), + (t()(), + Cr(42, 0, null, null, 3, "li", [], null, null, null, null, null)), + (t()(), + Cr(43, 0, null, null, 1, "b", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["emulamer"])), + (t()(), Rr(-1, null, [": did some stuff"])) + ], + function(t, e) { + t(e, 2, 0, "column"); + }, + null + ); + } + function lS(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "app-credits", + [], + null, + null, + null, + rS, + iS + )), + Uo(1, 114688, null, 0, oS, [], null, null) + ], + function(t, e) { + t(e, 1, 0); + }, + null + ); + } + var sS = Co("app-credits", oS, lS, {}, {}, []); + const cS = 100, + dS = 10; + class uS { + constructor(t) { + this._elementRef = t; + } + } + const mS = vf(uS, "primary"), + hS = new Ht("mat-progress-spinner-default-options", { + providedIn: "root", + factory: function() { + return { diameter: cS }; + } + }), + gS = + "\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n", + pS = (() => { + class t extends mS { + constructor(e, n, a, o, i) { + super(e), + (this._elementRef = e), + (this._document = a), + (this._value = 0), + (this._fallbackAnimation = !1), + (this._diameter = cS), + (this.mode = "determinate"); + const r = t._diameters; + r.has(a.head) || r.set(a.head, new Set([cS])), + (this._styleRoot = + (function(t, e) { + if ("undefined" != typeof window) { + const n = e.head; + if (n && (n.createShadowRoot || n.attachShadow)) { + const e = t.getRootNode ? t.getRootNode() : null; + if (e instanceof window.ShadowRoot) return e; + } + } + return null; + })(e.nativeElement, a) || a.head), + (this._fallbackAnimation = n.EDGE || n.TRIDENT), + (this._noopAnimations = + "NoopAnimations" === o && !!i && !i._forceAnimations), + i && + (i.diameter && (this.diameter = i.diameter), + i.strokeWidth && (this.strokeWidth = i.strokeWidth)), + e.nativeElement.classList.add( + `mat-progress-spinner-indeterminate${ + this._fallbackAnimation ? "-fallback" : "" + }-animation` + ); + } + get diameter() { + return this._diameter; + } + set diameter(e) { + if (((this._diameter = fp(e)), !this._fallbackAnimation)) { + const e = t._diameters.get(this._styleRoot); + (e && e.has(this._diameter)) || this._attachStyleNode(); + } + } + get strokeWidth() { + return this._strokeWidth || this.diameter / 10; + } + set strokeWidth(t) { + this._strokeWidth = fp(t); + } + get value() { + return "determinate" === this.mode ? this._value : 0; + } + set value(t) { + this._value = Math.max(0, Math.min(100, fp(t))); + } + get _circleRadius() { + return (this.diameter - dS) / 2; + } + get _viewBox() { + const t = 2 * this._circleRadius + this.strokeWidth; + return `0 0 ${t} ${t}`; + } + get _strokeCircumference() { + return 2 * Math.PI * this._circleRadius; + } + get _strokeDashOffset() { + return "determinate" === this.mode + ? (this._strokeCircumference * (100 - this._value)) / 100 + : this._fallbackAnimation && "indeterminate" === this.mode + ? 0.2 * this._strokeCircumference + : null; + } + get _circleStrokeWidth() { + return (this.strokeWidth / this.diameter) * 100; + } + _attachStyleNode() { + const e = this._document.createElement("style"), + n = this._styleRoot, + a = this._diameter, + o = t._diameters; + let i = o.get(n); + e.setAttribute("mat-spinner-animation", a + ""), + (e.textContent = this._getAnimationText()), + n.appendChild(e), + i || ((i = new Set()), o.set(n, i)), + i.add(a); + } + _getAnimationText() { + return gS + .replace(/START_VALUE/g, `${0.95 * this._strokeCircumference}`) + .replace(/END_VALUE/g, `${0.2 * this._strokeCircumference}`) + .replace(/DIAMETER/g, `${this.diameter}`); + } + } + return (t._diameters = new WeakMap()), t; + })(), + fS = (() => + class extends pS { + constructor(t, e, n, a, o) { + super(t, e, n, a, o), (this.mode = "indeterminate"); + } + })(), + bS = (() => class {})(); + var _S = Ia({ + encapsulation: 2, + styles: [ + ".mat-progress-spinner{display:block;position:relative}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2s linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4s;animation-timing-function:cubic-bezier(.35,0,.25,1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{animation:mat-progress-spinner-stroke-rotate-fallback 10s cubic-bezier(.87,.03,.33,1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.60617px;transform:rotate(0)}12.5%{stroke-dashoffset:56.54867px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.60617px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.54867px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.60617px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.54867px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.60617px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.54867px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}" + ], + data: {} + }); + function CS(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 0, + ":svg:circle", + [["cx", "50%"], ["cy", "50%"]], + [ + [1, "r", 0], + [4, "animation-name", null], + [4, "stroke-dashoffset", "px"], + [4, "stroke-dasharray", "px"], + [4, "stroke-width", "%"] + ], + null, + null, + null, + null + )) + ], + null, + function(t, e) { + var n = e.component; + t( + e, + 0, + 0, + n._circleRadius, + "mat-progress-spinner-stroke-rotate-" + n.diameter, + n._strokeDashOffset, + n._strokeCircumference, + n._circleStrokeWidth + ); + } + ); + } + function PS(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 0, + ":svg:circle", + [["cx", "50%"], ["cy", "50%"]], + [ + [1, "r", 0], + [4, "stroke-dashoffset", "px"], + [4, "stroke-dasharray", "px"], + [4, "stroke-width", "%"] + ], + null, + null, + null, + null + )) + ], + null, + function(t, e) { + var n = e.component; + t( + e, + 0, + 0, + n._circleRadius, + n._strokeDashOffset, + n._strokeCircumference, + n._circleStrokeWidth + ); + } + ); + } + function OS(t) { + return zr( + 2, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 5, + ":svg:svg", + [ + ["focusable", "false"], + ["preserveAspectRatio", "xMidYMid meet"] + ], + [[4, "width", "px"], [4, "height", "px"], [1, "viewBox", 0]], + null, + null, + null, + null + )), + Uo(1, 16384, null, 0, ws, [], { ngSwitch: [0, "ngSwitch"] }, null), + (t()(), _r(16777216, null, null, 1, null, CS)), + Uo( + 3, + 278528, + null, + 0, + Ss, + [ua, ca, ws], + { ngSwitchCase: [0, "ngSwitchCase"] }, + null + ), + (t()(), _r(16777216, null, null, 1, null, PS)), + Uo( + 5, + 278528, + null, + 0, + Ss, + [ua, ca, ws], + { ngSwitchCase: [0, "ngSwitchCase"] }, + null + ) + ], + function(t, e) { + t(e, 1, 0, "indeterminate" === e.component.mode), + t(e, 3, 0, !0), + t(e, 5, 0, !1); + }, + function(t, e) { + var n = e.component; + t(e, 0, 0, n.diameter, n.diameter, n._viewBox); + } + ); + } + var MS = Ia({ + encapsulation: 2, + styles: [ + ".mat-progress-spinner{display:block;position:relative}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2s linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4s;animation-timing-function:cubic-bezier(.35,0,.25,1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{animation:mat-progress-spinner-stroke-rotate-fallback 10s cubic-bezier(.87,.03,.33,1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.60617px;transform:rotate(0)}12.5%{stroke-dashoffset:56.54867px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.60617px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.54867px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.60617px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.54867px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.60617px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.54867px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}" + ], + data: {} + }); + function yS(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 0, + ":svg:circle", + [["cx", "50%"], ["cy", "50%"]], + [ + [1, "r", 0], + [4, "animation-name", null], + [4, "stroke-dashoffset", "px"], + [4, "stroke-dasharray", "px"], + [4, "stroke-width", "%"] + ], + null, + null, + null, + null + )) + ], + null, + function(t, e) { + var n = e.component; + t( + e, + 0, + 0, + n._circleRadius, + "mat-progress-spinner-stroke-rotate-" + n.diameter, + n._strokeDashOffset, + n._strokeCircumference, + n._circleStrokeWidth + ); + } + ); + } + function vS(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 0, + ":svg:circle", + [["cx", "50%"], ["cy", "50%"]], + [ + [1, "r", 0], + [4, "stroke-dashoffset", "px"], + [4, "stroke-dasharray", "px"], + [4, "stroke-width", "%"] + ], + null, + null, + null, + null + )) + ], + null, + function(t, e) { + var n = e.component; + t( + e, + 0, + 0, + n._circleRadius, + n._strokeDashOffset, + n._strokeCircumference, + n._circleStrokeWidth + ); + } + ); + } + function xS(t) { + return zr( + 2, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 5, + ":svg:svg", + [ + ["focusable", "false"], + ["preserveAspectRatio", "xMidYMid meet"] + ], + [[4, "width", "px"], [4, "height", "px"], [1, "viewBox", 0]], + null, + null, + null, + null + )), + Uo(1, 16384, null, 0, ws, [], { ngSwitch: [0, "ngSwitch"] }, null), + (t()(), _r(16777216, null, null, 1, null, yS)), + Uo( + 3, + 278528, + null, + 0, + Ss, + [ua, ca, ws], + { ngSwitchCase: [0, "ngSwitchCase"] }, + null + ), + (t()(), _r(16777216, null, null, 1, null, vS)), + Uo( + 5, + 278528, + null, + 0, + Ss, + [ua, ca, ws], + { ngSwitchCase: [0, "ngSwitchCase"] }, + null + ) + ], + function(t, e) { + t(e, 1, 0, "indeterminate" === e.component.mode), + t(e, 3, 0, !0), + t(e, 5, 0, !1); + }, + function(t, e) { + var n = e.component; + t(e, 0, 0, n.diameter, n.diameter, n._viewBox); + } + ); + } + class kS { + constructor() { + this.update = new li(); + } + ngOnInit() {} + down() { + (this.reader.MaxSongs = + this.reader.MaxSongs < 1 ? 0 : this.reader.MaxSongs - 10), + this.update.emit(); + } + up() { + (this.reader.MaxSongs = + this.reader.MaxSongs > 199 ? 200 : this.reader.MaxSongs + 10), + this.update.emit(); + } + } + var wS = Ia({ + encapsulation: 0, + styles: [ + [ + ".vertical-align[_ngcontent-%COMP%], .vertical-align[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{vertical-align:middle;font-size:1.2em;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.number[_ngcontent-%COMP%]{width:28px;display:inline-block;text-align:center;margin-left:-4px}" + ] + ], + data: {} + }); + function SS(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 8, + "div", + [["class", "vertical-align"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 1, + 0, + null, + null, + 2, + "mat-icon", + [["class", "mat-icon notranslate"], ["role", "img"]], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + [[null, "click"]], + function(t, e, n) { + var a = !0; + return "click" === e && (a = !1 !== t.component.down() && a), a; + }, + _b, + bb + )), + Uo( + 2, + 9158656, + null, + 0, + pb, + [Ln, rb, [8, null], [2, ub]], + null, + null + ), + (t()(), Rr(-1, 0, ["navigate_before"])), + (t()(), + Cr( + 4, + 0, + null, + null, + 1, + "div", + [["class", "number"]], + null, + null, + null, + null, + null + )), + (t()(), Rr(5, null, ["", ""])), + (t()(), + Cr( + 6, + 0, + null, + null, + 2, + "mat-icon", + [["class", "mat-icon notranslate"], ["role", "img"]], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + [[null, "click"]], + function(t, e, n) { + var a = !0; + return "click" === e && (a = !1 !== t.component.up() && a), a; + }, + _b, + bb + )), + Uo( + 7, + 9158656, + null, + 0, + pb, + [Ln, rb, [8, null], [2, ub]], + null, + null + ), + (t()(), Rr(-1, 0, ["navigate_next"])) + ], + function(t, e) { + t(e, 2, 0), t(e, 7, 0); + }, + function(t, e) { + var n = e.component; + t( + e, + 1, + 0, + Io(e, 2).inline, + "primary" !== Io(e, 2).color && + "accent" !== Io(e, 2).color && + "warn" !== Io(e, 2).color + ), + t( + e, + 5, + 0, + 0 === n.reader.MaxSongs ? "\u221e" : n.reader.MaxSongs + ), + t( + e, + 6, + 0, + Io(e, 7).inline, + "primary" !== Io(e, 7).color && + "accent" !== Io(e, 7).color && + "warn" !== Io(e, 7).color + ); + } + ); + } + const ES = new Ht("mat-slide-toggle-default-options", { + providedIn: "root", + factory: () => ({ disableToggleValue: !1, disableDragValue: !1 }) + }); + let IS = 0; + class AS { + constructor(t, e) { + (this.source = t), (this.checked = e); + } + } + class TS { + constructor(t) { + this._elementRef = t; + } + } + const RS = kf(vf(xf(yf(TS)), "accent")), + DS = (() => + class extends RS { + constructor(t, e, n, a, o, i, r, l) { + super(t), + (this._focusMonitor = e), + (this._changeDetectorRef = n), + (this._ngZone = o), + (this.defaults = i), + (this._animationMode = r), + (this._dir = l), + (this._onChange = t => {}), + (this._onTouched = () => {}), + (this._uniqueId = `mat-slide-toggle-${++IS}`), + (this._required = !1), + (this._checked = !1), + (this._dragging = !1), + (this.name = null), + (this.id = this._uniqueId), + (this.labelPosition = "after"), + (this.ariaLabel = null), + (this.ariaLabelledby = null), + (this.change = new li()), + (this.toggleChange = new li()), + (this.dragChange = new li()), + (this.tabIndex = parseInt(a) || 0); + } + get required() { + return this._required; + } + set required(t) { + this._required = pp(t); + } + get checked() { + return this._checked; + } + set checked(t) { + (this._checked = pp(t)), this._changeDetectorRef.markForCheck(); + } + get inputId() { + return `${this.id || this._uniqueId}-input`; + } + ngAfterContentInit() { + this._focusMonitor.monitor(this._elementRef, !0).subscribe(t => { + t || Promise.resolve().then(() => this._onTouched()); + }); + } + ngOnDestroy() { + this._focusMonitor.stopMonitoring(this._elementRef); + } + _onChangeEvent(t) { + t.stopPropagation(), + this._dragging || this.toggleChange.emit(), + this._dragging || this.defaults.disableToggleValue + ? (this._inputElement.nativeElement.checked = this.checked) + : ((this.checked = this._inputElement.nativeElement.checked), + this._emitChangeEvent()); + } + _onInputClick(t) { + t.stopPropagation(); + } + writeValue(t) { + this.checked = !!t; + } + registerOnChange(t) { + this._onChange = t; + } + registerOnTouched(t) { + this._onTouched = t; + } + setDisabledState(t) { + (this.disabled = t), this._changeDetectorRef.markForCheck(); + } + focus() { + this._focusMonitor.focusVia(this._inputElement, "keyboard"); + } + toggle() { + (this.checked = !this.checked), this._onChange(this.checked); + } + _emitChangeEvent() { + this._onChange(this.checked), + this.change.emit(new AS(this, this.checked)); + } + _getDragPercentage(t) { + let e = (t / this._thumbBarWidth) * 100; + return ( + this._previousChecked && (e += 100), + Math.max(0, Math.min(e, 100)) + ); + } + _onDragStart() { + if (!this.disabled && !this._dragging) { + const t = this._thumbEl.nativeElement; + (this._thumbBarWidth = + this._thumbBarEl.nativeElement.clientWidth - t.clientWidth), + t.classList.add("mat-dragging"), + (this._previousChecked = this.checked), + (this._dragging = !0); + } + } + _onDrag(t) { + if (this._dragging) { + const e = this._dir && "rtl" === this._dir.value ? -1 : 1; + (this._dragPercentage = this._getDragPercentage(t.deltaX * e)), + (this._thumbEl.nativeElement.style.transform = `translate3d(${(this + ._dragPercentage / + 100) * + this._thumbBarWidth * + e}px, 0, 0)`); + } + } + _onDragEnd() { + if (this._dragging) { + const t = this._dragPercentage > 50; + t !== this.checked && + (this.dragChange.emit(), + this.defaults.disableDragValue || + ((this.checked = t), this._emitChangeEvent())), + this._ngZone.runOutsideAngular(() => + setTimeout(() => { + this._dragging && + ((this._dragging = !1), + this._thumbEl.nativeElement.classList.remove( + "mat-dragging" + ), + (this._thumbEl.nativeElement.style.transform = "")); + }) + ); + } + } + _onLabelTextChange() { + this._changeDetectorRef.detectChanges(); + } + })(), + NS = (() => class {})(); + var zS = Ia({ + encapsulation: 2, + styles: [ + ".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px,0,0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px,0,0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}.mat-slide-toggle-bar,[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-right:8px;margin-left:0}.mat-slide-toggle-label-before .mat-slide-toggle-bar,[dir=rtl] .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0,0,0);transition:all 80ms linear;transition-property:transform;cursor:-webkit-grab;cursor:grab}.mat-slide-toggle-thumb-container.mat-dragging{transition-duration:0s}.mat-slide-toggle-thumb-container:active{cursor:-webkit-grabbing;cursor:grabbing}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media (hover:none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}@media (-ms-high-contrast:active){.mat-slide-toggle-thumb{background:#fff;border:1px solid #000}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background:#000;border:1px solid #fff}.mat-slide-toggle-bar{background:#fff}.mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:1px dotted;outline-offset:5px}}@media (-ms-high-contrast:black-on-white){.mat-slide-toggle-bar{border:1px solid #000}}" + ], + data: {} + }); + function LS(t) { + return zr( + 2, + [ + vr(671088640, 1, { _thumbEl: 0 }), + vr(671088640, 2, { _thumbBarEl: 0 }), + vr(671088640, 3, { _inputElement: 0 }), + (t()(), + Cr( + 3, + 0, + [["label", 1]], + null, + 13, + "label", + [["class", "mat-slide-toggle-label"]], + [[1, "for", 0]], + null, + null, + null, + null + )), + (t()(), + Cr( + 4, + 0, + [[2, 0], ["toggleBar", 1]], + null, + 7, + "div", + [["class", "mat-slide-toggle-bar"]], + [[2, "mat-slide-toggle-bar-no-side-margin", null]], + null, + null, + null, + null + )), + (t()(), + Cr( + 5, + 0, + [[3, 0], ["input", 1]], + null, + 0, + "input", + [ + ["class", "mat-slide-toggle-input cdk-visually-hidden"], + ["role", "switch"], + ["type", "checkbox"] + ], + [ + [8, "id", 0], + [8, "required", 0], + [8, "tabIndex", 0], + [8, "checked", 0], + [8, "disabled", 0], + [1, "name", 0], + [1, "aria-checked", 0], + [1, "aria-label", 0], + [1, "aria-labelledby", 0] + ], + [[null, "change"], [null, "click"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "change" === e && (a = !1 !== o._onChangeEvent(n) && a), + "click" === e && (a = !1 !== o._onInputClick(n) && a), + a + ); + }, + null, + null + )), + (t()(), + Cr( + 6, + 0, + [[1, 0], ["thumbContainer", 1]], + null, + 5, + "div", + [["class", "mat-slide-toggle-thumb-container"]], + null, + [[null, "slidestart"], [null, "slide"], [null, "slideend"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "slidestart" === e && (a = !1 !== o._onDragStart() && a), + "slide" === e && (a = !1 !== o._onDrag(n) && a), + "slideend" === e && (a = !1 !== o._onDragEnd() && a), + a + ); + }, + null, + null + )), + (t()(), + Cr( + 7, + 0, + null, + null, + 0, + "div", + [["class", "mat-slide-toggle-thumb"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 8, + 0, + null, + null, + 3, + "div", + [ + ["class", "mat-slide-toggle-ripple mat-ripple"], + ["mat-ripple", ""] + ], + [[2, "mat-ripple-unbounded", null]], + null, + null, + null, + null + )), + Uo( + 9, + 212992, + null, + 0, + qf, + [Ln, Di, Op, [2, Uf], [2, OP]], + { + centered: [0, "centered"], + radius: [1, "radius"], + animation: [2, "animation"], + disabled: [3, "disabled"], + trigger: [4, "trigger"] + }, + null + ), + Ar(10, { enterDuration: 0 }), + (t()(), + Cr( + 11, + 0, + null, + null, + 0, + "div", + [ + [ + "class", + "mat-ripple-element mat-slide-toggle-persistent-ripple" + ] + ], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 12, + 0, + [["labelContent", 1]], + null, + 4, + "span", + [["class", "mat-slide-toggle-content"]], + null, + [[null, "cdkObserveContent"]], + function(t, e, n) { + var a = !0; + return ( + "cdkObserveContent" === e && + (a = !1 !== t.component._onLabelTextChange() && a), + a + ); + }, + null, + null + )), + Uo(13, 1196032, null, 0, ev, [tv, Ln, Di], null, { + event: "cdkObserveContent" + }), + (t()(), + Cr( + 14, + 0, + null, + null, + 1, + "span", + [["style", "display:none"]], + null, + null, + null, + null, + null + )), + (t()(), Rr(-1, null, ["\xa0"])), + Er(null, 0) + ], + function(t, e) { + var n = e.component, + a = t(e, 10, 0, 150); + t(e, 9, 0, !0, 20, a, n.disableRipple || n.disabled, Io(e, 3)); + }, + function(t, e) { + var n = e.component; + t(e, 3, 0, n.inputId), + t( + e, + 4, + 0, + !Io(e, 12).textContent || !Io(e, 12).textContent.trim() + ), + t( + e, + 5, + 0, + n.inputId, + n.required, + n.tabIndex, + n.checked, + n.disabled, + n.name, + n.checked.toString(), + n.ariaLabel, + n.ariaLabelledby + ), + t(e, 8, 0, Io(e, 9).unbounded); + } + ); + } + class FS { + constructor(t) { + this._elementRef = t; + } + } + const BS = vf(xf(yf(FS)), "primary"), + VS = (() => + class extends BS { + constructor(t, e, n, a) { + super(t), + (this._elementRef = t), + (this._ngZone = e), + (this._hasFocus = !1), + (this.chipListSelectable = !0), + (this._chipListMultiple = !1), + (this._selected = !1), + (this._selectable = !0), + (this._removable = !0), + (this._onFocus = new w()), + (this._onBlur = new w()), + (this.selectionChange = new li()), + (this.destroyed = new li()), + (this.removed = new li()), + this._addHostClassName(), + (this._chipRipple = new jf(this, e, t, n)), + this._chipRipple.setupTriggerEvents(t.nativeElement), + (this.rippleConfig = a || {}); + } + get rippleDisabled() { + return ( + this.disabled || + this.disableRipple || + !!this.rippleConfig.disabled + ); + } + get selected() { + return this._selected; + } + set selected(t) { + const e = pp(t); + e !== this._selected && + ((this._selected = e), this._dispatchSelectionChange()); + } + get value() { + return null != this._value + ? this._value + : this._elementRef.nativeElement.textContent; + } + set value(t) { + this._value = t; + } + get selectable() { + return this._selectable && this.chipListSelectable; + } + set selectable(t) { + this._selectable = pp(t); + } + get removable() { + return this._removable; + } + set removable(t) { + this._removable = pp(t); + } + get ariaSelected() { + return this.selectable && + (this._chipListMultiple || this.selected) + ? this.selected.toString() + : null; + } + _addHostClassName() { + const t = this._elementRef.nativeElement; + t.hasAttribute("mat-basic-chip") || + "mat-basic-chip" === t.tagName.toLowerCase() + ? t.classList.add("mat-basic-chip") + : t.classList.add("mat-standard-chip"); + } + ngOnDestroy() { + this.destroyed.emit({ chip: this }), + this._chipRipple._removeTriggerEvents(); + } + select() { + this._selected || + ((this._selected = !0), this._dispatchSelectionChange()); + } + deselect() { + this._selected && + ((this._selected = !1), this._dispatchSelectionChange()); + } + selectViaInteraction() { + this._selected || + ((this._selected = !0), this._dispatchSelectionChange(!0)); + } + toggleSelected(t = !1) { + return ( + (this._selected = !this.selected), + this._dispatchSelectionChange(t), + this.selected + ); + } + focus() { + this._hasFocus || + (this._elementRef.nativeElement.focus(), + this._onFocus.next({ chip: this })), + (this._hasFocus = !0); + } + remove() { + this.removable && this.removed.emit({ chip: this }); + } + _handleClick(t) { + this.disabled ? t.preventDefault() : t.stopPropagation(); + } + _handleKeydown(t) { + if (!this.disabled) + switch (t.keyCode) { + case 46: + case 8: + this.remove(), t.preventDefault(); + break; + case 32: + this.selectable && this.toggleSelected(!0), + t.preventDefault(); + } + } + _blur() { + this._ngZone.onStable + .asObservable() + .pipe(Zc(1)) + .subscribe(() => { + this._ngZone.run(() => { + (this._hasFocus = !1), this._onBlur.next({ chip: this }); + }); + }); + } + _dispatchSelectionChange(t = !1) { + this.selectionChange.emit({ + source: this, + isUserInput: t, + selected: this._selected + }); + } + })(), + HS = (() => + class { + constructor(t) { + this._parentChip = t; + } + _handleClick(t) { + const e = this._parentChip; + e.removable && !e.disabled && e.remove(), t.stopPropagation(); + } + })(), + jS = new Ht("mat-chips-default-options"); + class US { + constructor(t, e, n, a) { + (this._defaultErrorStateMatcher = t), + (this._parentForm = e), + (this._parentFormGroup = n), + (this.ngControl = a); + } + } + const qS = wf(US); + let KS = 0; + class YS { + constructor(t, e) { + (this.source = t), (this.value = e); + } + } + const WS = (() => + class extends qS { + constructor(t, e, n, a, o, i, r) { + super(i, a, o, r), + (this._elementRef = t), + (this._changeDetectorRef = e), + (this._dir = n), + (this.ngControl = r), + (this.controlType = "mat-chip-list"), + (this._lastDestroyedChipIndex = null), + (this._destroyed = new w()), + (this._uid = `mat-chip-list-${KS++}`), + (this._tabIndex = 0), + (this._userTabIndex = null), + (this._onTouched = () => {}), + (this._onChange = () => {}), + (this._multiple = !1), + (this._compareWith = (t, e) => t === e), + (this._required = !1), + (this._disabled = !1), + (this.ariaOrientation = "horizontal"), + (this._selectable = !0), + (this.change = new li()), + (this.valueChange = new li()), + this.ngControl && (this.ngControl.valueAccessor = this); + } + get selected() { + return this.multiple + ? this._selectionModel.selected + : this._selectionModel.selected[0]; + } + get role() { + return this.empty ? null : "listbox"; + } + get multiple() { + return this._multiple; + } + set multiple(t) { + (this._multiple = pp(t)), this._syncChipsState(); + } + get compareWith() { + return this._compareWith; + } + set compareWith(t) { + (this._compareWith = t), + this._selectionModel && this._initializeSelection(); + } + get value() { + return this._value; + } + set value(t) { + this.writeValue(t), (this._value = t); + } + get id() { + return this._chipInput ? this._chipInput.id : this._uid; + } + get required() { + return this._required; + } + set required(t) { + (this._required = pp(t)), this.stateChanges.next(); + } + get placeholder() { + return this._chipInput + ? this._chipInput.placeholder + : this._placeholder; + } + set placeholder(t) { + (this._placeholder = t), this.stateChanges.next(); + } + get focused() { + return ( + (this._chipInput && this._chipInput.focused) || + this._hasFocusedChip() + ); + } + get empty() { + return ( + (!this._chipInput || this._chipInput.empty) && + 0 === this.chips.length + ); + } + get shouldLabelFloat() { + return !this.empty || this.focused; + } + get disabled() { + return this.ngControl ? !!this.ngControl.disabled : this._disabled; + } + set disabled(t) { + (this._disabled = pp(t)), this._syncChipsState(); + } + get selectable() { + return this._selectable; + } + set selectable(t) { + (this._selectable = pp(t)), + this.chips && + this.chips.forEach( + t => (t.chipListSelectable = this._selectable) + ); + } + set tabIndex(t) { + (this._userTabIndex = t), (this._tabIndex = t); + } + get chipSelectionChanges() { + return X(...this.chips.map(t => t.selectionChange)); + } + get chipFocusChanges() { + return X(...this.chips.map(t => t._onFocus)); + } + get chipBlurChanges() { + return X(...this.chips.map(t => t._onBlur)); + } + get chipRemoveChanges() { + return X(...this.chips.map(t => t.destroyed)); + } + ngAfterContentInit() { + (this._keyManager = new df(this.chips) + .withWrap() + .withVerticalOrientation() + .withHorizontalOrientation(this._dir ? this._dir.value : "ltr")), + this._dir && + this._dir.change + .pipe(oO(this._destroyed)) + .subscribe(t => + this._keyManager.withHorizontalOrientation(t) + ), + this._keyManager.tabOut + .pipe(oO(this._destroyed)) + .subscribe(() => { + this._allowFocusEscape(); + }), + this.chips.changes + .pipe( + id(null), + oO(this._destroyed) + ) + .subscribe(() => { + this.disabled && + Promise.resolve().then(() => { + this._syncChipsState(); + }), + this._resetChips(), + this._initializeSelection(), + this._updateTabIndex(), + this._updateFocusForDestroyedChips(), + this.stateChanges.next(); + }); + } + ngOnInit() { + (this._selectionModel = new PO(this.multiple, void 0, !1)), + this.stateChanges.next(); + } + ngDoCheck() { + this.ngControl && this.updateErrorState(); + } + ngOnDestroy() { + this._destroyed.next(), + this._destroyed.complete(), + this.stateChanges.complete(), + this._dropSubscriptions(); + } + registerInput(t) { + this._chipInput = t; + } + setDescribedByIds(t) { + this._ariaDescribedby = t.join(" "); + } + writeValue(t) { + this.chips && this._setSelectionByValue(t, !1); + } + registerOnChange(t) { + this._onChange = t; + } + registerOnTouched(t) { + this._onTouched = t; + } + setDisabledState(t) { + (this.disabled = t), this.stateChanges.next(); + } + onContainerClick(t) { + this._originatesFromChip(t) || this.focus(); + } + focus() { + this.disabled || + (this._chipInput && this._chipInput.focused) || + (this.chips.length > 0 + ? (this._keyManager.setFirstItemActive(), + this.stateChanges.next()) + : (this._focusInput(), this.stateChanges.next())); + } + _focusInput() { + this._chipInput && this._chipInput.focus(); + } + _keydown(t) { + const e = t.target; + 8 === t.keyCode && this._isInputEmpty(e) + ? (this._keyManager.setLastItemActive(), t.preventDefault()) + : e && + e.classList.contains("mat-chip") && + (36 === t.keyCode + ? (this._keyManager.setFirstItemActive(), t.preventDefault()) + : 35 === t.keyCode + ? (this._keyManager.setLastItemActive(), t.preventDefault()) + : this._keyManager.onKeydown(t), + this.stateChanges.next()); + } + _updateTabIndex() { + this._tabIndex = + this._userTabIndex || (0 === this.chips.length ? -1 : 0); + } + _updateFocusForDestroyedChips() { + if (null != this._lastDestroyedChipIndex) + if (this.chips.length) { + const t = Math.min( + this._lastDestroyedChipIndex, + this.chips.length - 1 + ); + this._keyManager.setActiveItem(t); + } else this.focus(); + this._lastDestroyedChipIndex = null; + } + _isValidIndex(t) { + return t >= 0 && t < this.chips.length; + } + _isInputEmpty(t) { + return !(!t || "input" !== t.nodeName.toLowerCase() || t.value); + } + _setSelectionByValue(t, e = !0) { + if ( + (this._clearSelection(), + this.chips.forEach(t => t.deselect()), + Array.isArray(t)) + ) + t.forEach(t => this._selectValue(t, e)), this._sortValues(); + else { + const n = this._selectValue(t, e); + n && e && this._keyManager.setActiveItem(n); + } + } + _selectValue(t, e = !0) { + const n = this.chips.find( + e => null != e.value && this._compareWith(e.value, t) + ); + return ( + n && + (e ? n.selectViaInteraction() : n.select(), + this._selectionModel.select(n)), + n + ); + } + _initializeSelection() { + Promise.resolve().then(() => { + (this.ngControl || this._value) && + (this._setSelectionByValue( + this.ngControl ? this.ngControl.value : this._value, + !1 + ), + this.stateChanges.next()); + }); + } + _clearSelection(t) { + this._selectionModel.clear(), + this.chips.forEach(e => { + e !== t && e.deselect(); + }), + this.stateChanges.next(); + } + _sortValues() { + this._multiple && + (this._selectionModel.clear(), + this.chips.forEach(t => { + t.selected && this._selectionModel.select(t); + }), + this.stateChanges.next()); + } + _propagateChanges(t) { + let e = null; + (e = Array.isArray(this.selected) + ? this.selected.map(t => t.value) + : this.selected + ? this.selected.value + : t), + (this._value = e), + this.change.emit(new YS(this, e)), + this.valueChange.emit(e), + this._onChange(e), + this._changeDetectorRef.markForCheck(); + } + _blur() { + this._hasFocusedChip() || this._keyManager.setActiveItem(-1), + this.disabled || + (this._chipInput + ? setTimeout(() => { + this.focused || this._markAsTouched(); + }) + : this._markAsTouched()); + } + _markAsTouched() { + this._onTouched(), + this._changeDetectorRef.markForCheck(), + this.stateChanges.next(); + } + _allowFocusEscape() { + -1 !== this._tabIndex && + ((this._tabIndex = -1), + setTimeout(() => { + (this._tabIndex = this._userTabIndex || 0), + this._changeDetectorRef.markForCheck(); + })); + } + _resetChips() { + this._dropSubscriptions(), + this._listenToChipsFocus(), + this._listenToChipsSelection(), + this._listenToChipsRemoved(); + } + _dropSubscriptions() { + this._chipFocusSubscription && + (this._chipFocusSubscription.unsubscribe(), + (this._chipFocusSubscription = null)), + this._chipBlurSubscription && + (this._chipBlurSubscription.unsubscribe(), + (this._chipBlurSubscription = null)), + this._chipSelectionSubscription && + (this._chipSelectionSubscription.unsubscribe(), + (this._chipSelectionSubscription = null)), + this._chipRemoveSubscription && + (this._chipRemoveSubscription.unsubscribe(), + (this._chipRemoveSubscription = null)); + } + _listenToChipsSelection() { + this._chipSelectionSubscription = this.chipSelectionChanges.subscribe( + t => { + t.source.selected + ? this._selectionModel.select(t.source) + : this._selectionModel.deselect(t.source), + this.multiple || + this.chips.forEach(t => { + !this._selectionModel.isSelected(t) && + t.selected && + t.deselect(); + }), + t.isUserInput && this._propagateChanges(); + } + ); + } + _listenToChipsFocus() { + (this._chipFocusSubscription = this.chipFocusChanges.subscribe( + t => { + let e = this.chips.toArray().indexOf(t.chip); + this._isValidIndex(e) && + this._keyManager.updateActiveItemIndex(e), + this.stateChanges.next(); + } + )), + (this._chipBlurSubscription = this.chipBlurChanges.subscribe( + () => { + this._blur(), this.stateChanges.next(); + } + )); + } + _listenToChipsRemoved() { + this._chipRemoveSubscription = this.chipRemoveChanges.subscribe( + t => { + const e = t.chip, + n = this.chips.toArray().indexOf(t.chip); + this._isValidIndex(n) && + e._hasFocus && + (this._lastDestroyedChipIndex = n); + } + ); + } + _originatesFromChip(t) { + let e = t.target; + for (; e && e !== this._elementRef.nativeElement; ) { + if (e.classList.contains("mat-chip")) return !0; + e = e.parentElement; + } + return !1; + } + _hasFocusedChip() { + return this.chips.some(t => t._hasFocus); + } + _syncChipsState() { + this.chips && + this.chips.forEach(t => { + (t.disabled = this._disabled), + (t._chipListMultiple = this.multiple); + }); + } + })(); + let GS = 0; + const $S = (() => + class { + constructor(t, e) { + (this._elementRef = t), + (this._defaultOptions = e), + (this.focused = !1), + (this._addOnBlur = !1), + (this.separatorKeyCodes = this._defaultOptions.separatorKeyCodes), + (this.chipEnd = new li()), + (this.placeholder = ""), + (this.id = `mat-chip-list-input-${GS++}`), + (this._disabled = !1), + (this._inputElement = this._elementRef.nativeElement); + } + set chipList(t) { + t && ((this._chipList = t), this._chipList.registerInput(this)); + } + get addOnBlur() { + return this._addOnBlur; + } + set addOnBlur(t) { + this._addOnBlur = pp(t); + } + get disabled() { + return ( + this._disabled || (this._chipList && this._chipList.disabled) + ); + } + set disabled(t) { + this._disabled = pp(t); + } + get empty() { + return !this._inputElement.value; + } + ngOnChanges() { + this._chipList.stateChanges.next(); + } + _keydown(t) { + t && + t.keyCode === Ap && + !Up(t, "shiftKey") && + this._chipList._allowFocusEscape(), + this._emitChipEnd(t); + } + _blur() { + this.addOnBlur && this._emitChipEnd(), + (this.focused = !1), + this._chipList.focused || this._chipList._blur(), + this._chipList.stateChanges.next(); + } + _focus() { + (this.focused = !0), this._chipList.stateChanges.next(); + } + _emitChipEnd(t) { + !this._inputElement.value && t && this._chipList._keydown(t), + (t && !this._isSeparatorKey(t)) || + (this.chipEnd.emit({ + input: this._inputElement, + value: this._inputElement.value + }), + t && t.preventDefault()); + } + _onInput() { + this._chipList.stateChanges.next(); + } + focus() { + this._inputElement.focus(); + } + _isSeparatorKey(t) { + if (Up(t)) return !1; + const e = this.separatorKeyCodes, + n = t.keyCode; + return Array.isArray(e) ? e.indexOf(n) > -1 : e.has(n); + } + })(), + ZS = (() => class {})(); + class QS {} + function XS(t) { + return Error(`A hint was already declared for 'align="${t}"'.`); + } + let JS = 0; + class tE { + constructor(t) { + this._elementRef = t; + } + } + const eE = vf(tE, "primary"), + nE = new Ht("MAT_FORM_FIELD_DEFAULT_OPTIONS"), + aE = (() => + class extends eE { + constructor(t, e, n, a, o, i, r, l) { + super(t), + (this._elementRef = t), + (this._changeDetectorRef = e), + (this._dir = a), + (this._defaults = o), + (this._platform = i), + (this._ngZone = r), + (this._outlineGapCalculationNeededImmediately = !1), + (this._outlineGapCalculationNeededOnStable = !1), + (this._destroyed = new w()), + (this._showAlwaysAnimate = !1), + (this._subscriptAnimationState = ""), + (this._hintLabel = ""), + (this._hintLabelId = `mat-hint-${JS++}`), + (this._labelId = `mat-form-field-label-${JS++}`), + (this._labelOptions = n || {}), + (this.floatLabel = this._labelOptions.float || "auto"), + (this._animationsEnabled = "NoopAnimations" !== l), + (this.appearance = o && o.appearance ? o.appearance : "legacy"); + } + get appearance() { + return this._appearance; + } + set appearance(t) { + const e = this._appearance; + (this._appearance = + t || (this._defaults && this._defaults.appearance) || "legacy"), + "outline" === this._appearance && + e !== t && + (this._outlineGapCalculationNeededOnStable = !0); + } + get hideRequiredMarker() { + return this._hideRequiredMarker; + } + set hideRequiredMarker(t) { + this._hideRequiredMarker = pp(t); + } + get _shouldAlwaysFloat() { + return "always" === this.floatLabel && !this._showAlwaysAnimate; + } + get _canLabelFloat() { + return "never" !== this.floatLabel; + } + get hintLabel() { + return this._hintLabel; + } + set hintLabel(t) { + (this._hintLabel = t), this._processHints(); + } + get floatLabel() { + return "legacy" !== this.appearance && + "never" === this._floatLabel + ? "auto" + : this._floatLabel; + } + set floatLabel(t) { + t !== this._floatLabel && + ((this._floatLabel = t || this._labelOptions.float || "auto"), + this._changeDetectorRef.markForCheck()); + } + get _control() { + return ( + this._explicitFormFieldControl || + this._controlNonStatic || + this._controlStatic + ); + } + set _control(t) { + this._explicitFormFieldControl = t; + } + get _labelChild() { + return this._labelChildNonStatic || this._labelChildStatic; + } + getConnectedOverlayOrigin() { + return this._connectionContainerRef || this._elementRef; + } + ngAfterContentInit() { + this._validateControlChild(); + const t = this._control; + t.controlType && + this._elementRef.nativeElement.classList.add( + `mat-form-field-type-${t.controlType}` + ), + t.stateChanges.pipe(id(null)).subscribe(() => { + this._validatePlaceholders(), + this._syncDescribedByIds(), + this._changeDetectorRef.markForCheck(); + }), + t.ngControl && + t.ngControl.valueChanges && + t.ngControl.valueChanges + .pipe(oO(this._destroyed)) + .subscribe(() => this._changeDetectorRef.markForCheck()), + this._ngZone.runOutsideAngular(() => { + this._ngZone.onStable + .asObservable() + .pipe(oO(this._destroyed)) + .subscribe(() => { + this._outlineGapCalculationNeededOnStable && + this.updateOutlineGap(); + }); + }), + X( + this._prefixChildren.changes, + this._suffixChildren.changes + ).subscribe(() => { + (this._outlineGapCalculationNeededOnStable = !0), + this._changeDetectorRef.markForCheck(); + }), + this._hintChildren.changes.pipe(id(null)).subscribe(() => { + this._processHints(), this._changeDetectorRef.markForCheck(); + }), + this._errorChildren.changes.pipe(id(null)).subscribe(() => { + this._syncDescribedByIds(), + this._changeDetectorRef.markForCheck(); + }), + this._dir && + this._dir.change + .pipe(oO(this._destroyed)) + .subscribe(() => this.updateOutlineGap()); + } + ngAfterContentChecked() { + this._validateControlChild(), + this._outlineGapCalculationNeededImmediately && + this.updateOutlineGap(); + } + ngAfterViewInit() { + (this._subscriptAnimationState = "enter"), + this._changeDetectorRef.detectChanges(); + } + ngOnDestroy() { + this._destroyed.next(), this._destroyed.complete(); + } + _shouldForward(t) { + const e = this._control ? this._control.ngControl : null; + return e && e[t]; + } + _hasPlaceholder() { + return !!( + (this._control && this._control.placeholder) || + this._placeholderChild + ); + } + _hasLabel() { + return !!this._labelChild; + } + _shouldLabelFloat() { + return ( + this._canLabelFloat && + (this._control.shouldLabelFloat || this._shouldAlwaysFloat) + ); + } + _hideControlPlaceholder() { + return ( + ("legacy" === this.appearance && !this._hasLabel()) || + (this._hasLabel() && !this._shouldLabelFloat()) + ); + } + _hasFloatingLabel() { + return ( + this._hasLabel() || + ("legacy" === this.appearance && this._hasPlaceholder()) + ); + } + _getDisplayedMessages() { + return this._errorChildren && + this._errorChildren.length > 0 && + this._control.errorState + ? "error" + : "hint"; + } + _animateAndLockLabel() { + this._hasFloatingLabel() && + this._canLabelFloat && + (this._animationsEnabled && + ((this._showAlwaysAnimate = !0), + HP(this._label.nativeElement, "transitionend") + .pipe(Zc(1)) + .subscribe(() => { + this._showAlwaysAnimate = !1; + })), + (this.floatLabel = "always"), + this._changeDetectorRef.markForCheck()); + } + _validatePlaceholders() { + if (this._control.placeholder && this._placeholderChild) + throw Error( + "Placeholder attribute and child element were both specified." + ); + } + _processHints() { + this._validateHints(), this._syncDescribedByIds(); + } + _validateHints() { + if (this._hintChildren) { + let t, e; + this._hintChildren.forEach(n => { + if ("start" === n.align) { + if (t || this.hintLabel) throw XS("start"); + t = n; + } else if ("end" === n.align) { + if (e) throw XS("end"); + e = n; + } + }); + } + } + _syncDescribedByIds() { + if (this._control) { + let t = []; + if ("hint" === this._getDisplayedMessages()) { + const e = this._hintChildren + ? this._hintChildren.find(t => "start" === t.align) + : null, + n = this._hintChildren + ? this._hintChildren.find(t => "end" === t.align) + : null; + e + ? t.push(e.id) + : this._hintLabel && t.push(this._hintLabelId), + n && t.push(n.id); + } else + this._errorChildren && + (t = this._errorChildren.map(t => t.id)); + this._control.setDescribedByIds(t); + } + } + _validateControlChild() { + if (!this._control) + throw Error( + "mat-form-field must contain a MatFormFieldControl." + ); + } + updateOutlineGap() { + const t = this._label ? this._label.nativeElement : null; + if ( + "outline" !== this.appearance || + !t || + !t.children.length || + !t.textContent.trim() + ) + return; + if (!this._platform.isBrowser) return; + if ( + !document.documentElement.contains( + this._elementRef.nativeElement + ) + ) + return void (this._outlineGapCalculationNeededImmediately = !0); + let e = 0, + n = 0; + const a = this._connectionContainerRef.nativeElement, + o = a.querySelectorAll(".mat-form-field-outline-start"), + i = a.querySelectorAll(".mat-form-field-outline-gap"); + if (this._label && this._label.nativeElement.children.length) { + const o = a.getBoundingClientRect(); + if (0 === o.width && 0 === o.height) + return ( + (this._outlineGapCalculationNeededOnStable = !0), + void (this._outlineGapCalculationNeededImmediately = !1) + ); + const i = this._getStartEnd(o), + r = this._getStartEnd(t.children[0].getBoundingClientRect()); + let l = 0; + for (const e of t.children) l += e.offsetWidth; + (e = r - i - 5), (n = l > 0 ? 0.75 * l + 10 : 0); + } + for (let r = 0; r < o.length; r++) + o.item(r).style.width = `${e}px`; + for (let r = 0; r < i.length; r++) + i.item(r).style.width = `${n}px`; + this._outlineGapCalculationNeededOnStable = this._outlineGapCalculationNeededImmediately = !1; + } + _getStartEnd(t) { + return this._dir && "rtl" === this._dir.value ? t.right : t.left; + } + })(), + oE = (() => class {})(); + var iE = Ia({ + encapsulation: 2, + styles: [ + ".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}@media (-ms-high-contrast:active){.mat-form-field-infix{border-image:linear-gradient(transparent,transparent)}}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform .4s cubic-bezier(.25,.8,.25,1),color .4s cubic-bezier(.25,.8,.25,1),width .4s cubic-bezier(.25,.8,.25,1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-empty.mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scaleY(1.0001)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(.5);opacity:0;transition:background-color .3s cubic-bezier(.55,0,.55,.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:scaleX(1);transition:transform .3s cubic-bezier(.25,.8,.25,1),opacity .1s cubic-bezier(.25,.8,.25,1),background-color .3s cubic-bezier(.25,.8,.25,1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-label-wrapper .mat-icon,.mat-form-field-subscript-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}", + ".mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}@media (-ms-high-contrast:active){.mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:'';display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}@media (-ms-high-contrast:active){.mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity .6s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}", + ".mat-input-element{font:inherit;background:0 0;color:currentColor;border:none;outline:0;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=month]::after,.mat-input-element[type=time]::after,.mat-input-element[type=week]::after{content:' ';white-space:pre;width:1px}.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button,.mat-input-element::-webkit-inner-spin-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:0 0}@media (-ms-high-contrast:active){.mat-focused select.mat-input-element::-ms-value{color:inherit}}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:'';width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}", + ".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}@media (-ms-high-contrast:active){.mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}@media (-ms-high-contrast:active){.mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}@media (-ms-high-contrast:active){.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}", + ".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-start{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start{border-width:2px;transition:border-color .3s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity .1s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity .6s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline{transition:none}", + ".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}@media (-ms-high-contrast:active){.mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}@media (-ms-high-contrast:active){.mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:2px}}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}@media (-ms-high-contrast:active){.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity .6s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}" + ], + data: { + animation: [ + { + type: 7, + name: "transitionMessages", + definitions: [ + { + type: 0, + name: "enter", + styles: { + type: 6, + styles: { opacity: 1, transform: "translateY(0%)" }, + offset: null + }, + options: void 0 + }, + { + type: 1, + expr: "void => enter", + animation: [ + { + type: 6, + styles: { opacity: 0, transform: "translateY(-100%)" }, + offset: null + }, + { + type: 4, + styles: null, + timings: "300ms cubic-bezier(0.55, 0, 0.55, 0.2)" + } + ], + options: null + } + ], + options: {} + } + ] + } + }); + function rE(t) { + return zr( + 0, + [ + (t()(), + Cr(0, 0, null, null, 8, null, null, null, null, null, null, null)), + (t()(), + Cr( + 1, + 0, + null, + null, + 3, + "div", + [["class", "mat-form-field-outline"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 2, + 0, + null, + null, + 0, + "div", + [["class", "mat-form-field-outline-start"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 3, + 0, + null, + null, + 0, + "div", + [["class", "mat-form-field-outline-gap"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 4, + 0, + null, + null, + 0, + "div", + [["class", "mat-form-field-outline-end"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 5, + 0, + null, + null, + 3, + "div", + [ + ["class", "mat-form-field-outline mat-form-field-outline-thick"] + ], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 6, + 0, + null, + null, + 0, + "div", + [["class", "mat-form-field-outline-start"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 7, + 0, + null, + null, + 0, + "div", + [["class", "mat-form-field-outline-gap"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 8, + 0, + null, + null, + 0, + "div", + [["class", "mat-form-field-outline-end"]], + null, + null, + null, + null, + null + )) + ], + null, + null + ); + } + function lE(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "div", + [["class", "mat-form-field-prefix"]], + null, + null, + null, + null, + null + )), + Er(null, 0) + ], + null, + null + ); + } + function sE(t) { + return zr( + 0, + [ + (t()(), + Cr(0, 0, null, null, 2, null, null, null, null, null, null, null)), + Er(null, 2), + (t()(), Rr(2, null, ["", ""])) + ], + null, + function(t, e) { + t(e, 2, 0, e.component._control.placeholder); + } + ); + } + function cE(t) { + return zr(0, [Er(null, 3), (t()(), _r(0, null, null, 0))], null, null); + } + function dE(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "span", + [ + ["aria-hidden", "true"], + [ + "class", + "mat-placeholder-required mat-form-field-required-marker" + ] + ], + null, + null, + null, + null, + null + )), + (t()(), Rr(-1, null, [" *"])) + ], + null, + null + ); + } + function uE(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + [[4, 0], ["label", 1]], + null, + 8, + "label", + [["class", "mat-form-field-label"]], + [ + [8, "id", 0], + [1, "for", 0], + [1, "aria-owns", 0], + [2, "mat-empty", null], + [2, "mat-form-field-empty", null], + [2, "mat-accent", null], + [2, "mat-warn", null] + ], + [[null, "cdkObserveContent"]], + function(t, e, n) { + var a = !0; + return ( + "cdkObserveContent" === e && + (a = !1 !== t.component.updateOutlineGap() && a), + a + ); + }, + null, + null + )), + Uo(1, 16384, null, 0, ws, [], { ngSwitch: [0, "ngSwitch"] }, null), + Uo( + 2, + 1196032, + null, + 0, + ev, + [tv, Ln, Di], + { disabled: [0, "disabled"] }, + { event: "cdkObserveContent" } + ), + (t()(), _r(16777216, null, null, 1, null, sE)), + Uo( + 4, + 278528, + null, + 0, + Ss, + [ua, ca, ws], + { ngSwitchCase: [0, "ngSwitchCase"] }, + null + ), + (t()(), _r(16777216, null, null, 1, null, cE)), + Uo( + 6, + 278528, + null, + 0, + Ss, + [ua, ca, ws], + { ngSwitchCase: [0, "ngSwitchCase"] }, + null + ), + (t()(), _r(16777216, null, null, 1, null, dE)), + Uo(8, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null) + ], + function(t, e) { + var n = e.component; + t(e, 1, 0, n._hasLabel()), + t(e, 2, 0, "outline" != n.appearance), + t(e, 4, 0, !1), + t(e, 6, 0, !0), + t( + e, + 8, + 0, + !n.hideRequiredMarker && + n._control.required && + !n._control.disabled + ); + }, + function(t, e) { + var n = e.component; + t( + e, + 0, + 0, + n._labelId, + n._control.id, + n._control.id, + n._control.empty && !n._shouldAlwaysFloat, + n._control.empty && !n._shouldAlwaysFloat, + "accent" == n.color, + "warn" == n.color + ); + } + ); + } + function mE(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "div", + [["class", "mat-form-field-suffix"]], + null, + null, + null, + null, + null + )), + Er(null, 4) + ], + null, + null + ); + } + function hE(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + [[1, 0], ["underline", 1]], + null, + 1, + "div", + [["class", "mat-form-field-underline"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 1, + 0, + null, + null, + 0, + "span", + [["class", "mat-form-field-ripple"]], + [[2, "mat-accent", null], [2, "mat-warn", null]], + null, + null, + null, + null + )) + ], + null, + function(t, e) { + var n = e.component; + t(e, 1, 0, "accent" == n.color, "warn" == n.color); + } + ); + } + function gE(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "div", + [], + [[24, "@transitionMessages", 0]], + null, + null, + null, + null + )), + Er(null, 5) + ], + null, + function(t, e) { + t(e, 0, 0, e.component._subscriptAnimationState); + } + ); + } + function pE(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "div", + [["class", "mat-hint"]], + [[8, "id", 0]], + null, + null, + null, + null + )), + (t()(), Rr(1, null, ["", ""])) + ], + null, + function(t, e) { + var n = e.component; + t(e, 0, 0, n._hintLabelId), t(e, 1, 0, n.hintLabel); + } + ); + } + function fE(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 5, + "div", + [["class", "mat-form-field-hint-wrapper"]], + [[24, "@transitionMessages", 0]], + null, + null, + null, + null + )), + (t()(), _r(16777216, null, null, 1, null, pE)), + Uo(2, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + Er(null, 6), + (t()(), + Cr( + 4, + 0, + null, + null, + 0, + "div", + [["class", "mat-form-field-hint-spacer"]], + null, + null, + null, + null, + null + )), + Er(null, 7) + ], + function(t, e) { + t(e, 2, 0, e.component.hintLabel); + }, + function(t, e) { + t(e, 0, 0, e.component._subscriptAnimationState); + } + ); + } + function bE(t) { + return zr( + 2, + [ + vr(671088640, 1, { underlineRef: 0 }), + vr(402653184, 2, { _connectionContainerRef: 0 }), + vr(671088640, 3, { _inputContainerRef: 0 }), + vr(671088640, 4, { _label: 0 }), + (t()(), + Cr( + 4, + 0, + null, + null, + 20, + "div", + [["class", "mat-form-field-wrapper"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 5, + 0, + [[2, 0], ["connectionContainer", 1]], + null, + 11, + "div", + [["class", "mat-form-field-flex"]], + null, + [[null, "click"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "click" === e && + (a = + !1 !== + (o._control.onContainerClick && + o._control.onContainerClick(n)) && a), + a + ); + }, + null, + null + )), + (t()(), _r(16777216, null, null, 1, null, rE)), + Uo(7, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, null, 1, null, lE)), + Uo(9, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), + Cr( + 10, + 0, + [[3, 0], ["inputContainer", 1]], + null, + 4, + "div", + [["class", "mat-form-field-infix"]], + null, + null, + null, + null, + null + )), + Er(null, 1), + (t()(), + Cr( + 12, + 0, + null, + null, + 2, + "span", + [["class", "mat-form-field-label-wrapper"]], + null, + null, + null, + null, + null + )), + (t()(), _r(16777216, null, null, 1, null, uE)), + Uo(14, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, null, 1, null, mE)), + Uo(16, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, null, 1, null, hE)), + Uo(18, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), + Cr( + 19, + 0, + null, + null, + 5, + "div", + [["class", "mat-form-field-subscript-wrapper"]], + null, + null, + null, + null, + null + )), + Uo(20, 16384, null, 0, ws, [], { ngSwitch: [0, "ngSwitch"] }, null), + (t()(), _r(16777216, null, null, 1, null, gE)), + Uo( + 22, + 278528, + null, + 0, + Ss, + [ua, ca, ws], + { ngSwitchCase: [0, "ngSwitchCase"] }, + null + ), + (t()(), _r(16777216, null, null, 1, null, fE)), + Uo( + 24, + 278528, + null, + 0, + Ss, + [ua, ca, ws], + { ngSwitchCase: [0, "ngSwitchCase"] }, + null + ) + ], + function(t, e) { + var n = e.component; + t(e, 7, 0, "outline" == n.appearance), + t(e, 9, 0, n._prefixChildren.length), + t(e, 14, 0, n._hasFloatingLabel()), + t(e, 16, 0, n._suffixChildren.length), + t(e, 18, 0, "outline" != n.appearance), + t(e, 20, 0, n._getDisplayedMessages()), + t(e, 22, 0, "error"), + t(e, 24, 0, "hint"); + }, + null + ); + } + const _E = wp({ passive: !0 }), + CE = (() => { + class t { + constructor(t, e) { + (this._platform = t), + (this._ngZone = e), + (this._monitoredElements = new Map()); + } + monitor(t) { + if (!this._platform.isBrowser) return Yl; + const e = Cp(t), + n = this._monitoredElements.get(e); + if (n) return n.subject.asObservable(); + const a = new w(), + o = "cdk-text-field-autofilled", + i = t => { + "cdk-text-field-autofill-start" !== t.animationName || + e.classList.contains(o) + ? "cdk-text-field-autofill-end" === t.animationName && + e.classList.contains(o) && + (e.classList.remove(o), + this._ngZone.run(() => + a.next({ target: t.target, isAutofilled: !1 }) + )) + : (e.classList.add(o), + this._ngZone.run(() => + a.next({ target: t.target, isAutofilled: !0 }) + )); + }; + return ( + this._ngZone.runOutsideAngular(() => { + e.addEventListener("animationstart", i, _E), + e.classList.add("cdk-text-field-autofill-monitored"); + }), + this._monitoredElements.set(e, { + subject: a, + unlisten: () => { + e.removeEventListener("animationstart", i, _E); + } + }), + a.asObservable() + ); + } + stopMonitoring(t) { + const e = Cp(t), + n = this._monitoredElements.get(e); + n && + (n.unlisten(), + n.subject.complete(), + e.classList.remove("cdk-text-field-autofill-monitored"), + e.classList.remove("cdk-text-field-autofilled"), + this._monitoredElements.delete(e)); + } + ngOnDestroy() { + this._monitoredElements.forEach((t, e) => this.stopMonitoring(e)); + } + } + return ( + (t.ngInjectableDef = bt({ + factory: function() { + return new t(It(Op), It(Di)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + PE = (() => class {})(), + OE = [ + "button", + "checkbox", + "file", + "hidden", + "image", + "radio", + "range", + "reset", + "submit" + ]; + let ME = 0; + class yE { + constructor(t, e, n, a) { + (this._defaultErrorStateMatcher = t), + (this._parentForm = e), + (this._parentFormGroup = n), + (this.ngControl = a); + } + } + const vE = wf(yE), + xE = (() => + class extends vE { + constructor(t, e, n, a, o, i, r, l, s) { + super(i, a, o, n), + (this._elementRef = t), + (this._platform = e), + (this.ngControl = n), + (this._autofillMonitor = l), + (this._uid = `mat-input-${ME++}`), + (this._isServer = !1), + (this._isNativeSelect = !1), + (this.focused = !1), + (this.stateChanges = new w()), + (this.controlType = "mat-input"), + (this.autofilled = !1), + (this._disabled = !1), + (this._required = !1), + (this._type = "text"), + (this._readonly = !1), + (this._neverEmptyInputTypes = [ + "date", + "datetime", + "datetime-local", + "month", + "time", + "week" + ].filter(t => xp().has(t))); + const c = this._elementRef.nativeElement; + (this._inputValueAccessor = r || c), + (this._previousNativeValue = this.value), + (this.id = this.id), + e.IOS && + s.runOutsideAngular(() => { + t.nativeElement.addEventListener("keyup", t => { + let e = t.target; + e.value || + e.selectionStart || + e.selectionEnd || + (e.setSelectionRange(1, 1), e.setSelectionRange(0, 0)); + }); + }), + (this._isServer = !this._platform.isBrowser), + (this._isNativeSelect = "select" === c.nodeName.toLowerCase()), + this._isNativeSelect && + (this.controlType = c.multiple + ? "mat-native-select-multiple" + : "mat-native-select"); + } + get disabled() { + return this.ngControl && null !== this.ngControl.disabled + ? this.ngControl.disabled + : this._disabled; + } + set disabled(t) { + (this._disabled = pp(t)), + this.focused && ((this.focused = !1), this.stateChanges.next()); + } + get id() { + return this._id; + } + set id(t) { + this._id = t || this._uid; + } + get required() { + return this._required; + } + set required(t) { + this._required = pp(t); + } + get type() { + return this._type; + } + set type(t) { + (this._type = t || "text"), + this._validateType(), + !this._isTextarea() && + xp().has(this._type) && + (this._elementRef.nativeElement.type = this._type); + } + get value() { + return this._inputValueAccessor.value; + } + set value(t) { + t !== this.value && + ((this._inputValueAccessor.value = t), + this.stateChanges.next()); + } + get readonly() { + return this._readonly; + } + set readonly(t) { + this._readonly = pp(t); + } + ngOnInit() { + this._platform.isBrowser && + this._autofillMonitor + .monitor(this._elementRef.nativeElement) + .subscribe(t => { + (this.autofilled = t.isAutofilled), + this.stateChanges.next(); + }); + } + ngOnChanges() { + this.stateChanges.next(); + } + ngOnDestroy() { + this.stateChanges.complete(), + this._platform.isBrowser && + this._autofillMonitor.stopMonitoring( + this._elementRef.nativeElement + ); + } + ngDoCheck() { + this.ngControl && this.updateErrorState(), + this._dirtyCheckNativeValue(); + } + focus() { + this._elementRef.nativeElement.focus(); + } + _focusChanged(t) { + t === this.focused || + (this.readonly && t) || + ((this.focused = t), this.stateChanges.next()); + } + _onInput() {} + _dirtyCheckNativeValue() { + const t = this._elementRef.nativeElement.value; + this._previousNativeValue !== t && + ((this._previousNativeValue = t), this.stateChanges.next()); + } + _validateType() { + if (OE.indexOf(this._type) > -1) + throw Error( + `Input type "${this._type}" isn't supported by matInput.` + ); + } + _isNeverEmpty() { + return this._neverEmptyInputTypes.indexOf(this._type) > -1; + } + _isBadInput() { + let t = this._elementRef.nativeElement.validity; + return t && t.badInput; + } + _isTextarea() { + return ( + "textarea" === + this._elementRef.nativeElement.nodeName.toLowerCase() + ); + } + get empty() { + return !( + this._isNeverEmpty() || + this._elementRef.nativeElement.value || + this._isBadInput() || + this.autofilled + ); + } + get shouldLabelFloat() { + if (this._isNativeSelect) { + const t = this._elementRef.nativeElement, + e = t.options[0]; + return ( + this.focused || + t.multiple || + !this.empty || + !!(t.selectedIndex > -1 && e && e.label) + ); + } + return this.focused || !this.empty; + } + setDescribedByIds(t) { + this._ariaDescribedby = t.join(" "); + } + onContainerClick() { + this.focused || this.focus(); + } + })(), + kE = (() => class {})(); + var wE = Ia({ + encapsulation: 2, + styles: [ + ".mat-chip{position:relative;overflow:hidden;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0)}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(.4,0,.2,1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}.mat-standard-chip .mat-chip-remove.mat-icon{width:18px;height:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:'';pointer-events:none;transition:opacity .2s cubic-bezier(.35,0,.25,1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:0}.mat-standard-chip:focus::after{opacity:.16}@media (-ms-high-contrast:active){.mat-standard-chip{outline:solid 1px}.mat-standard-chip:focus{outline:dotted 2px}}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper .mat-standard-chip,.mat-chip-list-wrapper input.mat-input-element{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}" + ], + data: {} + }); + function SE(t) { + return zr( + 2, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "div", + [["class", "mat-chip-list-wrapper"]], + null, + null, + null, + null, + null + )), + Er(null, 0) + ], + null, + null + ); + } + class EE extends ow { + constructor() { + super(), (this.Type = iw.SetBeastSaberUsername); + } + } + class IE extends ow { + constructor() { + super(), (this.Type = iw.UpdateFeedReader); + } + } + class AE extends ow { + constructor() { + super(...arguments), (this.Type = iw.SyncSaberSync); + } + } + class TE { + constructor(t, e, n) { + (this.beatOnApi = t), + (this.configSvc = e), + (this.msgSvc = n), + (this.syncDisabled = !1), + (this.separatorKeysCodes = [Tp, jp]), + (this.feedSettingTimeouts = {}); + } + ngOnInit() { + this.configSvc.getConfig().subscribe(this.handleConfig.bind(this)), + this.configSvc.configUpdated.subscribe( + this.handleConfig.bind(this) + ); + } + setBeastSaberUsername() { + clearTimeout(this.nameUpdateTimeout), + (this.nameUpdateTimeout = setTimeout(() => { + const t = new EE(); + (t.BeastSaberUsername = this.BeastSaberUsername), + this.msgSvc.sendClientMessage(t); + }, 750)); + } + updateFeedSetting(t) { + this.feedSettingTimeouts[t.ID] && + (clearTimeout(this.feedSettingTimeouts[t.ID]), + (this.feedSettingTimeouts[t.ID] = null)), + (this.feedSettingTimeouts[t.ID] = setTimeout(() => { + const e = new IE(); + (e.FeedConfig = t), + (e.ID = t.ID), + this.msgSvc.sendClientMessage(e); + }, 750)); + } + clickSyncNow() { + const t = new AE(); + this.msgSvc.actionResponseMessage.subscribe(e => { + e.ResponseToMessageID == t.MessageID && (this.syncDisabled = !1); + }), + (this.syncDisabled = !0), + this.msgSvc.sendClientMessage(t); + } + addAuthor(t) { + const e = t.input, + n = t.value; + (n || "").trim() && + this.SyncService_BeatSaverAUTHOR.Authors.push(n.trim()), + e && (e.value = ""), + this.updateFeedSetting(this.SyncService_BeatSaverAUTHOR); + } + removeAuthor(t) { + const e = this.SyncService_BeatSaverAUTHOR.Authors.indexOf(t); + e >= 0 && this.SyncService_BeatSaverAUTHOR.Authors.splice(e, 1), + this.updateFeedSetting(this.SyncService_BeatSaverAUTHOR); + } + handleConfig(t) { + (this.BeastSaberUsername = t.SyncConfig.BeastSaberUsername), + t.SyncConfig.FeedReaders.forEach(t => { + switch (((t.MaxSongs = t.MaxSongs || 0), t.PlaylistID)) { + case "SyncService_BeastSaberFOLLOWING": + this.SyncService_BeastSaberFOLLOWING = t; + break; + case "SyncService_BeastSaberBOOKMARKS": + this.SyncService_BeastSaberBOOKMARKS = t; + break; + case "SyncService_BeastSaberCURATOR_RECOMMENDED": + this.SyncService_BeastSaberCURATOR_RECOMMENDED = t; + break; + case "SyncService_ScoreSaberTRENDING": + this.SyncService_ScoreSaberTRENDING = t; + break; + case "SyncService_ScoreSaberLATEST_RANKED": + this.SyncService_ScoreSaberLATEST_RANKED = t; + break; + case "SyncService_ScoreSaberTOP_PLAYED": + this.SyncService_ScoreSaberTOP_PLAYED = t; + break; + case "SyncService_ScoreSaberTOP_RANKED": + this.SyncService_ScoreSaberTOP_RANKED = t; + break; + case "SyncService_BeatSaverAUTHOR": + this.SyncService_BeatSaverAUTHOR = t; + break; + case "SyncService_BeatSaverLATEST": + this.SyncService_BeatSaverLATEST = t; + break; + case "SyncService_BeatSaverHOT": + this.SyncService_BeatSaverHOT = t; + break; + case "SyncService_BeatSaverDOWNLOADS": + this.SyncService_BeatSaverDOWNLOADS = t; + } + }); + } + } + var RE = Ia({ + encapsulation: 0, + styles: [ + [ + ".right-select-all[_ngcontent-%COMP%]{float:right;margin-top:2.5em;margin-right:2.5em}.right-align[_ngcontent-%COMP%]{text-align:right}.left-padd-gate[_ngcontent-%COMP%]{padding-left:2em;padding-right:2em}.right[_ngcontent-%COMP%]{float:right}.enable-all[_ngcontent-%COMP%]{font-size:.5em;font-weight:400;margin-left:2em}.innerScroll[_ngcontent-%COMP%]{height:100%;overflow-x:hidden;overflow-y:scroll}.authorList[_ngcontent-%COMP%]{line-height:40px;font-size:14px}.authorList[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{margin-top:10px}.syncButton[_ngcontent-%COMP%]{position:absolute;top:5px;right:15px}.syncSpinner[_ngcontent-%COMP%]{display:inline-block;margin-top:-1px;margin-right:5px}.left-col[_ngcontent-%COMP%], .right-col[_ngcontent-%COMP%]{width:calc(50% - 15px);display:inline-block;height:100%;margin-left:10px;margin-right:5px;vertical-align:top}.outer-container[_ngcontent-%COMP%]{height:calc(100% - 10px);overflow:hidden;margin-top:-10px;color:#fff}.username-container[_ngcontent-%COMP%]{text-align:center;margin-left:50px}.input-width[_ngcontent-%COMP%]{width:400px}" + ] + ], + data: {} + }); + function DE(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "mat-spinner", + [ + ["class", "syncSpinner mat-spinner mat-progress-spinner"], + ["diameter", "18"], + ["mode", "indeterminate"], + ["role", "progressbar"] + ], + [ + [2, "_mat-animation-noopable", null], + [4, "width", "px"], + [4, "height", "px"] + ], + null, + null, + xS, + MS + )), + Uo( + 1, + 49152, + null, + 0, + fS, + [Ln, Op, [2, Bs], [2, OP], hS], + { diameter: [0, "diameter"] }, + null + ) + ], + function(t, e) { + t(e, 1, 0, "18"); + }, + function(t, e) { + t( + e, + 0, + 0, + Io(e, 1)._noopAnimations, + Io(e, 1).diameter, + Io(e, 1).diameter + ); + } + ); + } + function NE(t) { + return zr( + 0, + [ + (t()(), + Cr(0, 0, null, null, 11, "div", [], null, null, null, null, null)), + (t()(), + Cr( + 1, + 0, + null, + null, + 1, + "app-sync-saber-max-songs", + [["class", "right"]], + null, + [[null, "update"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "update" === e && + (a = + !1 !== o.updateFeedSetting(o.SyncService_BeatSaverHOT) && + a), + a + ); + }, + SS, + wS + )), + Uo( + 2, + 114688, + null, + 0, + kS, + [], + { reader: [0, "reader"] }, + { update: "update" } + ), + (t()(), + Cr( + 3, + 0, + null, + null, + 6, + "mat-slide-toggle", + [["class", "mat-slide-toggle"]], + [ + [8, "id", 0], + [1, "tabindex", 0], + [2, "mat-checked", null], + [2, "mat-disabled", null], + [2, "mat-slide-toggle-label-before", null], + [2, "_mat-animation-noopable", null], + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null] + ], + [[null, "ngModelChange"], [null, "change"], [null, "focus"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "focus" === e && + (a = + !1 !== Io(t, 4)._inputElement.nativeElement.focus() && a), + "ngModelChange" === e && + (a = + !1 !== (o.SyncService_BeatSaverHOT.IsEnabled = n) && a), + "change" === e && + (a = + !1 !== o.updateFeedSetting(o.SyncService_BeatSaverHOT) && + a), + a + ); + }, + LS, + zS + )), + Uo( + 4, + 1228800, + null, + 0, + DS, + [Ln, _f, oa, [8, null], Di, ES, [2, OP], [2, hp]], + null, + { change: "change" } + ), + Ko( + 1024, + null, + Ux, + function(t) { + return [t]; + }, + [DS] + ), + Uo( + 6, + 671744, + null, + 0, + Bk, + [[8, null], [8, null], [8, null], [6, Ux]], + { model: [0, "model"] }, + { update: "ngModelChange" } + ), + Ko(2048, null, Zx, null, [Bk]), + Uo(8, 16384, null, 0, Qx, [[4, Zx]], null, null), + (t()(), Rr(-1, 0, [" BeatSaver's Hot "])), + (t()(), + Cr(10, 0, null, null, 0, "br", [], null, null, null, null, null)), + (t()(), + Cr(11, 0, null, null, 0, "br", [], null, null, null, null, null)) + ], + function(t, e) { + var n = e.component; + t(e, 2, 0, n.SyncService_BeatSaverHOT), + t(e, 6, 0, n.SyncService_BeatSaverHOT.IsEnabled); + }, + function(t, e) { + t(e, 3, 1, [ + Io(e, 4).id, + Io(e, 4).disabled ? null : -1, + Io(e, 4).checked, + Io(e, 4).disabled, + "before" == Io(e, 4).labelPosition, + "NoopAnimations" === Io(e, 4)._animationMode, + Io(e, 8).ngClassUntouched, + Io(e, 8).ngClassTouched, + Io(e, 8).ngClassPristine, + Io(e, 8).ngClassDirty, + Io(e, 8).ngClassValid, + Io(e, 8).ngClassInvalid, + Io(e, 8).ngClassPending + ]); + } + ); + } + function zE(t) { + return zr( + 0, + [ + (t()(), + Cr(0, 0, null, null, 11, "div", [], null, null, null, null, null)), + (t()(), + Cr( + 1, + 0, + null, + null, + 1, + "app-sync-saber-max-songs", + [["class", "right"]], + null, + [[null, "update"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "update" === e && + (a = + !1 !== + o.updateFeedSetting(o.SyncService_BeatSaverLATEST) && + a), + a + ); + }, + SS, + wS + )), + Uo( + 2, + 114688, + null, + 0, + kS, + [], + { reader: [0, "reader"] }, + { update: "update" } + ), + (t()(), + Cr( + 3, + 0, + null, + null, + 6, + "mat-slide-toggle", + [["class", "mat-slide-toggle"]], + [ + [8, "id", 0], + [1, "tabindex", 0], + [2, "mat-checked", null], + [2, "mat-disabled", null], + [2, "mat-slide-toggle-label-before", null], + [2, "_mat-animation-noopable", null], + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null] + ], + [[null, "ngModelChange"], [null, "change"], [null, "focus"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "focus" === e && + (a = + !1 !== Io(t, 4)._inputElement.nativeElement.focus() && a), + "ngModelChange" === e && + (a = + !1 !== (o.SyncService_BeatSaverLATEST.IsEnabled = n) && + a), + "change" === e && + (a = + !1 !== + o.updateFeedSetting(o.SyncService_BeatSaverLATEST) && + a), + a + ); + }, + LS, + zS + )), + Uo( + 4, + 1228800, + null, + 0, + DS, + [Ln, _f, oa, [8, null], Di, ES, [2, OP], [2, hp]], + null, + { change: "change" } + ), + Ko( + 1024, + null, + Ux, + function(t) { + return [t]; + }, + [DS] + ), + Uo( + 6, + 671744, + null, + 0, + Bk, + [[8, null], [8, null], [8, null], [6, Ux]], + { model: [0, "model"] }, + { update: "ngModelChange" } + ), + Ko(2048, null, Zx, null, [Bk]), + Uo(8, 16384, null, 0, Qx, [[4, Zx]], null, null), + (t()(), Rr(-1, 0, [" BeatSaver's Latest "])), + (t()(), + Cr(10, 0, null, null, 0, "br", [], null, null, null, null, null)), + (t()(), + Cr(11, 0, null, null, 0, "br", [], null, null, null, null, null)) + ], + function(t, e) { + var n = e.component; + t(e, 2, 0, n.SyncService_BeatSaverLATEST), + t(e, 6, 0, n.SyncService_BeatSaverLATEST.IsEnabled); + }, + function(t, e) { + t(e, 3, 1, [ + Io(e, 4).id, + Io(e, 4).disabled ? null : -1, + Io(e, 4).checked, + Io(e, 4).disabled, + "before" == Io(e, 4).labelPosition, + "NoopAnimations" === Io(e, 4)._animationMode, + Io(e, 8).ngClassUntouched, + Io(e, 8).ngClassTouched, + Io(e, 8).ngClassPristine, + Io(e, 8).ngClassDirty, + Io(e, 8).ngClassValid, + Io(e, 8).ngClassInvalid, + Io(e, 8).ngClassPending + ]); + } + ); + } + function LE(t) { + return zr( + 0, + [ + (t()(), + Cr(0, 0, null, null, 11, "div", [], null, null, null, null, null)), + (t()(), + Cr( + 1, + 0, + null, + null, + 1, + "app-sync-saber-max-songs", + [["class", "right"]], + null, + [[null, "update"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "update" === e && + (a = + !1 !== + o.updateFeedSetting(o.SyncService_BeatSaverDOWNLOADS) && + a), + a + ); + }, + SS, + wS + )), + Uo( + 2, + 114688, + null, + 0, + kS, + [], + { reader: [0, "reader"] }, + { update: "update" } + ), + (t()(), + Cr( + 3, + 0, + null, + null, + 6, + "mat-slide-toggle", + [["class", "mat-slide-toggle"]], + [ + [8, "id", 0], + [1, "tabindex", 0], + [2, "mat-checked", null], + [2, "mat-disabled", null], + [2, "mat-slide-toggle-label-before", null], + [2, "_mat-animation-noopable", null], + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null] + ], + [[null, "ngModelChange"], [null, "change"], [null, "focus"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "focus" === e && + (a = + !1 !== Io(t, 4)._inputElement.nativeElement.focus() && a), + "ngModelChange" === e && + (a = + !1 !== (o.SyncService_BeatSaverDOWNLOADS.IsEnabled = n) && + a), + "change" === e && + (a = + !1 !== + o.updateFeedSetting(o.SyncService_BeatSaverDOWNLOADS) && + a), + a + ); + }, + LS, + zS + )), + Uo( + 4, + 1228800, + null, + 0, + DS, + [Ln, _f, oa, [8, null], Di, ES, [2, OP], [2, hp]], + null, + { change: "change" } + ), + Ko( + 1024, + null, + Ux, + function(t) { + return [t]; + }, + [DS] + ), + Uo( + 6, + 671744, + null, + 0, + Bk, + [[8, null], [8, null], [8, null], [6, Ux]], + { model: [0, "model"] }, + { update: "ngModelChange" } + ), + Ko(2048, null, Zx, null, [Bk]), + Uo(8, 16384, null, 0, Qx, [[4, Zx]], null, null), + (t()(), Rr(-1, 0, [" BeatSaver's Songs by Download "])), + (t()(), + Cr(10, 0, null, null, 0, "br", [], null, null, null, null, null)), + (t()(), + Cr(11, 0, null, null, 0, "br", [], null, null, null, null, null)) + ], + function(t, e) { + var n = e.component; + t(e, 2, 0, n.SyncService_BeatSaverDOWNLOADS), + t(e, 6, 0, n.SyncService_BeatSaverDOWNLOADS.IsEnabled); + }, + function(t, e) { + t(e, 3, 1, [ + Io(e, 4).id, + Io(e, 4).disabled ? null : -1, + Io(e, 4).checked, + Io(e, 4).disabled, + "before" == Io(e, 4).labelPosition, + "NoopAnimations" === Io(e, 4)._animationMode, + Io(e, 8).ngClassUntouched, + Io(e, 8).ngClassTouched, + Io(e, 8).ngClassPristine, + Io(e, 8).ngClassDirty, + Io(e, 8).ngClassValid, + Io(e, 8).ngClassInvalid, + Io(e, 8).ngClassPending + ]); + } + ); + } + function FE(t) { + return zr( + 0, + [ + (t()(), + Cr(0, 0, null, null, 11, "div", [], null, null, null, null, null)), + (t()(), + Cr( + 1, + 0, + null, + null, + 1, + "app-sync-saber-max-songs", + [["class", "right"]], + null, + [[null, "update"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "update" === e && + (a = + !1 !== + o.updateFeedSetting( + o.SyncService_BeastSaberCURATOR_RECOMMENDED + ) && a), + a + ); + }, + SS, + wS + )), + Uo( + 2, + 114688, + null, + 0, + kS, + [], + { reader: [0, "reader"] }, + { update: "update" } + ), + (t()(), + Cr( + 3, + 0, + null, + null, + 6, + "mat-slide-toggle", + [["class", "mat-slide-toggle"]], + [ + [8, "id", 0], + [1, "tabindex", 0], + [2, "mat-checked", null], + [2, "mat-disabled", null], + [2, "mat-slide-toggle-label-before", null], + [2, "_mat-animation-noopable", null], + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null] + ], + [[null, "ngModelChange"], [null, "change"], [null, "focus"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "focus" === e && + (a = + !1 !== Io(t, 4)._inputElement.nativeElement.focus() && a), + "ngModelChange" === e && + (a = + !1 !== + (o.SyncService_BeastSaberCURATOR_RECOMMENDED.IsEnabled = n) && + a), + "change" === e && + (a = + !1 !== + o.updateFeedSetting( + o.SyncService_BeastSaberCURATOR_RECOMMENDED + ) && a), + a + ); + }, + LS, + zS + )), + Uo( + 4, + 1228800, + null, + 0, + DS, + [Ln, _f, oa, [8, null], Di, ES, [2, OP], [2, hp]], + null, + { change: "change" } + ), + Ko( + 1024, + null, + Ux, + function(t) { + return [t]; + }, + [DS] + ), + Uo( + 6, + 671744, + null, + 0, + Bk, + [[8, null], [8, null], [8, null], [6, Ux]], + { model: [0, "model"] }, + { update: "ngModelChange" } + ), + Ko(2048, null, Zx, null, [Bk]), + Uo(8, 16384, null, 0, Qx, [[4, Zx]], null, null), + (t()(), Rr(-1, 0, [" BeastSaber's Curator Recommended "])), + (t()(), + Cr(10, 0, null, null, 0, "br", [], null, null, null, null, null)), + (t()(), + Cr(11, 0, null, null, 0, "br", [], null, null, null, null, null)) + ], + function(t, e) { + var n = e.component; + t(e, 2, 0, n.SyncService_BeastSaberCURATOR_RECOMMENDED), + t(e, 6, 0, n.SyncService_BeastSaberCURATOR_RECOMMENDED.IsEnabled); + }, + function(t, e) { + t(e, 3, 1, [ + Io(e, 4).id, + Io(e, 4).disabled ? null : -1, + Io(e, 4).checked, + Io(e, 4).disabled, + "before" == Io(e, 4).labelPosition, + "NoopAnimations" === Io(e, 4)._animationMode, + Io(e, 8).ngClassUntouched, + Io(e, 8).ngClassTouched, + Io(e, 8).ngClassPristine, + Io(e, 8).ngClassDirty, + Io(e, 8).ngClassValid, + Io(e, 8).ngClassInvalid, + Io(e, 8).ngClassPending + ]); + } + ); + } + function BE(t) { + return zr( + 0, + [ + (t()(), + Cr(0, 0, null, null, 11, "div", [], null, null, null, null, null)), + (t()(), + Cr( + 1, + 0, + null, + null, + 1, + "app-sync-saber-max-songs", + [["class", "right"]], + null, + [[null, "update"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "update" === e && + (a = + !1 !== + o.updateFeedSetting( + o.SyncService_ScoreSaberTOP_PLAYED + ) && a), + a + ); + }, + SS, + wS + )), + Uo( + 2, + 114688, + null, + 0, + kS, + [], + { reader: [0, "reader"] }, + { update: "update" } + ), + (t()(), + Cr( + 3, + 0, + null, + null, + 6, + "mat-slide-toggle", + [["class", "mat-slide-toggle"]], + [ + [8, "id", 0], + [1, "tabindex", 0], + [2, "mat-checked", null], + [2, "mat-disabled", null], + [2, "mat-slide-toggle-label-before", null], + [2, "_mat-animation-noopable", null], + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null] + ], + [[null, "ngModelChange"], [null, "change"], [null, "focus"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "focus" === e && + (a = + !1 !== Io(t, 4)._inputElement.nativeElement.focus() && a), + "ngModelChange" === e && + (a = + !1 !== + (o.SyncService_ScoreSaberTOP_PLAYED.IsEnabled = n) && + a), + "change" === e && + (a = + !1 !== + o.updateFeedSetting( + o.SyncService_ScoreSaberTOP_PLAYED + ) && a), + a + ); + }, + LS, + zS + )), + Uo( + 4, + 1228800, + null, + 0, + DS, + [Ln, _f, oa, [8, null], Di, ES, [2, OP], [2, hp]], + null, + { change: "change" } + ), + Ko( + 1024, + null, + Ux, + function(t) { + return [t]; + }, + [DS] + ), + Uo( + 6, + 671744, + null, + 0, + Bk, + [[8, null], [8, null], [8, null], [6, Ux]], + { model: [0, "model"] }, + { update: "ngModelChange" } + ), + Ko(2048, null, Zx, null, [Bk]), + Uo(8, 16384, null, 0, Qx, [[4, Zx]], null, null), + (t()(), Rr(-1, 0, [" ScoreSaber's Top Played "])), + (t()(), + Cr(10, 0, null, null, 0, "br", [], null, null, null, null, null)), + (t()(), + Cr(11, 0, null, null, 0, "br", [], null, null, null, null, null)) + ], + function(t, e) { + var n = e.component; + t(e, 2, 0, n.SyncService_ScoreSaberTOP_PLAYED), + t(e, 6, 0, n.SyncService_ScoreSaberTOP_PLAYED.IsEnabled); + }, + function(t, e) { + t(e, 3, 1, [ + Io(e, 4).id, + Io(e, 4).disabled ? null : -1, + Io(e, 4).checked, + Io(e, 4).disabled, + "before" == Io(e, 4).labelPosition, + "NoopAnimations" === Io(e, 4)._animationMode, + Io(e, 8).ngClassUntouched, + Io(e, 8).ngClassTouched, + Io(e, 8).ngClassPristine, + Io(e, 8).ngClassDirty, + Io(e, 8).ngClassValid, + Io(e, 8).ngClassInvalid, + Io(e, 8).ngClassPending + ]); + } + ); + } + function VE(t) { + return zr( + 0, + [ + (t()(), + Cr(0, 0, null, null, 9, "div", [], null, null, null, null, null)), + (t()(), + Cr( + 1, + 0, + null, + null, + 1, + "app-sync-saber-max-songs", + [["class", "right"]], + null, + [[null, "update"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "update" === e && + (a = + !1 !== + o.updateFeedSetting(o.SyncService_ScoreSaberTRENDING) && + a), + a + ); + }, + SS, + wS + )), + Uo( + 2, + 114688, + null, + 0, + kS, + [], + { reader: [0, "reader"] }, + { update: "update" } + ), + (t()(), + Cr( + 3, + 0, + null, + null, + 6, + "mat-slide-toggle", + [["class", "mat-slide-toggle"]], + [ + [8, "id", 0], + [1, "tabindex", 0], + [2, "mat-checked", null], + [2, "mat-disabled", null], + [2, "mat-slide-toggle-label-before", null], + [2, "_mat-animation-noopable", null], + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null] + ], + [[null, "ngModelChange"], [null, "change"], [null, "focus"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "focus" === e && + (a = + !1 !== Io(t, 4)._inputElement.nativeElement.focus() && a), + "ngModelChange" === e && + (a = + !1 !== (o.SyncService_ScoreSaberTRENDING.IsEnabled = n) && + a), + "change" === e && + (a = + !1 !== + o.updateFeedSetting(o.SyncService_ScoreSaberTRENDING) && + a), + a + ); + }, + LS, + zS + )), + Uo( + 4, + 1228800, + null, + 0, + DS, + [Ln, _f, oa, [8, null], Di, ES, [2, OP], [2, hp]], + null, + { change: "change" } + ), + Ko( + 1024, + null, + Ux, + function(t) { + return [t]; + }, + [DS] + ), + Uo( + 6, + 671744, + null, + 0, + Bk, + [[8, null], [8, null], [8, null], [6, Ux]], + { model: [0, "model"] }, + { update: "ngModelChange" } + ), + Ko(2048, null, Zx, null, [Bk]), + Uo(8, 16384, null, 0, Qx, [[4, Zx]], null, null), + (t()(), Rr(-1, 0, [" ScoreSaber's Trending "])) + ], + function(t, e) { + var n = e.component; + t(e, 2, 0, n.SyncService_ScoreSaberTRENDING), + t(e, 6, 0, n.SyncService_ScoreSaberTRENDING.IsEnabled); + }, + function(t, e) { + t(e, 3, 1, [ + Io(e, 4).id, + Io(e, 4).disabled ? null : -1, + Io(e, 4).checked, + Io(e, 4).disabled, + "before" == Io(e, 4).labelPosition, + "NoopAnimations" === Io(e, 4)._animationMode, + Io(e, 8).ngClassUntouched, + Io(e, 8).ngClassTouched, + Io(e, 8).ngClassPristine, + Io(e, 8).ngClassDirty, + Io(e, 8).ngClassValid, + Io(e, 8).ngClassInvalid, + Io(e, 8).ngClassPending + ]); + } + ); + } + function HE(t) { + return zr( + 0, + [ + (t()(), + Cr(0, 0, null, null, 11, "div", [], null, null, null, null, null)), + (t()(), + Cr( + 1, + 0, + null, + null, + 1, + "app-sync-saber-max-songs", + [["class", "right"]], + null, + [[null, "update"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "update" === e && + (a = + !1 !== + o.updateFeedSetting( + o.SyncService_ScoreSaberLATEST_RANKED + ) && a), + a + ); + }, + SS, + wS + )), + Uo( + 2, + 114688, + null, + 0, + kS, + [], + { reader: [0, "reader"] }, + { update: "update" } + ), + (t()(), + Cr( + 3, + 0, + null, + null, + 6, + "mat-slide-toggle", + [["class", "mat-slide-toggle"]], + [ + [8, "id", 0], + [1, "tabindex", 0], + [2, "mat-checked", null], + [2, "mat-disabled", null], + [2, "mat-slide-toggle-label-before", null], + [2, "_mat-animation-noopable", null], + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null] + ], + [[null, "ngModelChange"], [null, "change"], [null, "focus"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "focus" === e && + (a = + !1 !== Io(t, 4)._inputElement.nativeElement.focus() && a), + "ngModelChange" === e && + (a = + !1 !== + (o.SyncService_ScoreSaberLATEST_RANKED.IsEnabled = n) && + a), + "change" === e && + (a = + !1 !== + o.updateFeedSetting( + o.SyncService_ScoreSaberLATEST_RANKED + ) && a), + a + ); + }, + LS, + zS + )), + Uo( + 4, + 1228800, + null, + 0, + DS, + [Ln, _f, oa, [8, null], Di, ES, [2, OP], [2, hp]], + null, + { change: "change" } + ), + Ko( + 1024, + null, + Ux, + function(t) { + return [t]; + }, + [DS] + ), + Uo( + 6, + 671744, + null, + 0, + Bk, + [[8, null], [8, null], [8, null], [6, Ux]], + { model: [0, "model"] }, + { update: "ngModelChange" } + ), + Ko(2048, null, Zx, null, [Bk]), + Uo(8, 16384, null, 0, Qx, [[4, Zx]], null, null), + (t()(), Rr(-1, 0, [" ScoreSaber's Latest "])), + (t()(), + Cr(10, 0, null, null, 0, "br", [], null, null, null, null, null)), + (t()(), + Cr(11, 0, null, null, 0, "br", [], null, null, null, null, null)) + ], + function(t, e) { + var n = e.component; + t(e, 2, 0, n.SyncService_ScoreSaberLATEST_RANKED), + t(e, 6, 0, n.SyncService_ScoreSaberLATEST_RANKED.IsEnabled); + }, + function(t, e) { + t(e, 3, 1, [ + Io(e, 4).id, + Io(e, 4).disabled ? null : -1, + Io(e, 4).checked, + Io(e, 4).disabled, + "before" == Io(e, 4).labelPosition, + "NoopAnimations" === Io(e, 4)._animationMode, + Io(e, 8).ngClassUntouched, + Io(e, 8).ngClassTouched, + Io(e, 8).ngClassPristine, + Io(e, 8).ngClassDirty, + Io(e, 8).ngClassValid, + Io(e, 8).ngClassInvalid, + Io(e, 8).ngClassPending + ]); + } + ); + } + function jE(t) { + return zr( + 0, + [ + (t()(), + Cr(0, 0, null, null, 9, "div", [], null, null, null, null, null)), + (t()(), + Cr( + 1, + 0, + null, + null, + 1, + "app-sync-saber-max-songs", + [["class", "right"]], + null, + [[null, "update"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "update" === e && + (a = + !1 !== + o.updateFeedSetting( + o.SyncService_ScoreSaberTOP_RANKED + ) && a), + a + ); + }, + SS, + wS + )), + Uo( + 2, + 114688, + null, + 0, + kS, + [], + { reader: [0, "reader"] }, + { update: "update" } + ), + (t()(), + Cr( + 3, + 0, + null, + null, + 6, + "mat-slide-toggle", + [["class", "mat-slide-toggle"]], + [ + [8, "id", 0], + [1, "tabindex", 0], + [2, "mat-checked", null], + [2, "mat-disabled", null], + [2, "mat-slide-toggle-label-before", null], + [2, "_mat-animation-noopable", null], + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null] + ], + [[null, "ngModelChange"], [null, "change"], [null, "focus"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "focus" === e && + (a = + !1 !== Io(t, 4)._inputElement.nativeElement.focus() && a), + "ngModelChange" === e && + (a = + !1 !== + (o.SyncService_ScoreSaberTOP_RANKED.IsEnabled = n) && + a), + "change" === e && + (a = + !1 !== + o.updateFeedSetting( + o.SyncService_ScoreSaberTOP_RANKED + ) && a), + a + ); + }, + LS, + zS + )), + Uo( + 4, + 1228800, + null, + 0, + DS, + [Ln, _f, oa, [8, null], Di, ES, [2, OP], [2, hp]], + null, + { change: "change" } + ), + Ko( + 1024, + null, + Ux, + function(t) { + return [t]; + }, + [DS] + ), + Uo( + 6, + 671744, + null, + 0, + Bk, + [[8, null], [8, null], [8, null], [6, Ux]], + { model: [0, "model"] }, + { update: "ngModelChange" } + ), + Ko(2048, null, Zx, null, [Bk]), + Uo(8, 16384, null, 0, Qx, [[4, Zx]], null, null), + (t()(), Rr(-1, 0, [" ScoreSaber's Top Ranked "])) + ], + function(t, e) { + var n = e.component; + t(e, 2, 0, n.SyncService_ScoreSaberTOP_RANKED), + t(e, 6, 0, n.SyncService_ScoreSaberTOP_RANKED.IsEnabled); + }, + function(t, e) { + t(e, 3, 1, [ + Io(e, 4).id, + Io(e, 4).disabled ? null : -1, + Io(e, 4).checked, + Io(e, 4).disabled, + "before" == Io(e, 4).labelPosition, + "NoopAnimations" === Io(e, 4)._animationMode, + Io(e, 8).ngClassUntouched, + Io(e, 8).ngClassTouched, + Io(e, 8).ngClassPristine, + Io(e, 8).ngClassDirty, + Io(e, 8).ngClassValid, + Io(e, 8).ngClassInvalid, + Io(e, 8).ngClassPending + ]); + } + ); + } + function UE(t) { + return zr( + 0, + [ + (t()(), + Cr(0, 0, null, null, 11, "div", [], null, null, null, null, null)), + (t()(), + Cr( + 1, + 0, + null, + null, + 1, + "app-sync-saber-max-songs", + [["class", "right"]], + null, + [[null, "update"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "update" === e && + (a = + !1 !== + o.updateFeedSetting( + o.SyncService_BeastSaberFOLLOWING + ) && a), + a + ); + }, + SS, + wS + )), + Uo( + 2, + 114688, + null, + 0, + kS, + [], + { reader: [0, "reader"] }, + { update: "update" } + ), + (t()(), + Cr( + 3, + 0, + null, + null, + 6, + "mat-slide-toggle", + [["class", "mat-slide-toggle"]], + [ + [8, "id", 0], + [1, "tabindex", 0], + [2, "mat-checked", null], + [2, "mat-disabled", null], + [2, "mat-slide-toggle-label-before", null], + [2, "_mat-animation-noopable", null], + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null] + ], + [[null, "ngModelChange"], [null, "change"], [null, "focus"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "focus" === e && + (a = + !1 !== Io(t, 4)._inputElement.nativeElement.focus() && a), + "ngModelChange" === e && + (a = + !1 !== + (o.SyncService_BeastSaberFOLLOWING.IsEnabled = n) && a), + "change" === e && + (a = + !1 !== + o.updateFeedSetting( + o.SyncService_BeastSaberFOLLOWING + ) && a), + a + ); + }, + LS, + zS + )), + Uo( + 4, + 1228800, + null, + 0, + DS, + [Ln, _f, oa, [8, null], Di, ES, [2, OP], [2, hp]], + null, + { change: "change" } + ), + Ko( + 1024, + null, + Ux, + function(t) { + return [t]; + }, + [DS] + ), + Uo( + 6, + 671744, + null, + 0, + Bk, + [[8, null], [8, null], [8, null], [6, Ux]], + { model: [0, "model"] }, + { update: "ngModelChange" } + ), + Ko(2048, null, Zx, null, [Bk]), + Uo(8, 16384, null, 0, Qx, [[4, Zx]], null, null), + (t()(), Rr(-1, 0, [" BeastSaber's Following "])), + (t()(), + Cr(10, 0, null, null, 0, "br", [], null, null, null, null, null)), + (t()(), + Cr(11, 0, null, null, 0, "br", [], null, null, null, null, null)) + ], + function(t, e) { + var n = e.component; + t(e, 2, 0, n.SyncService_BeastSaberFOLLOWING), + t(e, 6, 0, n.SyncService_BeastSaberFOLLOWING.IsEnabled); + }, + function(t, e) { + t(e, 3, 1, [ + Io(e, 4).id, + Io(e, 4).disabled ? null : -1, + Io(e, 4).checked, + Io(e, 4).disabled, + "before" == Io(e, 4).labelPosition, + "NoopAnimations" === Io(e, 4)._animationMode, + Io(e, 8).ngClassUntouched, + Io(e, 8).ngClassTouched, + Io(e, 8).ngClassPristine, + Io(e, 8).ngClassDirty, + Io(e, 8).ngClassValid, + Io(e, 8).ngClassInvalid, + Io(e, 8).ngClassPending + ]); + } + ); + } + function qE(t) { + return zr( + 0, + [ + (t()(), + Cr(0, 0, null, null, 11, "div", [], null, null, null, null, null)), + (t()(), + Cr( + 1, + 0, + null, + null, + 1, + "app-sync-saber-max-songs", + [["class", "right"]], + null, + [[null, "update"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "update" === e && + (a = + !1 !== + o.updateFeedSetting( + o.SyncService_BeastSaberBOOKMARKS + ) && a), + a + ); + }, + SS, + wS + )), + Uo( + 2, + 114688, + null, + 0, + kS, + [], + { reader: [0, "reader"] }, + { update: "update" } + ), + (t()(), + Cr( + 3, + 0, + null, + null, + 6, + "mat-slide-toggle", + [["class", "mat-slide-toggle"]], + [ + [8, "id", 0], + [1, "tabindex", 0], + [2, "mat-checked", null], + [2, "mat-disabled", null], + [2, "mat-slide-toggle-label-before", null], + [2, "_mat-animation-noopable", null], + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null] + ], + [[null, "ngModelChange"], [null, "change"], [null, "focus"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "focus" === e && + (a = + !1 !== Io(t, 4)._inputElement.nativeElement.focus() && a), + "ngModelChange" === e && + (a = + !1 !== + (o.SyncService_BeastSaberBOOKMARKS.IsEnabled = n) && a), + "change" === e && + (a = + !1 !== + o.updateFeedSetting( + o.SyncService_BeastSaberBOOKMARKS + ) && a), + a + ); + }, + LS, + zS + )), + Uo( + 4, + 1228800, + null, + 0, + DS, + [Ln, _f, oa, [8, null], Di, ES, [2, OP], [2, hp]], + null, + { change: "change" } + ), + Ko( + 1024, + null, + Ux, + function(t) { + return [t]; + }, + [DS] + ), + Uo( + 6, + 671744, + null, + 0, + Bk, + [[8, null], [8, null], [8, null], [6, Ux]], + { model: [0, "model"] }, + { update: "ngModelChange" } + ), + Ko(2048, null, Zx, null, [Bk]), + Uo(8, 16384, null, 0, Qx, [[4, Zx]], null, null), + (t()(), Rr(-1, 0, [" BeastSaber's Bookmarks "])), + (t()(), + Cr(10, 0, null, null, 0, "br", [], null, null, null, null, null)), + (t()(), + Cr(11, 0, null, null, 0, "br", [], null, null, null, null, null)) + ], + function(t, e) { + var n = e.component; + t(e, 2, 0, n.SyncService_BeastSaberBOOKMARKS), + t(e, 6, 0, n.SyncService_BeastSaberBOOKMARKS.IsEnabled); + }, + function(t, e) { + t(e, 3, 1, [ + Io(e, 4).id, + Io(e, 4).disabled ? null : -1, + Io(e, 4).checked, + Io(e, 4).disabled, + "before" == Io(e, 4).labelPosition, + "NoopAnimations" === Io(e, 4)._animationMode, + Io(e, 8).ngClassUntouched, + Io(e, 8).ngClassTouched, + Io(e, 8).ngClassPristine, + Io(e, 8).ngClassDirty, + Io(e, 8).ngClassValid, + Io(e, 8).ngClassInvalid, + Io(e, 8).ngClassPending + ]); + } + ); + } + function KE(t) { + return zr( + 0, + [ + (t()(), + Cr(0, 0, null, null, 9, "div", [], null, null, null, null, null)), + (t()(), + Cr( + 1, + 0, + null, + null, + 1, + "app-sync-saber-max-songs", + [["class", "right"]], + null, + [[null, "update"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "update" === e && + (a = + !1 !== + o.updateFeedSetting(o.SyncService_BeatSaverAUTHOR) && + a), + a + ); + }, + SS, + wS + )), + Uo( + 2, + 114688, + null, + 0, + kS, + [], + { reader: [0, "reader"] }, + { update: "update" } + ), + (t()(), + Cr( + 3, + 0, + null, + null, + 6, + "mat-slide-toggle", + [["class", "mat-slide-toggle"]], + [ + [8, "id", 0], + [1, "tabindex", 0], + [2, "mat-checked", null], + [2, "mat-disabled", null], + [2, "mat-slide-toggle-label-before", null], + [2, "_mat-animation-noopable", null], + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null] + ], + [[null, "ngModelChange"], [null, "change"], [null, "focus"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "focus" === e && + (a = + !1 !== Io(t, 4)._inputElement.nativeElement.focus() && a), + "ngModelChange" === e && + (a = + !1 !== (o.SyncService_BeatSaverAUTHOR.IsEnabled = n) && + a), + "change" === e && + (a = + !1 !== + o.updateFeedSetting(o.SyncService_BeatSaverAUTHOR) && + a), + a + ); + }, + LS, + zS + )), + Uo( + 4, + 1228800, + null, + 0, + DS, + [Ln, _f, oa, [8, null], Di, ES, [2, OP], [2, hp]], + null, + { change: "change" } + ), + Ko( + 1024, + null, + Ux, + function(t) { + return [t]; + }, + [DS] + ), + Uo( + 6, + 671744, + null, + 0, + Bk, + [[8, null], [8, null], [8, null], [6, Ux]], + { model: [0, "model"] }, + { update: "ngModelChange" } + ), + Ko(2048, null, Zx, null, [Bk]), + Uo(8, 16384, null, 0, Qx, [[4, Zx]], null, null), + (t()(), Rr(-1, 0, [" BeatSaver's Authors "])) + ], + function(t, e) { + var n = e.component; + t(e, 2, 0, n.SyncService_BeatSaverAUTHOR), + t(e, 6, 0, n.SyncService_BeatSaverAUTHOR.IsEnabled); + }, + function(t, e) { + t(e, 3, 1, [ + Io(e, 4).id, + Io(e, 4).disabled ? null : -1, + Io(e, 4).checked, + Io(e, 4).disabled, + "before" == Io(e, 4).labelPosition, + "NoopAnimations" === Io(e, 4)._animationMode, + Io(e, 8).ngClassUntouched, + Io(e, 8).ngClassTouched, + Io(e, 8).ngClassPristine, + Io(e, 8).ngClassDirty, + Io(e, 8).ngClassValid, + Io(e, 8).ngClassInvalid, + Io(e, 8).ngClassPending + ]); + } + ); + } + function YE(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 9, + "mat-chip", + [ + ["class", "mat-chip"], + ["removable", "true"], + ["role", "option"] + ], + [ + [1, "tabindex", 0], + [2, "mat-chip-selected", null], + [2, "mat-chip-with-avatar", null], + [2, "mat-chip-with-trailing-icon", null], + [2, "mat-chip-disabled", null], + [1, "disabled", 0], + [1, "aria-disabled", 0], + [1, "aria-selected", 0] + ], + [ + [null, "removed"], + [null, "click"], + [null, "keydown"], + [null, "focus"], + [null, "blur"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "click" === e && (a = !1 !== Io(t, 1)._handleClick(n) && a), + "keydown" === e && + (a = !1 !== Io(t, 1)._handleKeydown(n) && a), + "focus" === e && (a = !1 !== Io(t, 1).focus() && a), + "blur" === e && (a = !1 !== Io(t, 1)._blur() && a), + "removed" === e && + (a = !1 !== o.removeAuthor(t.context.$implicit) && a), + a + ); + }, + null, + null + )), + Uo( + 1, + 147456, + [[10, 4]], + 3, + VS, + [Ln, Di, Op, [2, Uf]], + { selectable: [0, "selectable"], removable: [1, "removable"] }, + { removed: "removed" } + ), + vr(603979776, 11, { avatar: 0 }), + vr(603979776, 12, { trailingIcon: 0 }), + vr(603979776, 13, { removeIcon: 0 }), + (t()(), Rr(5, null, [" ", " "])), + (t()(), + Cr( + 6, + 0, + null, + null, + 3, + "mat-icon", + [ + [ + "class", + "mat-icon notranslate mat-chip-remove mat-chip-trailing-icon" + ], + ["matChipRemove", ""], + ["role", "img"] + ], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && (a = !1 !== Io(t, 8)._handleClick(n) && a), a + ); + }, + _b, + bb + )), + Uo( + 7, + 9158656, + null, + 0, + pb, + [Ln, rb, [8, null], [2, ub]], + null, + null + ), + Uo(8, 16384, [[13, 4]], 0, HS, [VS], null, null), + (t()(), Rr(-1, 0, ["cancel"])) + ], + function(t, e) { + t(e, 1, 0, e.component.selectable, "true"), t(e, 7, 0); + }, + function(t, e) { + t( + e, + 0, + 0, + Io(e, 1).disabled ? null : -1, + Io(e, 1).selected, + Io(e, 1).avatar, + Io(e, 1).trailingIcon || Io(e, 1).removeIcon, + Io(e, 1).disabled, + Io(e, 1).disabled || null, + Io(e, 1).disabled.toString(), + Io(e, 1).ariaSelected + ), + t(e, 5, 0, e.context.$implicit), + t( + e, + 6, + 0, + Io(e, 7).inline, + "primary" !== Io(e, 7).color && + "accent" !== Io(e, 7).color && + "warn" !== Io(e, 7).color + ); + } + ); + } + function WE(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 103, + "mat-card", + [["class", "setup-card mat-card"]], + null, + null, + null, + $f, + Gf + )), + Uo(1, 49152, null, 0, cp, [], null, null), + (t()(), + Cr( + 2, + 0, + null, + 0, + 37, + "mat-card-header", + [["class", "mat-card-header"]], + null, + null, + null, + Qf, + Zf + )), + Uo(3, 49152, null, 0, dp, [], null, null), + (t()(), + Cr( + 4, + 0, + null, + 0, + 4, + "div", + [["class", "mat-card-avatar"], ["mat-card-avatar", ""]], + null, + null, + null, + null, + null + )), + Uo(5, 16384, null, 0, sp, [], null, null), + (t()(), + Cr( + 6, + 0, + null, + null, + 2, + "mat-icon", + [ + ["aria-hidden", "false"], + ["class", "setup-icon mat-icon notranslate"], + ["role", "img"] + ], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + _b, + bb + )), + Uo( + 7, + 9158656, + null, + 0, + pb, + [Ln, rb, [8, "false"], [2, ub]], + null, + null + ), + (t()(), Rr(-1, 0, ["sync"])), + (t()(), + Cr( + 9, + 0, + null, + 1, + 2, + "mat-card-title", + [["class", "mat-card-title"]], + null, + null, + null, + null, + null + )), + Uo(10, 16384, null, 0, ip, [], null, null), + (t()(), Rr(-1, null, ["SyncSaber Feeds"])), + (t()(), + Cr( + 12, + 0, + null, + 1, + 2, + "mat-card-subtitle", + [["class", "mat-card-subtitle"]], + null, + null, + null, + null, + null + )), + Uo(13, 16384, null, 0, rp, [], null, null), + (t()(), + Rr(-1, null, ["Automatic feed sync from online song feeds."])), + (t()(), + Cr( + 15, + 0, + null, + 2, + 19, + "div", + [["class", "username-container"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 16, + 0, + null, + null, + 18, + "mat-form-field", + [["class", "input-width mat-form-field"]], + [ + [2, "mat-form-field-appearance-standard", null], + [2, "mat-form-field-appearance-fill", null], + [2, "mat-form-field-appearance-outline", null], + [2, "mat-form-field-appearance-legacy", null], + [2, "mat-form-field-invalid", null], + [2, "mat-form-field-can-float", null], + [2, "mat-form-field-should-float", null], + [2, "mat-form-field-has-label", null], + [2, "mat-form-field-hide-placeholder", null], + [2, "mat-form-field-disabled", null], + [2, "mat-form-field-autofilled", null], + [2, "mat-focused", null], + [2, "mat-accent", null], + [2, "mat-warn", null], + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null], + [2, "_mat-animation-noopable", null] + ], + null, + null, + bE, + iE + )), + Uo( + 17, + 7520256, + null, + 9, + aE, + [Ln, oa, [2, Wf], [2, hp], [2, nE], Op, Di, [2, OP]], + null, + null + ), + vr(603979776, 1, { _controlNonStatic: 0 }), + vr(335544320, 2, { _controlStatic: 0 }), + vr(603979776, 3, { _labelChildNonStatic: 0 }), + vr(335544320, 4, { _labelChildStatic: 0 }), + vr(603979776, 5, { _placeholderChild: 0 }), + vr(603979776, 6, { _errorChildren: 1 }), + vr(603979776, 7, { _hintChildren: 1 }), + vr(603979776, 8, { _prefixChildren: 1 }), + vr(603979776, 9, { _suffixChildren: 1 }), + (t()(), + Cr( + 27, + 0, + null, + 1, + 7, + "input", + [ + ["class", "mat-input-element mat-form-field-autofill-control"], + ["matInput", ""], + ["placeholder", "Beast Saber Username"] + ], + [ + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null], + [2, "mat-input-server", null], + [1, "id", 0], + [1, "placeholder", 0], + [8, "disabled", 0], + [8, "required", 0], + [1, "readonly", 0], + [1, "aria-describedby", 0], + [1, "aria-invalid", 0], + [1, "aria-required", 0] + ], + [ + [null, "ngModelChange"], + [null, "input"], + [null, "blur"], + [null, "compositionstart"], + [null, "compositionend"], + [null, "focus"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "input" === e && + (a = !1 !== Io(t, 28)._handleInput(n.target.value) && a), + "blur" === e && (a = !1 !== Io(t, 28).onTouched() && a), + "compositionstart" === e && + (a = !1 !== Io(t, 28)._compositionStart() && a), + "compositionend" === e && + (a = !1 !== Io(t, 28)._compositionEnd(n.target.value) && a), + "blur" === e && (a = !1 !== Io(t, 33)._focusChanged(!1) && a), + "focus" === e && + (a = !1 !== Io(t, 33)._focusChanged(!0) && a), + "input" === e && (a = !1 !== Io(t, 33)._onInput() && a), + "ngModelChange" === e && + (a = !1 !== (o.BeastSaberUsername = n) && a), + "input" === e && (a = !1 !== o.setBeastSaberUsername() && a), + a + ); + }, + null, + null + )), + Uo(28, 16384, null, 0, Yx, [jn, Ln, [2, Kx]], null, null), + Ko( + 1024, + null, + Ux, + function(t) { + return [t]; + }, + [Yx] + ), + Uo( + 30, + 671744, + null, + 0, + Bk, + [[8, null], [8, null], [8, null], [6, Ux]], + { model: [0, "model"] }, + { update: "ngModelChange" } + ), + Ko(2048, null, Zx, null, [Bk]), + Uo(32, 16384, null, 0, Qx, [[4, Zx]], null, null), + Uo( + 33, + 999424, + null, + 0, + xE, + [Ln, Op, [6, Zx], [2, Rk], [2, Hk], Ef, [8, null], CE, Di], + { placeholder: [0, "placeholder"] }, + null + ), + Ko(2048, [[1, 4], [2, 4]], QS, null, [xE]), + (t()(), + Cr( + 35, + 0, + null, + 2, + 4, + "button", + [ + ["class", "syncButton"], + ["color", "accent"], + ["mat-raised-button", ""] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && (a = !1 !== t.component.clickSyncNow() && a), + a + ); + }, + vP, + yP + )), + Uo( + 36, + 180224, + null, + 0, + Mb, + [Ln, _f, [2, OP]], + { disabled: [0, "disabled"], color: [1, "color"] }, + null + ), + (t()(), _r(16777216, null, 0, 1, null, DE)), + Uo(38, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), Rr(-1, 0, ["Start Sync"])), + (t()(), + Cr( + 40, + 0, + null, + 0, + 63, + "mat-card-content", + [["class", "mat-card-content"]], + null, + null, + null, + null, + null + )), + Uo(41, 16384, null, 0, op, [], null, null), + (t()(), + Cr( + 42, + 0, + null, + null, + 61, + "div", + [["class", "innerScroll"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 43, + 0, + null, + null, + 60, + "mat-card", + [["class", "mat-card"]], + null, + null, + null, + $f, + Gf + )), + Uo(44, 49152, null, 0, cp, [], null, null), + (t()(), + Cr( + 45, + 0, + null, + 0, + 56, + "div", + [["class", "outer-container"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 46, + 0, + null, + null, + 31, + "div", + [["class", "left-col"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 47, + 0, + null, + null, + 1, + "div", + [["class", "right-select-all"]], + null, + null, + null, + null, + null + )), + (t()(), Rr(-1, null, ["Max Songs"])), + (t()(), + Cr(49, 0, null, null, 1, "h1", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["What's Popular "])), + (t()(), + Cr(51, 0, null, null, 0, "hr", [], null, null, null, null, null)), + (t()(), + Cr( + 52, + 0, + null, + null, + 12, + "div", + [["class", "left-padd-gate"]], + null, + null, + null, + null, + null + )), + (t()(), _r(16777216, null, null, 1, null, NE)), + Uo(54, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, null, 1, null, zE)), + Uo(56, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, null, 1, null, LE)), + Uo(58, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, null, 1, null, FE)), + Uo(60, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, null, 1, null, BE)), + Uo(62, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, null, 1, null, VE)), + Uo(64, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), + Cr(65, 0, null, null, 0, "br", [], null, null, null, null, null)), + (t()(), + Cr(66, 0, null, null, 0, "br", [], null, null, null, null, null)), + (t()(), + Cr(67, 0, null, null, 0, "br", [], null, null, null, null, null)), + (t()(), + Cr( + 68, + 0, + null, + null, + 1, + "div", + [["class", "right-select-all"]], + null, + null, + null, + null, + null + )), + (t()(), Rr(-1, null, ["Max Songs"])), + (t()(), + Cr(70, 0, null, null, 1, "h1", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["For a Challenge "])), + (t()(), + Cr(72, 0, null, null, 0, "hr", [], null, null, null, null, null)), + (t()(), + Cr( + 73, + 0, + null, + null, + 4, + "div", + [["class", "left-padd-gate"]], + null, + null, + null, + null, + null + )), + (t()(), _r(16777216, null, null, 1, null, HE)), + Uo(75, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, null, 1, null, jE)), + Uo(77, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), + Cr( + 78, + 0, + null, + null, + 23, + "div", + [["class", "right-col"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 79, + 0, + null, + null, + 1, + "div", + [["class", "right-select-all"]], + null, + null, + null, + null, + null + )), + (t()(), Rr(-1, null, ["Max Songs"])), + (t()(), + Cr(81, 0, null, null, 1, "h1", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["For Me "])), + (t()(), + Cr(83, 0, null, null, 0, "hr", [], null, null, null, null, null)), + (t()(), + Cr( + 84, + 0, + null, + null, + 14, + "div", + [["class", "left-padd-gate"]], + null, + null, + null, + null, + null + )), + (t()(), _r(16777216, null, null, 1, null, UE)), + Uo(86, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, null, 1, null, qE)), + Uo(88, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, null, 1, null, KE)), + Uo(90, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), + Cr( + 91, + 0, + null, + null, + 7, + "mat-chip-list", + [["class", "authorList mat-chip-list"]], + [ + [1, "tabindex", 0], + [1, "aria-describedby", 0], + [1, "aria-required", 0], + [1, "aria-disabled", 0], + [1, "aria-invalid", 0], + [1, "aria-multiselectable", 0], + [1, "role", 0], + [2, "mat-chip-list-disabled", null], + [2, "mat-chip-list-invalid", null], + [2, "mat-chip-list-required", null], + [1, "aria-orientation", 0], + [8, "id", 0] + ], + [[null, "focus"], [null, "blur"], [null, "keydown"]], + function(t, e, n) { + var a = !0; + return ( + "focus" === e && (a = !1 !== Io(t, 93).focus() && a), + "blur" === e && (a = !1 !== Io(t, 93)._blur() && a), + "keydown" === e && (a = !1 !== Io(t, 93)._keydown(n) && a), + a + ); + }, + SE, + wE + )), + Ko(6144, null, QS, null, [WS]), + Uo( + 93, + 1556480, + [["chipList", 4]], + 1, + WS, + [Ln, oa, [2, hp], [2, Rk], [2, Hk], Ef, [8, null]], + null, + null + ), + vr(603979776, 10, { chips: 1 }), + (t()(), _r(16777216, null, 0, 1, null, YE)), + Uo( + 96, + 278528, + null, + 0, + Os, + [ua, ca, na], + { ngForOf: [0, "ngForOf"] }, + null + ), + (t()(), + Cr( + 97, + 0, + null, + 0, + 1, + "input", + [ + ["class", "mat-chip-input mat-input-element"], + ["matChipInputAddOnBlur", "true"], + ["placeholder", "New Author..."] + ], + [ + [8, "id", 0], + [1, "disabled", 0], + [1, "placeholder", 0], + [1, "aria-invalid", 0] + ], + [ + [null, "matChipInputTokenEnd"], + [null, "keydown"], + [null, "blur"], + [null, "focus"], + [null, "input"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "keydown" === e && (a = !1 !== Io(t, 98)._keydown(n) && a), + "blur" === e && (a = !1 !== Io(t, 98)._blur() && a), + "focus" === e && (a = !1 !== Io(t, 98)._focus() && a), + "input" === e && (a = !1 !== Io(t, 98)._onInput() && a), + "matChipInputTokenEnd" === e && + (a = !1 !== o.addAuthor(n) && a), + a + ); + }, + null, + null + )), + Uo( + 98, + 540672, + null, + 0, + $S, + [Ln, jS], + { + chipList: [0, "chipList"], + addOnBlur: [1, "addOnBlur"], + separatorKeyCodes: [2, "separatorKeyCodes"], + placeholder: [3, "placeholder"] + }, + { chipEnd: "matChipInputTokenEnd" } + ), + (t()(), + Cr(99, 0, null, null, 0, "br", [], null, null, null, null, null)), + (t()(), + Cr(100, 0, null, null, 0, "br", [], null, null, null, null, null)), + (t()(), + Cr(101, 0, null, null, 0, "br", [], null, null, null, null, null)), + (t()(), + Cr( + 102, + 0, + null, + 0, + 1, + "mat-card-actions", + [["class", "right-align mat-card-actions"]], + [[2, "mat-card-actions-align-end", null]], + null, + null, + null, + null + )), + Uo(103, 16384, null, 0, lp, [], null, null) + ], + function(t, e) { + var n = e.component; + t(e, 7, 0), + t(e, 30, 0, n.BeastSaberUsername), + t(e, 33, 0, "Beast Saber Username"), + t(e, 36, 0, n.syncDisabled, "accent"), + t(e, 38, 0, n.syncDisabled), + t(e, 54, 0, n.SyncService_BeatSaverHOT), + t(e, 56, 0, n.SyncService_BeatSaverLATEST), + t(e, 58, 0, n.SyncService_BeatSaverDOWNLOADS), + t(e, 60, 0, n.SyncService_BeastSaberCURATOR_RECOMMENDED), + t(e, 62, 0, n.SyncService_ScoreSaberTOP_PLAYED), + t(e, 64, 0, n.SyncService_ScoreSaberTRENDING), + t(e, 75, 0, n.SyncService_ScoreSaberTOP_RANKED), + t(e, 77, 0, n.SyncService_ScoreSaberTOP_RANKED), + t(e, 86, 0, n.SyncService_BeastSaberFOLLOWING), + t(e, 88, 0, n.SyncService_BeastSaberBOOKMARKS), + t(e, 90, 0, n.SyncService_BeatSaverAUTHOR), + t(e, 93, 0), + t(e, 96, 0, n.SyncService_BeatSaverAUTHOR.Authors), + t( + e, + 98, + 0, + Io(e, 93), + "true", + n.separatorKeysCodes, + "New Author..." + ); + }, + function(t, e) { + t( + e, + 6, + 0, + Io(e, 7).inline, + "primary" !== Io(e, 7).color && + "accent" !== Io(e, 7).color && + "warn" !== Io(e, 7).color + ), + t(e, 16, 1, [ + "standard" == Io(e, 17).appearance, + "fill" == Io(e, 17).appearance, + "outline" == Io(e, 17).appearance, + "legacy" == Io(e, 17).appearance, + Io(e, 17)._control.errorState, + Io(e, 17)._canLabelFloat, + Io(e, 17)._shouldLabelFloat(), + Io(e, 17)._hasFloatingLabel(), + Io(e, 17)._hideControlPlaceholder(), + Io(e, 17)._control.disabled, + Io(e, 17)._control.autofilled, + Io(e, 17)._control.focused, + "accent" == Io(e, 17).color, + "warn" == Io(e, 17).color, + Io(e, 17)._shouldForward("untouched"), + Io(e, 17)._shouldForward("touched"), + Io(e, 17)._shouldForward("pristine"), + Io(e, 17)._shouldForward("dirty"), + Io(e, 17)._shouldForward("valid"), + Io(e, 17)._shouldForward("invalid"), + Io(e, 17)._shouldForward("pending"), + !Io(e, 17)._animationsEnabled + ]), + t(e, 27, 1, [ + Io(e, 32).ngClassUntouched, + Io(e, 32).ngClassTouched, + Io(e, 32).ngClassPristine, + Io(e, 32).ngClassDirty, + Io(e, 32).ngClassValid, + Io(e, 32).ngClassInvalid, + Io(e, 32).ngClassPending, + Io(e, 33)._isServer, + Io(e, 33).id, + Io(e, 33).placeholder, + Io(e, 33).disabled, + Io(e, 33).required, + (Io(e, 33).readonly && !Io(e, 33)._isNativeSelect) || null, + Io(e, 33)._ariaDescribedby || null, + Io(e, 33).errorState, + Io(e, 33).required.toString() + ]), + t( + e, + 35, + 0, + Io(e, 36).disabled || null, + "NoopAnimations" === Io(e, 36)._animationMode + ), + t(e, 91, 1, [ + Io(e, 93).disabled ? null : Io(e, 93)._tabIndex, + Io(e, 93)._ariaDescribedby || null, + Io(e, 93).required.toString(), + Io(e, 93).disabled.toString(), + Io(e, 93).errorState, + Io(e, 93).multiple, + Io(e, 93).role, + Io(e, 93).disabled, + Io(e, 93).errorState, + Io(e, 93).required, + Io(e, 93).ariaOrientation, + Io(e, 93)._uid + ]), + t( + e, + 97, + 0, + Io(e, 98).id, + Io(e, 98).disabled || null, + Io(e, 98).placeholder || null, + Io(e, 98)._chipList && Io(e, 98)._chipList.ngControl + ? Io(e, 98)._chipList.ngControl.invalid + : null + ), + t(e, 102, 0, "end" === Io(e, 103).align); + } + ); + } + function GE(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "app-sync-saber", + [], + null, + null, + null, + WE, + RE + )), + Uo(1, 114688, null, 0, TE, [vc, Lg, bg], null, null) + ], + function(t, e) { + t(e, 1, 0); + }, + null + ); + } + var $E = Co("app-sync-saber", TE, GE, {}, {}, []); + class ZE {} + const QE = xf(ZE); + class XE {} + const JE = xf(XE), + tI = (() => + class extends QE { + constructor() { + super(...arguments), (this._stateChanges = new w()); + } + ngOnChanges() { + this._stateChanges.next(); + } + ngOnDestroy() { + this._stateChanges.complete(); + } + })(), + eI = (() => + class extends QE { + constructor(t) { + super(), + (this._elementRef = t), + (this._stateChanges = new w()), + "action-list" === this._getListType() && + t.nativeElement.classList.add("mat-action-list"); + } + _getListType() { + const t = this._elementRef.nativeElement.nodeName.toLowerCase(); + return "mat-list" === t + ? "list" + : "mat-action-list" === t + ? "action-list" + : null; + } + ngOnChanges() { + this._stateChanges.next(); + } + ngOnDestroy() { + this._stateChanges.complete(); + } + })(), + nI = (() => + class extends JE { + constructor(t, e, n, a) { + super(), + (this._element = t), + (this._isInteractiveList = !1), + (this._destroyed = new w()), + (this._isInteractiveList = !!( + n || + (a && "action-list" === a._getListType()) + )), + (this._list = n || a); + const o = this._getHostElement(); + "button" !== o.nodeName.toLowerCase() || + o.hasAttribute("type") || + o.setAttribute("type", "button"), + this._list && + this._list._stateChanges + .pipe(oO(this._destroyed)) + .subscribe(() => { + e.markForCheck(); + }); + } + ngAfterContentInit() { + var t, e; + (e = this._element), + (t = this._lines).changes + .pipe(id(t)) + .subscribe(({ length: t }) => { + Nf(e, "mat-2-line", !1), + Nf(e, "mat-3-line", !1), + Nf(e, "mat-multi-line", !1), + 2 === t || 3 === t + ? Nf(e, `mat-${t}-line`, !0) + : t > 3 && Nf(e, "mat-multi-line", !0); + }); + } + ngOnDestroy() { + this._destroyed.next(), this._destroyed.complete(); + } + _isRippleDisabled() { + return ( + !this._isInteractiveList || + this.disableRipple || + !(!this._list || !this._list.disableRipple) + ); + } + _getHostElement() { + return this._element.nativeElement; + } + })(), + aI = (() => class {})(), + oI = (() => class {})(); + var iI = Ia({ + encapsulation: 2, + styles: [ + ".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:0}mat-action-list button{background:0 0;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:0}@media (-ms-high-contrast:active){.mat-selection-list:focus{outline-style:dotted}.mat-list-option:focus,.mat-list-option:hover,.mat-nav-list .mat-list-item:focus,.mat-nav-list .mat-list-item:hover,mat-action-list .mat-list-item:focus,mat-action-list .mat-list-item:hover{outline:dotted 1px}}@media (hover:none){.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover{background:0 0}}" + ], + data: {} + }); + function rI(t) { + return zr(2, [Er(null, 0)], null, null); + } + var lI = Ia({ encapsulation: 2, styles: [], data: {} }); + function sI(t) { + return zr( + 2, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 6, + "div", + [["class", "mat-list-item-content"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 1, + 0, + null, + null, + 1, + "div", + [ + ["class", "mat-list-item-ripple mat-ripple"], + ["mat-ripple", ""] + ], + [[2, "mat-ripple-unbounded", null]], + null, + null, + null, + null + )), + Uo( + 2, + 212992, + null, + 0, + qf, + [Ln, Di, Op, [2, Uf], [2, OP]], + { disabled: [0, "disabled"], trigger: [1, "trigger"] }, + null + ), + Er(null, 0), + (t()(), + Cr( + 4, + 0, + null, + null, + 1, + "div", + [["class", "mat-list-text"]], + null, + null, + null, + null, + null + )), + Er(null, 1), + Er(null, 2) + ], + function(t, e) { + var n = e.component; + t(e, 2, 0, n._isRippleDisabled(), n._getHostElement()); + }, + function(t, e) { + t(e, 1, 0, Io(e, 2).unbounded); + } + ); + } + var cI = (function() { + var t = { HEX: 0, RGBA: 1, HSLA: 2, CMYK: 3 }; + return ( + (t[t.HEX] = "HEX"), + (t[t.RGBA] = "RGBA"), + (t[t.HSLA] = "HSLA"), + (t[t.CMYK] = "CMYK"), + t + ); + })(), + dI = (function() { + return function(t, e, n, a) { + (this.r = t), (this.g = e), (this.b = n), (this.a = a); + }; + })(), + uI = (function() { + return function(t, e, n, a) { + (this.h = t), (this.s = e), (this.v = n), (this.a = a); + }; + })(), + mI = (function() { + return function(t, e, n, a) { + (this.h = t), (this.s = e), (this.l = n), (this.a = a); + }; + })(), + hI = (function() { + return function(t, e, n, a, o) { + void 0 === o && (o = 1), + (this.c = t), + (this.m = e), + (this.y = n), + (this.k = a), + (this.a = o); + }; + })(), + gI = (function() { + function t() { + this.newValue = new li(); + } + return ( + (t.prototype.inputChange = function(t) { + var e = t.target.value; + if (void 0 === this.rg) this.newValue.emit(e); + else { + var n = parseFloat(e); + this.newValue.emit({ v: n, rg: this.rg }); + } + }), + t + ); + })(), + pI = (function() { + function t(t) { + var e = this; + (this.elRef = t), + (this.dragEnd = new li()), + (this.dragStart = new li()), + (this.newValue = new li()), + (this.listenerMove = function(t) { + return e.move(t); + }), + (this.listenerStop = function() { + return e.stop(); + }); + } + return ( + (t.prototype.mouseDown = function(t) { + this.start(t); + }), + (t.prototype.touchStart = function(t) { + this.start(t); + }), + (t.prototype.move = function(t) { + t.preventDefault(), this.setCursor(t); + }), + (t.prototype.start = function(t) { + this.setCursor(t), + t.stopPropagation(), + document.addEventListener("mouseup", this.listenerStop), + document.addEventListener("touchend", this.listenerStop), + document.addEventListener("mousemove", this.listenerMove), + document.addEventListener("touchmove", this.listenerMove), + this.dragStart.emit(); + }), + (t.prototype.stop = function() { + document.removeEventListener("mouseup", this.listenerStop), + document.removeEventListener("touchend", this.listenerStop), + document.removeEventListener("mousemove", this.listenerMove), + document.removeEventListener("touchmove", this.listenerMove), + this.dragEnd.emit(); + }), + (t.prototype.getX = function(t) { + var e = this.elRef.nativeElement.getBoundingClientRect(); + return ( + (void 0 !== t.pageX ? t.pageX : t.touches[0].pageX) - + e.left - + window.pageXOffset + ); + }), + (t.prototype.getY = function(t) { + var e = this.elRef.nativeElement.getBoundingClientRect(); + return ( + (void 0 !== t.pageY ? t.pageY : t.touches[0].pageY) - + e.top - + window.pageYOffset + ); + }), + (t.prototype.setCursor = function(t) { + var e = this.elRef.nativeElement.offsetWidth, + n = this.elRef.nativeElement.offsetHeight, + a = Math.max(0, Math.min(this.getX(t), e)), + o = Math.max(0, Math.min(this.getY(t), n)); + void 0 !== this.rgX && void 0 !== this.rgY + ? this.newValue.emit({ + s: a / e, + v: 1 - o / n, + rgX: this.rgX, + rgY: this.rgY + }) + : void 0 === this.rgX && void 0 !== this.rgY + ? this.newValue.emit({ v: o / n, rgY: this.rgY }) + : void 0 !== this.rgX && + void 0 === this.rgY && + this.newValue.emit({ v: a / e, rgX: this.rgX }); + }), + t + ); + })(), + fI = (function() { + return function(t, e, n, a) { + (this.h = t), (this.s = e), (this.v = n), (this.a = a); + }; + })(), + bI = (function() { + return function(t, e, n, a) { + (this.h = t), (this.s = e), (this.v = n), (this.a = a); + }; + })(), + _I = (function() { + function t() { + this.active = null; + } + return ( + (t.prototype.setActive = function(t) { + this.active && + this.active !== t && + "inline" !== this.active.cpDialogDisplay && + this.active.closeDialog(), + (this.active = t); + }), + (t.prototype.hsva2hsla = function(t) { + var e = t.h, + n = t.s, + a = t.v, + o = t.a; + if (0 === a) return new mI(e, 0, 0, o); + if (0 === n && 1 === a) return new mI(e, 1, 1, o); + var i = (a * (2 - n)) / 2; + return new mI(e, (a * n) / (1 - Math.abs(2 * i - 1)), i, o); + }), + (t.prototype.hsla2hsva = function(t) { + var e = Math.min(t.h, 1), + n = Math.min(t.s, 1), + a = Math.min(t.l, 1), + o = Math.min(t.a, 1); + if (0 === a) return new uI(e, 0, 0, o); + var i = a + (n * (1 - Math.abs(2 * a - 1))) / 2; + return new uI(e, (2 * (i - a)) / i, i, o); + }), + (t.prototype.hsvaToRgba = function(t) { + var e, + n, + a, + o = t.h, + i = t.s, + r = t.v, + l = t.a, + s = Math.floor(6 * o), + c = 6 * o - s, + d = r * (1 - i), + u = r * (1 - c * i), + m = r * (1 - (1 - c) * i); + switch (s % 6) { + case 0: + (e = r), (n = m), (a = d); + break; + case 1: + (e = u), (n = r), (a = d); + break; + case 2: + (e = d), (n = r), (a = m); + break; + case 3: + (e = d), (n = u), (a = r); + break; + case 4: + (e = m), (n = d), (a = r); + break; + case 5: + (e = r), (n = d), (a = u); + break; + default: + (e = 0), (n = 0), (a = 0); + } + return new dI(e, n, a, l); + }), + (t.prototype.cmykToRgb = function(t) { + return new dI( + (1 - t.c) * (1 - t.k), + (1 - t.m) * (1 - t.k), + (1 - t.y) * (1 - t.k), + t.a + ); + }), + (t.prototype.rgbaToCmyk = function(t) { + var e = 1 - Math.max(t.r, t.g, t.b); + return 1 === e + ? new hI(0, 0, 0, 1, t.a) + : new hI( + (1 - t.r - e) / (1 - e), + (1 - t.g - e) / (1 - e), + (1 - t.b - e) / (1 - e), + e, + t.a + ); + }), + (t.prototype.rgbaToHsva = function(t) { + var e, + n, + a = Math.min(t.r, 1), + o = Math.min(t.g, 1), + i = Math.min(t.b, 1), + r = Math.min(t.a, 1), + l = Math.max(a, o, i), + s = Math.min(a, o, i), + c = l, + d = l - s; + if (((n = 0 === l ? 0 : d / l), l === s)) e = 0; + else { + switch (l) { + case a: + e = (o - i) / d + (o < i ? 6 : 0); + break; + case o: + e = (i - a) / d + 2; + break; + case i: + e = (a - o) / d + 4; + break; + default: + e = 0; + } + e /= 6; + } + return new uI(e, n, c, r); + }), + (t.prototype.rgbaToHex = function(t, e) { + var n = + "#" + + ((1 << 24) | (t.r << 16) | (t.g << 8) | t.b) + .toString(16) + .substr(1); + return ( + e && + (n += (256 | Math.round(255 * t.a)).toString(16).substr(1)), + n + ); + }), + (t.prototype.normalizeCMYK = function(t) { + return new hI(t.c / 100, t.m / 100, t.y / 100, t.k / 100, t.a); + }), + (t.prototype.denormalizeCMYK = function(t) { + return new hI( + Math.floor(100 * t.c), + Math.floor(100 * t.m), + Math.floor(100 * t.y), + Math.floor(100 * t.k), + t.a + ); + }), + (t.prototype.denormalizeRGBA = function(t) { + return new dI( + Math.round(255 * t.r), + Math.round(255 * t.g), + Math.round(255 * t.b), + t.a + ); + }), + (t.prototype.stringToHsva = function(t, e) { + void 0 === t && (t = ""), void 0 === e && (e = !1); + var n = null; + t = (t || "").toLowerCase(); + var a = [ + { + re: /(rgb)a?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*%?,\s*(\d{1,3})\s*%?(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/, + parse: function(t) { + return new dI( + parseInt(t[2], 10) / 255, + parseInt(t[3], 10) / 255, + parseInt(t[4], 10) / 255, + isNaN(parseFloat(t[5])) ? 1 : parseFloat(t[5]) + ); + } + }, + { + re: /(hsl)a?\(\s*(\d{1,3})\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/, + parse: function(t) { + return new mI( + parseInt(t[2], 10) / 360, + parseInt(t[3], 10) / 100, + parseInt(t[4], 10) / 100, + isNaN(parseFloat(t[5])) ? 1 : parseFloat(t[5]) + ); + } + } + ]; + for (var o in (a.push( + e + ? { + re: /#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})?$/, + parse: function(t) { + return new dI( + parseInt(t[1], 16) / 255, + parseInt(t[2], 16) / 255, + parseInt(t[3], 16) / 255, + parseInt(t[4] || "FF", 16) / 255 + ); + } + } + : { + re: /#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})$/, + parse: function(t) { + return new dI( + parseInt(t[1], 16) / 255, + parseInt(t[2], 16) / 255, + parseInt(t[3], 16) / 255, + 1 + ); + } + } + ), + a.push({ + re: /#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])$/, + parse: function(t) { + return new dI( + parseInt(t[1] + t[1], 16) / 255, + parseInt(t[2] + t[2], 16) / 255, + parseInt(t[3] + t[3], 16) / 255, + 1 + ); + } + }), + a)) + if (a.hasOwnProperty(o)) { + var i = a[o], + r = i.re.exec(t), + l = r && i.parse(r); + if (l) + return ( + l instanceof dI + ? (n = this.rgbaToHsva(l)) + : l instanceof mI && (n = this.hsla2hsva(l)), + n + ); + } + return n; + }), + (t.prototype.outputFormat = function(t, e, n) { + switch (("auto" === e && (e = t.a < 1 ? "rgba" : "hex"), e)) { + case "hsla": + var a = this.hsva2hsla(t), + o = new mI( + Math.round(360 * a.h), + Math.round(100 * a.s), + Math.round(100 * a.l), + Math.round(100 * a.a) / 100 + ); + return t.a < 1 || "always" === n + ? "hsla(" + o.h + "," + o.s + "%," + o.l + "%," + o.a + ")" + : "hsl(" + o.h + "," + o.s + "%," + o.l + "%)"; + case "rgba": + var i = this.denormalizeRGBA(this.hsvaToRgba(t)); + return t.a < 1 || "always" === n + ? "rgba(" + + i.r + + "," + + i.g + + "," + + i.b + + "," + + Math.round(100 * i.a) / 100 + + ")" + : "rgb(" + i.r + "," + i.g + "," + i.b + ")"; + default: + var r = "always" === n || "forced" === n; + return this.rgbaToHex( + this.denormalizeRGBA(this.hsvaToRgba(t)), + r + ); + } + }), + t + ); + })(), + CI = (function() { + function t(t, e, n) { + (this.elRef = t), + (this.cdRef = e), + (this.service = n), + (this.isIE10 = !1), + (this.dialogArrowSize = 10), + (this.dialogArrowOffset = 15), + (this.dialogInputFields = [cI.HEX, cI.RGBA, cI.HSLA, cI.CMYK]), + (this.useRootViewContainer = !1); + } + return ( + (t.prototype.handleEsc = function(t) { + this.show && + "popup" === this.cpDialogDisplay && + this.onCancelColor(t); + }), + (t.prototype.handleEnter = function(t) { + this.show && + "popup" === this.cpDialogDisplay && + this.onAcceptColor(t); + }), + (t.prototype.ngOnInit = function() { + var t = this; + (this.slider = new fI(0, 0, 0, 0)), + (this.sliderDimMax = new bI( + this.hueSlider.nativeElement.offsetWidth || 140, + this.cpWidth, + 130, + this.alphaSlider.nativeElement.offsetWidth || 140 + )), + (this.format = this.cpCmykEnabled + ? cI.CMYK + : "rgba" === this.cpOutputFormat + ? cI.RGBA + : "hsla" === this.cpOutputFormat + ? cI.HSLA + : cI.HEX), + (this.listenerMouseDown = function(e) { + t.onMouseDown(e); + }), + (this.listenerResize = function() { + t.onResize(); + }), + this.openDialog(this.initialColor, !1); + }), + (t.prototype.ngOnDestroy = function() { + this.closeDialog(); + }), + (t.prototype.ngAfterViewInit = function() { + (230 === this.cpWidth && "inline" !== this.cpDialogDisplay) || + ((this.sliderDimMax = new bI( + this.hueSlider.nativeElement.offsetWidth || 140, + this.cpWidth, + 130, + this.alphaSlider.nativeElement.offsetWidth || 140 + )), + this.updateColorPicker(!1), + this.cdRef.detectChanges()); + }), + (t.prototype.openDialog = function(t, e) { + void 0 === e && (e = !0), + this.service.setActive(this), + this.width || + (this.cpWidth = this.directiveElementRef.nativeElement.offsetWidth), + this.height || (this.height = 320), + this.setInitialColor(t), + this.setColorFromString(t, e), + this.openColorPicker(); + }), + (t.prototype.closeDialog = function() { + this.closeColorPicker(); + }), + (t.prototype.setupDialog = function( + t, + e, + n, + a, + o, + i, + r, + l, + s, + c, + d, + u, + m, + h, + g, + p, + f, + b, + _, + C, + P, + O, + M, + y, + v, + x, + k, + w, + S, + E, + I, + A, + T, + R + ) { + this.setInitialColor(n), + this.setColorMode(l), + (this.isIE10 = + 10 === + (function() { + var t = ""; + "undefined" != typeof navigator && + (t = navigator.userAgent.toLowerCase()); + var e = t.indexOf("msie "); + return ( + e > 0 && + parseInt(t.substring(e + 5, t.indexOf(".", e)), 10) + ); + })()), + (this.directiveInstance = t), + (this.directiveElementRef = e), + (this.cpDisableInput = u), + (this.cpCmykEnabled = s), + (this.cpAlphaChannel = c), + (this.cpOutputFormat = d), + (this.cpDialogDisplay = i), + (this.cpIgnoredElements = m), + (this.cpSaveClickOutside = h), + (this.cpCloseClickOutside = g), + (this.useRootViewContainer = p), + (this.width = this.cpWidth = parseInt(a, 10)), + (this.height = this.cpHeight = parseInt(o, 10)), + (this.cpPosition = f), + (this.cpPositionOffset = parseInt(b, 10)), + (this.cpOKButton = v), + (this.cpOKButtonText = k), + (this.cpOKButtonClass = x), + (this.cpCancelButton = w), + (this.cpCancelButtonText = E), + (this.cpCancelButtonClass = S), + (this.fallbackColor = r || "#fff"), + this.setPresetConfig(C, P), + (this.cpMaxPresetColorsLength = O), + (this.cpPresetEmptyMessage = M), + (this.cpPresetEmptyMessageClass = y), + (this.cpAddColorButton = I), + (this.cpAddColorButtonText = T), + (this.cpAddColorButtonClass = A), + (this.cpRemoveColorButtonClass = R), + _ || (this.dialogArrowOffset = 0), + "inline" === i && + ((this.dialogArrowSize = 0), (this.dialogArrowOffset = 0)), + "hex" === d && + "always" !== c && + "forced" !== c && + (this.cpAlphaChannel = "disabled"); + }), + (t.prototype.setColorMode = function(t) { + switch (t.toString().toUpperCase()) { + case "1": + case "C": + case "COLOR": + this.cpColorMode = 1; + break; + case "2": + case "G": + case "GRAYSCALE": + this.cpColorMode = 2; + break; + case "3": + case "P": + case "PRESETS": + this.cpColorMode = 3; + break; + default: + this.cpColorMode = 1; + } + }), + (t.prototype.setInitialColor = function(t) { + this.initialColor = t; + }), + (t.prototype.setPresetConfig = function(t, e) { + (this.cpPresetLabel = t), (this.cpPresetColors = e); + }), + (t.prototype.setColorFromString = function(t, e, n) { + var a; + void 0 === e && (e = !0), + void 0 === n && (n = !0), + (("always" === this.cpAlphaChannel || + "forced" === this.cpAlphaChannel) && + ((a = this.service.stringToHsva(t, !0)) || this.hsva)) || + (a = this.service.stringToHsva(t, !1)), + a || + this.hsva || + (a = this.service.stringToHsva(this.fallbackColor, !1)), + a && + ((this.hsva = a), + (this.sliderH = this.hsva.h), + this.updateColorPicker(e, n)); + }), + (t.prototype.onResize = function() { + "fixed" === this.position + ? this.setDialogPosition() + : "inline" !== this.cpDialogDisplay && this.closeColorPicker(); + }), + (t.prototype.onDragEnd = function(t) { + this.directiveInstance.sliderDragEnd({ + slider: t, + color: this.outputColor + }); + }), + (t.prototype.onDragStart = function(t) { + this.directiveInstance.sliderDragStart({ + slider: t, + color: this.outputColor + }); + }), + (t.prototype.onMouseDown = function(t) { + !this.show || + this.isIE10 || + "popup" !== this.cpDialogDisplay || + t.target === this.directiveElementRef.nativeElement || + this.isDescendant(this.elRef.nativeElement, t.target) || + this.isDescendant( + this.directiveElementRef.nativeElement, + t.target + ) || + 0 !== + this.cpIgnoredElements.filter(function(e) { + return e === t.target; + }).length || + (this.cpSaveClickOutside + ? this.directiveInstance.colorSelected(this.outputColor) + : (this.setColorFromString(this.initialColor, !1), + this.cpCmykEnabled && + this.directiveInstance.cmykChanged(this.cmykColor), + this.directiveInstance.colorChanged(this.outputColor)), + this.cpCloseClickOutside && this.closeColorPicker()); + }), + (t.prototype.onAcceptColor = function(t) { + t.stopPropagation(), + this.outputColor && + this.directiveInstance.colorSelected(this.outputColor), + "popup" === this.cpDialogDisplay && this.closeColorPicker(); + }), + (t.prototype.onCancelColor = function(t) { + t.stopPropagation(), + this.setColorFromString(this.initialColor, !0), + "popup" === this.cpDialogDisplay && + (this.cpCmykEnabled && + this.directiveInstance.cmykChanged(this.cmykColor), + this.directiveInstance.colorChanged(this.outputColor, !0), + this.closeColorPicker()), + this.directiveInstance.colorCanceled(); + }), + (t.prototype.onFormatToggle = function(t) { + var e = + this.dialogInputFields.length - (this.cpCmykEnabled ? 0 : 1), + n = + (((this.dialogInputFields.indexOf(this.format) + t) % e) + + e) % + e; + this.format = this.dialogInputFields[n]; + }), + (t.prototype.onColorChange = function(t) { + (this.hsva.s = t.s / t.rgX), + (this.hsva.v = t.v / t.rgY), + this.updateColorPicker(), + this.directiveInstance.sliderChanged({ + slider: "lightness", + value: this.hsva.v, + color: this.outputColor + }), + this.directiveInstance.sliderChanged({ + slider: "saturation", + value: this.hsva.s, + color: this.outputColor + }); + }), + (t.prototype.onHueChange = function(t) { + (this.hsva.h = t.v / t.rgX), + (this.sliderH = this.hsva.h), + this.updateColorPicker(), + this.directiveInstance.sliderChanged({ + slider: "hue", + value: this.hsva.h, + color: this.outputColor + }); + }), + (t.prototype.onValueChange = function(t) { + (this.hsva.v = t.v / t.rgX), + this.updateColorPicker(), + this.directiveInstance.sliderChanged({ + slider: "value", + value: this.hsva.v, + color: this.outputColor + }); + }), + (t.prototype.onAlphaChange = function(t) { + (this.hsva.a = t.v / t.rgX), + this.updateColorPicker(), + this.directiveInstance.sliderChanged({ + slider: "alpha", + value: this.hsva.a, + color: this.outputColor + }); + }), + (t.prototype.onHexInput = function(t) { + if (null === t) this.updateColorPicker(); + else { + t && "#" !== t[0] && (t = "#" + t); + var e = /^#([a-f0-9]{3}|[a-f0-9]{6})$/gi; + "always" === this.cpAlphaChannel && + (e = /^#([a-f0-9]{3}|[a-f0-9]{6}|[a-f0-9]{8})$/gi); + var n = e.test(t); + n && + (t.length < 5 && + (t = + "#" + + t + .substring(1) + .split("") + .map(function(t) { + return t + t; + }) + .join("")), + "forced" === this.cpAlphaChannel && + (t += Math.round(255 * this.hsva.a).toString(16)), + this.setColorFromString(t, !0, !1)), + this.directiveInstance.inputChanged({ + input: "hex", + valid: n, + value: t, + color: this.outputColor + }); + } + }), + (t.prototype.onRedInput = function(t) { + var e = this.service.hsvaToRgba(this.hsva), + n = !isNaN(t.v) && t.v >= 0 && t.v <= t.rg; + n && + ((e.r = t.v / t.rg), + (this.hsva = this.service.rgbaToHsva(e)), + (this.sliderH = this.hsva.h), + this.updateColorPicker()), + this.directiveInstance.inputChanged({ + input: "red", + valid: n, + value: e.r, + color: this.outputColor + }); + }), + (t.prototype.onBlueInput = function(t) { + var e = this.service.hsvaToRgba(this.hsva), + n = !isNaN(t.v) && t.v >= 0 && t.v <= t.rg; + n && + ((e.b = t.v / t.rg), + (this.hsva = this.service.rgbaToHsva(e)), + (this.sliderH = this.hsva.h), + this.updateColorPicker()), + this.directiveInstance.inputChanged({ + input: "blue", + valid: n, + value: e.b, + color: this.outputColor + }); + }), + (t.prototype.onGreenInput = function(t) { + var e = this.service.hsvaToRgba(this.hsva), + n = !isNaN(t.v) && t.v >= 0 && t.v <= t.rg; + n && + ((e.g = t.v / t.rg), + (this.hsva = this.service.rgbaToHsva(e)), + (this.sliderH = this.hsva.h), + this.updateColorPicker()), + this.directiveInstance.inputChanged({ + input: "green", + valid: n, + value: e.g, + color: this.outputColor + }); + }), + (t.prototype.onHueInput = function(t) { + var e = !isNaN(t.v) && t.v >= 0 && t.v <= t.rg; + e && + ((this.hsva.h = t.v / t.rg), + (this.sliderH = this.hsva.h), + this.updateColorPicker()), + this.directiveInstance.inputChanged({ + input: "hue", + valid: e, + value: this.hsva.h, + color: this.outputColor + }); + }), + (t.prototype.onValueInput = function(t) { + var e = !isNaN(t.v) && t.v >= 0 && t.v <= t.rg; + e && ((this.hsva.v = t.v / t.rg), this.updateColorPicker()), + this.directiveInstance.inputChanged({ + input: "value", + valid: e, + value: this.hsva.v, + color: this.outputColor + }); + }), + (t.prototype.onAlphaInput = function(t) { + var e = !isNaN(t.v) && t.v >= 0 && t.v <= t.rg; + e && ((this.hsva.a = t.v / t.rg), this.updateColorPicker()), + this.directiveInstance.inputChanged({ + input: "alpha", + valid: e, + value: this.hsva.a, + color: this.outputColor + }); + }), + (t.prototype.onLightnessInput = function(t) { + var e = this.service.hsva2hsla(this.hsva), + n = !isNaN(t.v) && t.v >= 0 && t.v <= t.rg; + n && + ((e.l = t.v / t.rg), + (this.hsva = this.service.hsla2hsva(e)), + (this.sliderH = this.hsva.h), + this.updateColorPicker()), + this.directiveInstance.inputChanged({ + input: "lightness", + valid: n, + value: e.l, + color: this.outputColor + }); + }), + (t.prototype.onSaturationInput = function(t) { + var e = this.service.hsva2hsla(this.hsva), + n = !isNaN(t.v) && t.v >= 0 && t.v <= t.rg; + n && + ((e.s = t.v / t.rg), + (this.hsva = this.service.hsla2hsva(e)), + (this.sliderH = this.hsva.h), + this.updateColorPicker()), + this.directiveInstance.inputChanged({ + input: "saturation", + valid: n, + value: e.s, + color: this.outputColor + }); + }), + (t.prototype.onCyanInput = function(t) { + !isNaN(t.v) && + t.v >= 0 && + t.v <= t.rg && + ((this.cmyk.c = t.v), this.updateColorPicker(!1, !0, !0)), + this.directiveInstance.inputChanged({ + input: "cyan", + valid: !0, + value: this.cmyk.c, + color: this.outputColor + }); + }), + (t.prototype.onMagentaInput = function(t) { + !isNaN(t.v) && + t.v >= 0 && + t.v <= t.rg && + ((this.cmyk.m = t.v), this.updateColorPicker(!1, !0, !0)), + this.directiveInstance.inputChanged({ + input: "magenta", + valid: !0, + value: this.cmyk.m, + color: this.outputColor + }); + }), + (t.prototype.onYellowInput = function(t) { + !isNaN(t.v) && + t.v >= 0 && + t.v <= t.rg && + ((this.cmyk.y = t.v), this.updateColorPicker(!1, !0, !0)), + this.directiveInstance.inputChanged({ + input: "yellow", + valid: !0, + value: this.cmyk.y, + color: this.outputColor + }); + }), + (t.prototype.onBlackInput = function(t) { + !isNaN(t.v) && + t.v >= 0 && + t.v <= t.rg && + ((this.cmyk.k = t.v), this.updateColorPicker(!1, !0, !0)), + this.directiveInstance.inputChanged({ + input: "black", + valid: !0, + value: this.cmyk.k, + color: this.outputColor + }); + }), + (t.prototype.onAddPresetColor = function(t, e) { + t.stopPropagation(), + this.cpPresetColors.filter(function(t) { + return t === e; + }).length || + ((this.cpPresetColors = this.cpPresetColors.concat(e)), + this.directiveInstance.presetColorsChanged( + this.cpPresetColors + )); + }), + (t.prototype.onRemovePresetColor = function(t, e) { + t.stopPropagation(), + (this.cpPresetColors = this.cpPresetColors.filter(function(t) { + return t !== e; + })), + this.directiveInstance.presetColorsChanged(this.cpPresetColors); + }), + (t.prototype.openColorPicker = function() { + var t = this; + this.show || + ((this.show = !0), + (this.hidden = !0), + setTimeout(function() { + (t.hidden = !1), + t.setDialogPosition(), + t.cdRef.detectChanges(); + }, 0), + this.directiveInstance.stateChanged(!0), + this.isIE10 || + (document.addEventListener( + "mousedown", + this.listenerMouseDown + ), + document.addEventListener( + "touchstart", + this.listenerMouseDown + )), + window.addEventListener("resize", this.listenerResize)); + }), + (t.prototype.closeColorPicker = function() { + this.show && + ((this.show = !1), + this.directiveInstance.stateChanged(!1), + this.isIE10 || + (document.removeEventListener( + "mousedown", + this.listenerMouseDown + ), + document.removeEventListener( + "touchstart", + this.listenerMouseDown + )), + window.removeEventListener("resize", this.listenerResize), + this.cdRef.destroyed || this.cdRef.detectChanges()); + }), + (t.prototype.updateColorPicker = function(t, e, n) { + if ( + (void 0 === t && (t = !0), + void 0 === e && (e = !0), + void 0 === n && (n = !1), + this.sliderDimMax) + ) { + 2 === this.cpColorMode && (this.hsva.s = 0); + var a, + o, + i = void 0, + r = this.outputColor; + if ( + ((o = this.service.hsva2hsla(this.hsva)), + this.cpCmykEnabled + ? (n + ? ((i = this.service.cmykToRgb( + this.service.normalizeCMYK(this.cmyk) + )), + (this.hsva = this.service.rgbaToHsva(i))) + : ((i = this.service.hsvaToRgba(this.hsva)), + (this.cmyk = this.service.denormalizeCMYK( + this.service.rgbaToCmyk(i) + ))), + (i = this.service.denormalizeRGBA(i)), + (this.sliderH = this.hsva.h)) + : (i = this.service.denormalizeRGBA( + this.service.hsvaToRgba(this.hsva) + )), + (a = this.service.denormalizeRGBA( + this.service.hsvaToRgba( + new uI(this.sliderH || this.hsva.h, 1, 1, 1) + ) + )), + e && + ((this.hslaText = new mI( + Math.round(360 * o.h), + Math.round(100 * o.s), + Math.round(100 * o.l), + Math.round(100 * o.a) / 100 + )), + (this.rgbaText = new dI( + i.r, + i.g, + i.b, + Math.round(100 * i.a) / 100 + )), + this.cpCmykEnabled && + (this.cmykText = new hI( + this.cmyk.c, + this.cmyk.m, + this.cmyk.y, + this.cmyk.k, + Math.round(100 * this.cmyk.a) / 100 + )), + (this.hexText = this.service.rgbaToHex( + i, + "always" === this.cpAlphaChannel + )), + (this.hexAlpha = this.rgbaText.a)), + "auto" === this.cpOutputFormat && + this.format !== cI.RGBA && + this.format !== cI.CMYK && + this.hsva.a < 1 && + (this.format = this.hsva.a < 1 ? cI.RGBA : cI.HEX), + (this.hueSliderColor = + "rgb(" + a.r + "," + a.g + "," + a.b + ")"), + (this.alphaSliderColor = + "rgb(" + i.r + "," + i.g + "," + i.b + ")"), + (this.outputColor = this.service.outputFormat( + this.hsva, + this.cpOutputFormat, + this.cpAlphaChannel + )), + (this.selectedColor = this.service.outputFormat( + this.hsva, + "rgba", + null + )), + this.format !== cI.CMYK) + ) + this.cmykColor = ""; + else if ( + "always" === this.cpAlphaChannel || + "enabled" === this.cpAlphaChannel || + "forced" === this.cpAlphaChannel + ) { + var l = Math.round(100 * this.cmyk.a) / 100; + this.cmykColor = + "cmyka(" + + this.cmyk.c + + "," + + this.cmyk.m + + "," + + this.cmyk.y + + "," + + this.cmyk.k + + "," + + l + + ")"; + } else + this.cmykColor = + "cmyk(" + + this.cmyk.c + + "," + + this.cmyk.m + + "," + + this.cmyk.y + + "," + + this.cmyk.k + + ")"; + (this.slider = new fI( + (this.sliderH || this.hsva.h) * this.sliderDimMax.h - 8, + this.hsva.s * this.sliderDimMax.s - 8, + (1 - this.hsva.v) * this.sliderDimMax.v - 8, + this.hsva.a * this.sliderDimMax.a - 8 + )), + t && + r !== this.outputColor && + (this.cpCmykEnabled && + this.directiveInstance.cmykChanged(this.cmykColor), + this.directiveInstance.colorChanged(this.outputColor)); + } + }), + (t.prototype.setDialogPosition = function() { + if ("inline" === this.cpDialogDisplay) this.position = "relative"; + else { + for ( + var t = "static", + e = "", + n = void 0, + a = null, + o = null, + i = this.directiveElementRef.nativeElement.parentNode, + r = this.dialogElement.nativeElement.offsetHeight; + null !== i && "HTML" !== i.tagName; + + ) { + if ( + ("static" !== + (t = (n = window.getComputedStyle(i)).getPropertyValue( + "position" + )) && + null === a && + (a = i), + (e = n.getPropertyValue("transform")) && + "none" !== e && + null === o && + (o = i), + "fixed" === t) + ) { + a = o; + break; + } + i = i.parentNode; + } + var l = this.createDialogBox( + this.directiveElementRef.nativeElement, + "fixed" !== t + ); + if ( + this.useRootViewContainer || + ("fixed" === t && (!a || a instanceof HTMLUnknownElement)) + ) + (this.top = l.top), (this.left = l.left); + else { + null === a && (a = i); + var s = this.createDialogBox(a, "fixed" !== t); + (this.top = l.top - s.top), (this.left = l.left - s.left); + } + "fixed" === t && (this.position = "fixed"), + "left" === this.cpPosition + ? ((this.top += + (l.height * this.cpPositionOffset) / 100 - + this.dialogArrowOffset), + (this.left -= this.cpWidth + this.dialogArrowSize - 2)) + : "top" === this.cpPosition + ? ((this.arrowTop = r - 1), + (this.top -= r + this.dialogArrowSize), + (this.left += + (this.cpPositionOffset / 100) * l.width - + this.dialogArrowOffset)) + : "bottom" === this.cpPosition + ? ((this.top += l.height + this.dialogArrowSize), + (this.left += + (this.cpPositionOffset / 100) * l.width - + this.dialogArrowOffset)) + : ((this.top += + (l.height * this.cpPositionOffset) / 100 - + this.dialogArrowOffset), + (this.left += l.width + this.dialogArrowSize - 2)); + } + }), + (t.prototype.isDescendant = function(t, e) { + for (var n = e.parentNode; null !== n; ) { + if (n === t) return !0; + n = n.parentNode; + } + return !1; + }), + (t.prototype.createDialogBox = function(t, e) { + return { + top: + t.getBoundingClientRect().top + (e ? window.pageYOffset : 0), + left: + t.getBoundingClientRect().left + (e ? window.pageXOffset : 0), + width: t.offsetWidth, + height: t.offsetHeight + }; + }), + t + ); + })(), + PI = (function() { + function t(t, e, n, a, o, i) { + (this.injector = t), + (this.cfr = e), + (this.appRef = n), + (this.vcRef = a), + (this.elRef = o), + (this._service = i), + (this.dialogCreated = !1), + (this.ignoreChanges = !1), + (this.cpWidth = "230px"), + (this.cpHeight = "auto"), + (this.cpToggle = !1), + (this.cpDisabled = !1), + (this.cpIgnoredElements = []), + (this.cpFallbackColor = ""), + (this.cpColorMode = "color"), + (this.cpCmykEnabled = !1), + (this.cpOutputFormat = "auto"), + (this.cpAlphaChannel = "enabled"), + (this.cpDisableInput = !1), + (this.cpDialogDisplay = "popup"), + (this.cpSaveClickOutside = !0), + (this.cpCloseClickOutside = !0), + (this.cpUseRootViewContainer = !1), + (this.cpPosition = "right"), + (this.cpPositionOffset = "0%"), + (this.cpPositionRelativeToArrow = !1), + (this.cpOKButton = !1), + (this.cpOKButtonText = "OK"), + (this.cpOKButtonClass = "cp-ok-button-class"), + (this.cpCancelButton = !1), + (this.cpCancelButtonText = "Cancel"), + (this.cpCancelButtonClass = "cp-cancel-button-class"), + (this.cpPresetLabel = "Preset colors"), + (this.cpMaxPresetColorsLength = 6), + (this.cpPresetEmptyMessage = "No colors added"), + (this.cpPresetEmptyMessageClass = "preset-empty-message"), + (this.cpAddColorButton = !1), + (this.cpAddColorButtonText = "Add color"), + (this.cpAddColorButtonClass = "cp-add-color-button-class"), + (this.cpRemoveColorButtonClass = "cp-remove-color-button-class"), + (this.cpInputChange = new li(!0)), + (this.cpToggleChange = new li(!0)), + (this.cpSliderChange = new li(!0)), + (this.cpSliderDragEnd = new li(!0)), + (this.cpSliderDragStart = new li(!0)), + (this.colorPickerOpen = new li(!0)), + (this.colorPickerClose = new li(!0)), + (this.colorPickerCancel = new li(!0)), + (this.colorPickerSelect = new li(!0)), + (this.colorPickerChange = new li(!1)), + (this.cpCmykColorChange = new li(!0)), + (this.cpPresetColorsChange = new li(!0)); + } + return ( + (t.prototype.handleClick = function() { + this.inputFocus(); + }), + (t.prototype.handleFocus = function() { + this.inputFocus(); + }), + (t.prototype.handleInput = function(t) { + this.inputChange(t); + }), + (t.prototype.ngOnDestroy = function() { + void 0 !== this.cmpRef && this.cmpRef.destroy(); + }), + (t.prototype.ngOnChanges = function(t) { + t.cpToggle && + !this.cpDisabled && + (t.cpToggle.currentValue + ? this.openDialog() + : t.cpToggle.currentValue || this.closeDialog()), + t.colorPicker && + (this.dialog && + !this.ignoreChanges && + ("inline" === this.cpDialogDisplay && + this.dialog.setInitialColor(t.colorPicker.currentValue), + this.dialog.setColorFromString( + t.colorPicker.currentValue, + !1 + ), + this.cpUseRootViewContainer && + "inline" !== this.cpDialogDisplay && + this.cmpRef.changeDetectorRef.detectChanges()), + (this.ignoreChanges = !1)), + (t.cpPresetLabel || t.cpPresetColors) && + this.dialog && + this.dialog.setPresetConfig( + this.cpPresetLabel, + this.cpPresetColors + ); + }), + (t.prototype.openDialog = function() { + if (this.dialogCreated) + this.dialog && this.dialog.openDialog(this.colorPicker); + else { + var t = this.vcRef; + if ( + ((this.dialogCreated = !0), + this.cpUseRootViewContainer && + "inline" !== this.cpDialogDisplay) + ) { + var e = this.injector.get(this.appRef.componentTypes[0]); + (t = e.vcRef || e.viewContainerRef || this.vcRef) === + this.vcRef && + console.warn( + "You are using cpUseRootViewContainer, but the root component is not exposing viewContainerRef!Please expose it by adding 'public vcRef: ViewContainerRef' to the constructor." + ); + } + var n = this.cfr.resolveComponentFactory(CI), + a = Ee.fromResolvedProviders([], t.parentInjector); + (this.cmpRef = t.createComponent(n, 0, a, [])), + this.cmpRef.instance.setupDialog( + this, + this.elRef, + this.colorPicker, + this.cpWidth, + this.cpHeight, + this.cpDialogDisplay, + this.cpFallbackColor, + this.cpColorMode, + this.cpCmykEnabled, + this.cpAlphaChannel, + this.cpOutputFormat, + this.cpDisableInput, + this.cpIgnoredElements, + this.cpSaveClickOutside, + this.cpCloseClickOutside, + this.cpUseRootViewContainer, + this.cpPosition, + this.cpPositionOffset, + this.cpPositionRelativeToArrow, + this.cpPresetLabel, + this.cpPresetColors, + this.cpMaxPresetColorsLength, + this.cpPresetEmptyMessage, + this.cpPresetEmptyMessageClass, + this.cpOKButton, + this.cpOKButtonClass, + this.cpOKButtonText, + this.cpCancelButton, + this.cpCancelButtonClass, + this.cpCancelButtonText, + this.cpAddColorButton, + this.cpAddColorButtonClass, + this.cpAddColorButtonText, + this.cpRemoveColorButtonClass + ), + (this.dialog = this.cmpRef.instance), + this.vcRef !== t && + this.cmpRef.changeDetectorRef.detectChanges(); + } + }), + (t.prototype.closeDialog = function() { + this.dialog && + "popup" === this.cpDialogDisplay && + this.dialog.closeDialog(); + }), + (t.prototype.cmykChanged = function(t) { + this.cpCmykColorChange.emit(t); + }), + (t.prototype.stateChanged = function(t) { + this.cpToggleChange.emit(t), + t + ? this.colorPickerOpen.emit(this.colorPicker) + : this.colorPickerClose.emit(this.colorPicker); + }), + (t.prototype.colorChanged = function(t, e) { + void 0 === e && (e = !0), + (this.ignoreChanges = e), + this.colorPickerChange.emit(t); + }), + (t.prototype.colorSelected = function(t) { + this.colorPickerSelect.emit(t); + }), + (t.prototype.colorCanceled = function() { + this.colorPickerCancel.emit(); + }), + (t.prototype.inputFocus = function() { + var t = this.elRef.nativeElement, + e = this.cpIgnoredElements.filter(function(e) { + return e === t; + }); + this.cpDisabled || + e.length || + ("undefined" != typeof document && t === document.activeElement + ? this.openDialog() + : this.dialog && this.dialog.show + ? this.closeDialog() + : this.openDialog()); + }), + (t.prototype.inputChange = function(t) { + this.dialog + ? this.dialog.setColorFromString(t.target.value, !0) + : ((this.colorPicker = t.target.value), + this.colorPickerChange.emit(this.colorPicker)); + }), + (t.prototype.inputChanged = function(t) { + this.cpInputChange.emit(t); + }), + (t.prototype.sliderChanged = function(t) { + this.cpSliderChange.emit(t); + }), + (t.prototype.sliderDragEnd = function(t) { + this.cpSliderDragEnd.emit(t); + }), + (t.prototype.sliderDragStart = function(t) { + this.cpSliderDragStart.emit(t); + }), + (t.prototype.presetColorsChanged = function(t) { + this.cpPresetColorsChange.emit(t); + }), + t + ); + })(), + OI = (function() { + return function() {}; + })(); + const MI = (() => + class { + constructor() { + this.modalStack = []; + } + addModal(t, e) { + if (e) { + const e = this.modalStack.findIndex(e => e.id === t.id); + e > -1 + ? (this.modalStack[e].modal = t.modal) + : this.modalStack.push(t); + } else this.modalStack.push(t); + } + getModal(t) { + return this.modalStack.filter(e => e.id === t)[0].modal; + } + get(t) { + return this.getModal(t); + } + open(t, e = !1) { + const n = this.modalStack.find(e => e.id === t); + if (!n) throw new Error("Modal not found"); + n.modal.open(e); + } + close(t) { + const e = this.modalStack.find(e => e.id === t); + if (!e) throw new Error("Modal not found"); + e.modal.close(); + } + toggle(t, e = !1) { + const n = this.modalStack.find(e => e.id === t); + if (!n) throw new Error("Modal not found"); + n.modal.toggle(e); + } + getModalStack() { + return this.modalStack; + } + getOpenedModals() { + const t = []; + return ( + this.modalStack.forEach(e => { + e.modal.visible && t.push(e); + }), + t + ); + } + getHigherIndex() { + const t = [1041]; + return ( + this.getModalStack().forEach(e => { + t.push(e.modal.layerPosition); + }), + Math.max(...t) + 1 + ); + } + getModalStackCount() { + return this.modalStack.length; + } + removeModal(t) { + const e = this.modalStack.findIndex(e => e.id === t); + e > -1 && this.modalStack.splice(e, 1); + } + setModalData(t, e, n) { + return ( + !!this.modalStack.find(t => t.id === e) && + (this.getModal(e).setData(t, n), !0) + ); + } + getModalData(t) { + return this.getModal(t).getData(); + } + resetModalData(t) { + if (this.modalStack.find(e => e.id === t)) { + const e = this.getModal(t).getData(); + return this.getModal(t).removeData(), e; + } + return !1; + } + closeLatestModal() { + const t = this; + clearTimeout(this.debouncer), + (this.debouncer = setTimeout(() => { + let e; + return ( + t.getOpenedModals().forEach(t => { + t.modal.layerPosition > (e ? e.modal.layerPosition : 0) && + (e = t); + }), + !!e && e.modal.close() + ); + }, 100)); + } + })(), + yI = (() => + class { + constructor(t, e, n) { + (this._renderer = t), + (this._changeDetectorRef = e), + (this._ngxSmartModalService = n), + (this.closable = !0), + (this.escapable = !0), + (this.dismissable = !0), + (this.identifier = ""), + (this.customClass = "nsm-dialog-animation-fade"), + (this.visible = !1), + (this.backdrop = !0), + (this.force = !0), + (this.hideDelay = 500), + (this.autostart = !1), + (this.visibleChange = new li()), + (this.onClose = new li()), + (this.onCloseFinished = new li()), + (this.onDismiss = new li()), + (this.onDismissFinished = new li()), + (this.onAnyCloseEvent = new li()), + (this.onAnyCloseEventFinished = new li()), + (this.onOpen = new li()), + (this.onEscape = new li()), + (this.onDataAdded = new li()), + (this.onDataRemoved = new li()), + (this.layerPosition = 1041), + (this.overlayVisible = !1), + (this.openedClass = !1), + (this.escapeKeyboardEvent = t => { + 27 === t.keyCode && + (this.onEscape.emit(this), + this._ngxSmartModalService.closeLatestModal()); + }); + } + ngOnInit() { + if (!this.identifier || !this.identifier.length) + throw new Error( + "identifier field isn\u2019t set. Please set one before calling in a template." + ); + (this.layerPosition += this._ngxSmartModalService.getModalStackCount()), + this._ngxSmartModalService.addModal( + { id: this.identifier, modal: this }, + this.force + ), + this.autostart && + this._ngxSmartModalService.open(this.identifier); + } + ngOnDestroy() { + this._ngxSmartModalService.removeModal(this.identifier), + window.removeEventListener("keyup", this.escapeKeyboardEvent), + this._ngxSmartModalService.getModalStack.length || + this._renderer.removeClass(document.body, "dialog-open"); + } + open(t) { + t && + (this.layerPosition = this._ngxSmartModalService.getHigherIndex()), + this._renderer.addClass(document.body, "dialog-open"), + (this.overlayVisible = !0), + (this.visible = !0), + setTimeout(() => { + (this.openedClass = !0), + this.target && this.targetPlacement(), + this._changeDetectorRef.markForCheck(); + }), + this.onOpen.emit(this), + this.escapable && + window.addEventListener("keyup", this.escapeKeyboardEvent); + } + close() { + const t = this; + (this.openedClass = !1), + this.onClose.emit(this), + this.onAnyCloseEvent.emit(this), + this._ngxSmartModalService.getOpenedModals().length < 2 && + this._renderer.removeClass(document.body, "dialog-open"), + setTimeout(() => { + t.visibleChange.emit(t.visible), + (t.visible = !1), + (t.overlayVisible = !1), + t._changeDetectorRef.markForCheck(), + t.onCloseFinished.emit(t), + t.onAnyCloseEventFinished.emit(t); + }, this.hideDelay), + window.removeEventListener("keyup", this.escapeKeyboardEvent); + } + dismiss(t) { + const e = this; + this.dismissable && + t.target.classList.contains("overlay") && + ((this.openedClass = !1), + this.onDismiss.emit(this), + this.onAnyCloseEvent.emit(this), + this._ngxSmartModalService.getOpenedModals().length < 2 && + this._renderer.removeClass(document.body, "dialog-open"), + setTimeout(() => { + (e.visible = !1), + e.visibleChange.emit(e.visible), + (e.overlayVisible = !1), + e._changeDetectorRef.markForCheck(), + e.onDismissFinished.emit(e), + e.onAnyCloseEventFinished.emit(e); + }, this.hideDelay), + window.removeEventListener("keyup", this.escapeKeyboardEvent)); + } + toggle(t) { + this.visible ? this.close() : this.open(t); + } + addCustomClass(t) { + this.customClass.length + ? (this.customClass += " " + t) + : (this.customClass = t); + } + removeCustomClass(t) { + this.customClass = t + ? this.customClass.replace(t, "").trim() + : ""; + } + isVisible() { + return this.visible; + } + hasData() { + return void 0 !== this._data; + } + setData(t, e) { + (!this.hasData() || (this.hasData() && e)) && + ((this._data = t), + this.onDataAdded.emit(this._data), + this._changeDetectorRef.markForCheck()); + } + getData() { + return this._data; + } + removeData() { + (this._data = void 0), + this.onDataRemoved.emit(!0), + this._changeDetectorRef.markForCheck(); + } + targetPlacement() { + if ( + !( + this.nsmDialog && + this.nsmContent && + this.nsmOverlay && + this.target + ) + ) + return; + const t = document + .querySelector(this.target) + .getBoundingClientRect(), + e = this.nsmOverlay.nativeElement.getBoundingClientRect(), + n = this.nsmContent.nativeElement.getBoundingClientRect(), + a = this.nsmDialog.nativeElement.getBoundingClientRect(), + o = parseInt( + getComputedStyle(this.nsmContent.nativeElement).marginLeft, + 10 + ), + i = parseInt( + getComputedStyle(this.nsmContent.nativeElement).marginTop, + 10 + ); + let r = t.top - a.top - (n.height - t.height) / 2, + l = t.left - a.left - (n.width - t.width) / 2; + l + a.left + n.width + 2 * o > e.width + ? (l = e.width - (a.left + n.width) - 2 * o) + : l + a.left < 0 && (l = -a.left), + r + a.top + n.height + i > e.height && + (r = e.height - (a.top + n.height) - i), + r < 0 && (r = 0), + this._renderer.setStyle( + this.nsmContent.nativeElement, + "top", + r + "px" + ), + this._renderer.setStyle( + this.nsmContent.nativeElement, + "left", + l + "px" + ); + } + })(), + vI = (() => { + class t { + static forRoot() { + return { ngModule: t, providers: [MI] }; + } + static forChild() { + return { ngModule: t, providers: [MI] }; + } + } + return t; + })(); + var xI, + kI, + wI = Ia({ encapsulation: 2, styles: [], data: {} }); + function SI(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "button", + [ + ["aria-label", "Close"], + ["class", "nsm-dialog-btn-close"], + ["type", "button"] + ], + null, + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && (a = !1 !== t.component.close() && a), a + ); + }, + null, + null + )), + (t()(), + Cr( + 1, + 0, + null, + null, + 0, + "img", + [ + [ + "src", + "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjE2cHgiIGhlaWdodD0iMTZweCI+CjxnPgoJPGc+CgkJPHBhdGggZD0iTTUwNS45NDMsNi4wNThjLTguMDc3LTguMDc3LTIxLjE3Mi04LjA3Ny0yOS4yNDksMEw2LjA1OCw0NzYuNjkzYy04LjA3Nyw4LjA3Ny04LjA3NywyMS4xNzIsMCwyOS4yNDkgICAgQzEwLjA5Niw1MDkuOTgyLDE1LjM5LDUxMiwyMC42ODMsNTEyYzUuMjkzLDAsMTAuNTg2LTIuMDE5LDE0LjYyNS02LjA1OUw1MDUuOTQzLDM1LjMwNiAgICBDNTE0LjAxOSwyNy4yMyw1MTQuMDE5LDE0LjEzNSw1MDUuOTQzLDYuMDU4eiIgZmlsbD0iIzAwMDAwMCIvPgoJPC9nPgo8L2c+CjxnPgoJPGc+CgkJPHBhdGggZD0iTTUwNS45NDIsNDc2LjY5NEwzNS4zMDYsNi4wNTljLTguMDc2LTguMDc3LTIxLjE3Mi04LjA3Ny0yOS4yNDgsMGMtOC4wNzcsOC4wNzYtOC4wNzcsMjEuMTcxLDAsMjkuMjQ4bDQ3MC42MzYsNDcwLjYzNiAgICBjNC4wMzgsNC4wMzksOS4zMzIsNi4wNTgsMTQuNjI1LDYuMDU4YzUuMjkzLDAsMTAuNTg3LTIuMDE5LDE0LjYyNC02LjA1N0M1MTQuMDE4LDQ5Ny44NjYsNTE0LjAxOCw0ODQuNzcxLDUwNS45NDIsNDc2LjY5NHoiIGZpbGw9IiMwMDAwMDAiLz4KCTwvZz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K" + ] + ], + null, + null, + null, + null, + null + )) + ], + null, + null + ); + } + function EI(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + [[3, 0], ["nsmOverlay", 1]], + null, + 12, + "div", + [], + [[4, "z-index", null]], + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && (a = !1 !== t.component.dismiss(n) && a), a + ); + }, + null, + null + )), + Ko(512, null, fs, bs, [na, aa, Ln, jn]), + Uo(2, 278528, null, 0, Cs, [fs], { ngClass: [0, "ngClass"] }, null), + Ar(3, { transparent: 0, overlay: 1, "nsm-overlay-open": 2 }), + (t()(), + Cr( + 4, + 0, + [[2, 0], ["nsmDialog", 1]], + null, + 8, + "div", + [], + [[4, "z-index", null]], + null, + null, + null, + null + )), + Ko(512, null, fs, bs, [na, aa, Ln, jn]), + Uo(6, 278528, null, 0, Cs, [fs], { ngClass: [0, "ngClass"] }, null), + Tr(32, 7, new Array(3)), + (t()(), + Cr( + 8, + 0, + [[1, 0], ["nsmContent", 1]], + null, + 4, + "div", + [["class", "nsm-content"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 9, + 0, + null, + null, + 1, + "div", + [["class", "nsm-body"]], + null, + null, + null, + null, + null + )), + Er(null, 0), + (t()(), _r(16777216, null, null, 1, null, SI)), + Uo(12, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null) + ], + function(t, e) { + var n = e.component, + a = t(e, 3, 0, !n.backdrop, !0, n.openedClass); + t(e, 2, 0, a); + var o = t( + e, + 7, + 0, + "nsm-dialog", + n.customClass, + n.openedClass ? "nsm-dialog-open" : "nsm-dialog-close" + ); + t(e, 6, 0, o), t(e, 12, 0, n.closable); + }, + function(t, e) { + var n = e.component; + t(e, 0, 0, n.visible ? n.layerPosition - 1 : -1), + t(e, 4, 0, n.visible ? n.layerPosition : -1); + } + ); + } + function II(t) { + return zr( + 0, + [ + vr(671088640, 1, { nsmContent: 0 }), + vr(671088640, 2, { nsmDialog: 0 }), + vr(671088640, 3, { nsmOverlay: 0 }), + (t()(), _r(16777216, null, null, 1, null, EI)), + Uo(4, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null) + ], + function(t, e) { + t(e, 4, 0, e.component.overlayVisible); + }, + null + ); + } + !(function(t) { + (t.NotInstalled = "NotInstalled"), (t.Installed = "Installed"); + })(xI || (xI = {})), + (function(t) { + (t.Saber = "Saber"), + (t.Gameplay = "Gameplay"), + (t.Note = "Note"), + (t.Library = "Library"), + (t.Other = "Other"); + })(kI || (kI = {})); + class AI extends ow { + constructor() { + super(...arguments), (this.Type = iw.SetModStatus); + } + } + class TI extends ow { + constructor() { + super(), (this.Type = iw.DeleteMod); + } + } + class RI extends ow { + constructor() { + super(), (this.Type = iw.ChangeColor); + } + } + var DI = (function(t) { + return ( + (t[(t.LeftColor = "LeftColor")] = "LeftColor"), + (t[(t.RightColor = "RightColor")] = "RightColor"), + t + ); + })({}); + class NI { + constructor(t, e, n, a, o) { + (this.configSvc = t), + (this.beatOnApi = e), + (this.msgSvc = n), + (this.ngxSmartModalService = a), + (this.dialog = o), + (this.config = { Mods: [] }), + (this.modSwitchInProgress = !1), + (this.modIDBeingSwitched = null), + this.configSvc.configUpdated.subscribe(t => { + this.config = t.Config; + }); + } + get leftColor() { + return this.config && this.config.LeftColor + ? "rgba(" + + this.config.LeftColor.R + + ", " + + this.config.LeftColor.G + + ", " + + this.config.LeftColor.B + + ", " + + this.config.LeftColor.A + + ")" + : "rgba(0,0,0,0)"; + } + set leftColor(t) {} + leftColorSelected(t) { + console.log(t); + var e = (t = t.substr(4, t.length - 5)).split(","), + n = new RI(); + (n.Color = { + R: parseInt(e[0]), + G: parseInt(e[1]), + B: parseInt(e[2]), + A: e.length > 3 ? Math.ceil(255 * parseFloat(e[3])) : 255 + }), + (n.ColorType = DI.LeftColor), + this.msgSvc.sendClientMessage(n); + } + get rightColor() { + return this.config && this.config.RightColor + ? "rgba(" + + this.config.RightColor.R + + ", " + + this.config.RightColor.G + + ", " + + this.config.RightColor.B + + ", " + + this.config.RightColor.A + + ")" + : "rgba(0,0,0,0)"; + } + set rightColor(t) {} + rightColorSelected(t) { + console.log(t); + var e = (t = t.substr(4, t.length - 5)).split(","), + n = new RI(); + (n.Color = { + R: parseInt(e[0]), + G: parseInt(e[1]), + B: parseInt(e[2]), + A: e.length > 3 ? Math.ceil(255 * parseFloat(e[3])) : 255 + }), + (n.ColorType = DI.RightColor), + this.msgSvc.sendClientMessage(n); + } + ngOnInit() { + this.configSvc.getConfig().subscribe(t => { + this.config = t.Config; + }); + } + getModBG(t) { + if (t.CoverImageFilename) { + let e = encodeURIComponent(t.ID); + return ( + (e = e.replace("(", "%28").replace(")", "%29")), + "url(" + + ql.API_ENDPOINT + + "/host/beatsaber/mod/cover?modid=" + + e + + ")" + ); + } + return t.Category == kI.Saber + ? "url(../../assets/saber.png)" + : t.Category == kI.Note + ? "url(../../assets/note.png)" + : t.Category == kI.Gameplay + ? "url(../../assets/gameplay.png)" + : t.Category == kI.Library + ? "url(../../assets/library.png)" + : "url(../../assets/other.png)"; + } + toggleMod(t, e) { + (this.modIDBeingSwitched = e.ID), (this.modSwitchInProgress = !0); + let n, + a = new AI(); + (a.ModID = e.ID), + (a.Status = t.checked ? xI.Installed : xI.NotInstalled), + (n = this.msgSvc.actionResponseMessage.subscribe(t => { + t.ResponseToMessageID == a.MessageID && + ((this.modIDBeingSwitched = null), + (this.modSwitchInProgress = !1), + n.unsubscribe(), + t.Success || + console.log( + "mod id " + a.ModID + " did not switch properly" + )); + })), + this.msgSvc.sendClientMessage(a); + } + getModSwitch(t) { + return ( + null != t && + !( + ("Installed" != t.Status && t.ID != this.modIDBeingSwitched) || + ("Installed" == t.Status && t.ID == this.modIDBeingSwitched) + ) + ); + } + onSelect(t) { + console.log(t), (this.selectedMod = t); + } + clickDeleteMod(t) { + this.dialog + .open(Pw, { + width: "450px", + height: "180px", + disableClose: !0, + data: { + title: "Delete " + t.Name + "?", + subTitle: "Are you sure you want to delete this mod?", + button1Text: "Yes" + } + }) + .afterClosed() + .subscribe(e => { + if (1 == e) { + this.modSwitchInProgress = !0; + var n, + a = new TI(); + (a.ModID = t.ID), + (n = this.msgSvc.actionResponseMessage.subscribe(t => { + t.ResponseToMessageID == a.MessageID && + (console.log( + "Got response message in mods for mod ID " + a.ModID + ), + (this.modIDBeingSwitched = null), + (this.modSwitchInProgress = !1), + n.unsubscribe(), + t.Success || + console.log( + "mod id " + a.ModID + " could not delete!" + )); + })), + console.log("Sending message to delete mod id " + t.ID), + this.msgSvc.sendClientMessage(a); + } + }); + } + ngAfterViewInit() {} + } + var zI = Ia({ + encapsulation: 0, + styles: [ + [ + ".viewport[_ngcontent-%COMP%]{height:49px;overflow-y:auto;margin-left:300px}.modContainer[_ngcontent-%COMP%]{height:115px!important}.modContainer[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .modContainer[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-left:95px}.modContainer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{margin-left:95px!important}.modCategory[_ngcontent-%COMP%]{position:absolute;left:0;top:0;width:95px;height:115px;background-size:cover;background-repeat:no-repeat;border-radius:5px 0 0 5px}.builtinMods[_ngcontent-%COMP%]{float:right;top:103px}.colorName[_ngcontent-%COMP%]{text-shadow:-1.5px 0 2px #000,0 1.5px 2px #000,1.5px 0 2px #000,0 -1.5px 2px #000}.container[_ngcontent-%COMP%]{height:330px;overflow-y:scroll;overflow-x:hidden}.description[_ngcontent-%COMP%]{margin-top:5px;font-style:italic;margin-left:5px;text-align:justify;white-space:pre-line!important}.deleteMod[_ngcontent-%COMP%]{float:right;position:absolute;top:3px;right:3px;color:#ff4500}.modUrl[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}.header[_ngcontent-%COMP%]{margin-top:20px}.version[_ngcontent-%COMP%]{font-size:14px;color:#a9a9a9;margin-left:5px}.content[_ngcontent-%COMP%]{font-style:italic;margin-left:15px;margin-right:15px;text-align:justify}.modUrl[_ngcontent-%COMP%]{float:left;margin-top:5px;margin-bottom:0}.footer[_ngcontent-%COMP%]{margin-top:20px!important}.modId[_ngcontent-%COMP%]{color:#a9a9a9;font-size:8px;height:10px;position:absolute;left:5px;top:5px}.enabledtext[_ngcontent-%COMP%]{font-size:14px;float:right;margin-top:4px;color:#a9a9a9}.enabledtext.active[_ngcontent-%COMP%]{font-weight:700}.selected[_ngcontent-%COMP%]{background-color:#828282!important;color:#fff}mat-list-item[_ngcontent-%COMP%]{cursor:pointer;position:relative;left:0;background-color:#404040;margin:.5em;padding:.3em 0 .9em;height:1.6em;border-radius:4px}mat-list-item[_ngcontent-%COMP%]:hover{background-color:#474747;left:.1em}mat-list-item.selected[_ngcontent-%COMP%]:hover{background-color:#636363!important;color:#fff}.toggleContainer[_ngcontent-%COMP%]{display:block;float:right;width:65px;margin-right:6px}.toggle[_ngcontent-%COMP%], .toggleSpinner[_ngcontent-%COMP%]{display:inline-block}.toggleSpinner[_ngcontent-%COMP%]{margin-bottom:-3px;margin-left:5px;width:20px;height:20px}.description[_ngcontent-%COMP%]{font-size:12px;white-space:pre-wrap}.modal.left[_ngcontent-%COMP%] .modal-dialog[_ngcontent-%COMP%], .modal.right[_ngcontent-%COMP%] .modal-dialog[_ngcontent-%COMP%]{position:fixed;margin:auto;width:700px;height:100%;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.modal.left[_ngcontent-%COMP%] .modal-content[_ngcontent-%COMP%], .modal.right[_ngcontent-%COMP%] .modal-content[_ngcontent-%COMP%]{height:100%;overflow-y:auto}.modal.left[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%], .modal.right[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%]{padding:15px 15px 80px}.modal.right.fade[_ngcontent-%COMP%] .modal-dialog[_ngcontent-%COMP%]{right:-320px;transition:opacity .3s linear,right .3s ease-out}.modal.right.fade.in[_ngcontent-%COMP%] .modal-dialog[_ngcontent-%COMP%]{right:0}.modal-content[_ngcontent-%COMP%]{border-radius:0;border:none}.modal-header[_ngcontent-%COMP%]{border-bottom-color:#eee;background-color:#fafafa}" + ] + ], + data: {} + }); + function LI(t) { + return zr( + 0, + [ + (t()(), + Cr(0, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["No Mods!"])) + ], + null, + null + ); + } + function FI(t) { + return zr( + 0, + [ + (t()(), + Cr(0, 0, null, null, 1, "span", [], null, null, null, null, null)), + (t()(), Rr(1, null, [", ported by: ", ""])) + ], + null, + function(t, e) { + t(e, 1, 0, e.parent.context.$implicit.Porter); + } + ); + } + function BI(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 2, + "div", + [["class", "modUrl"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 1, + 0, + null, + null, + 1, + "a", + [], + [[8, "href", 4]], + null, + null, + null, + null + )), + (t()(), Rr(-1, null, ["More Information"])) + ], + null, + function(t, e) { + t(e, 1, 0, e.parent.context.$implicit.InfoUrl); + } + ); + } + function VI(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 0, + "div", + [["class", "toggleSpinner"]], + null, + null, + null, + null, + null + )) + ], + null, + null + ); + } + function HI(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "mat-progress-spinner", + [ + ["class", "toggleSpinner mat-progress-spinner"], + ["diameter", "20"], + ["mode", "indeterminate"], + ["role", "progressbar"] + ], + [ + [2, "_mat-animation-noopable", null], + [4, "width", "px"], + [4, "height", "px"], + [1, "aria-valuemin", 0], + [1, "aria-valuemax", 0], + [1, "aria-valuenow", 0], + [1, "mode", 0] + ], + null, + null, + OS, + _S + )), + Uo( + 1, + 49152, + null, + 0, + pS, + [Ln, Op, [2, Bs], [2, OP], hS], + { diameter: [0, "diameter"], mode: [1, "mode"] }, + null + ) + ], + function(t, e) { + t(e, 1, 0, "20", "indeterminate"); + }, + function(t, e) { + t( + e, + 0, + 0, + Io(e, 1)._noopAnimations, + Io(e, 1).diameter, + Io(e, 1).diameter, + "determinate" === Io(e, 1).mode ? 0 : null, + "determinate" === Io(e, 1).mode ? 100 : null, + "determinate" === Io(e, 1).mode ? Io(e, 1).value : null, + Io(e, 1).mode + ); + } + ); + } + function jI(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 47, + "mat-list-item", + [["class", "modContainer mat-list-item"]], + [ + [2, "mat-list-item-avatar", null], + [2, "mat-list-item-with-avatar", null] + ], + null, + null, + sI, + lI + )), + Uo(1, 1228800, null, 3, nI, [Ln, oa, [2, tI], [2, eI]], null, null), + vr(603979776, 8, { _lines: 1 }), + vr(603979776, 9, { _avatar: 0 }), + vr(603979776, 10, { _icon: 0 }), + (t()(), + Cr( + 5, + 0, + null, + 2, + 5, + "div", + [["class", "modCategory"]], + null, + null, + null, + null, + null + )), + Ko(512, null, Es, Is, [Ln, aa, jn]), + Uo(7, 278528, null, 0, Ts, [Es], { ngStyle: [0, "ngStyle"] }, null), + Ar(8, { "background-image": 0 }), + Uo( + 9, + 933888, + null, + 0, + Lx, + [Ln, yy, wy, aa, jn, mu, [6, Ts], [2, $M], fi], + { ngStyle: [0, "ngStyle"] }, + null + ), + Ar(10, { "background-image": 0 }), + (t()(), + Cr( + 11, + 16777216, + null, + 2, + 4, + "div", + [ + ["class", "deleteMod"], + ["matTooltip", "Delete the mod from Beat On."] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "longpress" === e && (a = !1 !== Io(t, 12).show() && a), + "keydown" === e && + (a = !1 !== Io(t, 12)._handleKeydown(n) && a), + "touchend" === e && + (a = !1 !== Io(t, 12)._handleTouchend() && a), + "click" === e && + (a = !1 !== o.clickDeleteMod(t.context.$implicit) && a), + a + ); + }, + null, + null + )), + Uo( + 12, + 212992, + null, + 0, + Mv, + [rM, Ln, kO, ua, Di, Op, sf, _f, Cv, [2, hp], [2, Ov], [2, ru]], + { message: [0, "message"] }, + null + ), + (t()(), + Cr( + 13, + 0, + null, + null, + 2, + "mat-icon", + [["class", "mat-icon notranslate"], ["role", "img"]], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + _b, + bb + )), + Uo( + 14, + 9158656, + null, + 0, + pb, + [Ln, rb, [8, null], [2, ub]], + null, + null + ), + (t()(), Rr(-1, 0, ["delete_forever"])), + (t()(), + Cr( + 16, + 0, + null, + 1, + 4, + "h1", + [["class", "mat-line"], ["matLine", ""]], + null, + null, + null, + null, + null + )), + Uo(17, 16384, [[8, 4]], 0, Df, [], null, null), + (t()(), Rr(18, null, [" ", " "])), + (t()(), + Cr( + 19, + 0, + null, + null, + 1, + "span", + [["class", "version"]], + null, + null, + null, + null, + null + )), + (t()(), Rr(20, null, ["", ""])), + (t()(), + Cr( + 21, + 0, + null, + 1, + 4, + "h4", + [["class", "mat-line"], ["matLine", ""]], + null, + null, + null, + null, + null + )), + Uo(22, 16384, [[8, 4]], 0, Df, [], null, null), + (t()(), Rr(23, null, [" by ", ""])), + (t()(), _r(16777216, null, null, 1, null, FI)), + Uo(25, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), + Cr( + 26, + 0, + null, + 1, + 2, + "div", + [["class", "description mat-line"], ["matLine", ""]], + null, + null, + null, + null, + null + )), + Uo(27, 16384, [[8, 4]], 0, Df, [], null, null), + (t()(), Rr(28, null, [" ", ""])), + (t()(), + Cr( + 29, + 0, + null, + 1, + 18, + "div", + [["class", "footer mat-line"], ["matLine", ""]], + null, + null, + null, + null, + null + )), + Uo(30, 16384, [[8, 4]], 0, Df, [], null, null), + (t()(), _r(16777216, null, null, 1, null, BI)), + Uo(32, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), + Cr( + 33, + 0, + null, + null, + 7, + "div", + [["class", "toggleContainer"]], + null, + null, + null, + null, + null + )), + (t()(), _r(16777216, null, null, 1, null, VI)), + Uo(35, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, null, 1, null, HI)), + Uo(37, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), + Cr( + 38, + 0, + null, + null, + 2, + "mat-slide-toggle", + [["class", "toggle mat-slide-toggle"]], + [ + [8, "id", 0], + [1, "tabindex", 0], + [2, "mat-checked", null], + [2, "mat-disabled", null], + [2, "mat-slide-toggle-label-before", null], + [2, "_mat-animation-noopable", null] + ], + [[null, "change"], [null, "[ngModel]"], [null, "focus"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "focus" === e && + (a = + !1 !== Io(t, 40)._inputElement.nativeElement.focus() && + a), + "change" === e && + (a = !1 !== o.toggleMod(n, t.context.$implicit) && a), + "[ngModel]" === e && (a = a), + a + ); + }, + LS, + zS + )), + Ko( + 5120, + null, + Ux, + function(t) { + return [t]; + }, + [DS] + ), + Uo( + 40, + 1228800, + null, + 0, + DS, + [Ln, _f, oa, [8, null], Di, ES, [2, OP], [2, hp]], + { disabled: [0, "disabled"], checked: [1, "checked"] }, + { change: "change" } + ), + (t()(), + Cr( + 41, + 0, + null, + null, + 6, + "span", + [["class", "enabledtext"]], + null, + null, + null, + null, + null + )), + Ko(512, null, fs, bs, [na, aa, Ln, jn]), + Uo( + 43, + 278528, + null, + 0, + Cs, + [fs], + { klass: [0, "klass"], ngClass: [1, "ngClass"] }, + null + ), + Ar(44, { active: 0 }), + Uo( + 45, + 933888, + null, + 0, + Ix, + [Ln, yy, wy, na, aa, jn, [6, Cs]], + { ngClass: [0, "ngClass"], klass: [1, "klass"] }, + null + ), + Ar(46, { active: 0 }), + (t()(), Rr(47, null, ["Mod ", ":"])) + ], + function(t, e) { + var n = e.component, + a = t(e, 8, 0, n.getModBG(e.context.$implicit)); + t(e, 7, 0, a); + var o = t(e, 10, 0, n.getModBG(e.context.$implicit)); + t(e, 9, 0, o), + t(e, 12, 0, "Delete the mod from Beat On."), + t(e, 14, 0), + t(e, 25, 0, e.context.$implicit.Porter), + t( + e, + 32, + 0, + null == e.context.$implicit + ? null + : null == e.context.$implicit.InfoUrl + ? null + : e.context.$implicit.InfoUrl.length + ), + t(e, 35, 0, n.modIDBeingSwitched != e.context.$implicit.ID), + t(e, 37, 0, n.modIDBeingSwitched == e.context.$implicit.ID), + t( + e, + 40, + 0, + n.modSwitchInProgress, + n.getModSwitch(e.context.$implicit) + ); + var i = t(e, 44, 0, "Installed" == e.context.$implicit.Status); + t(e, 43, 0, "enabledtext", i); + var r = t(e, 46, 0, "Installed" == e.context.$implicit.Status); + t(e, 45, 0, r, "enabledtext"); + }, + function(t, e) { + t( + e, + 0, + 0, + Io(e, 1)._avatar || Io(e, 1)._icon, + Io(e, 1)._avatar || Io(e, 1)._icon + ), + t( + e, + 13, + 0, + Io(e, 14).inline, + "primary" !== Io(e, 14).color && + "accent" !== Io(e, 14).color && + "warn" !== Io(e, 14).color + ), + t(e, 18, 0, e.context.$implicit.Name), + t(e, 20, 0, e.context.$implicit.Version), + t(e, 23, 0, e.context.$implicit.Author), + t(e, 28, 0, e.context.$implicit.Description), + t( + e, + 38, + 0, + Io(e, 40).id, + Io(e, 40).disabled ? null : -1, + Io(e, 40).checked, + Io(e, 40).disabled, + "before" == Io(e, 40).labelPosition, + "NoopAnimations" === Io(e, 40)._animationMode + ), + t( + e, + 47, + 0, + "Installed" == e.context.$implicit.Status + ? "Active" + : "Inactive" + ); + } + ); + } + function UI(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "h4", + [["class", "modal-title"], ["id", "myModalLabel2"]], + null, + null, + null, + null, + null + )), + (t()(), Rr(1, null, ["", ""])) + ], + null, + function(t, e) { + t(e, 1, 0, e.component.selectedMod.Name); + } + ); + } + function qI(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "h3", + [["class", "mat-display-1"]], + null, + null, + null, + null, + null + )), + (t()(), Rr(1, null, [" Created by: ", ""])) + ], + null, + function(t, e) { + t(e, 1, 0, e.component.selectedMod.Author); + } + ); + } + function KI(t) { + return zr( + 0, + [ + (t()(), + Cr(0, 0, null, null, 1, "p", [], null, null, null, null, null)), + (t()(), Rr(1, null, [" ", " "])) + ], + null, + function(t, e) { + t(e, 1, 0, e.component.selectedMod.Description); + } + ); + } + function YI(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "a", + [], + [[8, "href", 4]], + null, + null, + null, + null + )), + (t()(), Rr(-1, null, [" More Info "])) + ], + null, + function(t, e) { + t(e, 0, 0, ao(1, "", e.component.selectedMod.InfoUrl, "")); + } + ); + } + function WI(t) { + return zr( + 0, + [ + (t()(), + Cr(0, 0, null, null, 17, "div", [], null, null, null, null, null)), + (t()(), + Cr( + 1, + 0, + null, + null, + 5, + "div", + [["class", "modal-header"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 2, + 0, + null, + null, + 2, + "button", + [["aria-label", "Close"], ["class", "close"], ["type", "button"]], + null, + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && (a = !1 !== Io(t.parent, 57).close() && a), a + ); + }, + null, + null + )), + (t()(), + Cr( + 3, + 0, + null, + null, + 1, + "span", + [["aria-hidden", "true"]], + null, + null, + null, + null, + null + )), + (t()(), Rr(-1, null, ["\xd7"])), + (t()(), _r(16777216, null, null, 1, null, UI)), + Uo(6, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), + Cr( + 7, + 0, + null, + null, + 10, + "div", + [["class", "modal-body"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 8, + 0, + null, + null, + 9, + "section", + [["class", "mat-typography"]], + null, + null, + null, + null, + null + )), + (t()(), _r(16777216, null, null, 1, null, qI)), + Uo(10, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, null, 1, null, KI)), + Uo(12, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), + Cr( + 13, + 0, + null, + null, + 2, + "button", + [["class", "md-raised md-primary"], ["mat-raised-button", ""]], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + null, + null, + vP, + yP + )), + Uo(14, 180224, null, 0, Mb, [Ln, _f, [2, OP]], null, null), + (t()(), Rr(-1, 0, ["Install"])), + (t()(), _r(16777216, null, null, 1, null, YI)), + Uo(17, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null) + ], + function(t, e) { + var n = e.component; + t(e, 6, 0, n.selectedMod), + t(e, 10, 0, n.selectedMod), + t(e, 12, 0, n.selectedMod), + t(e, 17, 0, n.selectedMod); + }, + function(t, e) { + t( + e, + 13, + 0, + Io(e, 14).disabled || null, + "NoopAnimations" === Io(e, 14)._animationMode + ); + } + ); + } + function GI(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 46, + "section", + [], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 1, + 0, + null, + null, + 45, + "mat-card", + [["class", "setup-card mat-card"]], + null, + null, + null, + $f, + Gf + )), + Uo(2, 49152, null, 0, cp, [], null, null), + (t()(), + Cr( + 3, + 0, + null, + 0, + 43, + "mat-card-header", + [["class", "mat-card-header"]], + null, + null, + null, + Qf, + Zf + )), + Uo(4, 49152, null, 0, dp, [], null, null), + (t()(), + Cr( + 5, + 0, + null, + 0, + 4, + "div", + [["class", "mat-card-avatar"], ["mat-card-avatar", ""]], + null, + null, + null, + null, + null + )), + Uo(6, 16384, null, 0, sp, [], null, null), + (t()(), + Cr( + 7, + 0, + null, + null, + 2, + "mat-icon", + [ + ["aria-hidden", "false"], + ["class", "setup-icon mat-icon notranslate"], + ["role", "img"] + ], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + _b, + bb + )), + Uo( + 8, + 9158656, + null, + 0, + pb, + [Ln, rb, [8, "false"], [2, ub]], + null, + null + ), + (t()(), Rr(-1, 0, ["cloud_upload"])), + (t()(), + Cr( + 10, + 0, + null, + 1, + 2, + "mat-card-title", + [["class", "mat-card-title"]], + null, + null, + null, + null, + null + )), + Uo(11, 16384, null, 0, ip, [], null, null), + (t()(), Rr(-1, null, ["Mod Management"])), + (t()(), + Cr( + 13, + 0, + null, + 1, + 2, + "mat-card-subtitle", + [["class", "mat-card-subtitle"]], + null, + null, + null, + null, + null + )), + Uo(14, 16384, null, 0, rp, [], null, null), + (t()(), + Rr(-1, null, [ + "Manage all mods available for the quest here. Install, uninstall, and configure mods.." + ])), + (t()(), + Cr( + 16, + 0, + null, + 2, + 30, + "div", + [["class", "builtinMods"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 17, + 0, + null, + null, + 29, + "mat-chip-list", + [["class", "mat-chip-list"]], + [ + [1, "tabindex", 0], + [1, "aria-describedby", 0], + [1, "aria-required", 0], + [1, "aria-disabled", 0], + [1, "aria-invalid", 0], + [1, "aria-multiselectable", 0], + [1, "role", 0], + [2, "mat-chip-list-disabled", null], + [2, "mat-chip-list-invalid", null], + [2, "mat-chip-list-required", null], + [1, "aria-orientation", 0], + [8, "id", 0] + ], + [[null, "focus"], [null, "blur"], [null, "keydown"]], + function(t, e, n) { + var a = !0; + return ( + "focus" === e && (a = !1 !== Io(t, 19).focus() && a), + "blur" === e && (a = !1 !== Io(t, 19)._blur() && a), + "keydown" === e && (a = !1 !== Io(t, 19)._keydown(n) && a), + a + ); + }, + SE, + wE + )), + Ko(6144, null, QS, null, [WS]), + Uo( + 19, + 1556480, + null, + 1, + WS, + [Ln, oa, [2, hp], [2, Rk], [2, Hk], Ef, [8, null]], + null, + null + ), + vr(603979776, 1, { chips: 1 }), + (t()(), + Cr( + 21, + 16777216, + null, + 0, + 12, + "mat-chip", + [ + ["class", "mat-chip"], + ["cpCloseClickOutside", "true"], + ["cpOKButtonText", "Save Color"], + ["cpOutputFormat", "rgba"], + ["cpPosition", "left"], + ["role", "option"], + ["selected", ""] + ], + [ + [1, "tabindex", 0], + [2, "mat-chip-selected", null], + [2, "mat-chip-with-avatar", null], + [2, "mat-chip-with-trailing-icon", null], + [2, "mat-chip-disabled", null], + [1, "disabled", 0], + [1, "aria-disabled", 0], + [1, "aria-selected", 0] + ], + [ + [null, "colorPickerChange"], + [null, "colorPickerSelect"], + [null, "click"], + [null, "keydown"], + [null, "focus"], + [null, "blur"], + [null, "input"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "click" === e && (a = !1 !== Io(t, 27)._handleClick(n) && a), + "keydown" === e && + (a = !1 !== Io(t, 27)._handleKeydown(n) && a), + "focus" === e && (a = !1 !== Io(t, 27).focus() && a), + "blur" === e && (a = !1 !== Io(t, 27)._blur() && a), + "click" === e && (a = !1 !== Io(t, 31).handleClick() && a), + "focus" === e && (a = !1 !== Io(t, 31).handleFocus() && a), + "input" === e && (a = !1 !== Io(t, 31).handleInput(n) && a), + "colorPickerChange" === e && + (a = !1 !== (o.leftColor = n) && a), + "colorPickerSelect" === e && + (a = !1 !== o.leftColorSelected(n) && a), + a + ); + }, + null, + null + )), + Ko(512, null, Es, Is, [Ln, aa, jn]), + Uo( + 23, + 278528, + null, + 0, + Ts, + [Es], + { ngStyle: [0, "ngStyle"] }, + null + ), + Ar(24, { "background-color": 0 }), + Uo( + 25, + 933888, + null, + 0, + Lx, + [Ln, yy, wy, aa, jn, mu, [6, Ts], [2, $M], fi], + { ngStyle: [0, "ngStyle"] }, + null + ), + Ar(26, { "background-color": 0 }), + Uo( + 27, + 147456, + [[1, 4]], + 3, + VS, + [Ln, Di, Op, [2, Uf]], + { selected: [0, "selected"] }, + null + ), + vr(603979776, 2, { avatar: 0 }), + vr(603979776, 3, { trailingIcon: 0 }), + vr(603979776, 4, { removeIcon: 0 }), + Uo( + 31, + 671744, + null, + 0, + PI, + [Wt, An, Ji, ua, Ln, _I], + { + colorPicker: [0, "colorPicker"], + cpCmykEnabled: [1, "cpCmykEnabled"], + cpOutputFormat: [2, "cpOutputFormat"], + cpAlphaChannel: [3, "cpAlphaChannel"], + cpCloseClickOutside: [4, "cpCloseClickOutside"], + cpPosition: [5, "cpPosition"], + cpPositionOffset: [6, "cpPositionOffset"], + cpOKButton: [7, "cpOKButton"], + cpOKButtonText: [8, "cpOKButtonText"] + }, + { + colorPickerSelect: "colorPickerSelect", + colorPickerChange: "colorPickerChange" + } + ), + (t()(), + Cr( + 32, + 0, + null, + null, + 1, + "span", + [["class", "colorName"]], + null, + null, + null, + null, + null + )), + (t()(), Rr(-1, null, ["Left Color"])), + (t()(), + Cr( + 34, + 16777216, + null, + 0, + 12, + "mat-chip", + [ + ["class", "mat-chip"], + ["cpCloseClickOutside", "true"], + ["cpOKButtonText", "Save Color"], + ["cpOutputFormat", "rgba"], + ["cpPosition", "left"], + ["role", "option"], + ["selected", ""] + ], + [ + [1, "tabindex", 0], + [2, "mat-chip-selected", null], + [2, "mat-chip-with-avatar", null], + [2, "mat-chip-with-trailing-icon", null], + [2, "mat-chip-disabled", null], + [1, "disabled", 0], + [1, "aria-disabled", 0], + [1, "aria-selected", 0] + ], + [ + [null, "colorPickerChange"], + [null, "colorPickerSelect"], + [null, "click"], + [null, "keydown"], + [null, "focus"], + [null, "blur"], + [null, "input"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "click" === e && (a = !1 !== Io(t, 40)._handleClick(n) && a), + "keydown" === e && + (a = !1 !== Io(t, 40)._handleKeydown(n) && a), + "focus" === e && (a = !1 !== Io(t, 40).focus() && a), + "blur" === e && (a = !1 !== Io(t, 40)._blur() && a), + "click" === e && (a = !1 !== Io(t, 44).handleClick() && a), + "focus" === e && (a = !1 !== Io(t, 44).handleFocus() && a), + "input" === e && (a = !1 !== Io(t, 44).handleInput(n) && a), + "colorPickerChange" === e && + (a = !1 !== (o.rightColor = n) && a), + "colorPickerSelect" === e && + (a = !1 !== o.rightColorSelected(n) && a), + a + ); + }, + null, + null + )), + Ko(512, null, Es, Is, [Ln, aa, jn]), + Uo( + 36, + 278528, + null, + 0, + Ts, + [Es], + { ngStyle: [0, "ngStyle"] }, + null + ), + Ar(37, { "background-color": 0 }), + Uo( + 38, + 933888, + null, + 0, + Lx, + [Ln, yy, wy, aa, jn, mu, [6, Ts], [2, $M], fi], + { ngStyle: [0, "ngStyle"] }, + null + ), + Ar(39, { "background-color": 0 }), + Uo( + 40, + 147456, + [[1, 4]], + 3, + VS, + [Ln, Di, Op, [2, Uf]], + { selected: [0, "selected"] }, + null + ), + vr(603979776, 5, { avatar: 0 }), + vr(603979776, 6, { trailingIcon: 0 }), + vr(603979776, 7, { removeIcon: 0 }), + Uo( + 44, + 671744, + null, + 0, + PI, + [Wt, An, Ji, ua, Ln, _I], + { + colorPicker: [0, "colorPicker"], + cpCmykEnabled: [1, "cpCmykEnabled"], + cpOutputFormat: [2, "cpOutputFormat"], + cpAlphaChannel: [3, "cpAlphaChannel"], + cpCloseClickOutside: [4, "cpCloseClickOutside"], + cpPosition: [5, "cpPosition"], + cpPositionOffset: [6, "cpPositionOffset"], + cpOKButton: [7, "cpOKButton"], + cpOKButtonText: [8, "cpOKButtonText"] + }, + { + colorPickerSelect: "colorPickerSelect", + colorPickerChange: "colorPickerChange" + } + ), + (t()(), + Cr( + 45, + 0, + null, + null, + 1, + "span", + [["class", "colorName"]], + null, + null, + null, + null, + null + )), + (t()(), Rr(-1, null, ["Right Color"])), + (t()(), + Cr( + 47, + 0, + null, + null, + 8, + "section", + [["class", "container"]], + null, + null, + null, + null, + null + )), + (t()(), _r(16777216, null, null, 1, null, LI)), + Uo(49, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), + Cr( + 50, + 0, + null, + null, + 5, + "div", + [["fxFlex", "60%"]], + null, + null, + null, + null, + null + )), + Uo( + 51, + 671744, + null, + 0, + Uy, + [Ln, yy, GM, Vy, wy], + { fxFlex: [0, "fxFlex"] }, + null + ), + (t()(), + Cr( + 52, + 0, + null, + null, + 3, + "mat-list", + [["class", "mat-list mat-list-base"]], + null, + null, + null, + rI, + iI + )), + Uo(53, 704512, null, 0, eI, [Ln], null, null), + (t()(), _r(16777216, null, 0, 1, null, jI)), + Uo( + 55, + 278528, + null, + 0, + Os, + [ua, ca, na], + { ngForOf: [0, "ngForOf"] }, + null + ), + (t()(), + Cr( + 56, + 0, + null, + null, + 3, + "ngx-smart-modal", + [], + null, + [["window", "resize"]], + function(t, e, n) { + var a = !0; + return ( + "window:resize" === e && + (a = !1 !== Io(t, 57).targetPlacement() && a), + a + ); + }, + II, + wI + )), + Uo( + 57, + 245760, + [["myModal", 4]], + 0, + yI, + [jn, oa, MI], + { identifier: [0, "identifier"] }, + null + ), + (t()(), _r(16777216, null, 0, 1, null, WI)), + Uo(59, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null) + ], + function(t, e) { + var n = e.component; + t(e, 8, 0), t(e, 19, 0); + var a = t(e, 24, 0, n.leftColor); + t(e, 23, 0, a); + var o = t(e, 26, 0, n.leftColor); + t(e, 25, 0, o), + t(e, 27, 0, ""), + t( + e, + 31, + 0, + n.leftColor, + !1, + "rgba", + !0, + "true", + "left", + -30, + !0, + "Save Color" + ); + var i = t(e, 37, 0, n.rightColor); + t(e, 36, 0, i); + var r = t(e, 39, 0, n.rightColor); + t(e, 38, 0, r), + t(e, 40, 0, ""), + t( + e, + 44, + 0, + n.rightColor, + !1, + "rgba", + !0, + "true", + "left", + -30, + !0, + "Save Color" + ), + t(e, 49, 0, !n.config), + t(e, 51, 0, "60%"), + t(e, 55, 0, n.config.Mods), + t(e, 57, 0, "myModal"), + t(e, 59, 0, Io(e, 57).hasData()); + }, + function(t, e) { + t( + e, + 7, + 0, + Io(e, 8).inline, + "primary" !== Io(e, 8).color && + "accent" !== Io(e, 8).color && + "warn" !== Io(e, 8).color + ), + t(e, 17, 1, [ + Io(e, 19).disabled ? null : Io(e, 19)._tabIndex, + Io(e, 19)._ariaDescribedby || null, + Io(e, 19).required.toString(), + Io(e, 19).disabled.toString(), + Io(e, 19).errorState, + Io(e, 19).multiple, + Io(e, 19).role, + Io(e, 19).disabled, + Io(e, 19).errorState, + Io(e, 19).required, + Io(e, 19).ariaOrientation, + Io(e, 19)._uid + ]), + t( + e, + 21, + 0, + Io(e, 27).disabled ? null : -1, + Io(e, 27).selected, + Io(e, 27).avatar, + Io(e, 27).trailingIcon || Io(e, 27).removeIcon, + Io(e, 27).disabled, + Io(e, 27).disabled || null, + Io(e, 27).disabled.toString(), + Io(e, 27).ariaSelected + ), + t( + e, + 34, + 0, + Io(e, 40).disabled ? null : -1, + Io(e, 40).selected, + Io(e, 40).avatar, + Io(e, 40).trailingIcon || Io(e, 40).removeIcon, + Io(e, 40).disabled, + Io(e, 40).disabled || null, + Io(e, 40).disabled.toString(), + Io(e, 40).ariaSelected + ); + } + ); + } + function $I(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "app-main-mods", + [], + null, + null, + null, + GI, + zI + )), + Uo(1, 4308992, null, 0, NI, [Lg, vc, bg, MI, CM], null, null) + ], + function(t, e) { + t(e, 1, 0); + }, + null + ); + } + var ZI = Co("app-main-mods", NI, $I, {}, {}, []), + QI = Ia({ + encapsulation: 2, + styles: [ + ".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}@media (-ms-high-contrast:active){.mat-dialog-container{outline:solid 1px}}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button+.mat-button,.mat-dialog-actions .mat-button+.mat-raised-button,.mat-dialog-actions .mat-raised-button+.mat-button,.mat-dialog-actions .mat-raised-button+.mat-raised-button{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button+.mat-button,[dir=rtl] .mat-dialog-actions .mat-button+.mat-raised-button,[dir=rtl] .mat-dialog-actions .mat-raised-button+.mat-button,[dir=rtl] .mat-dialog-actions .mat-raised-button+.mat-raised-button{margin-left:0;margin-right:8px}" + ], + data: { + animation: [ + { + type: 7, + name: "dialogContainer", + definitions: [ + { + type: 0, + name: "void, exit", + styles: { + type: 6, + styles: { opacity: 0, transform: "scale(0.7)" }, + offset: null + }, + options: void 0 + }, + { + type: 0, + name: "enter", + styles: { + type: 6, + styles: { transform: "none" }, + offset: null + }, + options: void 0 + }, + { + type: 1, + expr: "* => enter", + animation: { + type: 4, + styles: { + type: 6, + styles: { transform: "none", opacity: 1 }, + offset: null + }, + timings: "150ms cubic-bezier(0, 0, 0.2, 1)" + }, + options: null + }, + { + type: 1, + expr: "* => void, * => exit", + animation: { + type: 4, + styles: { type: 6, styles: { opacity: 0 }, offset: null }, + timings: "75ms cubic-bezier(0.4, 0.0, 0.2, 1)" + }, + options: null + } + ], + options: {} + } + ] + } + }); + function XI(t) { + return zr(0, [(t()(), _r(0, null, null, 0))], null, null); + } + function JI(t) { + return zr( + 0, + [ + vr(402653184, 1, { _portalOutlet: 0 }), + (t()(), _r(16777216, null, null, 1, null, XI)), + Uo( + 2, + 212992, + [[1, 4]], + 0, + FP, + [An, ua], + { portal: [0, "portal"] }, + null + ) + ], + function(t, e) { + t(e, 2, 0, ""); + }, + null + ); + } + function tA(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "mat-dialog-container", + [ + ["aria-modal", "true"], + ["class", "mat-dialog-container"], + ["tabindex", "-1"] + ], + [ + [1, "id", 0], + [1, "role", 0], + [1, "aria-labelledby", 0], + [1, "aria-label", 0], + [1, "aria-describedby", 0], + [40, "@dialogContainer", 0] + ], + [ + ["component", "@dialogContainer.start"], + ["component", "@dialogContainer.done"] + ], + function(t, e, n) { + var a = !0; + return ( + "component:@dialogContainer.start" === e && + (a = !1 !== Io(t, 1)._onAnimationStart(n) && a), + "component:@dialogContainer.done" === e && + (a = !1 !== Io(t, 1)._onAnimationDone(n) && a), + a + ); + }, + JI, + QI + )), + Uo(1, 49152, null, 0, mM, [Ln, pf, oa, [2, Bs], dM], null, null) + ], + null, + function(t, e) { + t( + e, + 0, + 0, + Io(e, 1)._id, + Io(e, 1)._config.role, + Io(e, 1)._config.ariaLabel ? null : Io(e, 1)._ariaLabelledBy, + Io(e, 1)._config.ariaLabel, + Io(e, 1)._config.ariaDescribedBy || null, + Io(e, 1)._state + ); + } + ); + } + var eA = Co("mat-dialog-container", mM, tA, {}, {}, []), + nA = Ia({ + encapsulation: 2, + styles: [ + ".mat-tooltip-panel{pointer-events:none!important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}@media (-ms-high-contrast:active){.mat-tooltip{outline:solid 1px}}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}" + ], + data: { + animation: [ + { + type: 7, + name: "state", + definitions: [ + { + type: 0, + name: "initial, void, hidden", + styles: { + type: 6, + styles: { opacity: 0, transform: "scale(0)" }, + offset: null + }, + options: void 0 + }, + { + type: 0, + name: "visible", + styles: { + type: 6, + styles: { transform: "scale(1)" }, + offset: null + }, + options: void 0 + }, + { + type: 1, + expr: "* => visible", + animation: { + type: 4, + styles: { + type: 5, + steps: [ + { + type: 6, + styles: { + opacity: 0, + transform: "scale(0)", + offset: 0 + }, + offset: null + }, + { + type: 6, + styles: { + opacity: 0.5, + transform: "scale(0.99)", + offset: 0.5 + }, + offset: null + }, + { + type: 6, + styles: { + opacity: 1, + transform: "scale(1)", + offset: 1 + }, + offset: null + } + ] + }, + timings: "200ms cubic-bezier(0, 0, 0.2, 1)" + }, + options: null + }, + { + type: 1, + expr: "* => hidden", + animation: { + type: 4, + styles: { type: 6, styles: { opacity: 0 }, offset: null }, + timings: "100ms cubic-bezier(0, 0, 0.2, 1)" + }, + options: null + } + ], + options: {} + } + ] + } + }); + function aA(t) { + return zr( + 2, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 4, + "div", + [["class", "mat-tooltip"]], + [[2, "mat-tooltip-handset", null], [24, "@state", 0]], + [[null, "@state.start"], [null, "@state.done"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "@state.start" === e && (a = !1 !== o._animationStart() && a), + "@state.done" === e && (a = !1 !== o._animationDone(n) && a), + a + ); + }, + null, + null + )), + Ko(512, null, fs, bs, [na, aa, Ln, jn]), + Uo( + 2, + 278528, + null, + 0, + Cs, + [fs], + { klass: [0, "klass"], ngClass: [1, "ngClass"] }, + null + ), + qo(131072, Ls, [oa]), + (t()(), Rr(4, null, ["", ""])) + ], + function(t, e) { + t(e, 2, 0, "mat-tooltip", e.component.tooltipClass); + }, + function(t, e) { + var n, + a = e.component; + t( + e, + 0, + 0, + null == (n = wa(e, 0, 0, Io(e, 3).transform(a._isHandset))) + ? null + : n.matches, + a._visibility + ), + t(e, 4, 0, a.message); + } + ); + } + function oA(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "mat-tooltip-component", + [["aria-hidden", "true"]], + [[4, "zoom", null]], + [["body", "click"]], + function(t, e, n) { + var a = !0; + return ( + "body:click" === e && + (a = !1 !== Io(t, 1)._handleBodyInteraction() && a), + a + ); + }, + aA, + nA + )), + Uo(1, 180224, null, 0, yv, [oa, pv], null, null) + ], + null, + function(t, e) { + t(e, 0, 0, "visible" === Io(e, 1)._visibility ? 1 : null); + } + ); + } + var iA = Co("mat-tooltip-component", yv, oA, {}, {}, []), + rA = Ia({ + encapsulation: 2, + styles: [ + ".color-picker {\n position: absolute;\n z-index: 100000;\n\n width: 230px;\n height: auto;\n border: #777 solid 1px;\n\n cursor: default;\n\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n\n user-select: none;\n background-color: #fff;\n}\n\n.color-picker * {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n\n box-sizing: border-box;\n margin: 0;\n\n font-size: 11px;\n}\n\n.color-picker input {\n width: 0;\n height: 26px;\n min-width: 0;\n\n font-size: 13px;\n text-align: center;\n color: #000;\n}\n\n.color-picker input:invalid,\n.color-picker input:-moz-ui-invalid,\n.color-picker input:-moz-submit-invalid {\n box-shadow: none;\n}\n\n.color-picker input::-webkit-inner-spin-button,\n.color-picker input::-webkit-outer-spin-button {\n margin: 0;\n\n -webkit-appearance: none;\n}\n\n.color-picker .arrow {\n position: absolute;\n z-index: 999999;\n\n width: 0;\n height: 0;\n border-style: solid;\n}\n\n.color-picker .arrow.arrow-top {\n left: 8px;\n\n border-width: 10px 5px;\n border-color: #777 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);\n}\n\n.color-picker .arrow.arrow-left {\n top: 8px;\n left: 100%;\n\n border-width: 5px 10px;\n border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #777;\n}\n\n.color-picker .arrow.arrow-right {\n top: 8px;\n left: -20px;\n\n border-width: 5px 10px;\n border-color: rgba(0, 0, 0, 0) #777 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);\n}\n\n.color-picker .arrow.arrow-bottom {\n top: -20px;\n left: 8px;\n\n border-width: 10px 5px;\n border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #777 rgba(0, 0, 0, 0);\n}\n\n.color-picker .cursor {\n position: relative;\n\n width: 16px;\n height: 16px;\n border: #222 solid 2px;\n border-radius: 50%;\n\n cursor: default;\n}\n\n.color-picker .box {\n display: flex;\n padding: 4px 8px;\n}\n\n.color-picker .left {\n position: relative;\n\n padding: 16px 8px;\n}\n\n.color-picker .right {\n -webkit-flex: 1 1 auto;\n -ms-flex: 1 1 auto;\n\n flex: 1 1 auto;\n\n padding: 12px 8px;\n}\n\n.color-picker .button-area {\n padding: 0 16px 16px;\n\n text-align: right;\n}\n\n.color-picker .preset-area {\n padding: 4px 15px;\n}\n\n.color-picker .preset-area .preset-label {\n overflow: hidden;\n width: 100%;\n padding: 4px;\n\n font-size: 11px;\n white-space: nowrap;\n text-align: left;\n text-overflow: ellipsis;\n color: #555;\n}\n\n.color-picker .preset-area .preset-color {\n position: relative;\n\n display: inline-block;\n width: 18px;\n height: 18px;\n margin: 4px 6px 8px;\n border: #a9a9a9 solid 1px;\n border-radius: 25%;\n\n cursor: pointer;\n}\n\n.color-picker .preset-area .preset-empty-message {\n min-height: 18px;\n margin-top: 4px;\n margin-bottom: 8px;\n\n font-style: italic;\n text-align: center;\n}\n\n.color-picker .hex-text {\n width: 100%;\n padding: 4px 8px;\n\n font-size: 11px;\n}\n\n.color-picker .hex-text .box {\n padding: 0 24px 8px 8px;\n}\n\n.color-picker .hex-text .box div {\n float: left;\n\n -webkit-flex: 1 1 auto;\n -ms-flex: 1 1 auto;\n\n flex: 1 1 auto;\n\n text-align: center;\n color: #555;\n clear: left;\n}\n\n.color-picker .hex-text .box input {\n -webkit-flex: 1 1 auto;\n -ms-flex: 1 1 auto;\n\n flex: 1 1 auto;\n padding: 1px;\n border: #a9a9a9 solid 1px;\n}\n\n.color-picker .hex-alpha .box div:first-child,\n.color-picker .hex-alpha .box input:first-child {\n flex-grow: 3;\n margin-right: 8px;\n}\n\n.color-picker .cmyk-text,\n.color-picker .hsla-text,\n.color-picker .rgba-text,\n.color-picker .value-text {\n width: 100%;\n padding: 4px 8px;\n\n font-size: 11px;\n}\n\n.color-picker .cmyk-text .box,\n.color-picker .hsla-text .box,\n.color-picker .rgba-text .box {\n padding: 0 24px 8px 8px;\n}\n\n.color-picker .value-text .box {\n padding: 0 8px 8px;\n}\n\n.color-picker .cmyk-text .box div,\n.color-picker .hsla-text .box div,\n.color-picker .rgba-text .box div,\n.color-picker .value-text .box div {\n -webkit-flex: 1 1 auto;\n -ms-flex: 1 1 auto;\n\n flex: 1 1 auto;\n margin-right: 8px;\n\n text-align: center;\n color: #555;\n}\n\n.color-picker .cmyk-text .box div:last-child,\n.color-picker .hsla-text .box div:last-child,\n.color-picker .rgba-text .box div:last-child,\n.color-picker .value-text .box div:last-child {\n margin-right: 0;\n}\n\n.color-picker .cmyk-text .box input,\n.color-picker .hsla-text .box input,\n.color-picker .rgba-text .box input,\n.color-picker .value-text .box input {\n float: left;\n\n -webkit-flex: 1;\n -ms-flex: 1;\n\n flex: 1;\n padding: 1px;\n margin: 0 8px 0 0;\n border: #a9a9a9 solid 1px;\n}\n\n.color-picker .cmyk-text .box input:last-child,\n.color-picker .hsla-text .box input:last-child,\n.color-picker .rgba-text .box input:last-child,\n.color-picker .value-text .box input:last-child {\n margin-right: 0;\n}\n\n.color-picker .hue-alpha {\n align-items: center;\n margin-bottom: 3px;\n}\n\n.color-picker .hue {\n direction: ltr;\n\n width: 100%;\n height: 16px;\n margin-bottom: 16px;\n border: none;\n\n cursor: pointer;\n background-size: 100% 100%;\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAQCAYAAAD06IYnAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AIWDwkUFWbCCAAAAFxJREFUaN7t0kEKg0AQAME2x83/n2qu5qCgD1iDhCoYdpnbQC9bbY1qVO/jvc6k3ad91s7/7F1/csgPrujuQ17BDYSFsBAWwgJhISyEBcJCWAgLhIWwEBYIi2f7Ar/1TCgFH2X9AAAAAElFTkSuQmCC');\n}\n\n.color-picker .value {\n direction: rtl;\n\n width: 100%;\n height: 16px;\n margin-bottom: 16px;\n border: none;\n\n cursor: pointer;\n background-size: 100% 100%;\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAQCAYAAAD06IYnAAACTklEQVR42u3SYUcrABhA4U2SkmRJMmWSJklKJiWZZpKUJJskKUmaTFImKZOUzMySpGRmliRNJilJSpKSJEtmSpIpmWmSdO736/6D+x7OP3gUCoWCv1cqlSQlJZGcnExKSgqpqamkpaWRnp5ORkYGmZmZqFQqsrKyyM7OJicnh9zcXNRqNXl5eeTn56PRaCgoKKCwsJCioiK0Wi3FxcWUlJRQWlpKWVkZ5eXlVFRUUFlZiU6no6qqiurqampqaqitraWurg69Xk99fT0GgwGj0UhDQwONjY00NTXR3NxMS0sLra2ttLW10d7ejslkwmw209HRQWdnJ11dXXR3d9PT00Nvby99fX309/czMDDA4OAgFouFoaEhrFYrw8PDjIyMMDo6ytjYGDabjfHxcSYmJpicnGRqagq73c709DQzMzPMzs4yNzfH/Pw8DocDp9OJy+XC7XazsLDA4uIiS0tLLC8vs7KywurqKmtra3g8HrxeLz6fD7/fz/r6OhsbG2xubrK1tcX29jaBQICdnR2CwSC7u7vs7e2xv7/PwcEBh4eHHB0dcXx8zMnJCaenp5ydnXF+fs7FxQWXl5dcXV1xfX3Nzc0Nt7e33N3dEQqFuL+/5+HhgXA4TCQS4fHxkaenJ56fn3l5eeH19ZVoNMrb2xvv7+98fHwQi8WIx+N8fn6SSCT4+vri+/ubn58ffn9/+VcKgSWwBJbAElgCS2AJLIElsASWwBJYAktgCSyBJbAElsASWAJLYAksgSWwBJbAElgCS2AJLIElsP4/WH8AmJ5Z6jHS4h8AAAAASUVORK5CYII=');\n}\n\n.color-picker .alpha {\n direction: ltr;\n\n width: 100%;\n height: 16px;\n border: none;\n\n cursor: pointer;\n background-size: 100% 100%;\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAQCAYAAAD06IYnAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AIWDwYQlZMa3gAAAWVJREFUaN7tmEGO6jAQRCsOArHgBpyAJYGjcGocxAm4A2IHpmoWE0eBH+ezmFlNvU06shJ3W6VEelWMUQAIIF9f6qZpimsA1LYtS2uF51/u27YVAFZVRUkEoGHdPV/sIcbIEIIkUdI/9Xa7neyv61+SWFUVAVCSct00TWn2fv6u3+Ecfd3tXzy/0+nEUu+SPjo/kqzrmiQpScN6v98XewfA8/lMkiLJ2WxGSUopcT6fM6U0NX9/frfbjev1WtfrlZfLhYfDQQHG/AIOlnGwjINlHCxjHCzjYJm/TJWdCwquJXseFFzGwDNNeiKMOJTO8xQdDQaeB29+K9efeLaBo9J7vdvtJj1RjFFjfiv7qv95tjx/7leSQgh93e1ffMeIp6O+YQjho/N791t1XVOSSI7N//K+4/GoxWLBx+PB5/Op5XLJ+/3OlJJWqxU3m83ovv5iGf8KjYNlHCxjHCzjYBkHy5gf5gusvQU7U37jTAAAAABJRU5ErkJggg==');\n}\n\n.color-picker .type-policy {\n position: absolute;\n top: 218px;\n right: 12px;\n\n width: 16px;\n height: 24px;\n\n background-size: 8px 16px;\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAgCAYAAAAffCjxAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAACewAAAnsB01CO3AAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAIASURBVEiJ7ZY9axRRFIafsxMStrLQJpAgpBFhi+C9w1YSo00I6RZ/g9vZpBf/QOr4GyRgkSKNSrAadsZqQGwCkuAWyRZJsySwvhZ7N/vhzrgbLH3Ld8597jlzz50zJokyxXH8DqDVar0qi6v8BbItqSGpEcfxdlmsFWXkvX8AfAVWg3UKPEnT9GKujMzsAFgZsVaCN1VTQd77XUnrgE1kv+6935268WRpzrnHZvYRWC7YvC3pRZZl3wozqtVqiyH9IgjAspkd1Gq1xUJQtVrdB9ZKIAOthdg/Qc65LUk7wNIMoCVJO865rYFhkqjX6/d7vV4GPJwBMqofURS5JEk6FYBer/eeYb/Mo9WwFnPOvQbeAvfuAAK4BN4sAJtAG/gJIElmNuiJyba3EGNmZiPeZuEVmVell/Y/6N+CzDn3AXhEOOo7Hv/3BeAz8IzQkMPnJbuPx1wC+yYJ7/0nYIP5S/0FHKdp+rwCEEXRS/rf5Hl1Gtb2M0iSpCOpCZzPATmX1EySpHMLAsiy7MjMDoHrGSDXZnaYZdnRwBh7J91utwmczAA6CbG3GgPleX4jqUH/a1CktqRGnuc3hSCAMB32gKspkCtgb3KCQMmkjeP4WNJThrNNZval1WptTIsv7JtQ4tmIdRa8qSoEpWl6YWZNoAN0zKxZNPehpLSBZv2t+Q0CJ9lLnARQLAAAAABJRU5ErkJggg==');\n background-repeat: no-repeat;\n background-position: center;\n}\n\n.color-picker .type-policy .type-policy-arrow {\n display: block;\n\n width: 100%;\n height: 50%;\n}\n\n.color-picker .selected-color {\n position: absolute;\n top: 16px;\n left: 8px;\n\n width: 40px;\n height: 40px;\n border: 1px solid #a9a9a9;\n border-radius: 50%;\n}\n\n.color-picker .selected-color-background {\n width: 40px;\n height: 40px;\n border-radius: 50%;\n\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAh0lEQVRYR+2W0QlAMQgD60zdfwOdqa8TmI/wQMr5K0I5bZLIzLOa2nt37VVVbd+dDx5obgCC3KBLwJ2ff4PnVidkf+ucIhw80HQaCLo3DMH3CRK3iFsmAWVl6hPNDwt8EvNE5q+YuEXcMgkonVM6SdyCoEvAnZ8v1Hjx817MilmxSUB5rdLJDycZgUAZUch/AAAAAElFTkSuQmCC');\n}\n\n.color-picker .saturation-lightness {\n direction: ltr;\n\n width: 100%;\n height: 130px;\n border: none;\n\n cursor: pointer;\n touch-action: manipulation;\n background-size: 100% 100%;\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOYAAACCCAYAAABSD7T3AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AIWDwksPWR6lgAAIABJREFUeNrtnVuT47gRrAHN+P//Or/61Y5wONZ7mZ1u3XAeLMjJZGZVgdKsfc5xR3S0RIIUW+CHzCpc2McYo7XGv3ex7UiZd57rjyzzv+v+33X/R/+3r/f7vR386Y+TvKNcf/wdhTLPcv9qU2wZd74uth0t1821jkIZLPcsI/6nWa4XvutquU0Z85mnx80S/ZzgpnLnOtHNt7/ofx1TKXcSNzN/7qbMQ3ju7rNQmMYYd/4s2j9aa+P+gGaMcZrb1M/tdrvf7/d2v99P9/t93O/3cbvdxu12G9frdVwul3E+n8c///nP+2+//Xb66aefxl//+tfx5z//2YK5Al2rgvf4UsbpdGrB52bAvArXpuzjmiqAVSGz5eDmGYXzhbAZmCrnmzddpUU+8Y1dAOYeXCtDUwVwV7YCGH6uAmyMcZ9l5vkUaBPGMUZ7/J5w/792/fvv9Xq93263dr/fTxPECeME8nK5jM/Pz/HTTz/dv337dvrll1/GP/7xj/G3v/1t/OUvfwkVswongjdOp9PzH3U3D3zmWGnZVXn4jCqs7wC2BKP4/8tAzkZsoWx6XrqeHZymvp4ABCBJhTQwKfDT8gzrZCIqi5AhiACjBfEB2rP8/X63MM7f6/V6v9/v7Xa7bYC83W7jcrlsVHIq5ffv30+//fbb+OWXX8ZPP/00/v73v4+ff/75JSvbeu+bL2WMMaFbAlpBNM85QX+ct6qoSqkPAwuQlBVKqGNFSUOAA3Bmu7gC5hNOd15nSwvAOUW7C4giUCV8Sgn5L9hNFIqTsp0GxI0ysioyjAjkY/tGJVEpz+fz+OWXX+7fv38//f777+Pbt2/j119/HT///PP49ddfx8fHRwrmTjV779EXu2px2xhjwtdJZQcAWQIPLPISsMJaSwiD8gzIKrwSyATE5j5nAbR5c1dBUwBlsEWW0h6LqiYsqFPAQxCyRZ3wOSARxmlXMX5k64pQfvv27f75+dk+Pj5OHx8f4/v37+Pbt2/jt99+G9++fRsfHx/jcrmUFLO31gYDWblxRIs/TqfT7ousxJsAxXA2Gc7TA9XdgfdoHbFsj76X2+1WArgI1ageGwA3qupqoHsmcbI6Fu93quggFa9d7LeDtgKfAFHBJ+NEByIkcJ5KervdTmhhGcgJJSZ5vn//fj+fz+18Pp8+Pz/H5+fnmGD+/vvv4/v37+Pj42N8fn6O2+1Ws7JjjP6wraMI5E4RZ8x2vV5TSwkquotV7/d7Tz6HFWsD/qNcdw0CQ3q/321c686TwDVIdbuy73zNldhSHb8I2klZznm+InBS4U6n0302aBFsLhHDAKJVJVglfI9jhvu53W53sLANYNxAiDA6MCeUHx8f9+v12i6XS7tcLqcZW57P5yeY8/fz83Ocz+fnsSmYUyknWEG85WBst9stzSLyMdfr9Qi08iY15UZ0LlDGLhR3o5zK2j7OPUTD0E+nU3tk7Xb/16NFbhloAMuY1zjLUOO3BKeIDe+Z8s3/J4gFo4TM5jPmuRg28foUKKVSwo16TgA5npywcWLHgYl/Pz8/73/605/ab7/91m63W7tcLie0sZj4mao5gTyfz88E0f1+j8EcYzwTPEG2cqjyfHNF0M8fuqEiaOVnRzZZQNh5fwQyHg/HDGfJo89Q1zb/quu5XC6773I2XKfTqd/v9+d3wuqWva/YTdUdEV3fhIv/Viyps6YE3x3r43K5bJQS66zaxVGFsvd+//j4aF+/fm3fv39vt9utff36tf3+++/tdrudvn37ZuNLBaaCMgUzC+rZRiFowxUuJI8YMqcCp9Opq5vagaYU6lGJA1XQqejchw6Cj0Gw5nYBrGw01A2O206n04BGouNNyTfp/FwElhUey6nXrIKw7QQWddxuN2ldL5fL839gSPF8ahu/JvBO48CPSuqMf8Vp9/P53L58+dLu93s7n8/tfr8/39/v9/b5+TkhPJ3P56mQ436/j+/fv+/iSgbzer0+AZx/5+88bv6OMda6S5z6kd21fYC9dxv7cIJJ2d9AOS30fPMzyHiTM8B4DF6XUlYHp4KQW3W+1t77MNB1vGHxWq7Xa7vf78+y5/N5A+H1et29xuP5dbYtyaRu4AksbPq6936fjRzXRxBbPr/b+b18+fKljTHaBBBfn8/n0/1+H1++fBnn8zm0sB8fH5u4cr5GuBhMVk0EEn9RsctgVhM+ixlJtMA23R8B6yysAstBOgFXIKKCMIgToMqNEu2fYMH7ztc732dQKkCj1ytAZtY0Kx8pIr8GGJ+AT3V+2Hirhl++fBmXy2Wz73w+b17P8p+fn8/tUwGVleVkTyUb68DkfayWY4zxNRihU4EpLJPZVrK+u7J4/mgfKqeLW9X2REWlItL1diynbDDb3+jXgYjQqn0rrxWc+NkILP7F7xIbMvx7vV53x40xnlbWJF12ZSag/N0pW6t+ZzmOMzHjajKwDfond78zYTdfq18up97zr2q8v3IioBprRtBl0EZ9og5WBRGOdOHjIjXF7UotFbgOWnXzIJyzYvjG5IYgsmMOxHkz8OsMSrVNWeq5T8DaOcbEv1Od5rbs9aO7YvMet63EkF++fMExq+MRl4/L5bLZN/+ez+fnZ6KazuMqXSQVO5spJXflHAIzes/xJseckRJiDMog9d6VfRrqXMr6KpVV27jRwJacGovOAM1zMdQMnwK1AubK63kdCChvI1C7g0z9nf/D+Xze2Vj8H7Gx4P9duQlsYCrqyN8XqG3Hm/10Oj3jw/n+crlstuM+jPmmxT2dTuPz83Pzt2pn1XsEHX/bnPaVqVmh0xwOt0o6XLLAHePUU203wHfcrspCwmV3TryB5s0Mseeg97x/BwzCjBlbB+pRAPla0BVQuT6V6QHdBlj3d0KG147b+DqxQeUymDO43W4dQar+TIjwmAd0z8/h65vf0/yLv3Pb5XLpru/ydDo9s7ET0I+Pj6dKK9VUEIeKWQWPAOrJ8LKd4vE+t91Y3e7UFlWatg2VwJnb+HPmtvm/sfK59/OaWF3x/eP1UPHvA5DDYDpYXfb0drv1V2DkBkxtw/tEWVVlXWdC9pFYs5/jfh9dS/16vW7s6lTG+TfqsxSJHxkXXq/Xdr1eu4LsfD6P3vsT3N77DkL+zPm5jSdKL4zR3AxQd6rHkLkYlSowsrq7znzu6wSwdsMJOXmA5fBcjxtgMGBYHlr5zokhtsMCTgXLQOW4XC6dEyEMprL8mAQzXRgduix2yZzorxkYsDn3hB1VeMLGsXsVtgl2pW8S3svk0vw7R4hNaHvv4cACl5HFzwIH0Kc6zu4XjDPR/jpAVxWzO1Xk2DDb3vTcxeGU1iWZHkmIDWziWKvirCJ4Dravs6IJ/GG6cTqWdXDy+fArQDVVkLqkVjAoZIITdmmIqXwqa95N3+MGYoZQdRVNO53Y1xRkhO16vY7eu507Ca9lJnbGpxOemQhSw/AQsmmp5zU9BiU8G6wvX76M6/U6Pj4+do0Bz4CpgiknTUeDqwlKBmg3u4OVjrZ1A+rAcgaejWq6eJCvCYFDONSwOgHX4EQRw8lxbzDOdEK6gZ3Hk1b+8g2o1JFtKXyv/fEdTXuWjWXdAZiBp6ADeDrCFiim7B6ZFneeI7Gvm/PMkUDX67W7xI8b0D7/v8dA9qfN5oaCf74WZjH0mf1cmfY1Y0JUFmVrTWu8uzkNcLtEj7u5FXBTkfC6GOA5q8YMxO8KVvF6sAVGdcrUbsKODcQKkLMOMdmlxum642YrPm26AlhZW1YB1R+rrGswE8TaYAWeUMxdf+WjwSvZ2Ef3ytOyfn5+PpVPAaqOn43MtNBqvmjjxbjM4lZjZY4gqNMI5ktaW/sYKNwS+9lFQzGihmMCKPa7+Z0V6Eb0GRmobtpX8JljWu5FMLN5ja6hG9kwQgZqf5+1NH5UxzkFReCdWhJ8XdlGUkxO7HRlYRm4mVO43W7ter12TPJEw/rmEN3L5SKHIWZg9mz+pUoKOYq5bJTJdX2gme1UcxMZQFaEQIlHct32M+Y1BzGkGuzfiyAN9z+ugplZ1symCrDCYYkGxDTpI9RzBy0rHyeDUC1nWaeUaD9n4xkNyYMBDZtzZ3B++fJlY21XFDOcARJlabOyiS3uCpLI9jrZjCDkaVvcCCjwognKShWdzXZWlZMvVTgD8LpqlCLrqgbcB+qYwrgKYpT0ccCqbKyCValkEabn/FynogCrPKfqf51xJ7sGB2ZXcZmxoSOztjx300DZi7a0/2AIR0UlBag9SuDw6KcAzlaB7vHZvWpjK90dyrq6bKyDUZQbR0B05biLQkHIcSUmgIK+SwuqgHCnoio2RQU1yj+BnBy9pphVKLGyC7ZzFK1pxWK+E8IhVCWLN/uLtnUU4ayoYLoaANz8FdtaSvY4pV0BEW2ls61czqllBKpTyKgMAhrZ1cdc1RROtPmvWNkdcKZ7ZKxaWjiPLJMpp7OZKxA+rqG/oJLjxf0pnJlqLoDZo3gyU0mKGys2taKecj/d1C+rJSplBqlTyAqgR+D8KjKlmRL2gtUcAdCtsL+ijCNT1oqqqkH2OHEbG5sDFnUg5Aa+yLou2VU1ptj1S2ZQqv1ORZN9IWzRfgaRBxKoBE8UWyqlJFtrIc0AxNjSjed99CTY/XDfSzCz5M0IZoVEsWnPFNTsl8ooVC1TzbGgqFZNDSgVwKK+1sGDMKqxZCWGVMDysiEr1jVSQJUYwj5iHOlThdHt44SQg9CN+nl8D90NMIgAdgr46JqRiR9I8vRdFvbr17m/yxUMKjNLMiVUADwu2CWGhhi+F55TWM9M9cogzms1dnM4uOF/LAEYWdcqnM7yFmyq3IfwmOROd7Y1iFWtOjoY8To41mTV5IysgFFuRzsbWFGbNIIJCDv1dOo4lZG7jWBwRFtVTKuWyeCByJKOan8oZ3ep9XddNl0tDuaywLz9cXPYeDAA0SpkBO9sbVcTOVWldPv4uyzEkzxHtjvonHoSkFEWNoo1d8DhcQputd2ppNon4BzoAiJ1hBFQg0dVtdbGHHDQWushmNEQukLM2QO1G2Y8bgTXqFhcBJj7EjPgcPts8US8qPpPB/dXznOh5Z438tzH5ec6QgrOKrRRfKmysBmUDB+PhYabMlVPER+GCSITTzr7am2tArH3bgcEzPJm+cr5jJ4NnHNFDVrFXcI5Le9k5Jnw+bedbV+FfRzZIHaOOaOsLY0/7UGs58DjrGwKMIMFIGzOEW1/jGsdAtCN6hEAI4hBe9YXeRROBSVPAVPAqvIM5bx5hVKWAMP6zBRy3iescridVdFBinBxXDnG2GRY2XbCvp1lhvGtO9Bxu5h908XQu42lnSArMFdizMim8uwRCxPGnnOS8lwpnbOiDqTAjsrRN/PcoAScCbaACqVM40ylnjjTBs+bwWlAG23/UKbdkiwKWIQPGzWaczpoSlxPEj822cNWkpS7FyzsDrqpfgpG3jahw2vgbaSQAxuLWZYt7JzyNe8JoZpNAcvDFOdw0wqYT9AK1rZz/DdbSlLPp0ryIxgQJlK9AZlEq7IOXpohg9PIhrCng88JsOxiV4ZWAYfg4sikx/8ky2Z9l862uqwrfscIH8+ugTmVGyiddeVYUgEMn4GZzg14EwIsh9sx2cKKiWXReuOE5gzGOQgdlRKVVdlevqb279Xq0Qnsts2VDaBO0coezsruWtHApu6sKG4IBhN0aGU2kLrMKGRTN3HmbCDwKV14zvkMEDG4QfZVspVlaNU2mhc5TEZ3N1h/zqTheuLpW05ZWTGVjb3dbnNmxKZBnN8JqidaVLKAOyARNLS+MB54Z2+VaqoMLKroVBlngefnTPAcoHNWCSvlfA8CI0HEmBNBnBlXyMrzU7A7WVm94PPqQ2gmqKx+WDGsnvilmcSOBJqOK1nYyAIzuAyesq3UdSK3KfWcYKD95HmfYOU3qser2CtYEUA+FpfqdNvgPBZUBhDrGONRVlQsh8rLcaUCykHG0OOUwTlLBrsh5soEMGezi1E4HRVt1icp5wZEFXdibCkG8Y8vX75sbO4E0iom9z+hjSiOfy3DhpXItpVhE+UGQdvoWjtChmrGHf4YAzKgBNnGtuJxFCeGdhUAfQLLK8kBYAP6gvFJZajMG3Xkycy8KuC0q4Eyymwtwdxdv2M0mIBtK0LKnf640j00Auq4gUkdWGlhs22qJc6dZCsL19oxnlTJG4SYVRIGpD8TPFBuM6OElbS1pldid4mGAyN6ZIupbC5bXJN9fdpbThSxLUaI8IG1XIYBxW3Tjs6KQosKcxfxcQmdnwRGM10GnFcCy2XYunLMyAkdgk4mePiczsLygthcBut6goOqS7YVFXADLjaosB6s6ofcZWAZSIRYqSUkizYwttYab3vUOQ9w2HRxIIg8WwRVeE68xi4UtL3zRphxplzwuZrcqYCq1I3jPI5dnJIygEohMbPqVJSzrwzxBJTs5zN+ReUSgxikPQVF3JVBeNQxbHENrEMNvEdFZVV9lH9+ORGEsNZQpyTNc4C3AG7XF4ngzq+DrO2zbuaaOXgdaFcdkEotoSFBVX2qJ0C8OWZeG4KGlpghA0XfTOPCqV2qqwQ26QWfF2PMLhI2w1lVAa2aPsYd0za25MQRwgcZN6uQDCi+ZxiD4XEM2kZxOT41FnZnaRlcpZouzlRqqdbQVWopQoSB58RV50lBNrHi/AwXS5LrwDVlpY3Fc3ByiYGc52Trist6kOXdwInAQtJpp5QchyaquYOV7Su+fxVMaV3dc0RE2S6mUY0gLt2pMcYqrKIQ9w2l1gpQUMtQYcmmbt5DTNxdhnUCjQqtbK9SUSzvrC0mmhhE1e2FS2+oxypy/ZASutkmtjx3vcBC24PX65nbqkBCRhfjS9kIYPnee8cMagVOhI/3T1fAmdtAWZsCswTJCkQVNa0qWKSKPOpHAUhD9DrbVcyoYkwqhvh17vYAayXLQyKGYdxlUDFp494rBXRjYgO17DDYetNIUj/ezp6S0lnlpEwsWmJMkOwsKXeZKEAjIHn0EQJISaRBcO6UMINz7p/bEjjnw4ft+xmDvksxX4G2rIris7qaeKwAFMP2Oi7n4criuZwtpSUwpfLxSnORSrIqusc5ZFaXysqRWjiZ2DyAWEIL35tVSoQElFACjOeGGSE7AHEQgdo/LSvCOgGBvkxsmDbvlS3Fp5vhaB2TAGqRKrKKMrhLVpaGzEVjZ0OQxDhaCTA+QyRR1d15aQzrJntL3RibsipjG6jlgL4yqbS0sNYg1e84vhbBVrElK64CUcWYXDfKxhpIuxiVJZUxsbMy/uRBKTNRQ4kQ3LdRYLS0rJjRPlTPqY6gdJsEDc+aQXAn+HgsNUCbRuF0Oj0zwnA7bWDkbhO5Ens00qeQhS1laBMl5M/cAaxsLF8rKyql+Tf7ELLEGu/ixiimdCvo0TjfpjKwaggen4eh5v7LokLKbLuyvHhcZG8dhGrEDx7Hg93ZppJF7qBqO3iVveXEDQNInzeoe8Yq6ePaZBZ2JviM3W2UAGotekRCAGq4EkF1X3DOnR11yRsBL1tRa0PVcZiNFXZ2c34FskvomInQQ6lzpJoZbJxk43NwKJFBquJSsrByHydxKOnTxQASBmS3j+JMnsHSla3Ec6K9VWoJVn9zfjwOM7hqYAAqJQwE2a3nA48J2QGegRkpZNivSY+ys3EkKd4oJIwsvIHl3cWgLt5k4NH6OmtLWdpurOkwEMupYc7eMtDRhOcI2ui5JhVIzXzLyto/GAPuZoyo8wkoduVgJglCt7OhGbgID4Mq4si+63zUS1FuFFXFlqyaj2emHlLMcBqYu0FMuR28BbB7lOxRMSiCQXFhCKuwkhZ+pYDiGSgbsKKV8MiSRsuHSIWM9rklRiIlZZuqXjsQK8ooYJMgq3JKWVkhHbhsVxFUzthOWPkYijcbx54IKsSdT+uLr3crGKyoYgFiGR9iBk4kfloUX+JIlQRQqabmpgnhqtpQpb6RVQ1WH5DnrS4hEoGZqaerQ2dhFbz8XePxShmDbo70eISjoorO2vK8SJXI4SUmEU4zWKDzUDtWTYw7xXlbSTEj4FRg7zKnKoGRALv0Gs9Tgc1BpCywGZRQAtqVz2xrBcAMzEpfZwFSa2G5W0QBFjSMapWAEFa3HcGN7CxDzECyIkJ97qwrqWNTWVo876PPsjPkj2wvgroM5lLZKMETKVql/CvnWVFiFa/SzJUQwkoZsr67Y6vlSRV3/2tmNTOY3vnaxYwMuoPKqdzR1w7IqHymlPxaAThfU7Ko2ZXYj4AYJHL+kNdKwRQYESTRa5fsUZ/rVC1TMTyWVyYoqNtuzaHsMyv2tvoarxdfqwYgU1axFo/cnql1FGsqK+uAROV8BX4GU8WcZTATi2q7Qcyi0O0V+GhWBMNRUkn8H1SsWVE5By3Gi0ECqUeJoBfAtDa4amkdXG37AGP5Ggeb84p7UazpoKRzdFzeQ8HkoHGxprKy/Hpm5t12p47J6xTYDEz7uINEXSuxYXvFskYAc+ySxH9sf5ftKzU6IbwVBcUGg5e5FMCEXSErZR0wGayV19woM9guPjTqJdVTqR4uE4nJnLldWVkECCZLd2VLF+xtamex7IpiriSDUpvrpn9lrwGMCHyppMH+ps6LILsuFGUj1XEOXiqbqSHPUKnClpWV68kqtURVNDY4TNaocykoYeTU5ngGEQa/S1DnnE4AeXMcKjHPAmFVjCBENaeyLVNHfr3px8xUstJ94hIpfH4HKE/eDaArK6lSyVVFbdt1gxTIVk3pppVlFXi4pEhVBTObquohU85MLXn1iahvUkHJjSCMc01tLFveVVBx0DodM6jftCu7DOtIzYxrc0qp1JGP2ayYFz2Gb6HvMrO8cnGtV6Gjm3uImSfD2GpWK6uowbZGMxFKQCo1pOMtcMXFpRst+hXGoAomF3sSTBGgTglbBKWwsQ3tZqaYSp0Z1CimRDWFcCJUPYJ00BI5FkKYNoifuQxmN88SWVXWLMaUqqqgC0BmQJR6sk3u9NCf6jYLXxAfqsYEgVLAhRY2AtgtflZNFmFyhxdrLkAdWlk4D88M2ixHyepIdhMHrG/iR1ZGtq0MGpbDbRPYOXeSY1M6Ny4ZstvGSktK+XbFPATj2D371saPEsAMXhXrsZ0km/XStkhhMyBfsa6uXFZe2VCe+YMr1+GKgwrQyNYq1VRrB+EizAow6NsdNKcyVEkYeM73ys6q4kAHp6BiFklTkIrVC5oYV7uzwOGCz4UJ0Stq2lWMJy4wtb+RetL6tZFicnJmBw5UjCvXXMZVJX2MQkbf+XN5EWd78Vz8/JEsMZTBiKNzsm1inLRUQ74H4NidaqI68j5sAFgxcRveC7ieLJXfQYxjZZ2CsiWFewZXJmBIlZ1tdtrX4hSuateKso/RZOtOKW2nmq1oTzeK6dRWAWu2NRVb4hq0SXm1GvtugHrbr5IXqmSktg5CuDE2MSlPwsY5kNE2Wp3AqiZbWVLAxiBF+2iBZbuNj6MB6rsMLC7FyasaYDyo7KkoPyEtw3pEMXfPvxAJi2jAQQgjrz0rLIZSWZlIoNhwd5xK4AR9mYNjWAaLrnuImJeBVN9zBORObVvbr+mTTfFSEJLSRnHo7hEJoIi8MFqjxmvgmF5URZz4zLFgZZ8Ctu2X7ggVccKm9gVxIsOHqxXgNMKnFWZYnf1dBnOhayXq17QwFlWW09eNKyVJFmXqaONGA5aCegMbJ3UUkGY1ic3nKWgjq8qfVYGQG1gRt6rs62a6HiqqUOqdesK5NmX4nGofJoiE1d0dF9lVVkvT1/kEEaaCoYOwFpcVcoLM+7669PxC9rWqktH0sWUYld0VCpuBZ/stVRcGgy9WX2+U1Qthi9SzAqSxzZsy+OiFzBYnySGV6Gku44rD8BCOZBV3BvD5+AKRHNwMEsB6EzHnJpkTAeiUlEGkcECeB6GDZTp5YEJTlvdrknxYjTllMkfNtXwDjM7uVjK5JXUUn43rrqpK2jytaxHW0M5G8DC8rtHMYs7KSgduVQMGTYFqFvVS6rkD3sDJ46afdYFwoq11AOKCBLhvwoUgc8IGANycR6knZrdJPdsuxnyjfd3FovTlRMdEdtOl5CMV5EHsXQBis7TOwvIDZaGj2Vnpbh7cpK63VwYEMLwqbjzyl699sawFFkF1yqjUU31HfC6sW1ZFVFuXVXVgz9keEaw0ys1lWfm+azQAQSWA+hKYVfsZjPncAcUB9oIayy/UZXRNckDGji77GsWbvBo6tPrWPqOyVkBUq+INeqpzNdYs/u0ifh5qmpqIW+33JVSUcwY70KL4U9lYdU6ljtSls7lmfi9g3YzeQfVkaGFaV3ODCnaD2N8wsEDFklE3RzM3ZghdYkWHsszq70FIecnKkVkt8ezMzRq9bkGuKojRLBVSod3Y1yPqKgYW7JRQTPVyy5xIYLjOgxgT52RKJUY1dOrIiRd4futQx/A5AcSmEjz0vFWrkLzvbWAu9HOWbGgxFk1VNTpnBKk6TgwisI/HcxYXP1uAWO72ULFlBTq+aSu2VTUs6hrxM2CF+hEor1VIA9ZmFUaab1lSSgZsVs4sxzHlVLoJHr9H4DhONTkI1XC0/wiY2NoWAG5RlnHFnq6oLccpQddMuJ/O17JVA5OHLi0BqCztq7Y1++ucCd98qLI8MIHBV/cKjxQTme3hFBS3MyCqnDsuym2o80HjvFFTtrURmNaGJsmVahImjTsUXKtQZTAVs7Mvv8/+fzUrZAXcLJ6M4koe6XP0b6SmWWNDzyUpQ8bl+LtWx4tuqZ36cRYV3yuVxPNwvIiqiQCSmu7srgTzR6nkyhpCarXwFy1vGd5iP2cY06lFr5Njhhg1Y6+NB28ftbK83s8rf7kLJbKwDFPbLg25a0AdZJEiqr5phixKMDlRUtcssq1hriLqGoH+zeNgVm9OemjsETV8JdF0NHnkIFxWY1OB4Yrp7rtWJ7NgAAAPXklEQVQ3oNs5nplyVf8u2FoLu1JrHveaZWQjqAkshtFa2gzsSG3Zpkbvg3HafF9slPPlldjFlK80Gysm8Mr4MPhneNWENPGjAIpmilTPATdTRTXlCBYHYAQuPwA36xIpWtGN4q3Y2MhiGsUpuSSnlEJRD8PorC7CFYVw+F51qThgabxsTxWzCGY0ZSsb3lfqAy0OPNjNy8xiQQKsHYFQ2HBZVvVbBuq3m1oWKajqaonsM6uZUr6CjXWNZ0l5E3h3jURma6kP3MJIiy1Lm+kahQq41N2iZja5sjtlLYNZHZrH6qUGm4vMbDp6Rw2CFmvuyFkrBcCyMtFqBaECmsHoK9BZ2LA/lJcRqSaDqnaWbrZdGaz3DLgIvBln4woGztbyJGqslwxkhhHrTjTYFXCtOoKS8uLdofVdAbOylGU6nlYpXWZts4nXBq6WxJitMNokHUJnbnJplQm+aGpY2a5GMV2QD1hRubBPFKdumf5OHkLHz0F9luE5kjBjRa0nFE5CUGqHw32MmjZ6xkgINVnSnZ1VZStK2qKlRaLlQgK7uTq7JFXJwM+3SOEKyhZNI+tJ0I5qMYy9k2qJD7dVWdqKXa0CKNR0Ccjg+B2IYu2fcBZJZkMFgM11r0X92wilghFGgzVnexlqB7xL9mS29SiYUVY2nXOZjNBRsyDsQPRWW5hrZ4XcdC4HVWRbjgJr4sFofK5SzjQ7rhI1UebdPdEbj6sqIvTZQZ5va08rABsAW0UxeWytAk7A2KJ9ZpxzCioB24XFtYAeXYxr6anSqhLgppEqWbGwLunTgrV+IjWlL29ljaAl4EQMGsErp4apeZiquwRXLXAqOCeru32mmydc6oWTSWpFAGdzeTB8RTHVMEtlM90CbbQCYhPjq3egYr1FGdYIQjiuDGZ5zZ/AzobKGOyLxti6c4Rwtv2anyWlLICnlLhxJRXt6A5ebDBWFNONbxWZ2d02mnu4S9YECpeppV1zSWRBWxHYzVIv1CXSouwqqX3jBBBDZdYQbpTQW4ZQlS8r5kH4suSRmg2++3JN10x1PaAmEkmtYlEdeGpJEM6kOuCqCR22oSujj5IV2HdT0zj5prLKTjXFAPjdQlyq7xIBxAQP5yMczG4VxAKw0n6ilZ2QBce2pLulkuxxqnoIzFfgqyqjil9S1VNwBrFmeyeops8yOjZUybZdfS8CuaTIJumzs5tODaNtLpFDQ/PcJGweLhmeL1nB0KqiUDScsiUVD89Di3HtrKtSULw3RLiygZD+7sF8JTObgYsrGvDNUFRGl1iy0Ll1YkUc2aJYMog920I8qW6YDCg1Mqk0JHJFKXkbgbRreI+qpYNOZHrVcDUba7pjsphSJNtK6upgRNAVoOS0mugBeN4bIZgHhuPZ/s1ENaX6KsVr+YNrh1Nb7ipR0PE5zbNRegCbrHRUw6Yf07dLBJl1f8KB9as2V1nNqAsl62LBBhehwalerkHmB1JFIEZKSEusdl5JQj1nJlHXSCF342gJ9CYGrXelknJIXqVP8sD+qtplCR3XH2qfKq0ygMp+KnVkKxNlZ8m2YkIlVMiCnXUwl7qznBKSvQz3m3Pt6oQbXO5b5FixCh/fHxUQW/AEcK6zCNqKQnL9sywqmKuwvqSYzT/aPVNNpVyhvRW21aqciCsjdWvBwILUvh5VyCzbWoC1pJjJ680CWsl+udKB6T5RwG1mlohnlpbg47iz5U9ha0FGtmRLFYBtO99y97Ap0z+ZDTAog6kSLZsMHg/IFkkgp6CpvU2U0cYVSdnmkjwBdOmXbxTWNWzuIbipMioVxEckZEoahSOiy2M3K0jcC1LhVDwaqG0ZvkcWqCnrG4GIxykrqlbWdw6LQyBaZR8HmLRIhQWsHswD42ZXVLNkf9l+FlW0HVQ2lwFsC/Z1FdzlQR0KaPfo+Fdfu+/dwVRICu1CGR7AEIiAhc+AZUF0kOBaPxmUqg4i64vQnU4nFDYJ9Nz+1fVXveH9qmr+kPILx8oKcRV/BFbxbE0JMT0kSD4w6L/lNY8ocsqagVdU3A3MjxhxcGuqzsPH4irpaow1q6OyrVjvp9Npc59E91LldboYVzJWdimWfAW2SNEKcDaX2FmBLLA/uKxlmhh613Is1URQApbKfttwxL02q6Onx5pQxSbPojAg+v5hAnN6LHVRDXIsvKtRjiS0qJUyZTAXVbAK82ElFJWaQdVoqUC1Unt7BVaTQudM6SuqexjQJN4+0icaxv/utbKv83ETbT8H8gjcOKxOJmbUa6OOVXht3dFY6rHv9XoNzFLceEA1o8+pKm0LAHPHZ2rYKjFq0hfZFixsqHJgD3eD5n+U0kb1mFjXkn2lvMSSOsNE/CdIAKF0Sytq6urOHUN5gwg4GZosgbmggM5ucra2qrS2Ig1cbiBBcxYzgzUDNLCvL8GbZXNp6ORy3LmS+Kk83zRIAK6A1ioKa2I9NapIuiUFdfC9766PFZUtqUr6KbWk+zZU1a/ZrIXEztrjTOfz7hwKziCeXIaraHtbZIMz+2pGgazCmw4qWAFvEdhodYp0Xq0pV7G1YWYWbO4qhGq42+Z8BYtrLWvluNPpZAeaFFS1vubPgbgxsqcpnAaszBovKaFoDQ8BGtjfUOl4NAG2nmQV04feJgumvX2fsrQEWZghL0JnVdYkn3DOZIeRN86RqPWCmsvGVqEMRnwxQAxwS8EMYo3IzmY2+BCcLp4MKiuyuhImamlbZFcNoNl7tp+RHd18ZjQIRKyXdFRhN98/hyKqwXWNo7O1wiaXoHN108REZZWEq6grnIfjzeg8jdRf1XEL4kkXa5bBjKxoKaljBjeHlVxQ4GaycpW4lDOAKtnTxHAtOfzOtZwHAM7sqVXkV6yu6kap1nHkXKqWF/4XHqjenNKqBjpR3l1ch3Ejg1+EsgdQhsdG0B4FM9sWAVWpuAyiwTPleZxt9VyZVS2qXfReWqTAilpr9ApoWTjxymit7NwV4JTriZyOA9B0k7HFfULourmKYHVnRQvqGL5HMHdqFcR2qWpmcK6eTwx2dipWrviDilr+fKWq3OWRWdHKwA4eu8wjchbeRzFilqjjZN3ufCpfkJ0/scVpnYk6L0PI77lxdWCZ87WiWm7B/AGquQSnujGKsB8CJmiJq8q1pKIVWyqOiTK66r18BN8r74/AE71fdC3yPS2MxdOpnE1tlVxD9JmVOoggN+r4PjAXVFPa3Eg5jVJGFVUGNolH20GVrUB7BOySWq6WqYQdWR92pcFMYMwckbSgCKCqD67DiiWu1g8MQC9ByfcFqW1L+jL714qNCuznoSxt0da2gtWN1G8F0BK0NN0nuimelUF9dIdAfjO44UT3CjQLoUeLHJFTO3gmpRuIIOvwBQCbqNeo3qtZ9iF6xVK13GRlo4zqimq+CGdTiR1uRY8oqgE02hZBa79kZXPMquxRHKla2saZWN4mRqZUj0vLCKhkjKnqOQHNuSZVJoKvAqS1wpEquvWDC1B2ypwrCPsRMEPVTODMLJMDv6qeKXwi2JYV5Sq4qKyvgGsHCLiuj2jR59V8gMqSJ2FJZRXEHVRHj3sFPrct6OpqlW1GpatQdt0GvwfM6n63InsGVFhJGaBqgqqIV6IsXllZgySPq4R3bnt3wi5cv+cN2yqQLW1T95KYVsWWtKk4cB9W53WQQflQYR6Wl4HaJZjvVE0D5yvq+RKgZCs5qdBEP5sD94cAvQLlSgNaSMAtHx88BuNQ41zdFsX30zKbcs0MLD/ihkpQzl0wiTqKLTfbKmCmyYICnK0IbaieC4CG9iSyLQ7cIMGQwau6TKoq60Apl3WN40LZpca1CKKK9VQyyIEn8w0F8F6CL2h8o3ixGwC7s7EWzCOqmcApYxYD4jsAzVS0sl2t98pA7vrKophCVSonbYpgH6mvSn24pTBV4sdtV3BtMq5k82y+IADvUJ0uAlkCVTxIaPm+UNu/qkV4F1TzHXCGrXIAqItBKypqK99VtAOVs64O4ObX7pHLVCpYHcRmwvLR7TvYAKBBN58LGVzDuFz+hQbWgncQyCZAk+VbsPSouf93261iZgmfCpwRbAvqmSqriU2PwhjaoOyYqtIegVXViTsmyta6bGySpY3gyRrpIyAeaWDDxtpsXwKyalMDKNP7YBXMqEskUsi2uC8FNAPxAKTVfT1o6VzM0E0jF+1rWcUuHvdyg7vgoFplX8HpvHpMCOMRUPHzZkInsqlFKNX/EIO52E0SxSzOwob2VmRLW5D1XIU0rbgM1AzWgyC7fe8G7xUAK/taEBat7luqtyP7EmsaJQOj5F+mrnZfCuYCfBUAWwShyd6pMY/vAHG1UqOYpbI/gy5T0CMKm+UO3gFuC85dgfDVeguPDfITrIBLsLrcgdh3CFgFZjaKJ4Iv3F8ANEqvuxR1tVKOgLoCa1jxboBAkj6v7j/icFbA7f4rfRnQDLRViG13i0vqBQrYVqBbADZT0ZpiHoSzvQpopKIFS3sE1HfBWlHXd0H7LnArqvougMtljHBgZnh3Eoz/BKjLML4Z2Aq0+hEJr9jaVUBbvNzCIUiroC7AWmmFw4o5AK3MtB5VypZMSFgs05JyGVwlwBqsEGAAa2ZU1CjUexXGsE4rKriilBvFzOKKo3AuAroE6QFQU3u8YpNXwS5k+1TZt5UrwouN4KiUEw+k3ZWDp1RXHNRqXb21Ts39945yZSg3VnZFNQ9CF3XeZyr5DgBXKiwCMa2MxeTDYXgP1Fsf9QNKZc0k81RJk3r6EQ3rCmBVyLL75EjZ1pIVDHoFtiOAHoB0BdTVylqBsKKKS+AeBXJVLY+CXASuGvO/Auq7GuEjDfGKg1oKa1z/dmmi9I9SUGNhl0AtfulHAawoYrnSkmNXAVuGEhrEVXvUF+A5Ct2PqNOjDetyna4CmeUolmeXLN4Aq7C5Sj10Q7yjgl+t6CNxSRHmI5X+CpwreYB3Qfdqna4q21KdBuc4GoZsn49ZOOiVinwHqK9WzjvgeweEh2AU5+vtxZ9Cd9Wqkh49V18E5oj6vVyn0RStAyGIO5edXRKd5B0VGVXq2yr3xYp+5Ut+C4QJ4P1N339pQMjRejj4vb/Dcr6rQc3O/0rjmtZpeYCBiCHfCemRbNhbK/pNUPc3wfKy5f2D7OlL3/uPhve/oU4T0F8f+VNM2vyoiv0jK+KHQfdHq+0bncz4oz73/+Y6LbKw1o/5B7eOf1Rl/0du9B9tn/9bvrf/j+v0h6ttn2tp/r/4819y4/zv5391uvzzfwDifz6phT1MPgAAAABJRU5ErkJggg==');\n}\n\n.color-picker .cp-add-color-button-class {\n position: absolute;\n\n display: inline;\n padding: 0;\n margin: 3px -3px;\n border: 0;\n\n cursor: pointer;\n background: transparent;\n}\n\n.color-picker .cp-add-color-button-class:hover {\n text-decoration: underline;\n}\n\n.color-picker .cp-add-color-button-class:disabled {\n cursor: not-allowed;\n color: #999;\n}\n\n.color-picker .cp-add-color-button-class:disabled:hover {\n text-decoration: none;\n}\n\n.color-picker .cp-remove-color-button-class {\n position: absolute;\n top: -5px;\n right: -5px;\n\n display: block;\n width: 10px;\n height: 10px;\n border-radius: 50%;\n\n cursor: pointer;\n text-align: center;\n background: #fff;\n\n box-shadow: 1px 1px 5px #333;\n}\n\n.color-picker .cp-remove-color-button-class::before {\n content: 'x';\n\n position: relative;\n bottom: 3.5px;\n\n display: inline-block;\n\n font-size: 10px;\n}\n" + ], + data: {} + }); + function lA(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 0, + "div", + [], + [[8, "className", 0], [4, "top", "px"]], + null, + null, + null, + null + )) + ], + null, + function(t, e) { + var n = e.component; + t(e, 0, 0, ao(1, "arrow arrow-", n.cpPosition, ""), n.arrowTop); + } + ); + } + function sA(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 2, + "div", + [["class", "saturation-lightness"]], + [[4, "background-color", null]], + [ + [null, "newValue"], + [null, "dragStart"], + [null, "dragEnd"], + [null, "mousedown"], + [null, "touchstart"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "mousedown" === e && (a = !1 !== Io(t, 1).mouseDown(n) && a), + "touchstart" === e && + (a = !1 !== Io(t, 1).touchStart(n) && a), + "newValue" === e && (a = !1 !== o.onColorChange(n) && a), + "dragStart" === e && + (a = !1 !== o.onDragStart("saturation-lightness") && a), + "dragEnd" === e && + (a = !1 !== o.onDragEnd("saturation-lightness") && a), + a + ); + }, + null, + null + )), + Uo( + 1, + 16384, + null, + 0, + pI, + [Ln], + { rgX: [0, "rgX"], rgY: [1, "rgY"] }, + { + dragEnd: "dragEnd", + dragStart: "dragStart", + newValue: "newValue" + } + ), + (t()(), + Cr( + 2, + 0, + null, + null, + 0, + "div", + [["class", "cursor"]], + [[4, "top", "px"], [4, "left", "px"]], + null, + null, + null, + null + )) + ], + function(t, e) { + t(e, 1, 0, 1, 1); + }, + function(t, e) { + var n = e.component; + t(e, 0, 0, n.hueSliderColor), + t( + e, + 2, + 0, + null == n.slider ? null : n.slider.v, + null == n.slider ? null : n.slider.s + ); + } + ); + } + function cA(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "button", + [["type", "button"]], + [[8, "className", 0], [8, "disabled", 0]], + [[null, "click"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "click" === e && + (a = !1 !== o.onAddPresetColor(n, o.selectedColor) && a), + a + ); + }, + null, + null + )), + (t()(), Rr(1, null, [" ", " "])) + ], + null, + function(t, e) { + var n = e.component; + t( + e, + 0, + 0, + ao(1, "", n.cpAddColorButtonClass, ""), + n.cpPresetColors && + n.cpPresetColors.length >= n.cpMaxPresetColorsLength + ), + t(e, 1, 0, n.cpAddColorButtonText); + } + ); + } + function dA(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 0, + "div", + [["style", "height: 16px;"]], + null, + null, + null, + null, + null + )) + ], + null, + null + ); + } + function uA(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "input", + [ + ["max", "1"], + ["min", "0"], + ["pattern", "[0-9]+([\\.,][0-9]{1,2})?"], + ["step", "0.1"], + ["type", "number"] + ], + [[8, "value", 0]], + [[null, "keyup.enter"], [null, "newValue"], [null, "input"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "input" === e && (a = !1 !== Io(t, 1).inputChange(n) && a), + "keyup.enter" === e && (a = !1 !== o.onAcceptColor(n) && a), + "newValue" === e && (a = !1 !== o.onAlphaInput(n) && a), + a + ); + }, + null, + null + )), + Uo( + 1, + 16384, + null, + 0, + gI, + [], + { rg: [0, "rg"] }, + { newValue: "newValue" } + ) + ], + function(t, e) { + t(e, 1, 0, 1); + }, + function(t, e) { + var n = e.component; + t(e, 0, 0, null == n.cmykText ? null : n.cmykText.a); + } + ); + } + function mA(t) { + return zr( + 0, + [ + (t()(), + Cr(0, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["A"])) + ], + null, + null + ); + } + function hA(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 22, + "div", + [["class", "cmyk-text"]], + [[4, "display", null]], + null, + null, + null, + null + )), + (t()(), + Cr( + 1, + 0, + null, + null, + 10, + "div", + [["class", "box"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 2, + 0, + null, + null, + 1, + "input", + [ + ["max", "100"], + ["min", "0"], + ["pattern", "[0-9]*"], + ["type", "number"] + ], + [[8, "value", 0]], + [[null, "keyup.enter"], [null, "newValue"], [null, "input"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "input" === e && (a = !1 !== Io(t, 3).inputChange(n) && a), + "keyup.enter" === e && (a = !1 !== o.onAcceptColor(n) && a), + "newValue" === e && (a = !1 !== o.onCyanInput(n) && a), + a + ); + }, + null, + null + )), + Uo( + 3, + 16384, + null, + 0, + gI, + [], + { rg: [0, "rg"] }, + { newValue: "newValue" } + ), + (t()(), + Cr( + 4, + 0, + null, + null, + 1, + "input", + [ + ["max", "100"], + ["min", "0"], + ["pattern", "[0-9]*"], + ["type", "number"] + ], + [[8, "value", 0]], + [[null, "keyup.enter"], [null, "newValue"], [null, "input"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "input" === e && (a = !1 !== Io(t, 5).inputChange(n) && a), + "keyup.enter" === e && (a = !1 !== o.onAcceptColor(n) && a), + "newValue" === e && (a = !1 !== o.onMagentaInput(n) && a), + a + ); + }, + null, + null + )), + Uo( + 5, + 16384, + null, + 0, + gI, + [], + { rg: [0, "rg"] }, + { newValue: "newValue" } + ), + (t()(), + Cr( + 6, + 0, + null, + null, + 1, + "input", + [ + ["max", "100"], + ["min", "0"], + ["pattern", "[0-9]*"], + ["type", "number"] + ], + [[8, "value", 0]], + [[null, "keyup.enter"], [null, "newValue"], [null, "input"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "input" === e && (a = !1 !== Io(t, 7).inputChange(n) && a), + "keyup.enter" === e && (a = !1 !== o.onAcceptColor(n) && a), + "newValue" === e && (a = !1 !== o.onYellowInput(n) && a), + a + ); + }, + null, + null + )), + Uo( + 7, + 16384, + null, + 0, + gI, + [], + { rg: [0, "rg"] }, + { newValue: "newValue" } + ), + (t()(), + Cr( + 8, + 0, + null, + null, + 1, + "input", + [ + ["max", "100"], + ["min", "0"], + ["pattern", "[0-9]*"], + ["type", "number"] + ], + [[8, "value", 0]], + [[null, "keyup.enter"], [null, "newValue"], [null, "input"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "input" === e && (a = !1 !== Io(t, 9).inputChange(n) && a), + "keyup.enter" === e && (a = !1 !== o.onAcceptColor(n) && a), + "newValue" === e && (a = !1 !== o.onBlackInput(n) && a), + a + ); + }, + null, + null + )), + Uo( + 9, + 16384, + null, + 0, + gI, + [], + { rg: [0, "rg"] }, + { newValue: "newValue" } + ), + (t()(), _r(16777216, null, null, 1, null, uA)), + Uo(11, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), + Cr( + 12, + 0, + null, + null, + 10, + "div", + [["class", "box"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr(13, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["C"])), + (t()(), + Cr(15, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["M"])), + (t()(), + Cr(17, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["Y"])), + (t()(), + Cr(19, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["K"])), + (t()(), _r(16777216, null, null, 1, null, mA)), + Uo(22, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null) + ], + function(t, e) { + var n = e.component; + t(e, 3, 0, 100), + t(e, 5, 0, 100), + t(e, 7, 0, 100), + t(e, 9, 0, 100), + t(e, 11, 0, "disabled" !== n.cpAlphaChannel), + t(e, 22, 0, "disabled" !== n.cpAlphaChannel); + }, + function(t, e) { + var n = e.component; + t(e, 0, 0, 3 !== n.format ? "none" : "block"), + t(e, 2, 0, null == n.cmykText ? null : n.cmykText.c), + t(e, 4, 0, null == n.cmykText ? null : n.cmykText.m), + t(e, 6, 0, null == n.cmykText ? null : n.cmykText.y), + t(e, 8, 0, null == n.cmykText ? null : n.cmykText.k); + } + ); + } + function gA(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "input", + [ + ["max", "1"], + ["min", "0"], + ["pattern", "[0-9]+([\\.,][0-9]{1,2})?"], + ["step", "0.1"], + ["type", "number"] + ], + [[8, "value", 0]], + [[null, "keyup.enter"], [null, "newValue"], [null, "input"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "input" === e && (a = !1 !== Io(t, 1).inputChange(n) && a), + "keyup.enter" === e && (a = !1 !== o.onAcceptColor(n) && a), + "newValue" === e && (a = !1 !== o.onAlphaInput(n) && a), + a + ); + }, + null, + null + )), + Uo( + 1, + 16384, + null, + 0, + gI, + [], + { rg: [0, "rg"] }, + { newValue: "newValue" } + ) + ], + function(t, e) { + t(e, 1, 0, 1); + }, + function(t, e) { + var n = e.component; + t(e, 0, 0, null == n.hslaText ? null : n.hslaText.a); + } + ); + } + function pA(t) { + return zr( + 0, + [ + (t()(), + Cr(0, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["A"])) + ], + null, + null + ); + } + function fA(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 18, + "div", + [["class", "hsla-text"]], + [[4, "display", null]], + null, + null, + null, + null + )), + (t()(), + Cr( + 1, + 0, + null, + null, + 8, + "div", + [["class", "box"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 2, + 0, + null, + null, + 1, + "input", + [ + ["max", "360"], + ["min", "0"], + ["pattern", "[0-9]*"], + ["type", "number"] + ], + [[8, "value", 0]], + [[null, "keyup.enter"], [null, "newValue"], [null, "input"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "input" === e && (a = !1 !== Io(t, 3).inputChange(n) && a), + "keyup.enter" === e && (a = !1 !== o.onAcceptColor(n) && a), + "newValue" === e && (a = !1 !== o.onHueInput(n) && a), + a + ); + }, + null, + null + )), + Uo( + 3, + 16384, + null, + 0, + gI, + [], + { rg: [0, "rg"] }, + { newValue: "newValue" } + ), + (t()(), + Cr( + 4, + 0, + null, + null, + 1, + "input", + [ + ["max", "100"], + ["min", "0"], + ["pattern", "[0-9]*"], + ["type", "number"] + ], + [[8, "value", 0]], + [[null, "keyup.enter"], [null, "newValue"], [null, "input"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "input" === e && (a = !1 !== Io(t, 5).inputChange(n) && a), + "keyup.enter" === e && (a = !1 !== o.onAcceptColor(n) && a), + "newValue" === e && (a = !1 !== o.onSaturationInput(n) && a), + a + ); + }, + null, + null + )), + Uo( + 5, + 16384, + null, + 0, + gI, + [], + { rg: [0, "rg"] }, + { newValue: "newValue" } + ), + (t()(), + Cr( + 6, + 0, + null, + null, + 1, + "input", + [ + ["max", "100"], + ["min", "0"], + ["pattern", "[0-9]*"], + ["type", "number"] + ], + [[8, "value", 0]], + [[null, "keyup.enter"], [null, "newValue"], [null, "input"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "input" === e && (a = !1 !== Io(t, 7).inputChange(n) && a), + "keyup.enter" === e && (a = !1 !== o.onAcceptColor(n) && a), + "newValue" === e && (a = !1 !== o.onLightnessInput(n) && a), + a + ); + }, + null, + null + )), + Uo( + 7, + 16384, + null, + 0, + gI, + [], + { rg: [0, "rg"] }, + { newValue: "newValue" } + ), + (t()(), _r(16777216, null, null, 1, null, gA)), + Uo(9, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), + Cr( + 10, + 0, + null, + null, + 8, + "div", + [["class", "box"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr(11, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["H"])), + (t()(), + Cr(13, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["S"])), + (t()(), + Cr(15, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["L"])), + (t()(), _r(16777216, null, null, 1, null, pA)), + Uo(18, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null) + ], + function(t, e) { + var n = e.component; + t(e, 3, 0, 360), + t(e, 5, 0, 100), + t(e, 7, 0, 100), + t(e, 9, 0, "disabled" !== n.cpAlphaChannel), + t(e, 18, 0, "disabled" !== n.cpAlphaChannel); + }, + function(t, e) { + var n = e.component; + t(e, 0, 0, 2 !== n.format ? "none" : "block"), + t(e, 2, 0, null == n.hslaText ? null : n.hslaText.h), + t(e, 4, 0, null == n.hslaText ? null : n.hslaText.s), + t(e, 6, 0, null == n.hslaText ? null : n.hslaText.l); + } + ); + } + function bA(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "input", + [ + ["max", "1"], + ["min", "0"], + ["pattern", "[0-9]+([\\.,][0-9]{1,2})?"], + ["step", "0.1"], + ["type", "number"] + ], + [[8, "value", 0]], + [[null, "keyup.enter"], [null, "newValue"], [null, "input"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "input" === e && (a = !1 !== Io(t, 1).inputChange(n) && a), + "keyup.enter" === e && (a = !1 !== o.onAcceptColor(n) && a), + "newValue" === e && (a = !1 !== o.onAlphaInput(n) && a), + a + ); + }, + null, + null + )), + Uo( + 1, + 16384, + null, + 0, + gI, + [], + { rg: [0, "rg"] }, + { newValue: "newValue" } + ) + ], + function(t, e) { + t(e, 1, 0, 1); + }, + function(t, e) { + var n = e.component; + t(e, 0, 0, null == n.rgbaText ? null : n.rgbaText.a); + } + ); + } + function _A(t) { + return zr( + 0, + [ + (t()(), + Cr(0, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["A"])) + ], + null, + null + ); + } + function CA(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 18, + "div", + [["class", "rgba-text"]], + [[4, "display", null]], + null, + null, + null, + null + )), + (t()(), + Cr( + 1, + 0, + null, + null, + 8, + "div", + [["class", "box"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 2, + 0, + null, + null, + 1, + "input", + [ + ["max", "255"], + ["min", "0"], + ["pattern", "[0-9]*"], + ["type", "number"] + ], + [[8, "value", 0]], + [[null, "keyup.enter"], [null, "newValue"], [null, "input"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "input" === e && (a = !1 !== Io(t, 3).inputChange(n) && a), + "keyup.enter" === e && (a = !1 !== o.onAcceptColor(n) && a), + "newValue" === e && (a = !1 !== o.onRedInput(n) && a), + a + ); + }, + null, + null + )), + Uo( + 3, + 16384, + null, + 0, + gI, + [], + { rg: [0, "rg"] }, + { newValue: "newValue" } + ), + (t()(), + Cr( + 4, + 0, + null, + null, + 1, + "input", + [ + ["max", "255"], + ["min", "0"], + ["pattern", "[0-9]*"], + ["type", "number"] + ], + [[8, "value", 0]], + [[null, "keyup.enter"], [null, "newValue"], [null, "input"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "input" === e && (a = !1 !== Io(t, 5).inputChange(n) && a), + "keyup.enter" === e && (a = !1 !== o.onAcceptColor(n) && a), + "newValue" === e && (a = !1 !== o.onGreenInput(n) && a), + a + ); + }, + null, + null + )), + Uo( + 5, + 16384, + null, + 0, + gI, + [], + { rg: [0, "rg"] }, + { newValue: "newValue" } + ), + (t()(), + Cr( + 6, + 0, + null, + null, + 1, + "input", + [ + ["max", "255"], + ["min", "0"], + ["pattern", "[0-9]*"], + ["type", "number"] + ], + [[8, "value", 0]], + [[null, "keyup.enter"], [null, "newValue"], [null, "input"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "input" === e && (a = !1 !== Io(t, 7).inputChange(n) && a), + "keyup.enter" === e && (a = !1 !== o.onAcceptColor(n) && a), + "newValue" === e && (a = !1 !== o.onBlueInput(n) && a), + a + ); + }, + null, + null + )), + Uo( + 7, + 16384, + null, + 0, + gI, + [], + { rg: [0, "rg"] }, + { newValue: "newValue" } + ), + (t()(), _r(16777216, null, null, 1, null, bA)), + Uo(9, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), + Cr( + 10, + 0, + null, + null, + 8, + "div", + [["class", "box"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr(11, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["R"])), + (t()(), + Cr(13, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["G"])), + (t()(), + Cr(15, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["B"])), + (t()(), _r(16777216, null, null, 1, null, _A)), + Uo(18, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null) + ], + function(t, e) { + var n = e.component; + t(e, 3, 0, 255), + t(e, 5, 0, 255), + t(e, 7, 0, 255), + t(e, 9, 0, "disabled" !== n.cpAlphaChannel), + t(e, 18, 0, "disabled" !== n.cpAlphaChannel); + }, + function(t, e) { + var n = e.component; + t(e, 0, 0, 1 !== n.format ? "none" : "block"), + t(e, 2, 0, null == n.rgbaText ? null : n.rgbaText.r), + t(e, 4, 0, null == n.rgbaText ? null : n.rgbaText.g), + t(e, 6, 0, null == n.rgbaText ? null : n.rgbaText.b); + } + ); + } + function PA(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "input", + [ + ["max", "1"], + ["min", "0"], + ["pattern", "[0-9]+([\\.,][0-9]{1,2})?"], + ["step", "0.1"], + ["type", "number"] + ], + [[8, "value", 0]], + [[null, "keyup.enter"], [null, "newValue"], [null, "input"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "input" === e && (a = !1 !== Io(t, 1).inputChange(n) && a), + "keyup.enter" === e && (a = !1 !== o.onAcceptColor(n) && a), + "newValue" === e && (a = !1 !== o.onAlphaInput(n) && a), + a + ); + }, + null, + null + )), + Uo( + 1, + 16384, + null, + 0, + gI, + [], + { rg: [0, "rg"] }, + { newValue: "newValue" } + ) + ], + function(t, e) { + t(e, 1, 0, 1); + }, + function(t, e) { + t(e, 0, 0, e.component.hexAlpha); + } + ); + } + function OA(t) { + return zr( + 0, + [ + (t()(), + Cr(0, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["A"])) + ], + null, + null + ); + } + function MA(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 10, + "div", + [["class", "hex-text"]], + [[2, "hex-alpha", null], [4, "display", null]], + null, + null, + null, + null + )), + (t()(), + Cr( + 1, + 0, + null, + null, + 4, + "div", + [["class", "box"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 2, + 0, + null, + null, + 1, + "input", + [], + [[8, "value", 0]], + [ + [null, "blur"], + [null, "keyup.enter"], + [null, "newValue"], + [null, "input"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "input" === e && (a = !1 !== Io(t, 3).inputChange(n) && a), + "blur" === e && (a = !1 !== o.onHexInput(null) && a), + "keyup.enter" === e && (a = !1 !== o.onAcceptColor(n) && a), + "newValue" === e && (a = !1 !== o.onHexInput(n) && a), + a + ); + }, + null, + null + )), + Uo(3, 16384, null, 0, gI, [], null, { newValue: "newValue" }), + (t()(), _r(16777216, null, null, 1, null, PA)), + Uo(5, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), + Cr( + 6, + 0, + null, + null, + 4, + "div", + [["class", "box"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr(7, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["Hex"])), + (t()(), _r(16777216, null, null, 1, null, OA)), + Uo(10, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null) + ], + function(t, e) { + var n = e.component; + t(e, 5, 0, "forced" === n.cpAlphaChannel), + t(e, 10, 0, "forced" === n.cpAlphaChannel); + }, + function(t, e) { + var n = e.component; + t( + e, + 0, + 0, + "forced" === n.cpAlphaChannel, + 0 !== n.format ? "none" : "block" + ), + t(e, 2, 0, n.hexText); + } + ); + } + function yA(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "input", + [ + ["max", "1"], + ["min", "0"], + ["pattern", "[0-9]+([\\.,][0-9]{1,2})?"], + ["step", "0.1"], + ["type", "number"] + ], + [[8, "value", 0]], + [[null, "keyup.enter"], [null, "newValue"], [null, "input"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "input" === e && (a = !1 !== Io(t, 1).inputChange(n) && a), + "keyup.enter" === e && (a = !1 !== o.onAcceptColor(n) && a), + "newValue" === e && (a = !1 !== o.onAlphaInput(n) && a), + a + ); + }, + null, + null + )), + Uo( + 1, + 16384, + null, + 0, + gI, + [], + { rg: [0, "rg"] }, + { newValue: "newValue" } + ) + ], + function(t, e) { + t(e, 1, 0, 1); + }, + function(t, e) { + var n = e.component; + t(e, 0, 0, null == n.hslaText ? null : n.hslaText.a); + } + ); + } + function vA(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 10, + "div", + [["class", "value-text"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 1, + 0, + null, + null, + 4, + "div", + [["class", "box"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 2, + 0, + null, + null, + 1, + "input", + [ + ["max", "100"], + ["min", "0"], + ["pattern", "[0-9]*"], + ["type", "number"] + ], + [[8, "value", 0]], + [[null, "keyup.enter"], [null, "newValue"], [null, "input"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "input" === e && (a = !1 !== Io(t, 3).inputChange(n) && a), + "keyup.enter" === e && (a = !1 !== o.onAcceptColor(n) && a), + "newValue" === e && (a = !1 !== o.onValueInput(n) && a), + a + ); + }, + null, + null + )), + Uo( + 3, + 16384, + null, + 0, + gI, + [], + { rg: [0, "rg"] }, + { newValue: "newValue" } + ), + (t()(), _r(16777216, null, null, 1, null, yA)), + Uo(5, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), + Cr( + 6, + 0, + null, + null, + 4, + "div", + [["class", "box"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr(7, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["V"])), + (t()(), + Cr(9, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["A"])) + ], + function(t, e) { + var n = e.component; + t(e, 3, 0, 100), t(e, 5, 0, "disabled" !== n.cpAlphaChannel); + }, + function(t, e) { + var n = e.component; + t(e, 2, 0, null == n.hslaText ? null : n.hslaText.l); + } + ); + } + function xA(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 2, + "div", + [["class", "type-policy"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 1, + 0, + null, + null, + 0, + "span", + [["class", "type-policy-arrow"]], + null, + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && + (a = !1 !== t.component.onFormatToggle(-1) && a), + a + ); + }, + null, + null + )), + (t()(), + Cr( + 2, + 0, + null, + null, + 0, + "span", + [["class", "type-policy-arrow"]], + null, + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && + (a = !1 !== t.component.onFormatToggle(1) && a), + a + ); + }, + null, + null + )) + ], + null, + null + ); + } + function kA(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 0, + "span", + [], + [[8, "className", 0]], + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && + (a = + !1 !== + t.component.onRemovePresetColor( + n, + t.parent.context.$implicit + ) && a), + a + ); + }, + null, + null + )) + ], + null, + function(t, e) { + t(e, 0, 0, ao(1, "", e.component.cpRemoveColorButtonClass, "")); + } + ); + } + function wA(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 2, + "div", + [["class", "preset-color"]], + [[4, "backgroundColor", null]], + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && + (a = + !1 !== + t.component.setColorFromString(t.context.$implicit) && + a), + a + ); + }, + null, + null + )), + (t()(), _r(16777216, null, null, 1, null, kA)), + Uo(2, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null) + ], + function(t, e) { + t(e, 2, 0, e.component.cpAddColorButton); + }, + function(t, e) { + t(e, 0, 0, e.context.$implicit); + } + ); + } + function SA(t) { + return zr( + 0, + [ + (t()(), + Cr(0, 0, null, null, 2, "div", [], null, null, null, null, null)), + (t()(), _r(16777216, null, null, 1, null, wA)), + Uo( + 2, + 278528, + null, + 0, + Os, + [ua, ca, na], + { ngForOf: [0, "ngForOf"] }, + null + ) + ], + function(t, e) { + t(e, 2, 0, e.component.cpPresetColors); + }, + null + ); + } + function EA(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "div", + [], + [[8, "className", 0]], + null, + null, + null, + null + )), + (t()(), Rr(1, null, ["", ""])) + ], + null, + function(t, e) { + var n = e.component; + t(e, 0, 0, ao(1, "", n.cpPresetEmptyMessageClass, "")), + t(e, 1, 0, n.cpPresetEmptyMessage); + } + ); + } + function IA(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 7, + "div", + [["class", "preset-area"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr(1, 0, null, null, 0, "hr", [], null, null, null, null, null)), + (t()(), + Cr( + 2, + 0, + null, + null, + 1, + "div", + [["class", "preset-label"]], + null, + null, + null, + null, + null + )), + (t()(), Rr(3, null, ["", ""])), + (t()(), _r(16777216, null, null, 1, null, SA)), + Uo(5, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, null, 1, null, EA)), + Uo(7, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null) + ], + function(t, e) { + var n = e.component; + t( + e, + 5, + 0, + null == n.cpPresetColors ? null : n.cpPresetColors.length + ), + t( + e, + 7, + 0, + !(null != n.cpPresetColors && n.cpPresetColors.length) && + n.cpAddColorButton + ); + }, + function(t, e) { + t(e, 3, 0, e.component.cpPresetLabel); + } + ); + } + function AA(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "button", + [["type", "button"]], + [[8, "className", 0]], + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && + (a = !1 !== t.component.onCancelColor(n) && a), + a + ); + }, + null, + null + )), + (t()(), Rr(1, null, ["", ""])) + ], + null, + function(t, e) { + var n = e.component; + t(e, 0, 0, ao(1, "", n.cpCancelButtonClass, "")), + t(e, 1, 0, n.cpCancelButtonText); + } + ); + } + function TA(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "button", + [["type", "button"]], + [[8, "className", 0]], + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && + (a = !1 !== t.component.onAcceptColor(n) && a), + a + ); + }, + null, + null + )), + (t()(), Rr(1, null, ["", ""])) + ], + null, + function(t, e) { + var n = e.component; + t(e, 0, 0, ao(1, "", n.cpOKButtonClass, "")), + t(e, 1, 0, n.cpOKButtonText); + } + ); + } + function RA(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 4, + "div", + [["class", "button-area"]], + null, + null, + null, + null, + null + )), + (t()(), _r(16777216, null, null, 1, null, AA)), + Uo(2, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, null, 1, null, TA)), + Uo(4, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null) + ], + function(t, e) { + var n = e.component; + t(e, 2, 0, n.cpCancelButton), t(e, 4, 0, n.cpOKButton); + }, + null + ); + } + function DA(t) { + return zr( + 0, + [ + vr(402653184, 1, { dialogElement: 0 }), + vr(402653184, 2, { hueSlider: 0 }), + vr(402653184, 3, { alphaSlider: 0 }), + (t()(), + Cr( + 3, + 0, + [[1, 0], ["dialogPopup", 1]], + null, + 38, + "div", + [["class", "color-picker"]], + [ + [2, "open", null], + [4, "display", null], + [4, "visiblity", null], + [4, "top", "px"], + [4, "left", "px"], + [4, "position", null], + [4, "height", "px"], + [4, "width", "px"] + ], + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && (a = !1 !== n.stopPropagation() && a), a + ); + }, + null, + null + )), + (t()(), _r(16777216, null, null, 1, null, lA)), + Uo(5, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, null, 1, null, sA)), + Uo(7, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), + Cr( + 8, + 0, + null, + null, + 17, + "div", + [["class", "hue-alpha box"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 9, + 0, + null, + null, + 4, + "div", + [["class", "left"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 10, + 0, + null, + null, + 0, + "div", + [["class", "selected-color-background"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 11, + 0, + null, + null, + 0, + "div", + [["class", "selected-color"]], + [[4, "background-color", null]], + null, + null, + null, + null + )), + (t()(), _r(16777216, null, null, 1, null, cA)), + Uo(13, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), + Cr( + 14, + 0, + null, + null, + 11, + "div", + [["class", "right"]], + null, + null, + null, + null, + null + )), + (t()(), _r(16777216, null, null, 1, null, dA)), + Uo(16, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), + Cr( + 17, + 0, + [[2, 0], ["hueSlider", 1]], + null, + 2, + "div", + [["class", "hue"]], + [[4, "display", null]], + [ + [null, "newValue"], + [null, "dragStart"], + [null, "dragEnd"], + [null, "mousedown"], + [null, "touchstart"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "mousedown" === e && (a = !1 !== Io(t, 18).mouseDown(n) && a), + "touchstart" === e && + (a = !1 !== Io(t, 18).touchStart(n) && a), + "newValue" === e && (a = !1 !== o.onHueChange(n) && a), + "dragStart" === e && (a = !1 !== o.onDragStart("hue") && a), + "dragEnd" === e && (a = !1 !== o.onDragEnd("hue") && a), + a + ); + }, + null, + null + )), + Uo( + 18, + 16384, + null, + 0, + pI, + [Ln], + { rgX: [0, "rgX"] }, + { + dragEnd: "dragEnd", + dragStart: "dragStart", + newValue: "newValue" + } + ), + (t()(), + Cr( + 19, + 0, + null, + null, + 0, + "div", + [["class", "cursor"]], + [[4, "left", "px"]], + null, + null, + null, + null + )), + (t()(), + Cr( + 20, + 0, + [["valueSlider", 1]], + null, + 2, + "div", + [["class", "value"]], + [[4, "display", null]], + [ + [null, "newValue"], + [null, "dragStart"], + [null, "dragEnd"], + [null, "mousedown"], + [null, "touchstart"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "mousedown" === e && (a = !1 !== Io(t, 21).mouseDown(n) && a), + "touchstart" === e && + (a = !1 !== Io(t, 21).touchStart(n) && a), + "newValue" === e && (a = !1 !== o.onValueChange(n) && a), + "dragStart" === e && (a = !1 !== o.onDragStart("value") && a), + "dragEnd" === e && (a = !1 !== o.onDragEnd("value") && a), + a + ); + }, + null, + null + )), + Uo( + 21, + 16384, + null, + 0, + pI, + [Ln], + { rgX: [0, "rgX"] }, + { + dragEnd: "dragEnd", + dragStart: "dragStart", + newValue: "newValue" + } + ), + (t()(), + Cr( + 22, + 0, + null, + null, + 0, + "div", + [["class", "cursor"]], + [[4, "right", "px"]], + null, + null, + null, + null + )), + (t()(), + Cr( + 23, + 0, + [[3, 0], ["alphaSlider", 1]], + null, + 2, + "div", + [["class", "alpha"]], + [[4, "display", null], [4, "background-color", null]], + [ + [null, "newValue"], + [null, "dragStart"], + [null, "dragEnd"], + [null, "mousedown"], + [null, "touchstart"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "mousedown" === e && (a = !1 !== Io(t, 24).mouseDown(n) && a), + "touchstart" === e && + (a = !1 !== Io(t, 24).touchStart(n) && a), + "newValue" === e && (a = !1 !== o.onAlphaChange(n) && a), + "dragStart" === e && (a = !1 !== o.onDragStart("alpha") && a), + "dragEnd" === e && (a = !1 !== o.onDragEnd("alpha") && a), + a + ); + }, + null, + null + )), + Uo( + 24, + 16384, + null, + 0, + pI, + [Ln], + { rgX: [0, "rgX"] }, + { + dragEnd: "dragEnd", + dragStart: "dragStart", + newValue: "newValue" + } + ), + (t()(), + Cr( + 25, + 0, + null, + null, + 0, + "div", + [["class", "cursor"]], + [[4, "left", "px"]], + null, + null, + null, + null + )), + (t()(), _r(16777216, null, null, 1, null, hA)), + Uo(27, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, null, 1, null, fA)), + Uo(29, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, null, 1, null, CA)), + Uo(31, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, null, 1, null, MA)), + Uo(33, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, null, 1, null, vA)), + Uo(35, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, null, 1, null, xA)), + Uo(37, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, null, 1, null, IA)), + Uo(39, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, null, 1, null, RA)), + Uo(41, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null) + ], + function(t, e) { + var n = e.component; + t(e, 5, 0, "popup" == n.cpDialogDisplay), + t(e, 7, 0, 1 === (n.cpColorMode || 1)), + t(e, 13, 0, n.cpAddColorButton), + t(e, 16, 0, "disabled" === n.cpAlphaChannel), + t(e, 18, 0, 1), + t(e, 21, 0, 1), + t(e, 24, 0, 1), + t(e, 27, 0, !n.cpDisableInput && 1 === (n.cpColorMode || 1)), + t(e, 29, 0, !n.cpDisableInput && 1 === (n.cpColorMode || 1)), + t(e, 31, 0, !n.cpDisableInput && 1 === (n.cpColorMode || 1)), + t(e, 33, 0, !n.cpDisableInput && 1 === (n.cpColorMode || 1)), + t(e, 35, 0, !n.cpDisableInput && 2 === (n.cpColorMode || 1)), + t(e, 37, 0, !n.cpDisableInput && 1 === (n.cpColorMode || 1)), + t( + e, + 39, + 0, + (null == n.cpPresetColors ? null : n.cpPresetColors.length) || + n.cpAddColorButton + ), + t(e, 41, 0, n.cpOKButton || n.cpCancelButton); + }, + function(t, e) { + var n = e.component; + t( + e, + 3, + 0, + n.show, + n.show ? "block" : "none", + n.show ? "visible" : "hidden", + n.top, + n.left, + n.position, + n.cpHeight, + n.cpWidth + ), + t(e, 11, 0, n.selectedColor), + t(e, 17, 0, 1 === (n.cpColorMode || 1) ? "block" : "none"), + t(e, 19, 0, null == n.slider ? null : n.slider.h), + t(e, 20, 0, 2 === (n.cpColorMode || 1) ? "block" : "none"), + t(e, 22, 0, null == n.slider ? null : n.slider.v), + t( + e, + 23, + 0, + "disabled" === n.cpAlphaChannel ? "none" : "block", + n.alphaSliderColor + ), + t(e, 25, 0, null == n.slider ? null : n.slider.a); + } + ); + } + function NA(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "color-picker", + [], + null, + [["document", "keyup.esc"], ["document", "keyup.enter"]], + function(t, e, n) { + var a = !0; + return ( + "document:keyup.esc" === e && + (a = !1 !== Io(t, 1).handleEsc(n) && a), + "document:keyup.enter" === e && + (a = !1 !== Io(t, 1).handleEnter(n) && a), + a + ); + }, + DA, + rA + )), + Uo(1, 4440064, null, 0, CI, [Ln, oa, _I], null, null) + ], + function(t, e) { + t(e, 1, 0); + }, + null + ); + } + var zA = Co("color-picker", CI, NA, {}, {}, []), + LA = Ia({ + encapsulation: 0, + styles: [ + [ + ".transparent[_ngcontent-%COMP%] .mat-dialog-container[_ngcontent-%COMP%]{box-shadow:none;background:rgba(0,0,0,0)}.message-viewport[_ngcontent-%COMP%]{height:130px;width:400px;border:1px solid #000}.message-item[_ngcontent-%COMP%]{height:20px;font-size:10px}" + ] + ], + data: {} + }); + function FA(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "div", + [["class", "message-item"]], + null, + null, + null, + null, + null + )), + (t()(), Rr(1, null, ["", ""])) + ], + null, + function(t, e) { + t(e, 1, 0, e.context.$implicit); + } + ); + } + function BA(t) { + return zr( + 2, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 13, + "div", + [["layout", "row"], ["layout-align", "center"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr(1, 0, null, null, 2, "div", [], null, null, null, null, null)), + (t()(), + Cr( + 2, + 0, + null, + null, + 1, + "mat-spinner", + [ + ["class", "mat-spinner mat-progress-spinner"], + ["mode", "indeterminate"], + ["role", "progressbar"], + ["style", "margin:0 auto;"] + ], + [ + [2, "_mat-animation-noopable", null], + [4, "width", "px"], + [4, "height", "px"] + ], + null, + null, + xS, + MS + )), + Uo( + 3, + 49152, + null, + 0, + fS, + [Ln, Op, [2, Bs], [2, OP], hS], + null, + null + ), + (t()(), + Cr( + 4, + 0, + null, + null, + 1, + "p", + [["align", "center"]], + null, + null, + null, + null, + null + )), + (t()(), Rr(5, null, ["", ""])), + (t()(), + Cr( + 6, + 0, + null, + null, + 7, + "cdk-virtual-scroll-viewport", + [ + ["class", "message-viewport cdk-virtual-scroll-viewport"], + ["itemSize", "10"] + ], + [ + [2, "cdk-virtual-scroll-orientation-horizontal", null], + [2, "cdk-virtual-scroll-orientation-vertical", null] + ], + null, + null, + Hx, + Vx + )), + Ko(6144, null, wO, null, [EO]), + Uo(8, 540672, null, 0, vO, [], { itemSize: [0, "itemSize"] }, null), + Ko(1024, null, OO, yO, [vO]), + Uo( + 10, + 245760, + null, + 0, + EO, + [Ln, oa, Di, [2, OO], [2, hp], kO], + null, + null + ), + Uo(11, 212992, null, 0, jx, [[4, EO]], null, null), + (t()(), _r(16777216, null, 0, 1, null, FA)), + Uo( + 13, + 409600, + null, + 0, + AO, + [ua, ca, na, [1, EO], Di], + { cdkVirtualForOf: [0, "cdkVirtualForOf"] }, + null + ) + ], + function(t, e) { + var n = e.component; + t(e, 8, 0, "10"), + t(e, 10, 0), + t(e, 11, 0), + t(e, 13, 0, n.messages.slice().reverse()); + }, + function(t, e) { + var n = e.component; + t( + e, + 2, + 0, + Io(e, 3)._noopAnimations, + Io(e, 3).diameter, + Io(e, 3).diameter + ), + t(e, 5, 0, n.mainText), + t( + e, + 6, + 0, + "horizontal" === Io(e, 10).orientation, + "horizontal" !== Io(e, 10).orientation + ); + } + ); + } + function VA(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "app-progress-spinner-dialog", + [], + null, + null, + null, + BA, + LA + )), + Uo(1, 114688, null, 0, Bg, [gM, pM, bg, oa, Fg], null, null) + ], + function(t, e) { + t(e, 1, 0); + }, + null + ); + } + var HA = Co("app-progress-spinner-dialog", Bg, VA, {}, {}, []), + jA = Ia({ + encapsulation: 0, + styles: [ + [ + ".coverContainer[_ngcontent-%COMP%]{width:150px;height:150px;display:inline-block}.coverPlaceholder[_ngcontent-%COMP%]{color:gray;font-size:12px}.cover[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;top:0;left:0;background-size:100% 100%}.deleteButton[_ngcontent-%COMP%]{margin-right:0;margin-left:310px;margin-top:-20px}" + ] + ], + data: {} + }); + function UA(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 3, + "button", + [ + ["class", "deleteButton"], + ["color", "warn"], + ["fast-click", ""], + ["mat-raised-button", ""] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && (a = !1 !== t.component.clickDelete() && a), + a + ); + }, + vP, + yP + )), + Uo( + 1, + 180224, + null, + 0, + Mb, + [Ln, _f, [2, OP]], + { color: [0, "color"] }, + null + ), + Uo(2, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, 0, ["Delete"])) + ], + function(t, e) { + t(e, 1, 0, "warn"); + }, + function(t, e) { + t( + e, + 0, + 0, + Io(e, 1).disabled || null, + "NoopAnimations" === Io(e, 1)._animationMode + ); + } + ); + } + function qA(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 44, + "mat-card", + [["class", "setup-card mat-card"]], + null, + null, + null, + $f, + Gf + )), + Uo(1, 49152, null, 0, cp, [], null, null), + (t()(), + Cr( + 2, + 0, + null, + 0, + 29, + "mat-card-header", + [["class", "mat-card-header"]], + null, + null, + null, + Qf, + Zf + )), + Uo(3, 49152, null, 0, dp, [], null, null), + (t()(), + Cr( + 4, + 0, + [["file", 1]], + 2, + 0, + "input", + [["accept", "image/*"], ["hidden", ""], ["type", "file"]], + null, + [[null, "change"]], + function(t, e, n) { + var a = !0; + return ( + "change" === e && + (a = !1 !== t.component.loadCover(Io(t, 4).files) && a), + a + ); + }, + null, + null + )), + (t()(), + Cr( + 5, + 0, + null, + 2, + 5, + "button", + [ + ["class", "coverContainer"], + ["fast-click", ""], + ["mat-raised-button", ""] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "click" === e && + (a = + !1 !== + (o.onQuest() ? o.questClick() : Io(t, 4).click()) && a), + a + ); + }, + vP, + yP + )), + Uo(6, 180224, null, 0, Mb, [Ln, _f, [2, OP]], null, null), + Uo(7, 16384, null, 0, xP, [Ln], null, null), + (t()(), + Cr( + 8, + 0, + null, + 0, + 1, + "div", + [["class", "coverPlaceholder"]], + null, + null, + null, + null, + null + )), + (t()(), Rr(-1, null, ["Choose Cover Image"])), + (t()(), + Cr( + 10, + 0, + null, + 0, + 0, + "img", + [["class", "cover"]], + [[4, "background-image", null]], + null, + null, + null, + null + )), + (t()(), + Cr( + 11, + 0, + null, + 1, + 20, + "mat-card-title", + [["class", "mat-card-title"]], + null, + null, + null, + null, + null + )), + Uo(12, 16384, null, 0, ip, [], null, null), + (t()(), + Cr( + 13, + 0, + null, + null, + 18, + "mat-form-field", + [["class", "mat-form-field"]], + [ + [2, "mat-form-field-appearance-standard", null], + [2, "mat-form-field-appearance-fill", null], + [2, "mat-form-field-appearance-outline", null], + [2, "mat-form-field-appearance-legacy", null], + [2, "mat-form-field-invalid", null], + [2, "mat-form-field-can-float", null], + [2, "mat-form-field-should-float", null], + [2, "mat-form-field-has-label", null], + [2, "mat-form-field-hide-placeholder", null], + [2, "mat-form-field-disabled", null], + [2, "mat-form-field-autofilled", null], + [2, "mat-focused", null], + [2, "mat-accent", null], + [2, "mat-warn", null], + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null], + [2, "_mat-animation-noopable", null] + ], + null, + null, + bE, + iE + )), + Uo( + 14, + 7520256, + null, + 9, + aE, + [Ln, oa, [2, Wf], [2, hp], [2, nE], Op, Di, [2, OP]], + null, + null + ), + vr(603979776, 1, { _controlNonStatic: 0 }), + vr(335544320, 2, { _controlStatic: 0 }), + vr(603979776, 3, { _labelChildNonStatic: 0 }), + vr(335544320, 4, { _labelChildStatic: 0 }), + vr(603979776, 5, { _placeholderChild: 0 }), + vr(603979776, 6, { _errorChildren: 1 }), + vr(603979776, 7, { _hintChildren: 1 }), + vr(603979776, 8, { _prefixChildren: 1 }), + vr(603979776, 9, { _suffixChildren: 1 }), + (t()(), + Cr( + 24, + 0, + null, + 1, + 7, + "input", + [ + ["class", "mat-input-element mat-form-field-autofill-control"], + ["matInput", ""], + ["placeholder", "Playlist Name"] + ], + [ + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null], + [2, "mat-input-server", null], + [1, "id", 0], + [1, "placeholder", 0], + [8, "disabled", 0], + [8, "required", 0], + [1, "readonly", 0], + [1, "aria-describedby", 0], + [1, "aria-invalid", 0], + [1, "aria-required", 0] + ], + [ + [null, "ngModelChange"], + [null, "input"], + [null, "blur"], + [null, "compositionstart"], + [null, "compositionend"], + [null, "focus"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "input" === e && + (a = !1 !== Io(t, 25)._handleInput(n.target.value) && a), + "blur" === e && (a = !1 !== Io(t, 25).onTouched() && a), + "compositionstart" === e && + (a = !1 !== Io(t, 25)._compositionStart() && a), + "compositionend" === e && + (a = !1 !== Io(t, 25)._compositionEnd(n.target.value) && a), + "blur" === e && (a = !1 !== Io(t, 30)._focusChanged(!1) && a), + "focus" === e && + (a = !1 !== Io(t, 30)._focusChanged(!0) && a), + "input" === e && (a = !1 !== Io(t, 30)._onInput() && a), + "ngModelChange" === e && + (a = !1 !== (o.data.playlist.PlaylistName = n) && a), + "input" === e && + (a = + !1 !== o.makeAutoID(o.data.playlist.PlaylistName) && a), + a + ); + }, + null, + null + )), + Uo(25, 16384, null, 0, Yx, [jn, Ln, [2, Kx]], null, null), + Ko( + 1024, + null, + Ux, + function(t) { + return [t]; + }, + [Yx] + ), + Uo( + 27, + 671744, + null, + 0, + Bk, + [[8, null], [8, null], [8, null], [6, Ux]], + { model: [0, "model"] }, + { update: "ngModelChange" } + ), + Ko(2048, null, Zx, null, [Bk]), + Uo(29, 16384, null, 0, Qx, [[4, Zx]], null, null), + Uo( + 30, + 999424, + null, + 0, + xE, + [Ln, Op, [6, Zx], [2, Rk], [2, Hk], Ef, [8, null], CE, Di], + { placeholder: [0, "placeholder"] }, + null + ), + Ko(2048, [[1, 4], [2, 4]], QS, null, [xE]), + (t()(), + Cr( + 32, + 0, + null, + 0, + 1, + "mat-card-content", + [["class", "mat-card-content"]], + null, + null, + null, + null, + null + )), + Uo(33, 16384, null, 0, op, [], null, null), + (t()(), + Cr( + 34, + 0, + null, + 0, + 10, + "mat-card-actions", + [["class", "mat-card-actions"]], + [[2, "mat-card-actions-align-end", null]], + null, + null, + null, + null + )), + Uo(35, 16384, null, 0, lp, [], null, null), + (t()(), + Cr( + 36, + 0, + null, + null, + 3, + "button", + [ + ["color", "accent"], + ["fast-click", ""], + ["mat-raised-button", ""] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && (a = !1 !== t.component.clickSave() && a), a + ); + }, + vP, + yP + )), + Uo( + 37, + 180224, + null, + 0, + Mb, + [Ln, _f, [2, OP]], + { color: [0, "color"] }, + null + ), + Uo(38, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, 0, ["Save"])), + (t()(), + Cr( + 40, + 0, + null, + null, + 0, + "div", + [["style", "display: inline-block; width: 50%"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 41, + 0, + null, + null, + 3, + "button", + [["fast-click", ""], ["mat-raised-button", ""]], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && (a = !1 !== t.component.clickCancel() && a), + a + ); + }, + vP, + yP + )), + Uo(42, 180224, null, 0, Mb, [Ln, _f, [2, OP]], null, null), + Uo(43, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, 0, ["Cancel"])) + ], + function(t, e) { + t(e, 27, 0, e.component.data.playlist.PlaylistName), + t(e, 30, 0, "Playlist Name"), + t(e, 37, 0, "accent"); + }, + function(t, e) { + var n = e.component; + t( + e, + 5, + 0, + Io(e, 6).disabled || null, + "NoopAnimations" === Io(e, 6)._animationMode + ), + t(e, 10, 0, n.getCover()), + t(e, 13, 1, [ + "standard" == Io(e, 14).appearance, + "fill" == Io(e, 14).appearance, + "outline" == Io(e, 14).appearance, + "legacy" == Io(e, 14).appearance, + Io(e, 14)._control.errorState, + Io(e, 14)._canLabelFloat, + Io(e, 14)._shouldLabelFloat(), + Io(e, 14)._hasFloatingLabel(), + Io(e, 14)._hideControlPlaceholder(), + Io(e, 14)._control.disabled, + Io(e, 14)._control.autofilled, + Io(e, 14)._control.focused, + "accent" == Io(e, 14).color, + "warn" == Io(e, 14).color, + Io(e, 14)._shouldForward("untouched"), + Io(e, 14)._shouldForward("touched"), + Io(e, 14)._shouldForward("pristine"), + Io(e, 14)._shouldForward("dirty"), + Io(e, 14)._shouldForward("valid"), + Io(e, 14)._shouldForward("invalid"), + Io(e, 14)._shouldForward("pending"), + !Io(e, 14)._animationsEnabled + ]), + t(e, 24, 1, [ + Io(e, 29).ngClassUntouched, + Io(e, 29).ngClassTouched, + Io(e, 29).ngClassPristine, + Io(e, 29).ngClassDirty, + Io(e, 29).ngClassValid, + Io(e, 29).ngClassInvalid, + Io(e, 29).ngClassPending, + Io(e, 30)._isServer, + Io(e, 30).id, + Io(e, 30).placeholder, + Io(e, 30).disabled, + Io(e, 30).required, + (Io(e, 30).readonly && !Io(e, 30)._isNativeSelect) || null, + Io(e, 30)._ariaDescribedby || null, + Io(e, 30).errorState, + Io(e, 30).required.toString() + ]), + t(e, 34, 0, "end" === Io(e, 35).align), + t( + e, + 36, + 0, + Io(e, 37).disabled || null, + "NoopAnimations" === Io(e, 37)._animationMode + ), + t( + e, + 41, + 0, + Io(e, 42).disabled || null, + "NoopAnimations" === Io(e, 42)._animationMode + ); + } + ); + } + function KA(t) { + return zr( + 0, + [ + (t()(), _r(16777216, null, null, 1, null, UA)), + Uo(1, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, null, 1, null, qA)), + Uo(3, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null) + ], + function(t, e) { + var n = e.component; + t(e, 1, 0, n.data && !n.data.isNew), t(e, 3, 0, n.data); + }, + null + ); + } + function YA(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "app-add-edit-playlist-dialog", + [], + null, + null, + null, + KA, + jA + )), + Uo(1, 114688, null, 0, hw, [Fg, gM, pM, CM], null, null) + ], + function(t, e) { + t(e, 1, 0); + }, + null + ); + } + var WA = Co("app-add-edit-playlist-dialog", hw, YA, {}, {}, []), + GA = Ia({ encapsulation: 0, styles: [[""]], data: {} }); + function $A(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 20, + "mat-card", + [["class", "mat-card"]], + null, + null, + null, + $f, + Gf + )), + Uo(1, 49152, null, 0, cp, [], null, null), + (t()(), + Cr( + 2, + 0, + null, + 0, + 7, + "mat-card-header", + [["class", "mat-card-header"]], + null, + null, + null, + Qf, + Zf + )), + Uo(3, 49152, null, 0, dp, [], null, null), + (t()(), + Cr( + 4, + 0, + null, + 1, + 2, + "mat-card-title", + [["class", "mat-card-title"]], + null, + null, + null, + null, + null + )), + Uo(5, 16384, null, 0, ip, [], null, null), + (t()(), Rr(6, null, ["", ""])), + (t()(), + Cr( + 7, + 0, + null, + 1, + 2, + "mat-card-subtitle", + [["class", "mat-card-subtitle"]], + null, + null, + null, + null, + null + )), + Uo(8, 16384, null, 0, rp, [], null, null), + (t()(), Rr(9, null, ["", ""])), + (t()(), + Cr( + 10, + 0, + null, + 0, + 10, + "mat-card-actions", + [["class", "mat-card-actions"]], + [[2, "mat-card-actions-align-end", null]], + null, + null, + null, + null + )), + Uo(11, 16384, null, 0, lp, [], null, null), + (t()(), + Cr( + 12, + 0, + null, + null, + 3, + "button", + [ + ["color", "accent"], + ["fast-click", ""], + ["mat-raised-button", ""] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && (a = !1 !== t.component.clickButton1() && a), + a + ); + }, + vP, + yP + )), + Uo( + 13, + 180224, + null, + 0, + Mb, + [Ln, _f, [2, OP]], + { color: [0, "color"] }, + null + ), + Uo(14, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(15, 0, ["", ""])), + (t()(), + Cr( + 16, + 0, + null, + null, + 0, + "div", + [["style", "display: inline-block; width: 50%"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 17, + 0, + null, + null, + 3, + "button", + [["fast-click", ""], ["mat-raised-button", ""]], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && (a = !1 !== t.component.clickCancel() && a), + a + ); + }, + vP, + yP + )), + Uo(18, 180224, null, 0, Mb, [Ln, _f, [2, OP]], null, null), + Uo(19, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(20, 0, ["", ""])) + ], + function(t, e) { + t(e, 13, 0, "accent"); + }, + function(t, e) { + var n = e.component; + t(e, 6, 0, n.data.title), + t(e, 9, 0, n.data.subTitle), + t(e, 10, 0, "end" === Io(e, 11).align), + t( + e, + 12, + 0, + Io(e, 13).disabled || null, + "NoopAnimations" === Io(e, 13)._animationMode + ), + t(e, 15, 0, n.data.button1Text || "OK"), + t( + e, + 17, + 0, + Io(e, 18).disabled || null, + "NoopAnimations" === Io(e, 18)._animationMode + ), + t(e, 20, 0, n.data.button2Text || "Cancel"); + } + ); + } + function ZA(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "app-confirm-dialog", + [], + null, + null, + null, + $A, + GA + )), + Uo(1, 114688, null, 0, Pw, [gM, pM], null, null) + ], + function(t, e) { + t(e, 1, 0); + }, + null + ); + } + var QA = Co("app-confirm-dialog", Pw, ZA, {}, {}, []); + const XA = new Ht("MAT_GRID_LIST"), + JA = (() => + class { + constructor(t, e) { + (this._element = t), + (this._gridList = e), + (this._rowspan = 1), + (this._colspan = 1); + } + get rowspan() { + return this._rowspan; + } + set rowspan(t) { + this._rowspan = Math.round(fp(t)); + } + get colspan() { + return this._colspan; + } + set colspan(t) { + this._colspan = Math.round(fp(t)); + } + _setStyle(t, e) { + this._element.nativeElement.style[t] = e; + } + })(); + class tT { + constructor() { + (this.columnIndex = 0), (this.rowIndex = 0); + } + get rowCount() { + return this.rowIndex + 1; + } + get rowspan() { + const t = Math.max(...this.tracker); + return t > 1 ? this.rowCount + t - 1 : this.rowCount; + } + update(t, e) { + (this.columnIndex = 0), + (this.rowIndex = 0), + (this.tracker = new Array(t)), + this.tracker.fill(0, 0, this.tracker.length), + (this.positions = e.map(t => this._trackTile(t))); + } + _trackTile(t) { + const e = this._findMatchingGap(t.colspan); + return ( + this._markTilePosition(e, t), + (this.columnIndex = e + t.colspan), + new eT(this.rowIndex, e) + ); + } + _findMatchingGap(t) { + if (t > this.tracker.length) + throw Error( + `mat-grid-list: tile with colspan ${t} is wider than ` + + `grid with cols="${this.tracker.length}".` + ); + let e = -1, + n = -1; + do { + this.columnIndex + t > this.tracker.length + ? (this._nextRow(), + (e = this.tracker.indexOf(0, this.columnIndex)), + (n = this._findGapEndIndex(e))) + : -1 != (e = this.tracker.indexOf(0, this.columnIndex)) + ? ((n = this._findGapEndIndex(e)), (this.columnIndex = e + 1)) + : (this._nextRow(), + (e = this.tracker.indexOf(0, this.columnIndex)), + (n = this._findGapEndIndex(e))); + } while (n - e < t || 0 == n); + return Math.max(e, 0); + } + _nextRow() { + (this.columnIndex = 0), this.rowIndex++; + for (let t = 0; t < this.tracker.length; t++) + this.tracker[t] = Math.max(0, this.tracker[t] - 1); + } + _findGapEndIndex(t) { + for (let e = t + 1; e < this.tracker.length; e++) + if (0 != this.tracker[e]) return e; + return this.tracker.length; + } + _markTilePosition(t, e) { + for (let n = 0; n < e.colspan; n++) this.tracker[t + n] = e.rowspan; + } + } + class eT { + constructor(t, e) { + (this.row = t), (this.col = e); + } + } + const nT = /^-?\d+((\.\d+)?[A-Za-z%$]?)+$/; + class aT { + constructor() { + (this._rows = 0), (this._rowspan = 0); + } + init(t, e, n, a) { + (this._gutterSize = sT(t)), + (this._rows = e.rowCount), + (this._rowspan = e.rowspan), + (this._cols = n), + (this._direction = a); + } + getBaseTileSize(t, e) { + return `(${t}% - (${this._gutterSize} * ${e}))`; + } + getTilePosition(t, e) { + return 0 === e ? "0" : lT(`(${t} + ${this._gutterSize}) * ${e}`); + } + getTileSize(t, e) { + return `(${t} * ${e}) + (${e - 1} * ${this._gutterSize})`; + } + setStyle(t, e, n) { + let a = 100 / this._cols, + o = (this._cols - 1) / this._cols; + this.setColStyles(t, n, a, o), this.setRowStyles(t, e, a, o); + } + setColStyles(t, e, n, a) { + let o = this.getBaseTileSize(n, a); + t._setStyle( + "rtl" === this._direction ? "right" : "left", + this.getTilePosition(o, e) + ), + t._setStyle("width", lT(this.getTileSize(o, t.colspan))); + } + getGutterSpan() { + return `${this._gutterSize} * (${this._rowspan} - 1)`; + } + getTileSpan(t) { + return `${this._rowspan} * ${this.getTileSize(t, 1)}`; + } + getComputedHeight() { + return null; + } + } + class oT extends aT { + constructor(t) { + super(), (this.fixedRowHeight = t); + } + init(t, e, n, a) { + if ( + (super.init(t, e, n, a), + (this.fixedRowHeight = sT(this.fixedRowHeight)), + !nT.test(this.fixedRowHeight)) + ) + throw Error( + `Invalid value "${this.fixedRowHeight}" set as rowHeight.` + ); + } + setRowStyles(t, e) { + t._setStyle("top", this.getTilePosition(this.fixedRowHeight, e)), + t._setStyle( + "height", + lT(this.getTileSize(this.fixedRowHeight, t.rowspan)) + ); + } + getComputedHeight() { + return [ + "height", + lT( + `${this.getTileSpan( + this.fixedRowHeight + )} + ${this.getGutterSpan()}` + ) + ]; + } + reset(t) { + t._setListStyle(["height", null]), + t._tiles && + t._tiles.forEach(t => { + t._setStyle("top", null), t._setStyle("height", null); + }); + } + } + class iT extends aT { + constructor(t) { + super(), this._parseRatio(t); + } + setRowStyles(t, e, n, a) { + (this.baseTileHeight = this.getBaseTileSize( + n / this.rowHeightRatio, + a + )), + t._setStyle( + "marginTop", + this.getTilePosition(this.baseTileHeight, e) + ), + t._setStyle( + "paddingTop", + lT(this.getTileSize(this.baseTileHeight, t.rowspan)) + ); + } + getComputedHeight() { + return [ + "paddingBottom", + lT( + `${this.getTileSpan( + this.baseTileHeight + )} + ${this.getGutterSpan()}` + ) + ]; + } + reset(t) { + t._setListStyle(["paddingBottom", null]), + t._tiles.forEach(t => { + t._setStyle("marginTop", null), t._setStyle("paddingTop", null); + }); + } + _parseRatio(t) { + const e = t.split(":"); + if (2 !== e.length) + throw Error( + `mat-grid-list: invalid ratio given for row-height: "${t}"` + ); + this.rowHeightRatio = parseFloat(e[0]) / parseFloat(e[1]); + } + } + class rT extends aT { + setRowStyles(t, e) { + let n = this.getBaseTileSize( + 100 / this._rowspan, + (this._rows - 1) / this._rows + ); + t._setStyle("top", this.getTilePosition(n, e)), + t._setStyle("height", lT(this.getTileSize(n, t.rowspan))); + } + reset(t) { + t._tiles && + t._tiles.forEach(t => { + t._setStyle("top", null), t._setStyle("height", null); + }); + } + } + function lT(t) { + return `calc(${t})`; + } + function sT(t) { + return t.match(/([A-Za-z%]+)$/) ? t : `${t}px`; + } + const cT = (() => + class { + constructor(t, e) { + (this._element = t), (this._dir = e), (this._gutter = "1px"); + } + get cols() { + return this._cols; + } + set cols(t) { + this._cols = Math.max(1, Math.round(fp(t))); + } + get gutterSize() { + return this._gutter; + } + set gutterSize(t) { + this._gutter = `${null == t ? "" : t}`; + } + get rowHeight() { + return this._rowHeight; + } + set rowHeight(t) { + const e = `${null == t ? "" : t}`; + e !== this._rowHeight && + ((this._rowHeight = e), this._setTileStyler(this._rowHeight)); + } + ngOnInit() { + this._checkCols(), this._checkRowHeight(); + } + ngAfterContentChecked() { + this._layoutTiles(); + } + _checkCols() { + if (!this.cols) + throw Error( + 'mat-grid-list: must pass in number of columns. Example: ' + ); + } + _checkRowHeight() { + this._rowHeight || this._setTileStyler("1:1"); + } + _setTileStyler(t) { + this._tileStyler && this._tileStyler.reset(this), + (this._tileStyler = + "fit" === t + ? new rT() + : t && t.indexOf(":") > -1 + ? new iT(t) + : new oT(t)); + } + _layoutTiles() { + this._tileCoordinator || (this._tileCoordinator = new tT()); + const t = this._tileCoordinator, + e = this._tiles.filter( + t => !t._gridList || t._gridList === this + ), + n = this._dir ? this._dir.value : "ltr"; + this._tileCoordinator.update(this.cols, e), + this._tileStyler.init(this.gutterSize, t, this.cols, n), + e.forEach((e, n) => { + const a = t.positions[n]; + this._tileStyler.setStyle(e, a.row, a.col); + }), + this._setListStyle(this._tileStyler.getComputedHeight()); + } + _setListStyle(t) { + t && (this._element.nativeElement.style[t[0]] = t[1]); + } + })(), + dT = (() => class {})(); + var uT = Ia({ + encapsulation: 2, + styles: [ + ".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-figure{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}.mat-grid-tile .mat-grid-tile-footer,.mat-grid-tile .mat-grid-tile-header{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-footer>*,.mat-grid-tile .mat-grid-tile-header>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-grid-tile .mat-grid-tile-footer.mat-2-line,.mat-grid-tile .mat-grid-tile-header.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}" + ], + data: {} + }); + function mT(t) { + return zr( + 2, + [ + (t()(), + Cr(0, 0, null, null, 1, "div", [], null, null, null, null, null)), + Er(null, 0) + ], + null, + null + ); + } + var hT = Ia({ + encapsulation: 2, + styles: [ + ".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-figure{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}.mat-grid-tile .mat-grid-tile-footer,.mat-grid-tile .mat-grid-tile-header{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-footer>*,.mat-grid-tile .mat-grid-tile-header>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-grid-tile .mat-grid-tile-footer.mat-2-line,.mat-grid-tile .mat-grid-tile-header.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}" + ], + data: {} + }); + function gT(t) { + return zr( + 2, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "figure", + [["class", "mat-figure"]], + null, + null, + null, + null, + null + )), + Er(null, 0) + ], + null, + null + ); + } + var pT = Ia({ + encapsulation: 0, + styles: [ + [ + ".coverContainer[_ngcontent-%COMP%]{display:inline-block;width:100%;height:100%}.cover[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;top:0;left:0;background-size:100% 100%}.imgcontainer[_ngcontent-%COMP%]{width:425px;height:330px;overflow-y:scroll;overflow-x:hidden}" + ] + ], + data: {} + }); + function fT(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 4, + "mat-grid-tile", + [["class", "mat-grid-tile"]], + null, + null, + null, + gT, + hT + )), + Uo(1, 49152, [[1, 4]], 0, JA, [Ln, [2, XA]], null, null), + (t()(), + Cr( + 2, + 0, + null, + 0, + 2, + "button", + [["class", "coverContainer"], ["mat-raised-button", ""]], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && + (a = + !1 !== t.component.pickImage(t.context.$implicit) && a), + a + ); + }, + vP, + yP + )), + Uo(3, 180224, null, 0, Mb, [Ln, _f, [2, OP]], null, null), + (t()(), + Cr( + 4, + 0, + null, + 0, + 0, + "img", + [["class", "cover"]], + [[4, "background-image", null]], + null, + null, + null, + null + )) + ], + null, + function(t, e) { + var n = e.component; + t( + e, + 2, + 0, + Io(e, 3).disabled || null, + "NoopAnimations" === Io(e, 3)._animationMode + ), + t(e, 4, 0, n.getImgUrl(e.context.$implicit)); + } + ); + } + function bT(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 21, + "mat-card", + [["class", "mat-card"]], + null, + null, + null, + $f, + Gf + )), + Uo(1, 49152, null, 0, cp, [], null, null), + (t()(), + Cr( + 2, + 0, + null, + 0, + 4, + "mat-card-header", + [["class", "mat-card-header"]], + null, + null, + null, + Qf, + Zf + )), + Uo(3, 49152, null, 0, dp, [], null, null), + (t()(), + Cr( + 4, + 0, + null, + 1, + 2, + "mat-card-title", + [["class", "mat-card-title"]], + null, + null, + null, + null, + null + )), + Uo(5, 16384, null, 0, ip, [], null, null), + (t()(), Rr(-1, null, ["Pick an Image"])), + (t()(), + Cr( + 7, + 0, + null, + 0, + 8, + "mat-card-content", + [["class", "mat-card-content"]], + null, + null, + null, + null, + null + )), + Uo(8, 16384, null, 0, op, [], null, null), + (t()(), + Cr( + 9, + 0, + null, + null, + 6, + "div", + [["class", "imgcontainer"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 10, + 0, + null, + null, + 5, + "mat-grid-list", + [ + ["class", "mat-grid-list"], + ["cols", "3"], + ["gutterSize", "10px"], + ["rowHeight", "1:1"] + ], + null, + null, + null, + mT, + uT + )), + Ko(6144, null, XA, null, [cT]), + Uo( + 12, + 2211840, + null, + 1, + cT, + [Ln, [2, hp]], + { + cols: [0, "cols"], + gutterSize: [1, "gutterSize"], + rowHeight: [2, "rowHeight"] + }, + null + ), + vr(603979776, 1, { _tiles: 1 }), + (t()(), _r(16777216, null, 0, 1, null, fT)), + Uo( + 15, + 278528, + null, + 0, + Os, + [ua, ca, na], + { ngForOf: [0, "ngForOf"] }, + null + ), + (t()(), + Cr( + 16, + 0, + null, + 0, + 5, + "mat-card-actions", + [["class", "mat-card-actions"]], + [[2, "mat-card-actions-align-end", null]], + null, + null, + null, + null + )), + Uo(17, 16384, null, 0, lp, [], null, null), + (t()(), + Cr( + 18, + 0, + null, + null, + 3, + "button", + [["fast-click", ""], ["mat-raised-button", ""]], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && (a = !1 !== t.component.clickCancel() && a), + a + ); + }, + vP, + yP + )), + Uo(19, 180224, null, 0, Mb, [Ln, _f, [2, OP]], null, null), + Uo(20, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, 0, ["Cancel"])) + ], + function(t, e) { + var n = e.component; + t(e, 12, 0, "3", "10px", "1:1"), t(e, 15, 0, n.images); + }, + function(t, e) { + t(e, 16, 0, "end" === Io(e, 17).align), + t( + e, + 18, + 0, + Io(e, 19).disabled || null, + "NoopAnimations" === Io(e, 19)._animationMode + ); + } + ); + } + function _T(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "app-image-picker-dialog", + [], + null, + null, + null, + bT, + pT + )), + Uo(1, 114688, null, 0, mw, [gM, vc], null, null) + ], + function(t, e) { + t(e, 1, 0); + }, + null + ); + } + var CT = Co("app-image-picker-dialog", mw, _T, {}, {}, []); + const PT = (() => + class { + constructor(t, e) { + (this.document = t), + (this.platformId = e), + (this.documentIsAccessible = js(this.platformId)); + } + check(t) { + return ( + !!this.documentIsAccessible && + ((t = encodeURIComponent(t)), + this.getCookieRegExp(t).test(this.document.cookie)) + ); + } + get(t) { + if (this.documentIsAccessible && this.check(t)) { + t = encodeURIComponent(t); + const e = this.getCookieRegExp(t).exec(this.document.cookie); + return decodeURIComponent(e[1]); + } + return ""; + } + getAll() { + if (!this.documentIsAccessible) return {}; + const t = {}, + e = this.document; + if (e.cookie && "" !== e.cookie) { + const n = e.cookie.split(";"); + for (let e = 0; e < n.length; e += 1) { + const a = n[e].split("="); + (a[0] = a[0].replace(/^ /, "")), + (t[decodeURIComponent(a[0])] = decodeURIComponent(a[1])); + } + } + return t; + } + set(t, e, n, a, o, i, r) { + if (!this.documentIsAccessible) return; + let l = encodeURIComponent(t) + "=" + encodeURIComponent(e) + ";"; + n && + (l += + "number" == typeof n + ? "expires=" + + new Date( + new Date().getTime() + 1e3 * n * 60 * 60 * 24 + ).toUTCString() + + ";" + : "expires=" + n.toUTCString() + ";"), + a && (l += "path=" + a + ";"), + o && (l += "domain=" + o + ";"), + i && (l += "secure;"), + r && (l += "sameSite=" + r + ";"), + (this.document.cookie = l); + } + delete(t, e, n) { + this.documentIsAccessible && + this.set( + t, + "", + new Date("Thu, 01 Jan 1970 00:00:01 GMT"), + e, + n + ); + } + deleteAll(t, e) { + if (!this.documentIsAccessible) return; + const n = this.getAll(); + for (const a in n) n.hasOwnProperty(a) && this.delete(a, t, e); + } + getCookieRegExp(t) { + const e = t.replace( + /([\[\]\{\}\(\)\|\=\;\+\?\,\.\*\^\$])/gi, + "\\$1" + ); + return new RegExp( + "(?:^" + e + "|;\\s*" + e + ")=(.*?)(?:;|$)", + "g" + ); + } + })(), + OT = (() => { + class t { + constructor(t, e, n, a) { + if ( + ((this.dialogRef = t), + (this.data = e), + (this.cookies = n), + (this.appIntegration = a), + (this.historyItems = []), + (this.wasBrowserHidden = !1), + e.key) + ) { + var o = n.get("inputhistory_" + e.key); + this.historyItems = o ? JSON.parse(o) : []; + } + } + ngOnInit() { + (this.wasBrowserHidden = !1), + this.appIntegration.isBrowserShown && + ((this.wasBrowserHidden = !0), + this.appIntegration.hideBrowser()); + } + historyClick(t) { + (this.inputText = t), this.clickButton1(); + } + clickButton1() { + if (this.inputText) { + if (this.data.key && this.inputText) { + this.historyItems || (this.historyItems = []); + var t = this.historyItems.indexOf(this.inputText); + for ( + t >= 0 && this.historyItems.splice(t, 1), + this.historyItems.unshift(this.inputText); + this.historyItems.length > 5; + + ) + this.historyItems.pop(); + this.cookies.set( + "inputhistory_" + this.data.key, + JSON.stringify(this.historyItems) + ); + } + this.wasBrowserHidden && + ((this.wasBrowserHidden = !1), + this.appIntegration.showBrowser()), + this.dialogRef.close(this.inputText); + } + } + clickCancel() { + this.wasBrowserHidden && + ((this.wasBrowserHidden = !1), + this.appIntegration.showBrowser()), + this.dialogRef.close(null); + } + keyDownFunction(t) { + 13 == t.keyCode && this.clickButton1(); + } + } + return ( + (t.ngInjectableDef = bt({ + factory: function() { + return new t(It(gM), It(pM), It(PT), It(Fg)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(); + var MT = Ia({ + encapsulation: 0, + styles: [[".histButton[_ngcontent-%COMP%]{width:100%;height:100%}"]], + data: {} + }); + function yT(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 7, + "mat-list-item", + [["class", "mat-list-item"], ["role", "listitem"]], + [ + [2, "mat-list-item-avatar", null], + [2, "mat-list-item-with-avatar", null] + ], + null, + null, + sI, + lI + )), + Uo(1, 1228800, null, 3, nI, [Ln, oa, [2, tI], [2, eI]], null, null), + vr(603979776, 10, { _lines: 1 }), + vr(603979776, 11, { _avatar: 0 }), + vr(603979776, 12, { _icon: 0 }), + (t()(), + Cr( + 5, + 0, + null, + 2, + 2, + "button", + [["class", "histButton"], ["mat-button", ""]], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && + (a = + !1 !== t.component.historyClick(t.context.$implicit) && + a), + a + ); + }, + vP, + yP + )), + Uo(6, 180224, null, 0, Mb, [Ln, _f, [2, OP]], null, null), + (t()(), Rr(7, 0, ["", ""])) + ], + null, + function(t, e) { + t( + e, + 0, + 0, + Io(e, 1)._avatar || Io(e, 1)._icon, + Io(e, 1)._avatar || Io(e, 1)._icon + ), + t( + e, + 5, + 0, + Io(e, 6).disabled || null, + "NoopAnimations" === Io(e, 6)._animationMode + ), + t(e, 7, 0, e.context.$implicit); + } + ); + } + function vT(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 45, + "mat-card", + [["class", "mat-card"]], + null, + null, + null, + $f, + Gf + )), + Uo(1, 49152, null, 0, cp, [], null, null), + (t()(), + Cr( + 2, + 0, + null, + 0, + 7, + "mat-card-header", + [["class", "mat-card-header"]], + null, + null, + null, + Qf, + Zf + )), + Uo(3, 49152, null, 0, dp, [], null, null), + (t()(), + Cr( + 4, + 0, + null, + 1, + 2, + "mat-card-title", + [["class", "mat-card-title"]], + null, + null, + null, + null, + null + )), + Uo(5, 16384, null, 0, ip, [], null, null), + (t()(), Rr(6, null, ["", ""])), + (t()(), + Cr( + 7, + 0, + null, + 1, + 2, + "mat-card-subtitle", + [["class", "mat-card-subtitle"]], + null, + null, + null, + null, + null + )), + Uo(8, 16384, null, 0, rp, [], null, null), + (t()(), Rr(9, null, ["", ""])), + (t()(), + Cr( + 10, + 0, + null, + 0, + 24, + "mat-card-content", + [["class", "mat-card-content"]], + null, + null, + null, + null, + null + )), + Uo(11, 16384, null, 0, op, [], null, null), + (t()(), + Cr( + 12, + 0, + null, + null, + 18, + "mat-form-field", + [["class", "inputText mat-form-field"]], + [ + [2, "mat-form-field-appearance-standard", null], + [2, "mat-form-field-appearance-fill", null], + [2, "mat-form-field-appearance-outline", null], + [2, "mat-form-field-appearance-legacy", null], + [2, "mat-form-field-invalid", null], + [2, "mat-form-field-can-float", null], + [2, "mat-form-field-should-float", null], + [2, "mat-form-field-has-label", null], + [2, "mat-form-field-hide-placeholder", null], + [2, "mat-form-field-disabled", null], + [2, "mat-form-field-autofilled", null], + [2, "mat-focused", null], + [2, "mat-accent", null], + [2, "mat-warn", null], + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null], + [2, "_mat-animation-noopable", null] + ], + null, + null, + bE, + iE + )), + Uo( + 13, + 7520256, + null, + 9, + aE, + [Ln, oa, [2, Wf], [2, hp], [2, nE], Op, Di, [2, OP]], + null, + null + ), + vr(603979776, 1, { _controlNonStatic: 0 }), + vr(335544320, 2, { _controlStatic: 0 }), + vr(603979776, 3, { _labelChildNonStatic: 0 }), + vr(335544320, 4, { _labelChildStatic: 0 }), + vr(603979776, 5, { _placeholderChild: 0 }), + vr(603979776, 6, { _errorChildren: 1 }), + vr(603979776, 7, { _hintChildren: 1 }), + vr(603979776, 8, { _prefixChildren: 1 }), + vr(603979776, 9, { _suffixChildren: 1 }), + (t()(), + Cr( + 23, + 0, + null, + 1, + 7, + "input", + [ + ["class", "mat-input-element mat-form-field-autofill-control"], + ["matInput", ""], + ["type", "url"] + ], + [ + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null], + [2, "mat-input-server", null], + [1, "id", 0], + [1, "placeholder", 0], + [8, "disabled", 0], + [8, "required", 0], + [1, "readonly", 0], + [1, "aria-describedby", 0], + [1, "aria-invalid", 0], + [1, "aria-required", 0] + ], + [ + [null, "keydown"], + [null, "ngModelChange"], + [null, "input"], + [null, "blur"], + [null, "compositionstart"], + [null, "compositionend"], + [null, "focus"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "input" === e && + (a = !1 !== Io(t, 24)._handleInput(n.target.value) && a), + "blur" === e && (a = !1 !== Io(t, 24).onTouched() && a), + "compositionstart" === e && + (a = !1 !== Io(t, 24)._compositionStart() && a), + "compositionend" === e && + (a = !1 !== Io(t, 24)._compositionEnd(n.target.value) && a), + "blur" === e && (a = !1 !== Io(t, 29)._focusChanged(!1) && a), + "focus" === e && + (a = !1 !== Io(t, 29)._focusChanged(!0) && a), + "input" === e && (a = !1 !== Io(t, 29)._onInput() && a), + "keydown" === e && (a = !1 !== o.keyDownFunction(n) && a), + "ngModelChange" === e && (a = !1 !== (o.inputText = n) && a), + a + ); + }, + null, + null + )), + Uo(24, 16384, null, 0, Yx, [jn, Ln, [2, Kx]], null, null), + Ko( + 1024, + null, + Ux, + function(t) { + return [t]; + }, + [Yx] + ), + Uo( + 26, + 671744, + null, + 0, + Bk, + [[8, null], [8, null], [8, null], [6, Ux]], + { model: [0, "model"] }, + { update: "ngModelChange" } + ), + Ko(2048, null, Zx, null, [Bk]), + Uo(28, 16384, null, 0, Qx, [[4, Zx]], null, null), + Uo( + 29, + 999424, + null, + 0, + xE, + [Ln, Op, [6, Zx], [2, Rk], [2, Hk], Ef, [8, null], CE, Di], + { placeholder: [0, "placeholder"], type: [1, "type"] }, + null + ), + Ko(2048, [[1, 4], [2, 4]], QS, null, [xE]), + (t()(), + Cr( + 31, + 0, + null, + null, + 3, + "mat-list", + [ + ["class", "historyList mat-list mat-list-base"], + ["role", "list"] + ], + null, + null, + null, + rI, + iI + )), + Uo(32, 704512, null, 0, eI, [Ln], null, null), + (t()(), _r(16777216, null, 0, 1, null, yT)), + Uo( + 34, + 278528, + null, + 0, + Os, + [ua, ca, na], + { ngForOf: [0, "ngForOf"] }, + null + ), + (t()(), + Cr( + 35, + 0, + null, + 0, + 10, + "mat-card-actions", + [["class", "mat-card-actions"]], + [[2, "mat-card-actions-align-end", null]], + null, + null, + null, + null + )), + Uo(36, 16384, null, 0, lp, [], null, null), + (t()(), + Cr( + 37, + 0, + null, + null, + 3, + "button", + [ + ["color", "accent"], + ["fast-click", ""], + ["mat-raised-button", ""] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && (a = !1 !== t.component.clickButton1() && a), + a + ); + }, + vP, + yP + )), + Uo( + 38, + 180224, + null, + 0, + Mb, + [Ln, _f, [2, OP]], + { color: [0, "color"] }, + null + ), + Uo(39, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(40, 0, ["", ""])), + (t()(), + Cr( + 41, + 0, + null, + null, + 0, + "div", + [["style", "display: inline-block; width: 50%"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 42, + 0, + null, + null, + 3, + "button", + [["fast-click", ""], ["mat-raised-button", ""]], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && (a = !1 !== t.component.clickCancel() && a), + a + ); + }, + vP, + yP + )), + Uo(43, 180224, null, 0, Mb, [Ln, _f, [2, OP]], null, null), + Uo(44, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(45, 0, ["", ""])) + ], + function(t, e) { + var n = e.component; + t(e, 26, 0, n.inputText), + t(e, 29, 0, ao(1, "", n.data.label, ""), "url"), + t(e, 34, 0, n.historyItems), + t(e, 38, 0, "accent"); + }, + function(t, e) { + var n = e.component; + t(e, 6, 0, n.data.title), + t(e, 9, 0, n.data.subTitle), + t(e, 12, 1, [ + "standard" == Io(e, 13).appearance, + "fill" == Io(e, 13).appearance, + "outline" == Io(e, 13).appearance, + "legacy" == Io(e, 13).appearance, + Io(e, 13)._control.errorState, + Io(e, 13)._canLabelFloat, + Io(e, 13)._shouldLabelFloat(), + Io(e, 13)._hasFloatingLabel(), + Io(e, 13)._hideControlPlaceholder(), + Io(e, 13)._control.disabled, + Io(e, 13)._control.autofilled, + Io(e, 13)._control.focused, + "accent" == Io(e, 13).color, + "warn" == Io(e, 13).color, + Io(e, 13)._shouldForward("untouched"), + Io(e, 13)._shouldForward("touched"), + Io(e, 13)._shouldForward("pristine"), + Io(e, 13)._shouldForward("dirty"), + Io(e, 13)._shouldForward("valid"), + Io(e, 13)._shouldForward("invalid"), + Io(e, 13)._shouldForward("pending"), + !Io(e, 13)._animationsEnabled + ]), + t(e, 23, 1, [ + Io(e, 28).ngClassUntouched, + Io(e, 28).ngClassTouched, + Io(e, 28).ngClassPristine, + Io(e, 28).ngClassDirty, + Io(e, 28).ngClassValid, + Io(e, 28).ngClassInvalid, + Io(e, 28).ngClassPending, + Io(e, 29)._isServer, + Io(e, 29).id, + Io(e, 29).placeholder, + Io(e, 29).disabled, + Io(e, 29).required, + (Io(e, 29).readonly && !Io(e, 29)._isNativeSelect) || null, + Io(e, 29)._ariaDescribedby || null, + Io(e, 29).errorState, + Io(e, 29).required.toString() + ]), + t(e, 35, 0, "end" === Io(e, 36).align), + t( + e, + 37, + 0, + Io(e, 38).disabled || null, + "NoopAnimations" === Io(e, 38)._animationMode + ), + t(e, 40, 0, n.data.button1Text || "OK"), + t( + e, + 42, + 0, + Io(e, 43).disabled || null, + "NoopAnimations" === Io(e, 43)._animationMode + ), + t(e, 45, 0, n.data.button2Text || "Cancel"); + } + ); + } + function xT(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "app-input-box", + [], + null, + null, + null, + vT, + MT + )), + Uo(1, 114688, null, 0, OT, [gM, pM, PT, Fg], null, null) + ], + function(t, e) { + t(e, 1, 0); + }, + null + ); + } + var kT = Co("app-input-box", OT, xT, {}, {}, []); + class wT { + constructor(t) { + (this.dialog = t), + (this.browserLinks = [ + { title: "Beast Saber", url: "https://bsaber.com" }, + { title: "Beat Saver", url: "https://beatsaver.com" }, + { title: "Google", url: "https://google.com" }, + { + title: "Mods", + url: "https://github.com/RedBrumbler/BeatOnCustomSabers" + } + ]), + (this.linkSelected = new li()); + } + clickLink(t) { + this.linkSelected.emit(t.url); + } + clickUrl() { + this.dialog + .open(OT, { + width: "600px", + height: "450px", + disableClose: !0, + data: { label: "URL", key: "browserUrl" } + }) + .afterClosed() + .subscribe(t => { + null != t && + (t.indexOf("://") < 1 && (t = "http://" + t), + this.linkSelected.emit(t)); + }); + } + ngOnInit() {} + } + var ST = Ia({ + encapsulation: 0, + styles: [ + [ + ".linkbutton[_ngcontent-%COMP%]{max-height:35px;height:35px;display:inline-block}" + ] + ], + data: {} + }); + function ET(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 4, + "button", + [ + ["class", "linkbutton"], + ["fast-click", ""], + ["mat-raised-button", ""] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && + (a = + !1 !== t.component.clickLink(t.context.$implicit) && a), + a + ); + }, + vP, + yP + )), + Uo(1, 180224, null, 0, Mb, [Ln, _f, [2, OP]], null, null), + Uo(2, 16384, null, 0, xP, [Ln], null, null), + (t()(), + Cr( + 3, + 0, + null, + 0, + 1, + "div", + [["class", "title"]], + null, + null, + null, + null, + null + )), + (t()(), Rr(4, null, ["", ""])) + ], + null, + function(t, e) { + t( + e, + 0, + 0, + Io(e, 1).disabled || null, + "NoopAnimations" === Io(e, 1)._animationMode + ), + t(e, 4, 0, e.context.$implicit.title); + } + ); + } + function IT(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 16777216, + null, + null, + 9, + "button", + [ + ["aria-haspopup", "true"], + ["fast-click", ""], + ["mat-button", ""], + ["mat-stroked-button", ""] + ], + [ + [1, "disabled", 0], + [2, "_mat-animation-noopable", null], + [1, "aria-expanded", 0] + ], + [[null, "mousedown"], [null, "keydown"], [null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "mousedown" === e && + (a = !1 !== Io(t, 2)._handleMousedown(n) && a), + "keydown" === e && + (a = !1 !== Io(t, 2)._handleKeydown(n) && a), + "click" === e && (a = !1 !== Io(t, 2)._handleClick(n) && a), + a + ); + }, + vP, + yP + )), + Uo(1, 180224, null, 0, Mb, [Ln, _f, [2, OP]], null, null), + Uo( + 2, + 1196032, + null, + 0, + Px, + [rM, Ln, ua, bx, [2, px], [8, null], [2, hp], _f], + { menu: [0, "menu"] }, + null + ), + Uo(3, 16384, null, 0, xP, [Ln], null, null), + (t()(), + Cr( + 4, + 0, + null, + 0, + 2, + "mat-icon", + [["class", "mat-icon notranslate"], ["role", "img"]], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + _b, + bb + )), + Uo( + 5, + 9158656, + null, + 0, + pb, + [Ln, rb, [8, null], [2, ub]], + null, + null + ), + (t()(), Rr(-1, 0, ["public"])), + (t()(), + Cr( + 7, + 0, + null, + 0, + 2, + "mat-icon", + [["class", "mat-icon notranslate"], ["role", "img"]], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + _b, + bb + )), + Uo( + 8, + 9158656, + null, + 0, + pb, + [Ln, rb, [8, null], [2, ub]], + null, + null + ), + (t()(), Rr(-1, 0, ["expand_more"])), + (t()(), + Cr( + 10, + 0, + null, + null, + 14, + "mat-menu", + [], + null, + null, + null, + xx, + yx + )), + Uo( + 11, + 1294336, + [["menu", 4]], + 2, + fx, + [Ln, Di, hx], + { panelClass: [0, "panelClass"] }, + null + ), + vr(603979776, 1, { items: 1 }), + vr(603979776, 2, { lazyContent: 0 }), + Ko(2048, null, px, null, [fx]), + Ko(2048, null, cx, null, [px]), + (t()(), + Cr( + 16, + 0, + null, + 0, + 8, + "div", + [["class", "mat-menu-item"], ["mat-menu-item", ""]], + [ + [1, "role", 0], + [2, "mat-menu-item-highlighted", null], + [2, "mat-menu-item-submenu-trigger", null], + [1, "tabindex", 0], + [1, "aria-disabled", 0], + [1, "disabled", 0] + ], + [[null, "click"], [null, "mouseenter"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && + (a = !1 !== Io(t, 17)._checkDisabled(n) && a), + "mouseenter" === e && + (a = !1 !== Io(t, 17)._handleMouseEnter() && a), + a + ); + }, + wx, + kx + )), + Uo(17, 180224, [[1, 4]], 0, mx, [Ln, Bs, _f, [2, cx]], null, null), + (t()(), + Cr( + 18, + 0, + null, + 0, + 4, + "button", + [ + ["class", "linkbutton"], + ["fast-click", ""], + ["mat-raised-button", ""] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && (a = !1 !== t.component.clickUrl() && a), a + ); + }, + vP, + yP + )), + Uo(19, 180224, null, 0, Mb, [Ln, _f, [2, OP]], null, null), + Uo(20, 16384, null, 0, xP, [Ln], null, null), + (t()(), + Cr( + 21, + 0, + null, + 0, + 1, + "div", + [["class", "title"]], + null, + null, + null, + null, + null + )), + (t()(), Rr(-1, null, ["URL.."])), + (t()(), _r(16777216, null, 0, 1, null, ET)), + Uo( + 24, + 278528, + null, + 0, + Os, + [ua, ca, na], + { ngForOf: [0, "ngForOf"] }, + null + ) + ], + function(t, e) { + var n = e.component; + t(e, 2, 0, Io(e, 11)), + t(e, 5, 0), + t(e, 8, 0), + t(e, 11, 0, "browserNavMenu"), + t(e, 24, 0, n.browserLinks); + }, + function(t, e) { + t( + e, + 0, + 0, + Io(e, 1).disabled || null, + "NoopAnimations" === Io(e, 1)._animationMode, + Io(e, 2).menuOpen || null + ), + t( + e, + 4, + 0, + Io(e, 5).inline, + "primary" !== Io(e, 5).color && + "accent" !== Io(e, 5).color && + "warn" !== Io(e, 5).color + ), + t( + e, + 7, + 0, + Io(e, 8).inline, + "primary" !== Io(e, 8).color && + "accent" !== Io(e, 8).color && + "warn" !== Io(e, 8).color + ), + t( + e, + 16, + 0, + Io(e, 17).role, + Io(e, 17)._highlighted, + Io(e, 17)._triggersSubmenu, + Io(e, 17)._getTabIndex(), + Io(e, 17).disabled.toString(), + Io(e, 17).disabled || null + ), + t( + e, + 18, + 0, + Io(e, 19).disabled || null, + "NoopAnimations" === Io(e, 19)._animationMode + ); + } + ); + } + class AT extends ow { + constructor() { + super(...arguments), (this.Type = iw.StopDownloads); + } + } + class TT { + constructor(t) { + (this.msgSvc = t), (this.downloads = { Downloads: [] }); + } + ngOnInit() { + this.msgSvc.downloadStatusMessage.subscribe(t => { + console.log("got download update status message"), + (this.downloads = t); + }); + } + getColor() { + return this.downloads.Downloads && this.downloads.Downloads.length > 0 + ? "accent" + : ""; + } + cancelAllDownloads() { + const t = new AT(); + this.msgSvc.sendClientMessage(t); + } + } + var RT = Ia({ + encapsulation: 0, + styles: [ + [ + '@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28121em) scale(.75);transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}@-webkit-keyframes cdk-text-field-autofill-start{}@-webkit-keyframes cdk-text-field-autofill-end{}.mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-option[_ngcontent-%COMP%]{color:#fff}.mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple):not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:focus:not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:hover:not(.mat-option-disabled){background:rgba(255,255,255,.04)}.mat-option.mat-active[_ngcontent-%COMP%]{background:rgba(255,255,255,.04);color:#fff}.mat-option.mat-option-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-primary[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ad2c2c}.mat-accent[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#216bad}.mat-warn[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ff5722}.mat-optgroup-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-optgroup-disabled[_ngcontent-%COMP%] .mat-optgroup-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-pseudo-checkbox[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-pseudo-checkbox[_ngcontent-%COMP%]::after{color:#303030}.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{color:#686868}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%], .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#216bad}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ad2c2c}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ff5722}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{background:#686868}.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-app-background[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-theme-loaded-marker[_ngcontent-%COMP%]{display:none}.mat-autocomplete-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-autocomplete-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover){background:#424242}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#fff}@media (-ms-high-contrast:active){.mat-badge-content[_ngcontent-%COMP%]{outline:solid 1px;border-radius:0}.mat-checkbox-disabled[_ngcontent-%COMP%]{opacity:.5}}.mat-badge-accent[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-badge-warn[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ff5722}.mat-badge[_ngcontent-%COMP%]{position:relative}.mat-badge-hidden[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{display:none}.mat-badge-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#6e6e6e;color:rgba(255,255,255,.5)}.mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ad2c2c;position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out;-webkit-transform:scale(.6);transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;font-weight:600;font-size:12px;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-badge-content._mat-animation-noopable[_ngcontent-%COMP%], .ng-animate-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{transition:none}.mat-badge-content.mat-badge-active[_ngcontent-%COMP%]{-webkit-transform:none;transform:none}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:16px;height:16px;line-height:16px;font-size:9px}.mat-badge-small.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-8px}.mat-badge-small.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-8px}.mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-16px}.mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-8px}.mat-badge-medium[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-11px}.mat-badge-medium.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-11px}.mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-22px}.mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-11px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:28px;height:28px;line-height:28px;font-size:24px}.mat-badge-large.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-14px}.mat-badge-large.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-14px}.mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-28px}.mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-14px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{color:inherit;background:0 0}.mat-button.mat-primary[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-button[disabled][disabled][_ngcontent-%COMP%], .mat-icon-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-icon-button[disabled][disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-stroked-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ff5722}.mat-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:transparent}.mat-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{opacity:.1;background-color:currentColor}.mat-button-focus-overlay[_ngcontent-%COMP%]{background:#fff}.mat-stroked-button[_ngcontent-%COMP%]:not([disabled]){border-color:rgba(255,255,255,.12)}.mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%]{color:#fff;background-color:#424242}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{color:#fff}.mat-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-fab[disabled][disabled][_ngcontent-%COMP%], .mat-flat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-flat-button[disabled][disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-mini-fab[disabled][disabled][_ngcontent-%COMP%], .mat-raised-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-raised-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:rgba(255,255,255,.12)}.mat-fab.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-flat-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-stroked-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-raised-button[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-button-toggle-group[_ngcontent-%COMP%], .mat-button-toggle-standalone[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%], .mat-button-toggle-standalone.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{box-shadow:none;border:1px solid rgba(255,255,255,.12)}.mat-button-toggle[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-button-toggle[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff;background:#424242}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:#fff}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12)}[dir=rtl][_ngcontent-%COMP%] .mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:none;border-top:1px solid rgba(255,255,255,.12)}.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#212121;color:rgba(255,255,255,.7)}.mat-button-toggle-checked.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff}.mat-button-toggle-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:#000}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{background:#424242}.mat-button-toggle-disabled.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#424242}.mat-card[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-card[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-card.mat-card-flat[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-card-subtitle[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-checkbox-frame[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-checkbox-checkmark[_ngcontent-%COMP%]{fill:#303030}.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#303030!important}@media (-ms-high-contrast:black-on-white){.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#000!important}}.mat-checkbox-mixedmark[_ngcontent-%COMP%]{background-color:#303030}.mat-checkbox-checked.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-checkbox-checked.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#216bad}.mat-checkbox-checked.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ff5722}.mat-checkbox-disabled.mat-checkbox-checked[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-disabled.mat-checkbox-indeterminate[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%]:not(.mat-checkbox-checked) .mat-checkbox-frame[_ngcontent-%COMP%]{border-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}@media (-ms-high-contrast:active){.mat-checkbox-background[_ngcontent-%COMP%]{background:0 0}.mat-ripple-element[_ngcontent-%COMP%]{display:none}}.mat-checkbox[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%]{background:#ad2c2c}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%]{background:#216bad}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%]{background:#ff5722}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]{background-color:#616161;color:#fff}.mat-chip.mat-standard-chip[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled) .mat-chip-remove[_ngcontent-%COMP%]:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled[_ngcontent-%COMP%]{opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]::after{background:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-table[_ngcontent-%COMP%]{background:#424242}.mat-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%], .mat-table-sticky[_ngcontent-%COMP%], [mat-footer-row][_ngcontent-%COMP%], [mat-header-row][_ngcontent-%COMP%], [mat-row][_ngcontent-%COMP%], mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%]{background:inherit}mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%], td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{border-bottom-color:rgba(255,255,255,.12)}.mat-header-cell[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{color:#fff}.mat-calendar-arrow[_ngcontent-%COMP%]{border-top-color:#fff}.mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-next-button[_ngcontent-%COMP%], .mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-previous-button[_ngcontent-%COMP%], .mat-datepicker-toggle[_ngcontent-%COMP%]{color:#fff}.mat-calendar-table-header[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-calendar-table-header-divider[_ngcontent-%COMP%]::after{background:rgba(255,255,255,.12)}.mat-calendar-body-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-calendar-body-cell-content[_ngcontent-%COMP%]{color:#fff;border-color:transparent}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){color:rgba(255,255,255,.5)}.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .cdk-program-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .mat-calendar-body-cell[_ngcontent-%COMP%]:not(.mat-calendar-body-disabled):hover > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){background-color:rgba(255,255,255,.04)}.mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.5)}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.3)}.mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.4)}.mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#424242;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.4)}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.4)}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content-touch[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-datepicker-toggle-active[_ngcontent-%COMP%]{color:#ad2c2c}.mat-datepicker-toggle-active.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-datepicker-toggle-active.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-dialog-container[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-divider[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-divider-vertical[_ngcontent-%COMP%]{border-right-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-expansion-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-action-row[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-keyboard-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-program-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]):hover{background:rgba(255,255,255,.04)}@media (hover:none){.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header[_ngcontent-%COMP%]:hover{background:#424242}}.mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:#fff}.mat-expansion-indicator[_ngcontent-%COMP%]::after, .mat-expansion-panel-header-description[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%], .mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:inherit}.mat-form-field-label[_ngcontent-%COMP%], .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-focused[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#fff}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid) .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ad2c2c}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#216bad}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#ff5722}.mat-error[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7);bottom:1.25em}.mat-form-field-appearance-legacy.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7)}.mat-form-field-appearance-standard.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.05)}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:transparent}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#fff}.mat-form-field-appearance-outline.mat-focused[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field-appearance-outline.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-appearance-outline.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.15)}.mat-icon.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-icon.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-icon.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-type-mat-native-select[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:rgba(255,255,255,.7)}.mat-form-field-type-mat-native-select.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-input-element[_ngcontent-%COMP%]:disabled{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]{caret-color:#ad2c2c}.mat-input-element[_ngcontent-%COMP%]::-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-moz-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-webkit-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]{color:rgba(0,0,0,.87)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]:disabled{color:rgba(0,0,0,.38)}.mat-accent[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#216bad}.mat-form-field-invalid[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#ff5722}.mat-form-field-type-mat-native-select.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ff5722}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%], .mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{color:#fff}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-list-item-disabled[_ngcontent-%COMP%]{background-color:#000}.mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover, .mat-list-option[_ngcontent-%COMP%]:focus, .mat-list-option[_ngcontent-%COMP%]:hover, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover{background:rgba(255,255,255,.04)}.mat-menu-panel[_ngcontent-%COMP%]{background:#424242}.mat-menu-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-menu-item[_ngcontent-%COMP%]{background:0 0;color:#fff}.mat-menu-item[disabled][_ngcontent-%COMP%], .mat-menu-item[disabled][_ngcontent-%COMP%]::after{color:rgba(255,255,255,.5)}.mat-menu-item[_ngcontent-%COMP%] .mat-icon-no-color[_ngcontent-%COMP%], .mat-menu-item-submenu-trigger[_ngcontent-%COMP%]::after{color:#fff}.mat-menu-item-highlighted[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-keyboard-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-program-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item[_ngcontent-%COMP%]:hover:not([disabled]){background:rgba(255,255,255,.04)}.mat-paginator[_ngcontent-%COMP%]{background:#424242}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-paginator-decrement[_ngcontent-%COMP%], .mat-paginator-increment[_ngcontent-%COMP%]{border-top:2px solid #fff;border-right:2px solid #fff}.mat-paginator-first[_ngcontent-%COMP%], .mat-paginator-last[_ngcontent-%COMP%]{border-top:2px solid #fff}.mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-decrement[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-first[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-increment[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-last[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-progress-bar-background[_ngcontent-%COMP%]{fill:#e6c0c0}.mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#e6c0c0}.mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ad2c2c}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#216bad}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ff5722}.mat-progress-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ad2c2c}.mat-progress-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#216bad}.mat-progress-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ff5722}.mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ad2c2c}.mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#216bad}.mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#216bad}.mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ff5722}.mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ff5722}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-label-content[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-radio-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-select-value[_ngcontent-%COMP%]{color:#fff}.mat-select-disabled[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%], .mat-select-placeholder[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-select-panel[_ngcontent-%COMP%]{background:#424242}.mat-select-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-select-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple){background:rgba(255,255,255,.12)}.mat-form-field.mat-focused.mat-primary[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#216bad}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-invalid[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-form-field.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-disabled[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-drawer-container[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-drawer[_ngcontent-%COMP%]{background-color:#424242;color:#fff}.mat-drawer.mat-drawer-push[_ngcontent-%COMP%]{background-color:#424242}.mat-drawer[_ngcontent-%COMP%]:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-drawer-side[_ngcontent-%COMP%]{border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%] .mat-drawer-side[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12);border-right:none}[dir=rtl][_ngcontent-%COMP%] .mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-backdrop.mat-drawer-shown[_ngcontent-%COMP%]{background-color:rgba(189,189,189,.6)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.54)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.54)}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.54)}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle[_ngcontent-%COMP%]:not(.mat-checked) .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-slide-toggle-thumb[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#bdbdbd}.mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#216bad}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ff5722}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.2)}.cdk-focused[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%] .mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:#fff}.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing) .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3);background-color:transparent}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-has-ticks[_ngcontent-%COMP%] .mat-slider-wrapper[_ngcontent-%COMP%]::after{border-color:rgba(255,255,255,.7)}.mat-slider-horizontal[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to right,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-slider-vertical[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to bottom,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused[_ngcontent-%COMP%], .mat-step-header.cdk-program-focused[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%]:hover{background-color:rgba(255,255,255,.04)}@media (hover:none){.mat-step-header[_ngcontent-%COMP%]:hover{background:0 0}}.mat-step-header[_ngcontent-%COMP%] .mat-step-label[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-optional[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7);color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-selected[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-edit[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-error[_ngcontent-%COMP%]{background-color:transparent;color:#ff5722}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-active[_ngcontent-%COMP%]{color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-error[_ngcontent-%COMP%]{color:#ff5722}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{background-color:#424242}.mat-stepper-vertical-line[_ngcontent-%COMP%]::before{border-left-color:rgba(255,255,255,.12)}.mat-horizontal-stepper-header[_ngcontent-%COMP%]::after, .mat-horizontal-stepper-header[_ngcontent-%COMP%]::before, .mat-stepper-horizontal-line[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-sort-header-arrow[_ngcontent-%COMP%]{color:#c6c6c6}.mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[_ngcontent-%COMP%]{border-bottom:1px solid rgba(255,255,255,.12)}.mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-nav-bar[_ngcontent-%COMP%]{border-top:1px solid rgba(255,255,255,.12);border-bottom:none}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-tab-group[class*=mat-background-][_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[class*=mat-background-][_ngcontent-%COMP%]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-toolbar[_ngcontent-%COMP%]{background:#212121;color:#fff}.mat-toolbar.mat-primary[_ngcontent-%COMP%]{background:#ad2c2c;color:#fff}.mat-toolbar.mat-accent[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-toolbar.mat-warn[_ngcontent-%COMP%]{background:#ff5722;color:#fff}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:currentColor}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%]{color:inherit}.mat-toolbar[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:currentColor}.mat-tooltip[_ngcontent-%COMP%]{background:rgba(97,97,97,.9)}.mat-tree[_ngcontent-%COMP%]{background:#424242}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{color:#fff}.mat-snack-bar-container[_ngcontent-%COMP%]{color:rgba(0,0,0,.87);background:#fafafa;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 11.62px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 9.38px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,"Helvetica Neue",sans-serif}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,"Helvetica Neue",sans-serif;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34373em) scale(.75);transform:translateY(-1.34373em) scale(.75);width:133.3333533333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34372em) scale(.75);transform:translateY(-1.34372em) scale(.75);width:133.3333633333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00106px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00106px);-ms-transform:translateY(-1.28119em) scale(.75);width:133.3333933333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00107px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00107px);-ms-transform:translateY(-1.28118em) scale(.75);width:133.3334033333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00108px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00108px);-ms-transform:translateY(-1.28117em) scale(.75);width:133.3334133333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28116em) scale(.75);transform:translateY(-1.28116em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28115em) scale(.75);transform:translateY(-1.28115em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28114em) scale(.75);transform:translateY(-1.28114em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59373em) scale(.75);transform:translateY(-.59373em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59372em) scale(.75);transform:translateY(-.59372em) scale(.75);width:133.3333633333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59373em) scale(.75);transform:translateY(-1.59373em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59372em) scale(.75);transform:translateY(-1.59372em) scale(.75);width:133.3333633333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{color:inherit;line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,-webkit-transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1),-webkit-transform 0s cubic-bezier(0,0,.2,1);-webkit-transform:scale(0);transform:scale(0)}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation-name:cdk-text-field-autofill-start;animation-name:cdk-text-field-autofill-start}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation-name:cdk-text-field-autofill-end;animation-name:cdk-text-field-autofill-end}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{height:auto!important;overflow:hidden!important;padding:2px 0!important;box-sizing:content-box!important}.downloadCount[_ngcontent-%COMP%]{display:inline-block;font-size:15px;margin-left:5px;margin-top:3px}mat-icon[_ngcontent-%COMP%]{font-size:24px}.nodownloads[_ngcontent-%COMP%]{font-size:14px;padding:5px;color:#ff5722}' + ] + ], + data: {} + }); + function DT(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "p", + [["class", "nodownloads"], ["color", "primary"]], + null, + null, + null, + null, + null + )), + (t()(), Rr(-1, null, ["No active downloads"])) + ], + null, + null + ); + } + function NT(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 4, + "button", + [ + ["class", "mat-menu-item"], + ["fast-click", ""], + ["mat-menu-item", ""] + ], + [ + [1, "role", 0], + [2, "mat-menu-item-highlighted", null], + [2, "mat-menu-item-submenu-trigger", null], + [1, "tabindex", 0], + [1, "aria-disabled", 0], + [1, "disabled", 0] + ], + [[null, "click"], [null, "mouseenter"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "click" === e && (a = !1 !== Io(t, 1)._checkDisabled(n) && a), + "mouseenter" === e && + (a = !1 !== Io(t, 1)._handleMouseEnter() && a), + "click" === e && (a = !1 !== o.cancelAllDownloads() && a), + a + ); + }, + wx, + kx + )), + Uo(1, 180224, [[1, 4]], 0, mx, [Ln, Bs, _f, [2, cx]], null, null), + Uo(2, 16384, null, 0, xP, [Ln], null, null), + (t()(), + Cr(3, 0, null, 0, 1, "div", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["Cancel All Downloads"])) + ], + null, + function(t, e) { + t( + e, + 0, + 0, + Io(e, 1).role, + Io(e, 1)._highlighted, + Io(e, 1)._triggersSubmenu, + Io(e, 1)._getTabIndex(), + Io(e, 1).disabled.toString(), + Io(e, 1).disabled || null + ); + } + ); + } + function zT(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 16777216, + null, + null, + 8, + "button", + [ + ["aria-haspopup", "true"], + ["fast-click", ""], + ["mat-button", ""], + ["mat-raised-button", ""] + ], + [ + [1, "disabled", 0], + [2, "_mat-animation-noopable", null], + [1, "aria-expanded", 0] + ], + [[null, "mousedown"], [null, "keydown"], [null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "mousedown" === e && + (a = !1 !== Io(t, 2)._handleMousedown(n) && a), + "keydown" === e && + (a = !1 !== Io(t, 2)._handleKeydown(n) && a), + "click" === e && (a = !1 !== Io(t, 2)._handleClick(n) && a), + a + ); + }, + vP, + yP + )), + Uo( + 1, + 180224, + null, + 0, + Mb, + [Ln, _f, [2, OP]], + { color: [0, "color"] }, + null + ), + Uo( + 2, + 1196032, + null, + 0, + Px, + [rM, Ln, ua, bx, [2, px], [8, null], [2, hp], _f], + { menu: [0, "menu"] }, + null + ), + Uo(3, 16384, null, 0, xP, [Ln], null, null), + (t()(), + Cr( + 4, + 0, + null, + 0, + 2, + "mat-icon", + [["class", "mat-icon notranslate"], ["role", "img"]], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + _b, + bb + )), + Uo( + 5, + 9158656, + null, + 0, + pb, + [Ln, rb, [8, null], [2, ub]], + null, + null + ), + (t()(), Rr(-1, 0, ["cloud_download"])), + (t()(), + Cr( + 7, + 0, + null, + 0, + 1, + "div", + [["class", "downloadCount"]], + null, + null, + null, + null, + null + )), + (t()(), Rr(8, null, ["", ""])), + (t()(), + Cr(9, 0, null, null, 9, "mat-menu", [], null, null, null, xx, yx)), + Ko(6144, null, px, null, [fx]), + Ko(6144, null, cx, null, [px]), + Uo(12, 1294336, [["menu", 4]], 2, fx, [Ln, Di, hx], null, null), + vr(603979776, 1, { items: 1 }), + vr(603979776, 2, { lazyContent: 0 }), + (t()(), _r(16777216, null, 0, 1, null, DT)), + Uo(16, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, 0, 1, null, NT)), + Uo(18, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null) + ], + function(t, e) { + var n = e.component; + t(e, 1, 0, ao(1, "", n.getColor(), "")), + t(e, 2, 0, Io(e, 12)), + t(e, 5, 0), + t(e, 12, 0), + t(e, 16, 0, n.downloads.Downloads.length < 1), + t(e, 18, 0, n.downloads.Downloads.length > 0); + }, + function(t, e) { + var n = e.component; + t( + e, + 0, + 0, + Io(e, 1).disabled || null, + "NoopAnimations" === Io(e, 1)._animationMode, + Io(e, 2).menuOpen || null + ), + t( + e, + 4, + 0, + Io(e, 5).inline, + "primary" !== Io(e, 5).color && + "accent" !== Io(e, 5).color && + "warn" !== Io(e, 5).color + ), + t(e, 8, 0, n.downloads.Downloads.length); + } + ); + } + class LT extends ow { + constructor() { + super(), (this.Type = iw.GetOps); + } + } + class FT { + constructor(t, e) { + (this.msgSvc = t), + (this.appIntegration = e), + (this.wasBrowserHidden = !1), + (this.ops = { Ops: [] }); + var n = !1; + this.msgSvc.opStatusMessage.subscribe(t => { + (this.ops = t), (n = !0); + }), + t.connectionStatusChanged.subscribe(t => { + if (t == Pg.Connected && !n) { + var e = new LT(); + (e.ClearFailedOps = !1), this.msgSvc.sendClientMessage(e); + } + }); + } + menuOpened() { + (this.wasBrowserHidden = !1), + this.appIntegration.isBrowserShown && + ((this.wasBrowserHidden = !0), this.appIntegration.hideBrowser()); + } + menuClosed() { + this.wasBrowserHidden && + ((this.wasBrowserHidden = !1), this.appIntegration.showBrowser()); + } + getColor() { + return this.showError() ? "warn" : ""; + } + showCheck() { + return this.ops.Ops.length < 1; + } + showSpin() { + return this.ops.Ops.findIndex(t => t.Status != Vg.Failed) > -1; + } + showError() { + return this.ops.Ops.findIndex(t => t.Status == Vg.Failed) > -1; + } + opClick(t) { + t.Error && alert(t.Error); + } + ngOnInit() {} + clickClearFailedOps() { + var t = new LT(); + (t.ClearFailedOps = !0), this.msgSvc.sendClientMessage(t); + } + } + var BT = Ia({ + encapsulation: 0, + styles: [ + [ + '@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28121em) scale(.75);transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}@-webkit-keyframes cdk-text-field-autofill-start{}@-webkit-keyframes cdk-text-field-autofill-end{}.mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-option[_ngcontent-%COMP%]{color:#fff}.mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple):not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:focus:not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:hover:not(.mat-option-disabled){background:rgba(255,255,255,.04)}.mat-option.mat-active[_ngcontent-%COMP%]{background:rgba(255,255,255,.04);color:#fff}.mat-option.mat-option-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-primary[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ad2c2c}.mat-accent[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#216bad}.mat-warn[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ff5722}.mat-optgroup-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-optgroup-disabled[_ngcontent-%COMP%] .mat-optgroup-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-pseudo-checkbox[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-pseudo-checkbox[_ngcontent-%COMP%]::after{color:#303030}.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{color:#686868}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%], .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#216bad}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ad2c2c}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ff5722}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{background:#686868}.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-app-background[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-theme-loaded-marker[_ngcontent-%COMP%]{display:none}.mat-autocomplete-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-autocomplete-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover){background:#424242}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#fff}@media (-ms-high-contrast:active){.mat-badge-content[_ngcontent-%COMP%]{outline:solid 1px;border-radius:0}.mat-checkbox-disabled[_ngcontent-%COMP%]{opacity:.5}}.mat-badge-accent[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-badge-warn[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ff5722}.mat-badge[_ngcontent-%COMP%]{position:relative}.mat-badge-hidden[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{display:none}.mat-badge-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#6e6e6e;color:rgba(255,255,255,.5)}.mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ad2c2c;position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out;-webkit-transform:scale(.6);transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;font-weight:600;font-size:12px;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-badge-content._mat-animation-noopable[_ngcontent-%COMP%], .ng-animate-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{transition:none}.mat-badge-content.mat-badge-active[_ngcontent-%COMP%]{-webkit-transform:none;transform:none}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:16px;height:16px;line-height:16px;font-size:9px}.mat-badge-small.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-8px}.mat-badge-small.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-8px}.mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-16px}.mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-8px}.mat-badge-medium[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-11px}.mat-badge-medium.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-11px}.mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-22px}.mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-11px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:28px;height:28px;line-height:28px;font-size:24px}.mat-badge-large.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-14px}.mat-badge-large.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-14px}.mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-28px}.mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-14px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{color:inherit;background:0 0}.mat-button.mat-primary[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-button[disabled][disabled][_ngcontent-%COMP%], .mat-icon-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-icon-button[disabled][disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-stroked-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ff5722}.mat-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:transparent}.mat-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{opacity:.1;background-color:currentColor}.mat-button-focus-overlay[_ngcontent-%COMP%]{background:#fff}.mat-stroked-button[_ngcontent-%COMP%]:not([disabled]){border-color:rgba(255,255,255,.12)}.mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%]{color:#fff;background-color:#424242}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{color:#fff}.mat-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-fab[disabled][disabled][_ngcontent-%COMP%], .mat-flat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-flat-button[disabled][disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-mini-fab[disabled][disabled][_ngcontent-%COMP%], .mat-raised-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-raised-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:rgba(255,255,255,.12)}.mat-fab.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-flat-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-stroked-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-raised-button[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-button-toggle-group[_ngcontent-%COMP%], .mat-button-toggle-standalone[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%], .mat-button-toggle-standalone.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{box-shadow:none;border:1px solid rgba(255,255,255,.12)}.mat-button-toggle[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-button-toggle[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff;background:#424242}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:#fff}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12)}[dir=rtl][_ngcontent-%COMP%] .mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:none;border-top:1px solid rgba(255,255,255,.12)}.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#212121;color:rgba(255,255,255,.7)}.mat-button-toggle-checked.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff}.mat-button-toggle-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:#000}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{background:#424242}.mat-button-toggle-disabled.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#424242}.mat-card[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-card[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-card.mat-card-flat[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-card-subtitle[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-checkbox-frame[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-checkbox-checkmark[_ngcontent-%COMP%]{fill:#303030}.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#303030!important}@media (-ms-high-contrast:black-on-white){.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#000!important}}.mat-checkbox-mixedmark[_ngcontent-%COMP%]{background-color:#303030}.mat-checkbox-checked.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-checkbox-checked.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#216bad}.mat-checkbox-checked.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ff5722}.mat-checkbox-disabled.mat-checkbox-checked[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-disabled.mat-checkbox-indeterminate[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%]:not(.mat-checkbox-checked) .mat-checkbox-frame[_ngcontent-%COMP%]{border-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}@media (-ms-high-contrast:active){.mat-checkbox-background[_ngcontent-%COMP%]{background:0 0}.mat-ripple-element[_ngcontent-%COMP%]{display:none}}.mat-checkbox[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%]{background:#ad2c2c}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%]{background:#216bad}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%]{background:#ff5722}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]{background-color:#616161;color:#fff}.mat-chip.mat-standard-chip[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled) .mat-chip-remove[_ngcontent-%COMP%]:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled[_ngcontent-%COMP%]{opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]::after{background:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-table[_ngcontent-%COMP%]{background:#424242}.mat-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%], .mat-table-sticky[_ngcontent-%COMP%], [mat-footer-row][_ngcontent-%COMP%], [mat-header-row][_ngcontent-%COMP%], [mat-row][_ngcontent-%COMP%], mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%]{background:inherit}mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%], td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{border-bottom-color:rgba(255,255,255,.12)}.mat-header-cell[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{color:#fff}.mat-calendar-arrow[_ngcontent-%COMP%]{border-top-color:#fff}.mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-next-button[_ngcontent-%COMP%], .mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-previous-button[_ngcontent-%COMP%], .mat-datepicker-toggle[_ngcontent-%COMP%]{color:#fff}.mat-calendar-table-header[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-calendar-table-header-divider[_ngcontent-%COMP%]::after{background:rgba(255,255,255,.12)}.mat-calendar-body-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-calendar-body-cell-content[_ngcontent-%COMP%]{color:#fff;border-color:transparent}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){color:rgba(255,255,255,.5)}.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .cdk-program-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .mat-calendar-body-cell[_ngcontent-%COMP%]:not(.mat-calendar-body-disabled):hover > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){background-color:rgba(255,255,255,.04)}.mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.5)}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.3)}.mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.4)}.mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#424242;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.4)}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.4)}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content-touch[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-datepicker-toggle-active[_ngcontent-%COMP%]{color:#ad2c2c}.mat-datepicker-toggle-active.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-datepicker-toggle-active.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-dialog-container[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-divider[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-divider-vertical[_ngcontent-%COMP%]{border-right-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-expansion-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-action-row[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-keyboard-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-program-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]):hover{background:rgba(255,255,255,.04)}@media (hover:none){.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header[_ngcontent-%COMP%]:hover{background:#424242}}.mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:#fff}.mat-expansion-indicator[_ngcontent-%COMP%]::after, .mat-expansion-panel-header-description[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%], .mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:inherit}.mat-form-field-label[_ngcontent-%COMP%], .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-focused[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#fff}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid) .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ad2c2c}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#216bad}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#ff5722}.mat-error[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7);bottom:1.25em}.mat-form-field-appearance-legacy.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7)}.mat-form-field-appearance-standard.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.05)}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:transparent}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#fff}.mat-form-field-appearance-outline.mat-focused[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field-appearance-outline.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-appearance-outline.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.15)}.mat-icon.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-icon.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-icon.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-type-mat-native-select[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:rgba(255,255,255,.7)}.mat-form-field-type-mat-native-select.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-input-element[_ngcontent-%COMP%]:disabled{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]{caret-color:#ad2c2c}.mat-input-element[_ngcontent-%COMP%]::-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-moz-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-webkit-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]{color:rgba(0,0,0,.87)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]:disabled{color:rgba(0,0,0,.38)}.mat-accent[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#216bad}.mat-form-field-invalid[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#ff5722}.mat-form-field-type-mat-native-select.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ff5722}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%], .mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{color:#fff}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-list-item-disabled[_ngcontent-%COMP%]{background-color:#000}.mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover, .mat-list-option[_ngcontent-%COMP%]:focus, .mat-list-option[_ngcontent-%COMP%]:hover, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover{background:rgba(255,255,255,.04)}.mat-menu-panel[_ngcontent-%COMP%]{background:#424242}.mat-menu-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-menu-item[_ngcontent-%COMP%]{background:0 0;color:#fff}.mat-menu-item[disabled][_ngcontent-%COMP%], .mat-menu-item[disabled][_ngcontent-%COMP%]::after{color:rgba(255,255,255,.5)}.mat-menu-item[_ngcontent-%COMP%] .mat-icon-no-color[_ngcontent-%COMP%], .mat-menu-item-submenu-trigger[_ngcontent-%COMP%]::after{color:#fff}.mat-menu-item-highlighted[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-keyboard-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-program-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item[_ngcontent-%COMP%]:hover:not([disabled]){background:rgba(255,255,255,.04)}.mat-paginator[_ngcontent-%COMP%]{background:#424242}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-paginator-decrement[_ngcontent-%COMP%], .mat-paginator-increment[_ngcontent-%COMP%]{border-top:2px solid #fff;border-right:2px solid #fff}.mat-paginator-first[_ngcontent-%COMP%], .mat-paginator-last[_ngcontent-%COMP%]{border-top:2px solid #fff}.mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-decrement[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-first[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-increment[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-last[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-progress-bar-background[_ngcontent-%COMP%]{fill:#e6c0c0}.mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#e6c0c0}.mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ad2c2c}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#216bad}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ff5722}.mat-progress-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ad2c2c}.mat-progress-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#216bad}.mat-progress-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ff5722}.mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ad2c2c}.mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#216bad}.mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#216bad}.mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ff5722}.mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ff5722}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-label-content[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-radio-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-select-value[_ngcontent-%COMP%]{color:#fff}.mat-select-disabled[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%], .mat-select-placeholder[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-select-panel[_ngcontent-%COMP%]{background:#424242}.mat-select-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-select-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple){background:rgba(255,255,255,.12)}.mat-form-field.mat-focused.mat-primary[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#216bad}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-invalid[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-form-field.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-disabled[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-drawer-container[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-drawer[_ngcontent-%COMP%]{background-color:#424242;color:#fff}.mat-drawer.mat-drawer-push[_ngcontent-%COMP%]{background-color:#424242}.mat-drawer[_ngcontent-%COMP%]:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-drawer-side[_ngcontent-%COMP%]{border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%] .mat-drawer-side[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12);border-right:none}[dir=rtl][_ngcontent-%COMP%] .mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-backdrop.mat-drawer-shown[_ngcontent-%COMP%]{background-color:rgba(189,189,189,.6)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.54)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.54)}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.54)}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle[_ngcontent-%COMP%]:not(.mat-checked) .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-slide-toggle-thumb[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#bdbdbd}.mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#216bad}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ff5722}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.2)}.cdk-focused[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%] .mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:#fff}.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing) .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3);background-color:transparent}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-has-ticks[_ngcontent-%COMP%] .mat-slider-wrapper[_ngcontent-%COMP%]::after{border-color:rgba(255,255,255,.7)}.mat-slider-horizontal[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to right,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-slider-vertical[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to bottom,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused[_ngcontent-%COMP%], .mat-step-header.cdk-program-focused[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%]:hover{background-color:rgba(255,255,255,.04)}@media (hover:none){.mat-step-header[_ngcontent-%COMP%]:hover{background:0 0}}.mat-step-header[_ngcontent-%COMP%] .mat-step-label[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-optional[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7);color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-selected[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-edit[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-error[_ngcontent-%COMP%]{background-color:transparent;color:#ff5722}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-active[_ngcontent-%COMP%]{color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-error[_ngcontent-%COMP%]{color:#ff5722}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{background-color:#424242}.mat-stepper-vertical-line[_ngcontent-%COMP%]::before{border-left-color:rgba(255,255,255,.12)}.mat-horizontal-stepper-header[_ngcontent-%COMP%]::after, .mat-horizontal-stepper-header[_ngcontent-%COMP%]::before, .mat-stepper-horizontal-line[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-sort-header-arrow[_ngcontent-%COMP%]{color:#c6c6c6}.mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[_ngcontent-%COMP%]{border-bottom:1px solid rgba(255,255,255,.12)}.mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-nav-bar[_ngcontent-%COMP%]{border-top:1px solid rgba(255,255,255,.12);border-bottom:none}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-tab-group[class*=mat-background-][_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[class*=mat-background-][_ngcontent-%COMP%]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-toolbar[_ngcontent-%COMP%]{background:#212121;color:#fff}.mat-toolbar.mat-primary[_ngcontent-%COMP%]{background:#ad2c2c;color:#fff}.mat-toolbar.mat-accent[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-toolbar.mat-warn[_ngcontent-%COMP%]{background:#ff5722;color:#fff}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:currentColor}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%]{color:inherit}.mat-toolbar[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:currentColor}.mat-tooltip[_ngcontent-%COMP%]{background:rgba(97,97,97,.9)}.mat-tree[_ngcontent-%COMP%]{background:#424242}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{color:#fff}.mat-snack-bar-container[_ngcontent-%COMP%]{color:rgba(0,0,0,.87);background:#fafafa;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 11.62px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 9.38px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,"Helvetica Neue",sans-serif}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,"Helvetica Neue",sans-serif;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34373em) scale(.75);transform:translateY(-1.34373em) scale(.75);width:133.3333533333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34372em) scale(.75);transform:translateY(-1.34372em) scale(.75);width:133.3333633333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00106px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00106px);-ms-transform:translateY(-1.28119em) scale(.75);width:133.3333933333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00107px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00107px);-ms-transform:translateY(-1.28118em) scale(.75);width:133.3334033333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00108px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00108px);-ms-transform:translateY(-1.28117em) scale(.75);width:133.3334133333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28116em) scale(.75);transform:translateY(-1.28116em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28115em) scale(.75);transform:translateY(-1.28115em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28114em) scale(.75);transform:translateY(-1.28114em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59373em) scale(.75);transform:translateY(-.59373em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59372em) scale(.75);transform:translateY(-.59372em) scale(.75);width:133.3333633333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59373em) scale(.75);transform:translateY(-1.59373em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59372em) scale(.75);transform:translateY(-1.59372em) scale(.75);width:133.3333633333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{color:inherit;line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,-webkit-transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1),-webkit-transform 0s cubic-bezier(0,0,.2,1);-webkit-transform:scale(0);transform:scale(0)}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation-name:cdk-text-field-autofill-start;animation-name:cdk-text-field-autofill-start}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation-name:cdk-text-field-autofill-end;animation-name:cdk-text-field-autofill-end}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{height:auto!important;overflow:hidden!important;padding:2px 0!important;box-sizing:content-box!important}.opsCount[_ngcontent-%COMP%]{display:inline-block;font-size:15px;margin-left:5px;margin-top:3px}mat-icon[_ngcontent-%COMP%]{font-size:24px}.noops[_ngcontent-%COMP%]{font-size:14px;padding:5px;color:#ff5722}.opDesc[_ngcontent-%COMP%]{display:inline-block;min-width:100px}.opStatus[_ngcontent-%COMP%]{display:inline-block;min-width:50px;padding-right:3px}.clearFailed[_ngcontent-%COMP%]{margin-left:8px}.opId[_ngcontent-%COMP%]{display:inline-block;min-width:20px;margin-right:4px}.opContainer[_ngcontent-%COMP%]{font-size:12px}.check[_ngcontent-%COMP%]{position:absolute;color:green;top:-3px;left:24px;font-size:24px;text-shadow:-1px 0 #000,0 1px #000,1px 0 #000,0 -1px #000}.sync[_ngcontent-%COMP%]{position:absolute;color:#fff;top:3px;left:0;font-size:32px;padding:0;width:32px;height:32px}.exclamation[_ngcontent-%COMP%]{position:absolute;color:red;top:0;left:22px;font-size:24px;text-shadow:-1px 0 #000,0 1px #000,1px 0 #000,0 -1px #000}.iconContainer[_ngcontent-%COMP%]{width:24px;display:inline-block}.spinny[_ngcontent-%COMP%]{-webkit-animation:1.5s linear infinite spin;animation:1.5s linear infinite spin;-webkit-transform-origin:center center;transform-origin:center center}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{0%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}100%{-webkit-transform:rotate(0);transform:rotate(0)}}' + ] + ], + data: {} + }); + function VT(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 2, + "mat-icon", + [["class", "check mat-icon notranslate"], ["role", "img"]], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + _b, + bb + )), + Uo( + 1, + 9158656, + null, + 0, + pb, + [Ln, rb, [8, null], [2, ub]], + null, + null + ), + (t()(), Rr(-1, 0, ["check"])) + ], + function(t, e) { + t(e, 1, 0); + }, + function(t, e) { + t( + e, + 0, + 0, + Io(e, 1).inline, + "primary" !== Io(e, 1).color && + "accent" !== Io(e, 1).color && + "warn" !== Io(e, 1).color + ); + } + ); + } + function HT(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 2, + "mat-icon", + [["class", "exclamation mat-icon notranslate"], ["role", "img"]], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + _b, + bb + )), + Uo( + 1, + 9158656, + null, + 0, + pb, + [Ln, rb, [8, null], [2, ub]], + null, + null + ), + (t()(), Rr(-1, 0, ["priority_high"])) + ], + function(t, e) { + t(e, 1, 0); + }, + function(t, e) { + t( + e, + 0, + 0, + Io(e, 1).inline, + "primary" !== Io(e, 1).color && + "accent" !== Io(e, 1).color && + "warn" !== Io(e, 1).color + ); + } + ); + } + function jT(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "p", + [["class", "noops"], ["color", "primary"]], + null, + null, + null, + null, + null + )), + (t()(), Rr(-1, null, ["No active operations"])) + ], + null, + null + ); + } + function UT(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 11, + "button", + [ + ["class", "mat-menu-item"], + ["fast-click", ""], + ["mat-menu-item", ""] + ], + [ + [1, "role", 0], + [2, "mat-menu-item-highlighted", null], + [2, "mat-menu-item-submenu-trigger", null], + [1, "tabindex", 0], + [1, "aria-disabled", 0], + [1, "disabled", 0] + ], + [[null, "click"], [null, "mouseenter"]], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "click" === e && (a = !1 !== Io(t, 1)._checkDisabled(n) && a), + "mouseenter" === e && + (a = !1 !== Io(t, 1)._handleMouseEnter() && a), + "click" === e && + (a = !1 !== o.opClick(t.context.$implicit) && a), + a + ); + }, + wx, + kx + )), + Uo(1, 180224, [[1, 4]], 0, mx, [Ln, Bs, _f, [2, cx]], null, null), + Uo(2, 16384, null, 0, xP, [Ln], null, null), + (t()(), + Cr( + 3, + 0, + null, + 0, + 6, + "div", + [["class", "opContainer"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 4, + 0, + null, + null, + 1, + "div", + [["class", "opId"]], + null, + null, + null, + null, + null + )), + (t()(), Rr(5, null, ["#", ""])), + (t()(), + Cr( + 6, + 0, + null, + null, + 1, + "div", + [["class", "opStatus"]], + null, + null, + null, + null, + null + )), + (t()(), Rr(7, null, ["", ":"])), + (t()(), + Cr( + 8, + 0, + null, + null, + 1, + "div", + [["class", "opDesc"]], + null, + null, + null, + null, + null + )), + (t()(), Rr(9, null, ["", ""])), + (t()(), + Cr( + 10, + 0, + null, + 0, + 1, + "div", + [["class", "errMsg"], ["color", "warn"]], + null, + null, + null, + null, + null + )), + (t()(), Rr(11, null, ["", ""])) + ], + null, + function(t, e) { + t( + e, + 0, + 0, + Io(e, 1).role, + Io(e, 1)._highlighted, + Io(e, 1)._triggersSubmenu, + Io(e, 1)._getTabIndex(), + Io(e, 1).disabled.toString(), + Io(e, 1).disabled || null + ), + t(e, 5, 0, e.context.$implicit.ID), + t(e, 7, 0, e.context.$implicit.Status), + t(e, 9, 0, e.context.$implicit.OpDescription), + t(e, 11, 0, e.context.$implicit.Error); + } + ); + } + function qT(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 16777216, + null, + null, + 18, + "button", + [ + ["aria-haspopup", "true"], + ["fast-click", ""], + ["mat-button", ""], + ["mat-raised-button", ""] + ], + [ + [1, "disabled", 0], + [2, "_mat-animation-noopable", null], + [1, "aria-expanded", 0] + ], + [ + [null, "menuOpened"], + [null, "menuClosed"], + [null, "mousedown"], + [null, "keydown"], + [null, "click"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "mousedown" === e && + (a = !1 !== Io(t, 2)._handleMousedown(n) && a), + "keydown" === e && + (a = !1 !== Io(t, 2)._handleKeydown(n) && a), + "click" === e && (a = !1 !== Io(t, 2)._handleClick(n) && a), + "menuOpened" === e && (a = !1 !== o.menuOpened() && a), + "menuClosed" === e && (a = !1 !== o.menuClosed() && a), + a + ); + }, + vP, + yP + )), + Uo( + 1, + 180224, + null, + 0, + Mb, + [Ln, _f, [2, OP]], + { color: [0, "color"] }, + null + ), + Uo( + 2, + 1196032, + null, + 0, + Px, + [rM, Ln, ua, bx, [2, px], [8, null], [2, hp], _f], + { menu: [0, "menu"] }, + { menuOpened: "menuOpened", menuClosed: "menuClosed" } + ), + Uo(3, 16384, null, 0, xP, [Ln], null, null), + (t()(), + Cr( + 4, + 0, + null, + 0, + 12, + "div", + [["class", "iconContainer"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 5, + 0, + null, + null, + 7, + "mat-icon", + [["class", "sync mat-icon notranslate"], ["role", "img"]], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + _b, + bb + )), + Ko(512, null, fs, bs, [na, aa, Ln, jn]), + Uo( + 7, + 278528, + null, + 0, + Cs, + [fs], + { klass: [0, "klass"], ngClass: [1, "ngClass"] }, + null + ), + Ar(8, { spinny: 0 }), + Uo( + 9, + 9158656, + null, + 0, + pb, + [Ln, rb, [8, null], [2, ub]], + null, + null + ), + Uo( + 10, + 933888, + null, + 0, + Ix, + [Ln, yy, wy, na, aa, jn, [6, Cs]], + { ngClass: [0, "ngClass"], klass: [1, "klass"] }, + null + ), + Ar(11, { spinny: 0 }), + (t()(), Rr(-1, 0, ["sync"])), + (t()(), _r(16777216, null, null, 1, null, VT)), + Uo(14, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, null, 1, null, HT)), + Uo(16, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), + Cr( + 17, + 0, + null, + 0, + 1, + "div", + [["class", "opsCount"]], + null, + null, + null, + null, + null + )), + (t()(), Rr(18, null, ["", ""])), + (t()(), + Cr( + 19, + 0, + null, + null, + 13, + "mat-menu", + [], + null, + null, + null, + xx, + yx + )), + Ko(6144, null, px, null, [fx]), + Ko(6144, null, cx, null, [px]), + Uo(22, 1294336, [["menu", 4]], 2, fx, [Ln, Di, hx], null, null), + vr(603979776, 1, { items: 1 }), + vr(603979776, 2, { lazyContent: 0 }), + (t()(), _r(16777216, null, 0, 1, null, jT)), + Uo(26, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, 0, 1, null, UT)), + Uo( + 28, + 278528, + null, + 0, + Os, + [ua, ca, na], + { ngForOf: [0, "ngForOf"] }, + null + ), + (t()(), + Cr( + 29, + 0, + null, + 0, + 3, + "button", + [ + ["class", "clearFailed"], + ["color", "accent"], + ["fast-click", ""], + ["mat-raised-button", ""] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, e, n) { + var a = !0; + return ( + "click" === e && + (a = !1 !== t.component.clickClearFailedOps() && a), + a + ); + }, + vP, + yP + )), + Uo( + 30, + 180224, + null, + 0, + Mb, + [Ln, _f, [2, OP]], + { color: [0, "color"] }, + null + ), + Uo(31, 16384, null, 0, xP, [Ln], null, null), + (t()(), Rr(-1, 0, ["Clear Failed"])) + ], + function(t, e) { + var n = e.component; + t(e, 1, 0, ao(1, "", n.getColor(), "")), t(e, 2, 0, Io(e, 22)); + var a = t(e, 8, 0, n.showSpin()); + t(e, 7, 0, "sync", a), t(e, 9, 0); + var o = t(e, 11, 0, n.showSpin()); + t(e, 10, 0, o, "sync"), + t(e, 14, 0, n.showCheck()), + t(e, 16, 0, n.showError()), + t(e, 22, 0), + t(e, 26, 0, n.ops.Ops.length < 1), + t(e, 28, 0, n.ops.Ops), + t(e, 30, 0, "accent"); + }, + function(t, e) { + var n = e.component; + t( + e, + 0, + 0, + Io(e, 1).disabled || null, + "NoopAnimations" === Io(e, 1)._animationMode, + Io(e, 2).menuOpen || null + ), + t( + e, + 5, + 0, + Io(e, 9).inline, + "primary" !== Io(e, 9).color && + "accent" !== Io(e, 9).color && + "warn" !== Io(e, 9).color + ), + t(e, 18, 0, n.ops.Ops.length), + t( + e, + 29, + 0, + Io(e, 30).disabled || null, + "NoopAnimations" === Io(e, 30)._animationMode + ); + } + ); + } + class KT { + constructor(t) { + this._elementRef = t; + } + } + const YT = vf(KT), + WT = (() => + class extends YT { + constructor(t, e, n) { + super(t), (this._platform = e), (this._document = n); + } + ngAfterViewInit() { + Ve() && + this._platform.isBrowser && + (this._checkToolbarMixedModes(), + this._toolbarRows.changes.subscribe(() => + this._checkToolbarMixedModes() + )); + } + _checkToolbarMixedModes() { + this._toolbarRows.length && + Array.from(this._elementRef.nativeElement.childNodes) + .filter( + t => + !(t.classList && t.classList.contains("mat-toolbar-row")) + ) + .filter( + t => + t.nodeType !== + (this._document ? this._document.COMMENT_NODE : 8) + ) + .some(t => !(!t.textContent || !t.textContent.trim())) && + (function() { + throw Error( + "MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `` elements explicitly or just place content inside of a `` for a single row." + ); + })(); + } + })(), + GT = (() => class {})(); + var $T = Ia({ + encapsulation: 2, + styles: [ + "@media (-ms-high-contrast:active){.mat-toolbar{outline:solid 1px}}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width:599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}" + ], + data: {} + }); + function ZT(t) { + return zr(2, [Er(null, 0), Er(null, 1)], null, null); + } + var QT = Ia({ + encapsulation: 0, + styles: [ + [ + ".app-content[_ngcontent-%COMP%]{display:block;height:100%}.goodCon[_ngcontent-%COMP%]{color:green}.badCon[_ngcontent-%COMP%]{color:red}.orangeCon[_ngcontent-%COMP%]{color:orange}.toolbar[_ngcontent-%COMP%]{min-height:50px;height:50px;display:block!important}.sync-spot[_ngcontent-%COMP%]{width:155px;height:39px}.sync-placeholder[_ngcontent-%COMP%]{margin-top:6px}.undo-spot[_ngcontent-%COMP%]{margin-top:6px;color:#ff5722;margin-left:6px;margin-right:6px}.top-button[_ngcontent-%COMP%]{margin-top:6px;margin-right:1.5em}.sync-button[_ngcontent-%COMP%]{margin-top:7px}.logo[_ngcontent-%COMP%]{background:url(logo.png) 50% 50%/contain no-repeat;height:50px;width:150px}.nowifi[_ngcontent-%COMP%]{position:absolute;top:-2px;left:-2px;color:red;font-size:32px}.credits[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:15px}.connectionStatus[_ngcontent-%COMP%]{margin-top:9px;position:relative;display:inline-block;width:32px;height:32px;cursor:pointer}.wifi[_ngcontent-%COMP%]{position:absolute;top:2px;left:2px;font-size:32}.nosync[_ngcontent-%COMP%]{border-radius:10px;border:none;color:#fff;cursor:pointer;display:inline-block;font-family:Arial;font-size:14px;padding:5px 10px;text-align:center;text-decoration:none;background-color:#b8860b;height:26px;width:140.63px}.right[_ngcontent-%COMP%]{float:right}.warning[_ngcontent-%COMP%]{height:35px;background-color:#004a7f;border-radius:4px;border:none;color:#fff;cursor:pointer;display:inline-block;font-family:Arial;font-size:14px;padding:5px 10px;text-align:center;text-decoration:none;-webkit-animation:1.5s infinite glowing;animation:1.5s infinite glowing}@-webkit-keyframes glowing{0%,100%{background-color:#b20000;-webkit-box-shadow:0 0 3px #b20000}50%{background-color:red;-webkit-box-shadow:0 0 40px red}}@keyframes glowing{0%,100%{background-color:#b20000;box-shadow:0 0 3px #b20000}50%{background-color:red;box-shadow:0 0 40px red}}.happy[_ngcontent-%COMP%]{height:35px;background-color:#004a7f;border-radius:4px;border:none;color:#fff;cursor:pointer;display:inline-block;font-family:Arial;font-size:14px;padding:5px 10px;text-align:center;text-decoration:none;-webkit-animation:3.5s infinite glowing-happy;animation:3.5s infinite glowing-happy}@-webkit-keyframes glowing-happy{0%,100%{background-color:#20599d;box-shadow:0 0 10px #20599d}50%{background-color:#216bad;box-shadow:0 0 20px #216bad}}@keyframes glowing-happy{0%,100%{background-color:#20599d;box-shadow:0 0 10px #20599d}50%{background-color:#216bad;box-shadow:0 0 20px #216bad}}" + ] + ], + data: { + animation: [ + { + type: 7, + name: "fade", + definitions: [ + { + type: 1, + expr: ":enter", + animation: [ + { type: 6, styles: { opacity: 0 }, offset: null }, + { + type: 4, + styles: { type: 6, styles: { opacity: 1 }, offset: null }, + timings: "0.2s" + } + ], + options: null + }, + { + type: 1, + expr: ":leave", + animation: [ + { type: 6, styles: { opacity: 1 }, offset: null }, + { + type: 4, + styles: { type: 6, styles: { opacity: 0 }, offset: null }, + timings: "0.2s" + } + ], + options: null + }, + { + type: 0, + name: "*", + styles: { type: 6, styles: { opacity: 1 }, offset: null }, + options: void 0 + } + ], + options: {} + } + ] + } + }); + function XT(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 2, + "mat-icon", + [["class", "nowifi mat-icon notranslate"], ["role", "img"]], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + _b, + bb + )), + Uo( + 1, + 9158656, + null, + 0, + pb, + [Ln, rb, [8, null], [2, ub]], + null, + null + ), + (t()(), Rr(-1, 0, ["close"])) + ], + function(t, e) { + t(e, 1, 0); + }, + function(t, e) { + t( + e, + 0, + 0, + Io(e, 1).inline, + "primary" !== Io(e, 1).color && + "accent" !== Io(e, 1).color && + "warn" !== Io(e, 1).color + ); + } + ); + } + function JT(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 16777216, + null, + null, + 5, + "button", + [ + ["class", "right undo-spot"], + ["mat-button", ""], + [ + "matTooltip", + "Undo all pending changes instead of syncing them." + ] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "longpress" === e && (a = !1 !== Io(t, 2).show() && a), + "keydown" === e && + (a = !1 !== Io(t, 2)._handleKeydown(n) && a), + "touchend" === e && + (a = !1 !== Io(t, 2)._handleTouchend() && a), + "click" === e && (a = !1 !== o.resetConfig() && a), + a + ); + }, + vP, + yP + )), + Uo( + 1, + 180224, + null, + 0, + Mb, + [Ln, _f, [2, OP]], + { disabled: [0, "disabled"] }, + null + ), + Uo( + 2, + 212992, + null, + 0, + Mv, + [rM, Ln, kO, ua, Di, Op, sf, _f, Cv, [2, hp], [2, Ov], [2, ru]], + { message: [0, "message"] }, + null + ), + (t()(), + Cr( + 3, + 0, + null, + 0, + 2, + "mat-icon", + [["class", "mat-icon notranslate"], ["role", "img"]], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + _b, + bb + )), + Uo( + 4, + 9158656, + null, + 0, + pb, + [Ln, rb, [8, null], [2, ub]], + null, + null + ), + (t()(), Rr(-1, 0, ["undo"])), + (t()(), _r(0, null, null, 0)) + ], + function(t, e) { + var n = e.component; + t( + e, + 1, + 0, + ao( + 1, + "", + !0 === (null == n.config ? null : n.config.IsCommitted) || + n.disableSync(), + "" + ) + ), + t(e, 2, 0, "Undo all pending changes instead of syncing them."), + t(e, 4, 0); + }, + function(t, e) { + t( + e, + 0, + 0, + Io(e, 1).disabled || null, + "NoopAnimations" === Io(e, 1)._animationMode + ), + t( + e, + 3, + 0, + Io(e, 4).inline, + "primary" !== Io(e, 4).color && + "accent" !== Io(e, 4).color && + "warn" !== Io(e, 4).color + ); + } + ); + } + function tR(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 16777216, + null, + null, + 2, + "button", + [ + ["class", "warning sync-spot right sync-button"], + ["matTooltip", "Sync the current configuration to Beat Saber."] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "longpress" === e && (a = !1 !== Io(t, 1).show() && a), + "keydown" === e && + (a = !1 !== Io(t, 1)._handleKeydown(n) && a), + "touchend" === e && + (a = !1 !== Io(t, 1)._handleTouchend() && a), + "click" === e && (a = !1 !== o.commitConfig() && a), + a + ); + }, + null, + null + )), + Uo( + 1, + 212992, + null, + 0, + Mv, + [rM, Ln, kO, ua, Di, Op, sf, _f, Cv, [2, hp], [2, Ov], [2, ru]], + { message: [0, "message"] }, + null + ), + (t()(), Rr(-1, null, [" Sync to Beat Saber "])), + (t()(), _r(0, null, null, 0)) + ], + function(t, e) { + t(e, 1, 0, "Sync the current configuration to Beat Saber."); + }, + null + ); + } + function eR(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 16777216, + null, + null, + 2, + "button", + [ + ["class", "right sync-spot sync-placeholder nosync"], + [ + "matTooltip", + "Beat On is processing, wait for it to finish to sync." + ] + ], + null, + [[null, "longpress"], [null, "keydown"], [null, "touchend"]], + function(t, e, n) { + var a = !0; + return ( + "longpress" === e && (a = !1 !== Io(t, 1).show() && a), + "keydown" === e && + (a = !1 !== Io(t, 1)._handleKeydown(n) && a), + "touchend" === e && + (a = !1 !== Io(t, 1)._handleTouchend() && a), + a + ); + }, + null, + null + )), + Uo( + 1, + 212992, + null, + 0, + Mv, + [rM, Ln, kO, ua, Di, Op, sf, _f, Cv, [2, hp], [2, Ov], [2, ru]], + { message: [0, "message"] }, + null + ), + (t()(), Rr(-1, null, ["Processing..."])), + (t()(), _r(0, null, null, 0)) + ], + function(t, e) { + t(e, 1, 0, "Beat On is processing, wait for it to finish to sync."); + }, + null + ); + } + function nR(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 16777216, + null, + null, + 3, + "button", + [ + ["class", "right sync-placeholder sync-spot"], + ["mat-button", ""], + ["matTooltip", "Beat Saber is in sync."] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "longpress"], [null, "keydown"], [null, "touchend"]], + function(t, e, n) { + var a = !0; + return ( + "longpress" === e && (a = !1 !== Io(t, 2).show() && a), + "keydown" === e && + (a = !1 !== Io(t, 2)._handleKeydown(n) && a), + "touchend" === e && + (a = !1 !== Io(t, 2)._handleTouchend() && a), + a + ); + }, + vP, + yP + )), + Uo(1, 180224, null, 0, Mb, [Ln, _f, [2, OP]], null, null), + Uo( + 2, + 212992, + null, + 0, + Mv, + [rM, Ln, kO, ua, Di, Op, sf, _f, Cv, [2, hp], [2, Ov], [2, ru]], + { message: [0, "message"] }, + null + ), + (t()(), Rr(-1, 0, ["Beat Saber Synced"])), + (t()(), _r(0, null, null, 0)) + ], + function(t, e) { + t(e, 2, 0, "Beat Saber is in sync."); + }, + function(t, e) { + t( + e, + 0, + 0, + Io(e, 1).disabled || null, + "NoopAnimations" === Io(e, 1)._animationMode + ); + } + ); + } + function aR(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 16777216, + null, + null, + 2, + "button", + [ + ["class", "sync-spot right sync-button happy"], + ["matTooltip", "Beat Saber is in sync."] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "longpress" === e && (a = !1 !== Io(t, 1).show() && a), + "keydown" === e && + (a = !1 !== Io(t, 1)._handleKeydown(n) && a), + "touchend" === e && + (a = !1 !== Io(t, 1)._handleTouchend() && a), + "click" === e && (a = !1 !== o.clickStartBeatSaber() && a), + a + ); + }, + null, + null + )), + Uo( + 1, + 212992, + null, + 0, + Mv, + [rM, Ln, kO, ua, Di, Op, sf, _f, Cv, [2, hp], [2, Ov], [2, ru]], + { message: [0, "message"] }, + null + ), + (t()(), Rr(-1, null, ["Start Beat Saber"])), + (t()(), _r(0, null, null, 0)) + ], + function(t, e) { + t(e, 1, 0, "Beat Saber is in sync."); + }, + null + ); + } + function oR(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 16777216, + null, + null, + 2, + "app-browser-nav", + [ + ["class", "right top-button"], + ["matTooltip", "Browse to web site."] + ], + null, + [ + [null, "linkSelected"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "longpress" === e && (a = !1 !== Io(t, 1).show() && a), + "keydown" === e && + (a = !1 !== Io(t, 1)._handleKeydown(n) && a), + "touchend" === e && + (a = !1 !== Io(t, 1)._handleTouchend() && a), + "linkSelected" === e && (a = !1 !== o.linkSelected(n) && a), + a + ); + }, + IT, + ST + )), + Uo( + 1, + 212992, + null, + 0, + Mv, + [rM, Ln, kO, ua, Di, Op, sf, _f, Cv, [2, hp], [2, Ov], [2, ru]], + { message: [0, "message"] }, + null + ), + Uo(2, 114688, null, 0, wT, [CM], null, { + linkSelected: "linkSelected" + }), + (t()(), _r(0, null, null, 0)) + ], + function(t, e) { + t(e, 1, 0, "Browse to web site."), t(e, 2, 0); + }, + null + ); + } + function iR(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 16777216, + null, + null, + 6, + "button", + [ + ["class", "right top-button"], + ["fast-click", ""], + ["mat-stroked-button", ""], + ["matTooltip", "Refresh"] + ], + [ + [24, "@fade", 0], + [1, "disabled", 0], + [2, "_mat-animation-noopable", null] + ], + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "longpress" === e && (a = !1 !== Io(t, 2).show() && a), + "keydown" === e && + (a = !1 !== Io(t, 2)._handleKeydown(n) && a), + "touchend" === e && + (a = !1 !== Io(t, 2)._handleTouchend() && a), + "click" === e && (a = !1 !== o.clickRefresh() && a), + a + ); + }, + vP, + yP + )), + Uo(1, 180224, null, 0, Mb, [Ln, _f, [2, OP]], null, null), + Uo( + 2, + 212992, + null, + 0, + Mv, + [rM, Ln, kO, ua, Di, Op, sf, _f, Cv, [2, hp], [2, Ov], [2, ru]], + { message: [0, "message"] }, + null + ), + Uo(3, 16384, null, 0, xP, [Ln], null, null), + (t()(), + Cr( + 4, + 0, + null, + 0, + 2, + "mat-icon", + [["class", "mat-icon notranslate"], ["role", "img"]], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + _b, + bb + )), + Uo( + 5, + 9158656, + null, + 0, + pb, + [Ln, rb, [8, null], [2, ub]], + null, + null + ), + (t()(), Rr(-1, 0, ["cached"])), + (t()(), _r(0, null, null, 0)) + ], + function(t, e) { + t(e, 2, 0, "Refresh"), t(e, 5, 0); + }, + function(t, e) { + t( + e, + 0, + 0, + void 0, + Io(e, 1).disabled || null, + "NoopAnimations" === Io(e, 1)._animationMode + ), + t( + e, + 4, + 0, + Io(e, 5).inline, + "primary" !== Io(e, 5).color && + "accent" !== Io(e, 5).color && + "warn" !== Io(e, 5).color + ); + } + ); + } + function rR(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 16777216, + null, + null, + 6, + "button", + [ + ["class", "right top-button"], + ["fast-click", ""], + ["mat-stroked-button", ""], + ["matTooltip", "Back"] + ], + [ + [24, "@fade", 0], + [1, "disabled", 0], + [2, "_mat-animation-noopable", null] + ], + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "longpress" === e && (a = !1 !== Io(t, 2).show() && a), + "keydown" === e && + (a = !1 !== Io(t, 2)._handleKeydown(n) && a), + "touchend" === e && + (a = !1 !== Io(t, 2)._handleTouchend() && a), + "click" === e && (a = !1 !== o.clickBack() && a), + a + ); + }, + vP, + yP + )), + Uo(1, 180224, null, 0, Mb, [Ln, _f, [2, OP]], null, null), + Uo( + 2, + 212992, + null, + 0, + Mv, + [rM, Ln, kO, ua, Di, Op, sf, _f, Cv, [2, hp], [2, Ov], [2, ru]], + { message: [0, "message"] }, + null + ), + Uo(3, 16384, null, 0, xP, [Ln], null, null), + (t()(), + Cr( + 4, + 0, + null, + 0, + 2, + "mat-icon", + [["class", "mat-icon notranslate"], ["role", "img"]], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + _b, + bb + )), + Uo( + 5, + 9158656, + null, + 0, + pb, + [Ln, rb, [8, null], [2, ub]], + null, + null + ), + (t()(), Rr(-1, 0, ["arrow_back"])), + (t()(), _r(0, null, null, 0)) + ], + function(t, e) { + t(e, 2, 0, "Back"), t(e, 5, 0); + }, + function(t, e) { + t( + e, + 0, + 0, + void 0, + Io(e, 1).disabled || null, + "NoopAnimations" === Io(e, 1)._animationMode + ), + t( + e, + 4, + 0, + Io(e, 5).inline, + "primary" !== Io(e, 5).color && + "accent" !== Io(e, 5).color && + "warn" !== Io(e, 5).color + ); + } + ); + } + function lR(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 16777216, + null, + null, + 2, + "app-download-indicator", + [ + ["class", "right top-button"], + ["matTooltip", "Downloads in progress"] + ], + null, + [[null, "longpress"], [null, "keydown"], [null, "touchend"]], + function(t, e, n) { + var a = !0; + return ( + "longpress" === e && (a = !1 !== Io(t, 1).show() && a), + "keydown" === e && + (a = !1 !== Io(t, 1)._handleKeydown(n) && a), + "touchend" === e && + (a = !1 !== Io(t, 1)._handleTouchend() && a), + a + ); + }, + zT, + RT + )), + Uo( + 1, + 212992, + null, + 0, + Mv, + [rM, Ln, kO, ua, Di, Op, sf, _f, Cv, [2, hp], [2, Ov], [2, ru]], + { message: [0, "message"] }, + null + ), + Uo(2, 114688, null, 0, TT, [bg], null, null), + (t()(), _r(0, null, null, 0)) + ], + function(t, e) { + t(e, 1, 0, "Downloads in progress"), t(e, 2, 0); + }, + null + ); + } + function sR(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 16777216, + null, + null, + 2, + "app-op-indicator", + [ + ["class", "right top-button"], + [ + "matTooltip", + "Current Beat On operations that are in progress or have failed." + ] + ], + null, + [[null, "longpress"], [null, "keydown"], [null, "touchend"]], + function(t, e, n) { + var a = !0; + return ( + "longpress" === e && (a = !1 !== Io(t, 1).show() && a), + "keydown" === e && + (a = !1 !== Io(t, 1)._handleKeydown(n) && a), + "touchend" === e && + (a = !1 !== Io(t, 1)._handleTouchend() && a), + a + ); + }, + qT, + BT + )), + Uo( + 1, + 212992, + null, + 0, + Mv, + [rM, Ln, kO, ua, Di, Op, sf, _f, Cv, [2, hp], [2, Ov], [2, ru]], + { message: [0, "message"] }, + null + ), + Uo(2, 114688, null, 0, FT, [bg, Fg], null, null), + (t()(), _r(0, null, null, 0)) + ], + function(t, e) { + t( + e, + 1, + 0, + "Current Beat On operations that are in progress or have failed." + ), + t(e, 2, 0); + }, + null + ); + } + function cR(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 3, + "div", + [["fxLayout", "column"]], + null, + null, + null, + null, + null + )), + Uo( + 1, + 671744, + null, + 0, + Ly, + [Ln, yy, [2, Dy], wy], + { fxLayout: [0, "fxLayout"] }, + null + ), + (t()(), + Cr(2, 0, null, null, 1, "h3", [], null, null, null, null, null)), + (t()(), Rr(-1, null, ["Checking mod installation status..."])) + ], + function(t, e) { + t(e, 1, 0, "column"); + }, + null + ); + } + function dR(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 3, + "div", + [["fxLayout", "column"]], + null, + null, + null, + null, + null + )), + Uo( + 1, + 671744, + null, + 0, + Ly, + [Ln, yy, [2, Dy], wy], + { fxLayout: [0, "fxLayout"] }, + null + ), + (t()(), + Cr(2, 0, null, null, 1, "h3", [], null, null, null, null, null)), + (t()(), + Rr(-1, null, [ + " Loading configuration... depending on how many songs are loaded, Beat On may take 5-90 seconds to load... " + ])) + ], + function(t, e) { + t(e, 1, 0, "column"); + }, + null + ); + } + function uR(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 5, + "mat-card", + [["class", "mat-card"]], + null, + null, + null, + $f, + Gf + )), + Uo(1, 49152, null, 0, cp, [], null, null), + (t()(), _r(16777216, null, 0, 1, null, cR)), + Uo(3, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, 0, 1, null, dR)), + Uo(5, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null) + ], + function(t, e) { + var n = e.component; + t(e, 3, 0, !n.modStatusLoaded), + t( + e, + 5, + 0, + n.modStatusLoaded && + null == n.config.Config && + "ModInstalled" == n.modStatus.CurrentStatus + ); + }, + null + ); + } + function mR(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 44, + "div", + [["class", "fullheight"], ["fxLayout", "column"]], + null, + null, + null, + null, + null + )), + Uo( + 1, + 671744, + null, + 0, + Ly, + [Ln, yy, [2, Dy], wy], + { fxLayout: [0, "fxLayout"] }, + null + ), + (t()(), + Cr( + 2, + 0, + null, + null, + 35, + "mat-toolbar", + [["class", "toolbar mat-toolbar"]], + [ + [2, "mat-toolbar-multiple-rows", null], + [2, "mat-toolbar-single-row", null] + ], + null, + null, + ZT, + $T + )), + Uo(3, 4243456, null, 1, WT, [Ln, Op, Bs], null, null), + vr(603979776, 1, { _toolbarRows: 1 }), + (t()(), + Cr( + 5, + 16777216, + null, + 0, + 11, + "div", + [ + ["class", "connectionStatus right"], + [ + "matTooltip", + "Current connection status. Click to reconnect." + ] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, e, n) { + var a = !0, + o = t.component; + return ( + "longpress" === e && (a = !1 !== Io(t, 11).show() && a), + "keydown" === e && + (a = !1 !== Io(t, 11)._handleKeydown(n) && a), + "touchend" === e && + (a = !1 !== Io(t, 11)._handleTouchend() && a), + "click" === e && (a = !1 !== o.reconnect() && a), + a + ); + }, + null, + null + )), + Ko(512, null, Es, Is, [Ln, aa, jn]), + Uo(7, 278528, null, 0, Ts, [Es], { ngStyle: [0, "ngStyle"] }, null), + Ar(8, { color: 0 }), + Uo( + 9, + 933888, + null, + 0, + Lx, + [Ln, yy, wy, aa, jn, mu, [6, Ts], [2, $M], fi], + { ngStyle: [0, "ngStyle"] }, + null + ), + Ar(10, { color: 0 }), + Uo( + 11, + 212992, + null, + 0, + Mv, + [rM, Ln, kO, ua, Di, Op, sf, _f, Cv, [2, hp], [2, Ov], [2, ru]], + { message: [0, "message"] }, + null + ), + (t()(), _r(16777216, null, null, 1, null, XT)), + Uo(13, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), + Cr( + 14, + 0, + null, + null, + 2, + "mat-icon", + [["class", "wifi mat-icon notranslate"], ["role", "img"]], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + _b, + bb + )), + Uo( + 15, + 9158656, + null, + 0, + pb, + [Ln, rb, [8, null], [2, ub]], + null, + null + ), + (t()(), Rr(-1, 0, ["wifi"])), + (t()(), _r(16777216, null, 0, 1, null, JT)), + Uo(18, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, 0, 1, null, tR)), + Uo(20, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, 0, 1, null, eR)), + Uo(22, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, 0, 1, null, nR)), + Uo(24, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, 0, 1, null, aR)), + Uo(26, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, 0, 1, null, oR)), + Uo(28, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, 0, 1, null, iR)), + Uo(30, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, 0, 1, null, rR)), + Uo(32, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, 0, 1, null, lR)), + Uo(34, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), _r(16777216, null, 0, 1, null, sR)), + Uo(36, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null), + (t()(), + Cr( + 37, + 0, + null, + 0, + 0, + "div", + [["class", "logo"]], + null, + null, + null, + null, + null + )), + (t()(), + Cr( + 38, + 0, + null, + null, + 4, + "div", + [["class", "fullheight"], ["fxLayout", "column"]], + null, + null, + null, + null, + null + )), + Uo( + 39, + 671744, + null, + 0, + Ly, + [Ln, yy, [2, Dy], wy], + { fxLayout: [0, "fxLayout"] }, + null + ), + (t()(), + Cr( + 40, + 16777216, + null, + null, + 2, + "router-outlet", + [["fxLayout", "column"]], + [[8, "hidden", 0]], + null, + null, + null, + null + )), + Uo( + 41, + 212992, + null, + 0, + $h, + [Gh, ua, An, [8, null], oa], + null, + null + ), + Uo( + 42, + 671744, + null, + 0, + Ly, + [Ln, yy, [2, Dy], wy], + { fxLayout: [0, "fxLayout"] }, + null + ), + (t()(), _r(16777216, null, null, 1, null, uR)), + Uo(44, 16384, null, 0, ys, [ua, ca], { ngIf: [0, "ngIf"] }, null) + ], + function(t, e) { + var n = e.component; + t(e, 1, 0, "column"); + var a = t(e, 8, 0, n.getConnStatusColor()); + t(e, 7, 0, a); + var o = t(e, 10, 0, n.getConnStatusColor()); + t(e, 9, 0, o), + t(e, 11, 0, "Current connection status. Click to reconnect."), + t(e, 13, 0, !n.getConnStatusIcon()), + t(e, 15, 0), + t( + e, + 18, + 0, + n.modStatusLoaded && "ModInstalled" == n.modStatus.CurrentStatus + ), + t( + e, + 20, + 0, + n.modStatusLoaded && + "ModInstalled" == n.modStatus.CurrentStatus && + !1 === (null == n.config ? null : n.config.IsCommitted) && + !n.disableSync() + ), + t( + e, + 22, + 0, + n.modStatusLoaded && + "ModInstalled" == n.modStatus.CurrentStatus && + !1 === (null == n.config ? null : n.config.IsCommitted) && + n.disableSync() + ), + t( + e, + 24, + 0, + n.modStatusLoaded && + "ModInstalled" == n.modStatus.CurrentStatus && + !0 === (null == n.config ? null : n.config.IsCommitted) && + !n.appIntegrated + ), + t( + e, + 26, + 0, + n.modStatusLoaded && + "ModInstalled" == n.modStatus.CurrentStatus && + !0 === (null == n.config ? null : n.config.IsCommitted) && + n.appIntegrated + ), + t( + e, + 28, + 0, + n.modStatusLoaded && + "ModInstalled" == n.modStatus.CurrentStatus && + n.showBrowser + ), + t( + e, + 30, + 0, + n.modStatusLoaded && + "ModInstalled" == n.modStatus.CurrentStatus && + n.showRefreshButton + ), + t(e, 32, 0, n.modStatusLoaded && n.showBackButton), + t(e, 34, 0, n.modStatusLoaded), + t(e, 36, 0, n.modStatusLoaded), + t(e, 39, 0, "column"), + t(e, 41, 0), + t(e, 42, 0, "column"), + t( + e, + 44, + 0, + !n.modStatusLoaded || + (null == n.config.Config && + "ModInstalled" == n.modStatus.CurrentStatus) + ); + }, + function(t, e) { + var n = e.component; + t( + e, + 2, + 0, + Io(e, 3)._toolbarRows.length > 0, + 0 === Io(e, 3)._toolbarRows.length + ), + t( + e, + 14, + 0, + Io(e, 15).inline, + "primary" !== Io(e, 15).color && + "accent" !== Io(e, 15).color && + "warn" !== Io(e, 15).color + ), + t(e, 40, 0, !n.modStatusLoaded); + } + ); + } + function hR(t) { + return zr( + 0, + [ + (t()(), + Cr( + 0, + 0, + null, + null, + 1, + "app-root", + [["class", "fullheight"]], + null, + null, + null, + mR, + QT + )), + Uo( + 1, + 114688, + null, + 0, + Ug, + [vc, jh, bg, Tg, Lg, CM, Hg, Fg], + null, + null + ) + ], + function(t, e) { + t(e, 1, 0); + }, + null + ); + } + var gR = Co("app-root", Ug, hR, {}, {}, []); + class pR {} + const fR = (() => class {})(), + bR = (() => { + class t { + constructor(t, e) { + Us(e) && + !t && + console.warn( + "Warning: Flex Layout loaded on the server without FlexLayoutServerModule" + ); + } + static withConfig(e, n = []) { + return { + ngModule: t, + providers: e.serverLoaded + ? [ + { provide: GM, useValue: Object.assign({}, WM, e) }, + { provide: ZM, useValue: n, multi: !0 }, + { provide: $M, useValue: !0 } + ] + : [ + { provide: GM, useValue: Object.assign({}, WM, e) }, + { provide: ZM, useValue: n, multi: !0 } + ] + }; + } + } + return t; + })(), + _R = (() => class {})(), + CR = (() => class {})(), + PR = (() => class {})(); + var OR; + const MR = (() => + (OR = class { + static forRoot(t) { + return { + ngModule: OR, + providers: [{ provide: "options", useValue: t }] + }; + } + }))(); + var yR = Hl(Ul, [Ug], function(t) { + return (function(t) { + const e = {}, + n = []; + let a = !1; + for (let o = 0; o < t.length; o++) { + const i = t[o]; + i.token === xn && !0 === i.value && (a = !0), + 1073741824 & i.flags && n.push(i.token), + (i.index = o), + (e[ka(i.token)] = i); + } + return { + factory: null, + providersByKey: e, + providers: t, + modules: n, + isRoot: a + }; + })([ + co(512, An, Tn, [ + [ + 8, + [ + Jg, + ap, + IP, + vM, + EM, + DM, + dv, + Fw, + Kw, + Qw, + aS, + sS, + $E, + ZI, + eA, + iA, + zA, + HA, + WA, + QA, + CT, + kT, + gR + ] + ], + [3, An], + Dn + ]), + co(5120, mr, pr, [[3, mr]]), + co(4608, hs, gs, [mr, [2, ms]]), + co(5120, ri, fr, [Di]), + co(5120, mi, hi, []), + co(5120, na, hr, []), + co(5120, aa, gr, []), + co(4608, mu, hu, [Bs]), + co(6144, dn, null, [mu]), + co(4608, iu, Rf, [[2, If], [2, Mf]]), + co( + 5120, + Td, + function(t, e, n, a, o, i, r, l) { + return [new au(t, e, n), new uu(a), new su(o, i, r, l)]; + }, + [Bs, Di, fi, Bs, Bs, iu, _i, [2, ru]] + ), + co(4608, Rd, Rd, [Td, Di]), + co(135680, zd, zd, [Bs]), + co(4608, Ud, Ud, [Rd, zd, mi]), + co(5120, Jb, _P, []), + co(5120, tC, CP, []), + co(4608, zC, bP, [Bs, Jb, tC]), + co(5120, Vn, PP, [Ud, zC, Di]), + co(6144, Nd, null, [zd]), + co(4608, Hi, Hi, [Di]), + co(5120, Am, mg, [jh]), + co(4608, Jh, Jh, []), + co(6144, Qh, null, [Jh]), + co(135680, tg, tg, [jh, ci, vi, Wt, Qh]), + co(4608, Xh, Xh, []), + co(5120, eg, lg, [jh, qs, ng]), + co(5120, fg, pg, [hg]), + co( + 5120, + bi, + function(t, e, n) { + return [ + t, + ((a = e), + (o = n), + () => { + if (js(o)) { + const t = Array.from( + a.querySelectorAll("[class*=flex-layout-]") + ), + e = /\bflex-layout-.+?\b/g; + t.forEach(t => { + t.classList.contains("flex-layout-ssr") && t.parentNode + ? t.parentNode.removeChild(t) + : t.className.replace(e, ""); + }); + } + }) + ]; + var a, o; + }, + [fg, Bs, fi] + ), + co(4608, vb, sP, [Vn, Bs]), + co(4608, rM, rM, [UO, ZO, An, oM, $O, Wt, Di, Bs, hp, [2, os]]), + co(5120, lM, sM, [rM]), + co(5120, bM, _M, [rM]), + co(135680, CM, CM, [rM, Wt, [2, os], [2, fM], bM, [3, CM], ZO]), + co(4608, _c, Cc, [Bs, fi, fc]), + co(4608, Pc, Pc, [_c, bc]), + co( + 5120, + dc, + function(t) { + return [t]; + }, + [Pc] + ), + co(4608, gc, gc, []), + co(6144, hc, null, [gc]), + co(4608, pc, pc, [hc]), + co(6144, Ws, null, [pc]), + co(4608, Ys, Oc, [Ws, Wt]), + co(4608, sc, sc, [Ys]), + co(4608, Jy, Jy, []), + co(4608, Uk, Uk, []), + co(4608, lk, lk, []), + co(5120, bx, _x, [rM]), + co(4608, Ef, Ef, []), + co(4608, Gv, Gv, [Bs, Di, NO, Yv]), + co(5120, Cv, Pv, [rM]), + co(4608, _I, _I, []), + co(4608, MI, MI, []), + co(4608, PT, PT, [Bs, fi]), + co(1073742336, Fs, Fs, []), + co(1073742336, zg, zg, []), + co(1024, Le, Ou, []), + co( + 1024, + Gi, + function() { + return [ig()]; + }, + [] + ), + co(512, hg, hg, [Wt]), + co( + 1024, + di, + function(t, e) { + return [ + ((n = t), + Ed("probe", Ad), + Ed( + "coreTokens", + Object.assign( + {}, + Id, + (n || []).reduce((t, e) => ((t[e.name] = e.token), t), {}) + ) + ), + () => Ad), + gg(e) + ]; + var n; + }, + [[2, Gi], hg] + ), + co(512, ui, ui, [[2, di]]), + co(131584, Ji, Ji, [Di, _i, Wt, Le, An, ui]), + co(1073742336, br, br, [Ji]), + co(1073742336, Mu, Mu, [[3, Mu]]), + co(1024, ag, cg, [[3, jh]]), + co(512, cm, dm, []), + co(512, Gh, Gh, []), + co(256, ng, {}, []), + co(1024, ns, sg, [ts, [2, as], ng]), + co(512, os, os, [ns, ts]), + co(512, vi, vi, []), + co(512, ci, ar, [vi, [2, er]]), + co( + 1024, + Nh, + function() { + return [ + [ + { path: "setup", component: kP }, + { path: "setupstep1", component: AP }, + { path: "setupstep2", component: xM }, + { path: "setupstep3", component: IM }, + { + path: "main", + component: iv, + children: [ + { path: "playlists", component: Rw }, + { path: "browser", component: Vw }, + { path: "tools", component: Yw }, + { path: "upload", component: Jw }, + { path: "credits", component: oS }, + { path: "sync-saber", component: TE }, + { path: "mods", component: NI } + ] + } + ] + ]; + }, + [] + ), + co(1024, jh, ug, [ + Ji, + cm, + Gh, + os, + Wt, + ci, + vi, + Nh, + ng, + [2, Lh], + [2, Rh] + ]), + co(1073742336, rg, rg, [[2, ag], [2, jh]]), + co(1073742336, pR, pR, []), + co(1073742336, MP, MP, []), + co(1073742336, gp, gp, []), + co(1073742336, Mf, Mf, [[2, Of], [2, ru]]), + co(1073742336, Mp, Mp, []), + co(1073742336, Kf, Kf, []), + co(1073742336, yb, yb, []), + co(1073742336, up, up, []), + co(1073742336, fb, fb, []), + co(1073742336, GT, GT, []), + co(1073742336, BP, BP, []), + co(1073742336, TO, TO, []), + co(1073742336, cM, cM, []), + co(1073742336, PM, PM, []), + co(1073742336, bS, bS, []), + co(1073742336, Mc, Mc, []), + co(1073742336, yc, yc, []), + co(1073742336, nv, nv, []), + co(1073742336, Pf, Pf, []), + co(1073742336, UM, UM, []), + co(1073742336, qM, qM, []), + co(1073742336, Xy, Xy, []), + co(1073742336, Bx, Bx, []), + co(1073742336, fR, fR, []), + co(1073742336, bR, bR, [[2, $M], fi]), + co(1073742336, zf, zf, []), + co(1073742336, dT, dT, []), + co(1073742336, _R, _R, []), + co(1073742336, jk, jk, []), + co(1073742336, Kk, Kk, []), + co(1073742336, Ox, Ox, []), + co(1073742336, Mx, Mx, []), + co(1073742336, CR, CR, []), + co(1073742336, Jk, Jk, []), + co(1073742336, tw, tw, []), + co(1073742336, ZS, ZS, []), + co(1073742336, RO, RO, []), + co(1073742336, PR, PR, []), + co(1073742336, ox, ox, []), + co(1073742336, oE, oE, []), + co(1073742336, qk, qk, []), + co(1073742336, PE, PE, []), + co(1073742336, kE, kE, []), + co(1073742336, vv, vv, []), + co(1073742336, NS, NS, []), + co(1073742336, Yf, Yf, []), + co(1073742336, oI, oI, []), + co(1073742336, aI, aI, []), + co(1073742336, MR, MR, []), + co(1073742336, vI, vI, []), + co(1073742336, OI, OI, []), + co(1073742336, Ul, Ul, []), + co(256, xn, !0, []), + co(256, OP, "BrowserAnimations", []), + co(256, fc, "XSRF-TOKEN", []), + co(256, bc, "X-XSRF-TOKEN", []), + co(256, jS, { separatorKeyCodes: [Tp] }, []), + co( + 256, + yg, + { + default: Ng, + config: { + positionClass: "toast-bottom-right", + preventDuplicates: !0 + } + }, + [] + ) + ]); + }); + (function() { + if (Be) + throw new Error("Cannot enable prod mode after platform setup."); + Fe = !1; + })(), + Pu() + .bootstrapModuleFactory(yR) + .catch(t => console.error(t)); + }, + zfKp: function(t, e, n) { + "use strict"; + e.observable = + ("function" == typeof Symbol && Symbol.observable) || "@@observable"; + }, + zn8P: function(t, e) { + function n(t) { + return Promise.resolve().then(function() { + var e = new Error("Cannot find module '" + t + "'"); + throw ((e.code = "MODULE_NOT_FOUND"), e); + }); + } + (n.keys = function() { + return []; + }), + (n.resolve = n), + (t.exports = n), + (n.id = "zn8P"); + } + }, + [[0, 0]] +]); diff --git a/BeatOn/Assets/www/main-es5.7349fed99bbb0fe5c82b.js b/BeatOn/Assets/www/main-es5.7349fed99bbb0fe5c82b.js deleted file mode 100644 index 7d810a0..0000000 --- a/BeatOn/Assets/www/main-es5.7349fed99bbb0fe5c82b.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(t,e,n){t.exports=n("zUnb")},yLV6:function(t,e,n){var o;!function(r,a,i,l){"use strict";var s,c=["","webkit","Moz","MS","ms","o"],u=a.createElement("div"),d="function",p=Math.round,m=Math.abs,f=Date.now;function h(t,e,n){return setTimeout(P(t,n),e)}function g(t,e,n){return!!Array.isArray(t)&&(b(t,n[e],n),!0)}function b(t,e,n){var o;if(t)if(t.forEach)t.forEach(e,n);else if(t.length!==l)for(o=0;o\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",a=r.console&&(r.console.warn||r.console.log);return a&&a.call(r.console,o,n),t.apply(this,arguments)}}s="function"!=typeof Object.assign?function(t){if(t===l||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n-1}function E(t){return t.trim().split(/\s+/g)}function T(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var o=0;on[e]}):o.sort()),o}function A(t,e){for(var n,o,r=e[0].toUpperCase()+e.slice(1),a=0;a1&&!n.firstMultiple?n.firstMultiple=et(e):1===r&&(n.firstMultiple=!1);var a=n.firstInput,i=n.firstMultiple,s=i?i.center:a.center,c=e.center=nt(o);e.timeStamp=f(),e.deltaTime=e.timeStamp-a.timeStamp,e.angle=it(s,c),e.distance=at(s,c),function(t,e){var n=e.center,o=t.offsetDelta||{},r=t.prevDelta||{},a=t.prevInput||{};e.eventType!==j&&a.eventType!==B||(r=t.prevDelta={x:a.deltaX||0,y:a.deltaY||0},o=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=r.x+(n.x-o.x),e.deltaY=r.y+(n.y-o.y)}(n,e),e.offsetDirection=rt(e.deltaX,e.deltaY);var u,d,p=ot(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=p.x,e.overallVelocityY=p.y,e.overallVelocity=m(p.x)>m(p.y)?p.x:p.y,e.scale=i?(u=i.pointers,at((d=o)[0],d[1],$)/at(u[0],u[1],$)):1,e.rotation=i?function(t,e){return it(o[1],o[0],$)+it(t[1],t[0],$)}(i.pointers):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,function(t,e){var n,o,r,a,i=t.lastInterval||e,s=e.timeStamp-i.timeStamp;if(e.eventType!=H&&(s>V||i.velocity===l)){var c=e.deltaX-i.deltaX,u=e.deltaY-i.deltaY,d=ot(s,c,u);o=d.x,r=d.y,n=m(d.x)>m(d.y)?d.x:d.y,a=rt(c,u),t.lastInterval=e}else n=i.velocity,o=i.velocityX,r=i.velocityY,a=i.direction;e.velocity=n,e.velocityX=o,e.velocityY=r,e.direction=a}(n,e);var h=t.element;k(e.srcEvent.target,h)&&(h=e.srcEvent.target),e.target=h}(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function et(t){for(var e=[],n=0;n=m(e)?t<0?q:W:e<0?Y:G}function at(t,e,n){n||(n=X);var o=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return Math.sqrt(o*o+r*r)}function it(t,e,n){return n||(n=X),180*Math.atan2(e[n[1]]-t[n[1]],e[n[0]]-t[n[0]])/Math.PI}J.prototype={handler:function(){},init:function(){this.evEl&&x(this.element,this.evEl,this.domHandler),this.evTarget&&x(this.target,this.evTarget,this.domHandler),this.evWin&&x(N(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&w(this.element,this.evEl,this.domHandler),this.evTarget&&w(this.target,this.evTarget,this.domHandler),this.evWin&&w(N(this.element),this.evWin,this.domHandler)}};var lt={mousedown:j,mousemove:2,mouseup:B},st="mousedown",ct="mousemove mouseup";function ut(){this.evEl=st,this.evWin=ct,this.pressed=!1,J.apply(this,arguments)}C(ut,J,{handler:function(t){var e=lt[t.type];e&j&&0===t.button&&(this.pressed=!0),2&e&&1!==t.which&&(e=B),this.pressed&&(e&B&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:"mouse",srcEvent:t}))}});var dt={pointerdown:j,pointermove:2,pointerup:B,pointercancel:H,pointerout:H},pt={2:"touch",3:"pen",4:"mouse",5:"kinect"},mt="pointerdown",ft="pointermove pointerup pointercancel";function ht(){this.evEl=mt,this.evWin=ft,J.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}r.MSPointerEvent&&!r.PointerEvent&&(mt="MSPointerDown",ft="MSPointerMove MSPointerUp MSPointerCancel"),C(ht,J,{handler:function(t){var e=this.store,n=!1,o=t.type.toLowerCase().replace("ms",""),r=dt[o],a=pt[t.pointerType]||t.pointerType,i="touch"==a,l=T(e,t.pointerId,"pointerId");r&j&&(0===t.button||i)?l<0&&(e.push(t),l=e.length-1):r&(B|H)&&(n=!0),l<0||(e[l]=t,this.callback(this.manager,r,{pointers:e,changedPointers:[t],pointerType:a,srcEvent:t}),n&&e.splice(l,1))}});var gt={touchstart:j,touchmove:2,touchend:B,touchcancel:H},bt="touchstart",_t="touchstart touchmove touchend touchcancel";function yt(){this.evTarget=bt,this.evWin=_t,this.started=!1,J.apply(this,arguments)}C(yt,J,{handler:function(t){var e=gt[t.type];if(e===j&&(this.started=!0),this.started){var n=(function(t,e){var n=I(t.touches),o=I(t.changedTouches);return e&(B|H)&&(n=R(n.concat(o),"identifier",!0)),[n,o]}).call(this,t,e);e&(B|H)&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:t})}}});var vt={touchstart:j,touchmove:2,touchend:B,touchcancel:H},Ct="touchstart touchmove touchend touchcancel";function Pt(){this.evTarget=Ct,this.targetIds={},J.apply(this,arguments)}C(Pt,J,{handler:function(t){var e=vt[t.type],n=(function(t,e){var n=I(t.touches),o=this.targetIds;if(e&(2|j)&&1===n.length)return o[n[0].identifier]=!0,[n,n];var r,a,i=I(t.changedTouches),l=[],s=this.target;if(a=n.filter(function(t){return k(t.target,s)}),e===j)for(r=0;r-1&&o.splice(t,1)},Ot)}}C(Mt,J,{handler:function(t,e,n){var o="mouse"==n.pointerType;if(!(o&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if("touch"==n.pointerType)(function(t,e){t&j?(this.primaryTouch=e.changedPointers[0].identifier,xt.call(this,e)):t&(B|H)&&xt.call(this,e)}).call(this,e,n);else if(o&&(function(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,o=0;o-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var e=this,n=this.state;function o(n){e.manager.emit(n,t)}n=At&&o(e.options.event+Lt(n))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=32},canEmit:function(){for(var t=0;te.threshold&&r&e.direction},attrTest:function(t){return jt.prototype.attrTest.call(this,t)&&(this.state&It||!(this.state&It)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=Ft(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),C(Ht,jt,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&It)},emit:function(t){1!==t.scale&&(t.additionalEvent=this.options.event+(t.scale<1?"in":"out")),this._super.emit.call(this,t)}}),C(Ut,zt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,o=t.distancee.time;if(this._input=t,!o||!n||t.eventType&(B|H)&&!r)this.reset();else if(t.eventType&j)this.reset(),this._timer=h(function(){this.state=Dt,this.tryEmit()},e.time,this);else if(t.eventType&B)return Dt;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===Dt&&(t&&t.eventType&B?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=f(),this.manager.emit(this.options.event,this._input)))}}),C(qt,jt,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&It)}}),C(Wt,jt,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Z|Q,pointers:1},getTouchAction:function(){return Bt.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&(Z|Q)?e=t.overallVelocity:n&Z?e=t.overallVelocityX:n&Q&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&m(e)>this.options.velocity&&t.eventType&B},emit:function(t){var e=Ft(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),C(Yt,zt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return["manipulation"]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,o=t.distance=0;l--)(r=t[l])&&(i=(a<3?r(i):a>3?r(e,n,i):r(e,n))||i);return a>3&&i&&Object.defineProperty(e,n,i),i}function l(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function s(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function c(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var o,r,a=n.call(t),i=[];try{for(;(void 0===e||e-- >0)&&!(o=a.next()).done;)i.push(o.value)}catch(l){r={error:l}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return i}function u(){for(var t=[],e=0;e0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(Q);function rt(t){return t}function at(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),et(rt,t)}function it(){for(var t=[],e=0;e1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof r&&(n=t.pop()),null===o&&1===t.length&&t[0]instanceof E?t[0]:at(n)(J(t,o))}function lt(){return function(t){return t.lift(new st(t))}}var st=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var o=new ct(t,n),r=e.subscribe(o);return o.closed||(o.connection=n.connect()),r},t}(),ct=function(t){function e(e,n){var o=t.call(this,e)||this;return o.connectable=n,o}return r(e,t),e.prototype._unsubscribe=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,o=t._connection;this.connection=null,!o||n&&o!==n||o.unsubscribe()}}else this.connection=null},e}(O),ut=function(t){function e(e,n){var o=t.call(this)||this;return o.source=e,o.subjectFactory=n,o._refCount=0,o._isComplete=!1,o}return r(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new g).add(this.source.subscribe(new pt(this.getSubject(),this))),t.closed?(this._connection=null,t=g.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return lt()(this)},e}(E).prototype,dt={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:ut._subscribe},_isComplete:{value:ut._isComplete,writable:!0},getSubject:{value:ut.getSubject},connect:{value:ut.connect},refCount:{value:ut.refCount}},pt=function(t){function e(e,n){var o=t.call(this,e)||this;return o.connectable=n,o}return r(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(D);function mt(){return new N}function ft(){return function(t){return lt()((e=mt,function(t){var n;n="function"==typeof e?e:function(){return e};var o=Object.create(t,dt);return o.source=t,o.subjectFactory=n,o})(t));var e}}var ht="__parameters__",gt="__prop__metadata__";function bt(t){return function(){for(var e=[],n=0;n ");else if("object"==typeof e){var a=[];for(var i in e)if(e.hasOwnProperty(i)){var l=e[i];a.push(i+":"+("string"==typeof l?JSON.stringify(l):Tt(l)))}r="{"+a.join(", ")+"}"}return n+(o?"("+o+")":"")+"["+r+"]: "+t.replace($t,"\n ")}function oe(t,e){return new Error(ne(t,e,"StaticInjectorError"))}var re="ngDebugContext",ae="ngOriginalError",ie="ngErrorLogger",le=new Bt("AnalyzeForEntryComponents"),se=function(t){return t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({}),ce=function(){return("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(zt)}();function ue(t){return t[re]}function de(t){return t[ae]}function pe(t){for(var e=[],n=1;n',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='

',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return t.prototype.getInertBodyElement_XHR=function(t){t=""+t+"";try{t=encodeURI(t)}catch(o){return null}var e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(void 0);var n=e.response.body;return n.removeChild(n.firstChild),n},t.prototype.getInertBodyElement_DOMParser=function(t){t=""+t+"";try{var e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(n){return null}},t.prototype.getInertBodyElement_InertDocument=function(t){var e=this.inertDocument.createElement("template");return"content"in e?(e.innerHTML=t,e):(this.inertBodyElement.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},t.prototype.stripCustomNsAttrs=function(t){for(var e=t.attributes,n=e.length-1;0"),!0},t.prototype.endElement=function(t){var e=t.nodeName.toLowerCase();Se.hasOwnProperty(e)&&!Me.hasOwnProperty(e)&&(this.buf.push(""))},t.prototype.chars=function(t){this.buf.push(ze(t))},t.prototype.checkClobberedElement=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: "+t.outerHTML);return e},t}(),De=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ne=/([^\#-~ |!])/g;function ze(t){return t.replace(/&/g,"&").replace(De,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Ne,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}function Le(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Fe=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({}),Ve=function(){return function(){}}(),je=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Be=/^url\(([^)]+)\)$/,He=/([A-Z])/g;function Ue(t){try{return null!=t?t.toString().slice(0,30):t}catch(e){return"[ERROR] Exception while trying to serialize the value"}}function qe(t){return!!t&&"function"==typeof t.then}function We(t){return!!t&&"function"==typeof t.subscribe}var Ye=null;function Ge(){if(!Ye){var t=zt.Symbol;if(t&&t.iterator)Ye=t.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),n=0;n-1}(o)||"root"===r.providedIn&&o._def.isRoot))){var u=t._providers.length;return t._def.providers[u]=t._def.providersByKey[e.tokenKey]={flags:5120,value:l.factory,deps:[],index:u,token:e.token},t._providers[u]=Ao,t._providers[u]=Vo(t,t._def.providersByKey[e.tokenKey])}return 4&e.flags?n:t._parent.get(e.token,n)}finally{Ft(a)}}function Vo(t,e){var n;switch(201347067&e.flags){case 512:n=function(t,e,n){var o=n.length;switch(o){case 0:return new e;case 1:return new e(Fo(t,n[0]));case 2:return new e(Fo(t,n[0]),Fo(t,n[1]));case 3:return new e(Fo(t,n[0]),Fo(t,n[1]),Fo(t,n[2]));default:for(var r=new Array(o),a=0;a=n.length)&&(e=n.length-1),e<0)return null;var o=n[e];return o.viewContainerParent=null,qo(n,e),$n.dirtyParentQueries(o),Ho(o),o}function Bo(t,e,n){var o=e?go(e,e.def.lastRenderRootNode):t.renderElement,r=n.renderer.parentNode(o),a=n.renderer.nextSibling(o);xo(n,2,r,a,void 0)}function Ho(t){xo(t,3,null,null,void 0)}function Uo(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function qo(t,e){e>=t.length-1?t.pop():t.splice(e,1)}var Wo=new Object;function Yo(t,e,n,o,r,a){return new Go(t,e,n,o,r,a)}var Go=function(t){function e(e,n,o,r,a,i){var l=t.call(this)||this;return l.selector=e,l.componentType=n,l._inputs=r,l._outputs=a,l.ngContentSelectors=i,l.viewDefFactory=o,l}return r(e,t),Object.defineProperty(e.prototype,"inputs",{get:function(){var t=[],e=this._inputs;for(var n in e)t.push({propName:n,templateName:e[n]});return t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){var t=[];for(var e in this._outputs)t.push({propName:e,templateName:this._outputs[e]});return t},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,o){if(!o)throw new Error("ngModule should be provided");var r=Mo(this.viewDefFactory),a=r.nodes[0].element.componentProvider.nodeIndex,i=$n.createRootView(t,e||[],n,r,o,Wo),l=Qn(i,a).instance;return n&&i.renderer.setAttribute(Zn(i,0).renderElement,"ng-version",vn.full),new Zo(i,new $o(i),l)},e}(nn),Zo=function(t){function e(e,n,o){var r=t.call(this)||this;return r._view=e,r._viewRef=n,r._component=o,r._elDef=r._view.def.nodes[0],r.hostView=n,r.changeDetectorRef=n,r.instance=o,r}return r(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return new mn(Zn(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new nr(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._viewRef.destroy()},e.prototype.onDestroy=function(t){this._viewRef.onDestroy(t)},e}(en);function Qo(t,e,n){return new Ko(t,e,n)}var Ko=function(){function t(t,e,n){this._view=t,this._elDef=e,this._data=n,this._embeddedViews=[]}return Object.defineProperty(t.prototype,"element",{get:function(){return new mn(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new nr(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){for(var t=this._view,e=this._elDef.parent;!e&&t;)e=ho(t),t=t.parent;return t?new nr(t,e):new nr(this._view,null)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(var t=this._embeddedViews.length-1;t>=0;t--){var e=jo(this._data,t);$n.destroyView(e)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new $o(e);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){var o=t.createEmbeddedView(e||{});return this.insert(o,n),o},t.prototype.createComponent=function(t,e,n,o,r){var a=n||this.parentInjector;r||t instanceof cn||(r=a.get(un));var i=t.create(a,o,void 0,r);return this.insert(i.hostView,e),i},t.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,o,r,a,i=t;return a=(n=this._data).viewContainer._embeddedViews,null==(o=e)&&(o=a.length),(r=i._view).viewContainerParent=this._view,Uo(a,o,r),function(t,e){var n=fo(e);if(n&&n!==t&&!(16&e.state)){e.state|=16;var o=n.template._projectedViews;o||(o=n.template._projectedViews=[]),o.push(e),function(t,n){if(!(4&n.flags)){e.parent.def.nodeFlags|=4,n.flags|=4;for(var o=n.parent;o;)o.childFlags|=4,o=o.parent}}(0,e.parentNodeDef)}}(n,r),$n.dirtyParentQueries(r),Bo(n,o>0?a[o-1]:null,r),i.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,o,r,a,i,l=this._embeddedViews.indexOf(t._view);return r=e,i=(a=(n=this._data).viewContainer._embeddedViews)[o=l],qo(a,o),null==r&&(r=a.length),Uo(a,r,i),$n.dirtyParentQueries(i),Ho(i),Bo(n,r>0?a[r-1]:null,i),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=jo(this._data,t);e&&$n.destroyView(e)},t.prototype.detach=function(t){var e=jo(this._data,t);return e?new $o(e):null},t}();function Xo(t){return new $o(t)}var $o=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return xo(this._view,0,void 0,void 0,t=[]),t;var t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){uo(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin();try{$n.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){$n.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),$n.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,Ho(this._view),$n.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}();function Jo(t,e){return new tr(t,e)}var tr=function(t){function e(e,n){var o=t.call(this)||this;return o._parentView=e,o._def=n,o}return r(e,t),e.prototype.createEmbeddedView=function(t){return new $o($n.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new mn(Zn(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(Fn);function er(t,e){return new nr(t,e)}var nr=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){return void 0===e&&(e=Yt.THROW_IF_NOT_FOUND),$n.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:eo(t)},e)},t}();function or(t,e){var n=t.def.nodes[e];if(1&n.flags){var o=Zn(t,n.nodeIndex);return n.element.template?o.template:o.renderElement}if(2&n.flags)return Gn(t,n.nodeIndex).renderText;if(20240&n.flags)return Qn(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function rr(t){return new ar(t.renderer)}var ar=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,e){var n=c(Io(e),2),o=this.delegate.createElement(n[1],n[0]);return t&&this.delegate.appendChild(t,o),o},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e},t.prototype.createText=function(t,e){var n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n},t.prototype.projectNodes=function(t,e){for(var n=0;n0,e.provider.value,e.provider.deps);if(e.outputs.length)for(var o=0;o0,o=e.provider;switch(201347067&e.flags){case 512:return xr(t,e.parent,n,o.value,o.deps);case 1024:return function(t,e,n,o,r){var a=r.length;switch(a){case 0:return o();case 1:return o(kr(t,e,n,r[0]));case 2:return o(kr(t,e,n,r[0]),kr(t,e,n,r[1]));case 3:return o(kr(t,e,n,r[0]),kr(t,e,n,r[1]),kr(t,e,n,r[2]));default:for(var i=Array(a),l=0;l0&&(r=setTimeout(function(){o._callbacks=o._callbacks.filter(function(t){return t.timeoutId!==r}),t(o._didWork,o.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:n})},t.prototype.whenStable=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/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()},t.prototype.getPendingRequestCount=function(){return this._pendingCount},t.prototype.findProviders=function(t,e,n){return[]},t}(),ya=function(){function t(){this._applications=new Map,va.addToWindow(this)}return t.prototype.registerApplication=function(t,e){this._applications.set(t,e)},t.prototype.unregisterApplication=function(t){this._applications.delete(t)},t.prototype.unregisterAllApplications=function(){this._applications.clear()},t.prototype.getTestability=function(t){return this._applications.get(t)||null},t.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},t.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},t.prototype.findTestabilityInTree=function(t,e){return void 0===e&&(e=!0),va.findTestabilityInTree(this,t,e)},i([l("design:paramtypes",[])],t)}(),va=new(function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}()),Ca=new Bt("AllowMultipleToken"),Pa=function(){return function(t,e){this.name=t,this.token=e}}();function Oa(t,e,n){void 0===n&&(n=[]);var o="Platform: "+e,r=new Bt(o);return function(e){void 0===e&&(e=[]);var a=Ma();if(!a||a.injector.get(Ca,!1))if(t)t(n.concat(e).concat({provide:r,useValue:!0}));else{var i=n.concat(e).concat({provide:r,useValue:!0});!function(t){if(ga&&!ga.destroyed&&!ga.injector.get(Ca,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");ga=t.get(xa);var e=t.get(qr,null);e&&e.forEach(function(t){return t()})}(Yt.create({providers:i,name:o}))}return function(t){var e=Ma();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 Ma(){return ga&&!ga.destroyed?ga:null}var xa=function(){function t(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return t.prototype.bootstrapModuleFactory=function(t,e){var n,o=this,r="noop"===(n=e?e.ngZone:void 0)?new ba:("zone.js"===n?void 0:n)||new ua({enableLongStackTrace:ge()}),a=[{provide:ua,useValue:r}];return r.run(function(){var e=Yt.create({providers:a,parent:o.injector,name:t.moduleType.name}),n=t.create(e),i=n.injector.get(me,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return Sa(o._modules,n)}),r.runOutsideAngular(function(){return r.onError.subscribe({next:function(t){i.handleError(t)}})}),function(t,e,r){try{var a=((i=n.injector.get(jr)).runInitializers(),i.donePromise.then(function(){return o._moduleDoBootstrap(n),n}));return qe(a)?a.catch(function(n){throw e.runOutsideAngular(function(){return t.handleError(n)}),n}):a}catch(l){throw e.runOutsideAngular(function(){return t.handleError(l)}),l}var i}(i,r)})},t.prototype.bootstrapModule=function(t,e){var n=this;void 0===e&&(e=[]);var o=wa({},e);return function(t,e,n){return t.get(na).createCompiler([e]).compileModuleAsync(n)}(this.injector,o,t).then(function(t){return n.bootstrapModuleFactory(t,o)})},t.prototype._moduleDoBootstrap=function(t){var e=t.injector.get(ka);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+Tt(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)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=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},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t}();function wa(t,e){return Array.isArray(e)?e.reduce(wa,t):a({},t,e)}var ka=function(){function t(t,e,n,o,r,a){var i=this;this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=o,this._componentFactoryResolver=r,this._initStatus=a,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=ge(),this._zone.onMicrotaskEmpty.subscribe({next:function(){i._zone.run(function(){i.tick()})}});var l=new E(function(t){i._stable=i._zone.isStable&&!i._zone.hasPendingMacrotasks&&!i._zone.hasPendingMicrotasks,i._zone.runOutsideAngular(function(){t.next(i._stable),t.complete()})}),s=new E(function(t){var e;i._zone.runOutsideAngular(function(){e=i._zone.onStable.subscribe(function(){ua.assertNotInAngularZone(),ca(function(){i._stable||i._zone.hasPendingMacrotasks||i._zone.hasPendingMicrotasks||(i._stable=!0,t.next(!0))})})});var n=i._zone.onUnstable.subscribe(function(){ua.assertInAngularZone(),i._stable&&(i._stable=!1,i._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=it(l,s.pipe(ft()))}var e;return e=t,t.prototype.bootstrap=function(t,e){var n,o=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 nn?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var r=n instanceof cn?null:this._injector.get(un),a=n.create(Yt.NULL,[],e||n.selector,r);a.onDestroy(function(){o._unloadComponent(a)});var i=a.injector.get(_a,null);return i&&a.injector.get(ya).registerApplication(a.location.nativeElement,i),this._loadComponent(a),ge()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),a},t.prototype.tick=function(){var t,n,o,r,a=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var i=e._tickScope();try{this._runningTick=!0;try{for(var l=s(this._views),c=l.next();!c.done;c=l.next())c.value.detectChanges()}catch(p){t={error:p}}finally{try{c&&!c.done&&(n=l.return)&&n.call(l)}finally{if(t)throw t.error}}if(this._enforceNoNewChanges)try{for(var u=s(this._views),d=u.next();!d.done;d=u.next())d.value.checkNoChanges()}catch(m){o={error:m}}finally{try{d&&!d.done&&(r=u.return)&&r.call(u)}finally{if(o)throw o.error}}}catch(f){this._zone.runOutsideAngular(function(){return a._exceptionHandler.handleError(f)})}finally{this._runningTick=!1,la(i)}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;Sa(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Yr,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),Sa(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t._tickScope=ia("ApplicationRef#tick()"),t}();function Sa(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var Ea=function(){return function(){}}(),Ta={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Ia=function(){function t(t,e){this._compiler=t,this._config=e||Ta}return t.prototype.load=function(t){return this._compiler instanceof ea?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,o=c(t.split("#"),2),r=o[0],a=o[1];return void 0===a&&(a="default"),n("zn8P")(r).then(function(t){return t[a]}).then(function(t){return Ra(t,r,a)}).then(function(t){return e._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var e=c(t.split("#"),2),o=e[0],r=e[1],a="NgFactory";return void 0===r&&(r="default",a=""),n("zn8P")(this._config.factoryPathPrefix+o+this._config.factoryPathSuffix).then(function(t){return t[r+a]}).then(function(t){return Ra(t,o,r)})},t}();function Ra(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}var Aa=function(){return function(t,e){this.name=t,this.callback=e}}(),Da=function(){function t(t,e,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=t,e&&e instanceof Na&&e.addChild(this)}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),t}(),Na=function(t){function e(e,n,o){var r=t.call(this,e,n,o)||this;return r.properties={},r.attributes={},r.classes={},r.styles={},r.childNodes=[],r.nativeElement=e,r}return r(e,t),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n,o=this,r=this.childNodes.indexOf(t);-1!==r&&((n=this.childNodes).splice.apply(n,u([r+1,0],e)),e.forEach(function(e){e.parent&&e.parent.removeChild(e),t.parent=o}))},e.prototype.insertBefore=function(t,e){var n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var e=[];return function t(e,n,o){e.childNodes.forEach(function(e){e instanceof Na&&(n(e)&&o.push(e),t(e,n,o))})}(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return function t(e,n,o){e instanceof Na&&e.childNodes.forEach(function(e){n(e)&&o.push(e),e instanceof Na&&t(e,n,o)})}(this,t,e),e},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter(function(t){return t instanceof e})},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach(function(n){n.name==t&&n.callback(e)})},e}(Da),za=new Map,La=function(t){return za.get(t)||null};function Fa(t){za.set(t.nativeNode,t)}var Va=Oa(null,"core",[{provide:Wr,useValue:"unknown"},{provide:xa,deps:[Yt]},{provide:ya,deps:[]},{provide:Gr,deps:[]}]),ja=new Bt("LocaleId");function Ba(){return zn}function Ha(){return Ln}function Ua(t){return t||"en-US"}function qa(t){var e=[];return t.onStable.subscribe(function(){for(;e.length;)e.pop()()}),function(t){e.push(t)}}var Wa=function(){return function(t){}}();function Ya(t,e,n,o,r,a){t|=1;var i=vo(e);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:i.matchedQueries,matchedQueryIds:i.matchedQueryIds,references:i.references,ngContentIndex:n,childCount:o,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:a?Mo(a):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:r||Jn},provider:null,text:null,query:null,ngContent:null}}function Ga(t,e,n,o,r,a,i,l,s,u,d,p){var m;void 0===i&&(i=[]),u||(u=Jn);var f=vo(n),h=f.matchedQueries,g=f.references,b=f.matchedQueryIds,_=null,y=null;a&&(_=(m=c(Io(a),2))[0],y=m[1]),l=l||[];for(var v=new Array(l.length),C=0;C0)c=h,di(h)||(u=h);else for(;c&&f===c.nodeIndex+c.childCount;){var _=c.parent;_&&(_.childFlags|=c.childFlags,_.childMatchedQueries|=c.childMatchedQueries),u=(c=_)&&di(c)?c.renderParent:c}}return{factory:null,nodeFlags:i,rootNodeFlags:l,nodeMatchedQueries:s,flags:t,nodes:e,updateDirectives:n||Jn,updateRenderer:o||Jn,handleEvent:function(t,n,o,r){return e[n].element.handleEvent(t,o,r)},bindingCount:r,outputCount:a,lastRenderRootNode:m}}function di(t){return 0!=(1&t.flags)&&null===t.element.name}function pi(t,e,n){var o=e.element&&e.element.template;if(o){if(!o.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(o.lastRenderRootNode&&16777216&o.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+e.nodeIndex+"!")}if(20224&e.flags&&0==(1&(t?t.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+e.nodeIndex+"!");if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+e.nodeIndex+"!");if(134217728&e.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.nodeIndex+"!")}if(e.childCount){var r=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=r&&e.nodeIndex+e.childCount>r)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}function mi(t,e,n,o){var r=gi(t.root,t.renderer,t,e,n);return bi(r,t.component,o),_i(r),r}function fi(t,e,n){var o=gi(t,t.renderer,null,null,e);return bi(o,n,n),_i(o),o}function hi(t,e,n,o){var r,a=e.element.componentRendererType;return r=a?t.root.rendererFactory.createRenderer(o,a):t.root.renderer,gi(t.root,r,t,e.element.componentProvider,n)}function gi(t,e,n,o,r){var a=new Array(r.nodes.length),i=r.outputCount?new Array(r.outputCount):null;return{def:r,parent:n,viewContainerParent:null,parentNodeDef:o,context:null,component:null,nodes:a,state:13,root:t,renderer:e,oldValues:new Array(r.bindingCount),disposables:i,initIndex:-1}}function bi(t,e,n){t.component=e,t.context=n}function _i(t){var e;bo(t)&&(e=Zn(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);for(var n=t.def,o=t.nodes,r=0;r0&&Xa(t,e,0,n)&&(m=!0),p>1&&Xa(t,e,1,o)&&(m=!0),p>2&&Xa(t,e,2,r)&&(m=!0),p>3&&Xa(t,e,3,a)&&(m=!0),p>4&&Xa(t,e,4,i)&&(m=!0),p>5&&Xa(t,e,5,l)&&(m=!0),p>6&&Xa(t,e,6,s)&&(m=!0),p>7&&Xa(t,e,7,c)&&(m=!0),p>8&&Xa(t,e,8,u)&&(m=!0),p>9&&Xa(t,e,9,d)&&(m=!0),m}(t,e,n,o,r,a,i,l,s,c,u,d);case 2:return function(t,e,n,o,r,a,i,l,s,c,u,d){var p=!1,m=e.bindings,f=m.length;if(f>0&&so(t,e,0,n)&&(p=!0),f>1&&so(t,e,1,o)&&(p=!0),f>2&&so(t,e,2,r)&&(p=!0),f>3&&so(t,e,3,a)&&(p=!0),f>4&&so(t,e,4,i)&&(p=!0),f>5&&so(t,e,5,l)&&(p=!0),f>6&&so(t,e,6,s)&&(p=!0),f>7&&so(t,e,7,c)&&(p=!0),f>8&&so(t,e,8,u)&&(p=!0),f>9&&so(t,e,9,d)&&(p=!0),p){var h=e.text.prefix;f>0&&(h+=ci(n,m[0])),f>1&&(h+=ci(o,m[1])),f>2&&(h+=ci(r,m[2])),f>3&&(h+=ci(a,m[3])),f>4&&(h+=ci(i,m[4])),f>5&&(h+=ci(l,m[5])),f>6&&(h+=ci(s,m[6])),f>7&&(h+=ci(c,m[7])),f>8&&(h+=ci(u,m[8])),f>9&&(h+=ci(d,m[9]));var g=Gn(t,e.nodeIndex).renderText;t.renderer.setValue(g,h)}return p}(t,e,n,o,r,a,i,l,s,c,u,d);case 16384:return function(t,e,n,o,r,a,i,l,s,c,u,d){var p=Qn(t,e.nodeIndex),m=p.instance,f=!1,h=void 0,g=e.bindings.length;return g>0&&lo(t,e,0,n)&&(f=!0,h=Er(t,p,e,0,n,h)),g>1&&lo(t,e,1,o)&&(f=!0,h=Er(t,p,e,1,o,h)),g>2&&lo(t,e,2,r)&&(f=!0,h=Er(t,p,e,2,r,h)),g>3&&lo(t,e,3,a)&&(f=!0,h=Er(t,p,e,3,a,h)),g>4&&lo(t,e,4,i)&&(f=!0,h=Er(t,p,e,4,i,h)),g>5&&lo(t,e,5,l)&&(f=!0,h=Er(t,p,e,5,l,h)),g>6&&lo(t,e,6,s)&&(f=!0,h=Er(t,p,e,6,s,h)),g>7&&lo(t,e,7,c)&&(f=!0,h=Er(t,p,e,7,c,h)),g>8&&lo(t,e,8,u)&&(f=!0,h=Er(t,p,e,8,u,h)),g>9&&lo(t,e,9,d)&&(f=!0,h=Er(t,p,e,9,d,h)),h&&m.ngOnChanges(h),65536&e.flags&&Yn(t,256,e.nodeIndex)&&m.ngOnInit(),262144&e.flags&&m.ngDoCheck(),f}(t,e,n,o,r,a,i,l,s,c,u,d);case 32:case 64:case 128:return function(t,e,n,o,r,a,i,l,s,c,u,d){var p=e.bindings,m=!1,f=p.length;if(f>0&&so(t,e,0,n)&&(m=!0),f>1&&so(t,e,1,o)&&(m=!0),f>2&&so(t,e,2,r)&&(m=!0),f>3&&so(t,e,3,a)&&(m=!0),f>4&&so(t,e,4,i)&&(m=!0),f>5&&so(t,e,5,l)&&(m=!0),f>6&&so(t,e,6,s)&&(m=!0),f>7&&so(t,e,7,c)&&(m=!0),f>8&&so(t,e,8,u)&&(m=!0),f>9&&so(t,e,9,d)&&(m=!0),m){var h=Kn(t,e.nodeIndex),g=void 0;switch(201347067&e.flags){case 32:g=new Array(p.length),f>0&&(g[0]=n),f>1&&(g[1]=o),f>2&&(g[2]=r),f>3&&(g[3]=a),f>4&&(g[4]=i),f>5&&(g[5]=l),f>6&&(g[6]=s),f>7&&(g[7]=c),f>8&&(g[8]=u),f>9&&(g[9]=d);break;case 64:g={},f>0&&(g[p[0].name]=n),f>1&&(g[p[1].name]=o),f>2&&(g[p[2].name]=r),f>3&&(g[p[3].name]=a),f>4&&(g[p[4].name]=i),f>5&&(g[p[5].name]=l),f>6&&(g[p[6].name]=s),f>7&&(g[p[7].name]=c),f>8&&(g[p[8].name]=u),f>9&&(g[p[9].name]=d);break;case 128:var b=n;switch(f){case 1:g=b.transform(n);break;case 2:g=b.transform(o);break;case 3:g=b.transform(o,r);break;case 4:g=b.transform(o,r,a);break;case 5:g=b.transform(o,r,a,i);break;case 6:g=b.transform(o,r,a,i,l);break;case 7:g=b.transform(o,r,a,i,l,s);break;case 8:g=b.transform(o,r,a,i,l,s,c);break;case 9:g=b.transform(o,r,a,i,l,s,c,u);break;case 10:g=b.transform(o,r,a,i,l,s,c,u,d)}}h.value=g}return m}(t,e,n,o,r,a,i,l,s,c,u,d);default:throw"unreachable"}}(t,e,o,r,a,i,l,s,c,d,p,m):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){for(var o=!1,r=0;r0&&co(t,e,0,n),p>1&&co(t,e,1,o),p>2&&co(t,e,2,r),p>3&&co(t,e,3,a),p>4&&co(t,e,4,i),p>5&&co(t,e,5,l),p>6&&co(t,e,6,s),p>7&&co(t,e,7,c),p>8&&co(t,e,8,u),p>9&&co(t,e,9,d)}(t,e,o,r,a,i,l,s,c,u,d,p):function(t,e,n){for(var o=0;o0){var a=new Set(t.modules);ji.forEach(function(e,o){if(a.has(St(o).providedIn)){var r={token:o,flags:e.flags|(n?4096:0),deps:Co(e.deps),value:e.value,index:t.providers.length};t.providers.push(r),t.providersByKey[eo(o)]=r}})}}(t=t.factory(function(){return Jn})),t):t}(o))}var Vi=new Map,ji=new Map,Bi=new Map;function Hi(t){var e;Vi.set(t.token,t),"function"==typeof t.token&&(e=St(t.token))&&"function"==typeof e.providedIn&&ji.set(t.token,t)}function Ui(t,e){var n=Mo(e.viewDefFactory),o=Mo(n.nodes[0].element.componentView);Bi.set(t,o)}function qi(){Vi.clear(),ji.clear(),Bi.clear()}function Wi(t){if(0===Vi.size)return t;var e=function(t){for(var e=[],n=null,o=0;o0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=Rl.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,o){var r=this.prepareExternalUrl(n+Rl.normalizeQueryParams(o));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(t,e,r)},e.prototype.replaceState=function(t,e,n,o){var r=this.prepareExternalUrl(n+Rl.normalizeQueryParams(o));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,r)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(Tl),Nl=function(t){function e(e,n){var o=t.call(this)||this;if(o._platformLocation=e,null==n&&(n=o._platformLocation.getBaseHrefFromDOM()),null==n)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 o._baseHref=n,o}return r(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(t){return Rl.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+Rl.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,o){var r=this.prepareExternalUrl(n+Rl.normalizeQueryParams(o));this._platformLocation.pushState(t,e,r)},e.prototype.replaceState=function(t,e,n,o){var r=this.prepareExternalUrl(n+Rl.normalizeQueryParams(o));this._platformLocation.replaceState(t,e,r)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(Tl),zl=void 0,Ll=["en",[["a","p"],["AM","PM"],zl],[["AM","PM"],zl,zl],[["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"]],zl,[["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"]],zl,[["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}",zl,"{1} 'at' {0}",zl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}],Fl={},Vl=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),jl=new Bt("UseV4Plurals"),Bl=function(){return function(){}}(),Hl=function(t){function e(e,n){var o=t.call(this)||this;return o.locale=e,o.deprecatedPluralFn=n,o}return r(e,t),e.prototype.getPluralCategory=function(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):function(t){return function(t){var e=t.toLowerCase().replace(/_/g,"-"),n=Fl[e];if(n)return n;var o=e.split("-")[0];if(n=Fl[o])return n;if("en"===o)return Ll;throw new Error('Missing locale data for the locale "'+t+'".')}(t)[18]}(e||this.locale)(t)){case Vl.Zero:return"zero";case Vl.One:return"one";case Vl.Two:return"two";case Vl.Few:return"few";case Vl.Many:return"many";default:return"other"}},e}(Bl);function Ul(t,e){var n,o;e=encodeURIComponent(e);try{for(var r=s(t.split(";")),a=r.next();!a.done;a=r.next()){var i=a.value,l=i.indexOf("="),u=c(-1==l?[i,""]:[i.slice(0,l),i.slice(l+1)],2),d=u[1];if(u[0].trim()===e)return decodeURIComponent(d)}}catch(p){n={error:p}}finally{try{a&&!a.done&&(o=r.return)&&o.call(r)}finally{if(n)throw n.error}}return null}var ql=function(){return function(){}}(),Wl=function(){function t(t,e,n,o){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=o,this._initialClasses=[]}return t.prototype.getValue=function(){return null},t.prototype.setClass=function(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},t.prototype.setNgClass=function(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Xe(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},t.prototype.applyChanges=function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}},t.prototype._applyKeyValueChanges=function(t){var e=this;t.forEachAddedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachRemovedItem(function(t){t.previousValue&&e._toggleClass(t.key,!1)})},t.prototype._applyIterableChanges=function(t){var e=this;t.forEachAddedItem(function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Tt(t.item));e._toggleClass(t.item,!0)}),t.forEachRemovedItem(function(t){return e._toggleClass(t.item,!1)})},t.prototype._applyClasses=function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return e._toggleClass(t,!0)}):Object.keys(t).forEach(function(n){return e._toggleClass(n,!!t[n])}))},t.prototype._removeClasses=function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return e._toggleClass(t,!1)}):Object.keys(t).forEach(function(t){return e._toggleClass(t,!1)}))},t.prototype._toggleClass=function(t,e){var n=this;(t=t.trim())&&t.split(/\s+/g).forEach(function(t){e?n._renderer.addClass(n._ngEl.nativeElement,t):n._renderer.removeClass(n._ngEl.nativeElement,t)})},t}(),Yl=function(t){function e(e){return t.call(this,e)||this}return r(e,t),Object.defineProperty(e.prototype,"klass",{set:function(t){this._delegate.setClass(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClass",{set:function(t){this._delegate.setNgClass(t)},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){this._delegate.applyChanges()},e}(function(){function t(t){this._delegate=t}return t.prototype.getValue=function(){return this._delegate.getValue()},t.ngDirectiveDef=void 0,t}()),Gl=function(){function t(t,e,n,o){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=o}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),Zl=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(t.prototype,"ngForOf",{set:function(t){this._ngForOf=t,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){ge()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=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(o){throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+((e=t).name||typeof e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var e;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}},t.prototype._applyChanges=function(t){var e=this,n=[];t.forEachOperation(function(t,o,r){if(null==t.previousIndex){var a=e._viewContainer.createEmbeddedView(e._template,new Gl(null,e._ngForOf,-1,-1),r),i=new Ql(t,a);n.push(i)}else null==r?e._viewContainer.remove(o):(a=e._viewContainer.get(o),e._viewContainer.move(a,r),i=new Ql(t,a),n.push(i))});for(var o=0;o0){var o=t.slice(0,n),r=o.toLowerCase(),a=t.slice(n+1).trim();e.maybeSetNormalizedName(o,r),e.headers.has(r)?e.headers.get(r).push(a):e.headers.set(r,[a])}})}:function(){e.headers=new Map,Object.keys(t).forEach(function(n){var o=t[n],r=n.toLowerCase();"string"==typeof o&&(o=[o]),o.length>0&&(e.headers.set(r,o),e.maybeSetNormalizedName(n,r))})}:this.headers=new Map}return t.prototype.has=function(t){return this.init(),this.headers.has(t.toLowerCase())},t.prototype.get=function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null},t.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},t.prototype.getAll=function(t){return this.init(),this.headers.get(t.toLowerCase())||null},t.prototype.append=function(t,e){return this.clone({name:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({name:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({name:t,value:e,op:"d"})},t.prototype.maybeSetNormalizedName=function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)},t.prototype.init=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))},t.prototype.copyFrom=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))})},t.prototype.clone=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},t.prototype.applyUpdate=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 o=("a"===t.op?this.headers.get(e):void 0)||[];o.push.apply(o,u(n)),this.headers.set(e,o);break;case"d":var r=t.value;if(r){var a=this.headers.get(e);if(!a)return;0===(a=a.filter(function(t){return-1===r.indexOf(t)})).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}else this.headers.delete(e),this.normalizedNames.delete(e)}},t.prototype.forEach=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}(),vs=function(){function t(){}return t.prototype.encodeKey=function(t){return Cs(t)},t.prototype.encodeValue=function(t){return Cs(t)},t.prototype.decodeKey=function(t){return decodeURIComponent(t)},t.prototype.decodeValue=function(t){return decodeURIComponent(t)},t}();function Cs(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var Ps=function(){function t(t){var e,n,o,r=this;if(void 0===t&&(t={}),this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new vs,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(e=t.fromString,n=this.encoder,o=new Map,e.length>0&&e.split("&").forEach(function(t){var e=t.indexOf("="),r=c(-1==e?[n.decodeKey(t),""]:[n.decodeKey(t.slice(0,e)),n.decodeValue(t.slice(e+1))],2),a=r[0],i=r[1],l=o.get(a)||[];l.push(i),o.set(a,l)}),o)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(function(e){var n=t.fromObject[e];r.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}return t.prototype.has=function(t){return this.init(),this.map.has(t)},t.prototype.get=function(t){this.init();var e=this.map.get(t);return e?e[0]:null},t.prototype.getAll=function(t){return this.init(),this.map.get(t)||null},t.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},t.prototype.append=function(t,e){return this.clone({param:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({param:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({param:t,value:e,op:"d"})},t.prototype.toString=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("&")}).join("&")},t.prototype.clone=function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([e]),n},t.prototype.init=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(e.value),t.map.set(e.param,n);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var o=t.map.get(e.param)||[],r=o.indexOf(e.value);-1!==r&&o.splice(r,1),o.length>0?t.map.set(e.param,o):t.map.delete(e.param)}}),this.cloneFrom=this.updates=null)},t}();function Os(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function Ms(t){return"undefined"!=typeof Blob&&t instanceof Blob}function xs(t){return"undefined"!=typeof FormData&&t instanceof FormData}var ws=function(){function t(t,e,n,o){var 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)||o?(this.body=void 0!==n?n:null,r=o):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.params&&(this.params=r.params)),this.headers||(this.headers=new ys),this.params){var a=this.params.toString();if(0===a.length)this.urlWithParams=e;else{var i=e.indexOf("?");this.urlWithParams=e+(-1===i?"?":i=200&&this.status<300}}(),Es=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=ks.ResponseHeader,n}return r(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({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})},e}(Ss),Ts=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=ks.Response,n.body=void 0!==e.body?e.body:null,n}return r(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({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})},e}(Ss),Is=function(t){function e(e){var n=t.call(this,e,0,"Unknown Error")||this;return n.name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):"Http failure response for "+(e.url||"(unknown url)")+": "+e.status+" "+e.statusText,n.error=e.error||null,n}return r(e,t),e}(Ss);function Rs(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var As=function(){function t(t){this.handler=t}return t.prototype.request=function(t,e,n){var o,r=this;if(void 0===n&&(n={}),t instanceof ws)o=t;else{var a;a=n.headers instanceof ys?n.headers:new ys(n.headers);var i=void 0;n.params&&(i=n.params instanceof Ps?n.params:new Ps({fromObject:n.params})),o=new ws(t,e,void 0!==n.body?n.body:null,{headers:a,params:i,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var l=Ol(o).pipe(Ml(function(t){return r.handler.handle(t)}));if(t instanceof ws||"events"===n.observe)return l;var s=l.pipe(xl(function(t){return t instanceof Ts}));switch(n.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return s.pipe(K(function(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(K(function(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(K(function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return s.pipe(K(function(t){return t.body}))}case"response":return s;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},t.prototype.delete=function(t,e){return void 0===e&&(e={}),this.request("DELETE",t,e)},t.prototype.get=function(t,e){return void 0===e&&(e={}),this.request("GET",t,e)},t.prototype.head=function(t,e){return void 0===e&&(e={}),this.request("HEAD",t,e)},t.prototype.jsonp=function(t,e){return this.request("JSONP",t,{params:(new Ps).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},t.prototype.options=function(t,e){return void 0===e&&(e={}),this.request("OPTIONS",t,e)},t.prototype.patch=function(t,e,n){return void 0===n&&(n={}),this.request("PATCH",t,Rs(n,e))},t.prototype.post=function(t,e,n){return void 0===n&&(n={}),this.request("POST",t,Rs(n,e))},t.prototype.put=function(t,e,n){return void 0===n&&(n={}),this.request("PUT",t,Rs(n,e))},t}(),Ds=function(){function t(t,e){this.next=t,this.interceptor=e}return t.prototype.handle=function(t){return this.interceptor.intercept(t,this.next)},t}(),Ns=new Bt("HTTP_INTERCEPTORS"),zs=function(){function t(){}return t.prototype.intercept=function(t,e){return e.handle(t)},t}(),Ls=/^\)\]\}',?\n/,Fs=function(){return function(){}}(),Vs=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},t}(),js=function(){function t(t){this.xhrFactory=t}return t.prototype.handle=function(t){var e=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new E(function(n){var o=e.xhrFactory.build();if(o.open(t.method,t.urlWithParams),t.withCredentials&&(o.withCredentials=!0),t.headers.forEach(function(t,e){return o.setRequestHeader(t,e.join(","))}),t.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var r=t.detectContentTypeHeader();null!==r&&o.setRequestHeader("Content-Type",r)}if(t.responseType){var a=t.responseType.toLowerCase();o.responseType="json"!==a?a:"text"}var i=t.serializeBody(),l=null,s=function(){if(null!==l)return l;var e=1223===o.status?204:o.status,n=o.statusText||"OK",r=new ys(o.getAllResponseHeaders()),a=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(o)||t.url;return l=new Es({headers:r,status:e,statusText:n,url:a})},c=function(){var e=s(),r=e.headers,a=e.status,i=e.statusText,l=e.url,c=null;204!==a&&(c=void 0===o.response?o.responseText:o.response),0===a&&(a=c?200:0);var u=a>=200&&a<300;if("json"===t.responseType&&"string"==typeof c){var d=c;c=c.replace(Ls,"");try{c=""!==c?JSON.parse(c):null}catch(p){c=d,u&&(u=!1,c={error:p,text:c})}}u?(n.next(new Ts({body:c,headers:r,status:a,statusText:i,url:l||void 0})),n.complete()):n.error(new Is({error:c,headers:r,status:a,statusText:i,url:l||void 0}))},u=function(t){var e=s().url,r=new Is({error:t,status:o.status||0,statusText:o.statusText||"Unknown Error",url:e||void 0});n.error(r)},d=!1,p=function(e){d||(n.next(s()),d=!0);var r={type:ks.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(r.total=e.total),"text"===t.responseType&&o.responseText&&(r.partialText=o.responseText),n.next(r)},m=function(t){var e={type:ks.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),n.next(e)};return o.addEventListener("load",c),o.addEventListener("error",u),t.reportProgress&&(o.addEventListener("progress",p),null!==i&&o.upload&&o.upload.addEventListener("progress",m)),o.send(i),n.next({type:ks.Sent}),function(){o.removeEventListener("error",u),o.removeEventListener("load",c),t.reportProgress&&(o.removeEventListener("progress",p),null!==i&&o.upload&&o.upload.removeEventListener("progress",m)),o.abort()}})},t}(),Bs=new Bt("XSRF_COOKIE_NAME"),Hs=new Bt("XSRF_HEADER_NAME"),Us=function(){return function(){}}(),qs=function(){function t(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return t.prototype.getToken=function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Ul(t,this.cookieName),this.lastCookieString=t),this.lastToken},t}(),Ws=function(){function t(t,e){this.tokenService=t,this.headerName=e}return t.prototype.intercept=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 o=this.tokenService.getToken();return null===o||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,o)})),e.handle(t)},t}(),Ys=function(){function t(t,e){this.backend=t,this.injector=e,this.chain=null}return t.prototype.handle=function(t){if(null===this.chain){var e=this.injector.get(Ns,[]);this.chain=e.reduceRight(function(t,e){return new Ds(t,e)},this.backend)}return this.chain.handle(t)},t}(),Gs=function(){function t(){}var e;return e=t,t.disable=function(){return{ngModule:e,providers:[{provide:Ws,useClass:zs}]}},t.withOptions=function(t){return void 0===t&&(t={}),{ngModule:e,providers:[t.cookieName?{provide:Bs,useValue:t.cookieName}:[],t.headerName?{provide:Hs,useValue:t.headerName}:[]]}},t}(),Zs=function(){return function(){}}(),Qs=function(){function t(t){this.http=t,this.hostname=_l.API_ENDPOINT}return t.prototype.getModStatus=function(){return this.http.get(this.hostname+"/host/mod/status")},t.prototype.installModStep1=function(){return this.http.post(this.hostname+"/host/mod/install/step1","")},t.prototype.installModStep2=function(){return this.http.post(this.hostname+"/host/mod/install/step2","")},t.prototype.installModStep3=function(){return this.http.post(this.hostname+"/host/mod/install/step3","")},t.prototype.resetAssets=function(){return this.http.post(this.hostname+"/host/mod/resetassets","")},t.prototype.uninstallBeatSaber=function(){return this.http.post(this.hostname+"/host/mod/uninstallbeatsaber","")},t.prototype.getNetInfo=function(){return this.http.get(this.hostname+"/host/mod/netinfo")},t.prototype.getConfig=function(){return this.http.get(this.hostname+"/host/beatsaber/config")},t.prototype.uploadFile=function(t){return this.http.post(this.hostname+"/host/beatsaber/upload",t)},t.prototype.commitConfig=function(){return this.http.post(this.hostname+"/host/beatsaber/commitconfig","")},t.prototype.reloadSongsFromFolders=function(){return this.http.post(this.hostname+"/host/beatsaber/reloadsongfolders","")},t.prototype.putConfig=function(t){return this.http.put(this.hostname+"/host/beatsaber/config",t)},t.prototype.autoCreatePlaylists=function(t,e){return this.http.post(this.hostname+"/host/beatsaber/playlist/autocreate?sortorder="+yl[t]+"maxnumpernameplaylist="+e,{})},t.ngInjectableDef=wt({factory:function(){return new t(Vt(As))},token:t,providedIn:"root"}),t}(),Ks=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return r(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new R;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(N);function Xs(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}Xs.prototype=Object.create(Error.prototype);var $s=Xs,Js={};function tc(){for(var t=[],e=0;e0)for(var n=this.count>=this.total?this.total:this.count,o=this.ring,r=0;r=2;return function(o){return o.pipe(t?xl(function(e,n){return t(e,n,o)}):rt,lc(1),n?hc(e):mc(function(){return new $s}))}}function yc(t){return function(e){var n=new vc(t),o=e.lift(n);return n.caught=o}}var vc=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new Cc(t,this.selector,this.caught))},t}(),Cc=function(t){function e(e,n,o){var r=t.call(this,e)||this;return r.selector=n,r.caught=o,r}return r(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(r){return void t.prototype.error.call(this,r)}this._unsubscribeAndRecycle();var o=new F(this,void 0,void 0);this.add(o),Z(this,n,void 0,void 0,o)}},e}(Q);function Pc(t){return function(e){return 0===t?Cl():e.lift(new Oc(t))}}var Oc=function(){function t(t){if(this.total=t,this.total<0)throw new ic}return t.prototype.call=function(t,e){return e.subscribe(new Mc(t,this.total))},t}(),Mc=function(t){function e(e,n){var o=t.call(this,e)||this;return o.total=n,o.count=0,o}return r(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(O);function xc(t,e){var n=arguments.length>=2;return function(o){return o.pipe(t?xl(function(e,n){return t(e,n,o)}):rt,Pc(1),n?hc(e):mc(function(){return new $s}))}}var wc=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new kc(t,this.predicate,this.thisArg,this.source))},t}(),kc=function(t){function e(e,n,o,r){var a=t.call(this,e)||this;return a.predicate=n,a.thisArg=o,a.source=r,a.index=0,a.thisArg=o||a,a}return r(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(O);function Sc(t,e){return"function"==typeof e?function(n){return n.pipe(Sc(function(n,o){return tt(t(n,o)).pipe(K(function(t,r){return e(n,t,o,r)}))}))}:function(e){return e.lift(new Ec(t))}}var Ec=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new Tc(t,this.project))},t}(),Tc=function(t){function e(e,n){var o=t.call(this,e)||this;return o.project=n,o.index=0,o}return r(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(o){return void this.destination.error(o)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var o=this.innerSubscription;o&&o.unsubscribe();var r=new F(this,void 0,void 0);this.destination.add(r),this.innerSubscription=Z(this,t,e,n,r)},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this),this.unsubscribe()},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,o,r){this.destination.next(e)},e}(Q);function Ic(){for(var t=[],e=0;e0?J(t,n):Cl(n):Pl(t[0]),e)}}function Rc(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(o){return o.lift(new Ac(t,e,n))}}var Ac=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new Dc(t,this.accumulator,this.seed,this.hasSeed))},t}(),Dc=function(t){function e(e,n,o,r){var a=t.call(this,e)||this;return a.accumulator=n,a._seed=o,a.hasSeed=r,a.index=0,a}return r(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(o){this.destination.error(o)}this.seed=e,this.destination.next(e)},e}(O);function Nc(t){return function(e){return e.lift(new zc(t))}}var zc=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new Lc(t,this.callback))},t}(),Lc=function(t){function e(e,n){var o=t.call(this,e)||this;return o.add(new g(n)),o}return r(e,t),e}(O),Fc=null;function Vc(){return Fc}var jc,Bc=function(t){function e(){var e=t.call(this)||this;e._animationPrefix=null,e._transitionEnd=null;try{var n=e.createElement("div",document);if(null!=e.getStyle(n,"animationName"))e._animationPrefix="";else for(var o=["Webkit","Moz","O","ms"],r=0;r0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,o=0;o0;i||(i=t[a]=[]);var s=xu(e)?Zone.root:Zone.current;if(0===i.length)i.push({zone:s,handler:r});else{for(var c=!1,u=0;u-1},e}(ru),Au=["alt","control","meta","shift"],Du={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},Nu=function(t){function e(e){return t.call(this,e)||this}var n;return r(e,t),n=e,e.prototype.supports=function(t){return null!=n.parseEventName(t)},e.prototype.addEventListener=function(t,e,o){var r=n.parseEventName(e),a=n.eventCallback(r.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return Vc().onAndCancel(t,r.domEventName,a)})},e.parseEventName=function(t){var e=t.toLowerCase().split("."),o=e.shift();if(0===e.length||"keydown"!==o&&"keyup"!==o)return null;var r=n._normalizeKey(e.pop()),a="";if(Au.forEach(function(t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),a+=t+".")}),a+=r,0!=e.length||0===r.length)return null;var i={};return i.domEventName=o,i.fullKey=a,i},e.getEventFullKey=function(t){var e="",n=Vc().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Au.forEach(function(o){o!=n&&(0,Du[o])(t)&&(e+=o+".")}),e+=n},e.eventCallback=function(t,e,o){return function(r){n.getEventFullKey(r)===t&&o.runGuarded(function(){return e(r)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e}(ru),zu=function(){return function(){}}(),Lu=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return r(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case Fe.NONE:return e;case Fe.HTML:return e instanceof Vu?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),function(t,e){var n=null;try{Oe=Oe||new be(t);var o=e?String(e):"";n=Oe.getInertBodyElement(o);var r=5,a=o;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,o=a,a=n.innerHTML,n=Oe.getInertBodyElement(o)}while(o!==a);var i=new Ae,l=i.sanitizeChildren(Le(n)||n);return ge()&&i.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),l}finally{if(n)for(var s=Le(n)||n;s.firstChild;)s.removeChild(s.firstChild)}}(this._doc,String(e)));case Fe.STYLE:return e instanceof ju?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),function(t){if(!(t=String(t).trim()))return"";var e=t.match(Be);return e&&ve(e[1])===e[1]||t.match(je)&&function(t){for(var e=!0,n=!0,o=0;ot.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||o.length0?t[t.length-1]:null}function xd(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function wd(t){return We(t)?t:qe(t)?tt(Promise.resolve(t)):Ol(t)}function kd(t,e,n){return n?function(t,e){return Pd(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!Id(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(var o in n.children){if(!e.children[o])return!1;if(!t(e.children[o],n.children[o]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(function(n){return e[n]===t[n]})}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,o,r){if(n.segments.length>r.length)return!!Id(i=n.segments.slice(0,r.length),r)&&!o.hasChildren();if(n.segments.length===r.length){if(!Id(n.segments,r))return!1;for(var a in o.children){if(!n.children[a])return!1;if(!t(n.children[a],o.children[a]))return!1}return!0}var i=r.slice(0,n.segments.length),l=r.slice(n.segments.length);return!!Id(n.segments,i)&&!!n.children[dd]&&e(n.children[dd],o,l)}(e,n,n.segments)}(t.root,e.root)}var Sd=function(){function t(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}return Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=md(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Nd.serialize(this)},t}(),Ed=function(){function t(t,e){var n=this;this.segments=t,this.children=e,this.parent=null,xd(e,function(t,e){return t.parent=n})}return t.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(t.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return zd(this)},t}(),Td=function(){function t(t,e){this.path=t,this.parameters=e}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=md(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Hd(this)},t}();function Id(t,e){return t.length===e.length&&t.every(function(t,n){return t.path===e[n].path})}function Rd(t,e){var n=[];return xd(t.children,function(t,o){o===dd&&(n=n.concat(e(t,o)))}),xd(t.children,function(t,o){o!==dd&&(n=n.concat(e(t,o)))}),n}var Ad=function(){return function(){}}(),Dd=function(){function t(){}return t.prototype.parse=function(t){var e=new Gd(t);return new Sd(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},t.prototype.serialize=function(t){var e,n;return"/"+function t(e,n){if(!e.hasChildren())return zd(e);if(n){var o=e.children[dd]?t(e.children[dd],!1):"",r=[];return xd(e.children,function(e,n){n!==dd&&r.push(n+":"+t(e,!1))}),r.length>0?o+"("+r.join("//")+")":o}var a=Rd(e,function(n,o){return o===dd?[t(e.children[dd],!1)]:[o+":"+t(n,!1)]});return zd(e)+"/("+a.join("//")+")"}(t.root,!0)+(e=t.queryParams,(n=Object.keys(e).map(function(t){var n=e[t];return Array.isArray(n)?n.map(function(e){return Fd(t)+"="+Fd(e)}).join("&"):Fd(t)+"="+Fd(n)})).length?"?"+n.join("&"):"")+("string"==typeof t.fragment?"#"+encodeURI(t.fragment):"")},t}(),Nd=new Dd;function zd(t){return t.segments.map(function(t){return Hd(t)}).join("/")}function Ld(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Fd(t){return Ld(t).replace(/%3B/gi,";")}function Vd(t){return Ld(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function jd(t){return decodeURIComponent(t)}function Bd(t){return jd(t.replace(/\+/g,"%20"))}function Hd(t){return""+Vd(t.path)+(e=t.parameters,Object.keys(e).map(function(t){return";"+Vd(t)+"="+Vd(e[t])}).join(""));var e}var Ud=/^[^\/()?;=#]+/;function qd(t){var e=t.match(Ud);return e?e[0]:""}var Wd=/^[^=?&#]+/,Yd=/^[^?&#]+/,Gd=function(){function t(t){this.url=t,this.remaining=t}return t.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ed([],{}):new Ed([],this.parseChildren())},t.prototype.parseQueryParams=function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t},t.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},t.prototype.parseChildren=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[dd]=new Ed(t,e)),n},t.prototype.parseSegment=function(){var t=qd(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new Td(jd(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var e=qd(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var o=qd(this.remaining);o&&this.capture(n=o)}t[jd(e)]=jd(n)}},t.prototype.parseQueryParam=function(t){var e,n=(e=this.remaining.match(Wd))?e[0]:"";if(n){this.capture(n);var o="";if(this.consumeOptional("=")){var r=function(t){var e=t.match(Yd);return e?e[0]:""}(this.remaining);r&&this.capture(o=r)}var a=Bd(n),i=Bd(o);if(t.hasOwnProperty(a)){var l=t[a];Array.isArray(l)||(t[a]=l=[l]),l.push(i)}else t[a]=i}},t.prototype.parseParens=function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=qd(this.remaining),o=this.remaining[n.length];if("/"!==o&&")"!==o&&";"!==o)throw new Error("Cannot parse url '"+this.url+"'");var r=void 0;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):t&&(r=dd);var a=this.parseChildren();e[r]=1===Object.keys(a).length?a[dd]:new Ed([],a),this.consumeOptional("//")}return e},t.prototype.peekStartsWith=function(t){return this.remaining.startsWith(t)},t.prototype.consumeOptional=function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)},t.prototype.capture=function(t){if(!this.consumeOptional(t))throw new Error('Expected "'+t+'".')},t}(),Zd=function(){function t(t){this._root=t}return Object.defineProperty(t.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),t.prototype.parent=function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null},t.prototype.children=function(t){var e=Qd(t,this._root);return e?e.children.map(function(t){return t.value}):[]},t.prototype.firstChild=function(t){var e=Qd(t,this._root);return e&&e.children.length>0?e.children[0].value:null},t.prototype.siblings=function(t){var e=Kd(t,this._root);return e.length<2?[]:e[e.length-2].children.map(function(t){return t.value}).filter(function(e){return e!==t})},t.prototype.pathFromRoot=function(t){return Kd(t,this._root).map(function(t){return t.value})},t}();function Qd(t,e){var n,o;if(t===e.value)return e;try{for(var r=s(e.children),a=r.next();!a.done;a=r.next()){var i=Qd(t,a.value);if(i)return i}}catch(l){n={error:l}}finally{try{a&&!a.done&&(o=r.return)&&o.call(r)}finally{if(n)throw n.error}}return null}function Kd(t,e){var n,o;if(t===e.value)return[e];try{for(var r=s(e.children),a=r.next();!a.done;a=r.next()){var i=Kd(t,a.value);if(i.length)return i.unshift(e),i}}catch(l){n={error:l}}finally{try{a&&!a.done&&(o=r.return)&&o.call(r)}finally{if(n)throw n.error}}return[]}var Xd=function(){function t(t,e){this.value=t,this.children=e}return t.prototype.toString=function(){return"TreeNode("+this.value+")"},t}();function $d(t){var e={};return t&&t.children.forEach(function(t){return e[t.value.outlet]=t}),e}var Jd=function(t){function e(e,n){var o=t.call(this,e)||this;return o.snapshot=n,ap(o,e),o}return r(e,t),e.prototype.toString=function(){return this.snapshot.toString()},e}(Zd);function tp(t,e){var n=function(t,e){var n=new op([],{},{},"",{},dd,e,null,t.root,-1,{});return new rp("",new Xd(n,[]))}(t,e),o=new Ks([new Td("",{})]),r=new Ks({}),a=new Ks({}),i=new Ks({}),l=new Ks(""),s=new ep(o,r,i,l,a,dd,e,n.root);return s.snapshot=n.root,new Jd(new Xd(s,[]),n)}var ep=function(){function t(t,e,n,o,r,a,i,l){this.url=t,this.params=e,this.queryParams=n,this.fragment=o,this.data=r,this.outlet=a,this.component=i,this._futureSnapshot=l}return Object.defineProperty(t.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(K(function(t){return md(t)}))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(K(function(t){return md(t)}))),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},t}();function np(t,e){void 0===e&&(e="emptyOnly");var n=t.pathFromRoot,o=0;if("always"!==e)for(o=n.length-1;o>=1;){var r=n[o],i=n[o-1];if(r.routeConfig&&""===r.routeConfig.path)o--;else{if(i.component)break;o--}}return function(t){return t.reduce(function(t,e){return{params:a({},t.params,e.params),data:a({},t.data,e.data),resolve:a({},t.resolve,e._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(o))}var op=function(){function t(t,e,n,o,r,a,i,l,s,c,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=o,this.data=r,this.outlet=a,this.component=i,this.routeConfig=l,this._urlSegment=s,this._lastPathIndex=c,this._resolve=u}return Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=md(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=md(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"Route(url:'"+this.url.map(function(t){return t.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},t}(),rp=function(t){function e(e,n){var o=t.call(this,n)||this;return o.url=e,ap(o,n),o}return r(e,t),e.prototype.toString=function(){return ip(this._root)},e}(Zd);function ap(t,e){e.value._routerState=t,e.children.forEach(function(e){return ap(t,e)})}function ip(t){var e=t.children.length>0?" { "+t.children.map(ip).join(", ")+" } ":"";return""+t.value+e}function lp(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Pd(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),Pd(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n0&&cp(n[0]))throw new Error("Root segment cannot have matrix parameters");var o=n.find(function(t){return"object"==typeof t&&null!=t&&t.outlets});if(o&&o!==Md(n))throw new Error("{outlets:{}} has to be the last command")}return t.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},t}(),pp=function(){return function(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}();function mp(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[dd]:""+t}function fp(t,e,n){if(t||(t=new Ed([],{})),0===t.segments.length&&t.hasChildren())return hp(t,e,n);var o=function(t,e,n){for(var o=0,r=e,a={match:!1,pathIndex:0,commandIndex:0};r=n.length)return a;var i=t.segments[r],l=mp(n[o]),s=o0&&void 0===l)break;if(l&&s&&"object"==typeof s&&void 0===s.outlets){if(!yp(l,s,i))return a;o+=2}else{if(!yp(l,{},i))return a;o++}r++}return{match:!0,pathIndex:r,commandIndex:o}}(t,e,n),r=n.slice(o.commandIndex);if(o.match&&o.pathIndex0?new Ed([],((o={})[dd]=t,o)):t;return new Sd(r,e,n)},t.prototype.expandSegmentGroup=function(t,e,n,o){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(K(function(t){return new Ed([],t)})):this.expandSegment(t,n,e,n.segments,o,!0)},t.prototype.expandChildren=function(t,e,n){var o=this;return function(n,r){if(0===Object.keys(n).length)return Ol({});var a=[],i=[],l={};return xd(n,function(n,r){var s,c,u=(s=r,c=n,o.expandSegmentGroup(t,e,c,s)).pipe(K(function(t){return l[r]=t}));r===dd?a.push(u):i.push(u)}),Ol.apply(null,a.concat(i)).pipe(rc(),_c(),K(function(){return l}))}(n.children)},t.prototype.expandSegment=function(t,e,n,o,r,a){var i=this;return Ol.apply(void 0,u(n)).pipe(K(function(l){return i.expandSegmentAgainstRoute(t,e,n,l,o,r,a).pipe(yc(function(t){if(t instanceof Mp)return Ol(null);throw t}))}),rc(),xc(function(t){return!!t}),yc(function(t,n){if(t instanceof $s||"EmptyError"===t.name){if(i.noLeftoversInUrl(e,o,r))return Ol(new Ed([],{}));throw new Mp(e)}throw t}))},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.expandSegmentAgainstRoute=function(t,e,n,o,r,a,i){return Ap(o)!==a?wp(e):void 0===o.redirectTo?this.matchSegmentAgainstRoute(t,e,o,r):i&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,o,r,a):wp(e)},t.prototype.expandSegmentAgainstRouteUsingRedirect=function(t,e,n,o,r,a){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,o,a):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,o,r,a)},t.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(t,e,n,o){var r=this,a=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?kp(a):this.lineralizeSegments(n,a).pipe(et(function(n){var a=new Ed(n,{});return r.expandSegment(t,a,e,n,o,!1)}))},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,e,n,o,r,a){var i=this,l=Tp(e,o,r),s=l.consumedSegments,c=l.lastChild,u=l.positionalParamSegments;if(!l.matched)return wp(e);var d=this.applyRedirectCommands(s,o.redirectTo,u);return o.redirectTo.startsWith("/")?kp(d):this.lineralizeSegments(o,d).pipe(et(function(o){return i.expandSegment(t,e,n,o.concat(r.slice(c)),a,!1)}))},t.prototype.matchSegmentAgainstRoute=function(t,e,n,o){var r=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(K(function(t){return n._loadedConfig=t,new Ed(o,{})})):Ol(new Ed(o,{}));var i=Tp(e,n,o),l=i.consumedSegments,c=i.lastChild;if(!i.matched)return wp(e);var u=o.slice(c);return this.getChildConfig(t,n,o).pipe(et(function(t){var n=t.module,o=t.routes,i=function(t,e,n,o){return n.length>0&&function(t,e,n){return o.some(function(n){return Rp(t,e,n)&&Ap(n)!==dd})}(t,n)?{segmentGroup:Ip(new Ed(e,function(t,e){var n,o,r={};r[dd]=e;try{for(var a=s(t),i=a.next();!i.done;i=a.next()){var l=i.value;""===l.path&&Ap(l)!==dd&&(r[Ap(l)]=new Ed([],{}))}}catch(c){n={error:c}}finally{try{i&&!i.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return r}(o,new Ed(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return o.some(function(n){return Rp(t,e,n)})}(t,n)?{segmentGroup:Ip(new Ed(t.segments,function(t,e,n,o){var r,i,l={};try{for(var c=s(n),u=c.next();!u.done;u=c.next()){var d=u.value;Rp(t,e,d)&&!o[Ap(d)]&&(l[Ap(d)]=new Ed([],{}))}}catch(p){r={error:p}}finally{try{u&&!u.done&&(i=c.return)&&i.call(c)}finally{if(r)throw r.error}}return a({},o,l)}(t,n,o,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,l,u,o),c=i.segmentGroup,d=i.slicedSegments;return 0===d.length&&c.hasChildren()?r.expandChildren(n,o,c).pipe(K(function(t){return new Ed(l,t)})):0===o.length&&0===d.length?Ol(new Ed(l,{})):r.expandSegment(n,c,o,d,dd,!0).pipe(K(function(t){return new Ed(l.concat(t.segments),t.children)}))}))},t.prototype.getChildConfig=function(t,e,n){var o=this;return e.children?Ol(new bd(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Ol(e._loadedConfig):function(t,e,n){var o,r=e.canLoad;return r&&0!==r.length?tt(r).pipe(K(function(o){var r,a=t.get(o);if(function(t){return t&&Pp(t.canLoad)}(a))r=a.canLoad(e,n);else{if(!Pp(a))throw new Error("Invalid CanLoad guard");r=a(e,n)}return wd(r)})).pipe(rc(),(o=function(t){return!0===t},function(t){return t.lift(new wc(o,void 0,t))})):Ol(!0)}(t.injector,e,n).pipe(et(function(n){return n?o.configLoader.load(t.injector,e).pipe(K(function(t){return e._loadedConfig=t,t})):function(t){return new E(function(e){return e.error(hd("Cannot load children because the guard of the route \"path: '"+t.path+"'\" returned false"))})}(e)})):Ol(new bd([],t))},t.prototype.lineralizeSegments=function(t,e){for(var n=[],o=e.root;;){if(n=n.concat(o.segments),0===o.numberOfChildren)return Ol(n);if(o.numberOfChildren>1||!o.children[dd])return Sp(t.redirectTo);o=o.children[dd]}},t.prototype.applyRedirectCommands=function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)},t.prototype.applyRedirectCreatreUrlTree=function(t,e,n,o){var r=this.createSegmentGroup(t,e.root,n,o);return new Sd(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},t.prototype.createQueryParams=function(t,e){var n={};return xd(t,function(t,o){if("string"==typeof t&&t.startsWith(":")){var r=t.substring(1);n[o]=e[r]}else n[o]=t}),n},t.prototype.createSegmentGroup=function(t,e,n,o){var r=this,a=this.createSegments(t,e.segments,n,o),i={};return xd(e.children,function(e,a){i[a]=r.createSegmentGroup(t,e,n,o)}),new Ed(a,i)},t.prototype.createSegments=function(t,e,n,o){var r=this;return e.map(function(e){return e.path.startsWith(":")?r.findPosParam(t,e,o):r.findOrReturn(e,n)})},t.prototype.findPosParam=function(t,e,n){var o=n[e.path.substring(1)];if(!o)throw new Error("Cannot redirect to '"+t+"'. Cannot find '"+e.path+"'.");return o},t.prototype.findOrReturn=function(t,e){var n,o,r=0;try{for(var a=s(e),i=a.next();!i.done;i=a.next()){var l=i.value;if(l.path===t.path)return e.splice(r),l;r++}}catch(c){n={error:c}}finally{try{i&&!i.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return t},t}();function Tp(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var o=(e.matcher||gd)(n,t,e);return o?{matched:!0,consumedSegments:o.consumed,lastChild:o.consumed.length,positionalParamSegments:o.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Ip(t){if(1===t.numberOfChildren&&t.children[dd]){var e=t.children[dd];return new Ed(t.segments.concat(e.segments),e.children)}return t}function Rp(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Ap(t){return t.outlet||dd}var Dp=function(){return function(t){this.path=t,this.route=this.path[this.path.length-1]}}(),Np=function(){return function(t,e){this.component=t,this.route=e}}();function zp(t,e,n){var o=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(o?o.module.injector:n).get(t)}function Lp(t,e,n,o,r){void 0===r&&(r={canDeactivateChecks:[],canActivateChecks:[]});var a=$d(e);return t.children.forEach(function(t){!function(t,e,n,o,r){void 0===r&&(r={canDeactivateChecks:[],canActivateChecks:[]});var a=t.value,i=e?e.value:null,l=n?n.getContext(t.value.outlet):null;if(i&&a.routeConfig===i.routeConfig){var s=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Id(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Id(t.url,e.url)||!Pd(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!sp(t,e)||!Pd(t.queryParams,e.queryParams);case"paramsChange":default:return!sp(t,e)}}(i,a,a.routeConfig.runGuardsAndResolvers);s?r.canActivateChecks.push(new Dp(o)):(a.data=i.data,a._resolvedData=i._resolvedData),Lp(t,e,a.component?l?l.children:null:n,o,r),s&&r.canDeactivateChecks.push(new Np(l&&l.outlet&&l.outlet.component||null,i))}else i&&Fp(e,l,r),r.canActivateChecks.push(new Dp(o)),Lp(t,null,a.component?l?l.children:null:n,o,r)}(t,a[t.value.outlet],n,o.concat([t.value]),r),delete a[t.value.outlet]}),xd(a,function(t,e){return Fp(t,n.getContext(e),r)}),r}function Fp(t,e,n){var o=$d(t),r=t.value;xd(o,function(t,o){Fp(t,r.component?e?e.children.getContext(o):null:e,n)}),n.canDeactivateChecks.push(new Np(r.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,r))}var Vp=Symbol("INITIAL_VALUE");function jp(){return Sc(function(t){return tc.apply(void 0,u(t.map(function(t){return t.pipe(Pc(1),Ic(Vp))}))).pipe(Rc(function(t,e){var n=!1;return e.reduce(function(t,o,r){if(t!==Vp)return t;if(o===Vp&&(n=!0),!n){if(!1===o)return o;if(r===e.length-1||Op(o))return o}return t},t)},Vp),xl(function(t){return t!==Vp}),K(function(t){return Op(t)?t:!0===t}),Pc(1))})}function Bp(t,e){return null!==t&&e&&e(new ld(t)),Ol(!0)}function Hp(t,e){return null!==t&&e&&e(new ad(t)),Ol(!0)}function Up(t,e,n){var o=e.routeConfig?e.routeConfig.canActivate:null;return o&&0!==o.length?Ol(o.map(function(o){return oc(function(){var r,a=zp(o,e,n);if(function(t){return t&&Pp(t.canActivate)}(a))r=wd(a.canActivate(e,t));else{if(!Pp(a))throw new Error("Invalid CanActivate guard");r=wd(a(e,t))}return r.pipe(xc())})})).pipe(jp()):Ol(!0)}function qp(t,e,n){var o=e[e.length-1],r=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 oc(function(){return Ol(e.guards.map(function(r){var a,i=zp(r,e.node,n);if(function(t){return t&&Pp(t.canActivateChild)}(i))a=wd(i.canActivateChild(o,t));else{if(!Pp(i))throw new Error("Invalid CanActivateChild guard");a=wd(i(o,t))}return a.pipe(xc())})).pipe(jp())})});return Ol(r).pipe(jp())}var Wp=function(){return function(){}}(),Yp=function(){function t(t,e,n,o,r,a){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=o,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=a}return t.prototype.recognize=function(){try{var t=Qp(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,dd),n=new op([],Object.freeze({}),Object.freeze(a({},this.urlTree.queryParams)),this.urlTree.fragment,{},dd,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new Xd(n,e),r=new rp(this.url,o);return this.inheritParamsAndData(r._root),Ol(r)}catch(i){return new E(function(t){return t.error(i)})}},t.prototype.inheritParamsAndData=function(t){var e=this,n=t.value,o=np(n,this.paramsInheritanceStrategy);n.params=Object.freeze(o.params),n.data=Object.freeze(o.data),t.children.forEach(function(t){return e.inheritParamsAndData(t)})},t.prototype.processSegmentGroup=function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)},t.prototype.processChildren=function(t,e){var n,o=this,r=Rd(e,function(e,n){return o.processSegmentGroup(t,e,n)});return n={},r.forEach(function(t){var e=n[t.value.outlet];if(e){var o=e.url.map(function(t){return t.toString()}).join("/"),r=t.value.url.map(function(t){return t.toString()}).join("/");throw new Error("Two segments cannot have the same outlet name: '"+o+"' and '"+r+"'.")}n[t.value.outlet]=t.value}),r.sort(function(t,e){return t.value.outlet===dd?-1:e.value.outlet===dd?1:t.value.outlet.localeCompare(e.value.outlet)}),r},t.prototype.processSegment=function(t,e,n,o){var r,a;try{for(var i=s(t),l=i.next();!l.done;l=i.next()){var c=l.value;try{return this.processSegmentAgainstRoute(c,e,n,o)}catch(u){if(!(u instanceof Wp))throw u}}}catch(d){r={error:d}}finally{try{l&&!l.done&&(a=i.return)&&a.call(i)}finally{if(r)throw r.error}}if(this.noLeftoversInUrl(e,n,o))return[];throw new Wp},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.processSegmentAgainstRoute=function(t,e,n,o){if(t.redirectTo)throw new Wp;if((t.outlet||dd)!==o)throw new Wp;var r,i=[],l=[];if("**"===t.path){var s=n.length>0?Md(n).parameters:{};r=new op(n,s,Object.freeze(a({},this.urlTree.queryParams)),this.urlTree.fragment,$p(t),o,t.component,t,Gp(e),Zp(e)+n.length,Jp(t))}else{var c=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new Wp;return{consumedSegments:[],lastChild:0,parameters:{}}}var o=(e.matcher||gd)(n,t,e);if(!o)throw new Wp;var r={};xd(o.posParams,function(t,e){r[e]=t.path});var i=o.consumed.length>0?a({},r,o.consumed[o.consumed.length-1].parameters):r;return{consumedSegments:o.consumed,lastChild:o.consumed.length,parameters:i}}(e,t,n);i=c.consumedSegments,l=n.slice(c.lastChild),r=new op(i,c.parameters,Object.freeze(a({},this.urlTree.queryParams)),this.urlTree.fragment,$p(t),o,t.component,t,Gp(e),Zp(e)+i.length,Jp(t))}var u=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),d=Qp(e,i,l,u,this.relativeLinkResolution),p=d.segmentGroup,m=d.slicedSegments;if(0===m.length&&p.hasChildren()){var f=this.processChildren(u,p);return[new Xd(r,f)]}if(0===u.length&&0===m.length)return[new Xd(r,[])];var h=this.processSegment(u,p,m,dd);return[new Xd(r,h)]},t}();function Gp(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function Zp(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 Qp(t,e,n,o,r){if(n.length>0&&function(t,e,n){return o.some(function(n){return Kp(t,e,n)&&Xp(n)!==dd})}(t,n)){var i=new Ed(e,function(t,e,n,o){var r,a,i={};i[dd]=o,o._sourceSegment=t,o._segmentIndexShift=e.length;try{for(var l=s(n),c=l.next();!c.done;c=l.next()){var u=c.value;if(""===u.path&&Xp(u)!==dd){var d=new Ed([],{});d._sourceSegment=t,d._segmentIndexShift=e.length,i[Xp(u)]=d}}}catch(p){r={error:p}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(r)throw r.error}}return i}(t,e,o,new Ed(n,t.children)));return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return o.some(function(n){return Kp(t,e,n)})}(t,n)){var l=new Ed(t.segments,function(t,e,n,o,r,i){var l,c,u={};try{for(var d=s(o),p=d.next();!p.done;p=d.next()){var m=p.value;if(Kp(t,n,m)&&!r[Xp(m)]){var f=new Ed([],{});f._sourceSegment=t,f._segmentIndexShift="legacy"===i?t.segments.length:e.length,u[Xp(m)]=f}}}catch(h){l={error:h}}finally{try{p&&!p.done&&(c=d.return)&&c.call(d)}finally{if(l)throw l.error}}return a({},r,u)}(t,e,n,o,t.children,r));return l._sourceSegment=t,l._segmentIndexShift=e.length,{segmentGroup:l,slicedSegments:n}}var c=new Ed(t.segments,t.children);return c._sourceSegment=t,c._segmentIndexShift=e.length,{segmentGroup:c,slicedSegments:n}}function Kp(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Xp(t){return t.outlet||dd}function $p(t){return t.data||{}}function Jp(t){return t.resolve||{}}function tm(t,e,n,o){var r=zp(t,e,o);return wd(r.resolve?r.resolve(e,n):r(e,n))}function em(t){return function(e){return e.pipe(Sc(function(e){var n=t(e);return n?tt(n).pipe(K(function(){return e})):tt([e])}))}}var nm=function(){return function(){}}(),om=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){return t.routeConfig===e.routeConfig},t}(),rm=new Bt("ROUTES"),am=function(){function t(t,e,n,o){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=o}return t.prototype.load=function(t,e){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(K(function(o){n.onLoadEndListener&&n.onLoadEndListener(e);var r=o.create(t);return new bd(Od(r.injector.get(rm)).map(Cd),r)}))},t.prototype.loadModuleFactory=function(t){var e=this;return"string"==typeof t?tt(this.loader.load(t)):wd(t()).pipe(et(function(t){return t instanceof dn?Ol(t):tt(e.compiler.compileModuleAsync(t))}))},t}(),im=function(){return function(){}}(),lm=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){return!0},t.prototype.extract=function(t){return t},t.prototype.merge=function(t,e){return t},t}();function sm(t){throw t}function cm(t,e,n){return e.parse("/")}function um(t,e){return Ol(null)}var dm=function(){function t(t,e,n,o,r,a,i,l){var s=this;this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=o,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new N,this.errorHandler=sm,this.malformedUriErrorHandler=cm,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:um,afterPreactivation:um},this.urlHandlingStrategy=new lm,this.routeReuseStrategy=new om,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=r.get(un),this.console=r.get(Gr);var c=r.get(ua);this.isNgZoneEnabled=c instanceof ua,this.resetConfig(l),this.currentUrlTree=new Sd(new Ed([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new am(a,i,function(t){return s.triggerEvent(new od(t))},function(t){return s.triggerEvent(new rd(t))}),this.routerState=tp(this.currentUrlTree,this.rootComponentType),this.transitions=new Ks({id: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 t.prototype.setupNavigations=function(t){var e=this,n=this.events;return t.pipe(xl(function(t){return 0!==t.id}),K(function(t){return a({},t,{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})}),Sc(function(t){var o,r,i,l=!1,c=!1;return Ol(t).pipe(uc(function(t){e.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:e.lastSuccessfulNavigation?a({},e.lastSuccessfulNavigation,{previousNavigation:null}):null}}),Sc(function(t){var o,r,i,l,s=!e.navigated||t.extractedUrl.toString()!==e.browserUrlTree.toString();if(("reload"===e.onSameUrlNavigation||s)&&e.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Ol(t).pipe(Sc(function(t){var o=e.transitions.getValue();return n.next(new Zu(t.id,e.serializeUrl(t.extractedUrl),t.source,t.restoredState)),o!==e.transitions.getValue()?vl:[t]}),Sc(function(t){return Promise.resolve(t)}),(o=e.ngModule.injector,r=e.configLoader,i=e.urlSerializer,l=e.config,function(t){return t.pipe(Sc(function(t){return function(e,n,o,r,a){return new Ep(e,n,o,t.extractedUrl,a).apply()}(o,r,i,0,l).pipe(K(function(e){return a({},t,{urlAfterRedirects:e})}))}))}),uc(function(t){e.currentNavigation=a({},e.currentNavigation,{finalUrl:t.urlAfterRedirects})}),function(t,n,o,r,i){return function(o){return o.pipe(et(function(o){return function(t,e,n,o,r,a){return void 0===r&&(r="emptyOnly"),void 0===a&&(a="legacy"),new Yp(t,e,n,o,r,a).recognize()}(t,n,o.urlAfterRedirects,(l=o.urlAfterRedirects,e.serializeUrl(l)),r,i).pipe(K(function(t){return a({},o,{targetSnapshot:t})}));var l}))}}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),uc(function(t){"eager"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),e.browserUrlTree=t.urlAfterRedirects)}),uc(function(t){var o=new $u(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);n.next(o)}));if(s&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var c=t.extractedUrl,u=t.source,d=t.restoredState,p=t.extras,m=new Zu(t.id,e.serializeUrl(c),u,d);n.next(m);var f=tp(c,e.rootComponentType).snapshot;return Ol(a({},t,{targetSnapshot:f,urlAfterRedirects:c,extras:a({},p,{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,e.browserUrlTree=t.urlAfterRedirects,t.resolve(null),vl}),em(function(t){var n=t.extras;return e.hooks.beforePreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),uc(function(t){var n=new Ju(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),K(function(t){return a({},t,{guards:(n=t.targetSnapshot,o=t.currentSnapshot,r=e.rootContexts,i=n._root,Lp(i,o?o._root:null,r,[i.value]))});var n,o,r,i}),function(t,e){return function(n){return n.pipe(et(function(n){var o=n.targetSnapshot,r=n.currentSnapshot,i=n.guards,l=i.canActivateChecks,s=i.canDeactivateChecks;return 0===s.length&&0===l.length?Ol(a({},n,{guardsResult:!0})):function(t,e,n,o){return tt(s).pipe(et(function(t){return function(t,e,n,o,r){var a=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return a&&0!==a.length?Ol(a.map(function(a){var i,l=zp(a,e,r);if(function(t){return t&&Pp(t.canDeactivate)}(l))i=wd(l.canDeactivate(t,e,n,o));else{if(!Pp(l))throw new Error("Invalid CanDeactivate guard");i=wd(l(t,e,n,o))}return i.pipe(xc())})).pipe(jp()):Ol(!0)}(t.component,t.route,n,e,o)}),xc(function(t){return!0!==t},!0))}(0,o,r,t).pipe(et(function(n){return n&&"boolean"==typeof n?function(t,e,n,o){return tt(l).pipe(Ml(function(e){return tt([Hp(e.route.parent,o),Bp(e.route,o),qp(t,e.path,n),Up(t,e.route,n)]).pipe(rc(),xc(function(t){return!0!==t},!0))}),xc(function(t){return!0!==t},!0))}(o,0,t,e):Ol(n)}),K(function(t){return a({},n,{guardsResult:t})}))}))}}(e.ngModule.injector,function(t){return e.triggerEvent(t)}),uc(function(t){if(Op(t.guardsResult)){var n=hd('Redirecting to "'+e.serializeUrl(t.guardsResult)+'"');throw n.url=t.guardsResult,n}}),uc(function(t){var n=new td(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(n)}),xl(function(t){if(!t.guardsResult){e.resetUrlToCurrentUrlTree();var o=new Ku(t.id,e.serializeUrl(t.extractedUrl),"");return n.next(o),t.resolve(!1),!1}return!0}),em(function(t){if(t.guards.canActivateChecks.length)return Ol(t).pipe(uc(function(t){var n=new ed(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),(n=e.paramsInheritanceStrategy,o=e.ngModule.injector,function(t){return t.pipe(et(function(t){var e=t.targetSnapshot,r=t.guards.canActivateChecks;return r.length?tt(r).pipe(Ml(function(t){return function(t,n,o,r){return function(t,e,n,o){var r=Object.keys(t);if(0===r.length)return Ol({});if(1===r.length){var a=r[0];return tm(t[a],e,n,o).pipe(K(function(t){var e;return(e={})[a]=t,e}))}var i={};return tt(r).pipe(et(function(r){return tm(t[r],e,n,o).pipe(K(function(t){return i[r]=t,t}))})).pipe(_c(),K(function(){return i}))}(t._resolve,t,e,r).pipe(K(function(e){return t._resolvedData=e,t.data=a({},t.data,np(t,o).resolve),null}))}(t.route,0,n,o)}),function(t,e){return arguments.length>=2?function(e){return k(Rc(t,void 0),lc(1),hc(void 0))(e)}:function(e){return k(Rc(function(e,n,o){return t(e)}),lc(1))(e)}}(function(t,e){return t}),K(function(e){return t})):Ol(t)}))}),uc(function(t){var n=new nd(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}));var n,o}),em(function(t){var n=t.extras;return e.hooks.afterPreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),K(function(t){var n,o,r,i=(r=function t(e,n,o){if(o&&e.shouldReuseRoute(n.value,o.value.snapshot)){(c=o.value)._futureSnapshot=n.value;var r=function(e,n,o){return n.children.map(function(n){var r,a;try{for(var i=s(o.children),l=i.next();!l.done;l=i.next()){var c=l.value;if(e.shouldReuseRoute(c.value.snapshot,n.value))return t(e,n,c)}}catch(u){r={error:u}}finally{try{l&&!l.done&&(a=i.return)&&a.call(i)}finally{if(r)throw r.error}}return t(e,n)})}(e,n,o);return new Xd(c,r)}var a=e.retrieve(n.value);if(a){var i=a.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(var o=0;ol;){if(s-=l,!(i=i.parent))throw new Error("Invalid number of '../'");l=i.segments.length}return new pp(i,!1,l-s)}()}(a,0,t),l=i.processChildren?hp(i.segmentGroup,i.index,a.commands):fp(i.segmentGroup,i.index,a.commands);return up(i.segmentGroup,l,e,o,r)}(c,this.currentUrlTree,t,p,d)},t.prototype.navigateByUrl=function(t,e){void 0===e&&(e={skipLocationChange:!1}),ge()&&this.isNgZoneEnabled&&!ua.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=Op(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(o,"imperative",null,e)},t.prototype.navigate=function(t,e){return void 0===e&&(e={skipLocationChange:!1}),function(t){for(var e=0;e=this.toastrConfig.maxOpened&&(i=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));var l=this.overlay.create(o.positionClass,this.overlayContainer);this.index=this.index+1;var s=e;e&&o.enableHtml&&(s=this.sanitizer.sanitize(Fe.HTML,e));var c=new $m(l),u=new qm(this.index,o,s,n,t,c),d=new Jm(u,this._injector),p=new Gm(o.toastComponent,d),m=l.attach(p,this.toastrConfig.newestOnTop);c.componentInstance=m._component;var f={toastId:this.index,message:e||"",toastRef:c,onShown:c.afterActivate(),onHidden:c.afterClosed(),onTap:u.onTap(),onAction:u.onAction(),portal:m};return i||setTimeout(function(){f.toastRef.activate(),r.currentlyActive=r.currentlyActive+1}),this.toasts.push(f),f},t.ngInjectableDef=kt({factory:function(){return new t(jt(Ym),jt(Xm),jt(qt),jt(zu),jt(ua))},token:t,providedIn:"root"}),t}(),ef=function(){function t(t,e,n){var o=this;this.toastrService=t,this.toastPackage=e,this.ngZone=n,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=e.message,this.title=e.title,this.options=e.config,this.originalTimeout=e.config.timeOut,this.toastClasses=e.toastType+" "+e.config.toastClass,this.sub=e.toastRef.afterActivate().subscribe(function(){o.activateToast()}),this.sub1=e.toastRef.manualClosed().subscribe(function(){o.remove()}),this.sub2=e.toastRef.timeoutReset().subscribe(function(){o.resetTimeout()}),this.sub3=e.toastRef.countDuplicate().subscribe(function(t){o.duplicatesCount=t})}return Object.defineProperty(t.prototype,"displayStyle",{get:function(){return"inactive"===this.state.value?"none":"inherit"},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)},t.prototype.activateToast=function(){var t=this;this.state=a({},this.state,{value:"active"}),!this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(function(){return t.remove()},this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(function(){return t.updateProgress()},10))},t.prototype.updateProgress=function(){if(0!==this.width&&100!==this.width&&this.options.timeOut){var t=(new Date).getTime();this.width=(this.hideTime-t)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}},t.prototype.resetTimeout=function(){var t=this;clearTimeout(this.timeout),clearInterval(this.intervalId),this.state=a({},this.state,{value:"active"}),this.outsideTimeout(function(){return t.remove()},this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(function(){return t.updateProgress()},10)},t.prototype.remove=function(){var t=this;"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state=a({},this.state,{value:"removed"}),this.outsideTimeout(function(){return t.toastrService.remove(t.toastPackage.toastId)},+this.toastPackage.config.easeTime))},t.prototype.tapToast=function(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())},t.prototype.stickAround=function(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)},t.prototype.delayedHideToast=function(){var t=this;this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(function(){return t.remove()},this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(function(){return t.updateProgress()},10))},t.prototype.outsideTimeout=function(t,e){var n=this;this.ngZone?this.ngZone.runOutsideAngular(function(){return n.timeout=setTimeout(function(){return n.runInsideAngular(t)},e)}):this.timeout=setTimeout(function(){return t()},e)},t.prototype.outsideInterval=function(t,e){var n=this;this.ngZone?this.ngZone.runOutsideAngular(function(){return n.intervalId=setInterval(function(){return n.runInsideAngular(t)},e)}):this.intervalId=setInterval(function(){return t()},e)},t.prototype.runInsideAngular=function(t){this.ngZone?this.ngZone.run(function(){return t()}):t()},t}(),nf=a({},Wm,{toastComponent:ef}),of=function(){function t(){}var e;return e=t,t.forRoot=function(t){return void 0===t&&(t={}),{ngModule:e,providers:[{provide:Ym,useValue:{default:nf,config:t}}]}},t}(),rf=function(){function t(t,e,n){var o=this;this.beatOnApi=t,this.msgSvc=e,this.toastr=n,this.configUpdated=new Dr,console.log("config service subscribing to host config change event"),this.msgSvc.configChangeMessage.subscribe(function(t){console.log("config service got updated config message"),o.currentConfig=t.UpdatedConfig,o.configUpdated.emit(t.UpdatedConfig)})}return t.prototype.getConfig=function(){var t=this;return new E(function(e){null!=t.currentConfig?e.next(t.currentConfig):t.beatOnApi.getConfig().subscribe(function(n){t.currentConfig=n,e.next(n)},function(n){t.toastr.error("Unable to load configuration","Showstopping Error",{timeOut:30}),t.currentConfig={IsCommitted:!0,Config:{}},e.next(t.currentConfig)})})},t.prototype.ngOnInit=function(){},t.prototype.refreshConfig=function(){var t=this;this.beatOnApi.getConfig().subscribe(function(e){t.currentConfig=e,t.configUpdated.emit(e)},function(t){console.log("ERROR"+t)})},t.ngInjectableDef=wt({factory:function(){return new t(Vt(Qs),Vt(Hm),Vt(tf))},token:t,providedIn:"root"}),t}(),af=function(){function t(){this.isBrowserShown=!1}return t.prototype.isAppLoaded=function(){var e=null!=window[t.INTERFACE_NAME];return console.log("isAppLoaded called, result: "+e),e},t.prototype.refreshBrowser=function(){console.log("calling interface refresh browser"),window[t.INTERFACE_NAME].refreshBrowser()},t.prototype.showBrowser=function(){var e=document.getElementById("mainContentDiv").getBoundingClientRect();console.log("calling interface show browser with offset "+e.top),window[t.INTERFACE_NAME].showBrowser(e.top),this.isBrowserShown=!0},t.prototype.hideBrowser=function(){console.log("calling interface hide browser"),window[t.INTERFACE_NAME].hideBrowser(),this.isBrowserShown=!1},t.prototype.browserGoBack=function(){console.log("calling interface browser go back"),window[t.INTERFACE_NAME].browserGoBack()},t.prototype.navigateBrowser=function(e){console.log("calling navigate browser with "+e),window[t.INTERFACE_NAME].navigateBrowser(e)},t.prototype.showToast=function(e,n,o,r){console.log("calling toast"),window[t.INTERFACE_NAME].showToast(e,n,Vm[o],r)},t.INTERFACE_NAME="BeatOnAppInterface",t.ngInjectableDef=wt({factory:function(){return new t},token:t,providedIn:"root"}),t}(),lf=function(){function t(t,e,n,o,r){var a=this;this.dialogRef=t,this.data=e,this.msgSvc=n,this.cdr=o,this.appIntegration=r,this.messages=new Array,this.mainText="",this.mainText=e.mainText;var i=!1;t.afterOpened().subscribe(function(){a.appIntegration.isBrowserShown&&a.appIntegration.isAppLoaded()&&(a.appIntegration.hideBrowser(),i=!0)}),t.beforeClosed().subscribe(function(){i&&a.appIntegration.isAppLoaded()&&a.appIntegration.showBrowser()}),this.msgSvc.setupMessage.subscribe(function(t){console.log("Got message in spinner "+t.SetupEvent),t.SetupEvent==jm.StatusMessage&&(console.log("pussing message to view"),a.messages.push(t.Message),a.cdr.detectChanges())})}return t.prototype.addMessage=function(t){this.messages.push(t.data.Message)},t.prototype.ngOnInit=function(){},t}(),sf=function(t){return t[t.Queued="Queued"]="Queued",t[t.Started="Started"]="Started",t[t.Complete="Complete"]="Complete",t[t.Failed="Failed"]="Failed",t}({}),cf=function(){function t(){this.backClicked=new Dr,this.navigate=new Dr,this.refreshClicked=new Dr}return t.prototype.triggerBackClicked=function(){this.backClicked.emit(!0)},t.prototype.triggerRefreshClicked=function(){this.refreshClicked.emit(!0)},t.prototype.triggerNavigate=function(t){this.navigate.emit(t)},t.ngInjectableDef=wt({factory:function(){return new t},token:t,providedIn:"root"}),t}(),uf=function(){function t(t,e,n,o,r,a,i,l){var s=this;this.beatOnApi=t,this.router=e,this.msgSvc=n,this.toastr=o,this.cfgSvc=r,this.dialog=a,this.toolbarEvents=i,this.appIntegration=l,this.modStatusLoaded=!1,this.title="Beat On",this.showRefreshButton=!1,this.showBackButton=!1,this.showBrowser=!1,this.resultJson="",this.modStatus={CurrentStatus:""},this.config={IsCommitted:!0,Config:null},this.connectionStatus=Um.Disconnected,this.msgSvc.opStatusMessage.subscribe(function(t){s.opInProgress=t.Ops.findIndex(function(t){return t.Status!=sf.Failed})>-1}),this.router.events.subscribe(function(t){}),this.msgSvc.toastMessage.subscribe(function(t){return s.showToast(t)}),this.cfgSvc.configUpdated.subscribe(function(t){s.config=t}),this.msgSvc.connectionStatusChanged.subscribe(function(t){s.connectionStatus=t}),this.router.events.subscribe(function(t){t instanceof Zu&&(s.showBackButton="/main/browser"==t.url,s.showRefreshButton="/main/browser"==t.url,s.showBrowser="/main/browser"==t.url,"/"==t.url&&(s.modStatusLoaded=!1,s.checkModStatus()))}),this.msgSvc.setupMessage.subscribe(function(t){switch(t.SetupEvent){case jm.Step1Complete:s.router.navigateByUrl("/setupstep2");break;case jm.Step2Complete:s.router.navigateByUrl("/setupstep3");break;case jm.Step3Complete:s.router.navigateByUrl("/")}})}return t.prototype.ngOnInit=function(){this.checkModStatus()},t.prototype.commitConfig=function(){var t=this.dialog.open(lf,{width:"450px",height:"350px",disableClose:!0,data:{mainText:"Updating config... Do not exit Beat On yet!"}});this.beatOnApi.commitConfig().subscribe(function(e){t.close()},function(e){t.close()})},t.prototype.showToast=function(t){if(this.appIntegration.isBrowserShown)return console.log("redirecting toast to host since browser is visible"),void this.appIntegration.showToast(t.Title,t.Message,t.ToastType,t.Timeout);switch(console.log("browser is not shown, doing toast on web"),t.ToastType){case Vm.Error:this.toastr.error(t.Message,t.Title,{timeOut:t.Timeout});break;case Vm.Info:this.toastr.info(t.Message,t.Title,{timeOut:t.Timeout});break;case Vm.Success:this.toastr.success(t.Message,t.Title,{timeOut:t.Timeout});break;case Vm.Warning:this.toastr.warning(t.Message,t.Title,{timeOut:t.Timeout})}},t.prototype.getConnStatusColor=function(){return this.connectionStatus==Um.Connected?"green":this.connectionStatus==Um.Connecting?"orange":"gray"},t.prototype.getConnStatusIcon=function(){return this.connectionStatus==Um.Connected||this.connectionStatus==Um.Connecting},t.prototype.reconnect=function(){this.msgSvc.reconnect()},t.prototype.checkModStatus=function(){var t=this;this.beatOnApi.getModStatus().subscribe(function(e){t.modStatusLoaded=!0,t.modStatus=e,"ModInstallNotStarted"==t.modStatus.CurrentStatus?t.router.navigateByUrl("/setup"):"ReadyForModApply"==t.modStatus.CurrentStatus?t.router.navigateByUrl("/setupstep2"):"ReadyForInstall"==t.modStatus.CurrentStatus?t.router.navigateByUrl("/setupstep3"):"ModInstalled"==t.modStatus.CurrentStatus&&t.cfgSvc.getConfig().subscribe(function(e){t.config=e,t.router.navigateByUrl("/main/browser")})})},t.prototype.onClickModStatus=function(){},t.prototype.onClickInstallModStep1=function(){var t=this;this.beatOnApi.installModStep1().subscribe(function(e){t.modStatusLoaded=!0,t.modStatus=e,t.resultJson=JSON.stringify(e)})},t.prototype.onClickInstallModStep2=function(){var t=this;this.beatOnApi.installModStep2().subscribe(function(e){t.modStatus=e,t.resultJson=JSON.stringify(e)})},t.prototype.clickBack=function(){this.toolbarEvents.triggerBackClicked()},t.prototype.clickRefresh=function(){this.toolbarEvents.triggerRefreshClicked()},t.prototype.linkSelected=function(t){this.toolbarEvents.triggerNavigate(t)},t}(),df=ao({encapsulation:2,styles:[],data:{animation:[{type:7,name:"flyInOut",definitions:[{type:0,name:"inactive",styles:{type:6,styles:{opacity:0},offset:null},options:void 0},{type:0,name:"active",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:0,name:"removed",styles:{type:6,styles:{opacity:0},offset:null},options:void 0},{type:1,expr:"inactive => active",animation:{type:4,styles:null,timings:"{{ easeTime }}ms {{ easing }}"},options:null},{type:1,expr:"active => removed",animation:{type:4,styles:null,timings:"{{ easeTime }}ms {{ easing }}"},options:null}],options:{}}]}});function pf(t){return ui(0,[(t()(),Ga(0,0,null,null,2,"button",[["aria-label","Close"],["class","toast-close-button"]],null,[[null,"click"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==t.component.remove()&&o),o},null,null)),(t()(),Ga(1,0,null,null,1,"span",[["aria-hidden","true"]],null,null,null,null,null)),(t()(),li(-1,null,["\xd7"]))],null,null)}function mf(t){return ui(0,[(t()(),Ga(0,0,null,null,1,null,null,null,null,null,null,null)),(t()(),li(1,null,["[","]"]))],null,function(t,e){t(e,1,0,e.component.duplicatesCount+1)})}function ff(t){return ui(0,[(t()(),Ga(0,0,null,null,3,"div",[],[[8,"className",0],[1,"aria-label",0]],null,null,null,null)),(t()(),li(1,null,[" "," "])),(t()(),Ya(16777216,null,null,1,null,mf)),gr(3,16384,null,0,Kl,[jn,Fn],{ngIf:[0,"ngIf"]},null)],function(t,e){t(e,3,0,e.component.duplicatesCount)},function(t,e){var n=e.component;t(e,0,0,n.options.titleClass,n.title),t(e,1,0,n.title)})}function hf(t){return ui(0,[(t()(),Ga(0,0,null,null,0,"div",[["aria-live","polite"],["role","alertdialog"]],[[8,"className",0],[8,"innerHTML",1]],null,null,null,null))],null,function(t,e){var n=e.component;t(e,0,0,n.options.messageClass,n.message)})}function gf(t){return ui(0,[(t()(),Ga(0,0,null,null,1,"div",[["aria-live","polite"],["role","alertdialog"]],[[8,"className",0],[1,"aria-label",0]],null,null,null,null)),(t()(),li(1,null,[" "," "]))],null,function(t,e){var n=e.component;t(e,0,0,n.options.messageClass,n.message),t(e,1,0,n.message)})}function bf(t){return ui(0,[(t()(),Ga(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),Ga(1,0,null,null,0,"div",[["class","toast-progress"]],[[4,"width",null]],null,null,null,null))],null,function(t,e){t(e,1,0,e.component.width+"%")})}function _f(t){return ui(0,[(t()(),Ya(16777216,null,null,1,null,pf)),gr(1,16384,null,0,Kl,[jn,Fn],{ngIf:[0,"ngIf"]},null),(t()(),Ya(16777216,null,null,1,null,ff)),gr(3,16384,null,0,Kl,[jn,Fn],{ngIf:[0,"ngIf"]},null),(t()(),Ya(16777216,null,null,1,null,hf)),gr(5,16384,null,0,Kl,[jn,Fn],{ngIf:[0,"ngIf"]},null),(t()(),Ya(16777216,null,null,1,null,gf)),gr(7,16384,null,0,Kl,[jn,Fn],{ngIf:[0,"ngIf"]},null),(t()(),Ya(16777216,null,null,1,null,bf)),gr(9,16384,null,0,Kl,[jn,Fn],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,1,0,n.options.closeButton),t(e,3,0,n.title),t(e,5,0,n.message&&n.options.enableHtml),t(e,7,0,n.message&&!n.options.enableHtml),t(e,9,0,n.options.progressBar)},null)}function yf(t){return ui(0,[(t()(),Ga(0,0,null,null,1,"div",[["toast-component",""]],[[8,"className",0],[40,"@flyInOut",0],[4,"display",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==or(t,1).tapToast()&&o),"mouseenter"===e&&(o=!1!==or(t,1).stickAround()&&o),"mouseleave"===e&&(o=!1!==or(t,1).delayedHideToast()&&o),o},_f,df)),gr(1,180224,null,0,ef,[tf,qm,ua],null,null)],null,function(t,e){t(e,0,0,or(e,1).toastClasses,or(e,1).state,or(e,1).displayStyle)})}var vf=Yo("[toast-component]",ef,yf,{},{},[]),Cf=ao({encapsulation:2,styles:[],data:{}});function Pf(t){return ui(0,[(t()(),Ga(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),gr(1,212992,null,0,_m,[bm,jn,ln,[8,null],An],null,null)],function(t,e){t(e,1,0)},null)}function Of(t){return ui(0,[(t()(),Ga(0,0,null,null,1,"ng-component",[],null,null,null,Pf,Cf)),gr(1,49152,null,0,ud,[],null,null)],null,null)}var Mf,xf=Yo("ng-component",ud,Of,{},{},[]),wf=function(){return function(){}}(),kf=function(){return function(){}}(),Sf=function(){return function(){}}(),Ef=function(){return function(){this.align="start"}}(),Tf=function(){return function(){}}(),If=function(){return function(){}}(),Rf=function(){return function(){}}(),Af=function(){return function(){}}(),Df=new Bt("cdk-dir-doc",{providedIn:"root",factory:function(){return jt(us)}}),Nf=function(){function t(t){if(this.value="ltr",this.change=new Dr,t){var e=(t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null);this.value="ltr"===e||"rtl"===e?e:"ltr"}}return t.prototype.ngOnDestroy=function(){this.change.complete()},t.ngInjectableDef=wt({factory:function(){return new t(Vt(Df,8))},token:t,providedIn:"root"}),t}(),zf=function(){return function(){}}();function Lf(t){return null!=t&&""+t!="false"}function Ff(t,e){return void 0===e&&(e=0),function(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):e}function Vf(t){return Array.isArray(t)?t:[t]}function jf(t){return null==t?"":"string"==typeof t?t:t+"px"}function Bf(t){return t instanceof mn?t.nativeElement:t}try{Mf="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(Lk){Mf=!1}var Hf,Uf,qf=function(){function t(t){this._platformId=t,this.isBrowser=this._platformId?ms(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Mf)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}return t.ngInjectableDef=wt({factory:function(){return new t(Vt(Wr,8))},token:t,providedIn:"root"}),t}(),Wf=function(){return function(){}}(),Yf=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Gf(){if(Hf)return Hf;if("object"!=typeof document||!document)return Hf=new Set(Yf);var t=document.createElement("input");return Hf=new Set(Yf.filter(function(e){return t.setAttribute("type",e),t.type===e}))}function Zf(t){return function(){if(null==Uf&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Uf=!0}}))}finally{Uf=Uf||!1}return Uf}()?t:!!t.capture}var Qf,Kf=function(){var t={NORMAL:0,NEGATED:1,INVERTED:2};return t[t.NORMAL]="NORMAL",t[t.NEGATED]="NEGATED",t[t.INVERTED]="INVERTED",t}();function Xf(){if("object"!=typeof document||!document)return Kf.NORMAL;if(!Qf){var t=document.createElement("div"),e=t.style;t.dir="rtl",e.height="1px",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";var n=document.createElement("div"),o=n.style;o.width="2px",o.height="1px",t.appendChild(n),document.body.appendChild(t),Qf=Kf.NORMAL,0===t.scrollLeft&&(t.scrollLeft=1,Qf=0===t.scrollLeft?Kf.NEGATED:Kf.INVERTED),t.parentNode.removeChild(t)}return Qf}var $f=27;function Jf(t){for(var e=[],n=1;n-1&&n!==e._activeItemIndex&&(e._activeItemIndex=n)}})}return t.prototype.skipPredicate=function(t){return this._skipPredicateFn=t,this},t.prototype.withWrap=function(t){return void 0===t&&(t=!0),this._wrap=t,this},t.prototype.withVerticalOrientation=function(t){return void 0===t&&(t=!0),this._vertical=t,this},t.prototype.withHorizontalOrientation=function(t){return this._horizontal=t,this},t.prototype.withAllowedModifierKeys=function(t){return this._allowedModifierKeys=t,this},t.prototype.withTypeAhead=function(t){var e=this;if(void 0===t&&(t=200),this._items.length&&this._items.some(function(t){return"function"!=typeof t.getLabel}))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(uc(function(t){return e._pressedLetters.push(t)}),rh(t),xl(function(){return e._pressedLetters.length>0}),K(function(){return e._pressedLetters.join("")})).subscribe(function(t){for(var n=e._getItemsArray(),o=1;o-1});switch(n){case 9:return void this.tabOut.next();case 40:if(this._vertical&&o){this.setNextItemActive();break}return;case 38:if(this._vertical&&o){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&o){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&o){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((o||Jf(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(n>=65&&n<=90||n>=48&&n<=57)&&this._letterKeyStream.next(String.fromCharCode(n))))}this._pressedLetters=[],t.preventDefault()},Object.defineProperty(t.prototype,"activeItemIndex",{get:function(){return this._activeItemIndex},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activeItem",{get:function(){return this._activeItem},enumerable:!0,configurable:!0}),t.prototype.setFirstItemActive=function(){this._setActiveItemByIndex(0,1)},t.prototype.setLastItemActive=function(){this._setActiveItemByIndex(this._items.length-1,-1)},t.prototype.setNextItemActive=function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)},t.prototype.setPreviousItemActive=function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)},t.prototype.updateActiveItem=function(t){var e=this._getItemsArray(),n="number"==typeof t?t:e.indexOf(t),o=e[n];this._activeItem=null==o?null:o,this._activeItemIndex=n},t.prototype.updateActiveItemIndex=function(t){this.updateActiveItem(t)},t.prototype._setActiveItemByDelta=function(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)},t.prototype._setActiveInWrapMode=function(t){for(var e=this._getItemsArray(),n=1;n<=e.length;n++){var o=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[o]))return void this.setActiveItem(o)}},t.prototype._setActiveInDefaultMode=function(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)},t.prototype._setActiveItemByIndex=function(t,e){var n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}},t.prototype._getItemsArray=function(){return this._items instanceof Nr?this._items.toArray():this._items},t}()),ch=function(){function t(t){this._platform=t}return t.prototype.isDisabled=function(t){return t.hasAttribute("disabled")},t.prototype.isVisible=function(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility},t.prototype.isTabbable=function(t){if(!this._platform.isBrowser)return!1;var e,n=function(t){try{return t.frameElement}catch(Lk){return null}}((e=t).ownerDocument&&e.ownerDocument.defaultView||window);if(n){var o=n&&n.nodeName.toLowerCase();if(-1===dh(n))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===o)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(n))return!1}var r=t.nodeName.toLowerCase(),a=dh(t);if(t.hasAttribute("contenteditable"))return-1!==a;if("iframe"===r)return!1;if("audio"===r){if(!t.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===r){if(!t.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==r||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){var e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&t.tabIndex>=0},t.prototype.isFocusable=function(t){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){var e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||uh(t))}(t)&&!this.isDisabled(t)&&this.isVisible(t)},t.ngInjectableDef=wt({factory:function(){return new t(Vt(qf))},token:t,providedIn:"root"}),t}();function uh(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;var e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function dh(t){if(!uh(t))return null;var e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}var ph=function(){function t(t,e,n,o,r){var a=this;void 0===r&&(r=!1),this._element=t,this._checker=e,this._ngZone=n,this._document=o,this._hasAttached=!1,this.startAnchorListener=function(){return a.focusLastTabbableElement()},this.endAnchorListener=function(){return a.focusFirstTabbableElement()},this._enabled=!0,r||this.attachAnchors()}return Object.defineProperty(t.prototype,"enabled",{get:function(){return this._enabled},set:function(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){var t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null},t.prototype.attachAnchors=function(){var t=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular(function(){t._startAnchor||(t._startAnchor=t._createAnchor(),t._startAnchor.addEventListener("focus",t.startAnchorListener)),t._endAnchor||(t._endAnchor=t._createAnchor(),t._endAnchor.addEventListener("focus",t.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)},t.prototype.focusInitialElementWhenReady=function(){var t=this;return new Promise(function(e){t._executeOnStable(function(){return e(t.focusInitialElement())})})},t.prototype.focusFirstTabbableElementWhenReady=function(){var t=this;return new Promise(function(e){t._executeOnStable(function(){return e(t.focusFirstTabbableElement())})})},t.prototype.focusLastTabbableElementWhenReady=function(){var t=this;return new Promise(function(e){t._executeOnStable(function(){return e(t.focusLastTabbableElement())})})},t.prototype._getRegionBoundary=function(t){for(var e=this._element.querySelectorAll("[cdk-focus-region-"+t+"], [cdkFocusRegion"+t+"], [cdk-focus-"+t+"]"),n=0;n=0;n--){var o=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(o)return o}return null},t.prototype._createAnchor=function(){var t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t},t.prototype._toggleAnchorTabIndex=function(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")},t.prototype._executeOnStable=function(t){this._ngZone.isStable?t():this._ngZone.onStable.asObservable().pipe(Pc(1)).subscribe(t)},t}(),mh=function(){function t(t,e,n){this._checker=t,this._ngZone=e,this._document=n}return t.prototype.create=function(t,e){return void 0===e&&(e=!1),new ph(t,this._checker,this._ngZone,this._document,e)},t.ngInjectableDef=wt({factory:function(){return new t(Vt(ch),Vt(ua),Vt(us))},token:t,providedIn:"root"}),t}(),fh=650,hh=Zf({passive:!0,capture:!0}),gh=function(){function t(t,e){var n=this;this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._documentKeydownListener=function(){n._lastTouchTarget=null,n._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=function(){n._lastTouchTarget||n._setOriginForCurrentEventQueue("mouse")},this._documentTouchstartListener=function(t){null!=n._touchTimeoutId&&clearTimeout(n._touchTimeoutId),n._lastTouchTarget=t.target,n._touchTimeoutId=setTimeout(function(){return n._lastTouchTarget=null},fh)},this._windowFocusListener=function(){n._windowFocused=!0,n._windowFocusTimeoutId=setTimeout(function(){return n._windowFocused=!1})}}return t.prototype.monitor=function(t,e){var n=this;if(void 0===e&&(e=!1),!this._platform.isBrowser)return Ol(null);var o=Bf(t);if(this._elementInfo.has(o)){var r=this._elementInfo.get(o);return r.checkChildren=e,r.subject.asObservable()}var a={unlisten:function(){},checkChildren:e,subject:new N};this._elementInfo.set(o,a),this._incrementMonitoredElementCount();var i=function(t){return n._onFocus(t,o)},l=function(t){return n._onBlur(t,o)};return this._ngZone.runOutsideAngular(function(){o.addEventListener("focus",i,!0),o.addEventListener("blur",l,!0)}),a.unlisten=function(){o.removeEventListener("focus",i,!0),o.removeEventListener("blur",l,!0)},a.subject.asObservable()},t.prototype.stopMonitoring=function(t){var e=Bf(t),n=this._elementInfo.get(e);n&&(n.unlisten(),n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._decrementMonitoredElementCount())},t.prototype.focusVia=function(t,e,n){var o=Bf(t);this._setOriginForCurrentEventQueue(e),"function"==typeof o.focus&&o.focus(n)},t.prototype.ngOnDestroy=function(){var t=this;this._elementInfo.forEach(function(e,n){return t.stopMonitoring(n)})},t.prototype._toggleClass=function(t,e,n){n?t.classList.add(e):t.classList.remove(e)},t.prototype._setClasses=function(t,e){this._elementInfo.get(t)&&(this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e))},t.prototype._setOriginForCurrentEventQueue=function(t){var e=this;this._ngZone.runOutsideAngular(function(){e._origin=t,e._originTimeoutId=setTimeout(function(){return e._origin=null},1)})},t.prototype._wasCausedByTouch=function(t){var e=t.target;return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))},t.prototype._onFocus=function(t,e){var n=this._elementInfo.get(e);if(n&&(n.checkChildren||e===t.target)){var o=this._origin;o||(o=this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"),this._setClasses(e,o),this._emitOrigin(n.subject,o),this._lastFocusOrigin=o}},t.prototype._onBlur=function(t,e){var n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))},t.prototype._emitOrigin=function(t,e){this._ngZone.run(function(){return t.next(e)})},t.prototype._incrementMonitoredElementCount=function(){var t=this;1==++this._monitoredElementCount&&this._platform.isBrowser&&this._ngZone.runOutsideAngular(function(){document.addEventListener("keydown",t._documentKeydownListener,hh),document.addEventListener("mousedown",t._documentMousedownListener,hh),document.addEventListener("touchstart",t._documentTouchstartListener,hh),window.addEventListener("focus",t._windowFocusListener)})},t.prototype._decrementMonitoredElementCount=function(){--this._monitoredElementCount||(document.removeEventListener("keydown",this._documentKeydownListener,hh),document.removeEventListener("mousedown",this._documentMousedownListener,hh),document.removeEventListener("touchstart",this._documentTouchstartListener,hh),window.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId))},t.ngInjectableDef=wt({factory:function(){return new t(Vt(ua),Vt(qf))},token:t,providedIn:"root"}),t}();function bh(t){return 0===t.buttons}var _h=function(){return function(){}}(),yh=new Bt("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),vh=function(){function t(t,e){this._sanityChecksEnabled=t,this._hammerLoader=e,this._hasDoneGlobalChecks=!1,this._hasCheckedHammer=!1,this._document="object"==typeof document&&document?document:null,this._window="object"==typeof window&&window?window:null,this._areChecksEnabled()&&!this._hasDoneGlobalChecks&&(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._hasDoneGlobalChecks=!0)}return t.prototype._areChecksEnabled=function(){return this._sanityChecksEnabled&&ge()&&!this._isTestEnv()},t.prototype._isTestEnv=function(){var t=this._window;return t&&(t.__karma__||t.jasmine)},t.prototype._checkDoctypeIsDefined=function(){this._document&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")},t.prototype._checkThemeIsPresent=function(){if(this._document&&this._document.body&&"function"==typeof getComputedStyle){var t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);var e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}},t.prototype._checkHammerIsAvailable=function(){!this._hasCheckedHammer&&this._window&&(!this._areChecksEnabled()||this._window.Hammer||this._hammerLoader||console.warn("Could not find HammerJS. Certain Angular Material components may not work correctly."),this._hasCheckedHammer=!0)},t}();function Ch(t){return function(t){function e(){for(var e=[],n=0;n.mat-card-xl-image{margin:-8px 0 8px}@media (max-width:599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card-content>:first-child,.mat-card>:first-child{margin-top:0}.mat-card-content>:last-child:not(.mat-card-footer),.mat-card>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child{margin-left:0;margin-right:0}.mat-card-subtitle:not(:first-child),.mat-card-title:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}"],data:{}});function Uh(t){return ui(2,[oi(null,0),oi(null,1)],null,null)}var qh=ao({encapsulation:2,styles:[],data:{}});function Wh(t){return ui(2,[oi(null,0),(t()(),Ga(1,0,null,null,1,"div",[["class","mat-card-header-text"]],null,null,null,null,null)),oi(null,1),oi(null,2)],null,null)}function Yh(t,e){return new E(e?function(n){return e.schedule(Gh,0,{error:t,subscriber:n})}:function(e){return e.error(t)})}function Gh(t){t.subscriber.error(t.error)}function Zh(){for(var t,e=[],n=0;n=0;n--){var o=e[n];if(o.svgElement){var r=this._extractSvgIconFromSet(o.svgElement,t);if(r)return r}}return null},t.prototype._loadSvgIconFromConfig=function(t){var e=this;return this._fetchUrl(t.url).pipe(K(function(t){return e._createSvgElementForSingleIcon(t)}))},t.prototype._loadSvgIconSetFromConfig=function(t){var e=this;return t.svgElement?Ol(t.svgElement):this._fetchUrl(t.url).pipe(K(function(n){return t.svgElement||(t.svgElement=e._svgElementFromString(n)),t.svgElement}))},t.prototype._createSvgElementForSingleIcon=function(t){var e=this._svgElementFromString(t);return this._setSvgAttributes(e),e},t.prototype._extractSvgIconFromSet=function(t,e){var n=t.querySelector('[id="'+e+'"]');if(!n)return null;var o=n.cloneNode(!0);if(o.removeAttribute("id"),"svg"===o.nodeName.toLowerCase())return this._setSvgAttributes(o);if("symbol"===o.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(o));var r=this._svgElementFromString("");return r.appendChild(o),this._setSvgAttributes(r)},t.prototype._svgElementFromString=function(t){var e=this._document.createElement("DIV");e.innerHTML=t;var n=e.querySelector("svg");if(!n)throw Error(" tag not found");return n},t.prototype._toSvgElement=function(t){for(var e=this._svgElementFromString(""),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 o)return void e.push(o);t=o}var r=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push('The provided transition expression "'+t+'" is not supported'),e;var a=r[1],i=r[2],l=r[3];e.push(gb(a,l)),"<"!=i[0]||a==mb&&l==mb||e.push(gb(l,a))}(t,r,o)}):r.push(n),r),animation:a,queryCount:e.queryCount,depCount:e.depCount,options:Pb(t.options)}},t.prototype.visitSequence=function(t,e){var n=this;return{type:2,steps:t.steps.map(function(t){return db(n,t,e)}),options:Pb(t.options)}},t.prototype.visitGroup=function(t,e){var n=this,o=e.currentTime,r=0,a=t.steps.map(function(t){e.currentTime=o;var a=db(n,t,e);return r=Math.max(r,e.currentTime),a});return e.currentTime=r,{type:3,steps:a,options:Pb(t.options)}},t.prototype.visitAnimate=function(t,e){var n,o=function(t,e){var n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return Ob(Qg(t,e).duration,0,"");var o=t;if(o.split(/\s+/).some(function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)})){var r=Ob(0,0,"");return r.dynamic=!0,r.strValue=o,r}return Ob((n=n||Qg(o,e)).duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=o;var r=t.styles?t.styles:vg({});if(5==r.type)n=this.visitKeyframes(r,e);else{var a=t.styles,i=!1;if(!a){i=!0;var l={};o.easing&&(l.easing=o.easing),a=vg(l)}e.currentTime+=o.duration+o.delay;var s=this.visitStyle(a,e);s.isEmptyStep=i,n=s}return e.currentAnimateTimings=null,{type:4,timings:o,style:n,options:null}},t.prototype.visitStyle=function(t,e){var n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n},t.prototype._makeStyleAst=function(t,e){var n=[];Array.isArray(t.styles)?t.styles.forEach(function(t){"string"==typeof t?t==_g?n.push(t):e.errors.push("The provided style string value "+t+" is not allowed."):n.push(t)}):n.push(t.styles);var o=!1,r=null;return n.forEach(function(t){if(Cb(t)){var e=t,n=e.easing;if(n&&(r=n,delete e.easing),!o)for(var a in e)if(e[a].toString().indexOf("{{")>=0){o=!0;break}}}),{type:6,styles:n,easing:r,offset:t.offset,containsDynamicStyles:o,options:null}},t.prototype._validateStyleAst=function(t,e){var n=this,o=e.currentAnimateTimings,r=e.currentTime,a=e.currentTime;o&&a>0&&(a-=o.duration+o.delay),t.styles.forEach(function(t){"string"!=typeof t&&Object.keys(t).forEach(function(o){if(n._driver.validateStyleProperty(o)){var i,l,s,c=e.collectedStyles[e.currentQuerySelector],u=c[o],d=!0;u&&(a!=r&&a>=u.startTime&&r<=u.endTime&&(e.errors.push('The CSS property "'+o+'" that exists between the times of "'+u.startTime+'ms" and "'+u.endTime+'ms" is also being animated in a parallel animation between the times of "'+a+'ms" and "'+r+'ms"'),d=!1),a=u.startTime),d&&(c[o]={startTime:a,endTime:r}),e.options&&(i=e.errors,l=e.options.params||{},(s=rb(t[o])).length&&s.forEach(function(t){l.hasOwnProperty(t)||i.push("Unable to resolve the local animation param "+t+" in the given list of values")}))}else e.errors.push('The provided animation property "'+o+'" is not a supported CSS property for animations')})})},t.prototype.visitKeyframes=function(t,e){var n=this,o={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),o;var r=0,a=[],i=!1,l=!1,s=0,c=t.steps.map(function(t){var o=n._makeStyleAst(t,e),c=null!=o.offset?o.offset:function(t){if("string"==typeof t)return null;var e=null;if(Array.isArray(t))t.forEach(function(t){if(Cb(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}});else if(Cb(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}return e}(o.styles),u=0;return null!=c&&(r++,u=o.offset=c),l=l||u<0||u>1,i=i||u0&&r0?r==p?1:d*r:a[r],l=i*h;e.currentTime=m+f.delay+l,f.duration=l,n._validateStyleAst(t,e),t.offset=i,o.styles.push(t)}),o},t.prototype.visitReference=function(t,e){return{type:8,animation:db(this,nb(t.animation),e),options:Pb(t.options)}},t.prototype.visitAnimateChild=function(t,e){return e.depCount++,{type:9,options:Pb(t.options)}},t.prototype.visitAnimateRef=function(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:Pb(t.options)}},t.prototype.visitQuery=function(t,e){var n=e.currentQuerySelector,o=t.options||{};e.queryCount++,e.currentQuery=t;var r=c(function(t){var e=!!t.split(/\s*,\s*/).find(function(t){return":self"==t});return e&&(t=t.replace(bb,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(t){return".ng-trigger-"+t.substr(1)}).replace(/:animating/g,".ng-animating"),e]}(t.selector),2),a=r[0],i=r[1];e.currentQuerySelector=n.length?n+" "+a:a,Ig(e.collectedStyles,e.currentQuerySelector,{});var l=db(this,nb(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:a,limit:o.limit||0,optional:!!o.optional,includeSelf:i,animation:l,originalSelector:t.selector,options:Pb(t.options)}},t.prototype.visitStagger=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"}:Qg(t.timings,e.errors,!0);return{type:12,animation:db(this,nb(t.animation),e),timings:n,options:null}},t}(),vb=function(){return function(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 Cb(t){return!Array.isArray(t)&&"object"==typeof t}function Pb(t){var e;return t?(t=Kg(t)).params&&(t.params=(e=t.params)?Kg(e):null):t={},t}function Ob(t,e,n){return{duration:t,delay:e,easing:n}}function Mb(t,e,n,o,r,a,i,l){return void 0===i&&(i=null),void 0===l&&(l=!1),{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:o,duration:r,delay:a,totalTime:r+a,easing:i,subTimeline:l}}var xb=function(){function t(){this._map=new Map}return t.prototype.consume=function(t){var e=this._map.get(t);return e?this._map.delete(t):e=[],e},t.prototype.append=function(t,e){var n=this._map.get(t);n||this._map.set(t,n=[]),n.push.apply(n,u(e))},t.prototype.has=function(t){return this._map.has(t)},t.prototype.clear=function(){this._map.clear()},t}(),wb=new RegExp(":enter","g"),kb=new RegExp(":leave","g");function Sb(t,e,n,o,r,a,i,l,s,c){return void 0===a&&(a={}),void 0===i&&(i={}),void 0===c&&(c=[]),(new Eb).buildKeyframes(t,e,n,o,r,a,i,l,s,c)}var Eb=function(){function t(){}return t.prototype.buildKeyframes=function(t,e,n,o,r,a,i,l,s,c){void 0===c&&(c=[]),s=s||new xb;var u=new Ib(t,e,s,o,r,c,[]);u.options=l,u.currentTimeline.setStyles([a],null,u.errors,l),db(this,n,u);var d=u.timelines.filter(function(t){return t.containsAnimation()});if(d.length&&Object.keys(i).length){var p=d[d.length-1];p.allowOnlyTimelineStyles()||p.setStyles([i],null,u.errors,l)}return d.length?d.map(function(t){return t.buildKeyframes()}):[Mb(e,[],[],[],0,0,"",!1)]},t.prototype.visitTrigger=function(t,e){},t.prototype.visitState=function(t,e){},t.prototype.visitTransition=function(t,e){},t.prototype.visitAnimateChild=function(t,e){var n=e.subInstructions.consume(e.element);if(n){var o=e.createSubContext(t.options),r=e.currentTimeline.currentTime,a=this._visitSubInstructions(n,o,o.options);r!=a&&e.transformIntoNewTimeline(a)}e.previousNode=t},t.prototype.visitAnimateRef=function(t,e){var n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t},t.prototype._visitSubInstructions=function(t,e,n){var o=e.currentTimeline.currentTime,r=null!=n.duration?Gg(n.duration):null,a=null!=n.delay?Gg(n.delay):null;return 0!==r&&t.forEach(function(t){var n=e.appendInstructionToTimeline(t,r,a);o=Math.max(o,n.duration+n.delay)}),o},t.prototype.visitReference=function(t,e){e.updateOptions(t.options,!0),db(this,t.animation,e),e.previousNode=t},t.prototype.visitSequence=function(t,e){var n=this,o=e.subContextCount,r=e,a=t.options;if(a&&(a.params||a.delay)&&((r=e.createSubContext(a)).transformIntoNewTimeline(),null!=a.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Tb);var i=Gg(a.delay);r.delayNextStep(i)}t.steps.length&&(t.steps.forEach(function(t){return db(n,t,r)}),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>o&&r.transformIntoNewTimeline()),e.previousNode=t},t.prototype.visitGroup=function(t,e){var n=this,o=[],r=e.currentTimeline.currentTime,a=t.options&&t.options.delay?Gg(t.options.delay):0;t.steps.forEach(function(i){var l=e.createSubContext(t.options);a&&l.delayNextStep(a),db(n,i,l),r=Math.max(r,l.currentTimeline.currentTime),o.push(l.currentTimeline)}),o.forEach(function(t){return e.currentTimeline.mergeTimelineCollectedStyles(t)}),e.transformIntoNewTimeline(r),e.previousNode=t},t.prototype._visitTiming=function(t,e){if(t.dynamic){var n=t.strValue;return Qg(e.params?ab(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}},t.prototype.visitAnimate=function(t,e){var n=e.currentAnimateTimings=this._visitTiming(t.timings,e),o=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),o.snapshotCurrentStyles());var r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(n.duration),this.visitStyle(r,e),o.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t},t.prototype.visitStyle=function(t,e){var n=e.currentTimeline,o=e.currentAnimateTimings;!o&&n.getCurrentStyleProperties().length&&n.forwardFrame();var r=o&&o.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(r):n.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t},t.prototype.visitKeyframes=function(t,e){var n=e.currentAnimateTimings,o=e.currentTimeline.duration,r=n.duration,a=e.createSubContext().currentTimeline;a.easing=n.easing,t.styles.forEach(function(t){a.forwardTime((t.offset||0)*r),a.setStyles(t.styles,t.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(o+r),e.previousNode=t},t.prototype.visitQuery=function(t,e){var n=this,o=e.currentTimeline.currentTime,r=t.options||{},a=r.delay?Gg(r.delay):0;a&&(6===e.previousNode.type||0==o&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Tb);var i=o,l=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=l.length;var s=null;l.forEach(function(o,r){e.currentQueryIndex=r;var l=e.createSubContext(t.options,o);a&&l.delayNextStep(a),o===e.element&&(s=l.currentTimeline),db(n,t.animation,l),l.currentTimeline.applyStylesToKeyframe(),i=Math.max(i,l.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(i),s&&(e.currentTimeline.mergeTimelineCollectedStyles(s),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t},t.prototype.visitStagger=function(t,e){var n=e.parentContext,o=e.currentTimeline,r=t.timings,a=Math.abs(r.duration),i=a*(e.currentQueryTotal-1),l=a*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=i-l;break;case"full":l=n.currentStaggerTime}var s=e.currentTimeline;l&&s.delayNextStep(l);var c=s.currentTime;db(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=o.currentTime-c+(o.startTime-n.currentTimeline.startTime)},t}(),Tb={},Ib=function(){function t(t,e,n,o,r,a,i,l){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=o,this._leaveClassName=r,this.errors=a,this.timelines=i,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Tb,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Rb(this._driver,e,0),i.push(this.currentTimeline)}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.updateOptions=function(t,e){var n=this;if(t){var o=t,r=this.options;null!=o.duration&&(r.duration=Gg(o.duration)),null!=o.delay&&(r.delay=Gg(o.delay));var a=o.params;if(a){var i=r.params;i||(i=this.options.params={}),Object.keys(a).forEach(function(t){e&&i.hasOwnProperty(t)||(i[t]=ab(a[t],i,n.errors))})}}},t.prototype._copyOptions=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},t.prototype.createSubContext=function(e,n,o){void 0===e&&(e=null);var r=n||this.element,a=new t(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,o||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(e),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a},t.prototype.transformIntoNewTimeline=function(t){return this.previousNode=Tb,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline},t.prototype.appendInstructionToTimeline=function(t,e,n){var o={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},r=new Ab(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,o,t.stretchStartingKeyframe);return this.timelines.push(r),o},t.prototype.incrementTime=function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)},t.prototype.delayNextStep=function(t){t>0&&this.currentTimeline.delayNextStep(t)},t.prototype.invokeQuery=function(t,e,n,o,r,a){var i=[];if(o&&i.push(this.element),t.length>0){t=(t=t.replace(wb,"."+this._enterClassName)).replace(kb,"."+this._leaveClassName);var l=this._driver.query(this.element,t,1!=n);0!==n&&(l=n<0?l.slice(l.length+n,l.length):l.slice(0,n)),i.push.apply(i,u(l))}return r||0!=i.length||a.push('`query("'+e+'")` returned zero elements. (Use `query("'+e+'", { optional: true })` if you wish to allow this.)'),i},t}(),Rb=function(){function t(t,e,n,o){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=o,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()}return t.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},t.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),t.prototype.delayNextStep=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},t.prototype.fork=function(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)},t.prototype._loadKeyframe=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))},t.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},t.prototype.forwardTime=function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()},t.prototype._updateStyle=function(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}},t.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},t.prototype.applyEmptyStep=function(t){var e=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(function(t){e._backFill[t]=e._globalTimelineStyles[t]||_g,e._currentKeyframe[t]=_g}),this._currentEmptyStepKeyframe=this._currentKeyframe},t.prototype.setStyles=function(t,e,n,o){var r=this;e&&(this._previousKeyframe.easing=e);var a=o&&o.params||{},i=function(t,e){var n,o={};return t.forEach(function(t){"*"===t?(n=n||Object.keys(e)).forEach(function(t){o[t]=_g}):Xg(t,!1,o)}),o}(t,this._globalTimelineStyles);Object.keys(i).forEach(function(t){var e=ab(i[t],a,n);r._pendingStyles[t]=e,r._localTimelineStyles.hasOwnProperty(t)||(r._backFill[t]=r._globalTimelineStyles.hasOwnProperty(t)?r._globalTimelineStyles[t]:_g),r._updateStyle(t,e)})},t.prototype.applyStylesToKeyframe=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])}))},t.prototype.snapshotCurrentStyles=function(){var t=this;Object.keys(this._localTimelineStyles).forEach(function(e){var n=t._localTimelineStyles[e];t._pendingStyles[e]=n,t._updateStyle(e,n)})},t.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(t.prototype,"properties",{get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t},enumerable:!0,configurable:!0}),t.prototype.mergeTimelineCollectedStyles=function(t){var e=this;Object.keys(t._styleSummary).forEach(function(n){var o=e._styleSummary[n],r=t._styleSummary[n];(!o||r.time>o.time)&&e._updateStyle(n,r.value)})},t.prototype.buildKeyframes=function(){var t=this;this.applyStylesToKeyframe();var e=new Set,n=new Set,o=1===this._keyframes.size&&0===this.duration,r=[];this._keyframes.forEach(function(a,i){var l=Xg(a,!0);Object.keys(l).forEach(function(t){var o=l[t];o==Mg?e.add(t):o==_g&&n.add(t)}),o||(l.offset=i/t.duration),r.push(l)});var a=e.size?ib(e.values()):[],i=n.size?ib(n.values()):[];if(o){var l=r[0],s=Kg(l);l.offset=0,s.offset=1,r=[l,s]}return Mb(this.element,r,a,i,this.duration,this.startTime,this.easing,!1)},t}(),Ab=function(t){function e(e,n,o,r,a,i,l){void 0===l&&(l=!1);var s=t.call(this,e,n,i.delay)||this;return s.element=n,s.keyframes=o,s.preStyleProps=r,s.postStyleProps=a,s._stretchStartingKeyframe=l,s.timings={duration:i.duration,delay:i.delay,easing:i.easing},s}return r(e,t),e.prototype.containsAnimation=function(){return this.keyframes.length>1},e.prototype.buildKeyframes=function(){var t=this.keyframes,e=this.timings,n=e.delay,o=e.duration,r=e.easing;if(this._stretchStartingKeyframe&&n){var a=[],i=o+n,l=n/i,s=Xg(t[0],!1);s.offset=0,a.push(s);var c=Xg(t[0],!1);c.offset=Db(l),a.push(c);for(var u=t.length-1,d=1;d<=u;d++){var p=Xg(t[d],!1);p.offset=Db((n+p.offset*o)/i),a.push(p)}o=i,n=0,r="",t=a}return Mb(this.element,t,this.preStyleProps,this.postStyleProps,o,n,r,!0)},e}(Rb);function Db(t,e){void 0===e&&(e=3);var n=Math.pow(10,e-1);return Math.round(t*n)/n}var Nb=function(){return function(){}}(),zb=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.normalizePropertyName=function(t,e){return sb(t)},e.prototype.normalizeStyleValue=function(t,e,n,o){var r="",a=n.toString().trim();if(Lb[e]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{var i=n.match(/^[+-]?[\d\.]+([a-z]*)$/);i&&0==i[1].length&&o.push("Please provide a CSS unit value for "+t+":"+n)}return a+r},e}(Nb),Lb=function(){return t="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(","),e={},t.forEach(function(t){return e[t]=!0}),e;var t,e}();function Fb(t,e,n,o,r,a,i,l,s,c,u,d,p){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:n,fromStyles:a,toState:o,toStyles:i,timelines:l,queriedElements:s,preStyleProps:c,postStyleProps:u,totalTime:d,errors:p}}var Vb={},jb=function(){function t(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}return t.prototype.match=function(t,e,n,o){return function(t,e,n,o,r){return t.some(function(t){return t(e,n,o,r)})}(this.ast.matchers,t,e,n,o)},t.prototype.buildStyles=function(t,e,n){var o=this._stateStyles["*"],r=this._stateStyles[t],a=o?o.buildStyles(e,n):{};return r?r.buildStyles(e,n):a},t.prototype.build=function(t,e,n,o,r,i,l,s,c,u){var d=[],p=this.ast.options&&this.ast.options.params||Vb,m=this.buildStyles(n,l&&l.params||Vb,d),f=s&&s.params||Vb,h=this.buildStyles(o,f,d),g=new Set,b=new Map,_=new Map,y="void"===o,v={params:a({},p,f)},C=u?[]:Sb(t,e,this.ast.animation,r,i,m,h,v,c,d),P=0;if(C.forEach(function(t){P=Math.max(t.duration+t.delay,P)}),d.length)return Fb(e,this._triggerName,n,o,y,m,h,[],[],b,_,P,d);C.forEach(function(t){var n=t.element,o=Ig(b,n,{});t.preStyleProps.forEach(function(t){return o[t]=!0});var r=Ig(_,n,{});t.postStyleProps.forEach(function(t){return r[t]=!0}),n!==e&&g.add(n)});var O=ib(g.values());return Fb(e,this._triggerName,n,o,y,m,h,C,O,b,_,P)},t}(),Bb=function(){function t(t,e){this.styles=t,this.defaultParams=e}return t.prototype.buildStyles=function(t,e){var n={},o=Kg(this.defaultParams);return Object.keys(t).forEach(function(e){var n=t[e];null!=n&&(o[e]=n)}),this.styles.styles.forEach(function(t){if("string"!=typeof t){var r=t;Object.keys(r).forEach(function(t){var a=r[t];a.length>1&&(a=ab(a,o,e)),n[t]=a})}}),n},t}(),Hb=function(){function t(t,e){var n=this;this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(function(t){n.states[t.name]=new Bb(t.style,t.options&&t.options.params||{})}),Ub(this.states,"true","1"),Ub(this.states,"false","0"),e.transitions.forEach(function(e){n.transitionFactories.push(new jb(t,e,n.states))}),this.fallbackTransition=new jb(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,e){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(t.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),t.prototype.matchTransition=function(t,e,n,o){return this.transitionFactories.find(function(r){return r.match(t,e,n,o)})||null},t.prototype.matchStyles=function(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)},t}();function Ub(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}var qb=new xb,Wb=function(){function t(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return t.prototype.register=function(t,e){var n=[],o=_b(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]=o},t.prototype._buildPlayer=function(t,e,n){var o=t.element,r=kg(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(o,r,t.duration,t.delay,t.easing,[],!0)},t.prototype.create=function(t,e,n){var o=this;void 0===n&&(n={});var r,a=[],i=this._animations[t],l=new Map;if(i?(r=Sb(this._driver,e,i,"ng-enter","ng-leave",{},{},n,qb,a)).forEach(function(t){var e=Ig(l,t.element,{});t.postStyleProps.forEach(function(t){return e[t]=null})}):(a.push("The requested animation doesn't exist or has already been destroyed"),r=[]),a.length)throw new Error("Unable to create the animation due to the following errors: "+a.join("\n"));l.forEach(function(t,e){Object.keys(t).forEach(function(n){t[n]=o._driver.computeStyle(e,n,_g)})});var s=wg(r.map(function(t){var e=l.get(t.element);return o._buildPlayer(t,{},e)}));return this._playersById[t]=s,s.onDestroy(function(){return o.destroy(t)}),this.players.push(s),s},t.prototype.destroy=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)},t.prototype._getPlayer=function(t){var e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e},t.prototype.listen=function(t,e,n,o){var r=Tg(e,"","","");return Sg(this._getPlayer(t),n,r,o),function(){}},t.prototype.command=function(t,e,n,o){if("register"!=n)if("create"!=n){var 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(o[0]));break;case"destroy":this.destroy(t)}}else this.create(t,e,o[0]||{});else this.register(t,o[0])},t}(),Yb=[],Gb={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Zb={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Qb="__ng_removed",Kb=function(){function t(t,e){void 0===e&&(e=""),this.namespaceId=e;var n=t&&t.hasOwnProperty("value");if(this.value=function(t){return null!=t?t:null}(n?t.value:t),n){var o=Kg(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.absorbOptions=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}(),Xb=new Kb("void"),$b=function(){function t(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,i_(e,this._hostClassName)}return t.prototype.listen=function(t,e,n,o){var r,a=this;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 i=Ig(this._elementListeners,t,[]),l={name:e,phase:n,callback:o};i.push(l);var s=Ig(this._engine.statesByElement,t,{});return s.hasOwnProperty(e)||(i_(t,"ng-trigger"),i_(t,"ng-trigger-"+e),s[e]=Xb),function(){a._engine.afterFlush(function(){var t=i.indexOf(l);t>=0&&i.splice(t,1),a._triggers[e]||delete s[e]})}},t.prototype.register=function(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)},t.prototype._getTrigger=function(t){var e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'+t+'" has not been registered!');return e},t.prototype.trigger=function(t,e,n,o){var r=this;void 0===o&&(o=!0);var a=this._getTrigger(e),i=new t_(this.id,e,t),l=this._engine.statesByElement.get(t);l||(i_(t,"ng-trigger"),i_(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,l={}));var s=l[e],c=new Kb(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&s&&c.absorbOptions(s.options),l[e]=c,s||(s=Xb),"void"===c.value||s.value!==c.value){var u=Ig(this._engine.playersByElement,t,[]);u.forEach(function(t){t.namespaceId==r.id&&t.triggerName==e&&t.queued&&t.destroy()});var d=a.matchTransition(s.value,c.value,t,c.params),p=!1;if(!d){if(!o)return;d=a.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:d,fromState:s,toState:c,player:i,isFallbackTransition:p}),p||(i_(t,"ng-animate-queued"),i.onStart(function(){l_(t,"ng-animate-queued")})),i.onDone(function(){var e=r.players.indexOf(i);e>=0&&r.players.splice(e,1);var n=r._engine.playersByElement.get(t);if(n){var o=n.indexOf(i);o>=0&&n.splice(o,1)}}),this.players.push(i),u.push(i),i}if(!function(t,e){var n=Object.keys(t),o=Object.keys(e);if(n.length!=o.length)return!1;for(var r=0;r=0){for(var o=!1,r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,e)){this._namespaceList.splice(r+1,0,t),o=!0;break}o||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t},t.prototype.register=function(t,e){var n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n},t.prototype.registerTrigger=function(t,e,n){var o=this._namespaceLookup[t];o&&o.register(e,n)&&this.totalAnimations++},t.prototype.destroy=function(t,e){var n=this;if(t){var o=this._fetchNamespace(t);this.afterFlush(function(){n.namespacesByHostElement.delete(o.hostElement),delete n._namespaceLookup[t];var e=n._namespaceList.indexOf(o);e>=0&&n._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(function(){return o.destroy(e)})}},t.prototype._fetchNamespace=function(t){return this._namespaceLookup[t]},t.prototype.fetchNamespacesByElement=function(t){var e=new Set,n=this.statesByElement.get(t);if(n)for(var o=Object.keys(n),r=0;r=0&&this.collectedLeaveElements.splice(a,1)}if(t){var i=this._fetchNamespace(t);i&&i.insertNode(e,n)}o&&this.collectEnterElement(e)}},t.prototype.collectEnterElement=function(t){this.collectedEnterElements.push(t)},t.prototype.markElementAsDisabled=function(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),i_(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),l_(t,"ng-animate-disabled"))},t.prototype.removeNode=function(t,e,n,o){if(e_(e)){var r=t?this._fetchNamespace(t):null;if(r?r.removeNode(e,o):this.markElementAsRemoved(t,e,!1,o),n){var a=this.namespacesByHostElement.get(e);a&&a.id!==t&&a.removeNode(e,o)}}else this._onRemovalComplete(e,o)},t.prototype.markElementAsRemoved=function(t,e,n,o){this.collectedLeaveElements.push(e),e[Qb]={namespaceId:t,setForRemoval:o,hasAnimation:n,removedBeforeQueried:!1}},t.prototype.listen=function(t,e,n,o,r){return e_(e)?this._fetchNamespace(t).listen(e,n,o,r):function(){}},t.prototype._buildInstruction=function(t,e,n,o,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,o,t.fromState.options,t.toState.options,e,r)},t.prototype.destroyInnerAnimations=function(t){var e=this,n=this.driver.query(t,".ng-trigger",!0);n.forEach(function(t){return e.destroyActiveAnimationsForElement(t)}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,".ng-animating",!0)).forEach(function(t){return e.finishActiveQueriedAnimationOnElement(t)})},t.prototype.destroyActiveAnimationsForElement=function(t){var e=this.playersByElement.get(t);e&&e.forEach(function(t){t.queued?t.markedForDestroy=!0:t.destroy()})},t.prototype.finishActiveQueriedAnimationOnElement=function(t){var e=this.playersByQueriedElement.get(t);e&&e.forEach(function(t){return t.finish()})},t.prototype.whenRenderingDone=function(){var t=this;return new Promise(function(e){if(t.players.length)return wg(t.players).onDone(function(){return e()});e()})},t.prototype.processLeaveNode=function(t){var e=this,n=t[Qb];if(n&&n.setForRemoval){if(t[Qb]=Gb,n.namespaceId){this.destroyInnerAnimations(t);var o=this._fetchNamespace(n.namespaceId);o&&o.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(function(t){e.markElementAsDisabled(t,!1)})},t.prototype.flush=function(t){var e=this;void 0===t&&(t=-1);var n=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(t,n){return e._balanceNamespaceList(t,n)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var o=0;o=0;w--)this._namespaceList[w].drainQueuedTransitions(e).forEach(function(t){var e=t.player,a=t.element;if(M.push(e),n.collectedEnterElements.length){var i=a[Qb];if(i&&i.setForMove)return void e.destroy()}var u=!m||!n.driver.containsElement(m,a),p=P.get(a),f=g.get(a),h=n._buildInstruction(t,o,f,p,u);if(h.errors&&h.errors.length)x.push(h);else{if(u)return e.onStart(function(){return eb(a,h.fromStyles)}),e.onDestroy(function(){return tb(a,h.toStyles)}),void r.push(e);if(t.isFallbackTransition)return e.onStart(function(){return eb(a,h.fromStyles)}),e.onDestroy(function(){return tb(a,h.toStyles)}),void r.push(e);h.timelines.forEach(function(t){return t.stretchStartingKeyframe=!0}),o.append(a,h.timelines),l.push({instruction:h,player:e,element:a}),h.queriedElements.forEach(function(t){return Ig(s,t,[]).push(e)}),h.preStyleProps.forEach(function(t,e){var n=Object.keys(t);if(n.length){var o=c.get(e);o||c.set(e,o=new Set),n.forEach(function(t){return o.add(t)})}}),h.postStyleProps.forEach(function(t,e){var n=Object.keys(t),o=d.get(e);o||d.set(e,o=new Set),n.forEach(function(t){return o.add(t)})})}});if(x.length){var k=[];x.forEach(function(t){k.push("@"+t.triggerName+" has failed due to:\n"),t.errors.forEach(function(t){return k.push("- "+t+"\n")})}),M.forEach(function(t){return t.destroy()}),this.reportError(k)}var S=new Map,E=new Map;l.forEach(function(t){var e=t.element;o.has(e)&&(E.set(e,e),n._beforeAnimationBuild(t.player.namespaceId,t.instruction,S))}),r.forEach(function(t){var e=t.element;n._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(function(t){Ig(S,e,[]).push(t),t.destroy()})});var T=_.filter(function(t){return c_(t,c,d)}),I=new Map;o_(I,this.driver,v,d,_g).forEach(function(t){c_(t,c,d)&&T.push(t)});var R=new Map;h.forEach(function(t,e){o_(R,n.driver,new Set(t),c,Mg)}),T.forEach(function(t){var e=I.get(t),n=R.get(t);I.set(t,a({},e,n))});var A=[],D=[],N={};l.forEach(function(t){var e=t.element,a=t.player,l=t.instruction;if(o.has(e)){if(p.has(e))return a.onDestroy(function(){return tb(e,l.toStyles)}),a.disabled=!0,a.overrideTotalTime(l.totalTime),void r.push(a);var s=N;if(E.size>1){for(var c=e,u=[];c=c.parentNode;){var d=E.get(c);if(d){s=d;break}u.push(c)}u.forEach(function(t){return E.set(t,s)})}var m=n._buildAnimation(a.namespaceId,l,S,i,R,I);if(a.setRealPlayer(m),s===N)A.push(a);else{var f=n.playersByElement.get(s);f&&f.length&&(a.parentPlayer=wg(f)),r.push(a)}}else eb(e,l.fromStyles),a.onDestroy(function(){return tb(e,l.toStyles)}),D.push(a),p.has(e)&&r.push(a)}),D.forEach(function(t){var e=i.get(t.element);if(e&&e.length){var n=wg(e);t.setRealPlayer(n)}}),r.forEach(function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(var z=0;z<_.length;z++){var L,F=(L=_[z])[Qb];if(l_(L,"ng-leave"),!F||!F.hasAnimation){var V=[];if(s.size){var j=s.get(L);j&&j.length&&V.push.apply(V,u(j));for(var B=this.driver.query(L,".ng-animating",!0),H=0;H0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new Pg(t.duration,t.delay)},t}(),t_=function(){function t(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new Pg,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return t.prototype.setRealPlayer=function(t){var e=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(function(n){e._queuedCallbacks[n].forEach(function(e){return Sg(t,n,void 0,e)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)},t.prototype.getRealPlayer=function(){return this._player},t.prototype.overrideTotalTime=function(t){this.totalTime=t},t.prototype.syncPlayerEvents=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()})},t.prototype._queueEvent=function(t,e){Ig(this._queuedCallbacks,t,[]).push(e)},t.prototype.onDone=function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)},t.prototype.onStart=function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)},t.prototype.onDestroy=function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)},t.prototype.init=function(){this._player.init()},t.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},t.prototype.play=function(){!this.queued&&this._player.play()},t.prototype.pause=function(){!this.queued&&this._player.pause()},t.prototype.restart=function(){!this.queued&&this._player.restart()},t.prototype.finish=function(){this._player.finish()},t.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},t.prototype.reset=function(){!this.queued&&this._player.reset()},t.prototype.setPosition=function(t){this.queued||this._player.setPosition(t)},t.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},t.prototype.triggerCallback=function(t){var e=this._player;e.triggerCallback&&e.triggerCallback(t)},t}();function e_(t){return t&&1===t.nodeType}function n_(t,e){var n=t.style.display;return t.style.display=null!=e?e:"none",n}function o_(t,e,n,o,r){var a=[];n.forEach(function(t){return a.push(n_(t))});var i=[];o.forEach(function(n,o){var a={};n.forEach(function(t){var n=a[t]=e.computeStyle(o,t,r);n&&0!=n.length||(o[Qb]=Zb,i.push(o))}),t.set(o,a)});var l=0;return n.forEach(function(t){return n_(t,a[l++])}),i}function r_(t,e){var n=new Map;if(t.forEach(function(t){return n.set(t,[])}),0==e.length)return n;var o=new Set(e),r=new Map;return e.forEach(function(t){var e=function t(e){if(!e)return 1;var a=r.get(e);if(a)return a;var i=e.parentNode;return a=n.has(i)?i:o.has(i)?1:t(i),r.set(e,a),a}(t);1!==e&&n.get(e).push(t)}),n}var a_="$$classes";function i_(t,e){if(t.classList)t.classList.add(e);else{var n=t[a_];n||(n=t[a_]={}),n[e]=!0}}function l_(t,e){if(t.classList)t.classList.remove(e);else{var n=t[a_];n&&delete n[e]}}function s_(t,e,n){wg(n).onDone(function(){return t.processLeaveNode(e)})}function c_(t,e,n){var o=n.get(t);if(!o)return!1;var r=e.get(t);return r?o.forEach(function(t){return r.add(t)}):e.set(t,o),n.delete(t),!0}var u_=function(){function t(t,e,n){var o=this;this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=function(t,e){},this._transitionEngine=new Jb(t,e,n),this._timelineEngine=new Wb(t,e,n),this._transitionEngine.onRemovalComplete=function(t,e){return o.onRemovalComplete(t,e)}}return t.prototype.registerTrigger=function(t,e,n,o,r){var a=t+"-"+o,i=this._triggerCache[a];if(!i){var l=[],s=_b(this._driver,r,l);if(l.length)throw new Error('The animation trigger "'+o+'" has failed to build due to the following errors:\n - '+l.join("\n - "));i=function(t,e){return new Hb(t,e)}(o,s),this._triggerCache[a]=i}this._transitionEngine.registerTrigger(e,o,i)},t.prototype.register=function(t,e){this._transitionEngine.register(t,e)},t.prototype.destroy=function(t,e){this._transitionEngine.destroy(t,e)},t.prototype.onInsert=function(t,e,n,o){this._transitionEngine.insertNode(t,e,n,o)},t.prototype.onRemove=function(t,e,n,o){this._transitionEngine.removeNode(t,e,o||!1,n)},t.prototype.disableAnimations=function(t,e){this._transitionEngine.markElementAsDisabled(t,e)},t.prototype.process=function(t,e,n,o){if("@"==n.charAt(0)){var r=c(Rg(n),2);this._timelineEngine.command(r[0],e,r[1],o)}else this._transitionEngine.trigger(t,e,n,o)},t.prototype.listen=function(t,e,n,o,r){if("@"==n.charAt(0)){var a=c(Rg(n),2);return this._timelineEngine.listen(a[0],e,a[1],r)}return this._transitionEngine.listen(t,e,n,o,r)},t.prototype.flush=function(t){void 0===t&&(t=-1),this._transitionEngine.flush(t)},Object.defineProperty(t.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),t.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},t}();function d_(t,e){var n=null,o=null;return Array.isArray(e)&&e.length?(n=m_(e[0]),e.length>1&&(o=m_(e[e.length-1]))):e&&(n=m_(e)),n||o?new p_(t,n,o):null}var p_=function(){function t(e,n,o){this._element=e,this._startStyles=n,this._endStyles=o,this._state=0;var r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r={}),this._initialStyles=r}return t.prototype.start=function(){this._state<1&&(this._startStyles&&tb(this._element,this._startStyles,this._initialStyles),this._state=1)},t.prototype.finish=function(){this.start(),this._state<2&&(tb(this._element,this._initialStyles),this._endStyles&&(tb(this._element,this._endStyles),this._endStyles=null),this._state=1)},t.prototype.destroy=function(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(eb(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(eb(this._element,this._endStyles),this._endStyles=null),tb(this._element,this._initialStyles),this._state=3)},t.initialStylesByElement=new WeakMap,t}();function m_(t){for(var e=null,n=Object.keys(t),o=0;o=this._delay&&n>=this._duration&&this.finish()},t.prototype.finish=function(){this._finished||(this._finished=!0,this._onDoneFn(),C_(this._element,this._eventFn,!0))},t.prototype.destroy=function(){var t,e,n,o;this._destroyed||(this._destroyed=!0,this.finish(),e=this._name,(o=v_(n=O_(t=this._element,"").split(","),e))>=0&&(n.splice(o,1),P_(t,"",n.join(","))))},t}();function __(t,e,n){P_(t,"PlayState",n,y_(t,e))}function y_(t,e){var n=O_(t,"");return n.indexOf(",")>0?v_(n.split(","),e):v_([n],e)}function v_(t,e){for(var n=0;n=0)return n;return-1}function C_(t,e,n){n?t.removeEventListener(g_,e):t.addEventListener(g_,e)}function P_(t,e,n,o){var r=h_+e;if(null!=o){var a=t.style[r];if(a.length){var i=a.split(",");i[o]=n,n=i.join(",")}}t.style[r]=n}function O_(t,e){return t.style[h_+e]}var M_="linear",x_=function(){function t(t,e,n,o,r,a,i,l){this.element=t,this.keyframes=e,this.animationName=n,this._duration=o,this._delay=r,this._finalStyles=i,this._specialStyles=l,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=a||M_,this.totalTime=o+r,this._buildStyler()}return t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.destroy=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=[])},t.prototype._flushDoneFns=function(){this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[]},t.prototype._flushStartFns=function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]},t.prototype.finish=function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())},t.prototype.setPosition=function(t){this._styler.setPosition(t)},t.prototype.getPosition=function(){return this._styler.getPosition()},t.prototype.hasStarted=function(){return this._state>=2},t.prototype.init=function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())},t.prototype.play=function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()},t.prototype.pause=function(){this.init(),this._styler.pause()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.reset=function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()},t.prototype._buildStyler=function(){var t=this;this._styler=new b_(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return t.finish()})},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t.prototype.beforeDestroy=function(){var t=this;this.init();var e={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach(function(o){"offset"!=o&&(e[o]=n?t._finalStyles[o]:pb(t.element,o))})}this.currentSnapshot=e},t}(),w_=function(t){function e(e,n){var o=t.call(this)||this;return o.element=e,o._startingStyles={},o.__initialized=!1,o._styles=Ug(n),o}return r(e,t),e.prototype.init=function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(function(t){e._startingStyles[t]=e.element.style[t]}),t.prototype.init.call(this))},e.prototype.play=function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(function(t){return e.element.style.setProperty(t,e._styles[t])}),t.prototype.play.call(this))},e.prototype.destroy=function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach(function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)}),this._startingStyles=null,t.prototype.destroy.call(this))},e}(Pg),k_=function(){function t(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return t.prototype.validateStyleProperty=function(t){return Vg(t)},t.prototype.matchesElement=function(t,e){return jg(t,e)},t.prototype.containsElement=function(t,e){return Bg(t,e)},t.prototype.query=function(t,e,n){return Hg(t,e,n)},t.prototype.computeStyle=function(t,e,n){return window.getComputedStyle(t)[e]},t.prototype.buildKeyframeElement=function(t,e,n){n=n.map(function(t){return Ug(t)});var o="@keyframes "+e+" {\n",r="";n.forEach(function(t){r=" ";var e=parseFloat(t.offset);o+=""+r+100*e+"% {\n",r+=" ",Object.keys(t).forEach(function(e){var n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(o+=r+"animation-timing-function: "+n+";\n"));default:return void(o+=""+r+e+": "+n+";\n")}}),o+=r+"}\n"}),o+="}\n";var a=document.createElement("style");return a.innerHTML=o,a},t.prototype.animate=function(t,e,n,o,r,a,i){void 0===a&&(a=[]),i&&this._notifyFaultyScrubber();var l=a.filter(function(t){return t instanceof x_}),s={};cb(n,o)&&l.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return s[t]=e[t]})});var c=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=ub(t,e,s));if(0==n)return new w_(t,c);var u="gen_css_kf_"+this._count++,d=this.buildKeyframeElement(t,u,e);document.querySelector("head").appendChild(d);var p=d_(t,e),m=new x_(t,e,u,n,o,r,c,p);return m.onDestroy(function(){var t;(t=d).parentNode.removeChild(t)}),m},t.prototype._notifyFaultyScrubber=function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)},t}(),S_=function(){function t(t,e,n,o){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=o,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}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},t.prototype._buildPlayer=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()})}},t.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},t.prototype._triggerWebAnimation=function(t,e,n){return t.animate(e,n)},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.play=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()},t.prototype.pause=function(){this.init(),this.domPlayer.pause()},t.prototype.finish=function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()},t.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.hasStarted=function(){return this._started},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.setPosition=function(t){this.domPlayer.currentTime=t*this.time},t.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(t.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),t.prototype.beforeDestroy=function(){var t=this,e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(n){"offset"!=n&&(e[n]=t._finished?t._finalKeyframe[n]:pb(t.element,n))}),this.currentSnapshot=e},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t}(),E_=function(){function t(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(T_().toString()),this._cssKeyframesDriver=new k_}return t.prototype.validateStyleProperty=function(t){return Vg(t)},t.prototype.matchesElement=function(t,e){return jg(t,e)},t.prototype.containsElement=function(t,e){return Bg(t,e)},t.prototype.query=function(t,e,n){return Hg(t,e,n)},t.prototype.computeStyle=function(t,e,n){return window.getComputedStyle(t)[e]},t.prototype.overrideWebAnimationsSupport=function(t){this._isNativeImpl=t},t.prototype.animate=function(t,e,n,o,r,a,i){if(void 0===a&&(a=[]),!i&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,o,r,a);var l={duration:n,delay:o,fill:0==o?"both":"forwards"};r&&(l.easing=r);var s={},c=a.filter(function(t){return t instanceof S_});cb(n,o)&&c.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return s[t]=e[t]})});var u=d_(t,e=ub(t,e=e.map(function(t){return Xg(t,!1)}),s));return new S_(t,e,l,u)},t}();function T_(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var I_=function(t){function e(e,n){var o=t.call(this)||this;return o._nextAnimationId=0,o._renderer=e.createRenderer(n.body,{id:"0",encapsulation:se.None,styles:[],data:{animation:[]}}),o}return r(e,t),e.prototype.build=function(t){var e=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(t)?yg(t):t;return D_(this._renderer,null,e,"register",[n]),new R_(e,this._renderer)},e}(gg),R_=function(t){function e(e,n){var o=t.call(this)||this;return o._id=e,o._renderer=n,o}return r(e,t),e.prototype.create=function(t,e){return new A_(this._id,t,e||{},this._renderer)},e}(bg),A_=function(){function t(t,e,n,o){this.id=t,this.element=e,this._renderer=o,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}return t.prototype._listen=function(t,e){return this._renderer.listen(this.element,"@@"+this.id+":"+t,e)},t.prototype._command=function(t){for(var e=[],n=1;n=0&&t*,.mat-fab .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}@media (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],data:{}});function W_(t){return ui(2,[$a(671088640,1,{ripple:0}),(t()(),Ga(1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),oi(null,0),(t()(),Ga(3,0,null,null,1,"div",[["class","mat-button-ripple mat-ripple"],["matRipple",""]],[[2,"mat-button-ripple-round",null],[2,"mat-ripple-unbounded",null]],null,null,null,null)),gr(4,212992,[[1,4]],0,Vh,[mn,ua,qf,[2,Fh],[2,H_]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(t()(),Ga(5,0,null,null,0,"div",[["class","mat-button-focus-overlay"]],null,null,null,null,null))],function(t,e){var n=e.component;t(e,4,0,n.isIconButton,n._isRippleDisabled(),n._getHostElement())},function(t,e){var n=e.component;t(e,3,0,n.isRoundButton||n.isIconButton,or(e,4).unbounded)})}var Y_=function(){function t(t){this.elRef=t,this.wasClicked=!1,this.element=t.nativeElement,this.element.addEventListener("click",this.onClick.bind(this)),this.element.addEventListener("touchstart",this.onTouchStart.bind(this))}return t.prototype.onClick=function(){this.wasClicked=!0},t.prototype.onTouchStart=function(t){var e=this;this.wasClicked=!1,setTimeout(function(){e.wasClicked||(e.element.click(),e.wasClicked=!0)},300)},t}(),G_=function(){function t(t,e,n){this.beatOnApi=t,this.msgSvc=e,this.router=n}return t.prototype.ngOnInit=function(){var t=this;this.msgSvc.setupMessage.subscribe(function(e){switch(e.SetupEvent){case jm.Step1Complete:t.router.navigateByUrl("/setupstep2");break;case jm.Step2Complete:t.router.navigateByUrl("/setupstep3");break;case jm.Step3Complete:t.router.navigateByUrl("/")}})},t}(),Z_=ao({encapsulation:0,styles:[['.mat-badge-content[_ngcontent-%COMP%]{font-weight:600;font-size:12px;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:9px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:24px}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 11.62px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 9.38px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,"Helvetica Neue",sans-serif}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,"Helvetica Neue",sans-serif;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34375em) scale(.75);transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34374em) scale(.75);transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28121em) scale(.75);transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59375em) scale(.75);transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59374em) scale(.75);transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59375em) scale(.75);transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59374em) scale(.75);transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:16px;color:#fff}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif;color:rgba(255,255,255,.7)}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,-webkit-transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1),-webkit-transform 0s cubic-bezier(0,0,.2,1);-webkit-transform:scale(0);transform:scale(0)}@media (-ms-high-contrast:active){.mat-ripple-element[_ngcontent-%COMP%]{display:none}}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-start{}@-webkit-keyframes cdk-text-field-autofill-end{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation-name:cdk-text-field-autofill-start;animation-name:cdk-text-field-autofill-start}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation-name:cdk-text-field-autofill-end;animation-name:cdk-text-field-autofill-end}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{height:auto!important;overflow:hidden!important;padding:2px 0!important;box-sizing:content-box!important}.mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple):not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:focus:not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:hover:not(.mat-option-disabled){background:rgba(255,255,255,.04)}.mat-option.mat-active[_ngcontent-%COMP%]{background:rgba(255,255,255,.04);color:#fff}.mat-option.mat-option-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-primary[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ad2c2c}.mat-accent[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#216bad}.mat-warn[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ff5722}.mat-optgroup-disabled[_ngcontent-%COMP%] .mat-optgroup-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-pseudo-checkbox[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-pseudo-checkbox[_ngcontent-%COMP%]::after{color:#303030}.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{color:#686868}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%], .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#216bad}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ad2c2c}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ff5722}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{background:#686868}.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-app-background[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-theme-loaded-marker[_ngcontent-%COMP%]{display:none}.mat-autocomplete-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-autocomplete-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover){background:#424242}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#fff}@media (-ms-high-contrast:active){.mat-badge-content[_ngcontent-%COMP%]{outline:solid 1px;border-radius:0}.mat-checkbox-disabled[_ngcontent-%COMP%]{opacity:.5}}.mat-badge-accent[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-badge-warn[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ff5722}.mat-badge[_ngcontent-%COMP%]{position:relative}.mat-badge-hidden[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{display:none}.mat-badge-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#6e6e6e;color:rgba(255,255,255,.5)}.mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ad2c2c;position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out;-webkit-transform:scale(.6);transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.mat-badge-content._mat-animation-noopable[_ngcontent-%COMP%], .ng-animate-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{transition:none}.mat-badge-content.mat-badge-active[_ngcontent-%COMP%]{-webkit-transform:none;transform:none}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:16px;height:16px;line-height:16px}.mat-badge-small.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-8px}.mat-badge-small.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-8px}.mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-16px}.mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-8px}.mat-badge-medium[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-11px}.mat-badge-medium.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-11px}.mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-22px}.mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-11px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:28px;height:28px;line-height:28px}.mat-badge-large.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-14px}.mat-badge-large.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-14px}.mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-28px}.mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-14px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{color:inherit;background:0 0}.mat-button.mat-primary[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-button[disabled][disabled][_ngcontent-%COMP%], .mat-icon-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-icon-button[disabled][disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-stroked-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ff5722}.mat-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:transparent}.mat-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{opacity:.1;background-color:currentColor}.mat-button-focus-overlay[_ngcontent-%COMP%]{background:#fff}.mat-stroked-button[_ngcontent-%COMP%]:not([disabled]){border-color:rgba(255,255,255,.12)}.mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%]{color:#fff;background-color:#424242}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{color:#fff}.mat-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-fab[disabled][disabled][_ngcontent-%COMP%], .mat-flat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-flat-button[disabled][disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-mini-fab[disabled][disabled][_ngcontent-%COMP%], .mat-raised-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-raised-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:rgba(255,255,255,.12)}.mat-fab.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-flat-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-stroked-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-raised-button[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-button-toggle-group[_ngcontent-%COMP%], .mat-button-toggle-standalone[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%], .mat-button-toggle-standalone.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{box-shadow:none;border:1px solid rgba(255,255,255,.12)}.mat-button-toggle[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-button-toggle[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff;background:#424242}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:#fff}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12)}[dir=rtl][_ngcontent-%COMP%] .mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:none;border-top:1px solid rgba(255,255,255,.12)}.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#212121;color:rgba(255,255,255,.7)}.mat-button-toggle-checked.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff}.mat-button-toggle-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:#000}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{background:#424242}.mat-button-toggle-disabled.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#424242}.mat-card[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-card[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-card.mat-card-flat[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-card-subtitle[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-checkbox-frame[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-checkbox-checkmark[_ngcontent-%COMP%]{fill:#303030}.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#303030!important}@media (-ms-high-contrast:black-on-white){.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#000!important}}.mat-checkbox-mixedmark[_ngcontent-%COMP%]{background-color:#303030}.mat-checkbox-checked.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-checkbox-checked.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#216bad}.mat-checkbox-checked.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ff5722}.mat-checkbox-disabled.mat-checkbox-checked[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-disabled.mat-checkbox-indeterminate[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%]:not(.mat-checkbox-checked) .mat-checkbox-frame[_ngcontent-%COMP%]{border-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}@media (-ms-high-contrast:active){.mat-checkbox-background[_ngcontent-%COMP%]{background:0 0}}.mat-checkbox[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%]{background:#ad2c2c}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%]{background:#216bad}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%]{background:#ff5722}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]{background-color:#616161;color:#fff}.mat-chip.mat-standard-chip[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled) .mat-chip-remove[_ngcontent-%COMP%]:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled[_ngcontent-%COMP%]{opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]::after{background:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-table[_ngcontent-%COMP%]{background:#424242}.mat-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%], .mat-table-sticky[_ngcontent-%COMP%], [mat-footer-row][_ngcontent-%COMP%], [mat-header-row][_ngcontent-%COMP%], [mat-row][_ngcontent-%COMP%], mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%]{background:inherit}mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%], td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{border-bottom-color:rgba(255,255,255,.12)}.mat-header-cell[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{color:#fff}.mat-calendar-arrow[_ngcontent-%COMP%]{border-top-color:#fff}.mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-next-button[_ngcontent-%COMP%], .mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-previous-button[_ngcontent-%COMP%], .mat-datepicker-toggle[_ngcontent-%COMP%]{color:#fff}.mat-calendar-table-header[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-calendar-table-header-divider[_ngcontent-%COMP%]::after{background:rgba(255,255,255,.12)}.mat-calendar-body-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-calendar-body-cell-content[_ngcontent-%COMP%]{color:#fff;border-color:transparent}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){color:rgba(255,255,255,.5)}.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .cdk-program-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .mat-calendar-body-cell[_ngcontent-%COMP%]:not(.mat-calendar-body-disabled):hover > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){background-color:rgba(255,255,255,.04)}.mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.5)}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.3)}.mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.4)}.mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#424242;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.4)}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.4)}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content-touch[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-datepicker-toggle-active[_ngcontent-%COMP%]{color:#ad2c2c}.mat-datepicker-toggle-active.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-datepicker-toggle-active.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-dialog-container[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-divider[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-divider-vertical[_ngcontent-%COMP%]{border-right-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-expansion-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-action-row[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-keyboard-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-program-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]):hover{background:rgba(255,255,255,.04)}@media (hover:none){.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header[_ngcontent-%COMP%]:hover{background:#424242}}.mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:#fff}.mat-expansion-indicator[_ngcontent-%COMP%]::after, .mat-expansion-panel-header-description[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%], .mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:inherit}.mat-form-field-label[_ngcontent-%COMP%], .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-focused[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#fff}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid) .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ad2c2c}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#216bad}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#ff5722}.mat-error[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.25em;background-color:rgba(255,255,255,.7)}.mat-form-field-appearance-legacy.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7)}.mat-form-field-appearance-standard.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.05)}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:transparent}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#fff}.mat-form-field-appearance-outline.mat-focused[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field-appearance-outline.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-appearance-outline.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.15)}.mat-icon.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-icon.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-icon.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-type-mat-native-select[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:rgba(255,255,255,.7)}.mat-form-field-type-mat-native-select.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-input-element[_ngcontent-%COMP%]:disabled{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]{caret-color:#ad2c2c}.mat-input-element[_ngcontent-%COMP%]::-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-moz-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-webkit-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]{color:rgba(0,0,0,.87)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]:disabled{color:rgba(0,0,0,.38)}.mat-accent[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#216bad}.mat-form-field-invalid[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#ff5722}.mat-form-field-type-mat-native-select.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ff5722}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%], .mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{color:#fff}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500;color:rgba(255,255,255,.7)}.mat-list-item-disabled[_ngcontent-%COMP%]{background-color:#000}.mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover, .mat-list-option[_ngcontent-%COMP%]:focus, .mat-list-option[_ngcontent-%COMP%]:hover, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover{background:rgba(255,255,255,.04)}.mat-menu-panel[_ngcontent-%COMP%]{background:#424242}.mat-menu-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-menu-item[_ngcontent-%COMP%]{background:0 0;color:#fff}.mat-menu-item[disabled][_ngcontent-%COMP%], .mat-menu-item[disabled][_ngcontent-%COMP%]::after{color:rgba(255,255,255,.5)}.mat-menu-item[_ngcontent-%COMP%] .mat-icon-no-color[_ngcontent-%COMP%], .mat-menu-item-submenu-trigger[_ngcontent-%COMP%]::after{color:#fff}.mat-menu-item-highlighted[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-keyboard-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-program-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item[_ngcontent-%COMP%]:hover:not([disabled]){background:rgba(255,255,255,.04)}.mat-paginator[_ngcontent-%COMP%]{background:#424242}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-paginator-decrement[_ngcontent-%COMP%], .mat-paginator-increment[_ngcontent-%COMP%]{border-top:2px solid #fff;border-right:2px solid #fff}.mat-paginator-first[_ngcontent-%COMP%], .mat-paginator-last[_ngcontent-%COMP%]{border-top:2px solid #fff}.mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-decrement[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-first[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-increment[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-last[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-progress-bar-background[_ngcontent-%COMP%]{fill:#e6c0c0}.mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#e6c0c0}.mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ad2c2c}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#216bad}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ff5722}.mat-progress-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ad2c2c}.mat-progress-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#216bad}.mat-progress-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ff5722}.mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ad2c2c}.mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#216bad}.mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#216bad}.mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ff5722}.mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ff5722}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-label-content[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-radio-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-select-value[_ngcontent-%COMP%]{color:#fff}.mat-select-disabled[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%], .mat-select-placeholder[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-select-panel[_ngcontent-%COMP%]{background:#424242}.mat-select-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-select-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple){background:rgba(255,255,255,.12)}.mat-form-field.mat-focused.mat-primary[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#216bad}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-invalid[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-form-field.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-disabled[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-drawer-container[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-drawer[_ngcontent-%COMP%]{background-color:#424242;color:#fff}.mat-drawer.mat-drawer-push[_ngcontent-%COMP%]{background-color:#424242}.mat-drawer[_ngcontent-%COMP%]:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-drawer-side[_ngcontent-%COMP%]{border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%] .mat-drawer-side[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12);border-right:none}[dir=rtl][_ngcontent-%COMP%] .mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-backdrop.mat-drawer-shown[_ngcontent-%COMP%]{background-color:rgba(189,189,189,.6)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.54)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.54)}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.54)}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle[_ngcontent-%COMP%]:not(.mat-checked) .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-slide-toggle-thumb[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#bdbdbd}.mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#216bad}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ff5722}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.2)}.cdk-focused[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%] .mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:#fff}.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing) .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3);background-color:transparent}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-has-ticks[_ngcontent-%COMP%] .mat-slider-wrapper[_ngcontent-%COMP%]::after{border-color:rgba(255,255,255,.7)}.mat-slider-horizontal[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to right,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-slider-vertical[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to bottom,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused[_ngcontent-%COMP%], .mat-step-header.cdk-program-focused[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%]:hover{background-color:rgba(255,255,255,.04)}@media (hover:none){.mat-step-header[_ngcontent-%COMP%]:hover{background:0 0}}.mat-step-header[_ngcontent-%COMP%] .mat-step-label[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-optional[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7);color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-selected[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-edit[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-error[_ngcontent-%COMP%]{background-color:transparent;color:#ff5722}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-active[_ngcontent-%COMP%]{color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-error[_ngcontent-%COMP%]{color:#ff5722}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{background-color:#424242}.mat-stepper-vertical-line[_ngcontent-%COMP%]::before{border-left-color:rgba(255,255,255,.12)}.mat-horizontal-stepper-header[_ngcontent-%COMP%]::after, .mat-horizontal-stepper-header[_ngcontent-%COMP%]::before, .mat-stepper-horizontal-line[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-sort-header-arrow[_ngcontent-%COMP%]{color:#c6c6c6}.mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[_ngcontent-%COMP%]{border-bottom:1px solid rgba(255,255,255,.12)}.mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-nav-bar[_ngcontent-%COMP%]{border-top:1px solid rgba(255,255,255,.12);border-bottom:none}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-tab-group[class*=mat-background-][_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[class*=mat-background-][_ngcontent-%COMP%]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-toolbar[_ngcontent-%COMP%]{background:#212121;color:#fff}.mat-toolbar.mat-primary[_ngcontent-%COMP%]{background:#ad2c2c;color:#fff}.mat-toolbar.mat-accent[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-toolbar.mat-warn[_ngcontent-%COMP%]{background:#ff5722;color:#fff}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:currentColor}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%]{color:inherit}.mat-toolbar[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:currentColor}.mat-tooltip[_ngcontent-%COMP%]{background:rgba(97,97,97,.9)}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;background:#424242}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px;color:#fff}.mat-snack-bar-container[_ngcontent-%COMP%]{color:rgba(0,0,0,.87);background:#fafafa;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-simple-snackbar-action[_ngcontent-%COMP%]{color:inherit}.setup-icon[_ngcontent-%COMP%]{font-size:40px}']],data:{}});function Q_(t){return ui(0,[(t()(),Ga(0,0,null,null,50,"mat-card",[["class","setup-card mat-card"]],null,null,null,Uh,Hh)),gr(1,49152,null,0,If,[],null,null),(t()(),Ga(2,0,null,0,12,"mat-card-header",[["class","mat-card-header"]],null,null,null,Wh,qh)),gr(3,49152,null,0,Rf,[],null,null),(t()(),Ga(4,0,null,0,4,"div",[["class","mat-card-avatar"],["mat-card-avatar",""]],null,null,null,null,null)),gr(5,16384,null,0,Tf,[],null,null),(t()(),Ga(6,0,null,null,2,"mat-icon",[["aria-hidden","false"],["class","setup-icon mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,dg,ug)),gr(7,9158656,null,0,sg,[mn,tg,[8,"false"],[2,rg]],null,null),(t()(),li(-1,0,["update"])),(t()(),Ga(9,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),gr(10,16384,null,0,kf,[],null,null),(t()(),li(-1,null,["Setup"])),(t()(),Ga(12,0,null,1,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),gr(13,16384,null,0,Sf,[],null,null),(t()(),li(-1,null,["Intruduction"])),(t()(),Ga(15,0,null,0,25,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),gr(16,16384,null,0,wf,[],null,null),(t()(),Ga(17,0,null,null,1,"h4",[],null,null,null,null,null)),(t()(),li(-1,null,["You need:"])),(t()(),Ga(19,0,null,null,4,"ul",[],null,null,null,null,null)),(t()(),Ga(20,0,null,null,1,"li",[],null,null,null,null,null)),(t()(),li(-1,null,["Probably a gig or so of free space? maybe 500-600mb?"])),(t()(),Ga(22,0,null,null,1,"li",[],null,null,null,null,null)),(t()(),li(-1,null,["Beat Saber 1.1.0 (unmodified) installed"])),(t()(),Ga(24,0,null,null,12,"ul",[],null,null,null,null,null)),(t()(),Ga(25,0,null,null,6,"li",[],null,null,null,null,null)),(t()(),li(-1,null,[" Step 1: "])),(t()(),Ga(27,0,null,null,4,"ul",[],null,null,null,null,null)),(t()(),Ga(28,0,null,null,1,"li",[],null,null,null,null,null)),(t()(),li(-1,null,["Prepare for installing Beat On by copying out the APK to external storage"])),(t()(),Ga(30,0,null,null,1,"li",[],null,null,null,null,null)),(t()(),li(-1,null,["Ask you to uninstall Beat Saber (say yes)"])),(t()(),Ga(32,0,null,null,4,"li",[],null,null,null,null,null)),(t()(),li(-1,null,[" Step 2 (not neccesarily in this order): "])),(t()(),Ga(34,0,null,null,2,"ul",[],null,null,null,null,null)),(t()(),Ga(35,0,null,null,1,"li",[],null,null,null,null,null)),(t()(),li(-1,null,["Do all the other stuff, it takes a bit."])),(t()(),Ga(37,0,null,null,1,"h3",[],null,null,null,null,null)),(t()(),li(-1,null,["***IMPORTANT***"])),(t()(),Ga(39,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),li(-1,null,[' When the modded APK gets installed, it will probably tell you that you don\'t have "untrusted sources" enabled and will offer to take you to the settings page. Go to the settings page, and turn on the switch for allowing untrusted sources, then you can continue installing the modded APK. '])),(t()(),Ga(41,0,null,0,9,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),gr(42,16384,null,0,Ef,[],null,null),(t()(),Ga(43,0,null,null,7,"button",[["color","accent"],["fast-click",""],["mat-raised-button",""],["routerLink","/setupstep1"],["routerLinkActive","active"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==or(t,44).onClick()&&o),o},W_,q_)),gr(44,16384,[[1,4]],0,pm,[dm,ep,[8,null],_n,mn],{routerLink:[0,"routerLink"]},null),gr(45,1720320,null,2,hm,[dm,mn,_n,[2,pm],[2,mm]],{routerLinkActive:[0,"routerLinkActive"]},null),$a(603979776,1,{links:1}),$a(603979776,2,{linksWithHrefs:1}),gr(48,180224,null,0,fg,[mn,gh,[2,H_]],{color:[0,"color"]},null),gr(49,16384,null,0,Y_,[mn],null,null),(t()(),li(-1,0,["Continue"]))],function(t,e){t(e,7,0),t(e,44,0,"/setupstep1"),t(e,45,0,"active"),t(e,48,0,"accent")},function(t,e){t(e,6,0,or(e,7).inline,"primary"!==or(e,7).color&&"accent"!==or(e,7).color&&"warn"!==or(e,7).color),t(e,41,0,"end"===or(e,42).align),t(e,43,0,or(e,48).disabled||null,"NoopAnimations"===or(e,48)._animationMode)})}function K_(t){return ui(0,[(t()(),Ga(0,0,null,null,1,"app-setup",[],null,null,null,Q_,Z_)),gr(1,114688,null,0,G_,[Qs,Hm,dm],null,null)],function(t,e){t(e,1,0)},null)}var X_=Yo("app-setup",G_,K_,{},{},[]),$_=function(){function t(t,e){this.beatOnApi=t,this.dialog=e}return t.prototype.ngOnInit=function(){},t.prototype.clickBegin=function(){var t=this.dialog.open(lf,{width:"450px",height:"350px",disableClose:!0,data:{mainText:"Please wait..."}});this.beatOnApi.installModStep1().subscribe(function(e){t.close()})},t}();function J_(){throw Error("Host already has a portal attached")}var ty=function(){function t(){}return t.prototype.attach=function(t){return null==t&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),t.hasAttached()&&J_(),this._attachedHost=t,t.attach(this)},t.prototype.detach=function(){var t=this._attachedHost;null==t?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,t.detach())},Object.defineProperty(t.prototype,"isAttached",{get:function(){return null!=this._attachedHost},enumerable:!0,configurable:!0}),t.prototype.setAttachedHost=function(t){this._attachedHost=t},t}(),ey=function(t){function e(e,n,o,r){var a=t.call(this)||this;return a.component=e,a.viewContainerRef=n,a.injector=o,a.componentFactoryResolver=r,a}return r(e,t),e}(ty),ny=function(t){function e(e,n,o){var r=t.call(this)||this;return r.templateRef=e,r.viewContainerRef=n,r.context=o,r}return r(e,t),Object.defineProperty(e.prototype,"origin",{get:function(){return this.templateRef.elementRef},enumerable:!0,configurable:!0}),e.prototype.attach=function(e,n){return void 0===n&&(n=this.context),this.context=n,t.prototype.attach.call(this,e)},e.prototype.detach=function(){return this.context=void 0,t.prototype.detach.call(this)},e}(ty),oy=function(){function t(){this._isDisposed=!1}return t.prototype.hasAttached=function(){return!!this._attachedPortal},t.prototype.attach=function(t){return t||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&J_(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),t instanceof ey?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof ny?(this._attachedPortal=t,this.attachTemplatePortal(t)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()},t.prototype.detach=function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()},t.prototype.dispose=function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0},t.prototype.setDisposeFn=function(t){this._disposeFn=t},t.prototype._invokeDisposeFn=function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)},t}(),ry=function(t){function e(e,n,o,r){var a=t.call(this)||this;return a.outletElement=e,a._componentFactoryResolver=n,a._appRef=o,a._defaultInjector=r,a}return r(e,t),e.prototype.attachComponentPortal=function(t){var e,n=this,o=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);return t.viewContainerRef?(e=t.viewContainerRef.createComponent(o,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(function(){return e.destroy()})):(e=o.create(t.injector||this._defaultInjector),this._appRef.attachView(e.hostView),this.setDisposeFn(function(){n._appRef.detachView(e.hostView),e.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(e)),e},e.prototype.attachTemplatePortal=function(t){var e=this,n=t.viewContainerRef,o=n.createEmbeddedView(t.templateRef,t.context);return o.detectChanges(),o.rootNodes.forEach(function(t){return e.outletElement.appendChild(t)}),this.setDisposeFn(function(){var t=n.indexOf(o);-1!==t&&n.remove(t)}),o},e.prototype.dispose=function(){t.prototype.dispose.call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)},e.prototype._getComponentRootNode=function(t){return t.hostView.rootNodes[0]},e}(oy),ay=function(t){function e(e,n){var o=t.call(this)||this;return o._componentFactoryResolver=e,o._viewContainerRef=n,o._isInitialized=!1,o.attached=new Dr,o}return r(e,t),Object.defineProperty(e.prototype,"portal",{get:function(){return this._attachedPortal},set:function(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&t.prototype.detach.call(this),e&&t.prototype.attach.call(this,e),this._attachedPortal=e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"attachedRef",{get:function(){return this._attachedRef},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this._isInitialized=!0},e.prototype.ngOnDestroy=function(){t.prototype.dispose.call(this),this._attachedPortal=null,this._attachedRef=null},e.prototype.attachComponentPortal=function(e){e.setAttachedHost(this);var n=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,o=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),r=n.createComponent(o,n.length,e.injector||n.injector);return t.prototype.setDisposeFn.call(this,function(){return r.destroy()}),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r},e.prototype.attachTemplatePortal=function(e){var n=this;e.setAttachedHost(this);var o=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return t.prototype.setDisposeFn.call(this,function(){return n._viewContainerRef.clear()}),this._attachedPortal=e,this._attachedRef=o,this.attached.emit(o),o},e}(oy),iy=function(){return function(){}}(),ly=function(){function t(t,e){this._parentInjector=t,this._customTokens=e}return t.prototype.get=function(t,e){var n=this._customTokens.get(t);return void 0!==n?n:this._parentInjector.get(t,e)},t}();function sy(t,e,n,o){return m(n)&&(o=n,n=void 0),o?sy(t,e,n).pipe(K(function(t){return d(t)?o.apply(void 0,t):o(t)})):new E(function(o){!function t(e,n,o,r,a){var i;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){var l=e;e.addEventListener(n,o,a),i=function(){return l.removeEventListener(n,o,a)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){var s=e;e.on(n,o),i=function(){return s.off(n,o)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){var c=e;e.addListener(n,o),i=function(){return c.removeListener(n,o)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var u=0,d=e.length;u1?Array.prototype.slice.call(arguments):t)},o,n)})}var cy=function(t){function e(e,n){var o=t.call(this,e,n)||this;return o.scheduler=e,o.work=n,o}return r(e,t),e.prototype.requestAsyncId=function(e,n,o){return void 0===o&&(o=0),null!==o&&o>0?t.prototype.requestAsyncId.call(this,e,n,o):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(function(){return e.flush(null)})))},e.prototype.recycleAsyncId=function(e,n,o){if(void 0===o&&(o=0),null!==o&&o>0||null===o&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,o);0===e.actions.length&&(cancelAnimationFrame(n),e.scheduled=void 0)},e}(th),uy=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,o=-1,r=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++o0?t.prototype.requestAsyncId.call(this,e,n,o):(e.actions.push(this),e.scheduled||(e.scheduled=(r=e.flush.bind(e,null),a=dy++,py[a]=r,Promise.resolve().then(function(){return function(t){var e=py[t];e&&e()}(a)}),a)));var r,a},e.prototype.recycleAsyncId=function(e,n,o){if(void 0===o&&(o=0),null!==o&&o>0||null===o&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,o);0===e.actions.length&&(delete py[n],e.scheduled=void 0)},e}(th),fy=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,o=-1,r=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++o=0}function vy(t){var e=t.index,n=t.period,o=t.subscriber;if(o.next(e),!o.closed){if(-1===n)return o.complete();t.index=e+1,this.schedule(t,n)}}function Cy(t,e){return void 0===e&&(e=oh),n=function(){return function(t,e,n){void 0===t&&(t=0);var o=-1;return yy(e)?o=Number(e)<1?1:Number(e):L(e)&&(n=e),L(n)||(n=oh),new E(function(e){var r=yy(t)?t:+t-n.now();return n.schedule(vy,r,{index:0,period:o,subscriber:e})})}(t,e)},function(t){return t.lift(new by(n))};var n}function Py(t){return function(e){return e.lift(new My(t))}}var Oy,My=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new xy(t),o=Z(n,this.notifier);return o&&!n.seenValue?(n.add(o),e.subscribe(n)):n},t}(),xy=function(t){function e(e){var n=t.call(this,e)||this;return n.seenValue=!1,n}return r(e,t),e.prototype.notifyNext=function(t,e,n,o,r){this.seenValue=!0,this.complete()},e.prototype.notifyComplete=function(){},e}(Q),wy=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new ky(t))},t}(),ky=function(t){function e(e){var n=t.call(this,e)||this;return n.hasPrev=!1,n}return r(e,t),e.prototype._next=function(t){this.hasPrev?this.destination.next([this.prev,t]):this.hasPrev=!0,this.prev=t},e}(O),Sy=function(t){function e(e,n){var o=t.call(this,e,n)||this;return o.scheduler=e,o.work=n,o}return r(e,t),e.prototype.schedule=function(e,n){return void 0===n&&(n=0),n>0?t.prototype.schedule.call(this,e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,n){return n>0||this.closed?t.prototype.execute.call(this,e,n):this._execute(e,n)},e.prototype.requestAsyncId=function(e,n,o){return void 0===o&&(o=0),null!==o&&o>0||null===o&&this.delay>0?t.prototype.requestAsyncId.call(this,e,n,o):e.flush(this)},e}(th),Ey=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(nh))(Sy);Oy||(Oy={});var Ty=function(){function t(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}return t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}},t.prototype.do=function(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}},t.prototype.accept=function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)},t.prototype.toObservable=function(){switch(this.kind){case"N":return Ol(this.value);case"E":return Yh(this.error);case"C":return Cl()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}(),Iy=function(t){function e(e,n,o){void 0===o&&(o=0);var r=t.call(this,e)||this;return r.scheduler=n,r.delay=o,r}return r(e,t),e.dispatch=function(t){t.notification.observe(t.destination),this.unsubscribe()},e.prototype.scheduleMessage=function(t){this.destination.add(this.scheduler.schedule(e.dispatch,this.delay,new Ry(t,this.destination)))},e.prototype._next=function(t){this.scheduleMessage(Ty.createNext(t))},e.prototype._error=function(t){this.scheduleMessage(Ty.createError(t)),this.unsubscribe()},e.prototype._complete=function(){this.scheduleMessage(Ty.createComplete()),this.unsubscribe()},e}(O),Ry=function(){return function(t,e){this.notification=t,this.destination=e}}(),Ay=function(t){function e(e,n,o){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY);var r=t.call(this)||this;return r.scheduler=o,r._events=[],r._infiniteTimeWindow=!1,r._bufferSize=e<1?1:e,r._windowTime=n<1?1:n,n===Number.POSITIVE_INFINITY?(r._infiniteTimeWindow=!0,r.next=r.nextInfiniteTimeWindow):r.next=r.nextTimeWindow,r}return r(e,t),e.prototype.nextInfiniteTimeWindow=function(e){var n=this._events;n.push(e),n.length>this._bufferSize&&n.shift(),t.prototype.next.call(this,e)},e.prototype.nextTimeWindow=function(e){this._events.push(new Dy(this._getNow(),e)),this._trimBufferThenGetEvents(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){var e,n=this._infiniteTimeWindow,o=n?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,a=o.length;if(this.closed)throw new R;if(this.isStopped||this.hasError?e=g.EMPTY:(this.observers.push(t),e=new A(this,t)),r&&t.add(t=new Iy(t,r)),n)for(var i=0;ie&&(a=Math.max(a,r-e)),a>0&&o.splice(0,a),o},e}(N),Dy=function(){return function(t,e){this.time=t,this.value=e}}(),Ny=function(t){function e(e){var n=t.call(this)||this;return n._data=e,n}return r(e,t),e.prototype.connect=function(){return this._data instanceof E?this._data:Ol(this._data)},e.prototype.disconnect=function(){},e}(function(){return function(){}}()),zy=new Bt("VIRTUAL_SCROLL_STRATEGY"),Ly=function(){function t(t,e,n){this._scrolledIndexChange=new N,this.scrolledIndexChange=this._scrolledIndexChange.pipe(function(t){return t.lift(new hy(void 0,void 0))}),this._viewport=null,this._itemSize=t,this._minBufferPx=e,this._maxBufferPx=n}return t.prototype.attach=function(t){this._viewport=t,this._updateTotalContentSize(),this._updateRenderedRange()},t.prototype.detach=function(){this._scrolledIndexChange.complete(),this._viewport=null},t.prototype.updateItemAndBufferSize=function(t,e,n){if(n0&&(o.end=Math.min(a,o.end+c),o.start=Math.max(0,Math.floor(e-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(o),this._viewport.setRenderedContentOffset(this._itemSize*o.start),this._scrolledIndexChange.next(Math.floor(e))}},t}();function Fy(t){return t._scrollStrategy}var Vy=function(){function t(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new Ly(this.itemSize,this.minBufferPx,this.maxBufferPx)}return Object.defineProperty(t.prototype,"itemSize",{get:function(){return this._itemSize},set:function(t){this._itemSize=Ff(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"minBufferPx",{get:function(){return this._minBufferPx},set:function(t){this._minBufferPx=Ff(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxBufferPx",{get:function(){return this._maxBufferPx},set:function(t){this._maxBufferPx=Ff(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)},t}(),jy=function(){function t(t,e){this._ngZone=t,this._platform=e,this._scrolled=new N,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}return t.prototype.register=function(t){var e=this;this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(function(){return e._scrolled.next(t)}))},t.prototype.deregister=function(t){var e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))},t.prototype.scrolled=function(t){var e=this;return void 0===t&&(t=20),this._platform.isBrowser?new E(function(n){e._globalSubscription||e._addGlobalListener();var o=t>0?e._scrolled.pipe(Cy(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){o.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}}):Ol()},t.prototype.ngOnDestroy=function(){var t=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(e,n){return t.deregister(n)}),this._scrolled.complete()},t.prototype.ancestorScrolled=function(t,e){var n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(xl(function(t){return!t||n.indexOf(t)>-1}))},t.prototype.getAncestorScrollContainers=function(t){var e=this,n=[];return this.scrollContainers.forEach(function(o,r){e._scrollableContainsElement(r,t)&&n.push(r)}),n},t.prototype._scrollableContainsElement=function(t,e){var n=e.nativeElement,o=t.getElementRef().nativeElement;do{if(n==o)return!0}while(n=n.parentElement);return!1},t.prototype._addGlobalListener=function(){var t=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return sy(window.document,"scroll").subscribe(function(){return t._scrolled.next()})})},t.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)},t.ngInjectableDef=wt({factory:function(){return new t(Vt(ua),Vt(qf))},token:t,providedIn:"root"}),t}(),By=function(){function t(t,e,n,o){var r=this;this.elementRef=t,this.scrollDispatcher=e,this.ngZone=n,this.dir=o,this._destroyed=new N,this._elementScrolled=new E(function(t){return r.ngZone.runOutsideAngular(function(){return sy(r.elementRef.nativeElement,"scroll").pipe(Py(r._destroyed)).subscribe(t)})})}return t.prototype.ngOnInit=function(){this.scrollDispatcher.register(this)},t.prototype.ngOnDestroy=function(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()},t.prototype.elementScrolled=function(){return this._elementScrolled},t.prototype.getElementRef=function(){return this.elementRef},t.prototype.scrollTo=function(t){var e=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;t.left=null==t.left?n?t.end:t.start:t.left,t.right=null==t.right?n?t.start:t.end:t.right,null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),n&&Xf()!=Kf.NORMAL?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),Xf()==Kf.INVERTED?t.left=t.right:Xf()==Kf.NEGATED&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)},t.prototype._applyScrollToOptions=function(t){var e=this.elementRef.nativeElement;"object"==typeof document&&"scrollBehavior"in document.documentElement.style?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))},t.prototype.measureScrollOffset=function(t){var e=this.elementRef.nativeElement;if("top"==t)return e.scrollTop;if("bottom"==t)return e.scrollHeight-e.clientHeight-e.scrollTop;var n=this.dir&&"rtl"==this.dir.value;return"start"==t?t=n?"right":"left":"end"==t&&(t=n?"left":"right"),n&&Xf()==Kf.INVERTED?"left"==t?e.scrollWidth-e.clientWidth-e.scrollLeft:e.scrollLeft:n&&Xf()==Kf.NEGATED?"left"==t?e.scrollLeft+e.scrollWidth-e.clientWidth:-e.scrollLeft:"left"==t?e.scrollLeft:e.scrollWidth-e.clientWidth-e.scrollLeft},t}(),Hy="undefined"!=typeof requestAnimationFrame?uy:fy,Uy=function(t){function e(e,n,o,r,a,i){var l=t.call(this,e,i,o,a)||this;if(l.elementRef=e,l._changeDetectorRef=n,l._scrollStrategy=r,l._detachedSubject=new N,l._renderedRangeSubject=new N,l.orientation="vertical",l.scrolledIndexChange=new E(function(t){return l._scrollStrategy.scrolledIndexChange.subscribe(function(e){return Promise.resolve().then(function(){return l.ngZone.run(function(){return t.next(e)})})})}),l.renderedRangeStream=l._renderedRangeSubject.asObservable(),l._totalContentSizeTransform="",l._totalContentSize=0,l._renderedRange={start:0,end:0},l._dataLength=0,l._viewportSize=0,l._renderedContentOffset=0,l._renderedContentOffsetNeedsRewrite=!1,l._isChangeDetectionPending=!1,l._runAfterChangeDetection=[],!r)throw Error('Error: cdk-virtual-scroll-viewport requires the "itemSize" property to be set.');return l}return r(e,t),e.prototype.ngOnInit=function(){var e=this;t.prototype.ngOnInit.call(this),this.ngZone.runOutsideAngular(function(){return Promise.resolve().then(function(){e._measureViewportSize(),e._scrollStrategy.attach(e),e.elementScrolled().pipe(Ic(null),Cy(0,Hy)).subscribe(function(){return e._scrollStrategy.onContentScrolled()}),e._markChangeDetectionNeeded()})})},e.prototype.ngOnDestroy=function(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),t.prototype.ngOnDestroy.call(this)},e.prototype.attach=function(t){var e=this;if(this._forOf)throw Error("CdkVirtualScrollViewport is already attached.");this.ngZone.runOutsideAngular(function(){e._forOf=t,e._forOf.dataStream.pipe(Py(e._detachedSubject)).subscribe(function(t){var n=t.length;n!==e._dataLength&&(e._dataLength=n,e._scrollStrategy.onDataLengthChanged()),e._doChangeDetection()})})},e.prototype.detach=function(){this._forOf=null,this._detachedSubject.next()},e.prototype.getDataLength=function(){return this._dataLength},e.prototype.getViewportSize=function(){return this._viewportSize},e.prototype.getRenderedRange=function(){return this._renderedRange},e.prototype.setTotalContentSize=function(t){this._totalContentSize!==t&&(this._totalContentSize=t,this._totalContentSizeTransform="scale"+("horizontal"==this.orientation?"X":"Y")+"("+this._totalContentSize+")",this._markChangeDetectionNeeded())},e.prototype.setRenderedRange=function(t){var e,n,o=this;((e=this._renderedRange).start!=(n=t).start||e.end!=n.end)&&(this._renderedRangeSubject.next(this._renderedRange=t),this._markChangeDetectionNeeded(function(){return o._scrollStrategy.onContentRendered()}))},e.prototype.getOffsetToRenderedContentStart=function(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset},e.prototype.setRenderedContentOffset=function(t,e){var n=this;void 0===e&&(e="to-start");var o="horizontal"==this.orientation,r=o?"X":"Y",a="translate"+r+"("+Number((o&&this.dir&&"rtl"==this.dir.value?-1:1)*t)+"px)";this._renderedContentOffset=t,"to-end"===e&&(a+=" translate"+r+"(-100%)",this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=a&&(this._renderedContentTransform=a,this._markChangeDetectionNeeded(function(){n._renderedContentOffsetNeedsRewrite?(n._renderedContentOffset-=n.measureRenderedContentSize(),n._renderedContentOffsetNeedsRewrite=!1,n.setRenderedContentOffset(n._renderedContentOffset)):n._scrollStrategy.onRenderedOffsetChanged()}))},e.prototype.scrollToOffset=function(t,e){void 0===e&&(e="auto");var n={behavior:e};"horizontal"===this.orientation?n.start=t:n.top=t,this.scrollTo(n)},e.prototype.scrollToIndex=function(t,e){void 0===e&&(e="auto"),this._scrollStrategy.scrollToIndex(t,e)},e.prototype.measureScrollOffset=function(e){return t.prototype.measureScrollOffset.call(this,e||("horizontal"===this.orientation?"start":"top"))},e.prototype.measureRenderedContentSize=function(){var t=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?t.offsetWidth:t.offsetHeight},e.prototype.measureRangeSize=function(t){return this._forOf?this._forOf.measureRangeSize(t,this.orientation):0},e.prototype.checkViewportSize=function(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()},e.prototype._measureViewportSize=function(){var t=this.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?t.clientWidth:t.clientHeight},e.prototype._markChangeDetectionNeeded=function(t){var e=this;t&&this._runAfterChangeDetection.push(t),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(function(){return Promise.resolve().then(function(){e._doChangeDetection()})}))},e.prototype._doChangeDetection=function(){var t=this;this._isChangeDetectionPending=!1,this.ngZone.run(function(){return t._changeDetectorRef.markForCheck()}),this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform;var e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(var n=0,o=e;n=t.end)return 0;if(t.startthis._renderedRange.end)throw Error("Error: attempted to measure an item that isn't rendered.");for(var n=t.start-this._renderedRange.start,o=0,r=t.end-t.start;r--;)for(var a=this._viewContainerRef.get(r+n),i=a?a.rootNodes.length:0;i--;)o+=qy(e,a.rootNodes[i]);return o},t.prototype.ngDoCheck=function(){if(this._differ&&this._needsUpdate){var t=this._differ.diff(this._renderedItems);t?this._applyChanges(t):this._updateContext(),this._needsUpdate=!1}},t.prototype.ngOnDestroy=function(){this._viewport.detach(),this._dataSourceChanges.next(),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete();for(var t=0,e=this._templateCache;t0?this._change.pipe(Cy(t)):this._change},t.prototype._updateViewportSize=function(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}},t.ngInjectableDef=wt({factory:function(){return new t(Vt(qf),Vt(ua))},token:t,providedIn:"root"}),t}(),Qy=function(){function t(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}return t.prototype.attach=function(){},t.prototype.enable=function(){if(this._canBeEnabled()){var t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=jf(-this._previousScrollPosition.left),t.style.top=jf(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}},t.prototype.disable=function(){if(this._isEnabled){var t=this._document.documentElement,e=t.style,n=this._document.body.style,o=e.scrollBehavior||"",r=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),e.scrollBehavior=n.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),e.scrollBehavior=o,n.scrollBehavior=r}},t.prototype._canBeEnabled=function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width},t}();function Ky(){return Error("Scroll strategy has already been attached.")}var Xy=function(){function t(t,e,n,o){var r=this;this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=o,this._scrollSubscription=null,this._detach=function(){r.disable(),r._overlayRef.hasAttached()&&r._ngZone.run(function(){return r._overlayRef.detach()})}}return t.prototype.attach=function(t){if(this._overlayRef)throw Ky();this._overlayRef=t},t.prototype.enable=function(){var t=this;if(!this._scrollSubscription){var e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(function(){var e=t._viewportRuler.getViewportScrollPosition().top;Math.abs(e-t._initialScrollPosition)>t._config.threshold?t._detach():t._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}},t.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},t.prototype.detach=function(){this.disable(),this._overlayRef=null},t}(),$y=function(){function t(){}return t.prototype.enable=function(){},t.prototype.disable=function(){},t.prototype.attach=function(){},t}();function Jy(t,e){return e.some(function(e){return t.bottome.bottom||t.righte.right})}function tv(t,e){return e.some(function(e){return t.tope.bottom||t.lefte.right})}var ev=function(){function t(t,e,n,o){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=o,this._scrollSubscription=null}return t.prototype.attach=function(t){if(this._overlayRef)throw Ky();this._overlayRef=t},t.prototype.enable=function(){var t=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){if(t._overlayRef.updatePosition(),t._config&&t._config.autoClose){var e=t._overlayRef.overlayElement.getBoundingClientRect(),n=t._viewportRuler.getViewportSize(),o=n.width,r=n.height;Jy(e,[{width:o,height:r,bottom:r,right:o,top:0,left:0}])&&(t.disable(),t._ngZone.run(function(){return t._overlayRef.detach()}))}}))},t.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},t.prototype.detach=function(){this.disable(),this._overlayRef=null},t}(),nv=function(){function t(t,e,n,o){var r=this;this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=function(){return new $y},this.close=function(t){return new Xy(r._scrollDispatcher,r._ngZone,r._viewportRuler,t)},this.block=function(){return new Qy(r._viewportRuler,r._document)},this.reposition=function(t){return new ev(r._scrollDispatcher,r._viewportRuler,r._ngZone,t)},this._document=o}return t.ngInjectableDef=wt({factory:function(){return new t(Vt(jy),Vt(Zy),Vt(ua),Vt(us))},token:t,providedIn:"root"}),t}(),ov=function(){return function(t){var e=this;this.scrollStrategy=new $y,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t&&Object.keys(t).forEach(function(n){void 0!==t[n]&&(e[n]=t[n])})}}(),rv=function(){return function(t,e,n,o,r){this.offsetX=n,this.offsetY=o,this.panelClass=r,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}(),av=function(){return function(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}();function iv(t,e){if("top"!==e&&"bottom"!==e&&"center"!==e)throw Error("ConnectedPosition: Invalid "+t+' "'+e+'". Expected "top", "bottom" or "center".')}function lv(t,e){if("start"!==e&&"end"!==e&&"center"!==e)throw Error("ConnectedPosition: Invalid "+t+' "'+e+'". Expected "start", "end" or "center".')}var sv=function(){function t(t){var e=this;this._attachedOverlays=[],this._keydownListener=function(t){for(var n=e._attachedOverlays,o=n.length-1;o>-1;o--)if(n[o]._keydownEventSubscriptions>0){n[o]._keydownEvents.next(t);break}},this._document=t}return t.prototype.ngOnDestroy=function(){this._detach()},t.prototype.add=function(t){this.remove(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0),this._attachedOverlays.push(t)},t.prototype.remove=function(t){var e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this._detach()},t.prototype._detach=function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)},t.ngInjectableDef=wt({factory:function(){return new t(Vt(us))},token:t,providedIn:"root"}),t}(),cv=function(){function t(t){this._document=t}return t.prototype.ngOnDestroy=function(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)},t.prototype.getContainerElement=function(){return this._containerElement||this._createContainer(),this._containerElement},t.prototype._createContainer=function(){var t=this._document.createElement("div");t.classList.add("cdk-overlay-container"),this._document.body.appendChild(t),this._containerElement=t},t.ngInjectableDef=wt({factory:function(){return new t(Vt(us))},token:t,providedIn:"root"}),t}(),uv=function(){function t(t,e,n,o,r,a,i,l){var s=this;this._portalOutlet=t,this._host=e,this._pane=n,this._config=o,this._ngZone=r,this._keyboardDispatcher=a,this._document=i,this._location=l,this._backdropElement=null,this._backdropClick=new N,this._attachments=new N,this._detachments=new N,this._locationChanges=g.EMPTY,this._keydownEventsObservable=new E(function(t){var e=s._keydownEvents.subscribe(t);return s._keydownEventSubscriptions++,function(){e.unsubscribe(),s._keydownEventSubscriptions--}}),this._keydownEvents=new N,this._keydownEventSubscriptions=0,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy}return Object.defineProperty(t.prototype,"overlayElement",{get:function(){return this._pane},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"backdropElement",{get:function(){return this._backdropElement},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hostElement",{get:function(){return this._host},enumerable:!0,configurable:!0}),t.prototype.attach=function(t){var e=this,n=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(Pc(1)).subscribe(function(){e.hasAttached()&&e.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&this._location&&(this._locationChanges=this._location.subscribe(function(){return e.dispose()})),n},t.prototype.detach=function(){if(this.hasAttached()){this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();var t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),t}},t.prototype.dispose=function(){var t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&this._detachments.next(),this._detachments.complete()},t.prototype.hasAttached=function(){return this._portalOutlet.hasAttached()},t.prototype.backdropClick=function(){return this._backdropClick.asObservable()},t.prototype.attachments=function(){return this._attachments.asObservable()},t.prototype.detachments=function(){return this._detachments.asObservable()},t.prototype.keydownEvents=function(){return this._keydownEventsObservable},t.prototype.getConfig=function(){return this._config},t.prototype.updatePosition=function(){this._positionStrategy&&this._positionStrategy.apply()},t.prototype.updatePositionStrategy=function(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))},t.prototype.updateSize=function(t){this._config=a({},this._config,t),this._updateElementSize()},t.prototype.setDirection=function(t){this._config=a({},this._config,{direction:t}),this._updateElementDirection()},t.prototype.addPanelClass=function(t){this._pane&&this._toggleClasses(this._pane,t,!0)},t.prototype.removePanelClass=function(t){this._pane&&this._toggleClasses(this._pane,t,!1)},t.prototype.getDirection=function(){var t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"},t.prototype.updateScrollStrategy=function(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))},t.prototype._updateElementDirection=function(){this._host.setAttribute("dir",this.getDirection())},t.prototype._updateElementSize=function(){var t=this._pane.style;t.width=jf(this._config.width),t.height=jf(this._config.height),t.minWidth=jf(this._config.minWidth),t.minHeight=jf(this._config.minHeight),t.maxWidth=jf(this._config.maxWidth),t.maxHeight=jf(this._config.maxHeight)},t.prototype._togglePointerEvents=function(t){this._pane.style.pointerEvents=t?"auto":"none"},t.prototype._attachBackdrop=function(){var t=this;this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",function(e){return t._backdropClick.next(e)}),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){t._backdropElement&&t._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")},t.prototype._updateStackingOrder=function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)},t.prototype.detachBackdrop=function(){var t=this,e=this._backdropElement;if(e){var n,o=function(){e&&e.parentNode&&e.parentNode.removeChild(e),t._backdropElement==e&&(t._backdropElement=null),t._config.backdropClass&&t._toggleClasses(e,t._config.backdropClass,!1),clearTimeout(n)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(function(){e.addEventListener("transitionend",o)}),e.style.pointerEvents="none",n=this._ngZone.runOutsideAngular(function(){return setTimeout(o,500)})}},t.prototype._toggleClasses=function(t,e,n){var o=t.classList;Vf(e).forEach(function(t){n?o.add(t):o.remove(t)})},t.prototype._detachContentWhenStable=function(){var t=this;this._ngZone.runOutsideAngular(function(){var e=t._ngZone.onStable.asObservable().pipe(Py(it(t._attachments,t._detachments))).subscribe(function(){t._pane&&t._host&&0!==t._pane.children.length||(t._pane&&t._config.panelClass&&t._toggleClasses(t._pane,t._config.panelClass,!1),t._host&&t._host.parentElement&&(t._previousHostParent=t._host.parentElement,t._previousHostParent.removeChild(t._host)),e.unsubscribe())})})},t.prototype._disposeScrollStrategy=function(){var t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())},t}(),dv=function(){function t(t,e,n,o,r){this._viewportRuler=e,this._document=n,this._platform=o,this._overlayContainer=r,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new N,this._resizeSubscription=g.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges.asObservable(),this.setOrigin(t)}return Object.defineProperty(t.prototype,"positions",{get:function(){return this._preferredPositions},enumerable:!0,configurable:!0}),t.prototype.attach=function(t){var e=this;if(this._overlayRef&&t!==this._overlayRef)throw Error("This position strategy is already attached to an overlay");this._validatePositions(),t.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(function(){e._isInitialRender=!0,e.apply()})},t.prototype.apply=function(){if(!this._isDisposed&&this._platform.isBrowser)if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)this.reapplyLastPosition();else{this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();for(var t,e=this._originRect,n=this._overlayRect,o=this._viewportRect,r=[],a=0,i=this._preferredPositions;ap&&(p=g,d=h)}return this._isPushed=!1,void this._applyPosition(d.position,d.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(t.position,t.originPoint);this._applyPosition(t.position,t.originPoint)}},t.prototype.detach=function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()},t.prototype.dispose=function(){this._isDisposed||(this._boundingBox&&pv(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)},t.prototype.reapplyLastPosition=function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}},t.prototype.withScrollableContainers=function(t){return this._scrollables=t,this},t.prototype.withPositions=function(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this},t.prototype.withViewportMargin=function(t){return this._viewportMargin=t,this},t.prototype.withFlexibleDimensions=function(t){return void 0===t&&(t=!0),this._hasFlexibleDimensions=t,this},t.prototype.withGrowAfterOpen=function(t){return void 0===t&&(t=!0),this._growAfterOpen=t,this},t.prototype.withPush=function(t){return void 0===t&&(t=!0),this._canPush=t,this},t.prototype.withLockedPosition=function(t){return void 0===t&&(t=!0),this._positionLocked=t,this},t.prototype.setOrigin=function(t){return this._origin=t,this},t.prototype.withDefaultOffsetX=function(t){return this._offsetX=t,this},t.prototype.withDefaultOffsetY=function(t){return this._offsetY=t,this},t.prototype.withTransformOriginOn=function(t){return this._transformOriginSelector=t,this},t.prototype._getOriginPoint=function(t,e){var n;if("center"==e.originX)n=t.left+t.width/2;else{var o=this._isRtl()?t.right:t.left,r=this._isRtl()?t.left:t.right;n="start"==e.originX?o:r}return{x:n,y:"center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom}},t.prototype._getOverlayPoint=function(t,e,n){var o;return o="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,{x:t.x+o,y:t.y+("center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height)}},t.prototype._getOverlayFit=function(t,e,n,o){var r=t.x,a=t.y,i=this._getOffset(o,"x"),l=this._getOffset(o,"y");i&&(r+=i),l&&(a+=l);var s=0-a,c=a+e.height-n.height,u=this._subtractOverflows(e.width,0-r,r+e.width-n.width),d=this._subtractOverflows(e.height,s,c),p=u*d;return{visibleArea:p,isCompletelyWithinViewport:e.width*e.height===p,fitsInViewportVertically:d===e.height,fitsInViewportHorizontally:u==e.width}},t.prototype._canFitWithFlexibleDimensions=function(t,e,n){if(this._hasFlexibleDimensions){var o=n.bottom-e.y,r=n.right-e.x,a=this._overlayRef.getConfig().minHeight,i=this._overlayRef.getConfig().minWidth;return(t.fitsInViewportVertically||null!=a&&a<=o)&&(t.fitsInViewportHorizontally||null!=i&&i<=r)}},t.prototype._pushOverlayOnScreen=function(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};var o,r,a=this._viewportRect,i=Math.max(t.x+e.width-a.right,0),l=Math.max(t.y+e.height-a.bottom,0),s=Math.max(a.top-n.top-t.y,0),c=Math.max(a.left-n.left-t.x,0);return this._previousPushAmount={x:o=e.width<=a.width?c||-i:t.xd&&!this._isInitialRender&&!this._growAfterOpen&&(o=t.y-d/2)}if("end"===e.overlayX&&!c||"start"===e.overlayX&&c)l=s.right-t.x+this._viewportMargin,a=t.x-s.left;else if("start"===e.overlayX&&!c||"end"===e.overlayX&&c)i=t.x,a=s.right-t.x;else{u=Math.min(s.right-t.x+s.left,t.x);var p=this._lastBoundingBoxSize.width;i=t.x-u,(a=2*u)>p&&!this._isInitialRender&&!this._growAfterOpen&&(i=t.x-p/2)}return{top:o,left:i,bottom:r,right:l,width:a,height:n}},t.prototype._setBoundingBoxStyles=function(t,e){var n=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));var o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right="",o.width=o.height="100%";else{var r=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;o.height=jf(n.height),o.top=jf(n.top),o.bottom=jf(n.bottom),o.width=jf(n.width),o.left=jf(n.left),o.right=jf(n.right),o.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",o.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",r&&(o.maxHeight=jf(r)),a&&(o.maxWidth=jf(a))}this._lastBoundingBoxSize=n,pv(this._boundingBox.style,o)},t.prototype._resetBoundingBoxStyles=function(){pv(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})},t.prototype._resetOverlayElementStyles=function(){pv(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})},t.prototype._setOverlayElementStyles=function(t,e){var n={};if(this._hasExactPosition()){var o=this._viewportRuler.getViewportScrollPosition();pv(n,this._getExactOverlayY(e,t,o)),pv(n,this._getExactOverlayX(e,t,o))}else n.position="static";var r="",a=this._getOffset(e,"x"),i=this._getOffset(e,"y");a&&(r+="translateX("+a+"px) "),i&&(r+="translateY("+i+"px)"),n.transform=r.trim(),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxHeight&&(n.maxHeight=""),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxWidth&&(n.maxWidth=""),pv(this._pane.style,n)},t.prototype._getExactOverlayY=function(t,e,n){var o={top:null,bottom:null},r=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));var a=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=a,"bottom"===t.overlayY?o.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":o.top=jf(r.y),o},t.prototype._getExactOverlayX=function(t,e,n){var o={left:null,right:null},r=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),"right"==(this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left")?o.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":o.left=jf(r.x),o},t.prototype._getScrollVisibility=function(){var t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(function(t){return t.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:tv(t,n),isOriginOutsideView:Jy(t,n),isOverlayClipped:tv(e,n),isOverlayOutsideView:Jy(e,n)}},t.prototype._subtractOverflows=function(t){for(var e=[],n=1;n-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(t,e){t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))},t.prototype._hideNonDialogContentFromAssistiveTechnology=function(){var t=this._overlayContainer.getContainerElement();if(t.parentElement)for(var e=t.parentElement.children,n=e.length-1;n>-1;n--){var o=e[n];o===t||"SCRIPT"===o.nodeName||"STYLE"===o.nodeName||o.hasAttribute("aria-live")||(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}},t.prototype._closeDialogs=function(t){for(var e=t.length;e--;)t[e].close()},t}(),Iv=function(){return function(){}}(),Rv=ao({encapsulation:0,styles:[[".setup-icon[_ngcontent-%COMP%]{font-size:40px}"]],data:{}});function Av(t){return ui(0,[(t()(),Ga(0,0,null,null,23,"mat-card",[["class","setup-card mat-card"]],null,null,null,Uh,Hh)),gr(1,49152,null,0,If,[],null,null),(t()(),Ga(2,0,null,0,12,"mat-card-header",[["class","mat-card-header"]],null,null,null,Wh,qh)),gr(3,49152,null,0,Rf,[],null,null),(t()(),Ga(4,0,null,0,4,"div",[["class","mat-card-avatar"],["mat-card-avatar",""]],null,null,null,null,null)),gr(5,16384,null,0,Tf,[],null,null),(t()(),Ga(6,0,null,null,2,"mat-icon",[["aria-hidden","false"],["class","setup-icon mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,dg,ug)),gr(7,9158656,null,0,sg,[mn,tg,[8,"false"],[2,rg]],null,null),(t()(),li(-1,0,["update"])),(t()(),Ga(9,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),gr(10,16384,null,0,kf,[],null,null),(t()(),li(-1,null,["Setup"])),(t()(),Ga(12,0,null,1,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),gr(13,16384,null,0,Sf,[],null,null),(t()(),li(-1,null,["Step 1"])),(t()(),Ga(15,0,null,0,2,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),gr(16,16384,null,0,wf,[],null,null),(t()(),li(-1,null,[" Beat On will now uninstall Beat Saber to prepare for modding process to add custom levels to Beat Saber "])),(t()(),Ga(18,0,null,0,5,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),gr(19,16384,null,0,Ef,[],null,null),(t()(),Ga(20,0,null,null,3,"button",[["color","accent"],["fast-click",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==t.component.clickBegin()&&o),o},W_,q_)),gr(21,180224,null,0,fg,[mn,gh,[2,H_]],{color:[0,"color"]},null),gr(22,16384,null,0,Y_,[mn],null,null),(t()(),li(-1,0,["Uninstall Beat Saber"]))],function(t,e){t(e,7,0),t(e,21,0,"accent")},function(t,e){t(e,6,0,or(e,7).inline,"primary"!==or(e,7).color&&"accent"!==or(e,7).color&&"warn"!==or(e,7).color),t(e,18,0,"end"===or(e,19).align),t(e,20,0,or(e,21).disabled||null,"NoopAnimations"===or(e,21)._animationMode)})}function Dv(t){return ui(0,[(t()(),Ga(0,0,null,null,1,"app-setup-step1",[],null,null,null,Av,Rv)),gr(1,114688,null,0,$_,[Qs,Tv],null,null)],function(t,e){t(e,1,0)},null)}var Nv=Yo("app-setup-step1",$_,Dv,{},{},[]),zv=function(){function t(t,e){this.beatOnApi=t,this.dialog=e}return t.prototype.ngOnInit=function(){},t.prototype.clickBegin=function(){var t=this.dialog.open(lf,{width:"450px",height:"350px",disableClose:!0,data:{mainText:"Please wait..."}});this.beatOnApi.installModStep2().subscribe(function(e){t.close()})},t}(),Lv=ao({encapsulation:0,styles:[[""]],data:{}});function Fv(t){return ui(0,[(t()(),Ga(0,0,null,null,23,"mat-card",[["class","setup-card mat-card"]],null,null,null,Uh,Hh)),gr(1,49152,null,0,If,[],null,null),(t()(),Ga(2,0,null,0,12,"mat-card-header",[["class","mat-card-header"]],null,null,null,Wh,qh)),gr(3,49152,null,0,Rf,[],null,null),(t()(),Ga(4,0,null,0,4,"div",[["class","mat-card-avatar"],["mat-card-avatar",""]],null,null,null,null,null)),gr(5,16384,null,0,Tf,[],null,null),(t()(),Ga(6,0,null,null,2,"mat-icon",[["aria-hidden","false"],["class","setup-icon mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,dg,ug)),gr(7,9158656,null,0,sg,[mn,tg,[8,"false"],[2,rg]],null,null),(t()(),li(-1,0,["update"])),(t()(),Ga(9,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),gr(10,16384,null,0,kf,[],null,null),(t()(),li(-1,null,["Setup"])),(t()(),Ga(12,0,null,1,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),gr(13,16384,null,0,Sf,[],null,null),(t()(),li(-1,null,["Step 2"])),(t()(),Ga(15,0,null,0,2,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),gr(16,16384,null,0,wf,[],null,null),(t()(),li(-1,null,[" Beat On will now patch Beat Saber to allow the ability to add custom levels and custom playlists. This also adds the requirement for Beat Saber to have permissions to external storage. "])),(t()(),Ga(18,0,null,0,5,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),gr(19,16384,null,0,Ef,[],null,null),(t()(),Ga(20,0,null,null,3,"button",[["color","accent"],["fast-click",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==t.component.clickBegin()&&o),o},W_,q_)),gr(21,180224,null,0,fg,[mn,gh,[2,H_]],{color:[0,"color"]},null),gr(22,16384,null,0,Y_,[mn],null,null),(t()(),li(-1,0,["Patch Beat Saber"]))],function(t,e){t(e,7,0),t(e,21,0,"accent")},function(t,e){t(e,6,0,or(e,7).inline,"primary"!==or(e,7).color&&"accent"!==or(e,7).color&&"warn"!==or(e,7).color),t(e,18,0,"end"===or(e,19).align),t(e,20,0,or(e,21).disabled||null,"NoopAnimations"===or(e,21)._animationMode)})}function Vv(t){return ui(0,[(t()(),Ga(0,0,null,null,1,"app-setup-step2",[],null,null,null,Fv,Lv)),gr(1,114688,null,0,zv,[Qs,Tv],null,null)],function(t,e){t(e,1,0)},null)}var jv=Yo("app-setup-step2",zv,Vv,{},{},[]),Bv=function(){function t(t,e,n){this.beatOnApi=t,this.dialog=e,this.router=n}return t.prototype.ngOnInit=function(){},t.prototype.clickBegin=function(){var t=this,e=this.dialog.open(lf,{width:"450px",height:"350px",disableClose:!0,data:{mainText:"Please wait..."}});this.beatOnApi.installModStep3().subscribe(function(n){e.close();var o=0,r=function(){++o>10?t.router.navigateByUrl("/"):t.beatOnApi.getModStatus().subscribe(function(e){"ModInstalled"!=e.CurrentStatus?setTimeout(r,5e3):t.router.navigateByUrl("/")})};setTimeout(r,5e3)})},t}(),Hv=ao({encapsulation:0,styles:[[""]],data:{}});function Uv(t){return ui(0,[(t()(),Ga(0,0,null,null,33,"mat-card",[["class","setup-card mat-card"]],null,null,null,Uh,Hh)),gr(1,49152,null,0,If,[],null,null),(t()(),Ga(2,0,null,0,12,"mat-card-header",[["class","mat-card-header"]],null,null,null,Wh,qh)),gr(3,49152,null,0,Rf,[],null,null),(t()(),Ga(4,0,null,0,4,"div",[["class","mat-card-avatar"],["mat-card-avatar",""]],null,null,null,null,null)),gr(5,16384,null,0,Tf,[],null,null),(t()(),Ga(6,0,null,null,2,"mat-icon",[["aria-hidden","false"],["class","setup-icon mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,dg,ug)),gr(7,9158656,null,0,sg,[mn,tg,[8,"false"],[2,rg]],null,null),(t()(),li(-1,0,["update"])),(t()(),Ga(9,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),gr(10,16384,null,0,kf,[],null,null),(t()(),li(-1,null,["Setup"])),(t()(),Ga(12,0,null,1,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),gr(13,16384,null,0,Sf,[],null,null),(t()(),li(-1,null,["Step 3"])),(t()(),Ga(15,0,null,0,12,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),gr(16,16384,null,0,wf,[],null,null),(t()(),Ga(17,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),li(-1,null,["Beat On will now reinstall modded Beat Saber. Upon launching Beat Saber you will be prompted to allow Beat Saber permissions to access external storage. This will only happen once."])),(t()(),Ga(19,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),li(-1,null,['If you do not already have untrusted sources enabled, you may be prompted to "allow untrusted sources" and will be directed to the settings page where you will need to turn on the option.'])),(t()(),Ga(21,0,null,null,1,"h2",[["style","color: red"]],null,null,null,null,null)),(t()(),li(-1,null,["IMPORTANT"])),(t()(),Ga(23,0,null,null,4,"p",[],null,null,null,null,null)),(t()(),li(-1,null,["After installation has completed, choose the "])),(t()(),Ga(25,0,null,null,1,"b",[],null,null,null,null,null)),(t()(),li(-1,null,["DONE"])),(t()(),li(-1,null,[" button. Do not press the OPEN button, Beat Saber will not launch from here."])),(t()(),Ga(28,0,null,0,5,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),gr(29,16384,null,0,Ef,[],null,null),(t()(),Ga(30,0,null,null,3,"button",[["color","accent"],["fast-click",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==t.component.clickBegin()&&o),o},W_,q_)),gr(31,180224,null,0,fg,[mn,gh,[2,H_]],{color:[0,"color"]},null),gr(32,16384,null,0,Y_,[mn],null,null),(t()(),li(-1,0,["Install Modded Beat Saber"]))],function(t,e){t(e,7,0),t(e,31,0,"accent")},function(t,e){t(e,6,0,or(e,7).inline,"primary"!==or(e,7).color&&"accent"!==or(e,7).color&&"warn"!==or(e,7).color),t(e,28,0,"end"===or(e,29).align),t(e,30,0,or(e,31).disabled||null,"NoopAnimations"===or(e,31)._animationMode)})}function qv(t){return ui(0,[(t()(),Ga(0,0,null,null,1,"app-setup-step3",[],null,null,null,Uv,Hv)),gr(1,114688,null,0,Bv,[Qs,Tv,dm],null,null)],function(t,e){t(e,1,0)},null)}var Wv=Yo("app-setup-step3",Bv,qv,{},{},[]),Yv=new Bt("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(t){return{left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"}}}}),Gv=function(){function t(t,e,n){this._elementRef=t,this._ngZone=e,this._inkBarPositioner=n}return t.prototype.alignToElement=function(t){var e=this;this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return e._setStyles(t)})}):this._setStyles(t)},t.prototype.show=function(){this._elementRef.nativeElement.style.visibility="visible"},t.prototype.hide=function(){this._elementRef.nativeElement.style.visibility="hidden"},t.prototype._setStyles=function(t){var e=this._inkBarPositioner(t),n=this._elementRef.nativeElement;n.style.left=e.left,n.style.width=e.width},t}(),Zv=function(t){function e(e,n,o,r,a){var i=t.call(this,e)||this;return i._dir=n,i._ngZone=o,i._changeDetectorRef=r,i._viewportRuler=a,i._onDestroy=new N,i}return r(e,t),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(t){var e=this._elementRef.nativeElement;e.classList.remove("mat-background-"+this.backgroundColor),t&&e.classList.add("mat-background-"+t),this._backgroundColor=t},enumerable:!0,configurable:!0}),e.prototype.updateActiveLink=function(t){this._activeLinkChanged=!!t,this._changeDetectorRef.markForCheck()},e.prototype.ngAfterContentInit=function(){var t=this;this._ngZone.runOutsideAngular(function(){return it(t._dir?t._dir.change:Ol(null),t._viewportRuler.change(10)).pipe(Py(t._onDestroy)).subscribe(function(){return t._alignInkBar()})})},e.prototype.ngAfterContentChecked=function(){if(this._activeLinkChanged){var t=this._tabLinks.find(function(t){return t.active});this._activeLinkElement=t?t._elementRef:null,this._alignInkBar(),this._activeLinkChanged=!1}},e.prototype.ngOnDestroy=function(){this._onDestroy.next(),this._onDestroy.complete()},e.prototype._alignInkBar=function(){this._activeLinkElement?(this._inkBar.show(),this._inkBar.alignToElement(this._activeLinkElement.nativeElement)):this._inkBar.hide()},e}(Oh(Ph(function(){return function(t){this._elementRef=t}}(),"primary"))),Qv=function(t){function e(e,n,o,r,a,i,l){var s=t.call(this)||this;return s._tabNavBar=e,s._elementRef=n,s._focusMonitor=l,s._isActive=!1,s._tabLinkRipple=new Lh(s,o,n,r),s._tabLinkRipple.setupTriggerEvents(n.nativeElement),s.rippleConfig=a||{},s.tabIndex=parseInt(i)||0,l.monitor(n),s}return r(e,t),Object.defineProperty(e.prototype,"active",{get:function(){return this._isActive},set:function(t){t!==this._isActive&&(this._isActive=t,this._tabNavBar.updateActiveLink(this._elementRef))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rippleDisabled",{get:function(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this._tabLinkRipple._removeTriggerEvents(),this._focusMonitor.stopMonitoring(this._elementRef)},e}(Mh(Oh(Ch(function(){return function(){}}())))),Kv=function(){return function(){}}(),Xv=function(){return function(){}}(),$v=function(){function t(t,e,n,o,r){void 0===t&&(t=!1),void 0===e&&(e="all"),void 0===n&&(n=""),void 0===o&&(o=""),void 0===r&&(r=0),this.matches=t,this.mediaQuery=e,this.mqAlias=n,this.suffix=o,this.priority=r,this.property=""}return t.prototype.clone=function(){return new t(this.matches,this.mediaQuery,this.mqAlias,this.suffix)},t}(),Jv=function(){function t(){this.stylesheet=new Map}return t.prototype.addStyleToElement=function(t,e,n){var o=this.stylesheet.get(t);o?o.set(e,n):this.stylesheet.set(t,new Map([[e,n]]))},t.prototype.clearStyles=function(){this.stylesheet.clear()},t.prototype.getStyleForElement=function(t,e){var n=this.stylesheet.get(t),o="";if(n){var r=n.get(e);"number"!=typeof r&&"string"!=typeof r||(o=r+"")}return o},t.ngInjectableDef=kt({factory:function(){return new t},token:t,providedIn:"root"}),t}(),tC={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},eC=new Bt("Flex Layout token, config options for the library",{providedIn:"root",factory:function(){return tC}}),nC=new Bt("FlexLayoutServerLoaded",{providedIn:"root",factory:function(){return!1}}),oC=new Bt("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:function(){return null}});function rC(t,e){return t=t?t.clone():new $v,e&&(t.mqAlias=e.alias,t.mediaQuery=e.mediaQuery,t.suffix=e.suffix,t.priority=e.priority),t}var aC=["row","column","row-reverse","column-reverse"];function iC(t){if(t)switch(t.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":t="wrap-reverse";break;case"no":case"none":case"nowrap":t="nowrap";break;default:t="wrap"}return t}var lC=function(){function t(t,e,n,o){this.elementRef=t,this.styleBuilder=e,this.styler=n,this.marshal=o,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new N,this.styleCache=new Map}return Object.defineProperty(t.prototype,"parentElement",{get:function(){return this.elementRef.nativeElement.parentElement},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nativeElement",{get:function(){return this.elementRef.nativeElement},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedValue",{get:function(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)},set:function(t){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,t,this.marshal.activatedAlias)},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){var e=this;Object.keys(t).forEach(function(n){if(-1!==e.inputs.indexOf(n)){var o=n.split(".").slice(1).join(".");e.setValue(t[n].currentValue,o)}})},t.prototype.ngOnDestroy=function(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)},t.prototype.init=function(t){void 0===t&&(t=[]),this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),t)},t.prototype.addStyles=function(t,e){var n=this.styleBuilder,o=n.shouldCache,r=this.styleCache.get(t);r&&o||(r=n.buildStyles(t,e),o&&this.styleCache.set(t,r)),this.mru=a({},r),this.applyStyleToElement(r),n.sideEffect(t,r,e)},t.prototype.clearStyles=function(){var t=this;Object.keys(this.mru).forEach(function(e){t.mru[e]=""}),this.applyStyleToElement(this.mru),this.mru={}},t.prototype.triggerUpdate=function(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)},t.prototype.getFlexFlowDirection=function(t,e){if(void 0===e&&(e=!1),t){var n=this.styler.getFlowDirection(t),o=n[0];if(!n[1]&&e){var r=function(t){var e,n,o=function(t){var e=(t=t?t.toLowerCase():"").split(" "),n=e[0],o=e[1],r=e[2];return aC.find(function(t){return t===n})||(n=aC[0]),"inline"===o&&(o="inline"!==r?r:"",r="inline"),[n,iC(o),!!r]}(t);return void 0===(e=o[1])&&(e=null),void 0===(n=o[2])&&(n=!1),{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":o[0],"flex-wrap":e||null}}(o);this.styler.applyStyleToElements(r,[t])}return o.trim()}return"row"},t.prototype.applyStyleToElement=function(t,e,n){void 0===n&&(n=this.nativeElement),this.styler.applyStyleToElement(n,t,e)},t.prototype.setValue=function(t,e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,t,e)},t.prototype.updateWithValue=function(t){this.addStyles(t)},t}(),sC=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.99px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.99px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.99px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.99px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.99px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.99px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.99px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.99px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.99px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],cC="(orientation: portrait) and (max-width: 599.99px)",uC="(orientation: portrait) and (min-width: 600px) and (max-width: 839.99px)",dC="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.99px)",pC="(orientation: portrait) and (min-width: 840px)",mC="(orientation: landscape) and (min-width: 1280px)",fC={HANDSET:cC+", (orientation: landscape) and (max-width: 959.99px)",TABLET:uC+" , "+dC,WEB:pC+", "+mC+" ",HANDSET_PORTRAIT:""+cC,TABLET_PORTRAIT:uC+" ",WEB_PORTRAIT:""+pC,HANDSET_LANDSCAPE:"(orientation: landscape) and (max-width: 959.99px)]",TABLET_LANDSCAPE:""+dC,WEB_LANDSCAPE:""+mC},hC=[{alias:"handset",priority:2e3,mediaQuery:fC.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:fC.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:fC.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:fC.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:fC.TABLET},{alias:"tablet.portrait",priority:2100,mediaQuery:fC.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:fC.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:fC.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:fC.WEB_PORTRAIT,overlapping:!0}],gC=/(\.|-|_)/g;function bC(t){var e=t.length>0?t.charAt(0):"",n=t.length>1?t.slice(1):"";return e.toUpperCase()+n}var _C=new Bt("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:function(){var t=jt(oC),e=jt(eC),n=[].concat.apply([],(t||[]).map(function(t){return Array.isArray(t)?t:[t]}));return function(t,e){void 0===e&&(e=[]);var n,o={};return t.forEach(function(t){o[t.alias]=t}),e.forEach(function(t){o[t.alias]?function(t){for(var e=[],n=1;n-1}));return it(new E(function(e){var o=n.registerQuery(t);if(o.length){var r=o.pop();o.forEach(function(t){e.next(t)}),n.source.next(r)}e.complete()}),o)}return this._observable$},t.prototype.registerQuery=function(t){var e=this,n=Array.isArray(t)?t:[t],o=[];return function(t,e){var n=t.filter(function(t){return!OC[t]});if(n.length>0){var o=n.join(", ");try{var r=e.createElement("style");r.setAttribute("type","text/css"),r.styleSheet||r.appendChild(e.createTextNode("\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media "+o+" {.fx-query-test{ }}\n")),e.head.appendChild(r),n.forEach(function(t){return OC[t]=r})}catch(a){console.error(a)}}}(n,this._document),n.forEach(function(t){var n=e.registry.get(t);n||((n=e.buildMQL(t)).addListener(function(n){e._zone.run(function(){return e.source.next(new $v(n.matches,t))})}),e.registry.set(t,n)),n.matches&&o.push(new $v(!0,t))}),o},t.prototype.buildMQL=function(t){return function(t,e){return e&&window.matchMedia("all").addListener?window.matchMedia(t):{matches:"all"===t||""===t,media:t,addListener:function(){},removeListener:function(){}}}(t,ms(this._platformId))},t.ngInjectableDef=kt({factory:function(){return new t(jt(ua),jt(Wr),jt(us))},token:t,providedIn:"root"}),t}(),OC={},MC={alias:"print",mediaQuery:"print",priority:1e3},xC=function(){function t(t,e){this.breakpoints=t,this.layoutConfig=e,this.isPrinting=!1,this.queue=new wC,this.deactivations=[]}return t.prototype.withPrintQuery=function(t){return t.concat(["print"])},t.prototype.isPrintEvent=function(t){return t.mediaQuery.startsWith("print")},Object.defineProperty(t.prototype,"printAlias",{get:function(){return this.layoutConfig.printWithBreakpoints||[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"printBreakPoints",{get:function(){var t=this;return this.printAlias.map(function(e){return t.breakpoints.findByAlias(e)}).filter(function(t){return null!==t})},enumerable:!0,configurable:!0}),t.prototype.getEventBreakpoints=function(t){var e=this.breakpoints.findByQuery(t.mediaQuery);return(e?this.printBreakPoints.concat([e]):this.printBreakPoints).sort(yC)},t.prototype.updateEvent=function(t){var e=this.breakpoints.findByQuery(t.mediaQuery);return this.isPrintEvent(t)&&(e=this.getEventBreakpoints(t)[0],t.mediaQuery=e?e.mediaQuery:""),rC(t,e)},t.prototype.interceptEvents=function(t){var e=this;return function(n){e.isPrintEvent(n)?n.matches&&!e.isPrinting?(e.startPrinting(t,e.getEventBreakpoints(n)),t.updateStyles()):!n.matches&&e.isPrinting&&(e.stopPrinting(t),t.updateStyles()):e.collectActivations(n)}},t.prototype.blockPropagation=function(){var t=this;return function(e){return!(t.isPrinting||t.isPrintEvent(e))}},t.prototype.startPrinting=function(t,e){this.isPrinting=!0,t.activatedBreakpoints=this.queue.addPrintBreakpoints(e)},t.prototype.stopPrinting=function(t){t.activatedBreakpoints=this.deactivations,this.deactivations=[],this.queue.clear(),this.isPrinting=!1},t.prototype.collectActivations=function(t){if(!this.isPrinting)if(t.matches)this.deactivations=[];else{var e=this.breakpoints.findByQuery(t.mediaQuery);e&&(this.deactivations.push(e),this.deactivations.sort(yC))}},t.ngInjectableDef=kt({factory:function(){return new t(jt(CC),jt(eC))},token:t,providedIn:"root"}),t}(),wC=function(){function t(){this.printBreakpoints=[]}return t.prototype.addPrintBreakpoints=function(t){var e=this;return t.push(MC),t.sort(yC),t.forEach(function(t){return e.addBreakpoint(t)}),this.printBreakpoints},t.prototype.addBreakpoint=function(t){t&&void 0===this.printBreakpoints.find(function(e){return e.mediaQuery===t.mediaQuery})&&(this.printBreakpoints=function(t){return!!t&&t.mediaQuery.startsWith("print")}(t)?[t].concat(this.printBreakpoints):this.printBreakpoints.concat([t]))},t.prototype.clear=function(){this.printBreakpoints=[]},t}();function kC(t){for(var e in t){var n=t[e]||"";switch(e){case"display":t.display="flex"===n?["-webkit-flex","flex"]:"inline-flex"===n?["-webkit-inline-flex","inline-flex"]:n;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":t["-webkit-"+e]=n;break;case"flex-direction":t["-webkit-flex-direction"]=n=n||"row",t["flex-direction"]=n;break;case"order":t.order=t["-webkit-"+e]=isNaN(+n)?"0":n}}return t}var SC=function(){function t(t,e,n,o){this._serverStylesheet=t,this._serverModuleLoaded=e,this._platformId=n,this.layoutConfig=o}return t.prototype.applyStyleToElement=function(t,e,n){void 0===n&&(n=null);var o={};"string"==typeof e&&(o[e]=n,e=o),o=this.layoutConfig.disableVendorPrefixes?e:kC(e),this._applyMultiValueStyleToElement(o,t)},t.prototype.applyStyleToElements=function(t,e){var n=this;void 0===e&&(e=[]);var o=this.layoutConfig.disableVendorPrefixes?t:kC(t);e.forEach(function(t){n._applyMultiValueStyleToElement(o,t)})},t.prototype.getFlowDirection=function(t){var e=this.lookupStyle(t,"flex-direction");return[e||"row",this.lookupInlineStyle(t,"flex-direction")||fs(this._platformId)&&this._serverModuleLoaded?e:""]},t.prototype.lookupAttributeValue=function(t,e){return t.getAttribute(e)||""},t.prototype.lookupInlineStyle=function(t,e){return ms(this._platformId)?t.style.getPropertyValue(e):this._getServerStyle(t,e)},t.prototype.lookupStyle=function(t,e,n){void 0===n&&(n=!1);var o="";return t&&((o=this.lookupInlineStyle(t,e))||(ms(this._platformId)?n||(o=getComputedStyle(t).getPropertyValue(e)):this._serverModuleLoaded&&(o=this._serverStylesheet.getStyleForElement(t,e)))),o?o.trim():""},t.prototype._applyMultiValueStyleToElement=function(t,e){var n=this;Object.keys(t).sort().forEach(function(o){var r=t[o],a=Array.isArray(r)?r:[r];a.sort();for(var i=0,l=a;i0){var i=a.indexOf(":");if(-1===i)throw new Error("Invalid CSS style: "+a);e[a.substr(0,i).trim()]=a.substr(i+1).trim()}}return e},t.prototype._writeStyleAttribute=function(t,e){var n="";for(var o in e)e[o]&&(n+=o+":"+e[o]+";");t.setAttribute("style",n)},t.ngInjectableDef=kt({factory:function(){return new t(jt(Jv,8),jt(nC,8),jt(Wr),jt(eC))},token:t,providedIn:"root"}),t}(),EC=function(){function t(){this.shouldCache=!0}return t.prototype.sideEffect=function(t,e,n){},t}(),TC=function(){function t(t,e,n){this.matchMedia=t,this.breakpoints=e,this.hook=n,this.activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new N,this.observeActivations()}return Object.defineProperty(t.prototype,"activatedAlias",{get:function(){return this.activatedBreakpoints[0]?this.activatedBreakpoints[0].alias:""},enumerable:!0,configurable:!0}),t.prototype.onMediaChange=function(t){var e=this.findByQuery(t.mediaQuery);e&&((t=rC(t,e)).matches&&-1===this.activatedBreakpoints.indexOf(e)?(this.activatedBreakpoints.push(e),this.activatedBreakpoints.sort(yC),this.updateStyles()):t.matches||-1===this.activatedBreakpoints.indexOf(e)||(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(e),1),this.activatedBreakpoints.sort(yC),this.updateStyles()))},t.prototype.init=function(t,e,n,o,r){void 0===r&&(r=[]),IC(this.updateMap,t,e,n),IC(this.clearMap,t,e,o),this.buildElementKeyMap(t,e),this.watchExtraTriggers(t,e,r)},t.prototype.getValue=function(t,e,n){var o=this.elementMap.get(t);if(o){var r=void 0!==n?o.get(n):this.getActivatedValues(o,e);if(r)return r.get(e)}},t.prototype.hasValue=function(t,e){var n=this.elementMap.get(t);if(n){var o=this.getActivatedValues(n,e);if(o)return void 0!==o.get(e)||!1}return!1},t.prototype.setValue=function(t,e,n,o){var r=this.elementMap.get(t);if(r){var a=(r.get(o)||new Map).set(e,n);r.set(o,a),this.elementMap.set(t,r)}else r=(new Map).set(o,(new Map).set(e,n)),this.elementMap.set(t,r);var i=this.getValue(t,e);void 0!==i&&this.updateElement(t,e,i)},t.prototype.trackValue=function(t,e){return this.subject.asObservable().pipe(xl(function(n){return n.element===t&&n.key===e}))},t.prototype.updateStyles=function(){var t=this;this.elementMap.forEach(function(e,n){var o=new Set(t.elementKeyMap.get(n)),r=t.getActivatedValues(e);r&&r.forEach(function(e,r){t.updateElement(n,r,e),o.delete(r)}),o.forEach(function(o){if(r=t.getActivatedValues(e,o)){var a=r.get(o);t.updateElement(n,o,a)}else t.clearElement(n,o)})})},t.prototype.clearElement=function(t,e){var n=this.clearMap.get(t);if(n){var o=n.get(e);o&&(o(),this.subject.next({element:t,key:e,value:""}))}},t.prototype.updateElement=function(t,e,n){var o=this.updateMap.get(t);if(o){var r=o.get(e);r&&(r(n),this.subject.next({element:t,key:e,value:n}))}},t.prototype.releaseElement=function(t){var e=this.watcherMap.get(t);e&&(e.forEach(function(t){return t.unsubscribe()}),this.watcherMap.delete(t));var n=this.elementMap.get(t);n&&(n.forEach(function(t,e){return n.delete(e)}),this.elementMap.delete(t))},t.prototype.triggerUpdate=function(t,e){var n=this,o=this.elementMap.get(t);if(o){var r=this.getActivatedValues(o,e);r&&(e?this.updateElement(t,e,r.get(e)):r.forEach(function(e,o){return n.updateElement(t,o,e)}))}},t.prototype.buildElementKeyMap=function(t,e){var n=this.elementKeyMap.get(t);n||(n=new Set,this.elementKeyMap.set(t,n)),n.add(e)},t.prototype.watchExtraTriggers=function(t,e,n){var o=this;if(n&&n.length){var r=this.watcherMap.get(t);if(r||(r=new Map,this.watcherMap.set(t,r)),!r.get(e)){var a=it.apply(void 0,n).subscribe(function(){var n=o.getValue(t,e);o.updateElement(t,e,n)});r.set(e,a)}}},t.prototype.findByQuery=function(t){return this.breakpoints.findByQuery(t)},t.prototype.getActivatedValues=function(t,e){for(var n=0;n playlists",animation:[{type:11,selector:":enter, :leave",animation:{type:6,styles:{position:"fixed",width:"100%"},offset:null},options:{optional:!0}},{type:3,steps:[{type:11,selector:":enter",animation:[{type:6,styles:{transform:"translateX(-100%)"},offset:null},{type:4,styles:{type:6,styles:{transform:"translateX(0%)"},offset:null},timings:"0.5s ease-in-out"}],options:{optional:!0}},{type:11,selector:":leave",animation:[{type:6,styles:{transform:"translateX(0%)"},offset:null},{type:4,styles:{type:6,styles:{transform:"translateX(100%)"},offset:null},timings:"0.5s ease-in-out"}],options:{optional:!0}}],options:null}],options:null},{type:1,expr:"* => browser",animation:[{type:3,steps:[{type:11,selector:":enter, :leave",animation:{type:6,styles:{position:"fixed",width:"100%"},offset:null},options:{optional:!0}},{type:11,selector:":enter",animation:[{type:6,styles:{transform:"translateX(100%)"},offset:null},{type:4,styles:{type:6,styles:{transform:"translateX(0%)"},offset:null},timings:"0.5s ease-in-out"}],options:{optional:!0}},{type:11,selector:":leave",animation:[{type:6,styles:{transform:"translateX(0%)"},offset:null},{type:4,styles:{type:6,styles:{transform:"translateX(-100%)"},offset:null},timings:"0.5s ease-in-out"}],options:{optional:!0}}],options:null}],options:null}],options:{}}]}});function XC(t){return ui(0,[(t()(),Ga(0,0,null,null,7,"a",[["class","mat-tab-link"],["fast-click",""],["mat-tab-link",""],["routerLinkActive",""]],[[1,"target",0],[8,"href",4],[1,"aria-current",0],[1,"aria-disabled",0],[1,"tabIndex",0],[2,"mat-tab-disabled",null],[2,"mat-tab-label-active",null]],[[null,"click"]],function(t,e,n){var o=!0,r=t.component;return"click"===e&&(o=!1!==or(t,1).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&o),"click"===e&&(o=!1!==r.clickStuff()&&o),o},null,null)),gr(1,671744,[[3,4]],0,mm,[dm,ep,Tl],{routerLink:[0,"routerLink"]},null),gr(2,1720320,[["rla",4]],2,hm,[dm,mn,_n,[2,pm],[2,mm]],{routerLinkActive:[0,"routerLinkActive"]},null),$a(603979776,2,{links:1}),$a(603979776,3,{linksWithHrefs:1}),gr(5,147456,[[1,4]],0,Qv,[Zv,mn,ua,qf,[2,Fh],[8,null],gh],{active:[0,"active"]},null),gr(6,16384,null,0,Y_,[mn],null,null),(t()(),li(7,null,[" "," "]))],function(t,e){t(e,1,0,e.context.$implicit.path),t(e,2,0,""),t(e,5,0,or(e,2).isActive)},function(t,e){t(e,0,0,or(e,1).target,or(e,1).href,or(e,5).active,or(e,5).disabled.toString(),or(e,5).tabIndex,or(e,5).disabled,or(e,5).active),t(e,7,0,e.context.$implicit.label)})}function $C(t){return ui(0,[(t()(),Ga(0,0,null,null,12,"div",[["fxLayout","column"],["style","height: 100%"]],null,null,null,null,null)),gr(1,671744,null,0,zC,[mn,SC,[2,DC],TC],{fxLayout:[0,"fxLayout"]},null),(t()(),Ga(2,0,null,null,5,"nav",[["class","tabNav mat-tab-nav-bar"],["fxLayout","row"],["mat-tab-nav-bar",""]],null,null,null,ZC,GC)),gr(3,3325952,null,1,Zv,[mn,[2,Nf],ua,An,Zy],null,null),$a(603979776,1,{_tabLinks:1}),gr(5,671744,null,0,zC,[mn,SC,[2,DC],TC],{fxLayout:[0,"fxLayout"]},null),(t()(),Ya(16777216,null,0,1,null,XC)),gr(7,278528,null,0,Zl,[jn,Fn,In],{ngForOf:[0,"ngForOf"]},null),(t()(),Ga(8,0,null,null,4,"div",[["class","fullheight"],["fxLayout","column"],["id","mainContentDiv"]],[[24,"@routerTransition",0]],null,null,null,null)),gr(9,671744,null,0,zC,[mn,SC,[2,DC],TC],{fxLayout:[0,"fxLayout"]},null),(t()(),Ga(10,16777216,null,null,2,"router-outlet",[["fxLayout","column"]],null,null,null,null,null)),gr(11,212992,[["o",4]],0,_m,[bm,jn,ln,[8,null],An],null,null),gr(12,671744,null,0,zC,[mn,SC,[2,DC],TC],{fxLayout:[0,"fxLayout"]},null)],function(t,e){var n=e.component;t(e,1,0,"column"),t(e,5,0,"row"),t(e,7,0,n.navLinks),t(e,9,0,"column"),t(e,11,0),t(e,12,0,"column")},function(t,e){t(e,8,0,e.component.getState(or(e,11)))})}function JC(t){return ui(0,[(t()(),Ga(0,0,null,null,1,"app-main",[["class","fullheight"]],null,null,null,$C,KC)),gr(1,114688,null,0,QC,[Qs,Tv,dm,rf],null,null)],function(t,e){t(e,1,0)},null)}var tP=Yo("app-main",QC,JC,{},{},[]);function eP(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function nP(t,e){var n=e?"":"none";eP(t.style,{touchAction:e?"":"none",webkitUserDrag:e?"":"none",webkitTapHighlightColor:e?"":"transparent",userSelect:n,msUserSelect:n,webkitUserSelect:n,MozUserSelect:n})}function oP(t){var e=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*e}function rP(t,e){return t.getPropertyValue(e).split(",").map(function(t){return t.trim()})}var aP=Zf({passive:!0}),iP=Zf({passive:!1}),lP=function(){function t(t,e,n,o,r,a){var i=this;this._config=e,this._document=n,this._ngZone=o,this._viewportRuler=r,this._dragDropRegistry=a,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._moveEvents=new N,this._pointerMoveSubscription=g.EMPTY,this._pointerUpSubscription=g.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new N,this.started=new N,this.released=new N,this.ended=new N,this.entered=new N,this.exited=new N,this.dropped=new N,this.moved=this._moveEvents.asObservable(),this._pointerDown=function(t){if(i.beforeStarted.next(),i._handles.length){var e=i._handles.find(function(e){var n=t.target;return!!n&&(n===e||e.contains(n))});!e||i._disabledHandles.has(e)||i.disabled||i._initializeDragSequence(e,t)}else i.disabled||i._initializeDragSequence(i._rootElement,t)},this._pointerMove=function(t){if(i._hasStartedDragging){i._boundaryElement&&(i._previewRect&&(i._previewRect.width||i._previewRect.height)||(i._previewRect=(i._preview||i._rootElement).getBoundingClientRect()));var e=i._getConstrainedPointerPosition(t);if(i._hasMoved=!0,t.preventDefault(),i._updatePointerDirectionDelta(e),i._dropContainer)i._updateActiveDropContainer(e);else{var n=i._activeTransform;n.x=e.x-i._pickupPositionOnPage.x+i._passiveTransform.x,n.y=e.y-i._pickupPositionOnPage.y+i._passiveTransform.y,i._applyRootElementTransform(n.x,n.y),"undefined"!=typeof SVGElement&&i._rootElement instanceof SVGElement&&i._rootElement.setAttribute("transform","translate("+n.x+" "+n.y+")")}i._moveEvents.observers.length&&i._ngZone.run(function(){i._moveEvents.next({source:i,pointerPosition:e,event:t,distance:i._getDragDistance(e),delta:i._pointerDirectionDelta})})}else{var o=i._getPointerPositionOnPage(t);Math.abs(o.x-i._pickupPositionOnPage.x)+Math.abs(o.y-i._pickupPositionOnPage.y)>=i._config.dragStartThreshold&&Date.now()>=i._dragStartTime+(i.dragStartDelay||0)&&(i._dropContainer&&i._dropContainer.isDragging()||(i._hasStartedDragging=!0,i._ngZone.run(function(){return i._startDragSequence(t)})))}},this._pointerUp=function(t){if(i._dragDropRegistry.isDragging(i)&&(i._removeSubscriptions(),i._dragDropRegistry.stopDragging(i),i._handles&&(i._rootElement.style.webkitTapHighlightColor=i._rootElementTapHighlight),i._hasStartedDragging)){if(i.released.next({source:i}),!i._dropContainer)return i._passiveTransform.x=i._activeTransform.x,i._passiveTransform.y=i._activeTransform.y,i._ngZone.run(function(){i.ended.next({source:i,distance:i._getDragDistance(i._getPointerPositionOnPage(t))})}),void i._dragDropRegistry.stopDragging(i);i._animatePreviewToPlaceholder().then(function(){i._cleanupDragArtifacts(t),i._dragDropRegistry.stopDragging(i)})}},this.withRootElement(t),a.registerDragItem(this)}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)},set:function(t){var e=Lf(t);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions())},enumerable:!0,configurable:!0}),t.prototype.getPlaceholderElement=function(){return this._placeholder},t.prototype.getRootElement=function(){return this._rootElement},t.prototype.withHandles=function(t){return this._handles=t.map(function(t){return Bf(t)}),this._handles.forEach(function(t){return nP(t,!1)}),this._toggleNativeDragInteractions(),this},t.prototype.withPreviewTemplate=function(t){return this._previewTemplate=t,this},t.prototype.withPlaceholderTemplate=function(t){return this._placeholderTemplate=t,this},t.prototype.withRootElement=function(t){var e=Bf(t);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),e.addEventListener("mousedown",this._pointerDown,iP),e.addEventListener("touchstart",this._pointerDown,aP),this._initialTransform=void 0,this._rootElement=e),this},t.prototype.withBoundaryElement=function(t){return this._boundaryElement=t?Bf(t):null,this},t.prototype.dispose=function(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&dP(this._rootElement),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._boundaryElement=this._rootElement=this._placeholderTemplate=this._previewTemplate=this._nextSibling=null},t.prototype.isDragging=function(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)},t.prototype.reset=function(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}},t.prototype.disableHandle=function(t){this._handles.indexOf(t)>-1&&this._disabledHandles.add(t)},t.prototype.enableHandle=function(t){this._disabledHandles.delete(t)},t.prototype.withDirection=function(t){return this._direction=t,this},t.prototype._withDropContainer=function(t){this._dropContainer=t},t.prototype.getFreeDragPosition=function(){return{x:this._passiveTransform.x,y:this._passiveTransform.y}},t.prototype.setFreeDragPosition=function(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this},t.prototype._removeSubscriptions=function(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe()},t.prototype._destroyPreview=function(){this._preview&&dP(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null},t.prototype._destroyPlaceholder=function(){this._placeholder&&dP(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null},t.prototype._startDragSequence=function(t){if(this.started.next({source:this}),pP(t)&&(this._lastTouchEventTime=Date.now()),this._dropContainer){var e=this._rootElement;this._nextSibling=e.nextSibling;var n=this._preview=this._createPreviewElement(),o=this._placeholder=this._createPlaceholderElement();e.style.display="none",this._document.body.appendChild(e.parentNode.replaceChild(o,e)),(r=this._document,r.fullscreenElement||r.webkitFullscreenElement||r.mozFullScreenElement||r.msFullscreenElement||r.body).appendChild(n),this._dropContainer.start()}var r},t.prototype._initializeDragSequence=function(t,e){e.stopPropagation();var n=this.isDragging(),o=pP(e),r=!o&&0!==e.button,a=this._rootElement,i=!o&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();if(e.target&&e.target.draggable&&"mousedown"===e.type&&e.preventDefault(),!(n||r||i)){this._handles.length&&(this._rootElementTapHighlight=a.style.webkitTapHighlightColor,a.style.webkitTapHighlightColor="transparent"),this._toggleNativeDragInteractions(),this._hasStartedDragging=this._hasMoved=!1,this._initialContainer=this._dropContainer,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollPosition=this._viewportRuler.getViewportScrollPosition(),this._boundaryElement&&(this._boundaryRect=this._boundaryElement.getBoundingClientRect()),this._pickupPositionInElement=this._previewTemplate&&this._previewTemplate.template?{x:0,y:0}:this._getPointerPositionInElement(t,e);var l=this._pickupPositionOnPage=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:l.x,y:l.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}},t.prototype._cleanupDragArtifacts=function(t){var e=this;this._rootElement.style.display="",this._nextSibling?this._nextSibling.parentNode.insertBefore(this._rootElement,this._nextSibling):Bf(this._initialContainer.element).appendChild(this._rootElement),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=void 0,this._ngZone.run(function(){var n=e._dropContainer,o=n.getItemIndex(e),r=e._getPointerPositionOnPage(t),a=e._getDragDistance(e._getPointerPositionOnPage(t)),i=n._isOverContainer(r.x,r.y);e.ended.next({source:e,distance:a}),e.dropped.next({item:e,currentIndex:o,previousIndex:e._initialContainer.getItemIndex(e),container:n,previousContainer:e._initialContainer,isPointerOverContainer:i,distance:a}),n.drop(e,o,e._initialContainer,i,a),e._dropContainer=e._initialContainer})},t.prototype._updateActiveDropContainer=function(t){var e=this,n=t.x,o=t.y,r=this._initialContainer._getSiblingContainerFromPosition(this,n,o);!r&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(n,o)&&(r=this._initialContainer),r&&r!==this._dropContainer&&this._ngZone.run(function(){e.exited.next({item:e,container:e._dropContainer}),e._dropContainer.exit(e),e._dropContainer=r,e._dropContainer.enter(e,n,o),e.entered.next({item:e,container:r,currentIndex:r.getItemIndex(e)})}),this._dropContainer._sortItem(this,n,o,this._pointerDirectionDelta),this._preview.style.transform=sP(n-this._pickupPositionInElement.x,o-this._pickupPositionInElement.y)},t.prototype._createPreviewElement=function(){var t,e=this._previewTemplate,n=e?e.template:null;if(n){var o=e.viewContainer.createEmbeddedView(n,e.context);t=o.rootNodes[0],this._previewRef=o,t.style.transform=sP(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{var r=this._rootElement,a=r.getBoundingClientRect();(t=cP(r)).style.width=a.width+"px",t.style.height=a.height+"px",t.style.transform=sP(a.left,a.top)}return eP(t.style,{pointerEvents:"none",position:"fixed",top:"0",left:"0",zIndex:"1000"}),nP(t,!1),t.classList.add("cdk-drag-preview"),t.setAttribute("dir",this._direction),t},t.prototype._animatePreviewToPlaceholder=function(){var t=this;if(!this._hasMoved)return Promise.resolve();var e=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._preview.style.transform=sP(e.left,e.top);var n=function(t){var e=getComputedStyle(t),n=rP(e,"transition-property"),o=n.find(function(t){return"transform"===t||"all"===t});if(!o)return 0;var r=n.indexOf(o),a=rP(e,"transition-duration"),i=rP(e,"transition-delay");return oP(a[r])+oP(i[r])}(this._preview);return 0===n?Promise.resolve():this._ngZone.runOutsideAngular(function(){return new Promise(function(e){var o=function(n){(!n||n.target===t._preview&&"transform"===n.propertyName)&&(t._preview.removeEventListener("transitionend",o),e(),clearTimeout(r))},r=setTimeout(o,1.5*n);t._preview.addEventListener("transitionend",o)})})},t.prototype._createPlaceholderElement=function(){var t,e=this._placeholderTemplate,n=e?e.template:null;return n?(this._placeholderRef=e.viewContainer.createEmbeddedView(n,e.context),t=this._placeholderRef.rootNodes[0]):t=cP(this._rootElement),t.classList.add("cdk-drag-placeholder"),t},t.prototype._getPointerPositionInElement=function(t,e){var n=this._rootElement.getBoundingClientRect(),o=t===this._rootElement?null:t,r=o?o.getBoundingClientRect():n,a=pP(e)?e.targetTouches[0]:e;return{x:r.left-n.left+(a.pageX-r.left-this._scrollPosition.left),y:r.top-n.top+(a.pageY-r.top-this._scrollPosition.top)}},t.prototype._getPointerPositionOnPage=function(t){var e=pP(t)?t.touches[0]||t.changedTouches[0]:t;return{x:e.pageX-this._scrollPosition.left,y:e.pageY-this._scrollPosition.top}},t.prototype._getConstrainedPointerPosition=function(t){var e=this._getPointerPositionOnPage(t),n=this.constrainPosition?this.constrainPosition(e):e,o=this._dropContainer?this._dropContainer.lockAxis:null;if("x"===this.lockAxis||"x"===o?n.y=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==o||(n.x=this._pickupPositionOnPage.x),this._boundaryRect){var r=this._pickupPositionInElement,a=r.x,i=r.y,l=this._boundaryRect,s=this._previewRect,c=l.top+i,u=l.bottom-(s.height-i);n.x=uP(n.x,l.left+a,l.right-(s.width-a)),n.y=uP(n.y,c,u)}return n},t.prototype._updatePointerDirectionDelta=function(t){var e=t.x,n=t.y,o=this._pointerDirectionDelta,r=this._pointerPositionAtLastDirectionChange,a=Math.abs(e-r.x),i=Math.abs(n-r.y);return a>this._config.pointerDirectionChangeThreshold&&(o.x=e>r.x?1:-1,r.x=e),i>this._config.pointerDirectionChangeThreshold&&(o.y=n>r.y?1:-1,r.y=n),o},t.prototype._toggleNativeDragInteractions=function(){if(this._rootElement&&this._handles){var t=this.disabled||this._handles.length>0;t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,nP(this._rootElement,t))}},t.prototype._removeRootElementListeners=function(t){t.removeEventListener("mousedown",this._pointerDown,iP),t.removeEventListener("touchstart",this._pointerDown,aP)},t.prototype._applyRootElementTransform=function(t,e){var n=sP(t,e);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=this._initialTransform?n+" "+this._initialTransform:n},t.prototype._getDragDistance=function(t){var e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}},t}();function sP(t,e){return"translate3d("+Math.round(t)+"px, "+Math.round(e)+"px, 0)"}function cP(t){var e=t.cloneNode(!0),n=e.querySelectorAll("[id]"),o=t.querySelectorAll("canvas");e.removeAttribute("id");for(var r=0;r-1&&r.splice(a,1),l&&!this._dragDropRegistry.isDragging(l)){var s=l.getRootElement();s.parentElement.insertBefore(i,s),r.splice(o,0,t)}else Bf(this.element).appendChild(i),r.push(t);i.style.transform="",this._cacheItemPositions(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})},t.prototype.exit=function(t){this._reset(),this.exited.next({item:t,container:this})},t.prototype.drop=function(t,e,n,o,r){void 0===r&&(r={x:0,y:0}),this._reset(),this.dropped.next({item:t,currentIndex:e,previousIndex:n.getItemIndex(t),container:this,previousContainer:n,isPointerOverContainer:o,distance:r})},t.prototype.withItems=function(t){var e=this;return this._draggables=t,t.forEach(function(t){return t._withDropContainer(e)}),this.isDragging()&&this._cacheItems(),this},t.prototype.withDirection=function(t){return this._direction=t,this},t.prototype.connectedTo=function(t){return this._siblings=t.slice(),this},t.prototype.withOrientation=function(t){return this._orientation=t,this},t.prototype.getItemIndex=function(t){return this._isDragging?bP("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,function(e){return e.drag===t}):this._draggables.indexOf(t)},t.prototype.isReceiving=function(){return this._activeSiblings.size>0},t.prototype._sortItem=function(t,e,n,o){if(!this.sortingDisabled&&this._isPointerNearDropContainer(e,n)){var r=this._itemPositions,a=this._getItemIndexFromPointerPosition(t,e,n,o);if(!(-1===a&&r.length>0)){var i="horizontal"===this._orientation,l=bP(r,function(e){return e.drag===t}),s=r[a],c=r[l].clientRect,u=s.clientRect,d=l>a?1:-1;this._previousSwap.drag=s.drag,this._previousSwap.delta=i?o.x:o.y;var p=this._getItemOffsetPx(c,u,d),m=this._getSiblingOffsetPx(l,r,d),f=r.slice();!function(t,e,n){var o=mP(l,t.length-1),r=mP(n,t.length-1);if(o!==r){for(var a=t[o],i=rn.top-r&&en.left-o&&t=Math.floor(u.left)&&e<=Math.floor(u.right):n>=Math.floor(u.top)&&n<=Math.floor(u.bottom))})},t.prototype._cacheItems=function(){this._activeDraggables=this._draggables.slice(),this._cacheItemPositions(),this._cacheOwnPosition()},t.prototype._isOverContainer=function(t,e){return _P(this._clientRect,t,e)},t.prototype._getSiblingContainerFromPosition=function(t,e,n){return this._siblings.find(function(o){return o._canReceive(t,e,n)})},t.prototype._canReceive=function(t,e,n){if(!this.enterPredicate(t,this)||!_P(this._clientRect,e,n))return!1;var o=this._document.elementFromPoint(e,n);if(!o)return!1;var r=Bf(this.element);return o===r||r.contains(o)},t.prototype._startReceiving=function(t){var e=this._activeSiblings;e.has(t)||(e.add(t),this._cacheOwnPosition())},t.prototype._stopReceiving=function(t){this._activeSiblings.delete(t)},t}();function gP(t,e,n){t.top+=e,t.bottom=t.top+t.height,t.left+=n,t.right=t.left+t.width}function bP(t,e){for(var n=0;n=t.top&&n<=t.bottom&&e>=t.left&&e<=t.right}var yP=Zf({passive:!1,capture:!0}),vP=function(){function t(t,e){var n=this;this._ngZone=t,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=new Set,this._globalListeners=new Map,this.pointerMove=new N,this.pointerUp=new N,this._preventDefaultWhileDragging=function(t){n._activeDragInstances.size&&t.preventDefault()},this._document=e}return t.prototype.registerDropContainer=function(t){if(!this._dropInstances.has(t)){if(this.getDropContainer(t.id))throw Error('Drop instance with id "'+t.id+'" has already been registered.');this._dropInstances.add(t)}},t.prototype.registerDragItem=function(t){var e=this;this._dragInstances.add(t),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(function(){e._document.addEventListener("touchmove",e._preventDefaultWhileDragging,yP)})},t.prototype.removeDropContainer=function(t){this._dropInstances.delete(t)},t.prototype.removeDragItem=function(t){this._dragInstances.delete(t),this.stopDragging(t),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._preventDefaultWhileDragging,yP)},t.prototype.startDragging=function(t,e){var n=this;if(!this._activeDragInstances.has(t)&&(this._activeDragInstances.add(t),1===this._activeDragInstances.size)){var o=e.type.startsWith("touch"),r=o?"touchend":"mouseup";this._globalListeners.set(o?"touchmove":"mousemove",{handler:function(t){return n.pointerMove.next(t)},options:yP}).set(r,{handler:function(t){return n.pointerUp.next(t)},options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:yP}),o||this._globalListeners.set("wheel",{handler:this._preventDefaultWhileDragging,options:yP}),this._ngZone.runOutsideAngular(function(){n._globalListeners.forEach(function(t,e){n._document.addEventListener(e,t.handler,t.options)})})}},t.prototype.stopDragging=function(t){this._activeDragInstances.delete(t),0===this._activeDragInstances.size&&this._clearGlobalListeners()},t.prototype.isDragging=function(t){return this._activeDragInstances.has(t)},t.prototype.getDropContainer=function(t){return Array.from(this._dropInstances).find(function(e){return e.id===t})},t.prototype.ngOnDestroy=function(){var t=this;this._dragInstances.forEach(function(e){return t.removeDragItem(e)}),this._dropInstances.forEach(function(e){return t.removeDropContainer(e)}),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()},t.prototype._clearGlobalListeners=function(){var t=this;this._globalListeners.forEach(function(e,n){t._document.removeEventListener(n,e.handler,e.options)}),this._globalListeners.clear()},t.ngInjectableDef=wt({factory:function(){return new t(Vt(ua),Vt(us))},token:t,providedIn:"root"}),t}(),CP={dragStartThreshold:5,pointerDirectionChangeThreshold:5},PP=function(){function t(t,e,n,o){this._document=t,this._ngZone=e,this._viewportRuler=n,this._dragDropRegistry=o}return t.prototype.createDrag=function(t,e){return void 0===e&&(e=CP),new lP(t,e,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)},t.prototype.createDropList=function(t){return new hP(t,this._dragDropRegistry,this._document)},t.ngInjectableDef=wt({factory:function(){return new t(Vt(us),Vt(ua),Vt(Zy),Vt(vP))},token:t,providedIn:"root"}),t}(),OP=new Bt("CDK_DROP_LIST"),MP=new Bt("CDK_DRAG_PARENT"),xP=function(){function t(t,e){this.element=t,this._stateChanges=new N,this._disabled=!1,this._parentDrag=e,nP(t.nativeElement,!1)}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Lf(t),this._stateChanges.next(this)},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this._stateChanges.complete()},t}(),wP=new Bt("CDK_DRAG_CONFIG",{providedIn:"root",factory:function(){return{dragStartThreshold:5,pointerDirectionChangeThreshold:5}}}),kP=function(){function t(t,e,n,o,r,a,i,l,s){var c=this;this.element=t,this.dropContainer=e,this._document=n,this._ngZone=o,this._viewContainerRef=r,this._dir=i,this._changeDetectorRef=s,this._destroyed=new N,this.dragStartDelay=0,this._disabled=!1,this.started=new Dr,this.released=new Dr,this.ended=new Dr,this.entered=new Dr,this.exited=new Dr,this.dropped=new Dr,this.moved=new E(function(t){var e=c._dragRef.moved.pipe(K(function(t){return{source:c,pointerPosition:t.pointerPosition,event:t.event,delta:t.delta,distance:t.distance}})).subscribe(t);return function(){e.unsubscribe()}}),this._dragRef=l.createDrag(t,a),this._dragRef.data=this,this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}return Object.defineProperty(t.prototype,"boundaryElementSelector",{get:function(){return"string"==typeof this.boundaryElement?this.boundaryElement:void 0},set:function(t){this.boundaryElement=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled||this.dropContainer&&this.dropContainer.disabled},set:function(t){this._disabled=Lf(t),this._dragRef.disabled=this._disabled},enumerable:!0,configurable:!0}),t.prototype.getPlaceholderElement=function(){return this._dragRef.getPlaceholderElement()},t.prototype.getRootElement=function(){return this._dragRef.getRootElement()},t.prototype.reset=function(){this._dragRef.reset()},t.prototype.getFreeDragPosition=function(){return this._dragRef.getFreeDragPosition()},t.prototype.ngAfterViewInit=function(){var t=this;this._ngZone.onStable.asObservable().pipe(Pc(1),Py(this._destroyed)).subscribe(function(){t._updateRootElement(),t._handles.changes.pipe(Ic(t._handles),uc(function(e){var n=e.filter(function(e){return e._parentDrag===t}).map(function(t){return t.element});t._dragRef.withHandles(n)}),Sc(function(t){return it.apply(void 0,t.map(function(t){return t._stateChanges}))}),Py(t._destroyed)).subscribe(function(e){var n=t._dragRef,o=e.element.nativeElement;e.disabled?n.disableHandle(o):n.enableHandle(o)}),t.freeDragPosition&&t._dragRef.setFreeDragPosition(t.freeDragPosition)})},t.prototype.ngOnChanges=function(t){var e=t.rootElementSelector,n=t.freeDragPosition;e&&!e.firstChange&&this._updateRootElement(),n&&!n.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)},t.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()},t.prototype._updateRootElement=function(){var t=this.element.nativeElement,e=this.rootElementSelector?SP(t,this.rootElementSelector):t;if(e&&e.nodeType!==this._document.ELEMENT_NODE)throw Error('cdkDrag must be attached to an element node. Currently attached to "'+e.nodeName+'".');this._dragRef.withRootElement(e||t)},t.prototype._getBoundaryElement=function(){var t=this.boundaryElement;if(!t)return null;if("string"==typeof t)return SP(this.element.nativeElement,t);var e=Bf(t);if(ge()&&!e.contains(this.element.nativeElement))throw Error("Draggable element is not inside of the node passed into cdkDragBoundary.");return e},t.prototype._syncInputs=function(t){var e=this;t.beforeStarted.subscribe(function(){if(!t.isDragging()){var n=e._dir,o=e._placeholderTemplate?{template:e._placeholderTemplate.templateRef,context:e._placeholderTemplate.data,viewContainer:e._viewContainerRef}:null,r=e._previewTemplate?{template:e._previewTemplate.templateRef,context:e._previewTemplate.data,viewContainer:e._viewContainerRef}:null;t.disabled=e.disabled,t.lockAxis=e.lockAxis,t.dragStartDelay=Ff(e.dragStartDelay),t.constrainPosition=e.constrainPosition,t.withBoundaryElement(e._getBoundaryElement()).withPlaceholderTemplate(o).withPreviewTemplate(r),n&&t.withDirection(n.value)}})},t.prototype._handleEvents=function(t){var e=this;t.started.subscribe(function(){e.started.emit({source:e}),e._changeDetectorRef.markForCheck()}),t.released.subscribe(function(){e.released.emit({source:e})}),t.ended.subscribe(function(t){e.ended.emit({source:e,distance:t.distance}),e._changeDetectorRef.markForCheck()}),t.entered.subscribe(function(t){e.entered.emit({container:t.container.data,item:e,currentIndex:t.currentIndex})}),t.exited.subscribe(function(t){e.exited.emit({container:t.container.data,item:e})}),t.dropped.subscribe(function(t){e.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,isPointerOverContainer:t.isPointerOverContainer,item:e,distance:t.distance})})},t}();function SP(t,e){for(var n=t.parentElement;n;){if(n.matches?n.matches(e):n.msMatchesSelector(e))return n;n=n.parentElement}return null}var EP=function(){function t(){this._items=new Set,this._disabled=!1}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Lf(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this._items.clear()},t}(),TP=0,IP=function(){function t(e,n,o,r,a){var i=this;this.element=e,this._changeDetectorRef=o,this._dir=r,this._group=a,this._destroyed=new N,this.connectedTo=[],this.orientation="vertical",this.id="cdk-drop-list-"+TP++,this._disabled=!1,this._sortingDisabled=!1,this.enterPredicate=function(){return!0},this.dropped=new Dr,this.entered=new Dr,this.exited=new Dr,this.sorted=new Dr,this._dropListRef=n.createDropList(e),this._dropListRef.data=this,this._dropListRef.enterPredicate=function(t,e){return i.enterPredicate(t.data,e.data)},this._syncInputs(this._dropListRef),this._handleEvents(this._dropListRef),t._dropLists.push(this),a&&a._items.add(this)}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled||!!this._group&&this._group.disabled},set:function(t){this._disabled=Lf(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sortingDisabled",{get:function(){return this._sortingDisabled},set:function(t){this._sortingDisabled=Lf(t)},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){var t=this;this._draggables.changes.pipe(Ic(this._draggables),Py(this._destroyed)).subscribe(function(e){t._dropListRef.withItems(e.map(function(t){return t._dragRef}))})},t.prototype.ngOnDestroy=function(){var e=t._dropLists.indexOf(this);e>-1&&t._dropLists.splice(e,1),this._group&&this._group._items.delete(this),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()},t.prototype.start=function(){this._dropListRef.start()},t.prototype.drop=function(t,e,n,o){this._dropListRef.drop(t._dragRef,e,n._dropListRef,o)},t.prototype.enter=function(t,e,n){this._dropListRef.enter(t._dragRef,e,n)},t.prototype.exit=function(t){this._dropListRef.exit(t._dragRef)},t.prototype.getItemIndex=function(t){return this._dropListRef.getItemIndex(t._dragRef)},t.prototype._sortItem=function(t,e,n,o){return this._dropListRef._sortItem(t._dragRef,e,n,o)},t.prototype._getSiblingContainerFromPosition=function(t,e,n){var o=this._dropListRef._getSiblingContainerFromPosition(t._dragRef,e,n);return o?o.data:null},t.prototype._isOverContainer=function(t,e){return this._dropListRef._isOverContainer(t,e)},t.prototype._syncInputs=function(e){var n=this;this._dir&&this._dir.change.pipe(Ic(this._dir.value),Py(this._destroyed)).subscribe(function(t){return e.withDirection(t)}),e.beforeStarted.subscribe(function(){var o=Vf(n.connectedTo).map(function(e){return"string"==typeof e?t._dropLists.find(function(t){return t.id===e}):e});n._group&&n._group._items.forEach(function(t){-1===o.indexOf(t)&&o.push(t)}),e.disabled=n.disabled,e.lockAxis=n.lockAxis,e.sortingDisabled=n.sortingDisabled,e.connectedTo(o.filter(function(t){return t&&t!==n}).map(function(t){return t._dropListRef})).withOrientation(n.orientation)})},t.prototype._handleEvents=function(t){var e=this;t.beforeStarted.subscribe(function(){e._changeDetectorRef.markForCheck()}),t.entered.subscribe(function(t){e.entered.emit({container:e,item:t.item.data,currentIndex:t.currentIndex})}),t.exited.subscribe(function(t){e.exited.emit({container:e,item:t.item.data}),e._changeDetectorRef.markForCheck()}),t.sorted.subscribe(function(t){e.sorted.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,container:e,item:t.item.data})}),t.dropped.subscribe(function(t){e.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,item:t.item.data,isPointerOverContainer:t.isPointerOverContainer,distance:t.distance}),e._changeDetectorRef.markForCheck()})},t._dropLists=[],t}(),RP=function(){return function(){}}();function AP(t){var e=t.subscriber,n=t.counter,o=t.period;e.next(n),this.schedule({subscriber:e,counter:n+1,period:o},o)}function DP(t){return function(e){return e.lift(new NP(t))}}var NP=function(){function t(t){this.value=t}return t.prototype.call=function(t,e){return e.subscribe(new zP(t,this.value))},t}(),zP=function(t){function e(e,n){var o=t.call(this,e)||this;return o.value=n,o}return r(e,t),e.prototype._next=function(t){this.destination.next(this.value)},e}(O),LP=function(){return function(t,e,n,o,r,a,i,l,s,c,u,d,p,m,f,h,g,b,_,y,v,C,P,O,M,x,w,k,S){void 0===t&&(t=new VP),void 0===e&&(e=new FP),void 0===o&&(o=new jP),void 0===l&&(l="fixed"),void 0===s&&(s=""),void 0===c&&(c=0),void 0===u&&(u=0),void 0===d&&(d=0),void 0===p&&(p=0),void 0===m&&(m=0),void 0===f&&(f=0),void 0===h&&(h=0),void 0===g&&(g=0),void 0===b&&(b=0),void 0===_&&(_="cubic-bezier(0, 0, 0.2, 1)"),void 0===y&&(y=200),void 0===v&&(v=!1),void 0===C&&(C=0),void 0===P&&(P=0),void 0===O&&(O=!1),void 0===M&&(M=!0),void 0===x&&(x=!1),void 0===w&&(w=!1),void 0===k&&(k=!0),void 0===S&&(S=1),this.touch=t,this.vertical=e,this.interval=n,this.transform=o,this.button=r,this.visibleItems=a,this.deviceType=i,this.type=l,this.token=s,this.items=c,this.load=u,this.deviceWidth=d,this.carouselWidth=p,this.itemWidth=m,this.slideItems=f,this.itemWidthPer=h,this.itemLength=g,this.currentSlide=b,this.easing=_,this.speed=y,this.loop=v,this.dexVal=C,this.touchTransform=P,this.isEnd=O,this.isFirst=M,this.isLast=x,this.RTL=w,this.point=k,this.velocity=S}}(),FP=function(){return function(){}}(),VP=function(){return function(){}}(),jP=function(){return function(t,e,n,o,r){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),void 0===o&&(o=0),void 0===r&&(r=0),this.xs=t,this.sm=e,this.md=n,this.lg=o,this.all=r}}(),BP=function(){return function(t){this.$implicit=t}}(),HP=function(){return function(){}}(),UP=function(){return function(){}}(),qP=function(){return function(){}}(),WP=function(){return function(t){this.template=t}}(),YP=function(){return function(t){this.viewContainer=t}}(),GP=function(t){function e(e,n,o,r,a){var i=t.call(this)||this;return i._el=e,i._renderer=n,i._differs=o,i.platformId=r,i.cdr=a,i.withAnim=!0,i.isHovered=!1,i.carouselLoad=new Dr,i.onMove=new Dr,i._intervalController$=new N,i.pointNumbers=[],i}return r(e,t),Object.defineProperty(e.prototype,"dataSource",{get:function(){return this._dataSource},set:function(t){t&&this._switchDataSource(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nextBtn",{set:function(t){var e=this;this.listener2&&this.listener2(),t&&(this.listener2=this._renderer.listen(t.nativeElement,"click",function(){return e._carouselScrollOne(1)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"prevBtn",{set:function(t){var e=this;this.listener1&&this.listener1(),t&&(this.listener1=this._renderer.listen(t.nativeElement,"click",function(){return e._carouselScrollOne(0)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"trackBy",{get:function(){return this._trackByFn},set:function(t){ge()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+"."),this._trackByFn=t},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var t=this;this._dataDiffer=this._differs.find([]).create(function(e,n){return t.trackBy?t.trackBy(n.dataIndex,n.data):n})},e.prototype.ngDoCheck=function(){this.arrayChanges=this._dataDiffer.diff(this.dataSource),this.arrayChanges&&this._defDirec&&this._observeRenderChanges()},e.prototype._switchDataSource=function(t){this._dataSource=t,this._defDirec&&this._observeRenderChanges()},e.prototype._observeRenderChanges=function(){var t,e=this;this._dataSource instanceof E?t=this._dataSource:Array.isArray(this._dataSource)&&(t=Ol(this._dataSource)),t&&(this._dataSubscription=t.pipe(Py(this._intervalController$)).subscribe(function(t){e.renderNodeChanges(t),e.isLast=!1}))},e.prototype.renderNodeChanges=function(t,e){var n=this;void 0===e&&(e=this._nodeOutlet.viewContainer),this.arrayChanges&&(this.arrayChanges.forEachOperation(function(o,r,a){var i=n._getNodeDef(t[a],a);if(null==o.previousIndex){var l=new BP(t[a]);l.index=a,e.createEmbeddedView(i.template,l,a)}else if(null==a)e.remove(r);else{var s=e.get(r);e.move(s,a)}}),this._updateItemIndexContext(),this.carousel&&this._storeCarouselData())},e.prototype._updateItemIndexContext=function(){for(var t=this._nodeOutlet.viewContainer,e=0,n=t.length;e=t.velocity?(t.touch.velocity=e.velocity,t._carouselScrollOne(t.RTL?"panright"===t.touch.swipe?1:0:"panright"===t.touch.swipe?0:1)):(t.dexVal=0,t._setStyle(t.nguItemsContainer.nativeElement,"transition","transform 324ms cubic-bezier(0, 0, 0.2, 1)"),t._setStyle(t.nguItemsContainer.nativeElement,"transform",""))}),e.on("hammer.input",function(t){t.srcEvent.stopPropagation()})}},e.prototype._touchHandling=function(t,e){if(0!==e.center.x){var n=(e=Math.abs(this.vertical.enabled?e.deltaY:e.deltaX))-this.dexVal;n="responsive"===this.type?Math.abs(e-this.dexVal)/(this.vertical.enabled?this.vertical.height:this.carouselWidth)*100:n,this.dexVal=e,this.touch.swipe=t,this._setTouchTransfrom(t,n),this._setTransformFromTouch()}},e.prototype._setTouchTransfrom=function(t,e){this.touchTransform=t===(this.RTL?"panright":"panleft")?e+this.touchTransform:this.touchTransform-e},e.prototype._setTransformFromTouch=function(){this.touchTransform<0&&(this.touchTransform=0);var t="responsive"===this.type?"%":"px";this._setStyle(this.nguItemsContainer.nativeElement,"transform",this.vertical.enabled?"translate3d(0, "+this.directionSym+this.touchTransform+t+", 0)":"translate3d("+this.directionSym+this.touchTransform+t+", 0, 0)")},e.prototype._onWindowScrolling=function(){var t=this.carousel.offsetTop,e=window.scrollY,n=window.innerHeight,o=this.carousel.offsetHeight;this._intervalController$.next(t<=e+n-o/4&&t+o/2>=e?1:0)},e.prototype._storeCarouselData=function(){this.deviceWidth=ms(this.platformId)?window.innerWidth:1200,this.carouselWidth=this.carouselMain1.nativeElement.offsetWidth,"responsive"===this.type?(this.deviceType=this.deviceWidth>=1200?"lg":this.deviceWidth>=992?"md":this.deviceWidth>=768?"sm":"xs",this.items=this.inputs.grid[this.deviceType],this.itemWidth=this.carouselWidth/this.items):(this.items=Math.trunc(this.carouselWidth/this.inputs.grid.all),this.itemWidth=this.inputs.grid.all,this.deviceType="all"),this.slideItems=+(this.inputs.slide=this.slideItems?this.inputs.load:this.slideItems,this.speed=this.inputs.speed&&this.inputs.speed>-1?this.inputs.speed:400,this._carouselPoint()},e.prototype.reset=function(t){t&&(this.withAnim=!1),this.carouselCssNode.innerHTML="",this.moveTo(0),this._carouselPoint()},e.prototype._carouselPoint=function(){this.pointIndex=Math.ceil((this.dataSource.length-(this.items-this.slideItems))/this.slideItems);var t=[];if(this.pointIndex>1||!this.inputs.point.hideOnSingleSlide)for(var e=0;e .ngucarousel > .ngu-touch-container > .ngucarousel-items","banner"===this.inputs.custom&&this._renderer.addClass(this.carousel,"banner"),"lazy"===this.inputs.animation&&(t+=this.styleid+" > .item {transition: transform .6s ease;}");var e;e=this.vertical.enabled?"@media (max-width:767px){"+this.styleid+" > .item {height: "+this.vertical.height/+this.inputs.grid.xs+"px}}\n @media (min-width:768px){"+this.styleid+" > .item {height: "+this.vertical.height/+this.inputs.grid.sm+"px}}\n @media (min-width:992px){"+this.styleid+" > .item {height: "+this.vertical.height/+this.inputs.grid.md+"px}}\n @media (min-width:1200px){"+this.styleid+" > .item {height: "+this.vertical.height/+this.inputs.grid.lg+"px}}":"responsive"===this.type?"@media (max-width:767px){"+("mobile"===this.inputs.type?this.styleid+" .item {flex: 0 0 "+95/+this.inputs.grid.xs+"%; width: "+95/+this.inputs.grid.xs+"%;}":this.styleid+" .item {flex: 0 0 "+100/+this.inputs.grid.xs+"%; width: "+100/+this.inputs.grid.xs+"%;}")+"}\n @media (min-width:768px){"+this.styleid+" > .item {flex: 0 0 "+100/+this.inputs.grid.sm+"%; width: "+100/+this.inputs.grid.sm+"%}}\n @media (min-width:992px){"+this.styleid+" > .item {flex: 0 0 "+100/+this.inputs.grid.md+"%; width: "+100/+this.inputs.grid.md+"%}}\n @media (min-width:1200px){"+this.styleid+" > .item {flex: 0 0 "+100/+this.inputs.grid.lg+"%; width: "+100/+this.inputs.grid.lg+"%}}":this.styleid+" .item {flex: 0 0 "+this.inputs.grid.all+"px; width: "+this.inputs.grid.all+"px;}",this._renderer.addClass(this.carousel,this.token),this.vertical.enabled&&(this._renderer.addClass(this.nguItemsContainer.nativeElement,"nguvertical"),this._renderer.setStyle(this.carouselMain1.nativeElement,"height",this.vertical.height+"px")),this.RTL&&!this.vertical.enabled&&this._renderer.addClass(this.carousel,"ngurtl"),this._createStyleElem(t+" "+e),this._storeCarouselData()},e.prototype._carouselScrollOne=function(t){var e=this.speed,n=0,o=Math.ceil(this.dexVal/this.itemWidth);if(this._setStyle(this.nguItemsContainer.nativeElement,"transform",""),1!==this.pointIndex)if(0!==t||(this.loop||this.isFirst)&&!this.loop)1!==t||(this.loop||this.isLast)&&!this.loop||(this.dataSource.length<=this.currentSlide+this.items+this.slideItems&&!this.isLast?(n=this.dataSource.length-this.items,this._btnBoolean(0,1)):this.isLast?(n=0,e=400,this._btnBoolean(1,0)):(this._btnBoolean(0,0),o>this.slideItems?(n=this.currentSlide+this.slideItems+(o-this.slideItems),e=200):n=this.currentSlide+this.slideItems),this._carouselScrollTwo(t,n,e));else{var r=this.currentSlide-this.slideItems+this.slideItems;this._btnBoolean(0,1),0===this.currentSlide?(n=this.dataSource.length-this.items,e=400,this._btnBoolean(0,1)):this.slideItems>=r?(n=0,this._btnBoolean(1,0)):(this._btnBoolean(0,0),o>this.slideItems?(n=this.currentSlide-o,e=200):n=this.currentSlide-this.slideItems),this._carouselScrollTwo(t,n,e)}},e.prototype._carouselScrollTwo=function(t,e,n){if(0!==this.dexVal){var o=Math.abs(this.touch.velocity),r=Math.floor(this.dexVal/o/this.dexVal*(this.deviceWidth-this.dexVal));n=(r=r>n?n:r)<200?200:r,this.dexVal=0}this.withAnim?(this._setStyle(this.nguItemsContainer.nativeElement,"transition","transform "+n+"ms "+this.inputs.easing),this.inputs.animation&&this._carouselAnimator(t,e+1,e+this.items,n,Math.abs(this.currentSlide-e))):this._setStyle(this.nguItemsContainer.nativeElement,"transition",""),this.itemLength=this.dataSource.length,this._transformStyle(e),this.currentSlide=e,this.onMove.emit(this),this._carouselPointActiver(),this._carouselLoadTrigger(),this.withAnim=!0},e.prototype._btnBoolean=function(t,e){this.isFirst=!!t,this.isLast=!!e},e.prototype._transformString=function(t,e){var n="";return n+=this.styleid+" { transform: translate3d(",this.vertical.enabled?(this.transform[t]=this.vertical.height/this.inputs.grid[t]*e,n+="0, -"+this.transform[t]+"px, 0"):(this.transform[t]=100/this.inputs.grid[t]*e,n+=""+this.directionSym+this.transform[t]+"%, 0, 0"),n+"); }"},e.prototype._transformStyle=function(t){var e="";"responsive"===this.type?e="@media (max-width: 767px) {"+this._transformString("xs",t)+"}\n @media (min-width: 768px) {"+this._transformString("sm",t)+" }\n @media (min-width: 992px) {"+this._transformString("md",t)+" }\n @media (min-width: 1200px) {"+this._transformString("lg",t)+" }":(this.transform.all=this.inputs.grid.all*t,e=this.styleid+" { transform: translate3d("+this.directionSym+this.transform.all+"px, 0, 0);"),this.carouselCssNode.innerHTML=e},e.prototype._carouselLoadTrigger=function(){"number"==typeof this.inputs.load&&this.dataSource.length-this.load<=this.currentSlide+this.items&&this.carouselLoad.emit(this.currentSlide)},e.prototype._generateID=function(){for(var t="",e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=0;n<6;n++)t+=e.charAt(Math.floor(Math.random()*e.length));return"ngucarousel"+t},e.prototype._carouselInterval=function(){var t,e,n=this,o=this.carouselMain1.nativeElement;if(this.interval&&this.loop){this.listener4=this._renderer.listen("window","scroll",function(){clearTimeout(n.onScrolling),n.onScrolling=setTimeout(function(){n._onWindowScrolling()},600)});var r=sy(o,"mouseleave").pipe(DP(1)),a=sy(o,"mouseenter").pipe(DP(0)),i=sy(o,"touchstart").pipe(DP(1)),l=sy(o,"touchend").pipe(DP(0)),s=(t=this.inputs.interval.timing,void 0===t&&(t=0),void 0===e&&(e=oh),(!yy(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=oh),new E(function(n){return n.add(e.schedule(AP,t,{subscriber:n,counter:0,period:t})),n})).pipe(DP(1));setTimeout(function(){n.carouselInt=it(r,i,a,l,n._intervalController$).pipe(Ic(1),Sc(function(t){return n.isHovered=!t,n.cdr.markForCheck(),t?s:Cl()})).subscribe(function(t){n._carouselScrollOne(1)})},this.interval.initialDelay)}},e.prototype._updateItemIndexContextAni=function(){for(var t=this._nodeOutlet.viewContainer,e=0,n=t.length;e=e-1;c--)s.push(c),l*=2,a.get(c).context.animate={value:!0,params:{distance:-l}};this.cdr.markForCheck(),setTimeout(function(){i._removeAnimations(s)},.7*o)},e.prototype._removeAnimations=function(t){var e=this._nodeOutlet.viewContainer;t.forEach(function(t){e.get(t).context.animate={value:!1,params:{distance:0}}}),this.cdr.markForCheck()},e.prototype._setStyle=function(t,e,n){this._renderer.setStyle(t,e,n)},e.prototype._createStyleElem=function(t){var e=this._renderer.createElement("style");if(t){var n=this._renderer.createText(t);this._renderer.appendChild(e,n)}return this._renderer.appendChild(this.carousel,e),e},e}(LP),ZP=function(){return function(){this.classes=!0}}(),QP=function(){return function(){}}(),KP=ao({encapsulation:0,styles:["[_nghost-%COMP%]{display:block;position:relative}.ngurtl[_nghost-%COMP%]{direction:rtl}.ngucarousel[_ngcontent-%COMP%]{position:relative;overflow:hidden;height:100%}.ngucarousel[_ngcontent-%COMP%] .ngucarousel-items[_ngcontent-%COMP%]{position:relative;display:flex;height:100%}.nguvertical[_ngcontent-%COMP%]{flex-direction:column}.banner[_ngcontent-%COMP%] .ngucarouselPointDefault[_ngcontent-%COMP%] .ngucarouselPoint[_ngcontent-%COMP%]{position:absolute;width:100%;bottom:20px}.banner[_ngcontent-%COMP%] .ngucarouselPointDefault[_ngcontent-%COMP%] .ngucarouselPoint[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{background:rgba(255,255,255,.55)}.banner[_ngcontent-%COMP%] .ngucarouselPointDefault[_ngcontent-%COMP%] .ngucarouselPoint[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%]{background:#fff}.banner[_ngcontent-%COMP%] .ngucarouselPointDefault[_ngcontent-%COMP%] .ngucarouselPoint[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{cursor:pointer}.ngucarouselPointDefault[_ngcontent-%COMP%] .ngucarouselPoint[_ngcontent-%COMP%]{list-style-type:none;text-align:center;padding:12px;margin:0;white-space:nowrap;overflow:auto;box-sizing:border-box}.ngucarouselPointDefault[_ngcontent-%COMP%] .ngucarouselPoint[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:inline-block;border-radius:50%;background:rgba(0,0,0,.55);padding:4px;margin:0 4px;transition-timing-function:cubic-bezier(.17,.67,.83,.67);transition:.4s}.ngucarouselPointDefault[_ngcontent-%COMP%] .ngucarouselPoint[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%]{background:#6b6b6b;-webkit-transform:scale(1.8);transform:scale(1.8)}.ngucarouselPointDefault[_ngcontent-%COMP%] .ngucarouselPoint[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{cursor:pointer}.nguclearFix[_ngcontent-%COMP%]{clear:both}"],data:{}});function XP(t){return ui(2,[$a(402653184,1,{_nodeOutlet:0}),$a(402653184,2,{carouselMain1:0}),$a(402653184,3,{nguItemsContainer:0}),$a(402653184,4,{touchContainer:0}),(t()(),Ga(4,0,[[2,0],["ngucarousel",1]],null,7,"div",[["class","ngucarousel"]],null,null,null,null,null)),(t()(),Ga(5,0,[[4,0],["touchContainer",1]],null,3,"div",[["class","ngu-touch-container"]],null,null,null,null,null)),(t()(),Ga(6,0,[[3,0],["nguItemsContainer",1]],null,2,"div",[["class","ngucarousel-items"]],null,null,null,null,null)),(t()(),Ga(7,16777216,null,null,1,null,null,null,null,null,null,null)),gr(8,16384,[[1,4]],0,YP,[jn],null,null),(t()(),Ga(9,0,null,null,0,"div",[["class","nguclearFix"]],null,null,null,null,null)),oi(null,0),oi(null,1),oi(null,2)],null,null)}var $P=ao({encapsulation:0,styles:[""],data:{}});function JP(t){return ui(0,[oi(null,0)],null,null)}var tO=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"],eO=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.inputs=tO,e}return r(e,t),e}(function(t){function e(e,n,o,r,a,i,l){var s=t.call(this,e,null,n,o)||this;return s.elementRef=e,s.styler=n,s.marshal=o,s.iterableDiffers=r,s.keyValueDiffers=a,s.renderer=i,s.ngClassInstance=l,s.DIRECTIVE_KEY="ngClass",s.ngClassInstance||(s.ngClassInstance=new Yl(s.iterableDiffers,s.keyValueDiffers,s.elementRef,s.renderer)),s.init(),s.setValue("",""),s}return r(e,t),Object.defineProperty(e.prototype,"klass",{set:function(t){this.ngClassInstance.klass=t,this.setValue(t,"")},enumerable:!0,configurable:!0}),e.prototype.updateWithValue=function(t){this.ngClassInstance.ngClass=t,this.ngClassInstance.ngDoCheck()},e.prototype.ngDoCheck=function(){this.ngClassInstance.ngDoCheck()},e}(lC)),nO=function(){return function(t,e,n){void 0===n&&(n=!0),this.key=t,this.value=e,this.key=n?t.replace(/['"]/g,"").trim():t.trim(),this.value=n?e.replace(/['"]/g,"").trim():e.trim(),this.value=this.value.replace(/;/,"")}}();function oO(t){var e=typeof t;return"object"===e?t.constructor===Array?"array":t.constructor===Set?"set":"object":e}function rO(t){var e=t.split(":"),n=e[0],o=e.slice(1);return new nO(n,o.join(":"))}function aO(t,e){return e.key&&(t[e.key]=e.value),t}var iO=["ngStyle","ngStyle.xs","ngStyle.sm","ngStyle.md","ngStyle.lg","ngStyle.xl","ngStyle.lt-sm","ngStyle.lt-md","ngStyle.lt-lg","ngStyle.lt-xl","ngStyle.gt-xs","ngStyle.gt-sm","ngStyle.gt-md","ngStyle.gt-lg"],lO=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.inputs=iO,e}return r(e,t),e}(function(t){function e(e,n,o,r,a,i,l,s,c){var u=t.call(this,e,null,n,o)||this;u.elementRef=e,u.styler=n,u.marshal=o,u.keyValueDiffers=r,u.renderer=a,u.sanitizer=i,u.ngStyleInstance=l,u.DIRECTIVE_KEY="ngStyle",u.ngStyleInstance||(u.ngStyleInstance=new rs(u.keyValueDiffers,u.elementRef,u.renderer)),u.init();var d=u.nativeElement.getAttribute("style")||"";return u.fallbackStyles=u.buildStyleMap(d),u.isServer=s&&fs(c),u}return r(e,t),e.prototype.updateWithValue=function(t){var e=this.buildStyleMap(t);this.ngStyleInstance.ngStyle=a({},this.fallbackStyles,e),this.isServer&&this.applyStyleToElement(e),this.ngStyleInstance.ngDoCheck()},e.prototype.clearStyles=function(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()},e.prototype.buildStyleMap=function(t){var e,n=this,o=function(t){return n.sanitizer.sanitize(Fe.STYLE,t)||""};if(t)switch(oO(t)){case"string":return sO((void 0===e&&(e=";"),String(t).trim().split(e).map(function(t){return t.trim()}).filter(function(t){return""!==t})),o);case"array":return sO(t,o);case"set":default:return function(t,e){var n=[];return"set"===oO(t)?t.forEach(function(t){return n.push(t)}):Object.keys(t).forEach(function(e){n.push(e+":"+t[e])}),function(t,e){return n.map(rO).filter(function(t){return!!t}).map(function(t){return e&&(t.value=e(t.value)),t}).reduce(aO,{})}(0,e)}(t,o)}return{}},e.prototype.ngDoCheck=function(){this.ngStyleInstance.ngDoCheck()},e}(lC));function sO(t,e){return t.map(rO).filter(function(t){return!!t}).map(function(t){return e&&(t.value=e(t.value)),t}).reduce(aO,{})}var cO=function(){return function(){}}();function uO(t,e){void 0===e&&(e=oh);var n,o=(n=t)instanceof Date&&!isNaN(+n)?+t-e.now():Math.abs(t);return function(t){return t.lift(new dO(o,e))}}var dO=function(){function t(t,e){this.delay=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new pO(t,this.delay,this.scheduler))},t}(),pO=function(t){function e(e,n,o){var r=t.call(this,e)||this;return r.delay=n,r.scheduler=o,r.queue=[],r.active=!1,r.errored=!1,r}return r(e,t),e.dispatch=function(t){for(var e=t.source,n=e.queue,o=t.scheduler,r=t.destination;n.length>0&&n[0].time-o.now()<=0;)n.shift().notification.observe(r);if(n.length>0){var a=Math.max(0,n[0].time-o.now());this.schedule(t,a)}else this.unsubscribe(),e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.destination.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,n=new mO(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(Ty.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.scheduleNotification(Ty.createComplete()),this.unsubscribe()},e}(O),mO=function(){return function(t,e){this.time=t,this.notification=e}}(),fO=new Bt("MAT_MENU_PANEL"),hO=function(t){function e(e,n,o,r){var a=t.call(this)||this;return a._elementRef=e,a._focusMonitor=o,a._parentMenu=r,a.role="menuitem",a._hovered=new N,a._highlighted=!1,a._triggersSubmenu=!1,o&&o.monitor(a._elementRef,!1),r&&r.addItem&&r.addItem(a),a._document=n,a}return r(e,t),e.prototype.focus=function(t){void 0===t&&(t="program"),this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),t):this._getHostElement().focus()},e.prototype.ngOnDestroy=function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete()},e.prototype._getTabIndex=function(){return this.disabled?"-1":"0"},e.prototype._getHostElement=function(){return this._elementRef.nativeElement},e.prototype._checkDisabled=function(t){this.disabled&&(t.preventDefault(),t.stopPropagation())},e.prototype._handleMouseEnter=function(){this._hovered.next(this)},e.prototype.getLabel=function(){var t=this._elementRef.nativeElement,e=this._document?this._document.TEXT_NODE:3,n="";if(t.childNodes)for(var o=t.childNodes.length,r=0;r')}(),this._xPosition=t,this.setPositionClasses()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"yPosition",{get:function(){return this._yPosition},set:function(t){"above"!==t&&"below"!==t&&function(){throw Error('yPosition value must be either \'above\' or below\'.\n Example: ')}(),this._yPosition=t,this.setPositionClasses()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"overlapTrigger",{get:function(){return this._overlapTrigger},set:function(t){this._overlapTrigger=Lf(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasBackdrop",{get:function(){return this._hasBackdrop},set:function(t){this._hasBackdrop=Lf(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"panelClass",{set:function(t){var e=this,n=this._previousPanelClass;n&&n.length&&n.split(" ").forEach(function(t){e._classList[t]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(function(t){e._classList[t]=!0}),this._elementRef.nativeElement.className="")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"classList",{get:function(){return this.panelClass},set:function(t){this.panelClass=t},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.setPositionClasses()},t.prototype.ngAfterContentInit=function(){var t=this;this._keyManager=new sh(this._items).withWrap().withTypeAhead(),this._tabSubscription=this._keyManager.tabOut.subscribe(function(){return t.closed.emit("tab")})},t.prototype.ngOnDestroy=function(){this._tabSubscription.unsubscribe(),this.closed.complete()},t.prototype._hovered=function(){return this._itemChanges.pipe(Ic(this._items),Sc(function(t){return it.apply(void 0,t.map(function(t){return t._hovered}))}))},t.prototype._handleKeydown=function(t){var e=t.keyCode,n=this._keyManager;switch(e){case $f:Jf(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;case 36:case 35:Jf(t)||(36===e?n.setFirstItemActive():n.setLastItemActive(),t.preventDefault());break;default:38!==e&&40!==e||n.setFocusOrigin("keyboard"),n.onKeydown(t)}},t.prototype.focusFirstItem=function(t){var e=this;void 0===t&&(t="program"),this.lazyContent?this._ngZone.onStable.asObservable().pipe(Pc(1)).subscribe(function(){return e._keyManager.setFocusOrigin(t).setFirstItemActive()}):this._keyManager.setFocusOrigin(t).setFirstItemActive()},t.prototype.resetActiveItem=function(){this._keyManager.setActiveItem(-1)},t.prototype.setElevation=function(t){var e="mat-elevation-z"+(4+t),n=Object.keys(this._classList).find(function(t){return t.startsWith("mat-elevation-z")});n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[e]=!0,this._previousElevation=e)},t.prototype.addItem=function(t){-1===this._items.indexOf(t)&&(this._items.push(t),this._itemChanges.next(this._items))},t.prototype.removeItem=function(t){var e=this._items.indexOf(t);this._items.indexOf(t)>-1&&(this._items.splice(e,1),this._itemChanges.next(this._items))},t.prototype.setPositionClasses=function(t,e){void 0===t&&(t=this.xPosition),void 0===e&&(e=this.yPosition);var n=this._classList;n["mat-menu-before"]="before"===t,n["mat-menu-after"]="after"===t,n["mat-menu-above"]="above"===e,n["mat-menu-below"]="below"===e},t.prototype._startAnimation=function(){this._panelAnimationState="enter"},t.prototype._resetAnimation=function(){this._panelAnimationState="void"},t.prototype._onAnimationDone=function(t){this._animationDone.next(t),this._isAnimating=!1},t.prototype._onAnimationStart=function(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)},t}()),_O=function(t){function e(e,n,o){return t.call(this,e,n,o)||this}return r(e,t),e}(bO),yO=new Bt("mat-menu-scroll-strategy");function vO(t){return function(){return t.scrollStrategies.reposition()}}var CO=Zf({passive:!0}),PO=function(){function t(t,e,n,o,r,a,i,l){var s=this;this._overlay=t,this._element=e,this._viewContainerRef=n,this._parentMenu=r,this._menuItemInstance=a,this._dir=i,this._focusMonitor=l,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=g.EMPTY,this._hoverSubscription=g.EMPTY,this._menuCloseSubscription=g.EMPTY,this._handleTouchStart=function(){return s._openedBy="touch"},this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new Dr,this.onMenuOpen=this.menuOpened,this.menuClosed=new Dr,this.onMenuClose=this.menuClosed,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,CO),a&&(a._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=o}return Object.defineProperty(t.prototype,"_deprecatedMatMenuTriggerFor",{get:function(){return this.menu},set:function(t){this.menu=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"menu",{get:function(){return this._menu},set:function(t){var e=this;t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.asObservable().subscribe(function(t){e._destroyMenu(),"click"!==t&&"tab"!==t||!e._parentMenu||e._parentMenu.closed.emit(t)})))},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._checkMenu(),this._handleHover()},t.prototype.ngOnDestroy=function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,CO),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()},Object.defineProperty(t.prototype,"menuOpen",{get:function(){return this._menuOpen},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dir",{get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},enumerable:!0,configurable:!0}),t.prototype.triggersSubmenu=function(){return!(!this._menuItemInstance||!this._parentMenu)},t.prototype.toggleMenu=function(){return this._menuOpen?this.closeMenu():this.openMenu()},t.prototype.openMenu=function(){var t=this;if(!this._menuOpen){this._checkMenu();var e=this._createOverlay(),n=e.getConfig();this._setPosition(n.positionStrategy),n.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(function(){return t.closeMenu()}),this._initMenu(),this.menu instanceof bO&&this.menu._startAnimation()}},t.prototype.closeMenu=function(){this.menu.close.emit()},t.prototype.focus=function(t){void 0===t&&(t="program"),this._focusMonitor?this._focusMonitor.focusVia(this._element,t):this._element.nativeElement.focus()},t.prototype._destroyMenu=function(){var t=this;if(this._overlayRef&&this.menuOpen){var e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),e instanceof bO?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe(xl(function(t){return"void"===t.toState}),Pc(1),Py(e.lazyContent._attached)).subscribe({next:function(){return e.lazyContent.detach()},complete:function(){return t._resetMenu()}}):this._resetMenu()):(this._resetMenu(),e.lazyContent&&e.lazyContent.detach())}},t.prototype._initMenu=function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")},t.prototype._setMenuElevation=function(){if(this.menu.setElevation){for(var t=0,e=this.menu.parentMenu;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}},t.prototype._resetMenu=function(){this._setIsMenuOpen(!1),this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null},t.prototype._setIsMenuOpen=function(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)},t.prototype._checkMenu=function(){this.menu||function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\n\n Example:\n \n ')}()},t.prototype._createOverlay=function(){if(!this._overlayRef){var t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef},t.prototype._getOverlayConfig=function(){return new ov({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",scrollStrategy:this._scrollStrategy(),direction:this._dir})},t.prototype._subscribeToPositions=function(t){var e=this;this.menu.setPositionClasses&&t.positionChanges.subscribe(function(t){e.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})},t.prototype._setPosition=function(t){var e="before"===this.menu.xPosition?["end","start"]:["start","end"],n=e[0],o=e[1],r="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],a=r[0],i=r[1],l=[a,i],s=l[0],c=l[1],u=[n,o],d=u[0],p=u[1],m=0;this.triggersSubmenu()?(p=n="before"===this.menu.xPosition?"start":"end",o=d="end"===n?"start":"end",m="bottom"===a?8:-8):this.menu.overlapTrigger||(s="top"===a?"bottom":"top",c="top"===i?"bottom":"top"),t.withPositions([{originX:n,originY:s,overlayX:d,overlayY:a,offsetY:m},{originX:o,originY:s,overlayX:p,overlayY:a,offsetY:m},{originX:n,originY:c,overlayX:d,overlayY:i,offsetY:-m},{originX:o,originY:c,overlayX:p,overlayY:i,offsetY:-m}])},t.prototype._menuClosingActions=function(){var t=this,e=this._overlayRef.backdropClick(),n=this._overlayRef.detachments();return it(e,this._parentMenu?this._parentMenu.closed:Ol(),this._parentMenu?this._parentMenu._hovered().pipe(xl(function(e){return e!==t._menuItemInstance}),xl(function(){return t._menuOpen})):Ol(),n)},t.prototype._handleMousedown=function(t){bh(t)||(this._openedBy=0===t.button?"mouse":null,this.triggersSubmenu()&&t.preventDefault())},t.prototype._handleKeydown=function(t){var e=t.keyCode;this.triggersSubmenu()&&(39===e&&"ltr"===this.dir||37===e&&"rtl"===this.dir)&&this.openMenu()},t.prototype._handleClick=function(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()},t.prototype._handleHover=function(){var t=this;this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe(xl(function(e){return e===t._menuItemInstance&&!e.disabled}),uO(0,fy)).subscribe(function(){t._openedBy="mouse",t.menu instanceof bO&&t.menu._isAnimating?t.menu._animationDone.pipe(Pc(1),uO(0,fy),Py(t._parentMenu._hovered())).subscribe(function(){return t.openMenu()}):t.openMenu()}))},t.prototype._getPortal=function(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new ny(this.menu.templateRef,this._viewContainerRef)),this._portal},t}(),OO=function(){return function(){}}(),MO=function(){return function(){}}(),xO=ao({encapsulation:2,styles:[".mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}@media (-ms-high-contrast:active){.mat-menu-panel{outline:solid 1px}}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}@media (-ms-high-contrast:active){.mat-menu-item-highlighted,.mat-menu-item.cdk-keyboard-focused,.mat-menu-item.cdk-program-focused{outline:dotted 1px}}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:'';display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}"],data:{animation:[{type:7,name:"transformMenu",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0,transform:"scale(0.8)"},offset:null},options:void 0},{type:1,expr:"void => enter",animation:{type:3,steps:[{type:11,selector:".mat-menu-content, .mat-mdc-menu-content",animation:{type:4,styles:{type:6,styles:{opacity:1},offset:null},timings:"100ms linear"},options:null},{type:4,styles:{type:6,styles:{transform:"scale(1)"},offset:null},timings:"120ms cubic-bezier(0, 0, 0.2, 1)"}],options:null},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}},{type:7,name:"fadeInItems",definitions:[{type:0,name:"showing",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:1,expr:"void => *",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:null,timings:"400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function wO(t){return ui(0,[(t()(),Ga(0,0,null,null,4,"div",[["class","mat-menu-panel"],["role","menu"],["tabindex","-1"]],[[24,"@transformMenu",0]],[[null,"keydown"],[null,"click"],[null,"@transformMenu.start"],[null,"@transformMenu.done"]],function(t,e,n){var o=!0,r=t.component;return"keydown"===e&&(o=!1!==r._handleKeydown(n)&&o),"click"===e&&(o=!1!==r.closed.emit("click")&&o),"@transformMenu.start"===e&&(o=!1!==r._onAnimationStart(n)&&o),"@transformMenu.done"===e&&(o=!1!==r._onAnimationDone(n)&&o),o},null,null)),_r(512,null,ql,Wl,[In,Rn,mn,_n]),gr(2,278528,null,0,Yl,[ql],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),Ga(3,0,null,null,1,"div",[["class","mat-menu-content"]],null,null,null,null,null)),oi(null,0)],function(t,e){t(e,2,0,"mat-menu-panel",e.component._classList)},function(t,e){t(e,0,0,e.component._panelAnimationState)})}function kO(t){return ui(2,[$a(671088640,1,{templateRef:0}),(t()(),Ya(0,[[1,2]],null,0,null,wO))],null,null)}var SO=ao({encapsulation:2,styles:[],data:{}});function EO(t){return ui(2,[oi(null,0),(t()(),Ga(1,0,null,null,1,"div",[["class","mat-menu-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),gr(2,212992,null,0,Vh,[mn,ua,qf,[2,Fh],[2,H_]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],function(t,e){var n=e.component;t(e,2,0,n.disableRipple||n.disabled,n._getHostElement())},function(t,e){t(e,1,0,or(e,2).unbounded)})}var TO=function(){function t(t,e){this.dialogRef=t,this.data=e,this.currentCover=_l.API_ENDPOINT+"/host/beatsaber/playlist/cover?playlistid="+e.playlist.PlaylistID}return t.prototype.getCover=function(){return"url("+this.currentCover+")"},t.prototype.makeAutoID=function(t){return null!=t&&t.replace(" ","").length?"Playlist ID ("+t.replace(/[^a-z0-9]/gim,"").replace(/\s+/g,"").replace(" ","")+")":"Playlist ID"},t.prototype.loadCover=function(t){var e=this;if(0!=t.length){var n=t[0],o=new FileReader;o.onload=function(t){e.currentCover=o.result,e.data.playlist.CoverImageBytes=e.currentCover.substring(e.currentCover.indexOf(";base64,")+8)},o.readAsDataURL(n)}else console.log("No file selected!")},t.prototype.clickSave=function(){if(!(this.data.playlist.PlaylistName.replace(" ","").length<1)){if(!this.data.playlist.PlaylistID||this.data.playlist.PlaylistID.replace(" ","").length<1){if(!this.data.isNew)return;this.data.playlist.PlaylistID=this.data.playlist.PlaylistName.replace(/[^a-z0-9]/gim,"").replace(/\s+/g,"").replace(" ",""),this.data.playlist.SongList=[]}this.dialogRef.close(this.data)}},t.prototype.clickCancel=function(){this.data=null,this.dialogRef.close()},t.prototype.clickDelete=function(){this.dialogRef.close({playlist:this.data.playlist,deletePlaylist:!0})},t.prototype.ngOnInit=function(){},t.ngInjectableDef=wt({factory:function(){return new t(Vt(xv),Vt(wv))},token:t,providedIn:"root"}),t}(),IO=function(){return function(){}}(),RO=function(t){return t[t.SetupEvent=0]="SetupEvent",t[t.Toast=1]="Toast",t[t.DownloadStatus=2]="DownloadStatus",t[t.ConfigChange=3]="ConfigChange",t[t.DeleteSong=4]="DeleteSong",t[t.MoveSongToPlaylist=5]="MoveSongToPlaylist",t[t.DeletePlaylist=6]="DeletePlaylist",t[t.AddOrUpdatePlaylist=7]="AddOrUpdatePlaylist",t[t.OpStatus=8]="OpStatus",t[t.GetOps=9]="GetOps",t[t.SortPlaylist=10]="SortPlaylist",t[t.AutoCreatePlaylists=11]="AutoCreatePlaylists",t}({}),AO=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.Type=RO.MoveSongToPlaylist,e}return r(e,t),e}(IO),DO=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.Type=RO.AddOrUpdatePlaylist,e}return r(e,t),e}(IO),NO=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.Type=RO.DeletePlaylist,e}return r(e,t),e}(IO),zO=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.Type=RO.AutoCreatePlaylists,e}return r(e,t),e}(IO),LO=function(){function t(t,e,n,o){this.dialog=t,this.configSvc=e,this.beatOnApi=n,this.msgSvc=o,this.selectedPlaylist=new Dr,this._playlists=[],this.carouselTile={grid:{xs:4,sm:4,md:4,lg:4,all:0},slide:3,speed:250,point:{visible:!1},load:2,velocity:0,touch:!0,easing:"cubic-bezier(0, 0, 0.2, 1)",vertical:{enabled:!0,height:360}}}return Object.defineProperty(t.prototype,"playlists",{get:function(){return this._playlists},set:function(t){var e=this;if(this._playlists=t,null!=this.selected&&null!=this.selected.PlaylistID)if(null==this._playlists)this.selected=null,this.selectedPlaylist.emit(null);else{var n=null;this._playlists.forEach(function(t){t.PlaylistID==e.selected.PlaylistID&&(n=t)}),this.selected=n,this.selectedPlaylist.emit(n)}},enumerable:!0,configurable:!0}),t.prototype.getBackground=function(t){return"url("+_l.API_ENDPOINT+"/host/beatsaber/playlist/cover?playlistid="+t.PlaylistID+")"},t.prototype.onTileClick=function(t){this.selected=t,this.selectedPlaylist.emit(t)},t.prototype.ngOnInit=function(){},t.prototype.clickAddPlaylist=function(){var t=this;this.dialog.open(TO,{width:"450px",height:"320px",disableClose:!0,data:{playlist:{},isNew:!0}}).afterClosed().subscribe(function(e){return t.dialogClosed(e)})},t.prototype.clickEditPlaylist=function(t){var e=this;this.dialog.open(TO,{width:"450px",height:"320px",disableClose:!0,data:{playlist:t,isNew:!1}}).afterClosed().subscribe(function(t){return e.dialogClosed(t)})},t.prototype.clickAutoName=function(t){var e=new zO;e.MaxPerNamePlaylist=t,e.SortMode=yl.Name,this.msgSvc.sendClientMessage(e)},t.prototype.clickAutoDifficulty=function(){var t=new zO;t.MaxPerNamePlaylist=5,t.SortMode=yl.MaxDifficulty,this.msgSvc.sendClientMessage(t)},t.prototype.dialogClosed=function(t){var e=this;if(null!=t)if(!0===t.deletePlaylist){var n=new NO;n.PlaylistID=t.playlist.PlaylistID,this.msgSvc.sendClientMessage(n)}else t.isNew?this.configSvc.getConfig().subscribe(function(n){n.Config.Playlists.push(t.playlist);var o=new DO;o.Playlist=t.playlist,e.msgSvc.sendClientMessage(o)}):this.configSvc.getConfig().subscribe(function(n){var o=null;if(n.Config.Playlists.forEach(function(e){e.PlaylistID==t.playlist.PlaylistID&&(o=e,t.playlist.CoverImageBytes&&t.playlist.CoverImageBytes>50&&(e.CoverImageBytes=t.playlist.CoverImageBytes),e.PlaylistName=t.playlist.PlaylistName)}),o){var r=new DO;r.Playlist=o,e.msgSvc.sendClientMessage(r)}})},t.prototype.playlistDrop=function(t,e){var n=this,o=e.previousContainer.data;o.PlaylistID===t.PlaylistID&&console.log("dropped a song on the same playlist it is in, doing nothing");var r=o.SongList.findIndex(function(t){return e.item.element.nativeElement.attributes.songid&&t.SongID==e.item.element.nativeElement.attributes.songid.value});if(!(r<0)){var a=o.SongList.splice(r,1)[0];o.SongList=o.SongList.slice(),null!=a&&this.configSvc.getConfig().subscribe(function(e){e.Config.Playlists.forEach(function(e){if(e.PlaylistID==t.PlaylistID)e.SongList.push(a);else{var n,r=-1;e.SongList.forEach(function(t){r+=1,e.PlaylistID==o.PlaylistID&&(n=r)}),n>-1?e.SongList.splice(n,1):console.log("Did not find the song in the playlist it was moving from!")}});var r=new AO;r.SongID=a.SongID,r.ToPlaylistID=t.PlaylistID,n.msgSvc.sendClientMessage(r)})}},t}(),FO=ao({encapsulation:0,styles:[[".titleText[_ngcontent-%COMP%]{color:#fff;text-shadow:-1.5px 0 2px #000,0 1.5px 2px #000,1.5px 0 2px #000,0 -1.5px 2px #000;position:absolute;bottom:0;left:0;font-size:14px}.playlistEdit[_ngcontent-%COMP%]{position:absolute;top:0;right:0;border-radius:50%;width:25px;height:25px;background-color:#000;font-size:24px;color:#fff;cursor:pointer}.addPlaylist[_ngcontent-%COMP%]{width:96%;height:38px}.tile[_ngcontent-%COMP%]{height:100px;width:100px;background-color:#ccc;background-size:cover!important}.zoomedIn[_ngcontent-%COMP%]{-webkit-transform:scale(1);transform:scale(1);transition:-webkit-transform .2s;transition:transform .2s;transition:transform .2s,-webkit-transform .2s}.zoomedOut[_ngcontent-%COMP%]{-webkit-transform:scale(.75);transform:scale(.75);transition:-webkit-transform .2s;transition:transform .2s;transition:transform .2s,-webkit-transform .2s}.bannerStyle[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{background-color:#ccc;min-height:300px;text-align:center;line-height:300px}.leftRs[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg);position:absolute;top:0;bottom:0;width:25px;height:25px;background-color:transparent;left:0;font-size:48px;margin-left:35px;border:none}.arrow[_ngcontent-%COMP%]{color:#fff;text-shadow:-2px 0 #000,0 2px #000,2px 0 #000,0 -2px #000;margin:-10px,0!important;position:absolute;top:0;left:0}.rightRs[_ngcontent-%COMP%]{border:none;font-size:48px;position:absolute;margin-left:35px;bottom:0;width:25px;height:25px;overflow:hidden;background-color:transparent;left:0}.ngucarouselPoint[_ngcontent-%COMP%]{list-style-type:none;text-align:center;padding:12px;margin:0;white-space:nowrap;overflow:auto;position:absolute;width:100%;bottom:20px;left:0;box-sizing:border-box}.ngucarouselPoint[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:inline-block;border-radius:999px;background:rgba(255,255,255,.55);padding:5px;margin:0 3px;transition:.4s ease all}.ngucarouselPoint[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%]{background:#fff;width:10px}"]],data:{}});function VO(t){return ui(0,[(t()(),Ga(0,0,null,null,18,"ngu-item",[["NguCarouselItem",""],["cdkDropList",""],["class","bannerstyle cdk-drop-list"]],[[2,"item",null],[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"],[null,"click"]],function(t,e,n){var o=!0,r=t.component;return"cdkDropListDropped"===e&&(o=!1!==r.playlistDrop(t.context.$implicit,n)&&o),"click"===e&&(o=!1!==r.onTileClick(t.context.$implicit)&&o),o},JP,$P)),_r(6144,null,OP,null,[IP]),_r(512,null,ql,Wl,[In,Rn,mn,_n]),gr(3,278528,null,0,Yl,[ql],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),ai(4,{zoomedIn:0,zoomedOut:1}),gr(5,933888,null,0,eO,[mn,SC,TC,In,Rn,_n,[6,Yl]],{ngClass:[0,"ngClass"],klass:[1,"klass"]},null),ai(6,{zoomedIn:0,zoomedOut:1}),gr(7,49152,null,0,ZP,[],null,null),gr(8,16384,null,0,HP,[],null,null),gr(9,1196032,null,1,IP,[mn,PP,An,[2,Nf],[3,EP]],null,{dropped:"cdkDropListDropped"}),$a(603979776,8,{_draggables:1}),_r(256,null,EP,void 0,[]),(t()(),Ga(12,0,null,0,6,"div",[["class","tile"]],[[4,"background",null]],null,null,null,null)),(t()(),Ga(13,0,null,null,1,"div",[["class","titleText"]],null,null,null,null,null)),(t()(),li(14,null,["",""])),(t()(),Ga(15,0,null,null,3,"div",[["class","playlistEdit"]],null,[[null,"click"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==t.component.clickEditPlaylist(t.context.$implicit)&&o),o},null,null)),(t()(),Ga(16,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,dg,ug)),gr(17,9158656,null,0,sg,[mn,tg,[8,null],[2,rg]],null,null),(t()(),li(-1,0,["edit"]))],function(t,e){var n=e.component,o=t(e,4,0,e.context.$implicit===n.selected,e.context.$implicit!=n.selected);t(e,3,0,"bannerstyle",o);var r=t(e,6,0,e.context.$implicit===n.selected,e.context.$implicit!=n.selected);t(e,5,0,r,"bannerstyle"),t(e,17,0)},function(t,e){var n=e.component;t(e,0,0,or(e,7).classes,or(e,9).id,or(e,9).disabled,or(e,9)._dropListRef.isDragging(),or(e,9)._dropListRef.isReceiving()),t(e,12,0,n.getBackground(e.context.$implicit)),t(e,14,0,e.context.$implicit.PlaylistName),t(e,16,0,or(e,17).inline,"primary"!==or(e,17).color&&"accent"!==or(e,17).color&&"warn"!==or(e,17).color)})}function jO(t){return ui(0,[(t()(),Ga(0,0,null,null,68,"div",[["class","container"]],null,null,null,null,null)),(t()(),Ga(1,0,null,null,5,"button",[["class","addPlaylist()"],["color","accent"],["fast-click",""],["layout","center center"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==t.component.clickAddPlaylist()&&o),o},W_,q_)),gr(2,180224,null,0,fg,[mn,gh,[2,H_]],{color:[0,"color"]},null),gr(3,16384,null,0,Y_,[mn],null,null),(t()(),Ga(4,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,dg,ug)),gr(5,9158656,null,0,sg,[mn,tg,[8,null],[2,rg]],null,null),(t()(),li(-1,0,["add_circle"])),(t()(),Ga(7,16777216,null,null,6,"button",[["aria-haspopup","true"],["class","sort"],["color","accent"],["fast-click",""],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],function(t,e,n){var o=!0;return"mousedown"===e&&(o=!1!==or(t,9)._handleMousedown(n)&&o),"keydown"===e&&(o=!1!==or(t,9)._handleKeydown(n)&&o),"click"===e&&(o=!1!==or(t,9)._handleClick(n)&&o),o},W_,q_)),gr(8,180224,null,0,fg,[mn,gh,[2,H_]],{color:[0,"color"]},null),gr(9,1196032,null,0,PO,[bv,mn,jn,yO,[2,bO],[8,null],[2,Nf],gh],{menu:[0,"menu"]},null),gr(10,16384,null,0,Y_,[mn],null,null),(t()(),Ga(11,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,dg,ug)),gr(12,9158656,null,0,sg,[mn,tg,[8,null],[2,rg]],null,null),(t()(),li(-1,0,["sort"])),(t()(),Ga(14,0,null,null,13,"mat-menu",[],null,null,null,kO,xO)),gr(15,1294336,[["menu",4]],2,_O,[mn,ua,gO],null,null),$a(603979776,1,{items:1}),$a(603979776,2,{lazyContent:0}),_r(2048,null,bO,null,[_O]),_r(2048,null,fO,null,[bO]),(t()(),Ga(20,16777216,null,0,4,"button",[["aria-haspopup","true"],["class","mat-menu-item"],["fast-click",""],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==or(t,21)._checkDisabled(n)&&o),"mouseenter"===e&&(o=!1!==or(t,21)._handleMouseEnter()&&o),"mousedown"===e&&(o=!1!==or(t,22)._handleMousedown(n)&&o),"keydown"===e&&(o=!1!==or(t,22)._handleKeydown(n)&&o),"click"===e&&(o=!1!==or(t,22)._handleClick(n)&&o),o},EO,SO)),gr(21,180224,[[1,4]],0,hO,[mn,us,gh,[2,fO]],null,null),gr(22,1196032,null,0,PO,[bv,mn,jn,yO,[2,bO],[6,hO],[2,Nf],gh],{menu:[0,"menu"]},null),gr(23,16384,null,0,Y_,[mn],null,null),(t()(),li(-1,0,["Auto Create Playlists By Name"])),(t()(),Ga(25,0,null,0,2,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(t,e,n){var o=!0,r=t.component;return"click"===e&&(o=!1!==or(t,26)._checkDisabled(n)&&o),"mouseenter"===e&&(o=!1!==or(t,26)._handleMouseEnter()&&o),"click"===e&&(o=!1!==r.clickAutoDifficulty()&&o),o},EO,SO)),gr(26,180224,[[1,4]],0,hO,[mn,us,gh,[2,fO]],null,null),(t()(),li(-1,0,["Auto Create Playlists By Difficulty"])),(t()(),Ga(28,0,null,null,21,"mat-menu",[],null,null,null,kO,xO)),gr(29,1294336,[["subMenuNameCount",4]],2,_O,[mn,ua,gO],null,null),$a(603979776,3,{items:1}),$a(603979776,4,{lazyContent:0}),_r(2048,null,bO,null,[_O]),_r(2048,null,fO,null,[bO]),(t()(),Ga(34,0,null,0,3,"button",[["class","mat-menu-item"],["fast-click",""],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(t,e,n){var o=!0,r=t.component;return"click"===e&&(o=!1!==or(t,35)._checkDisabled(n)&&o),"mouseenter"===e&&(o=!1!==or(t,35)._handleMouseEnter()&&o),"click"===e&&(o=!1!==r.clickAutoName(10)&&o),o},EO,SO)),gr(35,180224,[[3,4]],0,hO,[mn,us,gh,[2,fO]],null,null),gr(36,16384,null,0,Y_,[mn],null,null),(t()(),li(-1,0,["10 Per Playlist"])),(t()(),Ga(38,0,null,0,3,"button",[["class","mat-menu-item"],["fast-click",""],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(t,e,n){var o=!0,r=t.component;return"click"===e&&(o=!1!==or(t,39)._checkDisabled(n)&&o),"mouseenter"===e&&(o=!1!==or(t,39)._handleMouseEnter()&&o),"click"===e&&(o=!1!==r.clickAutoName(20)&&o),o},EO,SO)),gr(39,180224,[[3,4]],0,hO,[mn,us,gh,[2,fO]],null,null),gr(40,16384,null,0,Y_,[mn],null,null),(t()(),li(-1,0,["20 Per Playlist"])),(t()(),Ga(42,0,null,0,3,"button",[["class","mat-menu-item"],["fast-click",""],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(t,e,n){var o=!0,r=t.component;return"click"===e&&(o=!1!==or(t,43)._checkDisabled(n)&&o),"mouseenter"===e&&(o=!1!==or(t,43)._handleMouseEnter()&&o),"click"===e&&(o=!1!==r.clickAutoName(50)&&o),o},EO,SO)),gr(43,180224,[[3,4]],0,hO,[mn,us,gh,[2,fO]],null,null),gr(44,16384,null,0,Y_,[mn],null,null),(t()(),li(-1,0,["50 Per Playlist"])),(t()(),Ga(46,0,null,0,3,"button",[["class","mat-menu-item"],["fast-click",""],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(t,e,n){var o=!0,r=t.component;return"click"===e&&(o=!1!==or(t,47)._checkDisabled(n)&&o),"mouseenter"===e&&(o=!1!==or(t,47)._handleMouseEnter()&&o),"click"===e&&(o=!1!==r.clickAutoName(100)&&o),o},EO,SO)),gr(47,180224,[[3,4]],0,hO,[mn,us,gh,[2,fO]],null,null),gr(48,16384,null,0,Y_,[mn],null,null),(t()(),li(-1,0,["100 Per Playlist"])),(t()(),Ga(50,0,null,null,18,"ngu-carousel",[],null,null,null,XP,KP)),gr(51,5750784,[["myCarousel",4]],3,GP,[mn,_n,In,Wr,An],{inputs:[0,"inputs"],dataSource:[1,"dataSource"]},null),$a(603979776,5,{_defDirec:1}),$a(335544320,6,{nextBtn:0}),$a(335544320,7,{prevBtn:0}),(t()(),Ga(55,0,[[7,0]],0,5,"button",[["NguCarouselPrev",""],["class","leftRs"],["fast-click",""]],null,null,null,null,null)),gr(56,16384,null,0,qP,[],null,null),gr(57,16384,null,0,Y_,[mn],null,null),(t()(),Ga(58,0,null,null,2,"mat-icon",[["class","arrow mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,dg,ug)),gr(59,9158656,null,0,sg,[mn,tg,[8,null],[2,rg]],null,null),(t()(),li(-1,0,["details"])),(t()(),Ya(0,null,null,1,null,VO)),gr(62,16384,[[5,4]],0,WP,[Fn],null,null),(t()(),Ga(63,0,[[6,0]],1,5,"button",[["NguCarouselNext",""],["class","rightRs"],["fast-click",""]],null,null,null,null,null)),gr(64,16384,null,0,UP,[],null,null),gr(65,16384,null,0,Y_,[mn],null,null),(t()(),Ga(66,0,null,null,2,"mat-icon",[["class","arrow mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,dg,ug)),gr(67,9158656,null,0,sg,[mn,tg,[8,null],[2,rg]],null,null),(t()(),li(-1,0,["details"]))],function(t,e){var n=e.component;t(e,2,0,"accent"),t(e,5,0),t(e,8,0,"accent"),t(e,9,0,or(e,15)),t(e,12,0),t(e,15,0),t(e,22,0,or(e,29)),t(e,29,0),t(e,51,0,n.carouselTile,n.playlists),t(e,59,0),t(e,67,0)},function(t,e){t(e,1,0,or(e,2).disabled||null,"NoopAnimations"===or(e,2)._animationMode),t(e,4,0,or(e,5).inline,"primary"!==or(e,5).color&&"accent"!==or(e,5).color&&"warn"!==or(e,5).color),t(e,7,0,or(e,8).disabled||null,"NoopAnimations"===or(e,8)._animationMode,or(e,9).menuOpen||null),t(e,11,0,or(e,12).inline,"primary"!==or(e,12).color&&"accent"!==or(e,12).color&&"warn"!==or(e,12).color),t(e,20,0,or(e,21).role,or(e,21)._highlighted,or(e,21)._triggersSubmenu,or(e,21)._getTabIndex(),or(e,21).disabled.toString(),or(e,21).disabled||null,or(e,22).menuOpen||null),t(e,25,0,or(e,26).role,or(e,26)._highlighted,or(e,26)._triggersSubmenu,or(e,26)._getTabIndex(),or(e,26).disabled.toString(),or(e,26).disabled||null),t(e,34,0,or(e,35).role,or(e,35)._highlighted,or(e,35)._triggersSubmenu,or(e,35)._getTabIndex(),or(e,35).disabled.toString(),or(e,35).disabled||null),t(e,38,0,or(e,39).role,or(e,39)._highlighted,or(e,39)._triggersSubmenu,or(e,39)._getTabIndex(),or(e,39).disabled.toString(),or(e,39).disabled||null),t(e,42,0,or(e,43).role,or(e,43)._highlighted,or(e,43)._triggersSubmenu,or(e,43)._getTabIndex(),or(e,43).disabled.toString(),or(e,43).disabled||null),t(e,46,0,or(e,47).role,or(e,47)._highlighted,or(e,47)._triggersSubmenu,or(e,47)._getTabIndex(),or(e,47).disabled.toString(),or(e,47).disabled||null),t(e,58,0,or(e,59).inline,"primary"!==or(e,59).color&&"accent"!==or(e,59).color&&"warn"!==or(e,59).color),t(e,66,0,or(e,67).inline,"primary"!==or(e,67).color&&"accent"!==or(e,67).color&&"warn"!==or(e,67).color)})}var BO=ao({encapsulation:2,styles:["cdk-virtual-scroll-viewport{display:block;position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:0}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:0}.cdk-virtual-scroll-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0}[dir=rtl] .cdk-virtual-scroll-spacer{right:0;left:auto;transform-origin:100% 0}"],data:{}});function HO(t){return ui(2,[$a(402653184,1,{_contentWrapper:0}),(t()(),Ga(1,0,[[1,0],["contentWrapper",1]],null,1,"div",[["class","cdk-virtual-scroll-content-wrapper"]],null,null,null,null,null)),oi(null,0),(t()(),Ga(3,0,null,null,0,"div",[["class","cdk-virtual-scroll-spacer"]],[[4,"transform",null]],null,null,null,null))],null,function(t,e){t(e,3,0,e.component._totalContentSizeTransform)})}var UO=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.Type=RO.DeleteSong,e}return r(e,t),e}(IO),qO=function(){function t(t,e){this.dialogRef=t,this.data=e}return t.prototype.ngOnInit=function(){},t.prototype.clickButton1=function(){this.dialogRef.close(1)},t.prototype.clickCancel=function(){this.dialogRef.close(-1)},t.ngInjectableDef=wt({factory:function(){return new t(Vt(xv),Vt(wv))},token:t,providedIn:"root"}),t}(),WO=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.Type=RO.SortPlaylist,e}return r(e,t),e}(IO),YO=function(){function t(t,e){this.msgSvc=t,this.dialog=e,this._playlist={}}return Object.defineProperty(t.prototype,"playlist",{get:function(){return this._playlist},set:function(t){this._playlist=t,this.songlist=null==this._playlist||null==this._playlist.SongList?null:this._playlist.SongList.slice()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){},t.prototype.drop=function(t){},t.prototype.getBackground=function(t){return _l.API_ENDPOINT+"/host/beatsaber/song/cover?songid="+t.SongID},t.prototype.clickSortName=function(t){var e=new WO;e.PlaylistID=this._playlist.PlaylistID,e.SortMode=yl.Name,e.Reverse=t,this.msgSvc.sendClientMessage(e)},t.prototype.clickSortDifficulty=function(t){var e=new WO;e.PlaylistID=this._playlist.PlaylistID,e.SortMode=yl.MaxDifficulty,e.Reverse=t,this.msgSvc.sendClientMessage(e)},t.prototype.clickDeleteSong=function(t){var e=this;this.dialog.open(qO,{width:"450px",height:"180px",disableClose:!0,data:{title:"Delete "+t.SongName+"?",subTitle:"Are you sure you want to delete this song?",button1Text:"Yes"}}).afterClosed().subscribe(function(n){if(1==n){var o=new UO;o.SongID=t.SongID,e.msgSvc.sendClientMessage(o)}})},t}(),GO=ao({encapsulation:0,styles:[[".viewport[_ngcontent-%COMP%]{height:100%;width:350px;border:none}.sort[_ngcontent-%COMP%]{margin-left:60px;display:inline-block}.songCount[_ngcontent-%COMP%]{font-size:10px;font-style:italic;color:#d3d3d3;margin-left:60px;display:inline-block}.deleteSong[_ngcontent-%COMP%]{position:absolute;top:0;right:0;color:red;border-radius:50%;width:25px;height:25px;background-color:#000;font-size:24px;cursor:pointer}.song[_ngcontent-%COMP%]{display:flex;width:300px;height:50px}.song[_ngcontent-%COMP%] mat-card-title[_ngcontent-%COMP%]{font-size:16px}.song[_ngcontent-%COMP%] mat-card-subtitle[_ngcontent-%COMP%]{font-size:12px;width:220px}.songArtist[_ngcontent-%COMP%]{font-size:12px;margin-left:8px;margin-top:3px}.handle[_ngcontent-%COMP%]{padding-top:5px;position:absolute;top:0;left:0;color:#555;cursor:move;width:24px;height:100%}.songTitle[_ngcontent-%COMP%]{font-size:16px;margin-left:8px}.songCover[_ngcontent-%COMP%]{width:60px;display:inline-block;height:60px;min-width:60px;margin-left:14px}.mapper[_ngcontent-%COMP%]{font-size:12px;margin-left:8px;margin-top:3px;font-style:italic}.handle[_ngcontent-%COMP%] hr[_ngcontent-%COMP%]{display:inline-block;margin-left:2.5px;height:80px;width:.1px;border:.5px solid}"]],data:{}});function ZO(t){return ui(0,[(t()(),Ga(0,16777216,null,null,6,"button",[["aria-haspopup","true"],["class","sort"],["color","accent"],["fast-click",""],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],function(t,e,n){var o=!0;return"mousedown"===e&&(o=!1!==or(t,2)._handleMousedown(n)&&o),"keydown"===e&&(o=!1!==or(t,2)._handleKeydown(n)&&o),"click"===e&&(o=!1!==or(t,2)._handleClick(n)&&o),o},W_,q_)),gr(1,180224,null,0,fg,[mn,gh,[2,H_]],{color:[0,"color"]},null),gr(2,1196032,null,0,PO,[bv,mn,jn,yO,[2,bO],[8,null],[2,Nf],gh],{menu:[0,"menu"]},null),gr(3,16384,null,0,Y_,[mn],null,null),(t()(),Ga(4,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,dg,ug)),gr(5,9158656,null,0,sg,[mn,tg,[8,null],[2,rg]],null,null),(t()(),li(-1,0,["sort"])),(t()(),Ya(0,null,null,0))],function(t,e){t(e,1,0,"accent"),t(e,2,0,or(e.parent,5)),t(e,5,0)},function(t,e){t(e,0,0,or(e,1).disabled||null,"NoopAnimations"===or(e,1)._animationMode,or(e,2).menuOpen||null),t(e,4,0,or(e,5).inline,"primary"!==or(e,5).color&&"accent"!==or(e,5).color&&"warn"!==or(e,5).color)})}function QO(t){return ui(0,[(t()(),Ga(0,0,null,null,1,"div",[["class","songCount"]],null,null,null,null,null)),(t()(),li(1,null,[""," song(s) in ",""]))],null,function(t,e){var n=e.component;t(e,1,0,null==n.playlist?null:null==n.playlist.SongList?null:n.playlist.SongList.length,null==n.playlist?null:n.playlist.PlaylistName)})}function KO(t){return ui(0,[(t()(),Ga(0,0,null,null,1,"div",[["class","mapper"]],null,null,null,null,null)),(t()(),li(1,null,["Mapped By ",""]))],null,function(t,e){t(e,1,0,null==e.parent.context.$implicit?null:e.parent.context.$implicit.LevelAuthorName)})}function XO(t){return ui(0,[(t()(),Ga(0,16777216,null,null,25,"mat-card",[["cdkDrag",""],["class","song mat-card cdk-drag"]],[[1,"songid",0],[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],null,null,Uh,Hh)),gr(1,49152,null,0,If,[],null,null),gr(2,4866048,[[9,4]],3,kP,[mn,[3,OP],us,ua,jn,wP,[2,Nf],PP,An],null,null),$a(603979776,10,{_handles:1}),$a(603979776,11,{_previewTemplate:0}),$a(603979776,12,{_placeholderTemplate:0}),_r(2048,null,MP,null,[kP]),(t()(),Ga(7,0,null,0,7,"div",[["cdkDragHandle",""],["class","cdk-drag-handle"]],null,null,null,null,null)),gr(8,147456,[[10,4]],0,xP,[mn,[2,MP]],null,null),(t()(),Ga(9,0,null,null,4,"div",[["class","handle"]],null,null,null,null,null)),(t()(),Ga(10,0,null,null,0,"hr",[["height","40"],["width","1"]],null,null,null,null,null)),(t()(),Ga(11,0,null,null,0,"hr",[["height","40"],["width","1"]],null,null,null,null,null)),(t()(),Ga(12,0,null,null,0,"hr",[["height","40"],["width","1"]],null,null,null,null,null)),(t()(),Ga(13,0,null,null,0,"hr",[["height","40"],["width","1"]],null,null,null,null,null)),(t()(),Ga(14,0,null,null,0,"img",[["class","songCover"]],[[8,"src",4]],null,null,null,null)),(t()(),Ga(15,0,null,0,6,"div",[["class","songNames"]],null,null,null,null,null)),(t()(),Ga(16,0,null,null,1,"div",[["class","songTitle"]],null,null,null,null,null)),(t()(),li(17,null,["",""])),(t()(),Ga(18,0,null,null,1,"div",[["class","songArtist"]],null,null,null,null,null)),(t()(),li(19,null,["",""])),(t()(),Ya(16777216,null,null,1,null,KO)),gr(21,16384,null,0,Kl,[jn,Fn],{ngIf:[0,"ngIf"]},null),(t()(),Ga(22,0,null,0,3,"div",[["class","deleteSong"]],null,[[null,"click"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==t.component.clickDeleteSong(t.context.$implicit)&&o),o},null,null)),(t()(),Ga(23,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,dg,ug)),gr(24,9158656,null,0,sg,[mn,tg,[8,null],[2,rg]],null,null),(t()(),li(-1,0,["delete_forever"])),(t()(),Ya(0,null,null,0))],function(t,e){t(e,21,0,null==e.context.$implicit?null:null==e.context.$implicit.LevelAuthorName?null:e.context.$implicit.LevelAuthorName.length),t(e,24,0)},function(t,e){var n=e.component;t(e,0,0,e.context.$implicit.SongID,or(e,2).disabled,or(e,2)._dragRef.isDragging()),t(e,14,0,n.getBackground(e.context.$implicit)),t(e,17,0,null==e.context.$implicit?null:e.context.$implicit.SongName),t(e,19,0,null==e.context.$implicit?null:e.context.$implicit.SongAuthorName),t(e,23,0,or(e,24).inline,"primary"!==or(e,24).color&&"accent"!==or(e,24).color&&"warn"!==or(e,24).color)})}function $O(t){return ui(0,[(t()(),Ya(16777216,null,null,1,null,ZO)),gr(1,16384,null,0,Kl,[jn,Fn],{ngIf:[0,"ngIf"]},null),(t()(),Ya(16777216,null,null,1,null,QO)),gr(3,16384,null,0,Kl,[jn,Fn],{ngIf:[0,"ngIf"]},null),(t()(),Ga(4,0,null,null,14,"mat-menu",[],null,null,null,kO,xO)),gr(5,1294336,[["menu",4]],2,_O,[mn,ua,gO],null,null),$a(603979776,1,{items:1}),$a(603979776,2,{lazyContent:0}),_r(2048,null,bO,null,[_O]),_r(2048,null,fO,null,[bO]),(t()(),Ga(10,16777216,null,0,4,"button",[["aria-haspopup","true"],["class","mat-menu-item"],["fast-click",""],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==or(t,11)._checkDisabled(n)&&o),"mouseenter"===e&&(o=!1!==or(t,11)._handleMouseEnter()&&o),"mousedown"===e&&(o=!1!==or(t,12)._handleMousedown(n)&&o),"keydown"===e&&(o=!1!==or(t,12)._handleKeydown(n)&&o),"click"===e&&(o=!1!==or(t,12)._handleClick(n)&&o),o},EO,SO)),gr(11,180224,[[1,4]],0,hO,[mn,us,gh,[2,fO]],null,null),gr(12,1196032,null,0,PO,[bv,mn,jn,yO,[2,bO],[6,hO],[2,Nf],gh],{menu:[0,"menu"]},null),gr(13,16384,null,0,Y_,[mn],null,null),(t()(),li(-1,0,["Sort By Name"])),(t()(),Ga(15,16777216,null,0,3,"button",[["aria-haspopup","true"],["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==or(t,16)._checkDisabled(n)&&o),"mouseenter"===e&&(o=!1!==or(t,16)._handleMouseEnter()&&o),"mousedown"===e&&(o=!1!==or(t,17)._handleMousedown(n)&&o),"keydown"===e&&(o=!1!==or(t,17)._handleKeydown(n)&&o),"click"===e&&(o=!1!==or(t,17)._handleClick(n)&&o),o},EO,SO)),gr(16,180224,[[1,4]],0,hO,[mn,us,gh,[2,fO]],null,null),gr(17,1196032,null,0,PO,[bv,mn,jn,yO,[2,bO],[6,hO],[2,Nf],gh],{menu:[0,"menu"]},null),(t()(),li(-1,0,["Sort By Difficulty"])),(t()(),Ga(19,0,null,null,11,"mat-menu",[],null,null,null,kO,xO)),gr(20,1294336,[["subMenuName",4]],2,_O,[mn,ua,gO],null,null),$a(603979776,3,{items:1}),$a(603979776,4,{lazyContent:0}),_r(2048,null,bO,null,[_O]),_r(2048,null,fO,null,[bO]),(t()(),Ga(25,0,null,0,2,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(t,e,n){var o=!0,r=t.component;return"click"===e&&(o=!1!==or(t,26)._checkDisabled(n)&&o),"mouseenter"===e&&(o=!1!==or(t,26)._handleMouseEnter()&&o),"click"===e&&(o=!1!==r.clickSortName(!0)&&o),o},EO,SO)),gr(26,180224,[[3,4]],0,hO,[mn,us,gh,[2,fO]],null,null),(t()(),li(-1,0,["A-Z"])),(t()(),Ga(28,0,null,0,2,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(t,e,n){var o=!0,r=t.component;return"click"===e&&(o=!1!==or(t,29)._checkDisabled(n)&&o),"mouseenter"===e&&(o=!1!==or(t,29)._handleMouseEnter()&&o),"click"===e&&(o=!1!==r.clickSortName(!1)&&o),o},EO,SO)),gr(29,180224,[[3,4]],0,hO,[mn,us,gh,[2,fO]],null,null),(t()(),li(-1,0,["Z-A"])),(t()(),Ga(31,0,null,null,11,"mat-menu",[],null,null,null,kO,xO)),gr(32,1294336,[["subMenuDifficulty",4]],2,_O,[mn,ua,gO],null,null),$a(603979776,5,{items:1}),$a(603979776,6,{lazyContent:0}),_r(2048,null,bO,null,[_O]),_r(2048,null,fO,null,[bO]),(t()(),Ga(37,0,null,0,2,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(t,e,n){var o=!0,r=t.component;return"click"===e&&(o=!1!==or(t,38)._checkDisabled(n)&&o),"mouseenter"===e&&(o=!1!==or(t,38)._handleMouseEnter()&&o),"click"===e&&(o=!1!==r.clickSortDifficulty(!1)&&o),o},EO,SO)),gr(38,180224,[[5,4]],0,hO,[mn,us,gh,[2,fO]],null,null),(t()(),li(-1,0,["Easy to Expert+"])),(t()(),Ga(40,0,null,0,2,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(t,e,n){var o=!0,r=t.component;return"click"===e&&(o=!1!==or(t,41)._checkDisabled(n)&&o),"mouseenter"===e&&(o=!1!==or(t,41)._handleMouseEnter()&&o),"click"===e&&(o=!1!==r.clickSortDifficulty(!0)&&o),o},EO,SO)),gr(41,180224,[[5,4]],0,hO,[mn,us,gh,[2,fO]],null,null),(t()(),li(-1,0,["Expert+ to Easy"])),(t()(),Ga(43,0,null,null,14,"mat-menu",[],null,null,null,kO,xO)),gr(44,1294336,[["subMenu",4]],2,_O,[mn,ua,gO],null,null),$a(603979776,7,{items:1}),$a(603979776,8,{lazyContent:0}),_r(2048,null,bO,null,[_O]),_r(2048,null,fO,null,[bO]),(t()(),Ga(49,0,null,0,2,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==or(t,50)._checkDisabled(n)&&o),"mouseenter"===e&&(o=!1!==or(t,50)._handleMouseEnter()&&o),o},EO,SO)),gr(50,180224,[[7,4]],0,hO,[mn,us,gh,[2,fO]],null,null),(t()(),li(-1,0,["Shut down"])),(t()(),Ga(52,0,null,0,2,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==or(t,53)._checkDisabled(n)&&o),"mouseenter"===e&&(o=!1!==or(t,53)._handleMouseEnter()&&o),o},EO,SO)),gr(53,180224,[[7,4]],0,hO,[mn,us,gh,[2,fO]],null,null),(t()(),li(-1,0,["Restart"])),(t()(),Ga(55,0,null,0,2,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==or(t,56)._checkDisabled(n)&&o),"mouseenter"===e&&(o=!1!==or(t,56)._handleMouseEnter()&&o),o},EO,SO)),gr(56,180224,[[7,4]],0,hO,[mn,us,gh,[2,fO]],null,null),(t()(),li(-1,0,["Hibernate"])),(t()(),Ga(58,0,null,null,10,"cdk-virtual-scroll-viewport",[["cdkDropList",""],["cdkDropListConnectedTo","playlist-drop-list"],["class","viewport cdk-virtual-scroll-viewport cdk-drop-list"],["id","songs-drop-list"],["itemSize","50"]],[[2,"cdk-virtual-scroll-orientation-horizontal",null],[2,"cdk-virtual-scroll-orientation-vertical",null],[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"]],function(t,e,n){var o=!0;return"cdkDropListDropped"===e&&(o=!1!==t.component.drop(n)&&o),o},HO,BO)),_r(6144,null,OP,null,[IP]),_r(6144,null,By,null,[Uy]),gr(61,540672,null,0,Vy,[],{itemSize:[0,"itemSize"]},null),_r(1024,null,zy,Fy,[Vy]),gr(63,245760,null,0,Uy,[mn,An,ua,[2,zy],[2,Nf],jy],null,null),gr(64,1196032,null,1,IP,[mn,PP,An,[2,Nf],[3,EP]],{connectedTo:[0,"connectedTo"],data:[1,"data"],id:[2,"id"]},{dropped:"cdkDropListDropped"}),$a(603979776,9,{_draggables:1}),_r(256,null,EP,void 0,[]),(t()(),Ya(16777216,null,0,1,null,XO)),gr(68,409600,null,0,Wy,[jn,Fn,In,[1,Uy],ua],{cdkVirtualForOf:[0,"cdkVirtualForOf"]},null)],function(t,e){var n=e.component;t(e,1,0,n.playlist&&n.playlist.SongList),t(e,3,0,n.playlist&&n.playlist.SongList),t(e,5,0),t(e,12,0,or(e,20)),t(e,17,0,or(e,32)),t(e,20,0),t(e,32,0),t(e,44,0),t(e,61,0,"50"),t(e,63,0),t(e,64,0,"playlist-drop-list",n.playlist,"songs-drop-list"),t(e,68,0,n.songlist)},function(t,e){t(e,10,0,or(e,11).role,or(e,11)._highlighted,or(e,11)._triggersSubmenu,or(e,11)._getTabIndex(),or(e,11).disabled.toString(),or(e,11).disabled||null,or(e,12).menuOpen||null),t(e,15,0,or(e,16).role,or(e,16)._highlighted,or(e,16)._triggersSubmenu,or(e,16)._getTabIndex(),or(e,16).disabled.toString(),or(e,16).disabled||null,or(e,17).menuOpen||null),t(e,25,0,or(e,26).role,or(e,26)._highlighted,or(e,26)._triggersSubmenu,or(e,26)._getTabIndex(),or(e,26).disabled.toString(),or(e,26).disabled||null),t(e,28,0,or(e,29).role,or(e,29)._highlighted,or(e,29)._triggersSubmenu,or(e,29)._getTabIndex(),or(e,29).disabled.toString(),or(e,29).disabled||null),t(e,37,0,or(e,38).role,or(e,38)._highlighted,or(e,38)._triggersSubmenu,or(e,38)._getTabIndex(),or(e,38).disabled.toString(),or(e,38).disabled||null),t(e,40,0,or(e,41).role,or(e,41)._highlighted,or(e,41)._triggersSubmenu,or(e,41)._getTabIndex(),or(e,41).disabled.toString(),or(e,41).disabled||null),t(e,49,0,or(e,50).role,or(e,50)._highlighted,or(e,50)._triggersSubmenu,or(e,50)._getTabIndex(),or(e,50).disabled.toString(),or(e,50).disabled||null),t(e,52,0,or(e,53).role,or(e,53)._highlighted,or(e,53)._triggersSubmenu,or(e,53)._getTabIndex(),or(e,53).disabled.toString(),or(e,53).disabled||null),t(e,55,0,or(e,56).role,or(e,56)._highlighted,or(e,56)._triggersSubmenu,or(e,56)._getTabIndex(),or(e,56).disabled.toString(),or(e,56).disabled||null),t(e,58,0,"horizontal"===or(e,63).orientation,"horizontal"!==or(e,63).orientation,or(e,64).id,or(e,64).disabled,or(e,64)._dropListRef.isDragging(),or(e,64)._dropListRef.isReceiving())})}var JO=function(){function t(t,e){this.beatOnApi=t,this.configSvc=e,this.selectedPlaylist={}}return t.prototype.selectedPlaylistChanged=function(t){this.selectedPlaylist=t},t.prototype.ngOnInit=function(){var t=this;this.configSvc.getConfig().subscribe(function(e){t.config=e.Config}),this.configSvc.configUpdated.subscribe(function(e){t.config=e.Config})},t}(),tM=ao({encapsulation:0,styles:[[".container[_ngcontent-%COMP%]{display:flex;width:100%;height:93%}"]],data:{}});function eM(t){return ui(0,[(t()(),Ga(0,0,null,null,6,"div",[["cdkDropListGroup",""],["class","container"]],null,null,null,null,null)),gr(1,147456,null,0,EP,[],null,null),(t()(),Ga(2,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),Ga(3,0,null,null,1,"app-playlist-slider",[],null,[[null,"selectedPlaylist"]],function(t,e,n){var o=!0;return"selectedPlaylist"===e&&(o=!1!==t.component.selectedPlaylistChanged(n)&&o),o},jO,FO)),gr(4,114688,null,0,LO,[Tv,rf,Qs,Hm],{playlists:[0,"playlists"]},{selectedPlaylist:"selectedPlaylist"}),(t()(),Ga(5,0,null,null,1,"app-playlist-songs",[],null,null,null,$O,GO)),gr(6,114688,null,0,YO,[Hm,Tv],{playlist:[0,"playlist"]},null)],function(t,e){var n=e.component;t(e,4,0,n.config.Playlists),t(e,6,0,n.selectedPlaylist)},null)}function nM(t){return ui(0,[(t()(),Ga(0,0,null,null,1,"app-main-playlists",[["class","fullheight"]],null,null,null,eM,tM)),gr(1,114688,null,0,JO,[Qs,rf],null,null)],function(t,e){t(e,1,0)},null)}var oM=Yo("app-main-playlists",JO,nM,{},{},[]),rM=function(){function t(t){this.sanitizer=t}return t.prototype.transform=function(t){return this.sanitizer.bypassSecurityTrustResourceUrl(t)},t}(),aM=function(){function t(t,e){var n=this;this.toolbarEvents=t,this.appIntegration=e,this.browserUrl="https://www.bsaber.com",this.hideIframe=!1,t.backClicked.subscribe(function(){n.appIntegration.isAppLoaded()?e.browserGoBack():window.history.back()}),t.refreshClicked.subscribe(function(){n.appIntegration.isAppLoaded()?e.refreshBrowser():n.browser.nativeElement.src=n.browserUrl}),t.navigate.subscribe(function(t){n.appIntegration.isAppLoaded()?e.navigateBrowser(t):n.browserUrl=t})}return t.prototype.ngOnInit=function(){console.log("trying to show browser"),this.appIntegration.isAppLoaded()&&(this.hideIframe=!0,this.appIntegration.showBrowser(),this.appIntegration.navigateBrowser(this.browserUrl))},t.prototype.ngOnDestroy=function(){console.log("trying to hide browser"),this.appIntegration.isAppLoaded()&&this.appIntegration.hideBrowser()},t.prototype.iframeLoaded=function(t){console.log("iframe has loaded "+t.src)},t}(),iM=ao({encapsulation:0,styles:[["iframe[_ngcontent-%COMP%]{display:block;width:100%;height:100%;border:none}"]],data:{}});function lM(t){return ui(0,[(t()(),Ga(0,0,[[1,0],["browser",1]],null,2,"iframe",[["fxFlexFill",""]],[[8,"src",5]],[[null,"load"]],function(t,e,n){var o=!0,r=t.component;return"load"===e&&(o=!1!==r.iframeLoaded(r)&&o),o},null,null)),gr(1,671744,null,0,jC,[mn,SC,VC,TC],null,null),ii(128,2,new Array(2))],null,function(t,e){var n=e.component,o=no(e,0,0,t(e,2,0,or(e.parent,0),n.browserUrl));t(e,0,0,o)})}function sM(t){return ui(0,[br(0,rM,[zu]),$a(671088640,1,{browser:0}),(t()(),Ya(16777216,null,null,1,null,lM)),gr(3,16384,null,0,Kl,[jn,Fn],{ngIf:[0,"ngIf"]},null)],function(t,e){t(e,3,0,!e.component.hideIframe)},null)}function cM(t){return ui(0,[(t()(),Ga(0,0,null,null,1,"app-main-browser",[["class","fullheight"]],null,null,null,sM,iM)),gr(1,245760,null,0,aM,[cf,af],null,null)],function(t,e){t(e,1,0)},null)}var uM=Yo("app-main-browser",aM,cM,{},{},[]),dM=function(){function t(t,e,n){this.beatOnApi=t,this.dialog=e,this.router=n}return t.prototype.clickUninstallBeatSaber=function(){var t=this,e=this.dialog.open(lf,{width:"450px",height:"350px",disableClose:!0,data:{mainText:"Please wait..."}});this.beatOnApi.uninstallBeatSaber().subscribe(function(n){e.close(),t.router.navigateByUrl("/")},function(t){e.close()})},t.prototype.clickResetAssets=function(){var t=this.dialog.open(lf,{width:"450px",height:"350px",disableClose:!0,data:{mainText:"Please wait..."}});this.beatOnApi.resetAssets().subscribe(function(e){t.close(),window.dispatchEvent(new MessageEvent("host-message",{data:{ToastType:Vm.Info,Timeout:3e3,Title:"Assets reset.",Message:""}}))},function(e){t.close(),window.dispatchEvent(new MessageEvent("host-message",{data:{ToastType:Vm.Error,Timeout:8e3,Title:"Error resetting assets!",Message:e}}))})},t.prototype.clickReloadSongsFolder=function(){var t=this.dialog.open(lf,{width:"450px",height:"350px",disableClose:!0,data:{mainText:"Loading Songs Folder. Please wait..."}});this.beatOnApi.reloadSongsFromFolders().subscribe(function(e){t.close()},function(e){t.close(),window.dispatchEvent(new MessageEvent("host-message",{data:{ToastType:Vm.Error,Timeout:8e3,Title:"Error reloading songs folder!",Message:e}}))})},t.prototype.ngOnInit=function(){var t=this;this.beatOnApi.getNetInfo().subscribe(function(e){t.netInfo=e})},t}(),pM=ao({encapsulation:0,styles:[['@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28121em) scale(.75);transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}@-webkit-keyframes cdk-text-field-autofill-start{}@-webkit-keyframes cdk-text-field-autofill-end{}.mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-option[_ngcontent-%COMP%]{color:#fff}.mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple):not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:focus:not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:hover:not(.mat-option-disabled){background:rgba(255,255,255,.04)}.mat-option.mat-active[_ngcontent-%COMP%]{background:rgba(255,255,255,.04);color:#fff}.mat-option.mat-option-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-primary[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ad2c2c}.mat-accent[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#216bad}.mat-warn[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ff5722}.mat-optgroup-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-optgroup-disabled[_ngcontent-%COMP%] .mat-optgroup-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-pseudo-checkbox[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-pseudo-checkbox[_ngcontent-%COMP%]::after{color:#303030}.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{color:#686868}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%], .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#216bad}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ad2c2c}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ff5722}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{background:#686868}.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-app-background[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-theme-loaded-marker[_ngcontent-%COMP%]{display:none}.mat-autocomplete-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-autocomplete-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover){background:#424242}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#fff}@media (-ms-high-contrast:active){.mat-badge-content[_ngcontent-%COMP%]{outline:solid 1px;border-radius:0}.mat-checkbox-disabled[_ngcontent-%COMP%]{opacity:.5}}.mat-badge-accent[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-badge-warn[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ff5722}.mat-badge[_ngcontent-%COMP%]{position:relative}.mat-badge-hidden[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{display:none}.mat-badge-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#6e6e6e;color:rgba(255,255,255,.5)}.mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ad2c2c;position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out;-webkit-transform:scale(.6);transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;font-weight:600;font-size:12px;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-badge-content._mat-animation-noopable[_ngcontent-%COMP%], .ng-animate-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{transition:none}.mat-badge-content.mat-badge-active[_ngcontent-%COMP%]{-webkit-transform:none;transform:none}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:16px;height:16px;line-height:16px;font-size:9px}.mat-badge-small.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-8px}.mat-badge-small.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-8px}.mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-16px}.mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-8px}.mat-badge-medium[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-11px}.mat-badge-medium.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-11px}.mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-22px}.mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-11px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:28px;height:28px;line-height:28px;font-size:24px}.mat-badge-large.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-14px}.mat-badge-large.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-14px}.mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-28px}.mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-14px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{color:inherit;background:0 0}.mat-button.mat-primary[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-button[disabled][disabled][_ngcontent-%COMP%], .mat-icon-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-icon-button[disabled][disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-stroked-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ff5722}.mat-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:transparent}.mat-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{opacity:.1;background-color:currentColor}.mat-button-focus-overlay[_ngcontent-%COMP%]{background:#fff}.mat-stroked-button[_ngcontent-%COMP%]:not([disabled]){border-color:rgba(255,255,255,.12)}.mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%]{color:#fff;background-color:#424242}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{color:#fff}.mat-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-fab[disabled][disabled][_ngcontent-%COMP%], .mat-flat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-flat-button[disabled][disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-mini-fab[disabled][disabled][_ngcontent-%COMP%], .mat-raised-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-raised-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:rgba(255,255,255,.12)}.mat-fab.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-flat-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-stroked-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-raised-button[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-button-toggle-group[_ngcontent-%COMP%], .mat-button-toggle-standalone[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%], .mat-button-toggle-standalone.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{box-shadow:none;border:1px solid rgba(255,255,255,.12)}.mat-button-toggle[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-button-toggle[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff;background:#424242}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:#fff}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12)}[dir=rtl][_ngcontent-%COMP%] .mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:none;border-top:1px solid rgba(255,255,255,.12)}.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#212121;color:rgba(255,255,255,.7)}.mat-button-toggle-checked.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff}.mat-button-toggle-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:#000}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{background:#424242}.mat-button-toggle-disabled.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#424242}.mat-card[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-card[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-card.mat-card-flat[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-card-subtitle[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-checkbox-frame[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-checkbox-checkmark[_ngcontent-%COMP%]{fill:#303030}.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#303030!important}@media (-ms-high-contrast:black-on-white){.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#000!important}}.mat-checkbox-mixedmark[_ngcontent-%COMP%]{background-color:#303030}.mat-checkbox-checked.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-checkbox-checked.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#216bad}.mat-checkbox-checked.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ff5722}.mat-checkbox-disabled.mat-checkbox-checked[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-disabled.mat-checkbox-indeterminate[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%]:not(.mat-checkbox-checked) .mat-checkbox-frame[_ngcontent-%COMP%]{border-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}@media (-ms-high-contrast:active){.mat-checkbox-background[_ngcontent-%COMP%]{background:0 0}.mat-ripple-element[_ngcontent-%COMP%]{display:none}}.mat-checkbox[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%]{background:#ad2c2c}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%]{background:#216bad}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%]{background:#ff5722}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]{background-color:#616161;color:#fff}.mat-chip.mat-standard-chip[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled) .mat-chip-remove[_ngcontent-%COMP%]:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled[_ngcontent-%COMP%]{opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]::after{background:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-table[_ngcontent-%COMP%]{background:#424242}.mat-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%], .mat-table-sticky[_ngcontent-%COMP%], [mat-footer-row][_ngcontent-%COMP%], [mat-header-row][_ngcontent-%COMP%], [mat-row][_ngcontent-%COMP%], mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%]{background:inherit}mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%], td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{border-bottom-color:rgba(255,255,255,.12)}.mat-header-cell[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{color:#fff}.mat-calendar-arrow[_ngcontent-%COMP%]{border-top-color:#fff}.mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-next-button[_ngcontent-%COMP%], .mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-previous-button[_ngcontent-%COMP%], .mat-datepicker-toggle[_ngcontent-%COMP%]{color:#fff}.mat-calendar-table-header[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-calendar-table-header-divider[_ngcontent-%COMP%]::after{background:rgba(255,255,255,.12)}.mat-calendar-body-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-calendar-body-cell-content[_ngcontent-%COMP%]{color:#fff;border-color:transparent}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){color:rgba(255,255,255,.5)}.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .cdk-program-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .mat-calendar-body-cell[_ngcontent-%COMP%]:not(.mat-calendar-body-disabled):hover > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){background-color:rgba(255,255,255,.04)}.mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.5)}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.3)}.mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.4)}.mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#424242;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.4)}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.4)}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content-touch[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-datepicker-toggle-active[_ngcontent-%COMP%]{color:#ad2c2c}.mat-datepicker-toggle-active.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-datepicker-toggle-active.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-dialog-container[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-divider[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-divider-vertical[_ngcontent-%COMP%]{border-right-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-expansion-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-action-row[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-keyboard-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-program-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]):hover{background:rgba(255,255,255,.04)}@media (hover:none){.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header[_ngcontent-%COMP%]:hover{background:#424242}}.mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:#fff}.mat-expansion-indicator[_ngcontent-%COMP%]::after, .mat-expansion-panel-header-description[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%], .mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:inherit}.mat-form-field-label[_ngcontent-%COMP%], .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-focused[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#fff}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid) .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ad2c2c}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#216bad}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#ff5722}.mat-error[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7);bottom:1.25em}.mat-form-field-appearance-legacy.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7)}.mat-form-field-appearance-standard.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.05)}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:transparent}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#fff}.mat-form-field-appearance-outline.mat-focused[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field-appearance-outline.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-appearance-outline.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.15)}.mat-icon.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-icon.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-icon.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-type-mat-native-select[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:rgba(255,255,255,.7)}.mat-form-field-type-mat-native-select.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-input-element[_ngcontent-%COMP%]:disabled{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]{caret-color:#ad2c2c}.mat-input-element[_ngcontent-%COMP%]::-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-moz-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-webkit-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]{color:rgba(0,0,0,.87)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]:disabled{color:rgba(0,0,0,.38)}.mat-accent[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#216bad}.mat-form-field-invalid[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#ff5722}.mat-form-field-type-mat-native-select.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ff5722}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%], .mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{color:#fff}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-list-item-disabled[_ngcontent-%COMP%]{background-color:#000}.mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover, .mat-list-option[_ngcontent-%COMP%]:focus, .mat-list-option[_ngcontent-%COMP%]:hover, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover{background:rgba(255,255,255,.04)}.mat-menu-panel[_ngcontent-%COMP%]{background:#424242}.mat-menu-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-menu-item[_ngcontent-%COMP%]{background:0 0;color:#fff}.mat-menu-item[disabled][_ngcontent-%COMP%], .mat-menu-item[disabled][_ngcontent-%COMP%]::after{color:rgba(255,255,255,.5)}.mat-menu-item[_ngcontent-%COMP%] .mat-icon-no-color[_ngcontent-%COMP%], .mat-menu-item-submenu-trigger[_ngcontent-%COMP%]::after{color:#fff}.mat-menu-item-highlighted[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-keyboard-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-program-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item[_ngcontent-%COMP%]:hover:not([disabled]){background:rgba(255,255,255,.04)}.mat-paginator[_ngcontent-%COMP%]{background:#424242}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-paginator-decrement[_ngcontent-%COMP%], .mat-paginator-increment[_ngcontent-%COMP%]{border-top:2px solid #fff;border-right:2px solid #fff}.mat-paginator-first[_ngcontent-%COMP%], .mat-paginator-last[_ngcontent-%COMP%]{border-top:2px solid #fff}.mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-decrement[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-first[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-increment[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-last[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-progress-bar-background[_ngcontent-%COMP%]{fill:#e6c0c0}.mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#e6c0c0}.mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ad2c2c}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#216bad}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ff5722}.mat-progress-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ad2c2c}.mat-progress-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#216bad}.mat-progress-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ff5722}.mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ad2c2c}.mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#216bad}.mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#216bad}.mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ff5722}.mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ff5722}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-label-content[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-radio-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-select-value[_ngcontent-%COMP%]{color:#fff}.mat-select-disabled[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%], .mat-select-placeholder[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-select-panel[_ngcontent-%COMP%]{background:#424242}.mat-select-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-select-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple){background:rgba(255,255,255,.12)}.mat-form-field.mat-focused.mat-primary[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#216bad}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-invalid[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-form-field.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-disabled[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-drawer-container[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-drawer[_ngcontent-%COMP%]{background-color:#424242;color:#fff}.mat-drawer.mat-drawer-push[_ngcontent-%COMP%]{background-color:#424242}.mat-drawer[_ngcontent-%COMP%]:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-drawer-side[_ngcontent-%COMP%]{border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%] .mat-drawer-side[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12);border-right:none}[dir=rtl][_ngcontent-%COMP%] .mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-backdrop.mat-drawer-shown[_ngcontent-%COMP%]{background-color:rgba(189,189,189,.6)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.54)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.54)}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.54)}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle[_ngcontent-%COMP%]:not(.mat-checked) .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-slide-toggle-thumb[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#bdbdbd}.mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#216bad}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ff5722}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.2)}.cdk-focused[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%] .mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:#fff}.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing) .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3);background-color:transparent}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-has-ticks[_ngcontent-%COMP%] .mat-slider-wrapper[_ngcontent-%COMP%]::after{border-color:rgba(255,255,255,.7)}.mat-slider-horizontal[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to right,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-slider-vertical[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to bottom,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused[_ngcontent-%COMP%], .mat-step-header.cdk-program-focused[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%]:hover{background-color:rgba(255,255,255,.04)}@media (hover:none){.mat-step-header[_ngcontent-%COMP%]:hover{background:0 0}}.mat-step-header[_ngcontent-%COMP%] .mat-step-label[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-optional[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7);color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-selected[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-edit[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-error[_ngcontent-%COMP%]{background-color:transparent;color:#ff5722}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-active[_ngcontent-%COMP%]{color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-error[_ngcontent-%COMP%]{color:#ff5722}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{background-color:#424242}.mat-stepper-vertical-line[_ngcontent-%COMP%]::before{border-left-color:rgba(255,255,255,.12)}.mat-horizontal-stepper-header[_ngcontent-%COMP%]::after, .mat-horizontal-stepper-header[_ngcontent-%COMP%]::before, .mat-stepper-horizontal-line[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-sort-header-arrow[_ngcontent-%COMP%]{color:#c6c6c6}.mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[_ngcontent-%COMP%]{border-bottom:1px solid rgba(255,255,255,.12)}.mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-nav-bar[_ngcontent-%COMP%]{border-top:1px solid rgba(255,255,255,.12);border-bottom:none}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-tab-group[class*=mat-background-][_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[class*=mat-background-][_ngcontent-%COMP%]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-toolbar[_ngcontent-%COMP%]{background:#212121;color:#fff}.mat-toolbar.mat-primary[_ngcontent-%COMP%]{background:#ad2c2c;color:#fff}.mat-toolbar.mat-accent[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-toolbar.mat-warn[_ngcontent-%COMP%]{background:#ff5722;color:#fff}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:currentColor}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%]{color:inherit}.mat-toolbar[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:currentColor}.mat-tooltip[_ngcontent-%COMP%]{background:rgba(97,97,97,.9)}.mat-tree[_ngcontent-%COMP%]{background:#424242}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{color:#fff}.mat-snack-bar-container[_ngcontent-%COMP%]{color:rgba(0,0,0,.87);background:#fafafa;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 11.62px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 9.38px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,"Helvetica Neue",sans-serif}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,"Helvetica Neue",sans-serif;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34373em) scale(.75);transform:translateY(-1.34373em) scale(.75);width:133.3333533333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34372em) scale(.75);transform:translateY(-1.34372em) scale(.75);width:133.3333633333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00106px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00106px);-ms-transform:translateY(-1.28119em) scale(.75);width:133.3333933333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00107px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00107px);-ms-transform:translateY(-1.28118em) scale(.75);width:133.3334033333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00108px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00108px);-ms-transform:translateY(-1.28117em) scale(.75);width:133.3334133333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28116em) scale(.75);transform:translateY(-1.28116em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28115em) scale(.75);transform:translateY(-1.28115em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28114em) scale(.75);transform:translateY(-1.28114em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59373em) scale(.75);transform:translateY(-.59373em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59372em) scale(.75);transform:translateY(-.59372em) scale(.75);width:133.3333633333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59373em) scale(.75);transform:translateY(-1.59373em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59372em) scale(.75);transform:translateY(-1.59372em) scale(.75);width:133.3333633333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{color:inherit;line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,-webkit-transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1),-webkit-transform 0s cubic-bezier(0,0,.2,1);-webkit-transform:scale(0);transform:scale(0)}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation-name:cdk-text-field-autofill-start;animation-name:cdk-text-field-autofill-start}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation-name:cdk-text-field-autofill-end;animation-name:cdk-text-field-autofill-end}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{height:auto!important;overflow:hidden!important;padding:2px 0!important;box-sizing:content-box!important}button[_ngcontent-%COMP%]{margin-left:25px}.netInfo[_ngcontent-%COMP%]{position:absolute;right:30px;top:10px;font-size:12px;color:#ff5722}.netInfo[_ngcontent-%COMP%] .url[_ngcontent-%COMP%]{font-style:normal;font-weight:700;display:inline;font-size:14px}.descrip[_ngcontent-%COMP%]{margin-left:8px}li[_ngcontent-%COMP%]{margin-bottom:8px}']],data:{}});function mM(t){return ui(0,[(t()(),Ga(0,0,null,null,52,"mat-card",[["class","setup-card mat-card"]],null,null,null,Uh,Hh)),gr(1,49152,null,0,If,[],null,null),(t()(),Ga(2,0,null,0,12,"mat-card-header",[["class","mat-card-header"]],null,null,null,Wh,qh)),gr(3,49152,null,0,Rf,[],null,null),(t()(),Ga(4,0,null,0,4,"div",[["class","mat-card-avatar"],["mat-card-avatar",""]],null,null,null,null,null)),gr(5,16384,null,0,Tf,[],null,null),(t()(),Ga(6,0,null,null,2,"mat-icon",[["aria-hidden","false"],["class","setup-icon mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,dg,ug)),gr(7,9158656,null,0,sg,[mn,tg,[8,"false"],[2,rg]],null,null),(t()(),li(-1,0,["build"])),(t()(),Ga(9,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),gr(10,16384,null,0,kf,[],null,null),(t()(),li(-1,null,["Tools"])),(t()(),Ga(12,0,null,1,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),gr(13,16384,null,0,Sf,[],null,null),(t()(),li(-1,null,["Tools and Utilities"])),(t()(),Ga(15,0,null,0,37,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),gr(16,16384,null,0,wf,[],null,null),(t()(),Ga(17,0,null,null,3,"span",[["class","netInfo"],["color","primary"]],null,null,null,null,null)),(t()(),li(-1,null,["Accessible via browser at "])),(t()(),Ga(19,0,null,null,1,"div",[["class","url"]],null,null,null,null,null)),(t()(),li(20,null,["",""])),(t()(),Ga(21,0,null,null,31,"mat-card",[["class","mat-card"]],null,null,null,Uh,Hh)),gr(22,49152,null,0,If,[],null,null),(t()(),Ga(23,0,null,0,15,"ul",[],null,null,null,null,null)),(t()(),Ga(24,0,null,null,4,"li",[],null,null,null,null,null)),(t()(),Ga(25,0,null,null,1,"b",[],null,null,null,null,null)),(t()(),li(-1,null,["Reset All Assets:"])),(t()(),Ga(27,0,null,null,1,"span",[["class","descrip"]],null,null,null,null,null)),(t()(),li(-1,null,["Resets all offloaded assets files to their original state, removing any songs and asset-based mods that have been loaded. Also removes any hook mods."])),(t()(),Ga(29,0,null,null,4,"li",[],null,null,null,null,null)),(t()(),Ga(30,0,null,null,1,"b",[],null,null,null,null,null)),(t()(),li(-1,null,["Load Songs Folder:"])),(t()(),Ga(32,0,null,null,1,"span",[["class","descrip"]],null,null,null,null,null)),(t()(),li(-1,null,["Attempt to load any new songs from folders in /sdcard/BeatOnData/CustomSongs"])),(t()(),Ga(34,0,null,null,4,"li",[],null,null,null,null,null)),(t()(),Ga(35,0,null,null,1,"b",[],null,null,null,null,null)),(t()(),li(-1,null,["Uninstall Beat Saber:"])),(t()(),Ga(37,0,null,null,1,"span",[["class","descrip"]],null,null,null,null,null)),(t()(),li(-1,null,["Uninstalls whatever Beat Saber APK is currently installed. This can't be undone, Beat Saber will have to be reinstalled and re-modded."])),(t()(),Ga(39,0,null,0,13,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),gr(40,16384,null,0,Ef,[],null,null),(t()(),Ga(41,0,null,null,3,"button",[["color","accent"],["fast-click",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==t.component.clickResetAssets()&&o),o},W_,q_)),gr(42,180224,null,0,fg,[mn,gh,[2,H_]],{color:[0,"color"]},null),gr(43,16384,null,0,Y_,[mn],null,null),(t()(),li(-1,0,["Reset Assets"])),(t()(),Ga(45,0,null,null,3,"button",[["color","accent"],["fast-click",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==t.component.clickReloadSongsFolder()&&o),o},W_,q_)),gr(46,180224,null,0,fg,[mn,gh,[2,H_]],{color:[0,"color"]},null),gr(47,16384,null,0,Y_,[mn],null,null),(t()(),li(-1,0,["Reload Songs Folder"])),(t()(),Ga(49,0,null,null,3,"button",[["color","accent"],["fast-click",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==t.component.clickUninstallBeatSaber()&&o),o},W_,q_)),gr(50,180224,null,0,fg,[mn,gh,[2,H_]],{color:[0,"color"]},null),gr(51,16384,null,0,Y_,[mn],null,null),(t()(),li(-1,0,["Uninstall Beat Saber"]))],function(t,e){t(e,7,0),t(e,42,0,"accent"),t(e,46,0,"accent"),t(e,50,0,"accent")},function(t,e){var n=e.component;t(e,6,0,or(e,7).inline,"primary"!==or(e,7).color&&"accent"!==or(e,7).color&&"warn"!==or(e,7).color),t(e,20,0,n.netInfo.Url),t(e,39,0,"end"===or(e,40).align),t(e,41,0,or(e,42).disabled||null,"NoopAnimations"===or(e,42)._animationMode),t(e,45,0,or(e,46).disabled||null,"NoopAnimations"===or(e,46)._animationMode),t(e,49,0,or(e,50).disabled||null,"NoopAnimations"===or(e,50)._animationMode)})}function fM(t){return ui(0,[(t()(),Ga(0,0,null,null,1,"app-tools",[],null,null,null,mM,pM)),gr(1,114688,null,0,dM,[Qs,Tv,dm],null,null)],function(t,e){t(e,1,0)},null)}var hM=Yo("app-tools",dM,fM,{},{},[]),gM=function(){function t(){this.onFileDropped=new Dr,this.background="#f5fcff",this.opacity="1"}return t.prototype.onDragOver=function(t){t.preventDefault(),t.stopPropagation(),this.background="#9ecbec",this.opacity="0.8"},t.prototype.onDragLeave=function(t){t.preventDefault(),t.stopPropagation(),this.background="#f5fcff",this.opacity="1"},t.prototype.ondrop=function(t){t.preventDefault(),t.stopPropagation(),this.background="#f5fcff",this.opacity="1";var e=t.dataTransfer.files;e.length>0&&this.onFileDropped.emit(e)},t}(),bM=function(){function t(t,e){this.formBuilder=t,this.beatOnApi=e}return t.prototype.ngOnInit=function(){this.form=this.formBuilder.group({fileUpload:[""]})},t.prototype.uploadFile=function(t){for(var e=0;et?{max:{max:t,actual:e.value}}:null}},t.required=function(t){return kM(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return kM(t.value)?null:EM.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(e){if(kM(e.value))return null;var n=e.value?e.value.length:0;return nt?{maxlength:{requiredLength:t,actualLength:n}}:null}},t.pattern=function(e){return e?("string"==typeof e?(o="","^"!==e.charAt(0)&&(o+="^"),o+=e,"$"!==e.charAt(e.length-1)&&(o+="$"),n=new RegExp(o)):(o=e.toString(),n=e),function(t){if(kM(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:o,actualValue:e}}}):t.nullValidator;var n,o},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var e=t.filter(IM);return 0==e.length?null:function(t){return AM(function(t,n){return e.map(function(e){return e(t)})}(t))}},t.composeAsync=function(t){if(!t)return null;var e=t.filter(IM);return 0==e.length?null:function(t){return Zh(function(t,n){return e.map(function(e){return e(t)})}(t).map(RM)).pipe(K(AM))}},t}();function IM(t){return null!=t}function RM(t){var e=qe(t)?tt(t):t;if(!We(e))throw new Error("Expected validator to return Promise or Observable.");return e}function AM(t){var e=t.reduce(function(t,e){return null!=e?a({},t,e):t},{});return 0===Object.keys(e).length?null:e}function DM(t){return t.validate?function(e){return t.validate(e)}:t}function NM(t){return t.validate?function(e){return t.validate(e)}:t}var zM=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),LM=function(){function t(){this._accessors=[]}return t.prototype.add=function(t,e){this._accessors.push([t,e])},t.prototype.remove=function(t){for(var e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)},t.prototype.select=function(t){var e=this;this._accessors.forEach(function(n){e._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)})},t.prototype._isSameGroup=function(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name},t}(),FM=function(){function t(t,e,n,o){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=o,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.ngOnInit=function(){this._control=this._injector.get(xM),this._checkName(),this._registry.add(this._control,this)},t.prototype.ngOnDestroy=function(){this._registry.remove(this)},t.prototype.writeValue=function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},t.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(){t(e.value),e._registry.select(e)}},t.prototype.fireUncheck=function(t){this.writeValue(t)},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},t.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex:

\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',BM='\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',HM='\n
\n
\n \n
\n
',UM=function(){function t(){}return t.controlParentException=function(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+jM)},t.ngModelGroupException=function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n '+BM+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+HM)},t.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+jM)},t.groupParentException=function(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+BM)},t.arrayParentException=function(){throw new Error('formArrayName must be used with a parent formGroup directive. You\'ll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n \n
\n
\n
\n \n
\n
\n
\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });')},t.disabledAttrWarning=function(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")},t.ngModelWarning=function(t){console.warn("\n It looks like you're using ngModel on the same form field as "+t+". \n Support for using the ngModel input property and ngModelChange event with \n reactive form directives has been deprecated in Angular v6 and will be removed \n in Angular v7.\n \n For more information on this, see our API docs here:\n https://angular.io/api/forms/"+("formControl"===t?"FormControlDirective":"FormControlName")+"#use-with-ngmodel\n ")},t}();function qM(t,e){return u(e.path,[t])}function WM(t,e){t||QM(e,"Cannot find control with"),e.valueAccessor||QM(e,"No value accessor for form control with"),t.validator=TM.compose([t.validator,e.validator]),t.asyncValidator=TM.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(function(n){t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&YM(t,e)})}(t,e),function(t,e){t.registerOnChange(function(t,n){e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(function(){t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&YM(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(function(t){e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})}),e._rawAsyncValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})})}function YM(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function GM(t,e){null==t&&QM(e,"Cannot find control with"),t.validator=TM.compose([t.validator,e.validator]),t.asyncValidator=TM.composeAsync([t.asyncValidator,e.asyncValidator])}function ZM(t){return QM(t,"There is no FormControl instance attached to form control element with")}function QM(t,e){var n;throw n=t.path.length>1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function KM(t){return null!=t?TM.compose(t.map(DM)):null}function XM(t){return null!=t?TM.composeAsync(t.map(NM)):null}var $M=[yM,VM,zM,function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=Ze}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.value=t;var e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=function(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){e.value=e._getOptionValue(n),t(e.value)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(){return(this._idCounter++).toString()},t.prototype._getOptionId=function(t){var e,n;try{for(var o=s(Array.from(this._optionMap.keys())),r=o.next();!r.done;r=o.next()){var a=r.value;if(this._compareWith(this._optionMap.get(a),t))return a}}catch(i){e={error:i}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return null},t.prototype._getOptionValue=function(t){var e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t},t}(),function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=Ze}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){var e,n=this;if(this.value=t,Array.isArray(t)){var o=t.map(function(t){return n._getOptionId(t)});e=function(t,e){t._setSelected(o.indexOf(e.toString())>-1)}}else e=function(t,e){t._setSelected(!1)};this._optionMap.forEach(e)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){var o=[];if(n.hasOwnProperty("selectedOptions"))for(var r=n.selectedOptions,a=0;a-1&&t.splice(n,1)}function ex(t){var e=ox(t)?t.validators:t;return Array.isArray(e)?KM(e):e||null}function nx(t,e){var n=ox(e)?e.asyncValidators:t;return Array.isArray(n)?XM(n):n||null}function ox(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}var rx=function(){function t(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),t.prototype.setValidators=function(t){this.validator=ex(t)},t.prototype.setAsyncValidators=function(t){this.asyncValidator=nx(t)},t.prototype.clearValidators=function(){this.validator=null},t.prototype.clearAsyncValidators=function(){this.asyncValidator=null},t.prototype.markAsTouched=function(t){void 0===t&&(t={}),this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)},t.prototype.markAllAsTouched=function(){this.markAsTouched({onlySelf:!0}),this._forEachChild(function(t){return t.markAllAsTouched()})},t.prototype.markAsUntouched=function(t){void 0===t&&(t={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(t){t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype.markAsDirty=function(t){void 0===t&&(t={}),this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)},t.prototype.markAsPristine=function(t){void 0===t&&(t={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(t){t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype.markAsPending=function(t){void 0===t&&(t={}),this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)},t.prototype.disable=function(t){void 0===t&&(t={});var e=this._parentMarkedDirty(t.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(function(e){e.disable(a({},t,{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(a({},t,{skipPristineCheck:e})),this._onDisabledChange.forEach(function(t){return t(!0)})},t.prototype.enable=function(t){void 0===t&&(t={});var e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild(function(e){e.enable(a({},t,{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(a({},t,{skipPristineCheck:e})),this._onDisabledChange.forEach(function(t){return t(!1)})},t.prototype._updateAncestors=function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())},t.prototype.setParent=function(t){this._parent=t},t.prototype.updateValueAndValidity=function(t){void 0===t&&(t={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||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)},t.prototype._updateTreeValidity=function(t){void 0===t&&(t={emitEvent:!0}),this._forEachChild(function(e){return e._updateTreeValidity(t)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})},t.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},t.prototype._runValidator=function(){return this.validator?this.validator(this):null},t.prototype._runAsyncValidator=function(t){var e=this;if(this.asyncValidator){this.status="PENDING";var n=RM(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){return e.setErrors(n,{emitEvent:t})})}},t.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},t.prototype.setErrors=function(t,e){void 0===e&&(e={}),this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)},t.prototype.get=function(t){return function(t,e,n){return null==e?null:(e instanceof Array||(e=e.split(".")),e instanceof Array&&0===e.length?null:e.reduce(function(t,e){return t instanceof ix?t.controls.hasOwnProperty(e)?t.controls[e]:null:t instanceof lx&&t.at(e)||null},t))}(this,t)},t.prototype.getError=function(t,e){var n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null},t.prototype.hasError=function(t,e){return!!this.getError(t,e)},Object.defineProperty(t.prototype,"root",{get:function(){for(var t=this;t._parent;)t=t._parent;return t},enumerable:!0,configurable:!0}),t.prototype._updateControlsErrors=function(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)},t.prototype._initObservables=function(){this.valueChanges=new Dr,this.statusChanges=new Dr},t.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},t.prototype._anyControlsHaveStatus=function(t){return this._anyControls(function(e){return e.status===t})},t.prototype._anyControlsDirty=function(){return this._anyControls(function(t){return t.dirty})},t.prototype._anyControlsTouched=function(){return this._anyControls(function(t){return t.touched})},t.prototype._updatePristine=function(t){void 0===t&&(t={}),this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype._updateTouched=function(t){void 0===t&&(t={}),this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype._isBoxedValue=function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t},t.prototype._registerOnCollectionChange=function(t){this._onCollectionChange=t},t.prototype._setUpdateStrategy=function(t){ox(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)},t.prototype._parentMarkedDirty=function(t){return!t&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()},t}(),ax=function(t){function e(e,n,o){void 0===e&&(e=null);var r=t.call(this,ex(n),nx(o,n))||this;return r._onChange=[],r._applyFormState(e),r._setUpdateStrategy(n),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r._initObservables(),r}return r(e,t),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(function(t){return t(n.value,!1!==e.emitViewToModelChange)}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){void 0===e&&(e={}),this.setValue(t,e)},e.prototype.reset=function(t,e){void 0===t&&(t=null),void 0===e&&(e={}),this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1},e.prototype._updateValue=function(){},e.prototype._anyControls=function(t){return!1},e.prototype._allControlsDisabled=function(){return this.disabled},e.prototype.registerOnChange=function(t){this._onChange.push(t)},e.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},e.prototype.registerOnDisabledChange=function(t){this._onDisabledChange.push(t)},e.prototype._forEachChild=function(t){},e.prototype._syncPendingControls=function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))},e.prototype._applyFormState=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},e}(rx),ix=function(t){function e(e,n,o){var r=t.call(this,ex(n),nx(o,n))||this;return r.controls=e,r._initObservables(),r._setUpdateStrategy(n),r._setUpControls(),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r}return r(e,t),e.prototype.registerControl=function(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)},e.prototype.addControl=function(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeControl=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.contains=function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled},e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),Object.keys(t).forEach(function(o){n._throwIfControlMissing(o),n.controls[o].setValue(t[o],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),Object.keys(t).forEach(function(o){n.controls[o]&&n.controls[o].patchValue(t[o],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t={}),void 0===e&&(e={}),this._forEachChild(function(n,o){n.reset(t[o],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)},e.prototype.getRawValue=function(){return this._reduceChildren({},function(t,e,n){return t[n]=e instanceof ax?e.value:e.getRawValue(),t})},e.prototype._syncPendingControls=function(){var t=this._reduceChildren(!1,function(t,e){return!!e._syncPendingControls()||t});return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=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: "+t+".")},e.prototype._forEachChild=function(t){var e=this;Object.keys(this.controls).forEach(function(n){return t(e.controls[n],n)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)})},e.prototype._updateValue=function(){this.value=this._reduceValue()},e.prototype._anyControls=function(t){var e=this,n=!1;return this._forEachChild(function(o,r){n=n||e.contains(r)&&t(o)}),n},e.prototype._reduceValue=function(){var t=this;return this._reduceChildren({},function(e,n,o){return(n.enabled||t.disabled)&&(e[o]=n.value),e})},e.prototype._reduceChildren=function(t,e){var n=t;return this._forEachChild(function(t,o){n=e(n,t,o)}),n},e.prototype._allControlsDisabled=function(){var t,e;try{for(var n=s(Object.keys(this.controls)),o=n.next();!o.done;o=n.next())if(this.controls[o.value].enabled)return!1}catch(r){t={error:r}}finally{try{o&&!o.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return Object.keys(this.controls).length>0||this.disabled},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")})},e}(rx),lx=function(t){function e(e,n,o){var r=t.call(this,ex(n),nx(o,n))||this;return r.controls=e,r._initObservables(),r._setUpdateStrategy(n),r._setUpControls(),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r}return r(e,t),e.prototype.at=function(t){return this.controls[t]},e.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity()},e.prototype.setControl=function(t,e){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(),this._onCollectionChange()},Object.defineProperty(e.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),t.forEach(function(t,o){n._throwIfControlMissing(o),n.at(o).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),t.forEach(function(t,o){n.at(o)&&n.at(o).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t=[]),void 0===e&&(e={}),this._forEachChild(function(n,o){n.reset(t[o],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)},e.prototype.getRawValue=function(){return this.controls.map(function(t){return t instanceof ax?t.value:t.getRawValue()})},e.prototype.clear=function(){this.controls.length<1||(this._forEachChild(function(t){return t._registerOnCollectionChange(function(){})}),this.controls.splice(0),this.updateValueAndValidity())},e.prototype._syncPendingControls=function(){var t=this.controls.reduce(function(t,e){return!!e._syncPendingControls()||t},!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=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 "+t)},e.prototype._forEachChild=function(t){this.controls.forEach(function(e,n){t(e,n)})},e.prototype._updateValue=function(){var t=this;this.value=this.controls.filter(function(e){return e.enabled||t.disabled}).map(function(t){return t.value})},e.prototype._anyControls=function(t){return this.controls.some(function(e){return e.enabled&&t(e)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){return t._registerControl(e)})},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: "+n+".")})},e.prototype._allControlsDisabled=function(){var t,e;try{for(var n=s(this.controls),o=n.next();!o.done;o=n.next())if(o.value.enabled)return!1}catch(r){t={error:r}}finally{try{o&&!o.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return this.controls.length>0||this.disabled},e.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},e}(rx),sx=function(){return Promise.resolve(null)}(),cx=function(t){function e(e,n){var o=t.call(this)||this;return o.submitted=!1,o._directives=[],o.ngSubmit=new Dr,o.form=new ix({},KM(e),XM(n)),o}return r(e,t),e.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this;sx.then(function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),WM(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(t)})},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){var e=this;sx.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name),tx(e._directives,t)})},e.prototype.addFormGroup=function(t){var e=this;sx.then(function(){var n=e._findContainer(t.path),o=new ix({});GM(o,t),n.registerControl(t.name,o),o.updateValueAndValidity({emitEvent:!1})})},e.prototype.removeFormGroup=function(t){var e=this;sx.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)})},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this;sx.then(function(){n.form.get(t.path).setValue(e)})},e.prototype.setValue=function(t){this.control.setValue(t)},e.prototype.onSubmit=function(t){return this.submitted=!0,JM(this.form,this._directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},e.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},e}(OM),ux=function(){function t(){}return t.modelParentException=function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n '+jM+'\n\n Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n Example:\n\n \n
\n \n \n
\n ')},t.formGroupNameException=function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n "+BM+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+HM)},t.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: \n Example 2: ')},t.modelGroupParentException=function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n "+BM+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+HM)},t.ngFormWarning=function(){console.warn("\n It looks like you're using 'ngForm'.\n\n Support for using the 'ngForm' element selector has been deprecated in Angular v6 and will be removed\n in Angular v9.\n\n Use 'ng-form' instead.\n\n Before:\n \n\n After:\n \n ")},t}(),dx=new Bt("NgFormSelectorWarning"),px=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return qM(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return KM(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return XM(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){},e}(OM),mx=function(t){function e(e,n,o){var r=t.call(this)||this;return r._parent=e,r._validators=n,r._asyncValidators=o,r}var n;return r(e,t),n=e,e.prototype._checkParentType=function(){this._parent instanceof n||this._parent instanceof cx||ux.modelGroupParentException()},e}(px),fx=function(){return Promise.resolve(null)}(),hx=function(t){function e(e,n,o,r){var a=t.call(this)||this;return a.control=new ax,a._registered=!1,a.update=new Dr,a._parent=e,a._rawValidators=n||[],a._rawAsyncValidators=o||[],a.valueAccessor=function(t,e){if(!e)return null;Array.isArray(e)||QM(t,"Value accessor was not provided as an array for form control with");var n=void 0,o=void 0,r=void 0;return e.forEach(function(e){var a;e.constructor===CM?n=e:(a=e,$M.some(function(t){return a.constructor===t})?(o&&QM(t,"More than one built-in value accessor matches form control with"),o=e):(r&&QM(t,"More than one custom value accessor matches form control with"),r=e))}),r||o||n||(QM(t,"No valid value accessor for form control with"),null)}(a,r),a}return r(e,t),e.prototype.ngOnChanges=function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),function(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!Ze(e,n.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(e.prototype,"path",{get:function(){return this._parent?qM(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return KM(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return XM(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},e.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},e.prototype._setUpStandalone=function(){WM(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},e.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},e.prototype._checkParentType=function(){!(this._parent instanceof mx)&&this._parent instanceof px?ux.formGroupNameException():this._parent instanceof mx||this._parent instanceof cx||ux.modelParentException()},e.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||ux.missingNameException()},e.prototype._updateValue=function(t){var e=this;fx.then(function(){e.control.setValue(t,{emitViewToModelChange:!1})})},e.prototype._updateDisabled=function(t){var e=this,n=t.isDisabled.currentValue,o=""===n||n&&"false"!==n;fx.then(function(){o&&!e.control.disabled?e.control.disable():!o&&e.control.disabled&&e.control.enable()})},e}(xM),gx=new Bt("NgModelWithFormControlWarning"),bx=function(t){function e(e,n){var o=t.call(this)||this;return o._validators=e,o._asyncValidators=n,o.submitted=!1,o.directives=[],o.form=null,o.ngSubmit=new Dr,o}return r(e,t),e.prototype.ngOnChanges=function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this.form.get(t.path);return WM(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){tx(this.directives,t)},e.prototype.addFormGroup=function(t){var e=this.form.get(t.path);GM(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormGroup=function(t){},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.addFormArray=function(t){var e=this.form.get(t.path);GM(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormArray=function(t){},e.prototype.getFormArray=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){this.form.get(t.path).setValue(e)},e.prototype.onSubmit=function(t){return this.submitted=!0,JM(this.form,this.directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._updateDomValue=function(){var t=this;this.directives.forEach(function(e){var n=t.form.get(e.path);e.control!==n&&(function(t,e){e.valueAccessor.registerOnChange(function(){return ZM(e)}),e.valueAccessor.registerOnTouched(function(){return ZM(e)}),e._rawValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}(e.control,e),n&&WM(n,e),e.control=n)}),this.form._updateTreeValidity({emitEvent:!1})},e.prototype._updateRegistrations=function(){var t=this;this.form._registerOnCollectionChange(function(){return t._updateDomValue()}),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){}),this._oldForm=this.form},e.prototype._updateValidators=function(){var t=KM(this._validators);this.form.validator=TM.compose([this.form.validator,t]);var e=XM(this._asyncValidators);this.form.asyncValidator=TM.composeAsync([this.form.asyncValidator,e])},e.prototype._checkFormPresent=function(){this.form||UM.missingFormException()},e}(OM),_x=function(){function t(){}return t.prototype.ngOnChanges=function(t){"pattern"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return this._validator(t)},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=TM.pattern(this.pattern)},t}(),yx=function(){return function(){}}(),vx=function(){function t(){}return t.prototype.group=function(t,e){void 0===e&&(e=null);var n=this._reduceControls(t),o=null,r=null,a=void 0;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(o=null!=e.validators?e.validators:null,r=null!=e.asyncValidators?e.asyncValidators:null,a=null!=e.updateOn?e.updateOn:void 0):(o=null!=e.validator?e.validator:null,r=null!=e.asyncValidator?e.asyncValidator:null)),new ix(n,{asyncValidators:r,updateOn:a,validators:o})},t.prototype.control=function(t,e,n){return new ax(t,e,n)},t.prototype.array=function(t,e,n){var o=this,r=t.map(function(t){return o._createControl(t)});return new lx(r,e,n)},t.prototype._reduceControls=function(t){var e=this,n={};return Object.keys(t).forEach(function(o){n[o]=e._createControl(t[o])}),n},t.prototype._createControl=function(t){return t instanceof ax||t instanceof ix||t instanceof lx?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)},t}(),Cx=function(){function t(){}var e;return e=t,t.withConfig=function(t){return{ngModule:e,providers:[{provide:dx,useValue:t.warnOnDeprecatedNgFormSelector}]}},t}(),Px=function(){function t(){}var e;return e=t,t.withConfig=function(t){return{ngModule:e,providers:[{provide:gx,useValue:t.warnOnNgModelWithFormControl}]}},t}(),Ox=ao({encapsulation:0,styles:[["form[_ngcontent-%COMP%]{margin-top:100px}.uploadfilecontainer[_ngcontent-%COMP%]{background:url(upload.53eaa2f2d099aadddfb6.png) center no-repeat;height:200px;width:80%;margin:20px auto;border:2px dashed #1c8adb;border-radius:10px}.uploadfilecontainer[_ngcontent-%COMP%]:hover{cursor:pointer;background-color:#9ecbec!important;opacity:.8}.files-list[_ngcontent-%COMP%]{display:flex;justify-content:space-between;width:80%;margin:10px auto;background:#fff;border:1px dashed;border-radius:12px;padding:5px;color:#1c8adb}.files-list[_ngcontent-%COMP%] .delete-file[_ngcontent-%COMP%]{background:0 0;border:none;cursor:pointer}.files-list[_ngcontent-%COMP%] .delete-file[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:30px}"]],data:{}});function Mx(t){return ui(0,[(t()(),Ga(0,0,null,null,19,"mat-card",[["class","setup-card mat-card"]],null,null,null,Uh,Hh)),gr(1,49152,null,0,If,[],null,null),(t()(),Ga(2,0,null,0,12,"mat-card-header",[["class","mat-card-header"]],null,null,null,Wh,qh)),gr(3,49152,null,0,Rf,[],null,null),(t()(),Ga(4,0,null,0,4,"div",[["class","mat-card-avatar"],["mat-card-avatar",""]],null,null,null,null,null)),gr(5,16384,null,0,Tf,[],null,null),(t()(),Ga(6,0,null,null,2,"mat-icon",[["aria-hidden","false"],["class","setup-icon mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,dg,ug)),gr(7,9158656,null,0,sg,[mn,tg,[8,"false"],[2,rg]],null,null),(t()(),li(-1,0,["cloud_upload"])),(t()(),Ga(9,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),gr(10,16384,null,0,kf,[],null,null),(t()(),li(-1,null,["Upload Files"])),(t()(),Ga(12,0,null,1,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),gr(13,16384,null,0,Sf,[],null,null),(t()(),li(-1,null,["Drag zip files here to upload them, or click to select a file. Currently songs and Quest-specific mods are supported."])),(t()(),Ga(15,0,null,0,4,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),gr(16,16384,null,0,wf,[],null,null),(t()(),Ga(17,0,null,null,2,"div",[["appDragDrop",""],["class","uploadfilecontainer"]],[[4,"background-color",null],[4,"opacity",null]],[[null,"click"],[null,"onFileDropped"],[null,"dragover"],[null,"dragleave"],[null,"drop"]],function(t,e,n){var o=!0,r=t.component;return"dragover"===e&&(o=!1!==or(t,18).onDragOver(n)&&o),"dragleave"===e&&(o=!1!==or(t,18).onDragLeave(n)&&o),"drop"===e&&(o=!1!==or(t,18).ondrop(n)&&o),"click"===e&&(o=!1!==or(t,19).click()&&o),"onFileDropped"===e&&(o=!1!==r.uploadFile(n)&&o),o},null,null)),gr(18,16384,null,0,gM,[],null,{onFileDropped:"onFileDropped"}),(t()(),Ga(19,0,[["fileInput",1]],null,0,"input",[["hidden",""],["type","file"]],null,[[null,"change"]],function(t,e,n){var o=!0;return"change"===e&&(o=!1!==t.component.uploadFile(n.target.files)&&o),o},null,null))],function(t,e){t(e,7,0)},function(t,e){t(e,6,0,or(e,7).inline,"primary"!==or(e,7).color&&"accent"!==or(e,7).color&&"warn"!==or(e,7).color),t(e,17,0,or(e,18).background,or(e,18).opacity)})}function xx(t){return ui(0,[(t()(),Ga(0,0,null,null,1,"app-remote-upload",[],null,null,null,Mx,Ox)),gr(1,114688,null,0,bM,[vx,Qs],null,null)],function(t,e){t(e,1,0)},null)}var wx=Yo("app-remote-upload",bM,xx,{},{},[]),kx=function(){function t(){}return t.prototype.ngOnInit=function(){},t}(),Sx=ao({encapsulation:0,styles:[[".credits[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:15px}"]],data:{}});function Ex(t){return ui(0,[(t()(),Ga(0,0,null,null,37,"mat-card",[["class","mat-card"],["fxLayout","column"]],null,null,null,Uh,Hh)),gr(1,49152,null,0,If,[],null,null),gr(2,671744,null,0,zC,[mn,SC,[2,DC],TC],{fxLayout:[0,"fxLayout"]},null),(t()(),Ga(3,0,null,0,1,"h2",[],null,null,null,null,null)),(t()(),li(-1,null,["Credits to BSMG crew in general, and in particular:"])),(t()(),Ga(5,0,null,0,32,"ul",[["class","credits"]],null,null,null,null,null)),(t()(),Ga(6,0,null,null,3,"li",[],null,null,null,null,null)),(t()(),Ga(7,0,null,null,1,"b",[],null,null,null,null,null)),(t()(),li(-1,null,["Sc2ad"])),(t()(),li(-1,null,[": code contributor, code reviewer, lots of work on hook mods, lots of discussion and feedback"])),(t()(),Ga(10,0,null,null,3,"li",[],null,null,null,null,null)),(t()(),Ga(11,0,null,null,1,"b",[],null,null,null,null,null)),(t()(),li(-1,null,["jakibaki"])),(t()(),li(-1,null,[": beat-saber hook (making the really cool stuff possible)"])),(t()(),Ga(14,0,null,null,3,"li",[],null,null,null,null,null)),(t()(),Ga(15,0,null,null,1,"b",[],null,null,null,null,null)),(t()(),li(-1,null,["Agent42"])),(t()(),li(-1,null,[": extraordinary testing and support (if it works at all, thank him)"])),(t()(),Ga(18,0,null,null,3,"li",[],null,null,null,null,null)),(t()(),Ga(19,0,null,null,1,"b",[],null,null,null,null,null)),(t()(),li(-1,null,["Yuuki"])),(t()(),li(-1,null,[": code contributor, code documentarian"])),(t()(),Ga(22,0,null,null,3,"li",[],null,null,null,null,null)),(t()(),Ga(23,0,null,null,1,"b",[],null,null,null,null,null)),(t()(),li(-1,null,["shaneharris"])),(t()(),li(-1,null,[": advice, especially on the angular and android side of things"])),(t()(),Ga(26,0,null,null,3,"li",[],null,null,null,null,null)),(t()(),Ga(27,0,null,null,1,"b",[],null,null,null,null,null)),(t()(),li(-1,null,["elliotttate"])),(t()(),li(-1,null,[": inspiration, support and the awesome logos"])),(t()(),Ga(30,0,null,null,3,"li",[],null,null,null,null,null)),(t()(),Ga(31,0,null,null,1,"b",[],null,null,null,null,null)),(t()(),li(-1,null,["lolpants"])),(t()(),li(-1,null,[": everything lolpants does. Also, soon to be songe converter for old to new song format conversion"])),(t()(),Ga(34,0,null,null,3,"li",[],null,null,null,null,null)),(t()(),Ga(35,0,null,null,1,"b",[],null,null,null,null,null)),(t()(),li(-1,null,["emulamer"])),(t()(),li(-1,null,[": did some stuff"]))],function(t,e){t(e,2,0,"column")},null)}function Tx(t){return ui(0,[(t()(),Ga(0,0,null,null,1,"app-credits",[],null,null,null,Ex,Sx)),gr(1,114688,null,0,kx,[],null,null)],function(t,e){t(e,1,0)},null)}var Ix=Yo("app-credits",kx,Tx,{},{},[]),Rx=ao({encapsulation:2,styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}@media (-ms-high-contrast:active){.mat-dialog-container{outline:solid 1px}}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button+.mat-button,.mat-dialog-actions .mat-button+.mat-raised-button,.mat-dialog-actions .mat-raised-button+.mat-button,.mat-dialog-actions .mat-raised-button+.mat-raised-button{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button+.mat-button,[dir=rtl] .mat-dialog-actions .mat-button+.mat-raised-button,[dir=rtl] .mat-dialog-actions .mat-raised-button+.mat-button,[dir=rtl] .mat-dialog-actions .mat-raised-button+.mat-raised-button{margin-left:0;margin-right:8px}"],data:{animation:[{type:7,name:"dialogContainer",definitions:[{type:0,name:"void, exit",styles:{type:6,styles:{opacity:0,transform:"scale(0.7)"},offset:null},options:void 0},{type:0,name:"enter",styles:{type:6,styles:{transform:"none"},offset:null},options:void 0},{type:1,expr:"* => enter",animation:{type:4,styles:{type:6,styles:{transform:"none",opacity:1},offset:null},timings:"150ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void, * => exit",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"75ms cubic-bezier(0.4, 0.0, 0.2, 1)"},options:null}],options:{}}]}});function Ax(t){return ui(0,[(t()(),Ya(0,null,null,0))],null,null)}function Dx(t){return ui(0,[$a(402653184,1,{_portalOutlet:0}),(t()(),Ya(16777216,null,null,1,null,Ax)),gr(2,212992,[[1,4]],0,ay,[ln,jn],{portal:[0,"portal"]},null)],function(t,e){t(e,2,0,"")},null)}function Nx(t){return ui(0,[(t()(),Ga(0,0,null,null,1,"mat-dialog-container",[["aria-modal","true"],["class","mat-dialog-container"],["tabindex","-1"]],[[1,"id",0],[1,"role",0],[1,"aria-labelledby",0],[1,"aria-label",0],[1,"aria-describedby",0],[40,"@dialogContainer",0]],[["component","@dialogContainer.start"],["component","@dialogContainer.done"]],function(t,e,n){var o=!0;return"component:@dialogContainer.start"===e&&(o=!1!==or(t,1)._onAnimationStart(n)&&o),"component:@dialogContainer.done"===e&&(o=!1!==or(t,1)._onAnimationDone(n)&&o),o},Dx,Rx)),gr(1,49152,null,0,Ov,[mn,mh,An,[2,us],Cv],null,null)],null,function(t,e){t(e,0,0,or(e,1)._id,or(e,1)._config.role,or(e,1)._config.ariaLabel?null:or(e,1)._ariaLabelledBy,or(e,1)._config.ariaLabel,or(e,1)._config.ariaDescribedBy||null,or(e,1)._state)})}var zx,Lx=Yo("mat-dialog-container",Ov,Nx,{},{},[]),Fx=new Set,Vx=function(){function t(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):jx}return t.prototype.matchMedia=function(t){return this._platform.WEBKIT&&function(t){if(!Fx.has(t))try{zx||((zx=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(zx)),zx.sheet&&(zx.sheet.insertRule("@media "+t+" {.fx-query-test{ }}",0),Fx.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)},t.ngInjectableDef=wt({factory:function(){return new t(Vt(qf))},token:t,providedIn:"root"}),t}();function jx(t){return{matches:"all"===t||""===t,media:t,addListener:function(){},removeListener:function(){}}}var Bx=function(){function t(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new N}return t.prototype.ngOnDestroy=function(){this._destroySubject.next(),this._destroySubject.complete()},t.prototype.isMatched=function(t){var e=this;return Hx(Vf(t)).some(function(t){return e._registerQuery(t).mql.matches})},t.prototype.observe=function(t){var e=this;return tc(Hx(Vf(t)).map(function(t){return e._registerQuery(t).observable})).pipe(rh(0,fy),K(function(t){var e={matches:!1,breakpoints:{}};return t.forEach(function(t){e.matches=e.matches||t.matches,e.breakpoints[t.query]=t.matches}),e}))},t.prototype._registerQuery=function(t){var e=this;if(this._queries.has(t))return this._queries.get(t);var n=this._mediaMatcher.matchMedia(t),o={observable:new E(function(t){var o=function(n){return e._zone.run(function(){return t.next(n)})};return n.addListener(o),function(){n.removeListener(o)}}).pipe(Ic(n),K(function(e){return{query:t,matches:e.matches}}),Py(this._destroySubject)),mql:n};return this._queries.set(t,o),o},t.ngInjectableDef=wt({factory:function(){return new t(Vt(Vx),Vt(ua))},token:t,providedIn:"root"}),t}();function Hx(t){return t.map(function(t){return t.split(",")}).reduce(function(t,e){return t.concat(e)}).map(function(t){return t.trim()})}var Ux={XSmall:"(max-width: 599.99px)",Small:"(min-width: 600px) and (max-width: 959.99px)",Medium:"(min-width: 960px) and (max-width: 1279.99px)",Large:"(min-width: 1280px) and (max-width: 1919.99px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.99px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.99px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"},qx=20,Wx=new Bt("mat-tooltip-scroll-strategy");function Yx(t){return function(){return t.scrollStrategies.reposition({scrollThrottle:qx})}}var Gx=function(){function t(t,e){this._changeDetectorRef=t,this._breakpointObserver=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new N,this._isHandset=this._breakpointObserver.observe(Ux.Handset)}return t.prototype.show=function(t){var e=this;this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(function(){e._visibility="visible",e._showTimeoutId=null,e._markForCheck()},t)},t.prototype.hide=function(t){var e=this;this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(function(){e._visibility="hidden",e._hideTimeoutId=null,e._markForCheck()},t)},t.prototype.afterHidden=function(){return this._onHide.asObservable()},t.prototype.isVisible=function(){return"visible"===this._visibility},t.prototype.ngOnDestroy=function(){this._onHide.complete()},t.prototype._animationStart=function(){this._closeOnInteraction=!1},t.prototype._animationDone=function(t){var e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)},t.prototype._handleBodyInteraction=function(){this._closeOnInteraction&&this.hide(0)},t.prototype._markForCheck=function(){this._changeDetectorRef.markForCheck()},t}(),Zx=function(){return function(){}}(),Qx=ao({encapsulation:2,styles:[".mat-tooltip-panel{pointer-events:none!important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}@media (-ms-high-contrast:active){.mat-tooltip{outline:solid 1px}}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"initial, void, hidden",styles:{type:6,styles:{opacity:0,transform:"scale(0)"},offset:null},options:void 0},{type:0,name:"visible",styles:{type:6,styles:{transform:"scale(1)"},offset:null},options:void 0},{type:1,expr:"* => visible",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{opacity:0,transform:"scale(0)",offset:0},offset:null},{type:6,styles:{opacity:.5,transform:"scale(0.99)",offset:.5},offset:null},{type:6,styles:{opacity:1,transform:"scale(1)",offset:1},offset:null}]},timings:"200ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => hidden",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms cubic-bezier(0, 0, 0.2, 1)"},options:null}],options:{}}]}});function Kx(t){return ui(2,[(t()(),Ga(0,0,null,null,4,"div",[["class","mat-tooltip"]],[[2,"mat-tooltip-handset",null],[24,"@state",0]],[[null,"@state.start"],[null,"@state.done"]],function(t,e,n){var o=!0,r=t.component;return"@state.start"===e&&(o=!1!==r._animationStart()&&o),"@state.done"===e&&(o=!1!==r._animationDone(n)&&o),o},null,null)),_r(512,null,ql,Wl,[In,Rn,mn,_n]),gr(2,278528,null,0,Yl,[ql],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),br(131072,ss,[An]),(t()(),li(4,null,["",""]))],function(t,e){t(e,2,0,"mat-tooltip",e.component.tooltipClass)},function(t,e){var n,o=e.component;t(e,0,0,null==(n=no(e,0,0,or(e,3).transform(o._isHandset)))?null:n.matches,o._visibility),t(e,4,0,o.message)})}function Xx(t){return ui(0,[(t()(),Ga(0,0,null,null,1,"mat-tooltip-component",[["aria-hidden","true"]],[[4,"zoom",null]],[["body","click"]],function(t,e,n){var o=!0;return"body:click"===e&&(o=!1!==or(t,1)._handleBodyInteraction()&&o),o},Kx,Qx)),gr(1,180224,null,0,Gx,[An,Bx],null,null)],null,function(t,e){t(e,0,0,"visible"===or(e,1)._visibility?1:null)})}var $x=Yo("mat-tooltip-component",Gx,Xx,{},{},[]),Jx=100,tw=Ph(function(){return function(t){this._elementRef=t}}(),"primary"),ew=new Bt("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:Jx}}}),nw=function(t){function e(e,n,o,r,a){var i=t.call(this,e,n,o,r,a)||this;return i.mode="indeterminate",i}return r(e,t),e}(function(t){function e(n,o,r,a,i){var l=t.call(this,n)||this;l._elementRef=n,l._document=r,l._value=0,l._fallbackAnimation=!1,l._diameter=Jx,l.mode="determinate";var s=e._diameters;return s.has(r.head)||s.set(r.head,new Set([Jx])),l._styleRoot=function(t,e){if("undefined"!=typeof window){var n=e.head;if(n&&(n.createShadowRoot||n.attachShadow)){var o=t.getRootNode?t.getRootNode():null;if(o instanceof window.ShadowRoot)return o}}return null}(n.nativeElement,r)||r.head,l._fallbackAnimation=o.EDGE||o.TRIDENT,l._noopAnimations="NoopAnimations"===a&&!!i&&!i._forceAnimations,i&&(i.diameter&&(l.diameter=i.diameter),i.strokeWidth&&(l.strokeWidth=i.strokeWidth)),n.nativeElement.classList.add("mat-progress-spinner-indeterminate"+(l._fallbackAnimation?"-fallback":"")+"-animation"),l}return r(e,t),Object.defineProperty(e.prototype,"diameter",{get:function(){return this._diameter},set:function(t){if(this._diameter=Ff(t),!this._fallbackAnimation){var n=e._diameters.get(this._styleRoot);n&&n.has(this._diameter)||this._attachStyleNode()}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeWidth",{get:function(){return this._strokeWidth||this.diameter/10},set:function(t){this._strokeWidth=Ff(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return"determinate"===this.mode?this._value:0},set:function(t){this._value=Math.max(0,Math.min(100,Ff(t)))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_circleRadius",{get:function(){return(this.diameter-10)/2},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_viewBox",{get:function(){var t=2*this._circleRadius+this.strokeWidth;return"0 0 "+t+" "+t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_strokeCircumference",{get:function(){return 2*Math.PI*this._circleRadius},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_strokeDashOffset",{get:function(){return"determinate"===this.mode?this._strokeCircumference*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._strokeCircumference:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_circleStrokeWidth",{get:function(){return this.strokeWidth/this.diameter*100},enumerable:!0,configurable:!0}),e.prototype._attachStyleNode=function(){var t=this._document.createElement("style"),n=this._styleRoot,o=this._diameter,r=e._diameters,a=r.get(n);t.setAttribute("mat-spinner-animation",o+""),t.textContent=this._getAnimationText(),n.appendChild(t),a||(a=new Set,r.set(n,a)),a.add(o)},e.prototype._getAnimationText=function(){return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*this._strokeCircumference).replace(/END_VALUE/g,""+.2*this._strokeCircumference).replace(/DIAMETER/g,""+this.diameter)},e._diameters=new WeakMap,e}(tw)),ow=function(){return function(){}}(),rw=ao({encapsulation:2,styles:[".mat-progress-spinner{display:block;position:relative}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2s linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4s;animation-timing-function:cubic-bezier(.35,0,.25,1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{animation:mat-progress-spinner-stroke-rotate-fallback 10s cubic-bezier(.87,.03,.33,1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.60617px;transform:rotate(0)}12.5%{stroke-dashoffset:56.54867px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.60617px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.54867px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.60617px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.54867px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.60617px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.54867px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}"],data:{}});function aw(t){return ui(0,[(t()(),Ga(0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"animation-name",null],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,function(t,e){var n=e.component;t(e,0,0,n._circleRadius,"mat-progress-spinner-stroke-rotate-"+n.diameter,n._strokeDashOffset,n._strokeCircumference,n._circleStrokeWidth)})}function iw(t){return ui(0,[(t()(),Ga(0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,function(t,e){var n=e.component;t(e,0,0,n._circleRadius,n._strokeDashOffset,n._strokeCircumference,n._circleStrokeWidth)})}function lw(t){return ui(2,[(t()(),Ga(0,0,null,null,5,":svg:svg",[["focusable","false"],["preserveAspectRatio","xMidYMid meet"]],[[4,"width","px"],[4,"height","px"],[1,"viewBox",0]],null,null,null,null)),gr(1,16384,null,0,ts,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),Ya(16777216,null,null,1,null,aw)),gr(3,278528,null,0,es,[jn,Fn,ts],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Ya(16777216,null,null,1,null,iw)),gr(5,278528,null,0,es,[jn,Fn,ts],{ngSwitchCase:[0,"ngSwitchCase"]},null)],function(t,e){t(e,1,0,"indeterminate"===e.component.mode),t(e,3,0,!0),t(e,5,0,!1)},function(t,e){var n=e.component;t(e,0,0,n.diameter,n.diameter,n._viewBox)})}var sw=ao({encapsulation:0,styles:[[".transparent[_ngcontent-%COMP%] .mat-dialog-container[_ngcontent-%COMP%]{box-shadow:none;background:rgba(0,0,0,0)}.message-viewport[_ngcontent-%COMP%]{height:130px;width:400px;border:1px solid #000}.message-item[_ngcontent-%COMP%]{height:20px;font-size:10px}"]],data:{}});function cw(t){return ui(0,[(t()(),Ga(0,0,null,null,1,"div",[["class","message-item"]],null,null,null,null,null)),(t()(),li(1,null,["",""]))],null,function(t,e){t(e,1,0,e.context.$implicit)})}function uw(t){return ui(2,[(t()(),Ga(0,0,null,null,12,"div",[["layout","row"],["layout-align","center"]],null,null,null,null,null)),(t()(),Ga(1,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),Ga(2,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:0 auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,lw,rw)),gr(3,49152,null,0,nw,[mn,qf,[2,us],[2,H_],ew],null,null),(t()(),Ga(4,0,null,null,1,"p",[["align","center"]],null,null,null,null,null)),(t()(),li(5,null,["",""])),(t()(),Ga(6,0,null,null,6,"cdk-virtual-scroll-viewport",[["class","message-viewport cdk-virtual-scroll-viewport"],["itemSize","10"]],[[2,"cdk-virtual-scroll-orientation-horizontal",null],[2,"cdk-virtual-scroll-orientation-vertical",null]],null,null,HO,BO)),_r(6144,null,By,null,[Uy]),gr(8,540672,null,0,Vy,[],{itemSize:[0,"itemSize"]},null),_r(1024,null,zy,Fy,[Vy]),gr(10,245760,null,0,Uy,[mn,An,ua,[2,zy],[2,Nf],jy],null,null),(t()(),Ya(16777216,null,0,1,null,cw)),gr(12,409600,null,0,Wy,[jn,Fn,In,[1,Uy],ua],{cdkVirtualForOf:[0,"cdkVirtualForOf"]},null)],function(t,e){var n=e.component;t(e,8,0,"10"),t(e,10,0),t(e,12,0,n.messages.slice().reverse())},function(t,e){var n=e.component;t(e,2,0,or(e,3)._noopAnimations,or(e,3).diameter,or(e,3).diameter),t(e,5,0,n.mainText),t(e,6,0,"horizontal"===or(e,10).orientation,"horizontal"!==or(e,10).orientation)})}function dw(t){return ui(0,[(t()(),Ga(0,0,null,null,1,"app-progress-spinner-dialog",[],null,null,null,uw,sw)),gr(1,114688,null,0,lf,[xv,wv,Hm,An,af],null,null)],function(t,e){t(e,1,0)},null)}var pw=Yo("app-progress-spinner-dialog",lf,dw,{},{},[]),mw=function(){return function(){}}();function fw(t){return Error("A hint was already declared for 'align=\""+t+"\"'.")}var hw=0,gw=Ph(function(){return function(t){this._elementRef=t}}(),"primary"),bw=new Bt("MAT_FORM_FIELD_DEFAULT_OPTIONS"),_w=function(t){function e(e,n,o,r,a,i,l,s){var c=t.call(this,e)||this;return c._elementRef=e,c._changeDetectorRef=n,c._dir=r,c._defaults=a,c._platform=i,c._ngZone=l,c._outlineGapCalculationNeededImmediately=!1,c._outlineGapCalculationNeededOnStable=!1,c._destroyed=new N,c._showAlwaysAnimate=!1,c._subscriptAnimationState="",c._hintLabel="",c._hintLabelId="mat-hint-"+hw++,c._labelId="mat-form-field-label-"+hw++,c._labelOptions=o||{},c.floatLabel=c._labelOptions.float||"auto",c._animationsEnabled="NoopAnimations"!==s,c.appearance=a&&a.appearance?a.appearance:"legacy",c}return r(e,t),Object.defineProperty(e.prototype,"appearance",{get:function(){return this._appearance},set:function(t){var e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hideRequiredMarker",{get:function(){return this._hideRequiredMarker},set:function(t){this._hideRequiredMarker=Lf(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_shouldAlwaysFloat",{get:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_canLabelFloat",{get:function(){return"never"!==this.floatLabel},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hintLabel",{get:function(){return this._hintLabel},set:function(t){this._hintLabel=t,this._processHints()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"floatLabel",{get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(t){t!==this._floatLabel&&(this._floatLabel=t||this._labelOptions.float||"auto",this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_control",{get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(t){this._explicitFormFieldControl=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_labelChild",{get:function(){return this._labelChildNonStatic||this._labelChildStatic},enumerable:!0,configurable:!0}),e.prototype.getConnectedOverlayOrigin=function(){return this._connectionContainerRef||this._elementRef},e.prototype.ngAfterContentInit=function(){var t=this;this._validateControlChild();var e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+e.controlType),e.stateChanges.pipe(Ic(null)).subscribe(function(){t._validatePlaceholders(),t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(Py(this._destroyed)).subscribe(function(){return t._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){t._ngZone.onStable.asObservable().pipe(Py(t._destroyed)).subscribe(function(){t._outlineGapCalculationNeededOnStable&&t.updateOutlineGap()})}),it(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){t._outlineGapCalculationNeededOnStable=!0,t._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Ic(null)).subscribe(function(){t._processHints(),t._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Ic(null)).subscribe(function(){t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Py(this._destroyed)).subscribe(function(){return t.updateOutlineGap()})},e.prototype.ngAfterContentChecked=function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()},e.prototype.ngAfterViewInit=function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()},e.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},e.prototype._shouldForward=function(t){var e=this._control?this._control.ngControl:null;return e&&e[t]},e.prototype._hasPlaceholder=function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)},e.prototype._hasLabel=function(){return!!this._labelChild},e.prototype._shouldLabelFloat=function(){return this._canLabelFloat&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat)},e.prototype._hideControlPlaceholder=function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()},e.prototype._hasFloatingLabel=function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()},e.prototype._getDisplayedMessages=function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"},e.prototype._animateAndLockLabel=function(){var t=this;this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&(this._showAlwaysAnimate=!0,sy(this._label.nativeElement,"transitionend").pipe(Pc(1)).subscribe(function(){t._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())},e.prototype._validatePlaceholders=function(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")},e.prototype._processHints=function(){this._validateHints(),this._syncDescribedByIds()},e.prototype._validateHints=function(){var t,e,n=this;this._hintChildren&&this._hintChildren.forEach(function(o){if("start"===o.align){if(t||n.hintLabel)throw fw("start");t=o}else if("end"===o.align){if(e)throw fw("end");e=o}})},e.prototype._syncDescribedByIds=function(){if(this._control){var t=[];if("hint"===this._getDisplayedMessages()){var e=this._hintChildren?this._hintChildren.find(function(t){return"start"===t.align}):null,n=this._hintChildren?this._hintChildren.find(function(t){return"end"===t.align}):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&(t=this._errorChildren.map(function(t){return t.id}));this._control.setDescribedByIds(t)}},e.prototype._validateControlChild=function(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")},e.prototype.updateOutlineGap=function(){var t=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&t&&t.children.length&&t.textContent.trim()&&this._platform.isBrowser)if(document.documentElement.contains(this._elementRef.nativeElement)){var e=0,n=0,o=this._connectionContainerRef.nativeElement,r=o.querySelectorAll(".mat-form-field-outline-start"),a=o.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var i=o.getBoundingClientRect();if(0===i.width&&0===i.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var l=this._getStartEnd(i),s=this._getStartEnd(t.children[0].getBoundingClientRect()),c=0,u=0,d=t.children;u0?.75*c+10:0}for(var p=0;p enter",animation:[{type:6,styles:{opacity:0,transform:"translateY(-100%)"},offset:null},{type:4,styles:null,timings:"300ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function Cw(t){return ui(0,[(t()(),Ga(0,0,null,null,8,null,null,null,null,null,null,null)),(t()(),Ga(1,0,null,null,3,"div",[["class","mat-form-field-outline"]],null,null,null,null,null)),(t()(),Ga(2,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(t()(),Ga(3,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(t()(),Ga(4,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null)),(t()(),Ga(5,0,null,null,3,"div",[["class","mat-form-field-outline mat-form-field-outline-thick"]],null,null,null,null,null)),(t()(),Ga(6,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(t()(),Ga(7,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(t()(),Ga(8,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null))],null,null)}function Pw(t){return ui(0,[(t()(),Ga(0,0,null,null,1,"div",[["class","mat-form-field-prefix"]],null,null,null,null,null)),oi(null,0)],null,null)}function Ow(t){return ui(0,[(t()(),Ga(0,0,null,null,2,null,null,null,null,null,null,null)),oi(null,2),(t()(),li(2,null,["",""]))],null,function(t,e){t(e,2,0,e.component._control.placeholder)})}function Mw(t){return ui(0,[oi(null,3),(t()(),Ya(0,null,null,0))],null,null)}function xw(t){return ui(0,[(t()(),Ga(0,0,null,null,1,"span",[["aria-hidden","true"],["class","mat-placeholder-required mat-form-field-required-marker"]],null,null,null,null,null)),(t()(),li(-1,null,[" *"]))],null,null)}function ww(t){return ui(0,[(t()(),Ga(0,0,[[4,0],["label",1]],null,8,"label",[["class","mat-form-field-label"]],[[8,"id",0],[1,"for",0],[1,"aria-owns",0],[2,"mat-empty",null],[2,"mat-form-field-empty",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"cdkObserveContent"]],function(t,e,n){var o=!0;return"cdkObserveContent"===e&&(o=!1!==t.component.updateOutlineGap()&&o),o},null,null)),gr(1,16384,null,0,ts,[],{ngSwitch:[0,"ngSwitch"]},null),gr(2,1196032,null,0,WC,[qC,mn,ua],{disabled:[0,"disabled"]},{event:"cdkObserveContent"}),(t()(),Ya(16777216,null,null,1,null,Ow)),gr(4,278528,null,0,es,[jn,Fn,ts],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Ya(16777216,null,null,1,null,Mw)),gr(6,278528,null,0,es,[jn,Fn,ts],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Ya(16777216,null,null,1,null,xw)),gr(8,16384,null,0,Kl,[jn,Fn],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,1,0,n._hasLabel()),t(e,2,0,"outline"!=n.appearance),t(e,4,0,!1),t(e,6,0,!0),t(e,8,0,!n.hideRequiredMarker&&n._control.required&&!n._control.disabled)},function(t,e){var n=e.component;t(e,0,0,n._labelId,n._control.id,n._control.id,n._control.empty&&!n._shouldAlwaysFloat,n._control.empty&&!n._shouldAlwaysFloat,"accent"==n.color,"warn"==n.color)})}function kw(t){return ui(0,[(t()(),Ga(0,0,null,null,1,"div",[["class","mat-form-field-suffix"]],null,null,null,null,null)),oi(null,4)],null,null)}function Sw(t){return ui(0,[(t()(),Ga(0,0,[[1,0],["underline",1]],null,1,"div",[["class","mat-form-field-underline"]],null,null,null,null,null)),(t()(),Ga(1,0,null,null,0,"span",[["class","mat-form-field-ripple"]],[[2,"mat-accent",null],[2,"mat-warn",null]],null,null,null,null))],null,function(t,e){var n=e.component;t(e,1,0,"accent"==n.color,"warn"==n.color)})}function Ew(t){return ui(0,[(t()(),Ga(0,0,null,null,1,"div",[],[[24,"@transitionMessages",0]],null,null,null,null)),oi(null,5)],null,function(t,e){t(e,0,0,e.component._subscriptAnimationState)})}function Tw(t){return ui(0,[(t()(),Ga(0,0,null,null,1,"div",[["class","mat-hint"]],[[8,"id",0]],null,null,null,null)),(t()(),li(1,null,["",""]))],null,function(t,e){var n=e.component;t(e,0,0,n._hintLabelId),t(e,1,0,n.hintLabel)})}function Iw(t){return ui(0,[(t()(),Ga(0,0,null,null,5,"div",[["class","mat-form-field-hint-wrapper"]],[[24,"@transitionMessages",0]],null,null,null,null)),(t()(),Ya(16777216,null,null,1,null,Tw)),gr(2,16384,null,0,Kl,[jn,Fn],{ngIf:[0,"ngIf"]},null),oi(null,6),(t()(),Ga(4,0,null,null,0,"div",[["class","mat-form-field-hint-spacer"]],null,null,null,null,null)),oi(null,7)],function(t,e){t(e,2,0,e.component.hintLabel)},function(t,e){t(e,0,0,e.component._subscriptAnimationState)})}function Rw(t){return ui(2,[$a(671088640,1,{underlineRef:0}),$a(402653184,2,{_connectionContainerRef:0}),$a(671088640,3,{_inputContainerRef:0}),$a(671088640,4,{_label:0}),(t()(),Ga(4,0,null,null,20,"div",[["class","mat-form-field-wrapper"]],null,null,null,null,null)),(t()(),Ga(5,0,[[2,0],["connectionContainer",1]],null,11,"div",[["class","mat-form-field-flex"]],null,[[null,"click"]],function(t,e,n){var o=!0,r=t.component;return"click"===e&&(o=!1!==(r._control.onContainerClick&&r._control.onContainerClick(n))&&o),o},null,null)),(t()(),Ya(16777216,null,null,1,null,Cw)),gr(7,16384,null,0,Kl,[jn,Fn],{ngIf:[0,"ngIf"]},null),(t()(),Ya(16777216,null,null,1,null,Pw)),gr(9,16384,null,0,Kl,[jn,Fn],{ngIf:[0,"ngIf"]},null),(t()(),Ga(10,0,[[3,0],["inputContainer",1]],null,4,"div",[["class","mat-form-field-infix"]],null,null,null,null,null)),oi(null,1),(t()(),Ga(12,0,null,null,2,"span",[["class","mat-form-field-label-wrapper"]],null,null,null,null,null)),(t()(),Ya(16777216,null,null,1,null,ww)),gr(14,16384,null,0,Kl,[jn,Fn],{ngIf:[0,"ngIf"]},null),(t()(),Ya(16777216,null,null,1,null,kw)),gr(16,16384,null,0,Kl,[jn,Fn],{ngIf:[0,"ngIf"]},null),(t()(),Ya(16777216,null,null,1,null,Sw)),gr(18,16384,null,0,Kl,[jn,Fn],{ngIf:[0,"ngIf"]},null),(t()(),Ga(19,0,null,null,5,"div",[["class","mat-form-field-subscript-wrapper"]],null,null,null,null,null)),gr(20,16384,null,0,ts,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),Ya(16777216,null,null,1,null,Ew)),gr(22,278528,null,0,es,[jn,Fn,ts],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Ya(16777216,null,null,1,null,Iw)),gr(24,278528,null,0,es,[jn,Fn,ts],{ngSwitchCase:[0,"ngSwitchCase"]},null)],function(t,e){var n=e.component;t(e,7,0,"outline"==n.appearance),t(e,9,0,n._prefixChildren.length),t(e,14,0,n._hasFloatingLabel()),t(e,16,0,n._suffixChildren.length),t(e,18,0,"outline"!=n.appearance),t(e,20,0,n._getDisplayedMessages()),t(e,22,0,"error"),t(e,24,0,"hint")},null)}var Aw=Zf({passive:!0}),Dw=function(){function t(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}return t.prototype.monitor=function(t){var e=this;if(!this._platform.isBrowser)return vl;var n=Bf(t),o=this._monitoredElements.get(n);if(o)return o.subject.asObservable();var r=new N,a="cdk-text-field-autofilled",i=function(t){"cdk-text-field-autofill-start"!==t.animationName||n.classList.contains(a)?"cdk-text-field-autofill-end"===t.animationName&&n.classList.contains(a)&&(n.classList.remove(a),e._ngZone.run(function(){return r.next({target:t.target,isAutofilled:!1})})):(n.classList.add(a),e._ngZone.run(function(){return r.next({target:t.target,isAutofilled:!0})}))};return this._ngZone.runOutsideAngular(function(){n.addEventListener("animationstart",i,Aw),n.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(n,{subject:r,unlisten:function(){n.removeEventListener("animationstart",i,Aw)}}),r.asObservable()},t.prototype.stopMonitoring=function(t){var e=Bf(t),n=this._monitoredElements.get(e);n&&(n.unlisten(),n.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))},t.prototype.ngOnDestroy=function(){var t=this;this._monitoredElements.forEach(function(e,n){return t.stopMonitoring(n)})},t.ngInjectableDef=wt({factory:function(){return new t(Vt(qf),Vt(ua))},token:t,providedIn:"root"}),t}(),Nw=function(){return function(){}}(),zw=["button","checkbox","file","hidden","image","radio","range","reset","submit"],Lw=0,Fw=function(t){function e(e,n,o,r,a,i,l,s,c){var u=t.call(this,i,r,a,o)||this;u._elementRef=e,u._platform=n,u.ngControl=o,u._autofillMonitor=s,u._uid="mat-input-"+Lw++,u._isServer=!1,u._isNativeSelect=!1,u.focused=!1,u.stateChanges=new N,u.controlType="mat-input",u.autofilled=!1,u._disabled=!1,u._required=!1,u._type="text",u._readonly=!1,u._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(function(t){return Gf().has(t)});var d=u._elementRef.nativeElement;return u._inputValueAccessor=l||d,u._previousNativeValue=u.value,u.id=u.id,n.IOS&&c.runOutsideAngular(function(){e.nativeElement.addEventListener("keyup",function(t){var e=t.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),u._isServer=!u._platform.isBrowser,u._isNativeSelect="select"===d.nodeName.toLowerCase(),u._isNativeSelect&&(u.controlType=d.multiple?"mat-native-select-multiple":"mat-native-select"),u}return r(e,t),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(t){this._disabled=Lf(t),this.focused&&(this.focused=!1,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t||this._uid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(t){this._required=Lf(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this._type},set:function(t){this._type=t||"text",this._validateType(),!this._isTextarea()&&Gf().has(this._type)&&(this._elementRef.nativeElement.type=this._type)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._inputValueAccessor.value},set:function(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readonly",{get:function(){return this._readonly},set:function(t){this._readonly=Lf(t)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var t=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(function(e){t.autofilled=e.isAutofilled,t.stateChanges.next()})},e.prototype.ngOnChanges=function(){this.stateChanges.next()},e.prototype.ngOnDestroy=function(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)},e.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()},e.prototype.focus=function(){this._elementRef.nativeElement.focus()},e.prototype._focusChanged=function(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())},e.prototype._onInput=function(){},e.prototype._dirtyCheckNativeValue=function(){var t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())},e.prototype._validateType=function(){if(zw.indexOf(this._type)>-1)throw Error('Input type "'+this._type+"\" isn't supported by matInput.")},e.prototype._isNeverEmpty=function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1},e.prototype._isBadInput=function(){var t=this._elementRef.nativeElement.validity;return t&&t.badInput},e.prototype._isTextarea=function(){return"textarea"===this._elementRef.nativeElement.nodeName.toLowerCase()},Object.defineProperty(e.prototype,"empty",{get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shouldLabelFloat",{get:function(){if(this._isNativeSelect){var t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty},enumerable:!0,configurable:!0}),e.prototype.setDescribedByIds=function(t){this._ariaDescribedby=t.join(" ")},e.prototype.onContainerClick=function(){this.focused||this.focus()},e}(xh(function(){return function(t,e,n,o){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=o}}())),Vw=function(){return function(){}}(),jw=ao({encapsulation:0,styles:[[".coverContainer[_ngcontent-%COMP%]{width:150px;height:150px;display:inline-block}.coverPlaceholder[_ngcontent-%COMP%]{color:gray;font-size:12px}.cover[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;top:0;left:0;background-size:100% 100%}.deleteButton[_ngcontent-%COMP%]{margin-right:0;margin-left:310px;margin-top:-20px}"]],data:{}});function Bw(t){return ui(0,[(t()(),Ga(0,0,null,null,3,"button",[["class","deleteButton"],["color","warn"],["fast-click",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==t.component.clickDelete()&&o),o},W_,q_)),gr(1,180224,null,0,fg,[mn,gh,[2,H_]],{color:[0,"color"]},null),gr(2,16384,null,0,Y_,[mn],null,null),(t()(),li(-1,0,["Delete"]))],function(t,e){t(e,1,0,"warn")},function(t,e){t(e,0,0,or(e,1).disabled||null,"NoopAnimations"===or(e,1)._animationMode)})}function Hw(t){return ui(0,[(t()(),Ya(16777216,null,null,1,null,Bw)),gr(1,16384,null,0,Kl,[jn,Fn],{ngIf:[0,"ngIf"]},null),(t()(),Ga(2,0,null,null,67,"mat-card",[["class","setup-card mat-card"]],null,null,null,Uh,Hh)),gr(3,49152,null,0,If,[],null,null),(t()(),Ga(4,0,null,0,52,"mat-card-header",[["class","mat-card-header"]],null,null,null,Wh,qh)),gr(5,49152,null,0,Rf,[],null,null),(t()(),Ga(6,0,[["file",1]],2,0,"input",[["accept","image/*"],["hidden",""],["type","file"]],null,[[null,"change"]],function(t,e,n){var o=!0;return"change"===e&&(o=!1!==t.component.loadCover(or(t,6).files)&&o),o},null,null)),(t()(),Ga(7,0,null,2,5,"button",[["class","coverContainer"],["fast-click",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==or(t,6).click()&&o),o},W_,q_)),gr(8,180224,null,0,fg,[mn,gh,[2,H_]],null,null),gr(9,16384,null,0,Y_,[mn],null,null),(t()(),Ga(10,0,null,0,1,"div",[["class","coverPlaceholder"]],null,null,null,null,null)),(t()(),li(-1,null,["Choose Cover Image"])),(t()(),Ga(12,0,null,0,0,"img",[["class","cover"]],[[4,"background-image",null]],null,null,null,null)),(t()(),Ga(13,0,null,1,20,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),gr(14,16384,null,0,kf,[],null,null),(t()(),Ga(15,0,null,null,18,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,Rw,vw)),gr(16,7520256,null,9,_w,[mn,An,[2,Bh],[2,Nf],[2,bw],qf,ua,[2,H_]],null,null),$a(603979776,1,{_controlNonStatic:0}),$a(335544320,2,{_controlStatic:0}),$a(603979776,3,{_labelChildNonStatic:0}),$a(335544320,4,{_labelChildStatic:0}),$a(603979776,5,{_placeholderChild:0}),$a(603979776,6,{_errorChildren:1}),$a(603979776,7,{_hintChildren:1}),$a(603979776,8,{_prefixChildren:1}),$a(603979776,9,{_suffixChildren:1}),(t()(),Ga(26,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Playlist Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(t,e,n){var o=!0,r=t.component;return"input"===e&&(o=!1!==or(t,27)._handleInput(n.target.value)&&o),"blur"===e&&(o=!1!==or(t,27).onTouched()&&o),"compositionstart"===e&&(o=!1!==or(t,27)._compositionStart()&&o),"compositionend"===e&&(o=!1!==or(t,27)._compositionEnd(n.target.value)&&o),"blur"===e&&(o=!1!==or(t,32)._focusChanged(!1)&&o),"focus"===e&&(o=!1!==or(t,32)._focusChanged(!0)&&o),"input"===e&&(o=!1!==or(t,32)._onInput()&&o),"ngModelChange"===e&&(o=!1!==(r.data.playlist.PlaylistName=n)&&o),o},null,null)),gr(27,16384,null,0,CM,[_n,mn,[2,vM]],null,null),_r(1024,null,_M,function(t){return[t]},[CM]),gr(29,671744,null,0,hx,[[8,null],[8,null],[8,null],[6,_M]],{model:[0,"model"]},{update:"ngModelChange"}),_r(2048,null,xM,null,[hx]),gr(31,16384,null,0,wM,[[4,xM]],null,null),gr(32,999424,null,0,Fw,[mn,qf,[6,xM],[2,cx],[2,bx],wh,[8,null],Dw,ua],{placeholder:[0,"placeholder"]},null),_r(2048,[[1,4],[2,4]],mw,null,[Fw]),(t()(),Ga(34,0,null,1,22,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),gr(35,16384,null,0,Sf,[],null,null),(t()(),Ga(36,0,null,null,20,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,Rw,vw)),gr(37,7520256,null,9,_w,[mn,An,[2,Bh],[2,Nf],[2,bw],qf,ua,[2,H_]],null,null),$a(603979776,10,{_controlNonStatic:0}),$a(335544320,11,{_controlStatic:0}),$a(603979776,12,{_labelChildNonStatic:0}),$a(335544320,13,{_labelChildStatic:0}),$a(603979776,14,{_placeholderChild:0}),$a(603979776,15,{_errorChildren:1}),$a(603979776,16,{_hintChildren:1}),$a(603979776,17,{_prefixChildren:1}),$a(603979776,18,{_suffixChildren:1}),(t()(),Ga(47,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["pattern","[a-zA-Z0-9]"]],[[1,"readonly",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(t,e,n){var o=!0,r=t.component;return"input"===e&&(o=!1!==or(t,48)._handleInput(n.target.value)&&o),"blur"===e&&(o=!1!==or(t,48).onTouched()&&o),"compositionstart"===e&&(o=!1!==or(t,48)._compositionStart()&&o),"compositionend"===e&&(o=!1!==or(t,48)._compositionEnd(n.target.value)&&o),"blur"===e&&(o=!1!==or(t,55)._focusChanged(!1)&&o),"focus"===e&&(o=!1!==or(t,55)._focusChanged(!0)&&o),"input"===e&&(o=!1!==or(t,55)._onInput()&&o),"ngModelChange"===e&&(o=!1!==(r.data.playlist.PlaylistID=n)&&o),o},null,null)),gr(48,16384,null,0,CM,[_n,mn,[2,vM]],null,null),gr(49,540672,null,0,_x,[],{pattern:[0,"pattern"]},null),_r(1024,null,SM,function(t){return[t]},[_x]),_r(1024,null,_M,function(t){return[t]},[CM]),gr(52,671744,null,0,hx,[[8,null],[6,SM],[8,null],[6,_M]],{model:[0,"model"]},{update:"ngModelChange"}),_r(2048,null,xM,null,[hx]),gr(54,16384,null,0,wM,[[4,xM]],null,null),gr(55,999424,null,0,Fw,[mn,qf,[6,xM],[2,cx],[2,bx],wh,[8,null],Dw,ua],{placeholder:[0,"placeholder"]},null),_r(2048,[[10,4],[11,4]],mw,null,[Fw]),(t()(),Ga(57,0,null,0,1,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),gr(58,16384,null,0,wf,[],null,null),(t()(),Ga(59,0,null,0,10,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),gr(60,16384,null,0,Ef,[],null,null),(t()(),Ga(61,0,null,null,3,"button",[["color","accent"],["fast-click",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==t.component.clickSave()&&o),o},W_,q_)),gr(62,180224,null,0,fg,[mn,gh,[2,H_]],{color:[0,"color"]},null),gr(63,16384,null,0,Y_,[mn],null,null),(t()(),li(-1,0,["Save"])),(t()(),Ga(65,0,null,null,0,"div",[["style","display: inline-block; width: 50%"]],null,null,null,null,null)),(t()(),Ga(66,0,null,null,3,"button",[["fast-click",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==t.component.clickCancel()&&o),o},W_,q_)),gr(67,180224,null,0,fg,[mn,gh,[2,H_]],null,null),gr(68,16384,null,0,Y_,[mn],null,null),(t()(),li(-1,0,["Cancel"]))],function(t,e){var n=e.component;t(e,1,0,!n.data.isNew),t(e,29,0,n.data.playlist.PlaylistName),t(e,32,0,"Playlist Name"),t(e,49,0,"[a-zA-Z0-9]"),t(e,52,0,n.data.playlist.PlaylistID),t(e,55,0,n.makeAutoID(n.data.playlist.PlaylistName)),t(e,62,0,"accent")},function(t,e){var n=e.component;t(e,7,0,or(e,8).disabled||null,"NoopAnimations"===or(e,8)._animationMode),t(e,12,0,n.getCover()),t(e,15,1,["standard"==or(e,16).appearance,"fill"==or(e,16).appearance,"outline"==or(e,16).appearance,"legacy"==or(e,16).appearance,or(e,16)._control.errorState,or(e,16)._canLabelFloat,or(e,16)._shouldLabelFloat(),or(e,16)._hasFloatingLabel(),or(e,16)._hideControlPlaceholder(),or(e,16)._control.disabled,or(e,16)._control.autofilled,or(e,16)._control.focused,"accent"==or(e,16).color,"warn"==or(e,16).color,or(e,16)._shouldForward("untouched"),or(e,16)._shouldForward("touched"),or(e,16)._shouldForward("pristine"),or(e,16)._shouldForward("dirty"),or(e,16)._shouldForward("valid"),or(e,16)._shouldForward("invalid"),or(e,16)._shouldForward("pending"),!or(e,16)._animationsEnabled]),t(e,26,1,[or(e,31).ngClassUntouched,or(e,31).ngClassTouched,or(e,31).ngClassPristine,or(e,31).ngClassDirty,or(e,31).ngClassValid,or(e,31).ngClassInvalid,or(e,31).ngClassPending,or(e,32)._isServer,or(e,32).id,or(e,32).placeholder,or(e,32).disabled,or(e,32).required,or(e,32).readonly&&!or(e,32)._isNativeSelect||null,or(e,32)._ariaDescribedby||null,or(e,32).errorState,or(e,32).required.toString()]),t(e,36,1,["standard"==or(e,37).appearance,"fill"==or(e,37).appearance,"outline"==or(e,37).appearance,"legacy"==or(e,37).appearance,or(e,37)._control.errorState,or(e,37)._canLabelFloat,or(e,37)._shouldLabelFloat(),or(e,37)._hasFloatingLabel(),or(e,37)._hideControlPlaceholder(),or(e,37)._control.disabled,or(e,37)._control.autofilled,or(e,37)._control.focused,"accent"==or(e,37).color,"warn"==or(e,37).color,or(e,37)._shouldForward("untouched"),or(e,37)._shouldForward("touched"),or(e,37)._shouldForward("pristine"),or(e,37)._shouldForward("dirty"),or(e,37)._shouldForward("valid"),or(e,37)._shouldForward("invalid"),or(e,37)._shouldForward("pending"),!or(e,37)._animationsEnabled]),t(e,47,1,[!n.data.isNew,or(e,49).pattern?or(e,49).pattern:null,or(e,54).ngClassUntouched,or(e,54).ngClassTouched,or(e,54).ngClassPristine,or(e,54).ngClassDirty,or(e,54).ngClassValid,or(e,54).ngClassInvalid,or(e,54).ngClassPending,or(e,55)._isServer,or(e,55).id,or(e,55).placeholder,or(e,55).disabled,or(e,55).required,or(e,55).readonly&&!or(e,55)._isNativeSelect||null,or(e,55)._ariaDescribedby||null,or(e,55).errorState,or(e,55).required.toString()]),t(e,59,0,"end"===or(e,60).align),t(e,61,0,or(e,62).disabled||null,"NoopAnimations"===or(e,62)._animationMode),t(e,66,0,or(e,67).disabled||null,"NoopAnimations"===or(e,67)._animationMode)})}function Uw(t){return ui(0,[(t()(),Ga(0,0,null,null,1,"app-add-edit-playlist-dialog",[],null,null,null,Hw,jw)),gr(1,114688,null,0,TO,[xv,wv],null,null)],function(t,e){t(e,1,0)},null)}var qw=Yo("app-add-edit-playlist-dialog",TO,Uw,{},{},[]),Ww=ao({encapsulation:0,styles:[[""]],data:{}});function Yw(t){return ui(0,[(t()(),Ga(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,Uh,Hh)),gr(1,49152,null,0,If,[],null,null),(t()(),Ga(2,0,null,0,7,"mat-card-header",[["class","mat-card-header"]],null,null,null,Wh,qh)),gr(3,49152,null,0,Rf,[],null,null),(t()(),Ga(4,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),gr(5,16384,null,0,kf,[],null,null),(t()(),li(6,null,["",""])),(t()(),Ga(7,0,null,1,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),gr(8,16384,null,0,Sf,[],null,null),(t()(),li(9,null,["",""])),(t()(),Ga(10,0,null,0,10,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),gr(11,16384,null,0,Ef,[],null,null),(t()(),Ga(12,0,null,null,3,"button",[["color","accent"],["fast-click",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==t.component.clickButton1()&&o),o},W_,q_)),gr(13,180224,null,0,fg,[mn,gh,[2,H_]],{color:[0,"color"]},null),gr(14,16384,null,0,Y_,[mn],null,null),(t()(),li(15,0,["",""])),(t()(),Ga(16,0,null,null,0,"div",[["style","display: inline-block; width: 50%"]],null,null,null,null,null)),(t()(),Ga(17,0,null,null,3,"button",[["fast-click",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==t.component.clickCancel()&&o),o},W_,q_)),gr(18,180224,null,0,fg,[mn,gh,[2,H_]],null,null),gr(19,16384,null,0,Y_,[mn],null,null),(t()(),li(-1,0,["Cancel"]))],function(t,e){t(e,13,0,"accent")},function(t,e){var n=e.component;t(e,6,0,n.data.title),t(e,9,0,n.data.subTitle),t(e,10,0,"end"===or(e,11).align),t(e,12,0,or(e,13).disabled||null,"NoopAnimations"===or(e,13)._animationMode),t(e,15,0,n.data.button1Text||"OK"),t(e,17,0,or(e,18).disabled||null,"NoopAnimations"===or(e,18)._animationMode)})}function Gw(t){return ui(0,[(t()(),Ga(0,0,null,null,1,"app-confirm-dialog",[],null,null,null,Yw,Ww)),gr(1,114688,null,0,qO,[xv,wv],null,null)],function(t,e){t(e,1,0)},null)}var Zw=Yo("app-confirm-dialog",qO,Gw,{},{},[]),Qw=function(){function t(t){this.msgSvc=t,this.downloads={Downloads:[]}}return t.prototype.ngOnInit=function(){var t=this;this.msgSvc.downloadStatusMessage.subscribe(function(e){console.log("got download update status message"),t.downloads=e})},t}(),Kw=ao({encapsulation:0,styles:[['@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28121em) scale(.75);transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}@-webkit-keyframes cdk-text-field-autofill-start{}@-webkit-keyframes cdk-text-field-autofill-end{}.mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-option[_ngcontent-%COMP%]{color:#fff}.mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple):not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:focus:not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:hover:not(.mat-option-disabled){background:rgba(255,255,255,.04)}.mat-option.mat-active[_ngcontent-%COMP%]{background:rgba(255,255,255,.04);color:#fff}.mat-option.mat-option-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-primary[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ad2c2c}.mat-accent[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#216bad}.mat-warn[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ff5722}.mat-optgroup-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-optgroup-disabled[_ngcontent-%COMP%] .mat-optgroup-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-pseudo-checkbox[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-pseudo-checkbox[_ngcontent-%COMP%]::after{color:#303030}.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{color:#686868}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%], .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#216bad}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ad2c2c}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ff5722}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{background:#686868}.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-app-background[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-theme-loaded-marker[_ngcontent-%COMP%]{display:none}.mat-autocomplete-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-autocomplete-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover){background:#424242}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#fff}@media (-ms-high-contrast:active){.mat-badge-content[_ngcontent-%COMP%]{outline:solid 1px;border-radius:0}.mat-checkbox-disabled[_ngcontent-%COMP%]{opacity:.5}}.mat-badge-accent[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-badge-warn[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ff5722}.mat-badge[_ngcontent-%COMP%]{position:relative}.mat-badge-hidden[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{display:none}.mat-badge-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#6e6e6e;color:rgba(255,255,255,.5)}.mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ad2c2c;position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out;-webkit-transform:scale(.6);transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;font-weight:600;font-size:12px;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-badge-content._mat-animation-noopable[_ngcontent-%COMP%], .ng-animate-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{transition:none}.mat-badge-content.mat-badge-active[_ngcontent-%COMP%]{-webkit-transform:none;transform:none}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:16px;height:16px;line-height:16px;font-size:9px}.mat-badge-small.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-8px}.mat-badge-small.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-8px}.mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-16px}.mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-8px}.mat-badge-medium[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-11px}.mat-badge-medium.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-11px}.mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-22px}.mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-11px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:28px;height:28px;line-height:28px;font-size:24px}.mat-badge-large.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-14px}.mat-badge-large.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-14px}.mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-28px}.mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-14px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{color:inherit;background:0 0}.mat-button.mat-primary[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-button[disabled][disabled][_ngcontent-%COMP%], .mat-icon-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-icon-button[disabled][disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-stroked-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ff5722}.mat-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:transparent}.mat-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{opacity:.1;background-color:currentColor}.mat-button-focus-overlay[_ngcontent-%COMP%]{background:#fff}.mat-stroked-button[_ngcontent-%COMP%]:not([disabled]){border-color:rgba(255,255,255,.12)}.mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%]{color:#fff;background-color:#424242}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{color:#fff}.mat-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-fab[disabled][disabled][_ngcontent-%COMP%], .mat-flat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-flat-button[disabled][disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-mini-fab[disabled][disabled][_ngcontent-%COMP%], .mat-raised-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-raised-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:rgba(255,255,255,.12)}.mat-fab.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-flat-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-stroked-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-raised-button[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-button-toggle-group[_ngcontent-%COMP%], .mat-button-toggle-standalone[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%], .mat-button-toggle-standalone.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{box-shadow:none;border:1px solid rgba(255,255,255,.12)}.mat-button-toggle[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-button-toggle[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff;background:#424242}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:#fff}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12)}[dir=rtl][_ngcontent-%COMP%] .mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:none;border-top:1px solid rgba(255,255,255,.12)}.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#212121;color:rgba(255,255,255,.7)}.mat-button-toggle-checked.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff}.mat-button-toggle-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:#000}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{background:#424242}.mat-button-toggle-disabled.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#424242}.mat-card[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-card[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-card.mat-card-flat[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-card-subtitle[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-checkbox-frame[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-checkbox-checkmark[_ngcontent-%COMP%]{fill:#303030}.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#303030!important}@media (-ms-high-contrast:black-on-white){.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#000!important}}.mat-checkbox-mixedmark[_ngcontent-%COMP%]{background-color:#303030}.mat-checkbox-checked.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-checkbox-checked.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#216bad}.mat-checkbox-checked.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ff5722}.mat-checkbox-disabled.mat-checkbox-checked[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-disabled.mat-checkbox-indeterminate[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%]:not(.mat-checkbox-checked) .mat-checkbox-frame[_ngcontent-%COMP%]{border-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}@media (-ms-high-contrast:active){.mat-checkbox-background[_ngcontent-%COMP%]{background:0 0}.mat-ripple-element[_ngcontent-%COMP%]{display:none}}.mat-checkbox[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%]{background:#ad2c2c}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%]{background:#216bad}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%]{background:#ff5722}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]{background-color:#616161;color:#fff}.mat-chip.mat-standard-chip[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled) .mat-chip-remove[_ngcontent-%COMP%]:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled[_ngcontent-%COMP%]{opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]::after{background:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-table[_ngcontent-%COMP%]{background:#424242}.mat-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%], .mat-table-sticky[_ngcontent-%COMP%], [mat-footer-row][_ngcontent-%COMP%], [mat-header-row][_ngcontent-%COMP%], [mat-row][_ngcontent-%COMP%], mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%]{background:inherit}mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%], td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{border-bottom-color:rgba(255,255,255,.12)}.mat-header-cell[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{color:#fff}.mat-calendar-arrow[_ngcontent-%COMP%]{border-top-color:#fff}.mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-next-button[_ngcontent-%COMP%], .mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-previous-button[_ngcontent-%COMP%], .mat-datepicker-toggle[_ngcontent-%COMP%]{color:#fff}.mat-calendar-table-header[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-calendar-table-header-divider[_ngcontent-%COMP%]::after{background:rgba(255,255,255,.12)}.mat-calendar-body-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-calendar-body-cell-content[_ngcontent-%COMP%]{color:#fff;border-color:transparent}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){color:rgba(255,255,255,.5)}.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .cdk-program-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .mat-calendar-body-cell[_ngcontent-%COMP%]:not(.mat-calendar-body-disabled):hover > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){background-color:rgba(255,255,255,.04)}.mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.5)}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.3)}.mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.4)}.mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#424242;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.4)}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.4)}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content-touch[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-datepicker-toggle-active[_ngcontent-%COMP%]{color:#ad2c2c}.mat-datepicker-toggle-active.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-datepicker-toggle-active.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-dialog-container[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-divider[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-divider-vertical[_ngcontent-%COMP%]{border-right-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-expansion-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-action-row[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-keyboard-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-program-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]):hover{background:rgba(255,255,255,.04)}@media (hover:none){.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header[_ngcontent-%COMP%]:hover{background:#424242}}.mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:#fff}.mat-expansion-indicator[_ngcontent-%COMP%]::after, .mat-expansion-panel-header-description[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%], .mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:inherit}.mat-form-field-label[_ngcontent-%COMP%], .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-focused[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#fff}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid) .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ad2c2c}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#216bad}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#ff5722}.mat-error[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7);bottom:1.25em}.mat-form-field-appearance-legacy.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7)}.mat-form-field-appearance-standard.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.05)}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:transparent}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#fff}.mat-form-field-appearance-outline.mat-focused[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field-appearance-outline.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-appearance-outline.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.15)}.mat-icon.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-icon.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-icon.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-type-mat-native-select[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:rgba(255,255,255,.7)}.mat-form-field-type-mat-native-select.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-input-element[_ngcontent-%COMP%]:disabled{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]{caret-color:#ad2c2c}.mat-input-element[_ngcontent-%COMP%]::-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-moz-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-webkit-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]{color:rgba(0,0,0,.87)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]:disabled{color:rgba(0,0,0,.38)}.mat-accent[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#216bad}.mat-form-field-invalid[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#ff5722}.mat-form-field-type-mat-native-select.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ff5722}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%], .mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{color:#fff}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-list-item-disabled[_ngcontent-%COMP%]{background-color:#000}.mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover, .mat-list-option[_ngcontent-%COMP%]:focus, .mat-list-option[_ngcontent-%COMP%]:hover, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover{background:rgba(255,255,255,.04)}.mat-menu-panel[_ngcontent-%COMP%]{background:#424242}.mat-menu-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-menu-item[_ngcontent-%COMP%]{background:0 0;color:#fff}.mat-menu-item[disabled][_ngcontent-%COMP%], .mat-menu-item[disabled][_ngcontent-%COMP%]::after{color:rgba(255,255,255,.5)}.mat-menu-item[_ngcontent-%COMP%] .mat-icon-no-color[_ngcontent-%COMP%], .mat-menu-item-submenu-trigger[_ngcontent-%COMP%]::after{color:#fff}.mat-menu-item-highlighted[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-keyboard-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-program-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item[_ngcontent-%COMP%]:hover:not([disabled]){background:rgba(255,255,255,.04)}.mat-paginator[_ngcontent-%COMP%]{background:#424242}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-paginator-decrement[_ngcontent-%COMP%], .mat-paginator-increment[_ngcontent-%COMP%]{border-top:2px solid #fff;border-right:2px solid #fff}.mat-paginator-first[_ngcontent-%COMP%], .mat-paginator-last[_ngcontent-%COMP%]{border-top:2px solid #fff}.mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-decrement[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-first[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-increment[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-last[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-progress-bar-background[_ngcontent-%COMP%]{fill:#e6c0c0}.mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#e6c0c0}.mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ad2c2c}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#216bad}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ff5722}.mat-progress-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ad2c2c}.mat-progress-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#216bad}.mat-progress-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ff5722}.mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ad2c2c}.mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#216bad}.mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#216bad}.mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ff5722}.mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ff5722}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-label-content[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-radio-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-select-value[_ngcontent-%COMP%]{color:#fff}.mat-select-disabled[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%], .mat-select-placeholder[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-select-panel[_ngcontent-%COMP%]{background:#424242}.mat-select-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-select-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple){background:rgba(255,255,255,.12)}.mat-form-field.mat-focused.mat-primary[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#216bad}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-invalid[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-form-field.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-disabled[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-drawer-container[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-drawer[_ngcontent-%COMP%]{background-color:#424242;color:#fff}.mat-drawer.mat-drawer-push[_ngcontent-%COMP%]{background-color:#424242}.mat-drawer[_ngcontent-%COMP%]:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-drawer-side[_ngcontent-%COMP%]{border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%] .mat-drawer-side[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12);border-right:none}[dir=rtl][_ngcontent-%COMP%] .mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-backdrop.mat-drawer-shown[_ngcontent-%COMP%]{background-color:rgba(189,189,189,.6)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.54)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.54)}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.54)}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle[_ngcontent-%COMP%]:not(.mat-checked) .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-slide-toggle-thumb[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#bdbdbd}.mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#216bad}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ff5722}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.2)}.cdk-focused[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%] .mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:#fff}.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing) .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3);background-color:transparent}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-has-ticks[_ngcontent-%COMP%] .mat-slider-wrapper[_ngcontent-%COMP%]::after{border-color:rgba(255,255,255,.7)}.mat-slider-horizontal[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to right,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-slider-vertical[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to bottom,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused[_ngcontent-%COMP%], .mat-step-header.cdk-program-focused[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%]:hover{background-color:rgba(255,255,255,.04)}@media (hover:none){.mat-step-header[_ngcontent-%COMP%]:hover{background:0 0}}.mat-step-header[_ngcontent-%COMP%] .mat-step-label[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-optional[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7);color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-selected[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-edit[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-error[_ngcontent-%COMP%]{background-color:transparent;color:#ff5722}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-active[_ngcontent-%COMP%]{color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-error[_ngcontent-%COMP%]{color:#ff5722}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{background-color:#424242}.mat-stepper-vertical-line[_ngcontent-%COMP%]::before{border-left-color:rgba(255,255,255,.12)}.mat-horizontal-stepper-header[_ngcontent-%COMP%]::after, .mat-horizontal-stepper-header[_ngcontent-%COMP%]::before, .mat-stepper-horizontal-line[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-sort-header-arrow[_ngcontent-%COMP%]{color:#c6c6c6}.mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[_ngcontent-%COMP%]{border-bottom:1px solid rgba(255,255,255,.12)}.mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-nav-bar[_ngcontent-%COMP%]{border-top:1px solid rgba(255,255,255,.12);border-bottom:none}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-tab-group[class*=mat-background-][_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[class*=mat-background-][_ngcontent-%COMP%]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-toolbar[_ngcontent-%COMP%]{background:#212121;color:#fff}.mat-toolbar.mat-primary[_ngcontent-%COMP%]{background:#ad2c2c;color:#fff}.mat-toolbar.mat-accent[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-toolbar.mat-warn[_ngcontent-%COMP%]{background:#ff5722;color:#fff}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:currentColor}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%]{color:inherit}.mat-toolbar[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:currentColor}.mat-tooltip[_ngcontent-%COMP%]{background:rgba(97,97,97,.9)}.mat-tree[_ngcontent-%COMP%]{background:#424242}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{color:#fff}.mat-snack-bar-container[_ngcontent-%COMP%]{color:rgba(0,0,0,.87);background:#fafafa;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 11.62px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 9.38px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,"Helvetica Neue",sans-serif}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,"Helvetica Neue",sans-serif;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34373em) scale(.75);transform:translateY(-1.34373em) scale(.75);width:133.3333533333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34372em) scale(.75);transform:translateY(-1.34372em) scale(.75);width:133.3333633333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00106px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00106px);-ms-transform:translateY(-1.28119em) scale(.75);width:133.3333933333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00107px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00107px);-ms-transform:translateY(-1.28118em) scale(.75);width:133.3334033333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00108px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00108px);-ms-transform:translateY(-1.28117em) scale(.75);width:133.3334133333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28116em) scale(.75);transform:translateY(-1.28116em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28115em) scale(.75);transform:translateY(-1.28115em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28114em) scale(.75);transform:translateY(-1.28114em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59373em) scale(.75);transform:translateY(-.59373em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59372em) scale(.75);transform:translateY(-.59372em) scale(.75);width:133.3333633333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59373em) scale(.75);transform:translateY(-1.59373em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59372em) scale(.75);transform:translateY(-1.59372em) scale(.75);width:133.3333633333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{color:inherit;line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,-webkit-transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1),-webkit-transform 0s cubic-bezier(0,0,.2,1);-webkit-transform:scale(0);transform:scale(0)}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation-name:cdk-text-field-autofill-start;animation-name:cdk-text-field-autofill-start}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation-name:cdk-text-field-autofill-end;animation-name:cdk-text-field-autofill-end}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{height:auto!important;overflow:hidden!important;padding:2px 0!important;box-sizing:content-box!important}.downloadCount[_ngcontent-%COMP%]{display:inline-block;font-size:15px;margin-left:5px;margin-top:3px}mat-icon[_ngcontent-%COMP%]{font-size:24px}.nodownloads[_ngcontent-%COMP%]{font-size:14px;padding:5px;color:#ff5722}']],data:{}});function Xw(t){return ui(0,[(t()(),Ga(0,0,null,null,7,"button",[["fast-click",""],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"color"]],function(t,e,n){var o=!0;return"color"===e&&(o=!1!==(t.component.downloads.Downloads.length>0?"accent":"")&&o),o},W_,q_)),gr(1,180224,null,0,fg,[mn,gh,[2,H_]],null,null),gr(2,16384,null,0,Y_,[mn],null,null),(t()(),Ga(3,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,dg,ug)),gr(4,9158656,null,0,sg,[mn,tg,[8,null],[2,rg]],null,null),(t()(),li(-1,0,["cloud_download"])),(t()(),Ga(6,0,null,0,1,"div",[["class","downloadCount"]],null,null,null,null,null)),(t()(),li(7,null,["",""]))],function(t,e){t(e,4,0)},function(t,e){var n=e.component;t(e,0,0,or(e,1).disabled||null,"NoopAnimations"===or(e,1)._animationMode),t(e,3,0,or(e,4).inline,"primary"!==or(e,4).color&&"accent"!==or(e,4).color&&"warn"!==or(e,4).color),t(e,7,0,n.downloads.Downloads.length)})}var $w=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.Type=RO.GetOps,e}return r(e,t),e}(IO),Jw=function(){function t(t,e){var n=this;this.msgSvc=t,this.appIntegration=e,this.wasBrowserHidden=!1,this.ops={Ops:[]};var o=!1;this.msgSvc.opStatusMessage.subscribe(function(t){n.ops=t,o=!0}),t.connectionStatusChanged.subscribe(function(t){if(t==Um.Connected&&!o){var e=new $w;e.ClearFailedOps=!1,n.msgSvc.sendClientMessage(e)}})}return t.prototype.menuOpened=function(){this.wasBrowserHidden=!1,this.appIntegration.isBrowserShown&&(this.wasBrowserHidden=!0,this.appIntegration.hideBrowser())},t.prototype.menuClosed=function(){this.wasBrowserHidden&&(this.wasBrowserHidden=!1,this.appIntegration.showBrowser())},t.prototype.getColor=function(){return this.showError()?"warn":""},t.prototype.showCheck=function(){return this.ops.Ops.length<1},t.prototype.showSpin=function(){return this.ops.Ops.findIndex(function(t){return t.Status!=sf.Failed})>-1},t.prototype.showError=function(){return this.ops.Ops.findIndex(function(t){return t.Status==sf.Failed})>-1},t.prototype.opClick=function(t){t.Error&&alert(t.Error)},t.prototype.ngOnInit=function(){},t.prototype.clickClearFailedOps=function(){var t=new $w;t.ClearFailedOps=!0,this.msgSvc.sendClientMessage(t)},t}(),tk=ao({encapsulation:0,styles:[['@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28121em) scale(.75);transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}@-webkit-keyframes cdk-text-field-autofill-start{}@-webkit-keyframes cdk-text-field-autofill-end{}.mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-option[_ngcontent-%COMP%]{color:#fff}.mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple):not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:focus:not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:hover:not(.mat-option-disabled){background:rgba(255,255,255,.04)}.mat-option.mat-active[_ngcontent-%COMP%]{background:rgba(255,255,255,.04);color:#fff}.mat-option.mat-option-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-primary[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ad2c2c}.mat-accent[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#216bad}.mat-warn[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ff5722}.mat-optgroup-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-optgroup-disabled[_ngcontent-%COMP%] .mat-optgroup-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-pseudo-checkbox[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-pseudo-checkbox[_ngcontent-%COMP%]::after{color:#303030}.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{color:#686868}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%], .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#216bad}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ad2c2c}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ff5722}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{background:#686868}.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-app-background[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-theme-loaded-marker[_ngcontent-%COMP%]{display:none}.mat-autocomplete-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-autocomplete-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover){background:#424242}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#fff}@media (-ms-high-contrast:active){.mat-badge-content[_ngcontent-%COMP%]{outline:solid 1px;border-radius:0}.mat-checkbox-disabled[_ngcontent-%COMP%]{opacity:.5}}.mat-badge-accent[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-badge-warn[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ff5722}.mat-badge[_ngcontent-%COMP%]{position:relative}.mat-badge-hidden[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{display:none}.mat-badge-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#6e6e6e;color:rgba(255,255,255,.5)}.mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ad2c2c;position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out;-webkit-transform:scale(.6);transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;font-weight:600;font-size:12px;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-badge-content._mat-animation-noopable[_ngcontent-%COMP%], .ng-animate-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{transition:none}.mat-badge-content.mat-badge-active[_ngcontent-%COMP%]{-webkit-transform:none;transform:none}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:16px;height:16px;line-height:16px;font-size:9px}.mat-badge-small.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-8px}.mat-badge-small.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-8px}.mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-16px}.mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-8px}.mat-badge-medium[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-11px}.mat-badge-medium.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-11px}.mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-22px}.mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-11px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:28px;height:28px;line-height:28px;font-size:24px}.mat-badge-large.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-14px}.mat-badge-large.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-14px}.mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-28px}.mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-14px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{color:inherit;background:0 0}.mat-button.mat-primary[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-button[disabled][disabled][_ngcontent-%COMP%], .mat-icon-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-icon-button[disabled][disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-stroked-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ff5722}.mat-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:transparent}.mat-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{opacity:.1;background-color:currentColor}.mat-button-focus-overlay[_ngcontent-%COMP%]{background:#fff}.mat-stroked-button[_ngcontent-%COMP%]:not([disabled]){border-color:rgba(255,255,255,.12)}.mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%]{color:#fff;background-color:#424242}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{color:#fff}.mat-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-fab[disabled][disabled][_ngcontent-%COMP%], .mat-flat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-flat-button[disabled][disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-mini-fab[disabled][disabled][_ngcontent-%COMP%], .mat-raised-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-raised-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:rgba(255,255,255,.12)}.mat-fab.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-flat-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-stroked-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-raised-button[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-button-toggle-group[_ngcontent-%COMP%], .mat-button-toggle-standalone[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%], .mat-button-toggle-standalone.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{box-shadow:none;border:1px solid rgba(255,255,255,.12)}.mat-button-toggle[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-button-toggle[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff;background:#424242}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:#fff}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12)}[dir=rtl][_ngcontent-%COMP%] .mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:none;border-top:1px solid rgba(255,255,255,.12)}.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#212121;color:rgba(255,255,255,.7)}.mat-button-toggle-checked.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff}.mat-button-toggle-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:#000}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{background:#424242}.mat-button-toggle-disabled.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#424242}.mat-card[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-card[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-card.mat-card-flat[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-card-subtitle[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-checkbox-frame[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-checkbox-checkmark[_ngcontent-%COMP%]{fill:#303030}.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#303030!important}@media (-ms-high-contrast:black-on-white){.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#000!important}}.mat-checkbox-mixedmark[_ngcontent-%COMP%]{background-color:#303030}.mat-checkbox-checked.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-checkbox-checked.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#216bad}.mat-checkbox-checked.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ff5722}.mat-checkbox-disabled.mat-checkbox-checked[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-disabled.mat-checkbox-indeterminate[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%]:not(.mat-checkbox-checked) .mat-checkbox-frame[_ngcontent-%COMP%]{border-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}@media (-ms-high-contrast:active){.mat-checkbox-background[_ngcontent-%COMP%]{background:0 0}.mat-ripple-element[_ngcontent-%COMP%]{display:none}}.mat-checkbox[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%]{background:#ad2c2c}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%]{background:#216bad}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%]{background:#ff5722}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]{background-color:#616161;color:#fff}.mat-chip.mat-standard-chip[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled) .mat-chip-remove[_ngcontent-%COMP%]:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled[_ngcontent-%COMP%]{opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]::after{background:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-table[_ngcontent-%COMP%]{background:#424242}.mat-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%], .mat-table-sticky[_ngcontent-%COMP%], [mat-footer-row][_ngcontent-%COMP%], [mat-header-row][_ngcontent-%COMP%], [mat-row][_ngcontent-%COMP%], mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%]{background:inherit}mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%], td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{border-bottom-color:rgba(255,255,255,.12)}.mat-header-cell[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{color:#fff}.mat-calendar-arrow[_ngcontent-%COMP%]{border-top-color:#fff}.mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-next-button[_ngcontent-%COMP%], .mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-previous-button[_ngcontent-%COMP%], .mat-datepicker-toggle[_ngcontent-%COMP%]{color:#fff}.mat-calendar-table-header[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-calendar-table-header-divider[_ngcontent-%COMP%]::after{background:rgba(255,255,255,.12)}.mat-calendar-body-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-calendar-body-cell-content[_ngcontent-%COMP%]{color:#fff;border-color:transparent}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){color:rgba(255,255,255,.5)}.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .cdk-program-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .mat-calendar-body-cell[_ngcontent-%COMP%]:not(.mat-calendar-body-disabled):hover > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){background-color:rgba(255,255,255,.04)}.mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.5)}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.3)}.mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.4)}.mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#424242;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.4)}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.4)}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content-touch[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-datepicker-toggle-active[_ngcontent-%COMP%]{color:#ad2c2c}.mat-datepicker-toggle-active.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-datepicker-toggle-active.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-dialog-container[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-divider[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-divider-vertical[_ngcontent-%COMP%]{border-right-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-expansion-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-action-row[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-keyboard-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-program-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]):hover{background:rgba(255,255,255,.04)}@media (hover:none){.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header[_ngcontent-%COMP%]:hover{background:#424242}}.mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:#fff}.mat-expansion-indicator[_ngcontent-%COMP%]::after, .mat-expansion-panel-header-description[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%], .mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:inherit}.mat-form-field-label[_ngcontent-%COMP%], .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-focused[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#fff}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid) .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ad2c2c}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#216bad}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#ff5722}.mat-error[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7);bottom:1.25em}.mat-form-field-appearance-legacy.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7)}.mat-form-field-appearance-standard.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.05)}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:transparent}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#fff}.mat-form-field-appearance-outline.mat-focused[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field-appearance-outline.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-appearance-outline.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.15)}.mat-icon.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-icon.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-icon.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-type-mat-native-select[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:rgba(255,255,255,.7)}.mat-form-field-type-mat-native-select.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-input-element[_ngcontent-%COMP%]:disabled{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]{caret-color:#ad2c2c}.mat-input-element[_ngcontent-%COMP%]::-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-moz-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-webkit-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]{color:rgba(0,0,0,.87)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]:disabled{color:rgba(0,0,0,.38)}.mat-accent[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#216bad}.mat-form-field-invalid[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#ff5722}.mat-form-field-type-mat-native-select.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ff5722}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%], .mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{color:#fff}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-list-item-disabled[_ngcontent-%COMP%]{background-color:#000}.mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover, .mat-list-option[_ngcontent-%COMP%]:focus, .mat-list-option[_ngcontent-%COMP%]:hover, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover{background:rgba(255,255,255,.04)}.mat-menu-panel[_ngcontent-%COMP%]{background:#424242}.mat-menu-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-menu-item[_ngcontent-%COMP%]{background:0 0;color:#fff}.mat-menu-item[disabled][_ngcontent-%COMP%], .mat-menu-item[disabled][_ngcontent-%COMP%]::after{color:rgba(255,255,255,.5)}.mat-menu-item[_ngcontent-%COMP%] .mat-icon-no-color[_ngcontent-%COMP%], .mat-menu-item-submenu-trigger[_ngcontent-%COMP%]::after{color:#fff}.mat-menu-item-highlighted[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-keyboard-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-program-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item[_ngcontent-%COMP%]:hover:not([disabled]){background:rgba(255,255,255,.04)}.mat-paginator[_ngcontent-%COMP%]{background:#424242}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-paginator-decrement[_ngcontent-%COMP%], .mat-paginator-increment[_ngcontent-%COMP%]{border-top:2px solid #fff;border-right:2px solid #fff}.mat-paginator-first[_ngcontent-%COMP%], .mat-paginator-last[_ngcontent-%COMP%]{border-top:2px solid #fff}.mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-decrement[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-first[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-increment[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-last[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-progress-bar-background[_ngcontent-%COMP%]{fill:#e6c0c0}.mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#e6c0c0}.mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ad2c2c}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#216bad}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ff5722}.mat-progress-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ad2c2c}.mat-progress-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#216bad}.mat-progress-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ff5722}.mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ad2c2c}.mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#216bad}.mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#216bad}.mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ff5722}.mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ff5722}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-label-content[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-radio-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-select-value[_ngcontent-%COMP%]{color:#fff}.mat-select-disabled[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%], .mat-select-placeholder[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-select-panel[_ngcontent-%COMP%]{background:#424242}.mat-select-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-select-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple){background:rgba(255,255,255,.12)}.mat-form-field.mat-focused.mat-primary[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#216bad}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-invalid[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-form-field.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-disabled[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-drawer-container[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-drawer[_ngcontent-%COMP%]{background-color:#424242;color:#fff}.mat-drawer.mat-drawer-push[_ngcontent-%COMP%]{background-color:#424242}.mat-drawer[_ngcontent-%COMP%]:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-drawer-side[_ngcontent-%COMP%]{border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%] .mat-drawer-side[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12);border-right:none}[dir=rtl][_ngcontent-%COMP%] .mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-backdrop.mat-drawer-shown[_ngcontent-%COMP%]{background-color:rgba(189,189,189,.6)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.54)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.54)}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.54)}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle[_ngcontent-%COMP%]:not(.mat-checked) .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-slide-toggle-thumb[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#bdbdbd}.mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#216bad}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ff5722}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.2)}.cdk-focused[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%] .mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:#fff}.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing) .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3);background-color:transparent}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-has-ticks[_ngcontent-%COMP%] .mat-slider-wrapper[_ngcontent-%COMP%]::after{border-color:rgba(255,255,255,.7)}.mat-slider-horizontal[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to right,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-slider-vertical[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to bottom,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused[_ngcontent-%COMP%], .mat-step-header.cdk-program-focused[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%]:hover{background-color:rgba(255,255,255,.04)}@media (hover:none){.mat-step-header[_ngcontent-%COMP%]:hover{background:0 0}}.mat-step-header[_ngcontent-%COMP%] .mat-step-label[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-optional[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7);color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-selected[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-edit[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-error[_ngcontent-%COMP%]{background-color:transparent;color:#ff5722}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-active[_ngcontent-%COMP%]{color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-error[_ngcontent-%COMP%]{color:#ff5722}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{background-color:#424242}.mat-stepper-vertical-line[_ngcontent-%COMP%]::before{border-left-color:rgba(255,255,255,.12)}.mat-horizontal-stepper-header[_ngcontent-%COMP%]::after, .mat-horizontal-stepper-header[_ngcontent-%COMP%]::before, .mat-stepper-horizontal-line[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-sort-header-arrow[_ngcontent-%COMP%]{color:#c6c6c6}.mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[_ngcontent-%COMP%]{border-bottom:1px solid rgba(255,255,255,.12)}.mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-nav-bar[_ngcontent-%COMP%]{border-top:1px solid rgba(255,255,255,.12);border-bottom:none}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-tab-group[class*=mat-background-][_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[class*=mat-background-][_ngcontent-%COMP%]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-toolbar[_ngcontent-%COMP%]{background:#212121;color:#fff}.mat-toolbar.mat-primary[_ngcontent-%COMP%]{background:#ad2c2c;color:#fff}.mat-toolbar.mat-accent[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-toolbar.mat-warn[_ngcontent-%COMP%]{background:#ff5722;color:#fff}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:currentColor}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%]{color:inherit}.mat-toolbar[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:currentColor}.mat-tooltip[_ngcontent-%COMP%]{background:rgba(97,97,97,.9)}.mat-tree[_ngcontent-%COMP%]{background:#424242}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{color:#fff}.mat-snack-bar-container[_ngcontent-%COMP%]{color:rgba(0,0,0,.87);background:#fafafa;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 11.62px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 9.38px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,"Helvetica Neue",sans-serif}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,"Helvetica Neue",sans-serif;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34373em) scale(.75);transform:translateY(-1.34373em) scale(.75);width:133.3333533333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34372em) scale(.75);transform:translateY(-1.34372em) scale(.75);width:133.3333633333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00106px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00106px);-ms-transform:translateY(-1.28119em) scale(.75);width:133.3333933333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00107px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00107px);-ms-transform:translateY(-1.28118em) scale(.75);width:133.3334033333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00108px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00108px);-ms-transform:translateY(-1.28117em) scale(.75);width:133.3334133333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28116em) scale(.75);transform:translateY(-1.28116em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28115em) scale(.75);transform:translateY(-1.28115em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28114em) scale(.75);transform:translateY(-1.28114em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59373em) scale(.75);transform:translateY(-.59373em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59372em) scale(.75);transform:translateY(-.59372em) scale(.75);width:133.3333633333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59373em) scale(.75);transform:translateY(-1.59373em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59372em) scale(.75);transform:translateY(-1.59372em) scale(.75);width:133.3333633333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{color:inherit;line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,-webkit-transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1),-webkit-transform 0s cubic-bezier(0,0,.2,1);-webkit-transform:scale(0);transform:scale(0)}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation-name:cdk-text-field-autofill-start;animation-name:cdk-text-field-autofill-start}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation-name:cdk-text-field-autofill-end;animation-name:cdk-text-field-autofill-end}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{height:auto!important;overflow:hidden!important;padding:2px 0!important;box-sizing:content-box!important}.opsCount[_ngcontent-%COMP%]{display:inline-block;font-size:15px;margin-left:5px;margin-top:3px}mat-icon[_ngcontent-%COMP%]{font-size:24px}.noops[_ngcontent-%COMP%]{font-size:14px;padding:5px;color:#ff5722}.opDesc[_ngcontent-%COMP%]{display:inline-block;min-width:100px}.opStatus[_ngcontent-%COMP%]{display:inline-block;min-width:50px;padding-right:3px}.clearFailed[_ngcontent-%COMP%]{margin-left:8px}.opId[_ngcontent-%COMP%]{display:inline-block;min-width:20px;margin-right:4px}.opContainer[_ngcontent-%COMP%]{font-size:12px}.check[_ngcontent-%COMP%]{position:absolute;color:green;top:-3px;left:24px;font-size:24px;text-shadow:-1px 0 #000,0 1px #000,1px 0 #000,0 -1px #000}.sync[_ngcontent-%COMP%]{position:absolute;color:#fff;top:3px;left:0;font-size:32px;padding:0;width:32px;height:32px}.exclamation[_ngcontent-%COMP%]{position:absolute;color:red;top:0;left:22px;font-size:24px;text-shadow:-1px 0 #000,0 1px #000,1px 0 #000,0 -1px #000}.iconContainer[_ngcontent-%COMP%]{width:24px;display:inline-block}.spinny[_ngcontent-%COMP%]{-webkit-animation:1.5s linear infinite spin;animation:1.5s linear infinite spin;-webkit-transform-origin:center center;transform-origin:center center}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}']],data:{}});function ek(t){return ui(0,[(t()(),Ga(0,0,null,null,2,"mat-icon",[["class","check mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,dg,ug)),gr(1,9158656,null,0,sg,[mn,tg,[8,null],[2,rg]],null,null),(t()(),li(-1,0,["check"]))],function(t,e){t(e,1,0)},function(t,e){t(e,0,0,or(e,1).inline,"primary"!==or(e,1).color&&"accent"!==or(e,1).color&&"warn"!==or(e,1).color)})}function nk(t){return ui(0,[(t()(),Ga(0,0,null,null,2,"mat-icon",[["class","exclamation mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,dg,ug)),gr(1,9158656,null,0,sg,[mn,tg,[8,null],[2,rg]],null,null),(t()(),li(-1,0,["priority_high"]))],function(t,e){t(e,1,0)},function(t,e){t(e,0,0,or(e,1).inline,"primary"!==or(e,1).color&&"accent"!==or(e,1).color&&"warn"!==or(e,1).color)})}function ok(t){return ui(0,[(t()(),Ga(0,0,null,null,1,"p",[["class","noops"],["color","primary"]],null,null,null,null,null)),(t()(),li(-1,null,["No active operations"]))],null,null)}function rk(t){return ui(0,[(t()(),Ga(0,0,null,null,11,"button",[["class","mat-menu-item"],["fast-click",""],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(t,e,n){var o=!0,r=t.component;return"click"===e&&(o=!1!==or(t,1)._checkDisabled(n)&&o),"mouseenter"===e&&(o=!1!==or(t,1)._handleMouseEnter()&&o),"click"===e&&(o=!1!==r.opClick(t.context.$implicit)&&o),o},EO,SO)),gr(1,180224,[[1,4]],0,hO,[mn,us,gh,[2,fO]],null,null),gr(2,16384,null,0,Y_,[mn],null,null),(t()(),Ga(3,0,null,0,6,"div",[["class","opContainer"]],null,null,null,null,null)),(t()(),Ga(4,0,null,null,1,"div",[["class","opId"]],null,null,null,null,null)),(t()(),li(5,null,["#",""])),(t()(),Ga(6,0,null,null,1,"div",[["class","opStatus"]],null,null,null,null,null)),(t()(),li(7,null,["",":"])),(t()(),Ga(8,0,null,null,1,"div",[["class","opDesc"]],null,null,null,null,null)),(t()(),li(9,null,["",""])),(t()(),Ga(10,0,null,0,1,"div",[["class","errMsg"],["color","warn"]],null,null,null,null,null)),(t()(),li(11,null,["",""]))],null,function(t,e){t(e,0,0,or(e,1).role,or(e,1)._highlighted,or(e,1)._triggersSubmenu,or(e,1)._getTabIndex(),or(e,1).disabled.toString(),or(e,1).disabled||null),t(e,5,0,e.context.$implicit.ID),t(e,7,0,e.context.$implicit.Status),t(e,9,0,e.context.$implicit.OpDescription),t(e,11,0,e.context.$implicit.Error)})}function ak(t){return ui(0,[(t()(),Ga(0,16777216,null,null,18,"button",[["aria-haspopup","true"],["fast-click",""],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"menuOpened"],[null,"menuClosed"],[null,"mousedown"],[null,"keydown"],[null,"click"]],function(t,e,n){var o=!0,r=t.component;return"mousedown"===e&&(o=!1!==or(t,2)._handleMousedown(n)&&o),"keydown"===e&&(o=!1!==or(t,2)._handleKeydown(n)&&o),"click"===e&&(o=!1!==or(t,2)._handleClick(n)&&o),"menuOpened"===e&&(o=!1!==r.menuOpened()&&o),"menuClosed"===e&&(o=!1!==r.menuClosed()&&o),o},W_,q_)),gr(1,180224,null,0,fg,[mn,gh,[2,H_]],{color:[0,"color"]},null),gr(2,1196032,null,0,PO,[bv,mn,jn,yO,[2,bO],[8,null],[2,Nf],gh],{menu:[0,"menu"]},{menuOpened:"menuOpened",menuClosed:"menuClosed"}),gr(3,16384,null,0,Y_,[mn],null,null),(t()(),Ga(4,0,null,0,12,"div",[["class","iconContainer"]],null,null,null,null,null)),(t()(),Ga(5,0,null,null,7,"mat-icon",[["class","sync mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,dg,ug)),_r(512,null,ql,Wl,[In,Rn,mn,_n]),gr(7,278528,null,0,Yl,[ql],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),ai(8,{spinny:0}),gr(9,9158656,null,0,sg,[mn,tg,[8,null],[2,rg]],null,null),gr(10,933888,null,0,eO,[mn,SC,TC,In,Rn,_n,[6,Yl]],{ngClass:[0,"ngClass"],klass:[1,"klass"]},null),ai(11,{spinny:0}),(t()(),li(-1,0,["sync"])),(t()(),Ya(16777216,null,null,1,null,ek)),gr(14,16384,null,0,Kl,[jn,Fn],{ngIf:[0,"ngIf"]},null),(t()(),Ya(16777216,null,null,1,null,nk)),gr(16,16384,null,0,Kl,[jn,Fn],{ngIf:[0,"ngIf"]},null),(t()(),Ga(17,0,null,0,1,"div",[["class","opsCount"]],null,null,null,null,null)),(t()(),li(18,null,["",""])),(t()(),Ga(19,0,null,null,13,"mat-menu",[],null,null,null,kO,xO)),_r(6144,null,bO,null,[_O]),_r(6144,null,fO,null,[bO]),gr(22,1294336,[["menu",4]],2,_O,[mn,ua,gO],null,null),$a(603979776,1,{items:1}),$a(603979776,2,{lazyContent:0}),(t()(),Ya(16777216,null,0,1,null,ok)),gr(26,16384,null,0,Kl,[jn,Fn],{ngIf:[0,"ngIf"]},null),(t()(),Ya(16777216,null,0,1,null,rk)),gr(28,278528,null,0,Zl,[jn,Fn,In],{ngForOf:[0,"ngForOf"]},null),(t()(),Ga(29,0,null,0,3,"button",[["class","clearFailed"],["color","accent"],["fast-click",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==t.component.clickClearFailedOps()&&o),o},W_,q_)),gr(30,180224,null,0,fg,[mn,gh,[2,H_]],{color:[0,"color"]},null),gr(31,16384,null,0,Y_,[mn],null,null),(t()(),li(-1,0,["Clear Failed"]))],function(t,e){var n,o=e.component;t(e,1,0,""+(null!=(n=o.getColor())?n.toString():"")),t(e,2,0,or(e,22));var r=t(e,8,0,o.showSpin());t(e,7,0,"sync",r),t(e,9,0);var a=t(e,11,0,o.showSpin());t(e,10,0,a,"sync"),t(e,14,0,o.showCheck()),t(e,16,0,o.showError()),t(e,22,0),t(e,26,0,o.ops.Ops.length<1),t(e,28,0,o.ops.Ops),t(e,30,0,"accent")},function(t,e){var n=e.component;t(e,0,0,or(e,1).disabled||null,"NoopAnimations"===or(e,1)._animationMode,or(e,2).menuOpen||null),t(e,5,0,or(e,9).inline,"primary"!==or(e,9).color&&"accent"!==or(e,9).color&&"warn"!==or(e,9).color),t(e,18,0,n.ops.Ops.length),t(e,29,0,or(e,30).disabled||null,"NoopAnimations"===or(e,30)._animationMode)})}var ik=function(){function t(){this.browserLinks=[{title:"Beast Saber",url:"https://bsaber.com"},{title:"Beat Saver",url:"https://beatsaver.com"},{title:"Google",url:"https://google.com"}],this.linkSelected=new Dr}return t.prototype.clickLink=function(t){this.linkSelected.emit(t.url)},t.prototype.ngOnInit=function(){},t}(),lk=ao({encapsulation:0,styles:[[".linkbutton[_ngcontent-%COMP%]{max-height:35px;height:35px;display:inline-block}"]],data:{}});function sk(t){return ui(0,[(t()(),Ga(0,0,null,null,4,"button",[["class","linkbutton"],["fast-click",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==t.component.clickLink(t.context.$implicit)&&o),o},W_,q_)),gr(1,180224,null,0,fg,[mn,gh,[2,H_]],null,null),gr(2,16384,null,0,Y_,[mn],null,null),(t()(),Ga(3,0,null,0,1,"div",[["class","title"]],null,null,null,null,null)),(t()(),li(4,null,["",""]))],null,function(t,e){t(e,0,0,or(e,1).disabled||null,"NoopAnimations"===or(e,1)._animationMode),t(e,4,0,e.context.$implicit.title)})}function ck(t){return ui(0,[(t()(),Ga(0,16777216,null,null,9,"button",[["aria-haspopup","true"],["fast-click",""],["mat-button",""],["mat-stroked-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],function(t,e,n){var o=!0;return"mousedown"===e&&(o=!1!==or(t,2)._handleMousedown(n)&&o),"keydown"===e&&(o=!1!==or(t,2)._handleKeydown(n)&&o),"click"===e&&(o=!1!==or(t,2)._handleClick(n)&&o),o},W_,q_)),gr(1,180224,null,0,fg,[mn,gh,[2,H_]],null,null),gr(2,1196032,null,0,PO,[bv,mn,jn,yO,[2,bO],[8,null],[2,Nf],gh],{menu:[0,"menu"]},null),gr(3,16384,null,0,Y_,[mn],null,null),(t()(),Ga(4,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,dg,ug)),gr(5,9158656,null,0,sg,[mn,tg,[8,null],[2,rg]],null,null),(t()(),li(-1,0,["public"])),(t()(),Ga(7,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,dg,ug)),gr(8,9158656,null,0,sg,[mn,tg,[8,null],[2,rg]],null,null),(t()(),li(-1,0,["expand_more"])),(t()(),Ga(10,0,null,null,9,"mat-menu",[],null,null,null,kO,xO)),gr(11,1294336,[["menu",4]],2,_O,[mn,ua,gO],{panelClass:[0,"panelClass"]},null),$a(603979776,1,{items:1}),$a(603979776,2,{lazyContent:0}),_r(2048,null,bO,null,[_O]),_r(2048,null,fO,null,[bO]),(t()(),Ga(16,0,null,0,3,"div",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==or(t,17)._checkDisabled(n)&&o),"mouseenter"===e&&(o=!1!==or(t,17)._handleMouseEnter()&&o),o},EO,SO)),gr(17,180224,[[1,4]],0,hO,[mn,us,gh,[2,fO]],null,null),(t()(),Ya(16777216,null,0,1,null,sk)),gr(19,278528,null,0,Zl,[jn,Fn,In],{ngForOf:[0,"ngForOf"]},null)],function(t,e){var n=e.component;t(e,2,0,or(e,11)),t(e,5,0),t(e,8,0),t(e,11,0,"browserNavMenu"),t(e,19,0,n.browserLinks)},function(t,e){t(e,0,0,or(e,1).disabled||null,"NoopAnimations"===or(e,1)._animationMode,or(e,2).menuOpen||null),t(e,4,0,or(e,5).inline,"primary"!==or(e,5).color&&"accent"!==or(e,5).color&&"warn"!==or(e,5).color),t(e,7,0,or(e,8).inline,"primary"!==or(e,8).color&&"accent"!==or(e,8).color&&"warn"!==or(e,8).color),t(e,16,0,or(e,17).role,or(e,17)._highlighted,or(e,17)._triggersSubmenu,or(e,17)._getTabIndex(),or(e,17).disabled.toString(),or(e,17).disabled||null)})}var uk=function(t){function e(e,n,o){var r=t.call(this,e)||this;return r._platform=n,r._document=o,r}return r(e,t),e.prototype.ngAfterViewInit=function(){var t=this;ge()&&this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(function(){return t._checkToolbarMixedModes()}))},e.prototype._checkToolbarMixedModes=function(){var t=this;this._toolbarRows.length&&Array.from(this._elementRef.nativeElement.childNodes).filter(function(t){return!(t.classList&&t.classList.contains("mat-toolbar-row"))}).filter(function(e){return e.nodeType!==(t._document?t._document.COMMENT_NODE:8)}).some(function(t){return!(!t.textContent||!t.textContent.trim())})&&function(){throw Error("MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `` elements explicitly or just place content inside of a `` for a single row.")}()},e}(Ph(function(){return function(t){this._elementRef=t}}())),dk=function(){return function(){}}(),pk=ao({encapsulation:2,styles:["@media (-ms-high-contrast:active){.mat-toolbar{outline:solid 1px}}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width:599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}"],data:{}});function mk(t){return ui(2,[oi(null,0),oi(null,1)],null,null)}var fk=ao({encapsulation:0,styles:[[".app-content[_ngcontent-%COMP%]{display:block;height:100%}.goodCon[_ngcontent-%COMP%]{color:green}.badCon[_ngcontent-%COMP%]{color:red}.orangeCon[_ngcontent-%COMP%]{color:orange}.toolbar[_ngcontent-%COMP%]{min-height:50px;height:50px}.logo[_ngcontent-%COMP%]{background:url(logo.6c1a8c36d9fd1df75fae.png) 50% 50%/contain no-repeat;height:50px;width:150px}.nowifi[_ngcontent-%COMP%]{position:absolute;top:-2px;left:-2px;color:red;font-size:32px}.credits[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:15px}.connectionStatus[_ngcontent-%COMP%]{margin-top:9px;position:relative;display:inline-block;width:32px;height:32px;cursor:pointer}.wifi[_ngcontent-%COMP%]{position:absolute;top:2px;left:2px;font-size:32}.warning[_ngcontent-%COMP%]{background-color:#004a7f;border-radius:10px;border:none;color:#fff;cursor:pointer;display:inline-block;font-family:Arial;font-size:14px;padding:5px 10px;text-align:center;text-decoration:none;-webkit-animation:1.5s infinite glowing;animation:1.5s infinite glowing}@-webkit-keyframes glowing{0%,100%{background-color:#b20000;-webkit-box-shadow:0 0 3px #b20000}50%{background-color:red;-webkit-box-shadow:0 0 40px red}}@keyframes glowing{0%,100%{background-color:#b20000;box-shadow:0 0 3px #b20000}50%{background-color:red;box-shadow:0 0 40px red}}"]],data:{animation:[{type:7,name:"fade",definitions:[{type:1,expr:":enter",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:{type:6,styles:{opacity:1},offset:null},timings:"0.2s"}],options:null},{type:1,expr:":leave",animation:[{type:6,styles:{opacity:1},offset:null},{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"0.2s"}],options:null},{type:0,name:"*",styles:{type:6,styles:{opacity:1},offset:null},options:void 0}],options:{}}]}});function hk(t){return ui(0,[(t()(),Ga(0,0,null,null,1,"button",[["class","warning"]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==t.component.commitConfig()&&o),o},null,null)),(t()(),li(-1,null,[" Sync to Beat Saber "]))],null,function(t,e){t(e,0,0,e.component.opInProgress)})}function gk(t){return ui(0,[(t()(),Ga(0,0,null,null,3,"button",[["fast-click",""],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,W_,q_)),gr(1,180224,null,0,fg,[mn,gh,[2,H_]],null,null),gr(2,16384,null,0,Y_,[mn],null,null),(t()(),li(-1,0,["Beat Saber Synced"]))],null,function(t,e){t(e,0,0,or(e,1).disabled||null,"NoopAnimations"===or(e,1)._animationMode)})}function bk(t){return ui(0,[(t()(),Ga(0,0,null,null,1,"app-download-indicator",[],null,null,null,Xw,Kw)),gr(1,114688,null,0,Qw,[Hm],null,null)],function(t,e){t(e,1,0)},null)}function _k(t){return ui(0,[(t()(),Ga(0,0,null,null,1,"app-op-indicator",[],null,null,null,ak,tk)),gr(1,114688,null,0,Jw,[Hm,af],null,null)],function(t,e){t(e,1,0)},null)}function yk(t){return ui(0,[(t()(),Ga(0,0,null,null,1,"app-browser-nav",[],null,[[null,"linkSelected"]],function(t,e,n){var o=!0;return"linkSelected"===e&&(o=!1!==t.component.linkSelected(n)&&o),o},ck,lk)),gr(1,114688,null,0,ik,[],null,{linkSelected:"linkSelected"})],function(t,e){t(e,1,0)},null)}function vk(t){return ui(0,[(t()(),Ga(0,0,null,null,5,"button",[["fast-click",""],["mat-stroked-button",""]],[[24,"@fade",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==t.component.clickRefresh()&&o),o},W_,q_)),gr(1,180224,null,0,fg,[mn,gh,[2,H_]],null,null),gr(2,16384,null,0,Y_,[mn],null,null),(t()(),Ga(3,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,dg,ug)),gr(4,9158656,null,0,sg,[mn,tg,[8,null],[2,rg]],null,null),(t()(),li(-1,0,["cached"]))],function(t,e){t(e,4,0)},function(t,e){t(e,0,0,void 0,or(e,1).disabled||null,"NoopAnimations"===or(e,1)._animationMode),t(e,3,0,or(e,4).inline,"primary"!==or(e,4).color&&"accent"!==or(e,4).color&&"warn"!==or(e,4).color)})}function Ck(t){return ui(0,[(t()(),Ga(0,0,null,null,5,"button",[["fast-click",""],["mat-stroked-button",""]],[[24,"@fade",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==t.component.clickBack()&&o),o},W_,q_)),gr(1,180224,null,0,fg,[mn,gh,[2,H_]],null,null),gr(2,16384,null,0,Y_,[mn],null,null),(t()(),Ga(3,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,dg,ug)),gr(4,9158656,null,0,sg,[mn,tg,[8,null],[2,rg]],null,null),(t()(),li(-1,0,["arrow_back"]))],function(t,e){t(e,4,0)},function(t,e){t(e,0,0,void 0,or(e,1).disabled||null,"NoopAnimations"===or(e,1)._animationMode),t(e,3,0,or(e,4).inline,"primary"!==or(e,4).color&&"accent"!==or(e,4).color&&"warn"!==or(e,4).color)})}function Pk(t){return ui(0,[(t()(),Ga(0,0,null,null,2,"mat-icon",[["class","nowifi mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,dg,ug)),gr(1,9158656,null,0,sg,[mn,tg,[8,null],[2,rg]],null,null),(t()(),li(-1,0,["close"]))],function(t,e){t(e,1,0)},function(t,e){t(e,0,0,or(e,1).inline,"primary"!==or(e,1).color&&"accent"!==or(e,1).color&&"warn"!==or(e,1).color)})}function Ok(t){return ui(0,[(t()(),Ga(0,0,null,null,3,"div",[["fxLayout","column"]],null,null,null,null,null)),gr(1,671744,null,0,zC,[mn,SC,[2,DC],TC],{fxLayout:[0,"fxLayout"]},null),(t()(),Ga(2,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),li(-1,null,["Checking mod installation status..."]))],function(t,e){t(e,1,0,"column")},null)}function Mk(t){return ui(0,[(t()(),Ga(0,0,null,null,6,"mat-card",[["class","setup-card mat-card"],["fxLayout","column"]],null,null,null,Uh,Hh)),gr(1,49152,null,0,If,[],null,null),gr(2,671744,null,0,zC,[mn,SC,[2,DC],TC],{fxLayout:[0,"fxLayout"]},null),(t()(),Ya(16777216,null,0,1,null,Ok)),gr(4,16384,null,0,Kl,[jn,Fn],{ngIf:[0,"ngIf"]},null),(t()(),Ga(5,0,null,0,1,"p",[],null,null,null,null,null)),(t()(),li(-1,null,["Depending on how many songs are loaded, Beat On may take 5-120 seconds to load..."]))],function(t,e){var n=e.component;t(e,2,0,"column"),t(e,4,0,!n.modStatusLoaded)},null)}function xk(t){return ui(0,[(t()(),Ga(0,0,null,null,44,"div",[["class","fullheight"],["fxLayout","column"]],null,null,null,null,null)),gr(1,671744,null,0,zC,[mn,SC,[2,DC],TC],{fxLayout:[0,"fxLayout"]},null),(t()(),Ga(2,0,null,null,35,"mat-toolbar",[["class","toolbar mat-toolbar"],["layout","row"]],[[2,"mat-toolbar-multiple-rows",null],[2,"mat-toolbar-single-row",null]],null,null,mk,pk)),gr(3,4243456,null,1,uk,[mn,qf,us],null,null),$a(603979776,1,{_toolbarRows:1}),(t()(),Ga(5,0,null,0,0,"div",[["class","logo"]],null,null,null,null,null)),(t()(),Ga(6,0,null,0,0,"span",[["class","example-fill-remaining-space"],["style","flex: 5 1 auto;"]],null,null,null,null,null)),(t()(),Ya(16777216,null,0,1,null,hk)),gr(8,16384,null,0,Kl,[jn,Fn],{ngIf:[0,"ngIf"]},null),(t()(),Ya(16777216,null,0,1,null,gk)),gr(10,16384,null,0,Kl,[jn,Fn],{ngIf:[0,"ngIf"]},null),(t()(),Ga(11,0,null,0,0,"span",[["class","example-fill-remaining-space"],["style","flex: 2 1 auto;"]],null,null,null,null,null)),(t()(),Ya(16777216,null,0,1,null,bk)),gr(13,16384,null,0,Kl,[jn,Fn],{ngIf:[0,"ngIf"]},null),(t()(),Ga(14,0,null,0,0,"span",[["class","example-fill-remaining-space"],["style","flex: 1 1 auto;"]],null,null,null,null,null)),(t()(),Ya(16777216,null,0,1,null,_k)),gr(16,16384,null,0,Kl,[jn,Fn],{ngIf:[0,"ngIf"]},null),(t()(),Ga(17,0,null,0,0,"span",[["class","example-fill-remaining-space"],["style","flex: 3 1 auto;"]],null,null,null,null,null)),(t()(),Ya(16777216,null,0,1,null,yk)),gr(19,16384,null,0,Kl,[jn,Fn],{ngIf:[0,"ngIf"]},null),(t()(),Ga(20,0,null,0,0,"span",[["class","example-fill-remaining-space"],["style","flex: 1 1 auto;"]],null,null,null,null,null)),(t()(),Ya(16777216,null,0,1,null,vk)),gr(22,16384,null,0,Kl,[jn,Fn],{ngIf:[0,"ngIf"]},null),(t()(),Ga(23,0,null,0,0,"span",[["class","example-fill-remaining-space"],["style","flex: 1 1 auto;"]],null,null,null,null,null)),(t()(),Ya(16777216,null,0,1,null,Ck)),gr(25,16384,null,0,Kl,[jn,Fn],{ngIf:[0,"ngIf"]},null),(t()(),Ga(26,0,null,0,0,"span",[["class","example-fill-remaining-space"],["style","flex: 3 1 auto;"]],null,null,null,null,null)),(t()(),Ga(27,0,null,0,10,"div",[["class","connectionStatus"]],null,[[null,"click"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==t.component.reconnect()&&o),o},null,null)),_r(512,null,ns,os,[mn,Rn,_n]),gr(29,278528,null,0,rs,[ns],{ngStyle:[0,"ngStyle"]},null),ai(30,{color:0}),gr(31,933888,null,0,lO,[mn,SC,TC,Rn,_n,zu,[6,rs],[2,nC],Wr],{ngStyle:[0,"ngStyle"]},null),ai(32,{color:0}),(t()(),Ya(16777216,null,null,1,null,Pk)),gr(34,16384,null,0,Kl,[jn,Fn],{ngIf:[0,"ngIf"]},null),(t()(),Ga(35,0,null,null,2,"mat-icon",[["class","wifi mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,dg,ug)),gr(36,9158656,null,0,sg,[mn,tg,[8,null],[2,rg]],null,null),(t()(),li(-1,0,["wifi"])),(t()(),Ya(16777216,null,null,1,null,Mk)),gr(39,16384,null,0,Kl,[jn,Fn],{ngIf:[0,"ngIf"]},null),(t()(),Ga(40,0,null,null,4,"div",[["class","fullheight"],["fxLayout","column"]],null,null,null,null,null)),gr(41,671744,null,0,zC,[mn,SC,[2,DC],TC],{fxLayout:[0,"fxLayout"]},null),(t()(),Ga(42,16777216,null,null,2,"router-outlet",[["fxLayout","column"]],[[8,"hidden",0]],null,null,null,null)),gr(43,212992,null,0,_m,[bm,jn,ln,[8,null],An],null,null),gr(44,671744,null,0,zC,[mn,SC,[2,DC],TC],{fxLayout:[0,"fxLayout"]},null)],function(t,e){var n=e.component;t(e,1,0,"column"),t(e,8,0,n.modStatusLoaded&&"ModInstalled"==n.modStatus.CurrentStatus&&!1===(null==n.config?null:n.config.IsCommitted)),t(e,10,0,n.modStatusLoaded&&"ModInstalled"==n.modStatus.CurrentStatus&&!0===(null==n.config?null:n.config.IsCommitted)),t(e,13,0,n.modStatusLoaded),t(e,16,0,n.modStatusLoaded),t(e,19,0,n.modStatusLoaded&&"ModInstalled"==n.modStatus.CurrentStatus&&n.showBrowser),t(e,22,0,n.modStatusLoaded&&"ModInstalled"==n.modStatus.CurrentStatus&&n.showRefreshButton),t(e,25,0,n.modStatusLoaded&&n.showBackButton);var o=t(e,30,0,n.getConnStatusColor());t(e,29,0,o);var r=t(e,32,0,n.getConnStatusColor());t(e,31,0,r),t(e,34,0,!n.getConnStatusIcon()),t(e,36,0),t(e,39,0,!n.modStatusLoaded),t(e,41,0,"column"),t(e,43,0),t(e,44,0,"column")},function(t,e){var n=e.component;t(e,2,0,or(e,3)._toolbarRows.length>0,0===or(e,3)._toolbarRows.length),t(e,35,0,or(e,36).inline,"primary"!==or(e,36).color&&"accent"!==or(e,36).color&&"warn"!==or(e,36).color),t(e,42,0,!n.modStatusLoaded)})}function wk(t){return ui(0,[(t()(),Ga(0,0,null,null,1,"app-root",[["class","fullheight"]],null,null,null,xk,fk)),gr(1,114688,null,0,uf,[Qs,dm,Hm,tf,rf,Tv,cf,af],null,null)],function(t,e){t(e,1,0)},null)}var kk=Yo("app-root",uf,wk,{},{},[]),Sk=function(){return function(){}}(),Ek=function(){return function(){}}(),Tk=function(){function t(t,e){fs(e)&&!t&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}return t.withConfig=function(e,n){return void 0===n&&(n=[]),{ngModule:t,providers:e.serverLoaded?[{provide:eC,useValue:a({},tC,e)},{provide:oC,useValue:n,multi:!0},{provide:nC,useValue:!0}]:[{provide:eC,useValue:a({},tC,e)},{provide:oC,useValue:n,multi:!0}]}},t}(),Ik=function(){return function(){}}(),Rk=function(){return function(){}}(),Ak=new Bt("mat-chips-default-options"),Dk=function(){return function(){}}(),Nk=function(){return function(){}}(),zk=hl(bl,[uf],function(t){return function(t){for(var e={},n=[],o=!1,r=0;r= 0; l--) + (a = t[l]) && + (i = (r < 3 ? a(i) : r > 3 ? a(n, e, i) : a(n, e)) || i); + return r > 3 && i && Object.defineProperty(n, e, i), i; + } + function s(t, n) { + return function(e, o) { + n(e, o, t); + }; + } + function c(t, n) { + if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) + return Reflect.metadata(t, n); + } + function u(t, n, e, o) { + return new (e || (e = Promise))(function(a, r) { + function i(t) { + try { + s(o.next(t)); + } catch (n) { + r(n); + } + } + function l(t) { + try { + s(o.throw(t)); + } catch (n) { + r(n); + } + } + function s(t) { + t.done + ? a(t.value) + : new e(function(n) { + n(t.value); + }).then(i, l); + } + s((o = o.apply(t, n || [])).next()); + }); + } + function d(t, n) { + var e, + o, + a, + r, + i = { + label: 0, + sent: function() { + if (1 & a[0]) throw a[1]; + return a[1]; + }, + trys: [], + ops: [] + }; + return ( + (r = { next: l(0), throw: l(1), return: l(2) }), + "function" == typeof Symbol && + (r[Symbol.iterator] = function() { + return this; + }), + r + ); + function l(r) { + return function(l) { + return (function(r) { + if (e) throw new TypeError("Generator is already executing."); + for (; i; ) + try { + if ( + ((e = 1), + o && + (a = + 2 & r[0] + ? o.return + : r[0] + ? o.throw || ((a = o.return) && a.call(o), 0) + : o.next) && + !(a = a.call(o, r[1])).done) + ) + return a; + switch (((o = 0), a && (r = [2 & r[0], a.value]), r[0])) { + case 0: + case 1: + a = r; + break; + case 4: + return i.label++, { value: r[1], done: !1 }; + case 5: + i.label++, (o = r[1]), (r = [0]); + continue; + case 7: + (r = i.ops.pop()), i.trys.pop(); + continue; + default: + if ( + !(a = (a = i.trys).length > 0 && a[a.length - 1]) && + (6 === r[0] || 2 === r[0]) + ) { + i = 0; + continue; + } + if (3 === r[0] && (!a || (r[1] > a[0] && r[1] < a[3]))) { + i.label = r[1]; + break; + } + if (6 === r[0] && i.label < a[1]) { + (i.label = a[1]), (a = r); + break; + } + if (a && i.label < a[2]) { + (i.label = a[2]), i.ops.push(r); + break; + } + a[2] && i.ops.pop(), i.trys.pop(); + continue; + } + r = n.call(t, i); + } catch (l) { + (r = [6, l]), (o = 0); + } finally { + e = a = 0; + } + if (5 & r[0]) throw r[1]; + return { value: r[0] ? r[1] : void 0, done: !0 }; + })([r, l]); + }; + } + } + function p(t, n) { + for (var e in t) n.hasOwnProperty(e) || (n[e] = t[e]); + } + function m(t) { + var n = "function" == typeof Symbol && t[Symbol.iterator], + e = 0; + return n + ? n.call(t) + : { + next: function() { + return ( + t && e >= t.length && (t = void 0), + { value: t && t[e++], done: !t } + ); + } + }; + } + function g(t, n) { + var e = "function" == typeof Symbol && t[Symbol.iterator]; + if (!e) return t; + var o, + a, + r = e.call(t), + i = []; + try { + for (; (void 0 === n || n-- > 0) && !(o = r.next()).done; ) + i.push(o.value); + } catch (l) { + a = { error: l }; + } finally { + try { + o && !o.done && (e = r.return) && e.call(r); + } finally { + if (a) throw a.error; + } + } + return i; + } + function f() { + for (var t = [], n = 0; n < arguments.length; n++) + t = t.concat(g(arguments[n])); + return t; + } + function h() { + for (var t = 0, n = 0, e = arguments.length; n < e; n++) + t += arguments[n].length; + var o = Array(t), + a = 0; + for (n = 0; n < e; n++) + for (var r = arguments[n], i = 0, l = r.length; i < l; i++, a++) + o[a] = r[i]; + return o; + } + function b(t) { + return this instanceof b ? ((this.v = t), this) : new b(t); + } + function _(t, n, e) { + if (!Symbol.asyncIterator) + throw new TypeError("Symbol.asyncIterator is not defined."); + var o, + a = e.apply(t, n || []), + r = []; + return ( + (o = {}), + i("next"), + i("throw"), + i("return"), + (o[Symbol.asyncIterator] = function() { + return this; + }), + o + ); + function i(t) { + a[t] && + (o[t] = function(n) { + return new Promise(function(e, o) { + r.push([t, n, e, o]) > 1 || l(t, n); + }); + }); + } + function l(t, n) { + try { + (e = a[t](n)).value instanceof b + ? Promise.resolve(e.value.v).then(s, c) + : u(r[0][2], e); + } catch (o) { + u(r[0][3], o); + } + var e; + } + function s(t) { + l("next", t); + } + function c(t) { + l("throw", t); + } + function u(t, n) { + t(n), r.shift(), r.length && l(r[0][0], r[0][1]); + } + } + function y(t) { + var n, e; + return ( + (n = {}), + o("next"), + o("throw", function(t) { + throw t; + }), + o("return"), + (n[Symbol.iterator] = function() { + return this; + }), + n + ); + function o(o, a) { + n[o] = t[o] + ? function(n) { + return (e = !e) + ? { value: b(t[o](n)), done: "return" === o } + : a + ? a(n) + : n; + } + : a; + } + } + function C(t) { + if (!Symbol.asyncIterator) + throw new TypeError("Symbol.asyncIterator is not defined."); + var n, + e = t[Symbol.asyncIterator]; + return e + ? e.call(t) + : ((t = m(t)), + (n = {}), + o("next"), + o("throw"), + o("return"), + (n[Symbol.asyncIterator] = function() { + return this; + }), + n); + function o(e) { + n[e] = + t[e] && + function(n) { + return new Promise(function(o, a) { + !(function(t, n, e, o) { + Promise.resolve(o).then(function(n) { + t({ value: n, done: e }); + }, n); + })(o, a, (n = t[e](n)).done, n.value); + }); + }; + } + } + function v(t, n) { + return ( + Object.defineProperty + ? Object.defineProperty(t, "raw", { value: n }) + : (t.raw = n), + t + ); + } + function O(t) { + if (t && t.__esModule) return t; + var n = {}; + if (null != t) + for (var e in t) Object.hasOwnProperty.call(t, e) && (n[e] = t[e]); + return (n.default = t), n; + } + function P(t) { + return t && t.__esModule ? t : { default: t }; + } + }, + n3uD: function(t, n, e) { + "use strict"; + var o = !1; + n.config = { + Promise: void 0, + set useDeprecatedSynchronousErrorHandling(t) { + o = t; + }, + get useDeprecatedSynchronousErrorHandling() { + return o; + } + }; + }, + "p//D": function(t, n, e) { + "use strict"; + (n.rxSubscriber = + "function" == typeof Symbol + ? Symbol("rxSubscriber") + : "@@rxSubscriber_" + Math.random()), + (n.$$rxSubscriber = n.rxSubscriber); + }, + pshJ: function(t, n, e) { + "use strict"; + n.isFunction = function(t) { + return "function" == typeof t; + }; + }, + w5QO: function(t, n, e) { + "use strict"; + n.noop = function() {}; + }, + yLV6: function(t, n, e) { + var o; + !(function(a, r, i, l) { + "use strict"; + var s, + c = ["", "webkit", "Moz", "MS", "ms", "o"], + u = r.createElement("div"), + d = "function", + p = Math.round, + m = Math.abs, + g = Date.now; + function f(t, n, e) { + return setTimeout(O(t, e), n); + } + function h(t, n, e) { + return !!Array.isArray(t) && (b(t, e[n], e), !0); + } + function b(t, n, e) { + var o; + if (t) + if (t.forEach) t.forEach(n, e); + else if (t.length !== l) + for (o = 0; o < t.length; ) n.call(e, t[o], o, t), o++; + else for (o in t) t.hasOwnProperty(o) && n.call(e, t[o], o, t); + } + function _(t, n, e) { + var o = "DEPRECATED METHOD: " + n + "\n" + e + " AT \n"; + return function() { + var n = new Error("get-stack-trace"), + e = + n && n.stack + ? n.stack + .replace(/^[^\(]+?[\n$]/gm, "") + .replace(/^\s+at\s+/gm, "") + .replace(/^Object.\s*\(/gm, "{anonymous}()@") + : "Unknown Stack Trace", + r = a.console && (a.console.warn || a.console.log); + return r && r.call(a.console, o, e), t.apply(this, arguments); + }; + } + s = + "function" != typeof Object.assign + ? function(t) { + if (t === l || null === t) + throw new TypeError( + "Cannot convert undefined or null to object" + ); + for (var n = Object(t), e = 1; e < arguments.length; e++) { + var o = arguments[e]; + if (o !== l && null !== o) + for (var a in o) o.hasOwnProperty(a) && (n[a] = o[a]); + } + return n; + } + : Object.assign; + var y = _( + function(t, n, e) { + for (var o = Object.keys(n), a = 0; a < o.length; ) + (!e || (e && t[o[a]] === l)) && (t[o[a]] = n[o[a]]), a++; + return t; + }, + "extend", + "Use `assign`." + ), + C = _( + function(t, n) { + return y(t, n, !0); + }, + "merge", + "Use `assign`." + ); + function v(t, n, e) { + var o, + a = n.prototype; + ((o = t.prototype = Object.create(a)).constructor = t), + (o._super = a), + e && s(o, e); + } + function O(t, n) { + return function() { + return t.apply(n, arguments); + }; + } + function P(t, n) { + return typeof t == d ? t.apply((n && n[0]) || l, n) : t; + } + function M(t, n) { + return t === l ? n : t; + } + function x(t, n, e) { + b(E(n), function(n) { + t.addEventListener(n, e, !1); + }); + } + function k(t, n, e) { + b(E(n), function(n) { + t.removeEventListener(n, e, !1); + }); + } + function w(t, n) { + for (; t; ) { + if (t == n) return !0; + t = t.parentNode; + } + return !1; + } + function S(t, n) { + return t.indexOf(n) > -1; + } + function E(t) { + return t.trim().split(/\s+/g); + } + function I(t, n, e) { + if (t.indexOf && !e) return t.indexOf(n); + for (var o = 0; o < t.length; ) { + if ((e && t[o][e] == n) || (!e && t[o] === n)) return o; + o++; + } + return -1; + } + function A(t) { + return Array.prototype.slice.call(t, 0); + } + function T(t, n, e) { + for (var o = [], a = [], r = 0; r < t.length; ) { + var i = n ? t[r][n] : t[r]; + I(a, i) < 0 && o.push(t[r]), (a[r] = i), r++; + } + return ( + e && + (o = n + ? o.sort(function(t, e) { + return t[n] > e[n]; + }) + : o.sort()), + o + ); + } + function R(t, n) { + for ( + var e, o, a = n[0].toUpperCase() + n.slice(1), r = 0; + r < c.length; + + ) { + if ((o = (e = c[r]) ? e + a : n) in t) return o; + r++; + } + return l; + } + var D = 1; + function N(t) { + var n = t.ownerDocument || t; + return n.defaultView || n.parentWindow || a; + } + var z = "ontouchstart" in a, + L = R(a, "PointerEvent") !== l, + j = + z && + /mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent), + F = 25, + B = 1, + V = 4, + H = 8, + U = 1, + q = 2, + K = 4, + Y = 8, + W = 16, + G = q | K, + Z = Y | W, + Q = G | Z, + X = ["x", "y"], + J = ["clientX", "clientY"]; + function $(t, n) { + var e = this; + (this.manager = t), + (this.callback = n), + (this.element = t.element), + (this.target = t.options.inputTarget), + (this.domHandler = function(n) { + P(t.options.enable, [t]) && e.handler(n); + }), + this.init(); + } + function tt(t, n, e) { + var o = e.pointers.length, + a = e.changedPointers.length, + r = n & B && o - a == 0, + i = n & (V | H) && o - a == 0; + (e.isFirst = !!r), + (e.isFinal = !!i), + r && (t.session = {}), + (e.eventType = n), + (function(t, n) { + var e = t.session, + o = n.pointers, + a = o.length; + e.firstInput || (e.firstInput = nt(n)), + a > 1 && !e.firstMultiple + ? (e.firstMultiple = nt(n)) + : 1 === a && (e.firstMultiple = !1); + var r = e.firstInput, + i = e.firstMultiple, + s = i ? i.center : r.center, + c = (n.center = et(o)); + (n.timeStamp = g()), + (n.deltaTime = n.timeStamp - r.timeStamp), + (n.angle = it(s, c)), + (n.distance = rt(s, c)), + (function(t, n) { + var e = n.center, + o = t.offsetDelta || {}, + a = t.prevDelta || {}, + r = t.prevInput || {}; + (n.eventType !== B && r.eventType !== V) || + ((a = t.prevDelta = { x: r.deltaX || 0, y: r.deltaY || 0 }), + (o = t.offsetDelta = { x: e.x, y: e.y })), + (n.deltaX = a.x + (e.x - o.x)), + (n.deltaY = a.y + (e.y - o.y)); + })(e, n), + (n.offsetDirection = at(n.deltaX, n.deltaY)); + var u, + d, + p = ot(n.deltaTime, n.deltaX, n.deltaY); + (n.overallVelocityX = p.x), + (n.overallVelocityY = p.y), + (n.overallVelocity = m(p.x) > m(p.y) ? p.x : p.y), + (n.scale = i + ? ((u = i.pointers), + rt((d = o)[0], d[1], J) / rt(u[0], u[1], J)) + : 1), + (n.rotation = i + ? (function(t, n) { + return it(o[1], o[0], J) + it(t[1], t[0], J); + })(i.pointers) + : 0), + (n.maxPointers = e.prevInput + ? n.pointers.length > e.prevInput.maxPointers + ? n.pointers.length + : e.prevInput.maxPointers + : n.pointers.length), + (function(t, n) { + var e, + o, + a, + r, + i = t.lastInterval || n, + s = n.timeStamp - i.timeStamp; + if (n.eventType != H && (s > F || i.velocity === l)) { + var c = n.deltaX - i.deltaX, + u = n.deltaY - i.deltaY, + d = ot(s, c, u); + (o = d.x), + (a = d.y), + (e = m(d.x) > m(d.y) ? d.x : d.y), + (r = at(c, u)), + (t.lastInterval = n); + } else + (e = i.velocity), + (o = i.velocityX), + (a = i.velocityY), + (r = i.direction); + (n.velocity = e), + (n.velocityX = o), + (n.velocityY = a), + (n.direction = r); + })(e, n); + var f = t.element; + w(n.srcEvent.target, f) && (f = n.srcEvent.target), + (n.target = f); + })(t, e), + t.emit("hammer.input", e), + t.recognize(e), + (t.session.prevInput = e); + } + function nt(t) { + for (var n = [], e = 0; e < t.pointers.length; ) + (n[e] = { + clientX: p(t.pointers[e].clientX), + clientY: p(t.pointers[e].clientY) + }), + e++; + return { + timeStamp: g(), + pointers: n, + center: et(n), + deltaX: t.deltaX, + deltaY: t.deltaY + }; + } + function et(t) { + var n = t.length; + if (1 === n) return { x: p(t[0].clientX), y: p(t[0].clientY) }; + for (var e = 0, o = 0, a = 0; a < n; ) + (e += t[a].clientX), (o += t[a].clientY), a++; + return { x: p(e / n), y: p(o / n) }; + } + function ot(t, n, e) { + return { x: n / t || 0, y: e / t || 0 }; + } + function at(t, n) { + return t === n ? U : m(t) >= m(n) ? (t < 0 ? q : K) : n < 0 ? Y : W; + } + function rt(t, n, e) { + e || (e = X); + var o = n[e[0]] - t[e[0]], + a = n[e[1]] - t[e[1]]; + return Math.sqrt(o * o + a * a); + } + function it(t, n, e) { + return ( + e || (e = X), + (180 * Math.atan2(n[e[1]] - t[e[1]], n[e[0]] - t[e[0]])) / Math.PI + ); + } + $.prototype = { + handler: function() {}, + init: function() { + this.evEl && x(this.element, this.evEl, this.domHandler), + this.evTarget && x(this.target, this.evTarget, this.domHandler), + this.evWin && x(N(this.element), this.evWin, this.domHandler); + }, + destroy: function() { + this.evEl && k(this.element, this.evEl, this.domHandler), + this.evTarget && k(this.target, this.evTarget, this.domHandler), + this.evWin && k(N(this.element), this.evWin, this.domHandler); + } + }; + var lt = { mousedown: B, mousemove: 2, mouseup: V }, + st = "mousedown", + ct = "mousemove mouseup"; + function ut() { + (this.evEl = st), + (this.evWin = ct), + (this.pressed = !1), + $.apply(this, arguments); + } + v(ut, $, { + handler: function(t) { + var n = lt[t.type]; + n & B && 0 === t.button && (this.pressed = !0), + 2 & n && 1 !== t.which && (n = V), + this.pressed && + (n & V && (this.pressed = !1), + this.callback(this.manager, n, { + pointers: [t], + changedPointers: [t], + pointerType: "mouse", + srcEvent: t + })); + } + }); + var dt = { + pointerdown: B, + pointermove: 2, + pointerup: V, + pointercancel: H, + pointerout: H + }, + pt = { 2: "touch", 3: "pen", 4: "mouse", 5: "kinect" }, + mt = "pointerdown", + gt = "pointermove pointerup pointercancel"; + function ft() { + (this.evEl = mt), + (this.evWin = gt), + $.apply(this, arguments), + (this.store = this.manager.session.pointerEvents = []); + } + a.MSPointerEvent && + !a.PointerEvent && + ((mt = "MSPointerDown"), + (gt = "MSPointerMove MSPointerUp MSPointerCancel")), + v(ft, $, { + handler: function(t) { + var n = this.store, + e = !1, + o = t.type.toLowerCase().replace("ms", ""), + a = dt[o], + r = pt[t.pointerType] || t.pointerType, + i = "touch" == r, + l = I(n, t.pointerId, "pointerId"); + a & B && (0 === t.button || i) + ? l < 0 && (n.push(t), (l = n.length - 1)) + : a & (V | H) && (e = !0), + l < 0 || + ((n[l] = t), + this.callback(this.manager, a, { + pointers: n, + changedPointers: [t], + pointerType: r, + srcEvent: t + }), + e && n.splice(l, 1)); + } + }); + var ht = { touchstart: B, touchmove: 2, touchend: V, touchcancel: H }, + bt = "touchstart", + _t = "touchstart touchmove touchend touchcancel"; + function yt() { + (this.evTarget = bt), + (this.evWin = _t), + (this.started = !1), + $.apply(this, arguments); + } + v(yt, $, { + handler: function(t) { + var n = ht[t.type]; + if ((n === B && (this.started = !0), this.started)) { + var e = function(t, n) { + var e = A(t.touches), + o = A(t.changedTouches); + return ( + n & (V | H) && (e = T(e.concat(o), "identifier", !0)), [e, o] + ); + }.call(this, t, n); + n & (V | H) && + e[0].length - e[1].length == 0 && + (this.started = !1), + this.callback(this.manager, n, { + pointers: e[0], + changedPointers: e[1], + pointerType: "touch", + srcEvent: t + }); + } + } + }); + var Ct = { touchstart: B, touchmove: 2, touchend: V, touchcancel: H }, + vt = "touchstart touchmove touchend touchcancel"; + function Ot() { + (this.evTarget = vt), (this.targetIds = {}), $.apply(this, arguments); + } + v(Ot, $, { + handler: function(t) { + var n = Ct[t.type], + e = function(t, n) { + var e = A(t.touches), + o = this.targetIds; + if (n & (2 | B) && 1 === e.length) + return (o[e[0].identifier] = !0), [e, e]; + var a, + r, + i = A(t.changedTouches), + l = [], + s = this.target; + if ( + ((r = e.filter(function(t) { + return w(t.target, s); + })), + n === B) + ) + for (a = 0; a < r.length; ) (o[r[a].identifier] = !0), a++; + for (a = 0; a < i.length; ) + o[i[a].identifier] && l.push(i[a]), + n & (V | H) && delete o[i[a].identifier], + a++; + return l.length + ? [T(r.concat(l), "identifier", !0), l] + : void 0; + }.call(this, t, n); + e && + this.callback(this.manager, n, { + pointers: e[0], + changedPointers: e[1], + pointerType: "touch", + srcEvent: t + }); + } + }); + var Pt = 2500; + function Mt() { + $.apply(this, arguments); + var t = O(this.handler, this); + (this.touch = new Ot(this.manager, t)), + (this.mouse = new ut(this.manager, t)), + (this.primaryTouch = null), + (this.lastTouches = []); + } + function xt(t) { + var n = t.changedPointers[0]; + if (n.identifier === this.primaryTouch) { + var e = { x: n.clientX, y: n.clientY }; + this.lastTouches.push(e); + var o = this.lastTouches; + setTimeout(function() { + var t = o.indexOf(e); + t > -1 && o.splice(t, 1); + }, Pt); + } + } + v(Mt, $, { + handler: function(t, n, e) { + var o = "mouse" == e.pointerType; + if ( + !( + o && + e.sourceCapabilities && + e.sourceCapabilities.firesTouchEvents + ) + ) { + if ("touch" == e.pointerType) + (function(t, n) { + t & B + ? ((this.primaryTouch = n.changedPointers[0].identifier), + xt.call(this, n)) + : t & (V | H) && xt.call(this, n); + }.call(this, n, e)); + else if ( + o && + function(t) { + for ( + var n = t.srcEvent.clientX, e = t.srcEvent.clientY, o = 0; + o < this.lastTouches.length; + o++ + ) { + var a = this.lastTouches[o], + r = Math.abs(n - a.x), + i = Math.abs(e - a.y); + if (r <= 25 && i <= 25) return !0; + } + return !1; + }.call(this, e) + ) + return; + this.callback(t, n, e); + } + }, + destroy: function() { + this.touch.destroy(), this.mouse.destroy(); + } + }); + var kt = R(u.style, "touchAction"), + wt = kt !== l, + St = (function() { + if (!wt) return !1; + var t = {}, + n = a.CSS && a.CSS.supports; + return ( + [ + "auto", + "manipulation", + "pan-y", + "pan-x", + "pan-x pan-y", + "none" + ].forEach(function(e) { + t[e] = !n || a.CSS.supports("touch-action", e); + }), + t + ); + })(); + function Et(t, n) { + (this.manager = t), this.set(n); + } + Et.prototype = { + set: function(t) { + "compute" == t && (t = this.compute()), + wt && + this.manager.element.style && + St[t] && + (this.manager.element.style[kt] = t), + (this.actions = t.toLowerCase().trim()); + }, + update: function() { + this.set(this.manager.options.touchAction); + }, + compute: function() { + var t = []; + return ( + b(this.manager.recognizers, function(n) { + P(n.options.enable, [n]) && (t = t.concat(n.getTouchAction())); + }), + (function(t) { + if (S(t, "none")) return "none"; + var n = S(t, "pan-x"), + e = S(t, "pan-y"); + return n && e + ? "none" + : n || e + ? n + ? "pan-x" + : "pan-y" + : S(t, "manipulation") + ? "manipulation" + : "auto"; + })(t.join(" ")) + ); + }, + preventDefaults: function(t) { + var n = t.srcEvent, + e = t.offsetDirection; + if (this.manager.session.prevented) n.preventDefault(); + else { + var o = this.actions, + a = S(o, "none") && !St.none, + r = S(o, "pan-y") && !St["pan-y"], + i = S(o, "pan-x") && !St["pan-x"]; + if ( + a && + 1 === t.pointers.length && + t.distance < 2 && + t.deltaTime < 250 + ) + return; + if (!i || !r) + return a || (r && e & G) || (i && e & Z) + ? this.preventSrc(n) + : void 0; + } + }, + preventSrc: function(t) { + (this.manager.session.prevented = !0), t.preventDefault(); + } + }; + var It = 1, + At = 2, + Tt = 4, + Rt = 8, + Dt = Rt, + Nt = 16; + function zt(t) { + (this.options = s({}, this.defaults, t || {})), + (this.id = D++), + (this.manager = null), + (this.options.enable = M(this.options.enable, !0)), + (this.state = It), + (this.simultaneous = {}), + (this.requireFail = []); + } + function Lt(t) { + return t & Nt + ? "cancel" + : t & Rt + ? "end" + : t & Tt + ? "move" + : t & At + ? "start" + : ""; + } + function jt(t) { + return t == W + ? "down" + : t == Y + ? "up" + : t == q + ? "left" + : t == K + ? "right" + : ""; + } + function Ft(t, n) { + var e = n.manager; + return e ? e.get(t) : t; + } + function Bt() { + zt.apply(this, arguments); + } + function Vt() { + Bt.apply(this, arguments), (this.pX = null), (this.pY = null); + } + function Ht() { + Bt.apply(this, arguments); + } + function Ut() { + zt.apply(this, arguments), (this._timer = null), (this._input = null); + } + function qt() { + Bt.apply(this, arguments); + } + function Kt() { + Bt.apply(this, arguments); + } + function Yt() { + zt.apply(this, arguments), + (this.pTime = !1), + (this.pCenter = !1), + (this._timer = null), + (this._input = null), + (this.count = 0); + } + function Wt(t, n) { + return ( + ((n = n || {}).recognizers = M(n.recognizers, Wt.defaults.preset)), + new Gt(t, n) + ); + } + function Gt(t, n) { + var e; + (this.options = s({}, Wt.defaults, n || {})), + (this.options.inputTarget = this.options.inputTarget || t), + (this.handlers = {}), + (this.session = {}), + (this.recognizers = []), + (this.oldCssProps = {}), + (this.element = t), + (this.input = new ((e = this).options.inputClass || + (L ? ft : j ? Ot : z ? Mt : ut))(e, tt)), + (this.touchAction = new Et(this, this.options.touchAction)), + Zt(this, !0), + b( + this.options.recognizers, + function(t) { + var n = this.add(new t[0](t[1])); + t[2] && n.recognizeWith(t[2]), t[3] && n.requireFailure(t[3]); + }, + this + ); + } + function Zt(t, n) { + var e, + o = t.element; + o.style && + (b(t.options.cssProps, function(a, r) { + (e = R(o.style, r)), + n + ? ((t.oldCssProps[e] = o.style[e]), (o.style[e] = a)) + : (o.style[e] = t.oldCssProps[e] || ""); + }), + n || (t.oldCssProps = {})); + } + (zt.prototype = { + defaults: {}, + set: function(t) { + return ( + s(this.options, t), + this.manager && this.manager.touchAction.update(), + this + ); + }, + recognizeWith: function(t) { + if (h(t, "recognizeWith", this)) return this; + var n = this.simultaneous; + return ( + n[(t = Ft(t, this)).id] || ((n[t.id] = t), t.recognizeWith(this)), + this + ); + }, + dropRecognizeWith: function(t) { + return h(t, "dropRecognizeWith", this) + ? this + : ((t = Ft(t, this)), delete this.simultaneous[t.id], this); + }, + requireFailure: function(t) { + if (h(t, "requireFailure", this)) return this; + var n = this.requireFail; + return ( + -1 === I(n, (t = Ft(t, this))) && + (n.push(t), t.requireFailure(this)), + this + ); + }, + dropRequireFailure: function(t) { + if (h(t, "dropRequireFailure", this)) return this; + t = Ft(t, this); + var n = I(this.requireFail, t); + return n > -1 && this.requireFail.splice(n, 1), this; + }, + hasRequireFailures: function() { + return this.requireFail.length > 0; + }, + canRecognizeWith: function(t) { + return !!this.simultaneous[t.id]; + }, + emit: function(t) { + var n = this, + e = this.state; + function o(e) { + n.manager.emit(e, t); + } + e < Rt && o(n.options.event + Lt(e)), + o(n.options.event), + t.additionalEvent && o(t.additionalEvent), + e >= Rt && o(n.options.event + Lt(e)); + }, + tryEmit: function(t) { + if (this.canEmit()) return this.emit(t); + this.state = 32; + }, + canEmit: function() { + for (var t = 0; t < this.requireFail.length; ) { + if (!(this.requireFail[t].state & (32 | It))) return !1; + t++; + } + return !0; + }, + recognize: function(t) { + var n = s({}, t); + if (!P(this.options.enable, [this, n])) + return this.reset(), void (this.state = 32); + this.state & (Dt | Nt | 32) && (this.state = It), + (this.state = this.process(n)), + this.state & (At | Tt | Rt | Nt) && this.tryEmit(n); + }, + process: function(t) {}, + getTouchAction: function() {}, + reset: function() {} + }), + v(Bt, zt, { + defaults: { pointers: 1 }, + attrTest: function(t) { + var n = this.options.pointers; + return 0 === n || t.pointers.length === n; + }, + process: function(t) { + var n = this.state, + e = t.eventType, + o = n & (At | Tt), + a = this.attrTest(t); + return o && (e & H || !a) + ? n | Nt + : o || a + ? e & V + ? n | Rt + : n & At + ? n | Tt + : At + : 32; + } + }), + v(Vt, Bt, { + defaults: { + event: "pan", + threshold: 10, + pointers: 1, + direction: Q + }, + getTouchAction: function() { + var t = this.options.direction, + n = []; + return t & G && n.push("pan-y"), t & Z && n.push("pan-x"), n; + }, + directionTest: function(t) { + var n = this.options, + e = !0, + o = t.distance, + a = t.direction, + r = t.deltaX, + i = t.deltaY; + return ( + a & n.direction || + (n.direction & G + ? ((a = 0 === r ? U : r < 0 ? q : K), + (e = r != this.pX), + (o = Math.abs(t.deltaX))) + : ((a = 0 === i ? U : i < 0 ? Y : W), + (e = i != this.pY), + (o = Math.abs(t.deltaY)))), + (t.direction = a), + e && o > n.threshold && a & n.direction + ); + }, + attrTest: function(t) { + return ( + Bt.prototype.attrTest.call(this, t) && + (this.state & At || + (!(this.state & At) && this.directionTest(t))) + ); + }, + emit: function(t) { + (this.pX = t.deltaX), (this.pY = t.deltaY); + var n = jt(t.direction); + n && (t.additionalEvent = this.options.event + n), + this._super.emit.call(this, t); + } + }), + v(Ht, Bt, { + defaults: { event: "pinch", threshold: 0, pointers: 2 }, + getTouchAction: function() { + return ["none"]; + }, + attrTest: function(t) { + return ( + this._super.attrTest.call(this, t) && + (Math.abs(t.scale - 1) > this.options.threshold || + this.state & At) + ); + }, + emit: function(t) { + 1 !== t.scale && + (t.additionalEvent = + this.options.event + (t.scale < 1 ? "in" : "out")), + this._super.emit.call(this, t); + } + }), + v(Ut, zt, { + defaults: { event: "press", pointers: 1, time: 251, threshold: 9 }, + getTouchAction: function() { + return ["auto"]; + }, + process: function(t) { + var n = this.options, + e = t.pointers.length === n.pointers, + o = t.distance < n.threshold, + a = t.deltaTime > n.time; + if ( + ((this._input = t), !o || !e || (t.eventType & (V | H) && !a)) + ) + this.reset(); + else if (t.eventType & B) + this.reset(), + (this._timer = f( + function() { + (this.state = Dt), this.tryEmit(); + }, + n.time, + this + )); + else if (t.eventType & V) return Dt; + return 32; + }, + reset: function() { + clearTimeout(this._timer); + }, + emit: function(t) { + this.state === Dt && + (t && t.eventType & V + ? this.manager.emit(this.options.event + "up", t) + : ((this._input.timeStamp = g()), + this.manager.emit(this.options.event, this._input))); + } + }), + v(qt, Bt, { + defaults: { event: "rotate", threshold: 0, pointers: 2 }, + getTouchAction: function() { + return ["none"]; + }, + attrTest: function(t) { + return ( + this._super.attrTest.call(this, t) && + (Math.abs(t.rotation) > this.options.threshold || + this.state & At) + ); + } + }), + v(Kt, Bt, { + defaults: { + event: "swipe", + threshold: 10, + velocity: 0.3, + direction: G | Z, + pointers: 1 + }, + getTouchAction: function() { + return Vt.prototype.getTouchAction.call(this); + }, + attrTest: function(t) { + var n, + e = this.options.direction; + return ( + e & (G | Z) + ? (n = t.overallVelocity) + : e & G + ? (n = t.overallVelocityX) + : e & Z && (n = t.overallVelocityY), + this._super.attrTest.call(this, t) && + e & t.offsetDirection && + t.distance > this.options.threshold && + t.maxPointers == this.options.pointers && + m(n) > this.options.velocity && + t.eventType & V + ); + }, + emit: function(t) { + var n = jt(t.offsetDirection); + n && this.manager.emit(this.options.event + n, t), + this.manager.emit(this.options.event, t); + } + }), + v(Yt, zt, { + defaults: { + event: "tap", + pointers: 1, + taps: 1, + interval: 300, + time: 250, + threshold: 9, + posThreshold: 10 + }, + getTouchAction: function() { + return ["manipulation"]; + }, + process: function(t) { + var n = this.options, + e = t.pointers.length === n.pointers, + o = t.distance < n.threshold, + a = t.deltaTime < n.time; + if ((this.reset(), t.eventType & B && 0 === this.count)) + return this.failTimeout(); + if (o && a && e) { + if (t.eventType != V) return this.failTimeout(); + var r = !this.pTime || t.timeStamp - this.pTime < n.interval, + i = + !this.pCenter || + rt(this.pCenter, t.center) < n.posThreshold; + if ( + ((this.pTime = t.timeStamp), + (this.pCenter = t.center), + i && r ? (this.count += 1) : (this.count = 1), + (this._input = t), + 0 == this.count % n.taps) + ) + return this.hasRequireFailures() + ? ((this._timer = f( + function() { + (this.state = Dt), this.tryEmit(); + }, + n.interval, + this + )), + At) + : Dt; + } + return 32; + }, + failTimeout: function() { + return ( + (this._timer = f( + function() { + this.state = 32; + }, + this.options.interval, + this + )), + 32 + ); + }, + reset: function() { + clearTimeout(this._timer); + }, + emit: function() { + this.state == Dt && + ((this._input.tapCount = this.count), + this.manager.emit(this.options.event, this._input)); + } + }), + (Wt.VERSION = "2.0.7"), + (Wt.defaults = { + domEvents: !1, + touchAction: "compute", + enable: !0, + inputTarget: null, + inputClass: null, + preset: [ + [qt, { enable: !1 }], + [Ht, { enable: !1 }, ["rotate"]], + [Kt, { direction: G }], + [Vt, { direction: G }, ["swipe"]], + [Yt], + [Yt, { event: "doubletap", taps: 2 }, ["tap"]], + [Ut] + ], + cssProps: { + userSelect: "none", + touchSelect: "none", + touchCallout: "none", + contentZooming: "none", + userDrag: "none", + tapHighlightColor: "rgba(0,0,0,0)" + } + }), + (Gt.prototype = { + set: function(t) { + return ( + s(this.options, t), + t.touchAction && this.touchAction.update(), + t.inputTarget && + (this.input.destroy(), + (this.input.target = t.inputTarget), + this.input.init()), + this + ); + }, + stop: function(t) { + this.session.stopped = t ? 2 : 1; + }, + recognize: function(t) { + var n = this.session; + if (!n.stopped) { + var e; + this.touchAction.preventDefaults(t); + var o = this.recognizers, + a = n.curRecognizer; + (!a || (a && a.state & Dt)) && (a = n.curRecognizer = null); + for (var r = 0; r < o.length; ) + (e = o[r]), + 2 === n.stopped || (a && e != a && !e.canRecognizeWith(a)) + ? e.reset() + : e.recognize(t), + !a && e.state & (At | Tt | Rt) && (a = n.curRecognizer = e), + r++; + } + }, + get: function(t) { + if (t instanceof zt) return t; + for (var n = this.recognizers, e = 0; e < n.length; e++) + if (n[e].options.event == t) return n[e]; + return null; + }, + add: function(t) { + if (h(t, "add", this)) return this; + var n = this.get(t.options.event); + return ( + n && this.remove(n), + this.recognizers.push(t), + (t.manager = this), + this.touchAction.update(), + t + ); + }, + remove: function(t) { + if (h(t, "remove", this)) return this; + if ((t = this.get(t))) { + var n = this.recognizers, + e = I(n, t); + -1 !== e && (n.splice(e, 1), this.touchAction.update()); + } + return this; + }, + on: function(t, n) { + if (t !== l && n !== l) { + var e = this.handlers; + return ( + b(E(t), function(t) { + (e[t] = e[t] || []), e[t].push(n); + }), + this + ); + } + }, + off: function(t, n) { + if (t !== l) { + var e = this.handlers; + return ( + b(E(t), function(t) { + n ? e[t] && e[t].splice(I(e[t], n), 1) : delete e[t]; + }), + this + ); + } + }, + emit: function(t, n) { + this.options.domEvents && + (function(t, n) { + var e = r.createEvent("Event"); + e.initEvent(t, !0, !0), + (e.gesture = n), + n.target.dispatchEvent(e); + })(t, n); + var e = this.handlers[t] && this.handlers[t].slice(); + if (e && e.length) { + (n.type = t), + (n.preventDefault = function() { + n.srcEvent.preventDefault(); + }); + for (var o = 0; o < e.length; ) e[o](n), o++; + } + }, + destroy: function() { + this.element && Zt(this, !1), + (this.handlers = {}), + (this.session = {}), + this.input.destroy(), + (this.element = null); + } + }), + s(Wt, { + INPUT_START: B, + INPUT_MOVE: 2, + INPUT_END: V, + INPUT_CANCEL: H, + STATE_POSSIBLE: It, + STATE_BEGAN: At, + STATE_CHANGED: Tt, + STATE_ENDED: Rt, + STATE_RECOGNIZED: Dt, + STATE_CANCELLED: Nt, + STATE_FAILED: 32, + DIRECTION_NONE: U, + DIRECTION_LEFT: q, + DIRECTION_RIGHT: K, + DIRECTION_UP: Y, + DIRECTION_DOWN: W, + DIRECTION_HORIZONTAL: G, + DIRECTION_VERTICAL: Z, + DIRECTION_ALL: Q, + Manager: Gt, + Input: $, + TouchAction: Et, + TouchInput: Ot, + MouseInput: ut, + PointerEventInput: ft, + TouchMouseInput: Mt, + SingleTouchInput: yt, + Recognizer: zt, + AttrRecognizer: Bt, + Tap: Yt, + Pan: Vt, + Swipe: Kt, + Pinch: Ht, + Rotate: qt, + Press: Ut, + on: x, + off: k, + each: b, + merge: C, + extend: y, + assign: s, + inherit: v, + bindFn: O, + prefixed: R + }), + ((void 0 !== a + ? a + : "undefined" != typeof self + ? self + : {} + ).Hammer = Wt), + (o = function() { + return Wt; + }.call(n, e, n, t)) === l || (t.exports = o); + })(window, document); + }, + yx2s: function(t, n, e) { + "use strict"; + var o = e("FWf1"); + n.canReportError = function(t) { + for (; t; ) { + var n = t.destination; + if (t.closed || t.isStopped) return !1; + t = n && n instanceof o.Subscriber ? n : null; + } + return !0; + }; + }, + "zB/H": function(t, n, e) { + "use strict"; + var o = e("mbIT"), + a = e("GMZp"), + r = e("pshJ"), + i = e("LBXl"); + function l(t) { + return t.reduce(function(t, n) { + return t.concat(n instanceof i.UnsubscriptionError ? n.errors : n); + }, []); + } + n.Subscription = (function() { + function t(t) { + (this.closed = !1), + (this._parent = null), + (this._parents = null), + (this._subscriptions = null), + t && (this._unsubscribe = t); + } + var n; + return ( + (t.prototype.unsubscribe = function() { + var t, + n = !1; + if (!this.closed) { + var e = this._parent, + s = this._parents, + c = this._unsubscribe, + u = this._subscriptions; + (this.closed = !0), + (this._parent = null), + (this._parents = null), + (this._subscriptions = null); + for (var d = -1, p = s ? s.length : 0; e; ) + e.remove(this), (e = (++d < p && s[d]) || null); + if (r.isFunction(c)) + try { + c.call(this); + } catch (g) { + (n = !0), + (t = + g instanceof i.UnsubscriptionError ? l(g.errors) : [g]); + } + if (o.isArray(u)) + for (d = -1, p = u.length; ++d < p; ) { + var m = u[d]; + if (a.isObject(m)) + try { + m.unsubscribe(); + } catch (g) { + (n = !0), + (t = t || []), + g instanceof i.UnsubscriptionError + ? (t = t.concat(l(g.errors))) + : t.push(g); + } + } + if (n) throw new i.UnsubscriptionError(t); + } + }), + (t.prototype.add = function(n) { + var e = n; + switch (typeof n) { + case "function": + e = new t(n); + case "object": + if ( + e === this || + e.closed || + "function" != typeof e.unsubscribe + ) + return e; + if (this.closed) return e.unsubscribe(), e; + if (!(e instanceof t)) { + var o = e; + (e = new t())._subscriptions = [o]; + } + break; + default: + if (!n) return t.EMPTY; + throw new Error( + "unrecognized teardown " + n + " added to Subscription." + ); + } + if (e._addParent(this)) { + var a = this._subscriptions; + a ? a.push(e) : (this._subscriptions = [e]); + } + return e; + }), + (t.prototype.remove = function(t) { + var n = this._subscriptions; + if (n) { + var e = n.indexOf(t); + -1 !== e && n.splice(e, 1); + } + }), + (t.prototype._addParent = function(t) { + var n = this._parent, + e = this._parents; + return ( + n !== t && + (n + ? e + ? -1 === e.indexOf(t) && (e.push(t), !0) + : ((this._parents = [t]), !0) + : ((this._parent = t), !0)) + ); + }), + (t.EMPTY = (((n = new t()).closed = !0), n)), + t + ); + })(); + }, + zUnb: function(t, n, e) { + "use strict"; + e.r(n), e("yLV6"); + var o = e("mrSG"), + a = + Array.isArray || + function(t) { + return t && "number" == typeof t.length; + }; + function r(t) { + return null !== t && "object" == typeof t; + } + function i(t) { + return "function" == typeof t; + } + function l(t) { + return ( + Error.call(this), + (this.message = t + ? t.length + + " errors occurred during unsubscription:\n" + + t + .map(function(t, n) { + return n + 1 + ") " + t.toString(); + }) + .join("\n ") + : ""), + (this.name = "UnsubscriptionError"), + (this.errors = t), + this + ); + } + l.prototype = Object.create(Error.prototype); + var s = l, + c = (function() { + function t(t) { + (this.closed = !1), + (this._parent = null), + (this._parents = null), + (this._subscriptions = null), + t && (this._unsubscribe = t); + } + var n; + return ( + (t.prototype.unsubscribe = function() { + var t, + n = !1; + if (!this.closed) { + var e = this._parent, + o = this._parents, + l = this._unsubscribe, + c = this._subscriptions; + (this.closed = !0), + (this._parent = null), + (this._parents = null), + (this._subscriptions = null); + for (var d = -1, p = o ? o.length : 0; e; ) + e.remove(this), (e = (++d < p && o[d]) || null); + if (i(l)) + try { + l.call(this); + } catch (g) { + (n = !0), (t = g instanceof s ? u(g.errors) : [g]); + } + if (a(c)) + for (d = -1, p = c.length; ++d < p; ) { + var m = c[d]; + if (r(m)) + try { + m.unsubscribe(); + } catch (g) { + (n = !0), + (t = t || []), + g instanceof s + ? (t = t.concat(u(g.errors))) + : t.push(g); + } + } + if (n) throw new s(t); + } + }), + (t.prototype.add = function(n) { + var e = n; + switch (typeof n) { + case "function": + e = new t(n); + case "object": + if ( + e === this || + e.closed || + "function" != typeof e.unsubscribe + ) + return e; + if (this.closed) return e.unsubscribe(), e; + if (!(e instanceof t)) { + var o = e; + (e = new t())._subscriptions = [o]; + } + break; + default: + if (!n) return t.EMPTY; + throw new Error( + "unrecognized teardown " + n + " added to Subscription." + ); + } + if (e._addParent(this)) { + var a = this._subscriptions; + a ? a.push(e) : (this._subscriptions = [e]); + } + return e; + }), + (t.prototype.remove = function(t) { + var n = this._subscriptions; + if (n) { + var e = n.indexOf(t); + -1 !== e && n.splice(e, 1); + } + }), + (t.prototype._addParent = function(t) { + var n = this._parent, + e = this._parents; + return ( + n !== t && + (n + ? e + ? -1 === e.indexOf(t) && (e.push(t), !0) + : ((this._parents = [t]), !0) + : ((this._parent = t), !0)) + ); + }), + (t.EMPTY = (((n = new t()).closed = !0), n)), + t + ); + })(); + function u(t) { + return t.reduce(function(t, n) { + return t.concat(n instanceof s ? n.errors : n); + }, []); + } + var d = !1, + p = { + Promise: void 0, + set useDeprecatedSynchronousErrorHandling(t) { + d = t; + }, + get useDeprecatedSynchronousErrorHandling() { + return d; + } + }; + function m(t) { + setTimeout(function() { + throw t; + }); + } + var g = { + closed: !0, + next: function(t) {}, + error: function(t) { + if (p.useDeprecatedSynchronousErrorHandling) throw t; + m(t); + }, + complete: function() {} + }, + f = + "function" == typeof Symbol + ? Symbol("rxSubscriber") + : "@@rxSubscriber_" + Math.random(), + h = (function(t) { + function n(e, o, a) { + var r = t.call(this) || this; + switch ( + ((r.syncErrorValue = null), + (r.syncErrorThrown = !1), + (r.syncErrorThrowable = !1), + (r.isStopped = !1), + arguments.length) + ) { + case 0: + r.destination = g; + break; + case 1: + if (!e) { + r.destination = g; + break; + } + if ("object" == typeof e) { + e instanceof n + ? ((r.syncErrorThrowable = e.syncErrorThrowable), + (r.destination = e), + e.add(r)) + : ((r.syncErrorThrowable = !0), + (r.destination = new b(r, e))); + break; + } + default: + (r.syncErrorThrowable = !0), + (r.destination = new b(r, e, o, a)); + } + return r; + } + return ( + o.__extends(n, t), + (n.prototype[f] = function() { + return this; + }), + (n.create = function(t, e, o) { + var a = new n(t, e, o); + return (a.syncErrorThrowable = !1), a; + }), + (n.prototype.next = function(t) { + this.isStopped || this._next(t); + }), + (n.prototype.error = function(t) { + this.isStopped || ((this.isStopped = !0), this._error(t)); + }), + (n.prototype.complete = function() { + this.isStopped || ((this.isStopped = !0), this._complete()); + }), + (n.prototype.unsubscribe = function() { + this.closed || + ((this.isStopped = !0), t.prototype.unsubscribe.call(this)); + }), + (n.prototype._next = function(t) { + this.destination.next(t); + }), + (n.prototype._error = function(t) { + this.destination.error(t), this.unsubscribe(); + }), + (n.prototype._complete = function() { + this.destination.complete(), this.unsubscribe(); + }), + (n.prototype._unsubscribeAndRecycle = function() { + var t = this._parent, + n = this._parents; + return ( + (this._parent = null), + (this._parents = null), + this.unsubscribe(), + (this.closed = !1), + (this.isStopped = !1), + (this._parent = t), + (this._parents = n), + this + ); + }), + n + ); + })(c), + b = (function(t) { + function n(n, e, o, a) { + var r, + l = t.call(this) || this; + l._parentSubscriber = n; + var s = l; + return ( + i(e) + ? (r = e) + : e && + ((r = e.next), + (o = e.error), + (a = e.complete), + e !== g && + (i((s = Object.create(e)).unsubscribe) && + l.add(s.unsubscribe.bind(s)), + (s.unsubscribe = l.unsubscribe.bind(l)))), + (l._context = s), + (l._next = r), + (l._error = o), + (l._complete = a), + l + ); + } + return ( + o.__extends(n, t), + (n.prototype.next = function(t) { + if (!this.isStopped && this._next) { + var n = this._parentSubscriber; + p.useDeprecatedSynchronousErrorHandling && n.syncErrorThrowable + ? this.__tryOrSetError(n, this._next, t) && this.unsubscribe() + : this.__tryOrUnsub(this._next, t); + } + }), + (n.prototype.error = function(t) { + if (!this.isStopped) { + var n = this._parentSubscriber, + e = p.useDeprecatedSynchronousErrorHandling; + if (this._error) + e && n.syncErrorThrowable + ? (this.__tryOrSetError(n, this._error, t), + this.unsubscribe()) + : (this.__tryOrUnsub(this._error, t), this.unsubscribe()); + else if (n.syncErrorThrowable) + e ? ((n.syncErrorValue = t), (n.syncErrorThrown = !0)) : m(t), + this.unsubscribe(); + else { + if ((this.unsubscribe(), e)) throw t; + m(t); + } + } + }), + (n.prototype.complete = function() { + var t = this; + if (!this.isStopped) { + var n = this._parentSubscriber; + if (this._complete) { + var e = function() { + return t._complete.call(t._context); + }; + p.useDeprecatedSynchronousErrorHandling && + n.syncErrorThrowable + ? (this.__tryOrSetError(n, e), this.unsubscribe()) + : (this.__tryOrUnsub(e), this.unsubscribe()); + } else this.unsubscribe(); + } + }), + (n.prototype.__tryOrUnsub = function(t, n) { + try { + t.call(this._context, n); + } catch (e) { + if ( + (this.unsubscribe(), p.useDeprecatedSynchronousErrorHandling) + ) + throw e; + m(e); + } + }), + (n.prototype.__tryOrSetError = function(t, n, e) { + if (!p.useDeprecatedSynchronousErrorHandling) + throw new Error("bad call"); + try { + n.call(this._context, e); + } catch (o) { + return p.useDeprecatedSynchronousErrorHandling + ? ((t.syncErrorValue = o), (t.syncErrorThrown = !0), !0) + : (m(o), !0); + } + return !1; + }), + (n.prototype._unsubscribe = function() { + var t = this._parentSubscriber; + (this._context = null), + (this._parentSubscriber = null), + t.unsubscribe(); + }), + n + ); + })(h), + _ = + ("function" == typeof Symbol && Symbol.observable) || "@@observable"; + function y() {} + function C() { + for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; + return v(t); + } + function v(t) { + return t + ? 1 === t.length + ? t[0] + : function(n) { + return t.reduce(function(t, n) { + return n(t); + }, n); + } + : y; + } + var O = (function() { + function t(t) { + (this._isScalar = !1), t && (this._subscribe = t); + } + return ( + (t.prototype.lift = function(n) { + var e = new t(); + return (e.source = this), (e.operator = n), e; + }), + (t.prototype.subscribe = function(t, n, e) { + var o = this.operator, + a = (function(t, n, e) { + if (t) { + if (t instanceof h) return t; + if (t[f]) return t[f](); + } + return t || n || e ? new h(t, n, e) : new h(g); + })(t, n, e); + if ( + (a.add( + o + ? o.call(a, this.source) + : this.source || + (p.useDeprecatedSynchronousErrorHandling && + !a.syncErrorThrowable) + ? this._subscribe(a) + : this._trySubscribe(a) + ), + p.useDeprecatedSynchronousErrorHandling && + a.syncErrorThrowable && + ((a.syncErrorThrowable = !1), a.syncErrorThrown)) + ) + throw a.syncErrorValue; + return a; + }), + (t.prototype._trySubscribe = function(t) { + try { + return this._subscribe(t); + } catch (n) { + p.useDeprecatedSynchronousErrorHandling && + ((t.syncErrorThrown = !0), (t.syncErrorValue = n)), + (function(t) { + for (; t; ) { + var n = t.destination; + if (t.closed || t.isStopped) return !1; + t = n && n instanceof h ? n : null; + } + return !0; + })(t) + ? t.error(n) + : console.warn(n); + } + }), + (t.prototype.forEach = function(t, n) { + var e = this; + return new (n = P(n))(function(n, o) { + var a; + a = e.subscribe( + function(n) { + try { + t(n); + } catch (e) { + o(e), a && a.unsubscribe(); + } + }, + o, + n + ); + }); + }), + (t.prototype._subscribe = function(t) { + var n = this.source; + return n && n.subscribe(t); + }), + (t.prototype[_] = function() { + return this; + }), + (t.prototype.pipe = function() { + for (var t = [], n = 0; n < arguments.length; n++) + t[n] = arguments[n]; + return 0 === t.length ? this : v(t)(this); + }), + (t.prototype.toPromise = function(t) { + var n = this; + return new (t = P(t))(function(t, e) { + var o; + n.subscribe( + function(t) { + return (o = t); + }, + function(t) { + return e(t); + }, + function() { + return t(o); + } + ); + }); + }), + (t.create = function(n) { + return new t(n); + }), + t + ); + })(); + function P(t) { + if ((t || (t = p.Promise || Promise), !t)) + throw new Error("no Promise impl found"); + return t; + } + function M() { + return ( + Error.call(this), + (this.message = "object unsubscribed"), + (this.name = "ObjectUnsubscribedError"), + this + ); + } + M.prototype = Object.create(Error.prototype); + var x = M, + k = (function(t) { + function n(n, e) { + var o = t.call(this) || this; + return (o.subject = n), (o.subscriber = e), (o.closed = !1), o; + } + return ( + o.__extends(n, t), + (n.prototype.unsubscribe = function() { + if (!this.closed) { + this.closed = !0; + var t = this.subject, + n = t.observers; + if ( + ((this.subject = null), + n && 0 !== n.length && !t.isStopped && !t.closed) + ) { + var e = n.indexOf(this.subscriber); + -1 !== e && n.splice(e, 1); + } + } + }), + n + ); + })(c), + w = (function(t) { + function n(n) { + var e = t.call(this, n) || this; + return (e.destination = n), e; + } + return o.__extends(n, t), n; + })(h), + S = (function(t) { + function n() { + var n = t.call(this) || this; + return ( + (n.observers = []), + (n.closed = !1), + (n.isStopped = !1), + (n.hasError = !1), + (n.thrownError = null), + n + ); + } + return ( + o.__extends(n, t), + (n.prototype[f] = function() { + return new w(this); + }), + (n.prototype.lift = function(t) { + var n = new E(this, this); + return (n.operator = t), n; + }), + (n.prototype.next = function(t) { + if (this.closed) throw new x(); + if (!this.isStopped) + for ( + var n = this.observers, e = n.length, o = n.slice(), a = 0; + a < e; + a++ + ) + o[a].next(t); + }), + (n.prototype.error = function(t) { + if (this.closed) throw new x(); + (this.hasError = !0), + (this.thrownError = t), + (this.isStopped = !0); + for ( + var n = this.observers, e = n.length, o = n.slice(), a = 0; + a < e; + a++ + ) + o[a].error(t); + this.observers.length = 0; + }), + (n.prototype.complete = function() { + if (this.closed) throw new x(); + this.isStopped = !0; + for ( + var t = this.observers, n = t.length, e = t.slice(), o = 0; + o < n; + o++ + ) + e[o].complete(); + this.observers.length = 0; + }), + (n.prototype.unsubscribe = function() { + (this.isStopped = !0), + (this.closed = !0), + (this.observers = null); + }), + (n.prototype._trySubscribe = function(n) { + if (this.closed) throw new x(); + return t.prototype._trySubscribe.call(this, n); + }), + (n.prototype._subscribe = function(t) { + if (this.closed) throw new x(); + return this.hasError + ? (t.error(this.thrownError), c.EMPTY) + : this.isStopped + ? (t.complete(), c.EMPTY) + : (this.observers.push(t), new k(this, t)); + }), + (n.prototype.asObservable = function() { + var t = new O(); + return (t.source = this), t; + }), + (n.create = function(t, n) { + return new E(t, n); + }), + n + ); + })(O), + E = (function(t) { + function n(n, e) { + var o = t.call(this) || this; + return (o.destination = n), (o.source = e), o; + } + return ( + o.__extends(n, t), + (n.prototype.next = function(t) { + var n = this.destination; + n && n.next && n.next(t); + }), + (n.prototype.error = function(t) { + var n = this.destination; + n && n.error && this.destination.error(t); + }), + (n.prototype.complete = function() { + var t = this.destination; + t && t.complete && this.destination.complete(); + }), + (n.prototype._subscribe = function(t) { + return this.source ? this.source.subscribe(t) : c.EMPTY; + }), + n + ); + })(S); + function I(t) { + return t && "function" == typeof t.schedule; + } + var A = (function(t) { + function n(n, e, o) { + var a = t.call(this) || this; + return ( + (a.parent = n), + (a.outerValue = e), + (a.outerIndex = o), + (a.index = 0), + a + ); + } + return ( + o.__extends(n, t), + (n.prototype._next = function(t) { + this.parent.notifyNext( + this.outerValue, + t, + this.outerIndex, + this.index++, + this + ); + }), + (n.prototype._error = function(t) { + this.parent.notifyError(t, this), this.unsubscribe(); + }), + (n.prototype._complete = function() { + this.parent.notifyComplete(this), this.unsubscribe(); + }), + n + ); + })(h), + T = function(t) { + return function(n) { + for (var e = 0, o = t.length; e < o && !n.closed; e++) n.next(t[e]); + n.closed || n.complete(); + }; + }, + R = function(t) { + return function(n) { + return ( + t + .then( + function(t) { + n.closed || (n.next(t), n.complete()); + }, + function(t) { + return n.error(t); + } + ) + .then(null, m), + n + ); + }; + }; + function D() { + return "function" == typeof Symbol && Symbol.iterator + ? Symbol.iterator + : "@@iterator"; + } + var N = D(), + z = function(t) { + return function(n) { + for (var e = t[N](); ; ) { + var o = e.next(); + if (o.done) { + n.complete(); + break; + } + if ((n.next(o.value), n.closed)) break; + } + return ( + "function" == typeof e.return && + n.add(function() { + e.return && e.return(); + }), + n + ); + }; + }, + L = function(t) { + return function(n) { + var e = t[_](); + if ("function" != typeof e.subscribe) + throw new TypeError( + "Provided object does not correctly implement Symbol.observable" + ); + return e.subscribe(n); + }; + }, + j = function(t) { + return t && "number" == typeof t.length && "function" != typeof t; + }; + function F(t) { + return ( + !!t && "function" != typeof t.subscribe && "function" == typeof t.then + ); + } + var B = function(t) { + if (t instanceof O) + return function(n) { + return t._isScalar + ? (n.next(t.value), void n.complete()) + : t.subscribe(n); + }; + if (t && "function" == typeof t[_]) return L(t); + if (j(t)) return T(t); + if (F(t)) return R(t); + if (t && "function" == typeof t[N]) return z(t); + var n = r(t) ? "an invalid object" : "'" + t + "'"; + throw new TypeError( + "You provided " + + n + + " where a stream was expected. You can provide an Observable, Promise, Array, or Iterable." + ); + }; + function V(t, n, e, o, a) { + if ((void 0 === a && (a = new A(t, e, o)), !a.closed)) return B(n)(a); + } + var H = (function(t) { + function n() { + return (null !== t && t.apply(this, arguments)) || this; + } + return ( + o.__extends(n, t), + (n.prototype.notifyNext = function(t, n, e, o, a) { + this.destination.next(n); + }), + (n.prototype.notifyError = function(t, n) { + this.destination.error(t); + }), + (n.prototype.notifyComplete = function(t) { + this.destination.complete(); + }), + n + ); + })(h); + function U(t, n) { + return function(e) { + if ("function" != typeof t) + throw new TypeError( + "argument is not a function. Are you looking for `mapTo()`?" + ); + return e.lift(new q(t, n)); + }; + } + var q = (function() { + function t(t, n) { + (this.project = t), (this.thisArg = n); + } + return ( + (t.prototype.call = function(t, n) { + return n.subscribe(new K(t, this.project, this.thisArg)); + }), + t + ); + })(), + K = (function(t) { + function n(n, e, o) { + var a = t.call(this, n) || this; + return (a.project = e), (a.count = 0), (a.thisArg = o || a), a; + } + return ( + o.__extends(n, t), + (n.prototype._next = function(t) { + var n; + try { + n = this.project.call(this.thisArg, t, this.count++); + } catch (e) { + return void this.destination.error(e); + } + this.destination.next(n); + }), + n + ); + })(h); + function Y(t, n) { + return new O( + n + ? function(e) { + var o = new c(), + a = 0; + return ( + o.add( + n.schedule(function() { + a !== t.length + ? (e.next(t[a++]), e.closed || o.add(this.schedule())) + : e.complete(); + }) + ), + o + ); + } + : T(t) + ); + } + function W(t, n) { + if (!n) return t instanceof O ? t : new O(B(t)); + if (null != t) { + if ( + (function(t) { + return t && "function" == typeof t[_]; + })(t) + ) + return (function(t, n) { + return new O( + n + ? function(e) { + var o = new c(); + return ( + o.add( + n.schedule(function() { + var a = t[_](); + o.add( + a.subscribe({ + next: function(t) { + o.add( + n.schedule(function() { + return e.next(t); + }) + ); + }, + error: function(t) { + o.add( + n.schedule(function() { + return e.error(t); + }) + ); + }, + complete: function() { + o.add( + n.schedule(function() { + return e.complete(); + }) + ); + } + }) + ); + }) + ), + o + ); + } + : L(t) + ); + })(t, n); + if (F(t)) + return (function(t, n) { + return new O( + n + ? function(e) { + var o = new c(); + return ( + o.add( + n.schedule(function() { + return t.then( + function(t) { + o.add( + n.schedule(function() { + e.next(t), + o.add( + n.schedule(function() { + return e.complete(); + }) + ); + }) + ); + }, + function(t) { + o.add( + n.schedule(function() { + return e.error(t); + }) + ); + } + ); + }) + ), + o + ); + } + : R(t) + ); + })(t, n); + if (j(t)) return Y(t, n); + if ( + (function(t) { + return t && "function" == typeof t[N]; + })(t) || + "string" == typeof t + ) + return (function(t, n) { + if (!t) throw new Error("Iterable cannot be null"); + return new O( + n + ? function(e) { + var o, + a = new c(); + return ( + a.add(function() { + o && "function" == typeof o.return && o.return(); + }), + a.add( + n.schedule(function() { + (o = t[N]()), + a.add( + n.schedule(function() { + if (!e.closed) { + var t, n; + try { + var a = o.next(); + (t = a.value), (n = a.done); + } catch (r) { + return void e.error(r); + } + n + ? e.complete() + : (e.next(t), this.schedule()); + } + }) + ); + }) + ), + a + ); + } + : z(t) + ); + })(t, n); + } + throw new TypeError( + ((null !== t && typeof t) || t) + " is not observable" + ); + } + function G(t, n, e) { + return ( + void 0 === e && (e = Number.POSITIVE_INFINITY), + "function" == typeof n + ? function(o) { + return o.pipe( + G(function(e, o) { + return W(t(e, o)).pipe( + U(function(t, a) { + return n(e, t, o, a); + }) + ); + }, e) + ); + } + : ("number" == typeof n && (e = n), + function(n) { + return n.lift(new Z(t, e)); + }) + ); + } + var Z = (function() { + function t(t, n) { + void 0 === n && (n = Number.POSITIVE_INFINITY), + (this.project = t), + (this.concurrent = n); + } + return ( + (t.prototype.call = function(t, n) { + return n.subscribe(new Q(t, this.project, this.concurrent)); + }), + t + ); + })(), + Q = (function(t) { + function n(n, e, o) { + void 0 === o && (o = Number.POSITIVE_INFINITY); + var a = t.call(this, n) || this; + return ( + (a.project = e), + (a.concurrent = o), + (a.hasCompleted = !1), + (a.buffer = []), + (a.active = 0), + (a.index = 0), + a + ); + } + return ( + o.__extends(n, t), + (n.prototype._next = function(t) { + this.active < this.concurrent + ? this._tryNext(t) + : this.buffer.push(t); + }), + (n.prototype._tryNext = function(t) { + var n, + e = this.index++; + try { + n = this.project(t, e); + } catch (o) { + return void this.destination.error(o); + } + this.active++, this._innerSub(n, t, e); + }), + (n.prototype._innerSub = function(t, n, e) { + var o = new A(this, void 0, void 0); + this.destination.add(o), V(this, t, n, e, o); + }), + (n.prototype._complete = function() { + (this.hasCompleted = !0), + 0 === this.active && + 0 === this.buffer.length && + this.destination.complete(), + this.unsubscribe(); + }), + (n.prototype.notifyNext = function(t, n, e, o, a) { + this.destination.next(n); + }), + (n.prototype.notifyComplete = function(t) { + var n = this.buffer; + this.remove(t), + this.active--, + n.length > 0 + ? this._next(n.shift()) + : 0 === this.active && + this.hasCompleted && + this.destination.complete(); + }), + n + ); + })(H); + function X(t) { + return t; + } + function J(t) { + return void 0 === t && (t = Number.POSITIVE_INFINITY), G(X, t); + } + function $() { + for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; + var e = Number.POSITIVE_INFINITY, + o = null, + a = t[t.length - 1]; + return ( + I(a) + ? ((o = t.pop()), + t.length > 1 && + "number" == typeof t[t.length - 1] && + (e = t.pop())) + : "number" == typeof a && (e = t.pop()), + null === o && 1 === t.length && t[0] instanceof O + ? t[0] + : J(e)(Y(t, o)) + ); + } + function tt() { + return function(t) { + return t.lift(new nt(t)); + }; + } + var nt = (function() { + function t(t) { + this.connectable = t; + } + return ( + (t.prototype.call = function(t, n) { + var e = this.connectable; + e._refCount++; + var o = new et(t, e), + a = n.subscribe(o); + return o.closed || (o.connection = e.connect()), a; + }), + t + ); + })(), + et = (function(t) { + function n(n, e) { + var o = t.call(this, n) || this; + return (o.connectable = e), o; + } + return ( + o.__extends(n, t), + (n.prototype._unsubscribe = function() { + var t = this.connectable; + if (t) { + this.connectable = null; + var n = t._refCount; + if (n <= 0) this.connection = null; + else if (((t._refCount = n - 1), n > 1)) this.connection = null; + else { + var e = this.connection, + o = t._connection; + (this.connection = null), + !o || (e && o !== e) || o.unsubscribe(); + } + } else this.connection = null; + }), + n + ); + })(h), + ot = (function(t) { + function n(n, e) { + var o = t.call(this) || this; + return ( + (o.source = n), + (o.subjectFactory = e), + (o._refCount = 0), + (o._isComplete = !1), + o + ); + } + return ( + o.__extends(n, t), + (n.prototype._subscribe = function(t) { + return this.getSubject().subscribe(t); + }), + (n.prototype.getSubject = function() { + var t = this._subject; + return ( + (t && !t.isStopped) || (this._subject = this.subjectFactory()), + this._subject + ); + }), + (n.prototype.connect = function() { + var t = this._connection; + return ( + t || + ((this._isComplete = !1), + (t = this._connection = new c()).add( + this.source.subscribe(new rt(this.getSubject(), this)) + ), + t.closed + ? ((this._connection = null), (t = c.EMPTY)) + : (this._connection = t)), + t + ); + }), + (n.prototype.refCount = function() { + return tt()(this); + }), + n + ); + })(O).prototype, + at = { + operator: { value: null }, + _refCount: { value: 0, writable: !0 }, + _subject: { value: null, writable: !0 }, + _connection: { value: null, writable: !0 }, + _subscribe: { value: ot._subscribe }, + _isComplete: { value: ot._isComplete, writable: !0 }, + getSubject: { value: ot.getSubject }, + connect: { value: ot.connect }, + refCount: { value: ot.refCount } + }, + rt = (function(t) { + function n(n, e) { + var o = t.call(this, n) || this; + return (o.connectable = e), o; + } + return ( + o.__extends(n, t), + (n.prototype._error = function(n) { + this._unsubscribe(), t.prototype._error.call(this, n); + }), + (n.prototype._complete = function() { + (this.connectable._isComplete = !0), + this._unsubscribe(), + t.prototype._complete.call(this); + }), + (n.prototype._unsubscribe = function() { + var t = this.connectable; + if (t) { + this.connectable = null; + var n = t._connection; + (t._refCount = 0), + (t._subject = null), + (t._connection = null), + n && n.unsubscribe(); + } + }), + n + ); + })(w); + function it() { + return new S(); + } + function lt() { + return function(t) { + return tt()( + ((n = it), + function(t) { + var e; + e = + "function" == typeof n + ? n + : function() { + return n; + }; + var o = Object.create(t, at); + return (o.source = t), (o.subjectFactory = e), o; + })(t) + ); + var n; + }; + } + var st = "__parameters__", + ct = "__prop__metadata__"; + function ut(t) { + return function() { + for (var n = [], e = 0; e < arguments.length; e++) + n[e] = arguments[e]; + if (t) { + var a = t.apply(void 0, Object(o.__spread)(n)); + for (var r in a) this[r] = a[r]; + } + }; + } + function dt(t, n, e) { + var a = ut(n); + function r() { + for (var t, n = [], e = 0; e < arguments.length; e++) + n[e] = arguments[e]; + if (this instanceof r) return a.apply(this, n), this; + var i = new ((t = r).bind.apply( + t, + Object(o.__spread)([void 0], n) + ))(); + return (l.annotation = i), l; + function l(t, n, e) { + for ( + var o = t.hasOwnProperty(st) + ? t[st] + : Object.defineProperty(t, st, { value: [] })[st]; + o.length <= e; + + ) + o.push(null); + return (o[e] = o[e] || []).push(i), t; + } + } + return ( + e && (r.prototype = Object.create(e.prototype)), + (r.prototype.ngMetadataName = t), + (r.annotationCls = r), + r + ); + } + function pt(t, n, e, a) { + var r = ut(n); + function i() { + for (var t, n = [], e = 0; e < arguments.length; e++) + n[e] = arguments[e]; + if (this instanceof i) return r.apply(this, n), this; + var l = new ((t = i).bind.apply( + t, + Object(o.__spread)([void 0], n) + ))(); + return function(t, e) { + var r = t.constructor, + i = r.hasOwnProperty(ct) + ? r[ct] + : Object.defineProperty(r, ct, { value: {} })[ct]; + (i[e] = (i.hasOwnProperty(e) && i[e]) || []), + i[e].unshift(l), + a && a.apply(void 0, Object(o.__spread)([t, e], n)); + }; + } + return ( + e && (i.prototype = Object.create(e.prototype)), + (i.prototype.ngMetadataName = t), + (i.annotationCls = i), + i + ); + } + var mt = dt("Inject", function(t) { + return { token: t }; + }), + gt = dt("Optional"), + ft = dt("Self"), + ht = dt("SkipSelf"), + bt = (function(t) { + return ( + (t[(t.Default = 0)] = "Default"), + (t[(t.Host = 1)] = "Host"), + (t[(t.Self = 2)] = "Self"), + (t[(t.SkipSelf = 4)] = "SkipSelf"), + (t[(t.Optional = 8)] = "Optional"), + t + ); + })({}); + function _t(t) { + for (var n in t) if (t[n] === _t) return n; + throw Error("Could not find renamed property on target object."); + } + function yt(t) { + return { + providedIn: t.providedIn || null, + factory: t.factory, + value: void 0 + }; + } + var Ct = yt; + function vt(t) { + return t && t.hasOwnProperty(Ot) ? t[Ot] : null; + } + var Ot = _t({ ngInjectableDef: _t }); + function Pt(t) { + if ("string" == typeof t) return t; + if (t instanceof Array) return "[" + t.map(Pt).join(", ") + "]"; + if (null == t) return "" + t; + if (t.overriddenName) return "" + t.overriddenName; + if (t.name) return "" + t.name; + var n = t.toString(); + if (null == n) return "" + n; + var e = n.indexOf("\n"); + return -1 === e ? n : n.substring(0, e); + } + var Mt = _t({ __forward_ref__: _t }); + function xt(t) { + return ( + (t.__forward_ref__ = xt), + (t.toString = function() { + return Pt(this()); + }), + t + ); + } + function kt(t) { + var n = t; + return "function" == typeof n && + n.hasOwnProperty(Mt) && + n.__forward_ref__ === xt + ? n() + : t; + } + function wt() { + var t = "undefined" != typeof globalThis && globalThis, + n = "undefined" != typeof window && window, + e = + "undefined" != typeof self && + "undefined" != typeof WorkerGlobalScope && + self instanceof WorkerGlobalScope && + self, + o = "undefined" != typeof global && global; + return t || o || n || e; + } + var St, + Et = wt(), + It = void 0; + function At(t) { + var n = It; + return (It = t), n; + } + function Tt(t, n) { + return ( + void 0 === n && (n = bt.Default), + (St || + function(t, n) { + if ((void 0 === n && (n = bt.Default), void 0 === It)) + throw new Error( + "inject() must be called from an injection context" + ); + return null === It + ? (function(t, n, e) { + var o = vt(t); + if (o && "root" == o.providedIn) + return void 0 === o.value + ? (o.value = o.factory()) + : o.value; + if (e & bt.Optional) return null; + throw new Error("Injector: NOT_FOUND [" + Pt(t) + "]"); + })(t, 0, n) + : It.get(t, n & bt.Optional ? null : void 0, n); + })(t, n) + ); + } + var Rt = Tt, + Dt = Function; + function Nt(t) { + return "function" == typeof t; + } + var zt = /^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/, + Lt = /^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/, + jt = /^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/, + Ft = /^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s+super\(\.\.\.arguments\)/, + Bt = (function() { + function t(t) { + this._reflect = t || Et.Reflect; + } + return ( + (t.prototype.isReflectionEnabled = function() { + return !0; + }), + (t.prototype.factory = function(t) { + return function() { + for (var n = [], e = 0; e < arguments.length; e++) + n[e] = arguments[e]; + return new (t.bind.apply(t, Object(o.__spread)([void 0], n)))(); + }; + }), + (t.prototype._zipTypesAndAnnotations = function(t, n) { + var e; + e = void 0 === t ? new Array(n.length) : new Array(t.length); + for (var o = 0; o < e.length; o++) + (e[o] = void 0 === t ? [] : t[o] != Object ? [t[o]] : []), + n && null != n[o] && (e[o] = e[o].concat(n[o])); + return e; + }), + (t.prototype._ownParameters = function(t, n) { + var e = t.toString(); + if (zt.exec(e) || Ft.exec(e) || (Lt.exec(e) && !jt.exec(e))) + return null; + if (t.parameters && t.parameters !== n.parameters) + return t.parameters; + var o = t.ctorParameters; + if (o && o !== n.ctorParameters) { + var a = "function" == typeof o ? o() : o, + r = a.map(function(t) { + return t && t.type; + }), + i = a.map(function(t) { + return t && Vt(t.decorators); + }); + return this._zipTypesAndAnnotations(r, i); + } + var l = t.hasOwnProperty(st) && t[st], + s = + this._reflect && + this._reflect.getOwnMetadata && + this._reflect.getOwnMetadata("design:paramtypes", t); + return s || l + ? this._zipTypesAndAnnotations(s, l) + : new Array(t.length).fill(void 0); + }), + (t.prototype.parameters = function(t) { + if (!Nt(t)) return []; + var n = Ht(t), + e = this._ownParameters(t, n); + return e || n === Object || (e = this.parameters(n)), e || []; + }), + (t.prototype._ownAnnotations = function(t, n) { + if (t.annotations && t.annotations !== n.annotations) { + var e = t.annotations; + return ( + "function" == typeof e && + e.annotations && + (e = e.annotations), + e + ); + } + return t.decorators && t.decorators !== n.decorators + ? Vt(t.decorators) + : t.hasOwnProperty("__annotations__") + ? t.__annotations__ + : null; + }), + (t.prototype.annotations = function(t) { + if (!Nt(t)) return []; + var n = Ht(t), + e = this._ownAnnotations(t, n) || []; + return (n !== Object ? this.annotations(n) : []).concat(e); + }), + (t.prototype._ownPropMetadata = function(t, n) { + if (t.propMetadata && t.propMetadata !== n.propMetadata) { + var e = t.propMetadata; + return ( + "function" == typeof e && + e.propMetadata && + (e = e.propMetadata), + e + ); + } + if (t.propDecorators && t.propDecorators !== n.propDecorators) { + var o = t.propDecorators, + a = {}; + return ( + Object.keys(o).forEach(function(t) { + a[t] = Vt(o[t]); + }), + a + ); + } + return t.hasOwnProperty(ct) ? t[ct] : null; + }), + (t.prototype.propMetadata = function(t) { + if (!Nt(t)) return {}; + var n = Ht(t), + e = {}; + if (n !== Object) { + var a = this.propMetadata(n); + Object.keys(a).forEach(function(t) { + e[t] = a[t]; + }); + } + var r = this._ownPropMetadata(t, n); + return ( + r && + Object.keys(r).forEach(function(t) { + var n = []; + e.hasOwnProperty(t) && + n.push.apply(n, Object(o.__spread)(e[t])), + n.push.apply(n, Object(o.__spread)(r[t])), + (e[t] = n); + }), + e + ); + }), + (t.prototype.ownPropMetadata = function(t) { + return (Nt(t) && this._ownPropMetadata(t, Ht(t))) || {}; + }), + (t.prototype.hasLifecycleHook = function(t, n) { + return t instanceof Dt && n in t.prototype; + }), + (t.prototype.guards = function(t) { + return {}; + }), + (t.prototype.getter = function(t) { + return new Function("o", "return o." + t + ";"); + }), + (t.prototype.setter = function(t) { + return new Function("o", "v", "return o." + t + " = v;"); + }), + (t.prototype.method = function(t) { + return new Function( + "o", + "args", + "if (!o." + + t + + ") throw new Error('\"" + + t + + "\" is undefined');\n return o." + + t + + ".apply(o, args);" + ); + }), + (t.prototype.importUri = function(t) { + return "object" == typeof t && t.filePath + ? t.filePath + : "./" + Pt(t); + }), + (t.prototype.resourceUri = function(t) { + return "./" + Pt(t); + }), + (t.prototype.resolveIdentifier = function(t, n, e, o) { + return o; + }), + (t.prototype.resolveEnum = function(t, n) { + return t[n]; + }), + t + ); + })(); + function Vt(t) { + return t + ? t.map(function(t) { + var n = t.type.annotationCls, + e = t.args ? t.args : []; + return new (n.bind.apply(n, Object(o.__spread)([void 0], e)))(); + }) + : []; + } + function Ht(t) { + var n = t.prototype ? Object.getPrototypeOf(t.prototype) : null; + return (n ? n.constructor : null) || Object; + } + var Ut = (function() { + function t(t, n) { + (this._desc = t), + (this.ngMetadataName = "InjectionToken"), + (this.ngInjectableDef = void 0), + "number" == typeof n + ? (this.__NG_ELEMENT_ID__ = n) + : void 0 !== n && + (this.ngInjectableDef = yt({ + providedIn: n.providedIn || "root", + factory: n.factory + })); + } + return ( + (t.prototype.toString = function() { + return "InjectionToken " + this._desc; + }), + t + ); + })(), + qt = "__source", + Kt = new Object(), + Yt = Kt, + Wt = new Ut("INJECTOR", -1), + Gt = (function() { + function t() {} + return ( + (t.prototype.get = function(t, n) { + if ((void 0 === n && (n = Kt), n === Kt)) { + var e = new Error( + "NullInjectorError: No provider for " + Pt(t) + "!" + ); + throw ((e.name = "NullInjectorError"), e); + } + return n; + }), + t + ); + })(), + Zt = (function() { + function t() {} + return ( + (t.create = function(t, n) { + return Array.isArray(t) + ? new on(t, n) + : new on(t.providers, t.parent, t.name || null); + }), + (t.THROW_IF_NOT_FOUND = Kt), + (t.NULL = new Gt()), + (t.ngInjectableDef = yt({ + providedIn: "any", + factory: function() { + return Tt(Wt); + } + })), + (t.__NG_ELEMENT_ID__ = -1), + t + ); + })(), + Qt = function(t) { + return t; + }, + Xt = [], + Jt = Qt, + $t = function() { + return Array.prototype.slice.call(arguments); + }, + tn = _t({ provide: String, useValue: _t }), + nn = /\n/gm, + en = "\u0275", + on = (function() { + function t(t, n, e) { + void 0 === n && (n = Zt.NULL), + void 0 === e && (e = null), + (this.parent = n), + (this.source = e); + var o = (this._records = new Map()); + o.set(Zt, { token: Zt, fn: Qt, deps: Xt, value: this, useNew: !1 }), + o.set(Wt, { + token: Wt, + fn: Qt, + deps: Xt, + value: this, + useNew: !1 + }), + (function t(n, e) { + if (e) + if ((e = kt(e)) instanceof Array) + for (var o = 0; o < e.length; o++) t(n, e[o]); + else { + if ("function" == typeof e) + throw ln("Function/Class not supported", e); + if (!e || "object" != typeof e || !e.provide) + throw ln("Unexpected provider", e); + var a = kt(e.provide), + r = (function(t) { + var n = (function(t) { + var n = Xt, + e = t.deps; + if (e && e.length) { + n = []; + for (var o = 0; o < e.length; o++) { + var a = 6; + if ((s = kt(e[o])) instanceof Array) + for (var r = 0, i = s; r < i.length; r++) { + var l = i[r]; + l instanceof gt || l == gt + ? (a |= 1) + : l instanceof ht || l == ht + ? (a &= -3) + : l instanceof ft || l == ft + ? (a &= -5) + : (s = l instanceof mt ? l.token : kt(l)); + } + n.push({ token: s, options: a }); + } + } else if (t.useExisting) { + var s; + n = [ + { token: (s = kt(t.useExisting)), options: 6 } + ]; + } else if (!(e || tn in t)) + throw ln("'deps' required", t); + return n; + })(t), + e = Qt, + o = Xt, + a = !1, + r = kt(t.provide); + if (tn in t) o = t.useValue; + else if (t.useFactory) e = t.useFactory; + else if (t.useExisting); + else if (t.useClass) (a = !0), (e = kt(t.useClass)); + else { + if ("function" != typeof r) + throw ln( + "StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable", + t + ); + (a = !0), (e = r); + } + return { deps: n, fn: e, useNew: a, value: o }; + })(e); + if (!0 === e.multi) { + var i = n.get(a); + if (i) { + if (i.fn !== $t) throw an(a); + } else + n.set( + a, + (i = { + token: e.provide, + deps: [], + useNew: !1, + fn: $t, + value: Xt + }) + ); + i.deps.push({ token: (a = e), options: 6 }); + } + var l = n.get(a); + if (l && l.fn == $t) throw an(a); + n.set(a, r); + } + })(o, t); + } + return ( + (t.prototype.get = function(t, n, e) { + void 0 === e && (e = bt.Default); + var a = this._records.get(t); + try { + return (function t(n, e, a, r, i, l) { + try { + return (function(n, e, a, r, i, l) { + var s, c; + if (!e || l & bt.SkipSelf) + l & bt.Self || (c = r.get(n, i, bt.Default)); + else { + if ((c = e.value) == Jt) + throw Error(en + "Circular dependency"); + if (c === Xt) { + e.value = Jt; + var u = e.useNew, + d = e.fn, + p = e.deps, + m = Xt; + if (p.length) { + m = []; + for (var g = 0; g < p.length; g++) { + var f = p[g], + h = f.options, + b = 2 & h ? a.get(f.token) : void 0; + m.push( + t( + f.token, + b, + a, + b || 4 & h ? r : Zt.NULL, + 1 & h ? null : Zt.THROW_IF_NOT_FOUND, + bt.Default + ) + ); + } + } + e.value = c = u + ? new ((s = d).bind.apply( + s, + Object(o.__spread)([void 0], m) + ))() + : d.apply(void 0, m); + } + } + return c; + })(n, e, a, r, i, l); + } catch (s) { + throw (s instanceof Error || (s = new Error(s)), + (s.ngTempTokenPath = s.ngTempTokenPath || []).unshift(n), + e && e.value == Jt && (e.value = Xt), + s); + } + })(t, a, this._records, this.parent, n, e); + } catch (r) { + return (function(t, n, e, o) { + var a = t.ngTempTokenPath; + throw (n[qt] && a.unshift(n[qt]), + (t.message = rn( + "\n" + t.message, + a, + "StaticInjectorError", + o + )), + (t.ngTokenPath = a), + (t.ngTempTokenPath = null), + t); + })(r, t, 0, this.source); + } + }), + (t.prototype.toString = function() { + var t = []; + return ( + this._records.forEach(function(n, e) { + return t.push(Pt(e)); + }), + "StaticInjector[" + t.join(", ") + "]" + ); + }), + t + ); + })(); + function an(t) { + return ln("Cannot mix multi providers and regular providers", t); + } + function rn(t, n, e, o) { + void 0 === o && (o = null), + (t = + t && "\n" === t.charAt(0) && t.charAt(1) == en ? t.substr(2) : t); + var a = Pt(n); + if (n instanceof Array) a = n.map(Pt).join(" -> "); + else if ("object" == typeof n) { + var r = []; + for (var i in n) + if (n.hasOwnProperty(i)) { + var l = n[i]; + r.push( + i + ":" + ("string" == typeof l ? JSON.stringify(l) : Pt(l)) + ); + } + a = "{" + r.join(", ") + "}"; + } + return ( + e + (o ? "(" + o + ")" : "") + "[" + a + "]: " + t.replace(nn, "\n ") + ); + } + function ln(t, n) { + return new Error(rn(t, n, "StaticInjectorError")); + } + var sn = "ngDebugContext", + cn = "ngOriginalError", + un = "ngErrorLogger"; + function dn(t) { + return t.length > 1 + ? " (" + + (function(t) { + for (var n = [], e = 0; e < t.length; ++e) { + if (n.indexOf(t[e]) > -1) return n.push(t[e]), n; + n.push(t[e]); + } + return n; + })(t.slice().reverse()) + .map(function(t) { + return Pt(t.token); + }) + .join(" -> ") + + ")" + : ""; + } + function pn(t, n, e, o) { + var a = [n], + r = e(a), + i = o + ? (function(t, n) { + var e = + r + " caused by: " + (n instanceof Error ? n.message : n), + o = Error(e); + return (o[cn] = n), o; + })(0, o) + : Error(r); + return ( + (i.addKey = mn), + (i.keys = a), + (i.injectors = [t]), + (i.constructResolvingMessage = e), + (i[cn] = o), + i + ); + } + function mn(t, n) { + this.injectors.push(t), + this.keys.push(n), + (this.message = this.constructResolvingMessage(this.keys)); + } + function gn(t, n) { + for (var e = [], o = 0, a = n.length; o < a; o++) { + var r = n[o]; + e.push(r && 0 != r.length ? r.map(Pt).join(" ") : "?"); + } + return Error( + "Cannot resolve all parameters for '" + + Pt(t) + + "'(" + + e.join(", ") + + "). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '" + + Pt(t) + + "' is decorated with Injectable." + ); + } + var fn = (function() { + function t(t, n) { + if (((this.token = t), (this.id = n), !t)) + throw new Error("Token must be defined!"); + this.displayName = Pt(this.token); + } + return ( + (t.get = function(t) { + return hn.get(kt(t)); + }), + Object.defineProperty(t, "numberOfKeys", { + get: function() { + return hn.numberOfKeys; + }, + enumerable: !0, + configurable: !0 + }), + t + ); + })(), + hn = new ((function() { + function t() { + this._allKeys = new Map(); + } + return ( + (t.prototype.get = function(t) { + if (t instanceof fn) return t; + if (this._allKeys.has(t)) return this._allKeys.get(t); + var n = new fn(t, fn.numberOfKeys); + return this._allKeys.set(t, n), n; + }), + Object.defineProperty(t.prototype, "numberOfKeys", { + get: function() { + return this._allKeys.size; + }, + enumerable: !0, + configurable: !0 + }), + t + ); + })())(), + bn = new ((function() { + function t(t) { + this.reflectionCapabilities = t; + } + return ( + (t.prototype.updateCapabilities = function(t) { + this.reflectionCapabilities = t; + }), + (t.prototype.factory = function(t) { + return this.reflectionCapabilities.factory(t); + }), + (t.prototype.parameters = function(t) { + return this.reflectionCapabilities.parameters(t); + }), + (t.prototype.annotations = function(t) { + return this.reflectionCapabilities.annotations(t); + }), + (t.prototype.propMetadata = function(t) { + return this.reflectionCapabilities.propMetadata(t); + }), + (t.prototype.hasLifecycleHook = function(t, n) { + return this.reflectionCapabilities.hasLifecycleHook(t, n); + }), + (t.prototype.getter = function(t) { + return this.reflectionCapabilities.getter(t); + }), + (t.prototype.setter = function(t) { + return this.reflectionCapabilities.setter(t); + }), + (t.prototype.method = function(t) { + return this.reflectionCapabilities.method(t); + }), + (t.prototype.importUri = function(t) { + return this.reflectionCapabilities.importUri(t); + }), + (t.prototype.resourceUri = function(t) { + return this.reflectionCapabilities.resourceUri(t); + }), + (t.prototype.resolveIdentifier = function(t, n, e, o) { + return this.reflectionCapabilities.resolveIdentifier(t, n, e, o); + }), + (t.prototype.resolveEnum = function(t, n) { + return this.reflectionCapabilities.resolveEnum(t, n); + }), + t + ); + })())(new Bt()), + _n = (function() { + function t(t, n, e) { + (this.key = t), (this.optional = n), (this.visibility = e); + } + return ( + (t.fromKey = function(n) { + return new t(n, !1, null); + }), + t + ); + })(), + yn = [], + Cn = (function() { + return function(t, n, e) { + (this.key = t), + (this.resolvedFactories = n), + (this.multiProvider = e), + (this.resolvedFactory = this.resolvedFactories[0]); + }; + })(), + vn = (function() { + return function(t, n) { + (this.factory = t), (this.dependencies = n); + }; + })(); + function On(t) { + var n, e; + if (t.useClass) { + var o = kt(t.useClass); + (n = bn.factory(o)), (e = Mn(o)); + } else + t.useExisting + ? ((n = function(t) { + return t; + }), + (e = [_n.fromKey(fn.get(t.useExisting))])) + : t.useFactory + ? ((n = t.useFactory), + (e = (function(t, n) { + if (n) { + var e = n.map(function(t) { + return [t]; + }); + return n.map(function(n) { + return xn(t, n, e); + }); + } + return Mn(t); + })(t.useFactory, t.deps))) + : ((n = function() { + return t.useValue; + }), + (e = yn)); + return new vn(n, e); + } + function Pn(t) { + return new Cn(fn.get(t.provide), [On(t)], t.multi || !1); + } + function Mn(t) { + var n = bn.parameters(t); + if (!n) return []; + if ( + n.some(function(t) { + return null == t; + }) + ) + throw gn(t, n); + return n.map(function(e) { + return xn(t, e, n); + }); + } + function xn(t, n, e) { + var o = null, + a = !1; + if (!Array.isArray(n)) + return kn(n instanceof mt ? n.token : n, a, null); + for (var r = null, i = 0; i < n.length; ++i) { + var l = n[i]; + l instanceof Dt + ? (o = l) + : l instanceof mt + ? (o = l.token) + : l instanceof gt + ? (a = !0) + : l instanceof ft || l instanceof ht + ? (r = l) + : l instanceof Ut && (o = l); + } + if (null != (o = kt(o))) return kn(o, a, r); + throw gn(t, e); + } + function kn(t, n, e) { + return new _n(fn.get(t), n, e); + } + var wn = new Object(), + Sn = (function() { + function t() {} + return ( + (t.resolve = function(t) { + return (function(t) { + var n = (function(t, n) { + for (var e = 0; e < t.length; e++) { + var o = t[e], + a = n.get(o.key.id); + if (a) { + if (o.multiProvider !== a.multiProvider) + throw Error( + "Cannot mix multi providers and regular providers, got: " + + a + + " " + + o + ); + if (o.multiProvider) + for (var r = 0; r < o.resolvedFactories.length; r++) + a.resolvedFactories.push(o.resolvedFactories[r]); + else n.set(o.key.id, o); + } else { + var i; + (i = o.multiProvider + ? new Cn( + o.key, + o.resolvedFactories.slice(), + o.multiProvider + ) + : o), + n.set(o.key.id, i); + } + } + return n; + })( + (function t(n, e) { + return ( + n.forEach(function(n) { + if (n instanceof Dt) + e.push({ provide: n, useClass: n }); + else if ( + n && + "object" == typeof n && + void 0 !== n.provide + ) + e.push(n); + else { + if (!(n instanceof Array)) + throw Error( + "Invalid provider - only instances of Provider and Type are allowed, got: " + + n + ); + t(n, e); + } + }), + e + ); + })(t, []).map(Pn), + new Map() + ); + return Array.from(n.values()); + })(t); + }), + (t.resolveAndCreate = function(n, e) { + var o = t.resolve(n); + return t.fromResolvedProviders(o, e); + }), + (t.fromResolvedProviders = function(t, n) { + return new En(t, n); + }), + t + ); + })(), + En = (function() { + function t(t, n) { + (this._constructionCounter = 0), + (this._providers = t), + (this.parent = n || null); + var e = t.length; + (this.keyIds = new Array(e)), (this.objs = new Array(e)); + for (var o = 0; o < e; o++) + (this.keyIds[o] = t[o].key.id), (this.objs[o] = wn); + } + return ( + (t.prototype.get = function(t, n) { + return ( + void 0 === n && (n = Yt), this._getByKey(fn.get(t), null, n) + ); + }), + (t.prototype.resolveAndCreateChild = function(t) { + var n = Sn.resolve(t); + return this.createChildFromResolved(n); + }), + (t.prototype.createChildFromResolved = function(n) { + var e = new t(n); + return (e.parent = this), e; + }), + (t.prototype.resolveAndInstantiate = function(t) { + return this.instantiateResolved(Sn.resolve([t])[0]); + }), + (t.prototype.instantiateResolved = function(t) { + return this._instantiateProvider(t); + }), + (t.prototype.getProviderAtIndex = function(t) { + if (t < 0 || t >= this._providers.length) + throw (function(t) { + return Error("Index " + t + " is out-of-bounds."); + })(t); + return this._providers[t]; + }), + (t.prototype._new = function(t) { + if (this._constructionCounter++ > this._getMaxNumberOfObjects()) + throw pn(this, t.key, function(t) { + return "Cannot instantiate cyclic dependency!" + dn(t); + }); + return this._instantiateProvider(t); + }), + (t.prototype._getMaxNumberOfObjects = function() { + return this.objs.length; + }), + (t.prototype._instantiateProvider = function(t) { + if (t.multiProvider) { + for ( + var n = new Array(t.resolvedFactories.length), e = 0; + e < t.resolvedFactories.length; + ++e + ) + n[e] = this._instantiate(t, t.resolvedFactories[e]); + return n; + } + return this._instantiate(t, t.resolvedFactories[0]); + }), + (t.prototype._instantiate = function(t, n) { + var e, + a, + r, + i = this, + l = n.factory; + try { + e = n.dependencies.map(function(t) { + return i._getByReflectiveDependency(t); + }); + } catch (s) { + throw (s.addKey && s.addKey(this, t.key), s); + } + try { + a = l.apply(void 0, Object(o.__spread)(e)); + } catch (s) { + throw pn( + this, + t.key, + function(t) { + var n = Pt(t[0].token); + return ( + r.message + + ": Error during instantiation of " + + n + + "!" + + dn(t) + + "." + ); + }, + (r = s) + ); + } + return a; + }), + (t.prototype._getByReflectiveDependency = function(t) { + return this._getByKey( + t.key, + t.visibility, + t.optional ? null : Yt + ); + }), + (t.prototype._getByKey = function(n, e, o) { + return n === t.INJECTOR_KEY + ? this + : e instanceof ft + ? this._getByKeySelf(n, o) + : this._getByKeyDefault(n, o, e); + }), + (t.prototype._getObjByKeyId = function(t) { + for (var n = 0; n < this.keyIds.length; n++) + if (this.keyIds[n] === t) + return ( + this.objs[n] === wn && + (this.objs[n] = this._new(this._providers[n])), + this.objs[n] + ); + return wn; + }), + (t.prototype._throwOrNull = function(t, n) { + if (n !== Yt) return n; + throw (function(t, n) { + return pn(t, n, function(t) { + return "No provider for " + Pt(t[0].token) + "!" + dn(t); + }); + })(this, t); + }), + (t.prototype._getByKeySelf = function(t, n) { + var e = this._getObjByKeyId(t.id); + return e !== wn ? e : this._throwOrNull(t, n); + }), + (t.prototype._getByKeyDefault = function(n, e, o) { + var a; + for (a = o instanceof ht ? this.parent : this; a instanceof t; ) { + var r = a, + i = r._getObjByKeyId(n.id); + if (i !== wn) return i; + a = r.parent; + } + return null !== a ? a.get(n.token, e) : this._throwOrNull(n, e); + }), + Object.defineProperty(t.prototype, "displayName", { + get: function() { + return ( + "ReflectiveInjector(providers: [" + + (function(t, n) { + for ( + var e = new Array(t._providers.length), o = 0; + o < t._providers.length; + ++o + ) + e[o] = + ' "' + t.getProviderAtIndex(o).key.displayName + '" '; + return e; + })(this).join(", ") + + "])" + ); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.toString = function() { + return this.displayName; + }), + (t.INJECTOR_KEY = fn.get(Zt)), + t + ); + })(), + In = new Ut("AnalyzeForEntryComponents"), + An = (function(t) { + return ( + (t[(t.Emulated = 0)] = "Emulated"), + (t[(t.Native = 1)] = "Native"), + (t[(t.None = 2)] = "None"), + (t[(t.ShadowDom = 3)] = "ShadowDom"), + t + ); + })({}), + Tn = (function() { + return ( + ("undefined" != typeof requestAnimationFrame && + requestAnimationFrame) || + setTimeout + ).bind(Et); + })(); + function Rn(t) { + return t[sn]; + } + function Dn(t) { + return t[cn]; + } + function Nn(t) { + for (var n = [], e = 1; e < arguments.length; e++) + n[e - 1] = arguments[e]; + t.error.apply(t, Object(o.__spread)(n)); + } + var zn = (function() { + function t() { + this._console = console; + } + return ( + (t.prototype.handleError = function(t) { + var n = this._findOriginalError(t), + e = this._findContext(t), + o = (function(t) { + return t[un] || Nn; + })(t); + o(this._console, "ERROR", t), + n && o(this._console, "ORIGINAL ERROR", n), + e && o(this._console, "ERROR CONTEXT", e); + }), + (t.prototype._findContext = function(t) { + return t ? (Rn(t) ? Rn(t) : this._findContext(Dn(t))) : null; + }), + (t.prototype._findOriginalError = function(t) { + for (var n = Dn(t); n && Dn(n); ) n = Dn(n); + return n; + }), + t + ); + })(), + Ln = !0, + jn = !1; + function Fn() { + return (jn = !0), Ln; + } + var Bn = (function() { + function t(t) { + if ( + ((this.defaultDoc = t), + (this.inertDocument = this.defaultDoc.implementation.createHTMLDocument( + "sanitization-inert" + )), + (this.inertBodyElement = this.inertDocument.body), + null == this.inertBodyElement) + ) { + var n = this.inertDocument.createElement("html"); + this.inertDocument.appendChild(n), + (this.inertBodyElement = this.inertDocument.createElement( + "body" + )), + n.appendChild(this.inertBodyElement); + } + (this.inertBodyElement.innerHTML = + ''), + !this.inertBodyElement.querySelector || + this.inertBodyElement.querySelector("svg") + ? ((this.inertBodyElement.innerHTML = + '

'), + (this.getInertBodyElement = + this.inertBodyElement.querySelector && + this.inertBodyElement.querySelector("svg img") && + (function() { + try { + return !!window.DOMParser; + } catch (t) { + return !1; + } + })() + ? this.getInertBodyElement_DOMParser + : this.getInertBodyElement_InertDocument)) + : (this.getInertBodyElement = this.getInertBodyElement_XHR); + } + return ( + (t.prototype.getInertBodyElement_XHR = function(t) { + t = "" + t + ""; + try { + t = encodeURI(t); + } catch (o) { + return null; + } + var n = new XMLHttpRequest(); + (n.responseType = "document"), + n.open("GET", "data:text/html;charset=utf-8," + t, !1), + n.send(void 0); + var e = n.response.body; + return e.removeChild(e.firstChild), e; + }), + (t.prototype.getInertBodyElement_DOMParser = function(t) { + t = "" + t + ""; + try { + var n = new window.DOMParser().parseFromString(t, "text/html") + .body; + return n.removeChild(n.firstChild), n; + } catch (e) { + return null; + } + }), + (t.prototype.getInertBodyElement_InertDocument = function(t) { + var n = this.inertDocument.createElement("template"); + return "content" in n + ? ((n.innerHTML = t), n) + : ((this.inertBodyElement.innerHTML = t), + this.defaultDoc.documentMode && + this.stripCustomNsAttrs(this.inertBodyElement), + this.inertBodyElement); + }), + (t.prototype.stripCustomNsAttrs = function(t) { + for (var n = t.attributes, e = n.length - 1; 0 < e; e--) { + var o = n.item(e).name; + ("xmlns:ns1" !== o && 0 !== o.indexOf("ns1:")) || + t.removeAttribute(o); + } + for (var a = t.firstChild; a; ) + a.nodeType === Node.ELEMENT_NODE && this.stripCustomNsAttrs(a), + (a = a.nextSibling); + }), + t + ); + })(), + Vn = /^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi, + Hn = /^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i; + function Un(t) { + return (t = String(t)).match(Vn) || t.match(Hn) + ? t + : (Fn() && + console.warn( + "WARNING: sanitizing unsafe URL value " + + t + + " (see http://g.co/ng/security#xss)" + ), + "unsafe:" + t); + } + function qn(t) { + var n, + e, + a = {}; + try { + for ( + var r = Object(o.__values)(t.split(",")), i = r.next(); + !i.done; + i = r.next() + ) + a[i.value] = !0; + } catch (l) { + n = { error: l }; + } finally { + try { + i && !i.done && (e = r.return) && e.call(r); + } finally { + if (n) throw n.error; + } + } + return a; + } + function Kn() { + for (var t, n, e = [], a = 0; a < arguments.length; a++) + e[a] = arguments[a]; + var r = {}; + try { + for ( + var i = Object(o.__values)(e), l = i.next(); + !l.done; + l = i.next() + ) { + var s = l.value; + for (var c in s) s.hasOwnProperty(c) && (r[c] = !0); + } + } catch (u) { + t = { error: u }; + } finally { + try { + l && !l.done && (n = i.return) && n.call(i); + } finally { + if (t) throw t.error; + } + } + return r; + } + var Yn, + Wn = qn("area,br,col,hr,img,wbr"), + Gn = qn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"), + Zn = qn("rp,rt"), + Qn = Kn(Zn, Gn), + Xn = Kn( + Wn, + Kn( + Gn, + qn( + "address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul" + ) + ), + Kn( + Zn, + qn( + "a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video" + ) + ), + Qn + ), + Jn = qn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"), + $n = qn("srcset"), + te = Kn( + Jn, + $n, + qn( + "abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width" + ), + qn( + "aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext" + ) + ), + ne = qn("script,style,template"), + ee = (function() { + function t() { + (this.sanitizedSomething = !1), (this.buf = []); + } + return ( + (t.prototype.sanitizeChildren = function(t) { + for (var n = t.firstChild, e = !0; n; ) + if ( + (n.nodeType === Node.ELEMENT_NODE + ? (e = this.startElement(n)) + : n.nodeType === Node.TEXT_NODE + ? this.chars(n.nodeValue) + : (this.sanitizedSomething = !0), + e && n.firstChild) + ) + n = n.firstChild; + else + for (; n; ) { + n.nodeType === Node.ELEMENT_NODE && this.endElement(n); + var o = this.checkClobberedElement(n, n.nextSibling); + if (o) { + n = o; + break; + } + n = this.checkClobberedElement(n, n.parentNode); + } + return this.buf.join(""); + }), + (t.prototype.startElement = function(t) { + var n, + e = t.nodeName.toLowerCase(); + if (!Xn.hasOwnProperty(e)) + return (this.sanitizedSomething = !0), !ne.hasOwnProperty(e); + this.buf.push("<"), this.buf.push(e); + for (var o = t.attributes, a = 0; a < o.length; a++) { + var r = o.item(a), + i = r.name, + l = i.toLowerCase(); + if (te.hasOwnProperty(l)) { + var s = r.value; + Jn[l] && (s = Un(s)), + $n[l] && + ((n = s), + (s = (n = String(n)) + .split(",") + .map(function(t) { + return Un(t.trim()); + }) + .join(", "))), + this.buf.push(" ", i, '="', re(s), '"'); + } else this.sanitizedSomething = !0; + } + return this.buf.push(">"), !0; + }), + (t.prototype.endElement = function(t) { + var n = t.nodeName.toLowerCase(); + Xn.hasOwnProperty(n) && + !Wn.hasOwnProperty(n) && + (this.buf.push("")); + }), + (t.prototype.chars = function(t) { + this.buf.push(re(t)); + }), + (t.prototype.checkClobberedElement = function(t, n) { + if ( + n && + (t.compareDocumentPosition(n) & + 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 n; + }), + t + ); + })(), + oe = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g, + ae = /([^\#-~ |!])/g; + function re(t) { + return t + .replace(/&/g, "&") + .replace(oe, function(t) { + return ( + "&#" + + (1024 * (t.charCodeAt(0) - 55296) + + (t.charCodeAt(1) - 56320) + + 65536) + + ";" + ); + }) + .replace(ae, function(t) { + return "&#" + t.charCodeAt(0) + ";"; + }) + .replace(//g, ">"); + } + function ie(t) { + return "content" in t && + (function(t) { + return ( + t.nodeType === Node.ELEMENT_NODE && "TEMPLATE" === t.nodeName + ); + })(t) + ? t.content + : null; + } + var le = (function(t) { + return ( + (t[(t.NONE = 0)] = "NONE"), + (t[(t.HTML = 1)] = "HTML"), + (t[(t.STYLE = 2)] = "STYLE"), + (t[(t.SCRIPT = 3)] = "SCRIPT"), + (t[(t.URL = 4)] = "URL"), + (t[(t.RESOURCE_URL = 5)] = "RESOURCE_URL"), + t + ); + })({}), + se = (function() { + return function() {}; + })(), + ce = new RegExp( + "^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$", + "g" + ), + ue = /^url\(([^)]+)\)$/, + de = /([A-Z])/g; + function pe(t) { + try { + return null != t ? t.toString().slice(0, 30) : t; + } catch (n) { + return "[ERROR] Exception while trying to serialize the value"; + } + } + function me(t) { + return !!t && "function" == typeof t.then; + } + function ge(t) { + return !!t && "function" == typeof t.subscribe; + } + var fe = null; + function he() { + if (!fe) { + var t = Et.Symbol; + if (t && t.iterator) fe = t.iterator; + else + for ( + var n = Object.getOwnPropertyNames(Map.prototype), e = 0; + e < n.length; + ++e + ) { + var o = n[e]; + "entries" !== o && + "size" !== o && + Map.prototype[o] === Map.prototype.entries && + (fe = o); + } + } + return fe; + } + function be(t, n) { + return ( + t === n || + ("number" == typeof t && "number" == typeof n && isNaN(t) && isNaN(n)) + ); + } + function _e(t, n) { + var e = Ce(t), + o = Ce(n); + return e && o + ? (function(t, n, e) { + for (var o = t[he()](), a = n[he()](); ; ) { + var r = o.next(), + i = a.next(); + if (r.done && i.done) return !0; + if (r.done || i.done) return !1; + if (!e(r.value, i.value)) return !1; + } + })(t, n, _e) + : !( + e || + !t || + ("object" != typeof t && "function" != typeof t) || + o || + !n || + ("object" != typeof n && "function" != typeof n) + ) || be(t, n); + } + var ye = (function() { + function t(t) { + this.wrapped = t; + } + return ( + (t.wrap = function(n) { + return new t(n); + }), + (t.unwrap = function(n) { + return t.isWrapped(n) ? n.wrapped : n; + }), + (t.isWrapped = function(n) { + return n instanceof t; + }), + t + ); + })(); + function Ce(t) { + return ( + !!ve(t) && (Array.isArray(t) || (!(t instanceof Map) && he() in t)) + ); + } + function ve(t) { + return null !== t && ("function" == typeof t || "object" == typeof t); + } + var Oe = (function() { + function t(t, n, e) { + (this.previousValue = t), + (this.currentValue = n), + (this.firstChange = e); + } + return ( + (t.prototype.isFirstChange = function() { + return this.firstChange; + }), + t + ); + })(), + Pe = new Ut( + "The presence of this token marks an injector as being the root injector." + ), + Me = (function() { + return function() {}; + })(), + xe = (function() { + return function() {}; + })(); + function ke(t) { + var n = Error( + "No component factory found for " + + Pt(t) + + ". Did you add it to @NgModule.entryComponents?" + ); + return (n[we] = t), n; + } + var we = "ngComponent", + Se = (function() { + function t() {} + return ( + (t.prototype.resolveComponentFactory = function(t) { + throw ke(t); + }), + t + ); + })(), + Ee = (function() { + function t() {} + return (t.NULL = new Se()), t; + })(), + Ie = (function() { + function t(t, n, e) { + (this._parent = n), + (this._ngModule = e), + (this._factories = new Map()); + for (var o = 0; o < t.length; o++) { + var a = t[o]; + this._factories.set(a.componentType, a); + } + } + return ( + (t.prototype.resolveComponentFactory = function(t) { + var n = this._factories.get(t); + if ( + (!n && + this._parent && + (n = this._parent.resolveComponentFactory(t)), + !n) + ) + throw ke(t); + return new Ae(n, this._ngModule); + }), + t + ); + })(), + Ae = (function(t) { + function n(n, e) { + var o = t.call(this) || this; + return ( + (o.factory = n), + (o.ngModule = e), + (o.selector = n.selector), + (o.componentType = n.componentType), + (o.ngContentSelectors = n.ngContentSelectors), + (o.inputs = n.inputs), + (o.outputs = n.outputs), + o + ); + } + return ( + Object(o.__extends)(n, t), + (n.prototype.create = function(t, n, e, o) { + return this.factory.create(t, n, e, o || this.ngModule); + }), + n + ); + })(xe), + Te = (function() { + return function() {}; + })(), + Re = (function() { + return function() {}; + })(); + function De() { + for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; + } + var Ne = (function() { + function t(t) { + this.nativeElement = t; + } + return ( + (t.__NG_ELEMENT_ID__ = function() { + return ze(t); + }), + t + ); + })(), + ze = De, + Le = (function() { + return function() {}; + })(), + je = (function() { + return function() {}; + })(), + Fe = (function(t) { + return ( + (t[(t.Important = 1)] = "Important"), + (t[(t.DashCase = 2)] = "DashCase"), + t + ); + })({}), + Be = (function() { + function t() {} + return ( + (t.__NG_ELEMENT_ID__ = function() { + return Ve(); + }), + t + ); + })(), + Ve = De, + He = new ((function() { + return function(t) { + (this.full = t), + (this.major = t.split(".")[0]), + (this.minor = t.split(".")[1]), + (this.patch = t + .split(".") + .slice(2) + .join(".")); + }; + })())("8.0.1"), + Ue = (function() { + function t() {} + return ( + (t.prototype.supports = function(t) { + return Ce(t); + }), + (t.prototype.create = function(t) { + return new Ke(t); + }), + t + ); + })(), + qe = function(t, n) { + return n; + }, + Ke = (function() { + function t(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 || qe); + } + return ( + (t.prototype.forEachItem = function(t) { + var n; + for (n = this._itHead; null !== n; n = n._next) t(n); + }), + (t.prototype.forEachOperation = function(t) { + for ( + var n = this._itHead, e = this._removalsHead, o = 0, a = null; + n || e; + + ) { + var r = !e || (n && n.currentIndex < Ze(e, o, a)) ? n : e, + i = Ze(r, o, a), + l = r.currentIndex; + if (r === e) o--, (e = e._nextRemoved); + else if (((n = n._next), null == r.previousIndex)) o++; + else { + a || (a = []); + var s = i - o, + c = l - o; + if (s != c) { + for (var u = 0; u < s; u++) { + var d = u < a.length ? a[u] : (a[u] = 0), + p = d + u; + c <= p && p < s && (a[u] = d + 1); + } + a[r.previousIndex] = c - s; + } + } + i !== l && t(r, i, l); + } + }), + (t.prototype.forEachPreviousItem = function(t) { + var n; + for (n = this._previousItHead; null !== n; n = n._nextPrevious) + t(n); + }), + (t.prototype.forEachAddedItem = function(t) { + var n; + for (n = this._additionsHead; null !== n; n = n._nextAdded) t(n); + }), + (t.prototype.forEachMovedItem = function(t) { + var n; + for (n = this._movesHead; null !== n; n = n._nextMoved) t(n); + }), + (t.prototype.forEachRemovedItem = function(t) { + var n; + for (n = this._removalsHead; null !== n; n = n._nextRemoved) t(n); + }), + (t.prototype.forEachIdentityChange = function(t) { + var n; + for ( + n = this._identityChangesHead; + null !== n; + n = n._nextIdentityChange + ) + t(n); + }), + (t.prototype.diff = function(t) { + if ((null == t && (t = []), !Ce(t))) + throw new Error( + "Error trying to diff '" + + Pt(t) + + "'. Only arrays and iterables are allowed" + ); + return this.check(t) ? this : null; + }), + (t.prototype.onDestroy = function() {}), + (t.prototype.check = function(t) { + var n = this; + this._reset(); + var e, + o, + a, + r = this._itHead, + i = !1; + if (Array.isArray(t)) { + this.length = t.length; + for (var l = 0; l < this.length; l++) + (a = this._trackByFn(l, (o = t[l]))), + null !== r && be(r.trackById, a) + ? (i && (r = this._verifyReinsertion(r, o, a, l)), + be(r.item, o) || this._addIdentityChange(r, o)) + : ((r = this._mismatch(r, o, a, l)), (i = !0)), + (r = r._next); + } else + (e = 0), + (function(t, n) { + if (Array.isArray(t)) + for (var e = 0; e < t.length; e++) n(t[e]); + else + for ( + var o = t[he()](), a = void 0; + !(a = o.next()).done; + + ) + n(a.value); + })(t, function(t) { + (a = n._trackByFn(e, t)), + null !== r && be(r.trackById, a) + ? (i && (r = n._verifyReinsertion(r, t, a, e)), + be(r.item, t) || n._addIdentityChange(r, t)) + : ((r = n._mismatch(r, t, a, e)), (i = !0)), + (r = r._next), + e++; + }), + (this.length = e); + return this._truncate(r), (this.collection = t), this.isDirty; + }), + Object.defineProperty(t.prototype, "isDirty", { + get: function() { + return ( + null !== this._additionsHead || + null !== this._movesHead || + null !== this._removalsHead || + null !== this._identityChangesHead + ); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype._reset = function() { + if (this.isDirty) { + var t = void 0, + n = void 0; + 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 = n + ) + (t.previousIndex = t.currentIndex), (n = t._nextMoved); + (this._movesHead = this._movesTail = null), + (this._removalsHead = this._removalsTail = null), + (this._identityChangesHead = this._identityChangesTail = null); + } + }), + (t.prototype._mismatch = function(t, n, e, o) { + var a; + return ( + null === t + ? (a = this._itTail) + : ((a = t._prev), this._remove(t)), + null !== + (t = + null === this._linkedRecords + ? null + : this._linkedRecords.get(e, o)) + ? (be(t.item, n) || this._addIdentityChange(t, n), + this._moveAfter(t, a, o)) + : null !== + (t = + null === this._unlinkedRecords + ? null + : this._unlinkedRecords.get(e, null)) + ? (be(t.item, n) || this._addIdentityChange(t, n), + this._reinsertAfter(t, a, o)) + : (t = this._addAfter(new Ye(n, e), a, o)), + t + ); + }), + (t.prototype._verifyReinsertion = function(t, n, e, o) { + var a = + null === this._unlinkedRecords + ? null + : this._unlinkedRecords.get(e, null); + return ( + null !== a + ? (t = this._reinsertAfter(a, t._prev, o)) + : t.currentIndex != o && + ((t.currentIndex = o), this._addToMoves(t, o)), + t + ); + }), + (t.prototype._truncate = function(t) { + for (; null !== t; ) { + var n = t._next; + this._addToRemovals(this._unlink(t)), (t = n); + } + 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); + }), + (t.prototype._reinsertAfter = function(t, n, e) { + null !== this._unlinkedRecords && this._unlinkedRecords.remove(t); + var o = t._prevRemoved, + a = t._nextRemoved; + return ( + null === o ? (this._removalsHead = a) : (o._nextRemoved = a), + null === a ? (this._removalsTail = o) : (a._prevRemoved = o), + this._insertAfter(t, n, e), + this._addToMoves(t, e), + t + ); + }), + (t.prototype._moveAfter = function(t, n, e) { + return ( + this._unlink(t), + this._insertAfter(t, n, e), + this._addToMoves(t, e), + t + ); + }), + (t.prototype._addAfter = function(t, n, e) { + return ( + this._insertAfter(t, n, e), + (this._additionsTail = + null === this._additionsTail + ? (this._additionsHead = t) + : (this._additionsTail._nextAdded = t)), + t + ); + }), + (t.prototype._insertAfter = function(t, n, e) { + var o = null === n ? this._itHead : n._next; + return ( + (t._next = o), + (t._prev = n), + null === o ? (this._itTail = t) : (o._prev = t), + null === n ? (this._itHead = t) : (n._next = t), + null === this._linkedRecords && + (this._linkedRecords = new Ge()), + this._linkedRecords.put(t), + (t.currentIndex = e), + t + ); + }), + (t.prototype._remove = function(t) { + return this._addToRemovals(this._unlink(t)); + }), + (t.prototype._unlink = function(t) { + null !== this._linkedRecords && this._linkedRecords.remove(t); + var n = t._prev, + e = t._next; + return ( + null === n ? (this._itHead = e) : (n._next = e), + null === e ? (this._itTail = n) : (e._prev = n), + t + ); + }), + (t.prototype._addToMoves = function(t, n) { + return t.previousIndex === n + ? t + : ((this._movesTail = + null === this._movesTail + ? (this._movesHead = t) + : (this._movesTail._nextMoved = t)), + t); + }), + (t.prototype._addToRemovals = function(t) { + return ( + null === this._unlinkedRecords && + (this._unlinkedRecords = new Ge()), + 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 + ); + }), + (t.prototype._addIdentityChange = function(t, n) { + return ( + (t.item = n), + (this._identityChangesTail = + null === this._identityChangesTail + ? (this._identityChangesHead = t) + : (this._identityChangesTail._nextIdentityChange = t)), + t + ); + }), + t + ); + })(), + Ye = (function() { + return function(t, n) { + (this.item = t), + (this.trackById = n), + (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); + }; + })(), + We = (function() { + function t() { + (this._head = null), (this._tail = null); + } + return ( + (t.prototype.add = function(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)); + }), + (t.prototype.get = function(t, n) { + var e; + for (e = this._head; null !== e; e = e._nextDup) + if ((null === n || n <= e.currentIndex) && be(e.trackById, t)) + return e; + return null; + }), + (t.prototype.remove = function(t) { + var n = t._prevDup, + e = t._nextDup; + return ( + null === n ? (this._head = e) : (n._nextDup = e), + null === e ? (this._tail = n) : (e._prevDup = n), + null === this._head + ); + }), + t + ); + })(), + Ge = (function() { + function t() { + this.map = new Map(); + } + return ( + (t.prototype.put = function(t) { + var n = t.trackById, + e = this.map.get(n); + e || ((e = new We()), this.map.set(n, e)), e.add(t); + }), + (t.prototype.get = function(t, n) { + var e = this.map.get(t); + return e ? e.get(t, n) : null; + }), + (t.prototype.remove = function(t) { + var n = t.trackById; + return this.map.get(n).remove(t) && this.map.delete(n), t; + }), + Object.defineProperty(t.prototype, "isEmpty", { + get: function() { + return 0 === this.map.size; + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.clear = function() { + this.map.clear(); + }), + t + ); + })(); + function Ze(t, n, e) { + var o = t.previousIndex; + if (null === o) return o; + var a = 0; + return e && o < e.length && (a = e[o]), o + n + a; + } + var Qe = (function() { + function t() {} + return ( + (t.prototype.supports = function(t) { + return t instanceof Map || ve(t); + }), + (t.prototype.create = function() { + return new Xe(); + }), + t + ); + })(), + Xe = (function() { + function t() { + (this._records = new Map()), + (this._mapHead = null), + (this._appendAfter = null), + (this._previousMapHead = null), + (this._changesHead = null), + (this._changesTail = null), + (this._additionsHead = null), + (this._additionsTail = null), + (this._removalsHead = null), + (this._removalsTail = null); + } + return ( + Object.defineProperty(t.prototype, "isDirty", { + get: function() { + return ( + null !== this._additionsHead || + null !== this._changesHead || + null !== this._removalsHead + ); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.forEachItem = function(t) { + var n; + for (n = this._mapHead; null !== n; n = n._next) t(n); + }), + (t.prototype.forEachPreviousItem = function(t) { + var n; + for (n = this._previousMapHead; null !== n; n = n._nextPrevious) + t(n); + }), + (t.prototype.forEachChangedItem = function(t) { + var n; + for (n = this._changesHead; null !== n; n = n._nextChanged) t(n); + }), + (t.prototype.forEachAddedItem = function(t) { + var n; + for (n = this._additionsHead; null !== n; n = n._nextAdded) t(n); + }), + (t.prototype.forEachRemovedItem = function(t) { + var n; + for (n = this._removalsHead; null !== n; n = n._nextRemoved) t(n); + }), + (t.prototype.diff = function(t) { + if (t) { + if (!(t instanceof Map || ve(t))) + throw new Error( + "Error trying to diff '" + + Pt(t) + + "'. Only maps and objects are allowed" + ); + } else t = new Map(); + return this.check(t) ? this : null; + }), + (t.prototype.onDestroy = function() {}), + (t.prototype.check = function(t) { + var n = this; + this._reset(); + var e = this._mapHead; + if ( + ((this._appendAfter = null), + this._forEach(t, function(t, o) { + if (e && e.key === o) + n._maybeAddToChanges(e, t), + (n._appendAfter = e), + (e = e._next); + else { + var a = n._getOrCreateRecordForKey(o, t); + e = n._insertBeforeOrAppend(e, a); + } + }), + e) + ) { + e._prev && (e._prev._next = null), (this._removalsHead = e); + for (var o = e; null !== o; o = o._nextRemoved) + o === this._mapHead && (this._mapHead = null), + this._records.delete(o.key), + (o._nextRemoved = o._next), + (o.previousValue = o.currentValue), + (o.currentValue = null), + (o._prev = null), + (o._next = null); + } + return ( + this._changesTail && (this._changesTail._nextChanged = null), + this._additionsTail && (this._additionsTail._nextAdded = null), + this.isDirty + ); + }), + (t.prototype._insertBeforeOrAppend = function(t, n) { + if (t) { + var e = t._prev; + return ( + (n._next = t), + (n._prev = e), + (t._prev = n), + e && (e._next = n), + t === this._mapHead && (this._mapHead = n), + (this._appendAfter = t), + t + ); + } + return ( + this._appendAfter + ? ((this._appendAfter._next = n), + (n._prev = this._appendAfter)) + : (this._mapHead = n), + (this._appendAfter = n), + null + ); + }), + (t.prototype._getOrCreateRecordForKey = function(t, n) { + if (this._records.has(t)) { + var e = this._records.get(t); + this._maybeAddToChanges(e, n); + var o = e._prev, + a = e._next; + return ( + o && (o._next = a), + a && (a._prev = o), + (e._next = null), + (e._prev = null), + e + ); + } + var r = new Je(t); + return ( + this._records.set(t, r), + (r.currentValue = n), + this._addToAdditions(r), + r + ); + }), + (t.prototype._reset = function() { + if (this.isDirty) { + var t = void 0; + 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); + } + }), + (t.prototype._maybeAddToChanges = function(t, n) { + be(n, t.currentValue) || + ((t.previousValue = t.currentValue), + (t.currentValue = n), + this._addToChanges(t)); + }), + (t.prototype._addToAdditions = function(t) { + null === this._additionsHead + ? (this._additionsHead = this._additionsTail = t) + : ((this._additionsTail._nextAdded = t), + (this._additionsTail = t)); + }), + (t.prototype._addToChanges = function(t) { + null === this._changesHead + ? (this._changesHead = this._changesTail = t) + : ((this._changesTail._nextChanged = t), + (this._changesTail = t)); + }), + (t.prototype._forEach = function(t, n) { + t instanceof Map + ? t.forEach(n) + : Object.keys(t).forEach(function(e) { + return n(t[e], e); + }); + }), + t + ); + })(), + Je = (function() { + return function(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); + }; + })(), + $e = (function() { + function t(t) { + this.factories = t; + } + return ( + (t.create = function(n, e) { + if (null != e) { + var o = e.factories.slice(); + n = n.concat(o); + } + return new t(n); + }), + (t.extend = function(n) { + return { + provide: t, + useFactory: function(e) { + if (!e) + throw new Error( + "Cannot extend IterableDiffers without a parent injector" + ); + return t.create(n, e); + }, + deps: [[t, new ht(), new gt()]] + }; + }), + (t.prototype.find = function(t) { + var n, + e = this.factories.find(function(n) { + return n.supports(t); + }); + if (null != e) return e; + throw new Error( + "Cannot find a differ supporting object '" + + t + + "' of type '" + + ((n = t).name || typeof n) + + "'" + ); + }), + (t.ngInjectableDef = yt({ + providedIn: "root", + factory: function() { + return new t([new Ue()]); + } + })), + t + ); + })(), + to = (function() { + function t(t) { + this.factories = t; + } + return ( + (t.create = function(n, e) { + if (e) { + var o = e.factories.slice(); + n = n.concat(o); + } + return new t(n); + }), + (t.extend = function(n) { + return { + provide: t, + useFactory: function(e) { + if (!e) + throw new Error( + "Cannot extend KeyValueDiffers without a parent injector" + ); + return t.create(n, e); + }, + deps: [[t, new ht(), new gt()]] + }; + }), + (t.prototype.find = function(t) { + var n = this.factories.find(function(n) { + return n.supports(t); + }); + if (n) return n; + throw new Error( + "Cannot find a differ supporting object '" + t + "'" + ); + }), + (t.ngInjectableDef = yt({ + providedIn: "root", + factory: function() { + return new t([new Qe()]); + } + })), + t + ); + })(), + no = (function() { + function t() {} + return ( + (t.__NG_ELEMENT_ID__ = function() { + return eo(); + }), + t + ); + })(), + eo = function() { + for (var t = [], n = 0; n < arguments.length; n++) + t[n] = arguments[n]; + }, + oo = [new Qe()], + ao = new $e([new Ue()]), + ro = new to(oo), + io = (function() { + function t() {} + return ( + (t.__NG_ELEMENT_ID__ = function() { + return lo(t, Ne); + }), + t + ); + })(), + lo = De, + so = (function() { + function t() {} + return ( + (t.__NG_ELEMENT_ID__ = function() { + return co(t, Ne); + }), + t + ); + })(), + co = De; + function uo(t, n, e, o) { + var a = + "ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '" + + n + + "'. Current value: '" + + e + + "'."; + return ( + o && + (a += + " It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"), + (function(t, n) { + var e = new Error(t); + return po(e, n), e; + })(a, t) + ); + } + function po(t, n) { + (t[sn] = n), (t[un] = n.logError.bind(n)); + } + function mo(t) { + return new Error( + "ViewDestroyedError: Attempt to use a destroyed view: " + t + ); + } + function go(t, n, e) { + var o = t.state, + a = 1792 & o; + return a === n + ? ((t.state = (-1793 & o) | e), (t.initIndex = -1), !0) + : a === e; + } + function fo(t, n, e) { + return ( + (1792 & t.state) === n && + t.initIndex <= e && + ((t.initIndex = e + 1), !0) + ); + } + function ho(t, n) { + return t.nodes[n]; + } + function bo(t, n) { + return t.nodes[n]; + } + function _o(t, n) { + return t.nodes[n]; + } + function yo(t, n) { + return t.nodes[n]; + } + function Co(t, n) { + return t.nodes[n]; + } + var vo = { + setCurrentNode: void 0, + createRootView: void 0, + createEmbeddedView: void 0, + createComponentView: void 0, + createNgModuleRef: void 0, + overrideProvider: void 0, + overrideComponentView: void 0, + clearOverrides: void 0, + checkAndUpdateView: void 0, + checkNoChangesView: void 0, + destroyView: void 0, + resolveDep: void 0, + createDebugContext: void 0, + handleEvent: void 0, + updateDirectives: void 0, + updateRenderer: void 0, + dirtyParentQueries: void 0 + }, + Oo = function() {}, + Po = new Map(); + function Mo(t) { + var n = Po.get(t); + return n || ((n = Pt(t) + "_" + Po.size), Po.set(t, n)), n; + } + function xo(t, n, e, o) { + if (ye.isWrapped(o)) { + o = ye.unwrap(o); + var a = t.def.nodes[n].bindingIndex + e, + r = ye.unwrap(t.oldValues[a]); + t.oldValues[a] = new ye(r); + } + return o; + } + var ko = "$$undefined", + wo = "$$empty"; + function So(t) { + return { + id: ko, + styles: t.styles, + encapsulation: t.encapsulation, + data: t.data + }; + } + var Eo = 0; + function Io(t, n, e, o) { + return !(!(2 & t.state) && be(t.oldValues[n.bindingIndex + e], o)); + } + function Ao(t, n, e, o) { + return !!Io(t, n, e, o) && ((t.oldValues[n.bindingIndex + e] = o), !0); + } + function To(t, n, e, o) { + var a = t.oldValues[n.bindingIndex + e]; + if (1 & t.state || !_e(a, o)) { + var r = n.bindings[e].name; + throw uo( + vo.createDebugContext(t, n.nodeIndex), + r + ": " + a, + r + ": " + o, + 0 != (1 & t.state) + ); + } + } + function Ro(t) { + for (var n = t; n; ) + 2 & n.def.flags && (n.state |= 8), + (n = n.viewContainerParent || n.parent); + } + function Do(t, n) { + for (var e = t; e && e !== n; ) + (e.state |= 64), (e = e.viewContainerParent || e.parent); + } + function No(t, n, e, o) { + try { + return ( + Ro(33554432 & t.def.nodes[n].flags ? bo(t, n).componentView : t), + vo.handleEvent(t, n, e, o) + ); + } catch (a) { + t.root.errorHandler.handleError(a); + } + } + function zo(t) { + return t.parent ? bo(t.parent, t.parentNodeDef.nodeIndex) : null; + } + function Lo(t) { + return t.parent ? t.parentNodeDef.parent : null; + } + function jo(t, n) { + switch (201347067 & n.flags) { + case 1: + return bo(t, n.nodeIndex).renderElement; + case 2: + return ho(t, n.nodeIndex).renderText; + } + } + function Fo(t) { + return !!t.parent && !!(32768 & t.parentNodeDef.flags); + } + function Bo(t) { + return !(!t.parent || 32768 & t.parentNodeDef.flags); + } + function Vo(t) { + return 1 << t % 32; + } + function Ho(t) { + var n = {}, + e = 0, + a = {}; + return ( + t && + t.forEach(function(t) { + var r = Object(o.__read)(t, 2), + i = r[0], + l = r[1]; + "number" == typeof i ? ((n[i] = l), (e |= Vo(i))) : (a[i] = l); + }), + { matchedQueries: n, references: a, matchedQueryIds: e } + ); + } + function Uo(t, n) { + return t.map(function(t) { + var e, a, r; + return ( + Array.isArray(t) + ? ((r = (e = Object(o.__read)(t, 2))[0]), (a = e[1])) + : ((r = 0), (a = t)), + a && + ("function" == typeof a || "object" == typeof a) && + n && + Object.defineProperty(a, qt, { value: n, configurable: !0 }), + { flags: r, token: a, tokenKey: Mo(a) } + ); + }); + } + function qo(t, n, e) { + var o = e.renderParent; + return o + ? 0 == (1 & o.flags) || + 0 == (33554432 & o.flags) || + (o.element.componentRendererType && + o.element.componentRendererType.encapsulation === An.Native) + ? bo(t, e.renderParent.nodeIndex).renderElement + : void 0 + : n; + } + var Ko = new WeakMap(); + function Yo(t) { + var n = Ko.get(t); + return ( + n || + (((n = t(function() { + return Oo; + })).factory = t), + Ko.set(t, n)), + n + ); + } + function Wo(t, n, e, o, a) { + 3 === n && (e = t.renderer.parentNode(jo(t, t.def.lastRenderRootNode))), + Go(t, n, 0, t.def.nodes.length - 1, e, o, a); + } + function Go(t, n, e, o, a, r, i) { + for (var l = e; l <= o; l++) { + var s = t.def.nodes[l]; + 11 & s.flags && Qo(t, s, n, a, r, i), (l += s.childCount); + } + } + function Zo(t, n, e, o, a, r) { + for (var i = t; i && !Fo(i); ) i = i.parent; + for ( + var l = i.parent, + s = Lo(i), + c = s.nodeIndex + s.childCount, + u = s.nodeIndex + 1; + u <= c; + u++ + ) { + var d = l.def.nodes[u]; + d.ngContentIndex === n && Qo(l, d, e, o, a, r), (u += d.childCount); + } + if (!l.parent) { + var p = t.root.projectableNodes[n]; + if (p) for (u = 0; u < p.length; u++) Xo(t, p[u], e, o, a, r); + } + } + function Qo(t, n, e, o, a, r) { + if (8 & n.flags) Zo(t, n.ngContent.index, e, o, a, r); + else { + var i = jo(t, n); + if ( + (3 === e && 33554432 & n.flags && 48 & n.bindingFlags + ? (16 & n.bindingFlags && Xo(t, i, e, o, a, r), + 32 & n.bindingFlags && + Xo(bo(t, n.nodeIndex).componentView, i, e, o, a, r)) + : Xo(t, i, e, o, a, r), + 16777216 & n.flags) + ) + for ( + var l = bo(t, n.nodeIndex).viewContainer._embeddedViews, s = 0; + s < l.length; + s++ + ) + Wo(l[s], e, o, a, r); + 1 & n.flags && + !n.element.name && + Go(t, e, n.nodeIndex + 1, n.nodeIndex + n.childCount, o, a, r); + } + } + function Xo(t, n, e, o, a, r) { + var i = t.renderer; + switch (e) { + case 1: + i.appendChild(o, n); + break; + case 2: + i.insertBefore(o, n, a); + break; + case 3: + i.removeChild(o, n); + break; + case 0: + r.push(n); + } + } + var Jo = /^:([^:]+):(.+)$/; + function $o(t) { + if (":" === t[0]) { + var n = t.match(Jo); + return [n[1], n[2]]; + } + return ["", t]; + } + function ta(t) { + for (var n = 0, e = 0; e < t.length; e++) n |= t[e].flags; + return n; + } + function na(t, n, e, o, a, r, i, l, s, c, u, d, p, m, g, f, h, b, _, y) { + switch (t) { + case 1: + return n + ea(e) + o; + case 2: + return n + ea(e) + o + ea(a) + r; + case 3: + return n + ea(e) + o + ea(a) + r + ea(i) + l; + case 4: + return n + ea(e) + o + ea(a) + r + ea(i) + l + ea(s) + c; + case 5: + return ( + n + ea(e) + o + ea(a) + r + ea(i) + l + ea(s) + c + ea(u) + d + ); + case 6: + return ( + n + + ea(e) + + o + + ea(a) + + r + + ea(i) + + l + + ea(s) + + c + + ea(u) + + d + + ea(p) + + m + ); + case 7: + return ( + n + + ea(e) + + o + + ea(a) + + r + + ea(i) + + l + + ea(s) + + c + + ea(u) + + d + + ea(p) + + m + + ea(g) + + f + ); + case 8: + return ( + n + + ea(e) + + o + + ea(a) + + r + + ea(i) + + l + + ea(s) + + c + + ea(u) + + d + + ea(p) + + m + + ea(g) + + f + + ea(h) + + b + ); + case 9: + return ( + n + + ea(e) + + o + + ea(a) + + r + + ea(i) + + l + + ea(s) + + c + + ea(u) + + d + + ea(p) + + m + + ea(g) + + f + + ea(h) + + b + + ea(_) + + y + ); + default: + throw new Error("Does not support more than 9 expressions"); + } + } + function ea(t) { + return null != t ? t.toString() : ""; + } + var oa = new Object(), + aa = Mo(Zt), + ra = Mo(Wt), + ia = Mo(Te); + function la(t, n, e, o) { + return ( + (e = kt(e)), + { index: -1, deps: Uo(o, Pt(n)), flags: t, token: n, value: e } + ); + } + function sa(t, n, e) { + void 0 === e && (e = Zt.THROW_IF_NOT_FOUND); + var o, + a, + r = At(t); + try { + if (8 & n.flags) return n.token; + if ((2 & n.flags && (e = null), 1 & n.flags)) + return t._parent.get(n.token, e); + var i = n.tokenKey; + switch (i) { + case aa: + case ra: + case ia: + return t; + } + var l, + s = t._def.providersByKey[i]; + if (s) { + var c = t._providers[s.index]; + return ( + void 0 === c && (c = t._providers[s.index] = ca(t, s)), + c === oa ? void 0 : c + ); + } + if ( + (l = vt(n.token)) && + ((o = t), + null != (a = l).providedIn && + ((function(t, n) { + return t._def.modules.indexOf(a.providedIn) > -1; + })(o) || + ("root" === a.providedIn && o._def.isRoot))) + ) { + var u = t._providers.length; + return ( + (t._def.providers[u] = t._def.providersByKey[n.tokenKey] = { + flags: 5120, + value: l.factory, + deps: [], + index: u, + token: n.token + }), + (t._providers[u] = oa), + (t._providers[u] = ca(t, t._def.providersByKey[n.tokenKey])) + ); + } + return 4 & n.flags ? e : t._parent.get(n.token, e); + } finally { + At(r); + } + } + function ca(t, n) { + var e; + switch (201347067 & n.flags) { + case 512: + e = (function(t, n, e) { + var a = e.length; + switch (a) { + case 0: + return new n(); + case 1: + return new n(sa(t, e[0])); + case 2: + return new n(sa(t, e[0]), sa(t, e[1])); + case 3: + return new n(sa(t, e[0]), sa(t, e[1]), sa(t, e[2])); + default: + for (var r = new Array(a), i = 0; i < a; i++) + r[i] = sa(t, e[i]); + return new (n.bind.apply( + n, + Object(o.__spread)([void 0], r) + ))(); + } + })(t, n.value, n.deps); + break; + case 1024: + e = (function(t, n, e) { + var a = e.length; + switch (a) { + case 0: + return n(); + case 1: + return n(sa(t, e[0])); + case 2: + return n(sa(t, e[0]), sa(t, e[1])); + case 3: + return n(sa(t, e[0]), sa(t, e[1]), sa(t, e[2])); + default: + for (var r = Array(a), i = 0; i < a; i++) r[i] = sa(t, e[i]); + return n.apply(void 0, Object(o.__spread)(r)); + } + })(t, n.value, n.deps); + break; + case 2048: + e = sa(t, n.deps[0]); + break; + case 256: + e = n.value; + } + return ( + e === oa || + null === e || + "object" != typeof e || + 131072 & n.flags || + "function" != typeof e.ngOnDestroy || + (n.flags |= 131072), + void 0 === e ? oa : e + ); + } + function ua(t, n) { + var e = t.viewContainer._embeddedViews; + if (((null == n || n >= e.length) && (n = e.length - 1), n < 0)) + return null; + var o = e[n]; + return ( + (o.viewContainerParent = null), + ga(e, n), + vo.dirtyParentQueries(o), + pa(o), + o + ); + } + function da(t, n, e) { + var o = n ? jo(n, n.def.lastRenderRootNode) : t.renderElement, + a = e.renderer.parentNode(o), + r = e.renderer.nextSibling(o); + Wo(e, 2, a, r, void 0); + } + function pa(t) { + Wo(t, 3, null, null, void 0); + } + function ma(t, n, e) { + n >= t.length ? t.push(e) : t.splice(n, 0, e); + } + function ga(t, n) { + n >= t.length - 1 ? t.pop() : t.splice(n, 1); + } + var fa = new Object(); + function ha(t, n, e, o, a, r) { + return new ba(t, n, e, o, a, r); + } + var ba = (function(t) { + function n(n, e, o, a, r, i) { + var l = t.call(this) || this; + return ( + (l.selector = n), + (l.componentType = e), + (l._inputs = a), + (l._outputs = r), + (l.ngContentSelectors = i), + (l.viewDefFactory = o), + l + ); + } + return ( + Object(o.__extends)(n, t), + Object.defineProperty(n.prototype, "inputs", { + get: function() { + var t = [], + n = this._inputs; + for (var e in n) t.push({ propName: e, templateName: n[e] }); + return t; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "outputs", { + get: function() { + var t = []; + for (var n in this._outputs) + t.push({ propName: n, templateName: this._outputs[n] }); + return t; + }, + enumerable: !0, + configurable: !0 + }), + (n.prototype.create = function(t, n, e, o) { + if (!o) throw new Error("ngModule should be provided"); + var a = Yo(this.viewDefFactory), + r = a.nodes[0].element.componentProvider.nodeIndex, + i = vo.createRootView(t, n || [], e, a, o, fa), + l = _o(i, r).instance; + return ( + e && + i.renderer.setAttribute( + bo(i, 0).renderElement, + "ng-version", + He.full + ), + new _a(i, new Oa(i), l) + ); + }), + n + ); + })(xe), + _a = (function(t) { + function n(n, e, o) { + var a = t.call(this) || this; + return ( + (a._view = n), + (a._viewRef = e), + (a._component = o), + (a._elDef = a._view.def.nodes[0]), + (a.hostView = e), + (a.changeDetectorRef = e), + (a.instance = o), + a + ); + } + return ( + Object(o.__extends)(n, t), + Object.defineProperty(n.prototype, "location", { + get: function() { + return new Ne( + bo(this._view, this._elDef.nodeIndex).renderElement + ); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "injector", { + get: function() { + return new ka(this._view, this._elDef); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "componentType", { + get: function() { + return this._component.constructor; + }, + enumerable: !0, + configurable: !0 + }), + (n.prototype.destroy = function() { + this._viewRef.destroy(); + }), + (n.prototype.onDestroy = function(t) { + this._viewRef.onDestroy(t); + }), + n + ); + })(Me); + function ya(t, n, e) { + return new Ca(t, n, e); + } + var Ca = (function() { + function t(t, n, e) { + (this._view = t), + (this._elDef = n), + (this._data = e), + (this._embeddedViews = []); + } + return ( + Object.defineProperty(t.prototype, "element", { + get: function() { + return new Ne(this._data.renderElement); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "injector", { + get: function() { + return new ka(this._view, this._elDef); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "parentInjector", { + get: function() { + for (var t = this._view, n = this._elDef.parent; !n && t; ) + (n = Lo(t)), (t = t.parent); + return t ? new ka(t, n) : new ka(this._view, null); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.clear = function() { + for (var t = this._embeddedViews.length - 1; t >= 0; t--) { + var n = ua(this._data, t); + vo.destroyView(n); + } + }), + (t.prototype.get = function(t) { + var n = this._embeddedViews[t]; + if (n) { + var e = new Oa(n); + return e.attachToViewContainerRef(this), e; + } + return null; + }), + Object.defineProperty(t.prototype, "length", { + get: function() { + return this._embeddedViews.length; + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.createEmbeddedView = function(t, n, e) { + var o = t.createEmbeddedView(n || {}); + return this.insert(o, e), o; + }), + (t.prototype.createComponent = function(t, n, e, o, a) { + var r = e || this.parentInjector; + a || t instanceof Ae || (a = r.get(Te)); + var i = t.create(r, o, void 0, a); + return this.insert(i.hostView, n), i; + }), + (t.prototype.insert = function(t, n) { + if (t.destroyed) + throw new Error( + "Cannot insert a destroyed View in a ViewContainer!" + ); + var e, + o, + a, + r, + i = t; + return ( + (r = (e = this._data).viewContainer._embeddedViews), + null == (o = n) && (o = r.length), + ((a = i._view).viewContainerParent = this._view), + ma(r, o, a), + (function(t, n) { + var e = zo(n); + if (e && e !== t && !(16 & n.state)) { + n.state |= 16; + var o = e.template._projectedViews; + o || (o = e.template._projectedViews = []), + o.push(n), + (function(t, e) { + if (!(4 & e.flags)) { + (n.parent.def.nodeFlags |= 4), (e.flags |= 4); + for (var o = e.parent; o; ) + (o.childFlags |= 4), (o = o.parent); + } + })(0, n.parentNodeDef); + } + })(e, a), + vo.dirtyParentQueries(a), + da(e, o > 0 ? r[o - 1] : null, a), + i.attachToViewContainerRef(this), + t + ); + }), + (t.prototype.move = function(t, n) { + if (t.destroyed) + throw new Error( + "Cannot move a destroyed View in a ViewContainer!" + ); + var e, + o, + a, + r, + i, + l = this._embeddedViews.indexOf(t._view); + return ( + (a = n), + (i = (r = (e = this._data).viewContainer._embeddedViews)[ + (o = l) + ]), + ga(r, o), + null == a && (a = r.length), + ma(r, a, i), + vo.dirtyParentQueries(i), + pa(i), + da(e, a > 0 ? r[a - 1] : null, i), + t + ); + }), + (t.prototype.indexOf = function(t) { + return this._embeddedViews.indexOf(t._view); + }), + (t.prototype.remove = function(t) { + var n = ua(this._data, t); + n && vo.destroyView(n); + }), + (t.prototype.detach = function(t) { + var n = ua(this._data, t); + return n ? new Oa(n) : null; + }), + t + ); + })(); + function va(t) { + return new Oa(t); + } + var Oa = (function() { + function t(t) { + (this._view = t), + (this._viewContainerRef = null), + (this._appRef = null); + } + return ( + Object.defineProperty(t.prototype, "rootNodes", { + get: function() { + return Wo(this._view, 0, void 0, void 0, (t = [])), t; + var t; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "context", { + get: function() { + return this._view.context; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "destroyed", { + get: function() { + return 0 != (128 & this._view.state); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.markForCheck = function() { + Ro(this._view); + }), + (t.prototype.detach = function() { + this._view.state &= -5; + }), + (t.prototype.detectChanges = function() { + var t = this._view.root.rendererFactory; + t.begin && t.begin(); + try { + vo.checkAndUpdateView(this._view); + } finally { + t.end && t.end(); + } + }), + (t.prototype.checkNoChanges = function() { + vo.checkNoChangesView(this._view); + }), + (t.prototype.reattach = function() { + this._view.state |= 4; + }), + (t.prototype.onDestroy = function(t) { + this._view.disposables || (this._view.disposables = []), + this._view.disposables.push(t); + }), + (t.prototype.destroy = function() { + this._appRef + ? this._appRef.detachView(this) + : this._viewContainerRef && + this._viewContainerRef.detach( + this._viewContainerRef.indexOf(this) + ), + vo.destroyView(this._view); + }), + (t.prototype.detachFromAppRef = function() { + (this._appRef = null), + pa(this._view), + vo.dirtyParentQueries(this._view); + }), + (t.prototype.attachToAppRef = function(t) { + if (this._viewContainerRef) + throw new Error( + "This view is already attached to a ViewContainer!" + ); + this._appRef = t; + }), + (t.prototype.attachToViewContainerRef = function(t) { + if (this._appRef) + throw new Error( + "This view is already attached directly to the ApplicationRef!" + ); + this._viewContainerRef = t; + }), + t + ); + })(); + function Pa(t, n) { + return new Ma(t, n); + } + var Ma = (function(t) { + function n(n, e) { + var o = t.call(this) || this; + return (o._parentView = n), (o._def = e), o; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.createEmbeddedView = function(t) { + return new Oa( + vo.createEmbeddedView( + this._parentView, + this._def, + this._def.element.template, + t + ) + ); + }), + Object.defineProperty(n.prototype, "elementRef", { + get: function() { + return new Ne( + bo(this._parentView, this._def.nodeIndex).renderElement + ); + }, + enumerable: !0, + configurable: !0 + }), + n + ); + })(io); + function xa(t, n) { + return new ka(t, n); + } + var ka = (function() { + function t(t, n) { + (this.view = t), (this.elDef = n); + } + return ( + (t.prototype.get = function(t, n) { + return ( + void 0 === n && (n = Zt.THROW_IF_NOT_FOUND), + vo.resolveDep( + this.view, + this.elDef, + !!this.elDef && 0 != (33554432 & this.elDef.flags), + { flags: 0, token: t, tokenKey: Mo(t) }, + n + ) + ); + }), + t + ); + })(); + function wa(t, n) { + var e = t.def.nodes[n]; + if (1 & e.flags) { + var o = bo(t, e.nodeIndex); + return e.element.template ? o.template : o.renderElement; + } + if (2 & e.flags) return ho(t, e.nodeIndex).renderText; + if (20240 & e.flags) return _o(t, e.nodeIndex).instance; + throw new Error("Illegal state: read nodeValue for node index " + n); + } + function Sa(t) { + return new Ea(t.renderer); + } + var Ea = (function() { + function t(t) { + this.delegate = t; + } + return ( + (t.prototype.selectRootElement = function(t) { + return this.delegate.selectRootElement(t); + }), + (t.prototype.createElement = function(t, n) { + var e = Object(o.__read)($o(n), 2), + a = this.delegate.createElement(e[1], e[0]); + return t && this.delegate.appendChild(t, a), a; + }), + (t.prototype.createViewRoot = function(t) { + return t; + }), + (t.prototype.createTemplateAnchor = function(t) { + var n = this.delegate.createComment(""); + return t && this.delegate.appendChild(t, n), n; + }), + (t.prototype.createText = function(t, n) { + var e = this.delegate.createText(n); + return t && this.delegate.appendChild(t, e), e; + }), + (t.prototype.projectNodes = function(t, n) { + for (var e = 0; e < n.length; e++) + this.delegate.appendChild(t, n[e]); + }), + (t.prototype.attachViewAfter = function(t, n) { + for ( + var e = this.delegate.parentNode(t), + o = this.delegate.nextSibling(t), + a = 0; + a < n.length; + a++ + ) + this.delegate.insertBefore(e, n[a], o); + }), + (t.prototype.detachView = function(t) { + for (var n = 0; n < t.length; n++) { + var e = t[n], + o = this.delegate.parentNode(e); + this.delegate.removeChild(o, e); + } + }), + (t.prototype.destroyView = function(t, n) { + for (var e = 0; e < n.length; e++) this.delegate.destroyNode(n[e]); + }), + (t.prototype.listen = function(t, n, e) { + return this.delegate.listen(t, n, e); + }), + (t.prototype.listenGlobal = function(t, n, e) { + return this.delegate.listen(t, n, e); + }), + (t.prototype.setElementProperty = function(t, n, e) { + this.delegate.setProperty(t, n, e); + }), + (t.prototype.setElementAttribute = function(t, n, e) { + var a = Object(o.__read)($o(n), 2), + r = a[0], + i = a[1]; + null != e + ? this.delegate.setAttribute(t, i, e, r) + : this.delegate.removeAttribute(t, i, r); + }), + (t.prototype.setBindingDebugInfo = function(t, n, e) {}), + (t.prototype.setElementClass = function(t, n, e) { + e ? this.delegate.addClass(t, n) : this.delegate.removeClass(t, n); + }), + (t.prototype.setElementStyle = function(t, n, e) { + null != e + ? this.delegate.setStyle(t, n, e) + : this.delegate.removeStyle(t, n); + }), + (t.prototype.invokeElementMethod = function(t, n, e) { + t[n].apply(t, e); + }), + (t.prototype.setText = function(t, n) { + this.delegate.setValue(t, n); + }), + (t.prototype.animate = function() { + throw new Error("Renderer.animate is no longer supported!"); + }), + t + ); + })(); + function Ia(t, n, e, o) { + return new Aa(t, n, e, o); + } + var Aa = (function() { + function t(t, n, e, o) { + (this._moduleType = t), + (this._parent = n), + (this._bootstrapComponents = e), + (this._def = o), + (this._destroyListeners = []), + (this._destroyed = !1), + (this.injector = this), + (function(t) { + for ( + var n = t._def, + e = (t._providers = new Array(n.providers.length)), + o = 0; + o < n.providers.length; + o++ + ) { + var a = n.providers[o]; + 4096 & a.flags || (void 0 === e[o] && (e[o] = ca(t, a))); + } + })(this); + } + return ( + (t.prototype.get = function(t, n, e) { + void 0 === n && (n = Zt.THROW_IF_NOT_FOUND), + void 0 === e && (e = bt.Default); + var o = 0; + return ( + e & bt.SkipSelf ? (o |= 1) : e & bt.Self && (o |= 4), + sa(this, { token: t, tokenKey: Mo(t), flags: o }, n) + ); + }), + Object.defineProperty(t.prototype, "instance", { + get: function() { + return this.get(this._moduleType); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "componentFactoryResolver", { + get: function() { + return this.get(Ee); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.destroy = function() { + if (this._destroyed) + throw new Error( + "The ng module " + + Pt(this.instance.constructor) + + " has already been destroyed." + ); + (this._destroyed = !0), + (function(t, n) { + for ( + var e = t._def, o = new Set(), a = 0; + a < e.providers.length; + a++ + ) + if (131072 & e.providers[a].flags) { + var r = t._providers[a]; + if (r && r !== oa) { + var i = r.ngOnDestroy; + "function" != typeof i || + o.has(r) || + (i.apply(r), o.add(r)); + } + } + })(this), + this._destroyListeners.forEach(function(t) { + return t(); + }); + }), + (t.prototype.onDestroy = function(t) { + this._destroyListeners.push(t); + }), + t + ); + })(), + Ta = Mo(Le), + Ra = Mo(Be), + Da = Mo(Ne), + Na = Mo(so), + za = Mo(io), + La = Mo(no), + ja = Mo(Zt), + Fa = Mo(Wt); + function Ba(t, n, e, a, r, i, l, s) { + var c = []; + if (l) + for (var u in l) { + var d = Object(o.__read)(l[u], 2); + c[d[0]] = { + flags: 8, + name: u, + nonMinifiedName: d[1], + ns: null, + securityContext: null, + suffix: null + }; + } + var p = []; + if (s) + for (var m in s) + p.push({ type: 1, propName: m, target: null, eventName: s[m] }); + return Ua(t, (n |= 16384), e, a, r, r, i, c, p); + } + function Va(t, n, e) { + return Ua(-1, (t |= 16), null, 0, n, n, e); + } + function Ha(t, n, e, o, a) { + return Ua(-1, t, n, 0, e, o, a); + } + function Ua(t, n, e, o, a, r, i, l, s) { + var c = Ho(e), + u = c.matchedQueries, + d = c.references, + p = c.matchedQueryIds; + s || (s = []), l || (l = []), (r = kt(r)); + var m = Uo(i, Pt(a)); + return { + nodeIndex: -1, + parent: null, + renderParent: null, + bindingIndex: -1, + outputIndex: -1, + checkIndex: t, + flags: n, + childFlags: 0, + directChildFlags: 0, + childMatchedQueries: 0, + matchedQueries: u, + matchedQueryIds: p, + references: d, + ngContentIndex: -1, + childCount: o, + bindings: l, + bindingFlags: ta(l), + outputs: s, + element: null, + provider: { token: a, value: r, deps: m }, + text: null, + query: null, + ngContent: null + }; + } + function qa(t, n) { + return Ga(t, n); + } + function Ka(t, n) { + for (var e = t; e.parent && !Fo(e); ) e = e.parent; + return Za(e.parent, Lo(e), !0, n.provider.value, n.provider.deps); + } + function Ya(t, n) { + var e = Za( + t, + n.parent, + (32768 & n.flags) > 0, + n.provider.value, + n.provider.deps + ); + if (n.outputs.length) + for (var o = 0; o < n.outputs.length; o++) { + var a = n.outputs[o], + r = e[a.propName]; + if (!ge(r)) + throw new Error( + "@Output " + + a.propName + + " not initialized in '" + + e.constructor.name + + "'." + ); + var i = r.subscribe(Wa(t, n.parent.nodeIndex, a.eventName)); + t.disposables[n.outputIndex + o] = i.unsubscribe.bind(i); + } + return e; + } + function Wa(t, n, e) { + return function(o) { + return No(t, n, e, o); + }; + } + function Ga(t, n) { + var e = (8192 & n.flags) > 0, + a = n.provider; + switch (201347067 & n.flags) { + case 512: + return Za(t, n.parent, e, a.value, a.deps); + case 1024: + return (function(t, n, e, a, r) { + var i = r.length; + switch (i) { + case 0: + return a(); + case 1: + return a(Xa(t, n, e, r[0])); + case 2: + return a(Xa(t, n, e, r[0]), Xa(t, n, e, r[1])); + case 3: + return a( + Xa(t, n, e, r[0]), + Xa(t, n, e, r[1]), + Xa(t, n, e, r[2]) + ); + default: + for (var l = Array(i), s = 0; s < i; s++) + l[s] = Xa(t, n, e, r[s]); + return a.apply(void 0, Object(o.__spread)(l)); + } + })(t, n.parent, e, a.value, a.deps); + case 2048: + return Xa(t, n.parent, e, a.deps[0]); + case 256: + return a.value; + } + } + function Za(t, n, e, a, r) { + var i = r.length; + switch (i) { + case 0: + return new a(); + case 1: + return new a(Xa(t, n, e, r[0])); + case 2: + return new a(Xa(t, n, e, r[0]), Xa(t, n, e, r[1])); + case 3: + return new a( + Xa(t, n, e, r[0]), + Xa(t, n, e, r[1]), + Xa(t, n, e, r[2]) + ); + default: + for (var l = new Array(i), s = 0; s < i; s++) + l[s] = Xa(t, n, e, r[s]); + return new (a.bind.apply(a, Object(o.__spread)([void 0], l)))(); + } + } + var Qa = {}; + function Xa(t, n, e, o, a) { + if ((void 0 === a && (a = Zt.THROW_IF_NOT_FOUND), 8 & o.flags)) + return o.token; + var r = t; + 2 & o.flags && (a = null); + var i = o.tokenKey; + i === La && (e = !(!n || !n.element.componentView)), + n && 1 & o.flags && ((e = !1), (n = n.parent)); + for (var l = t; l; ) { + if (n) + switch (i) { + case Ta: + return Sa(Ja(l, n, e)); + case Ra: + return Ja(l, n, e).renderer; + case Da: + return new Ne(bo(l, n.nodeIndex).renderElement); + case Na: + return bo(l, n.nodeIndex).viewContainer; + case za: + if (n.element.template) return bo(l, n.nodeIndex).template; + break; + case La: + return va(Ja(l, n, e)); + case ja: + case Fa: + return xa(l, n); + default: + var s = (e + ? n.element.allProviders + : n.element.publicProviders)[i]; + if (s) { + var c = _o(l, s.nodeIndex); + return ( + c || + ((c = { instance: Ga(l, s) }), + (l.nodes[s.nodeIndex] = c)), + c.instance + ); + } + } + (e = Fo(l)), (n = Lo(l)), (l = l.parent), 4 & o.flags && (l = null); + } + var u = r.root.injector.get(o.token, Qa); + return u !== Qa || a === Qa + ? u + : r.root.ngModule.injector.get(o.token, a); + } + function Ja(t, n, e) { + var o; + if (e) o = bo(t, n.nodeIndex).componentView; + else for (o = t; o.parent && !Fo(o); ) o = o.parent; + return o; + } + function $a(t, n, e, o, a, r) { + if (32768 & e.flags) { + var i = bo(t, e.parent.nodeIndex).componentView; + 2 & i.def.flags && (i.state |= 8); + } + if (((n.instance[e.bindings[o].name] = a), 524288 & e.flags)) { + r = r || {}; + var l = ye.unwrap(t.oldValues[e.bindingIndex + o]); + r[e.bindings[o].nonMinifiedName] = new Oe(l, a, 0 != (2 & t.state)); + } + return (t.oldValues[e.bindingIndex + o] = a), r; + } + function tr(t, n) { + if (t.def.nodeFlags & n) + for (var e = t.def.nodes, o = 0, a = 0; a < e.length; a++) { + var r = e[a], + i = r.parent; + for ( + !i && r.flags & n && er(t, a, r.flags & n, o++), + 0 == (r.childFlags & n) && (a += r.childCount); + i && 1 & i.flags && a === i.nodeIndex + i.childCount; + + ) + i.directChildFlags & n && (o = nr(t, i, n, o)), (i = i.parent); + } + } + function nr(t, n, e, o) { + for (var a = n.nodeIndex + 1; a <= n.nodeIndex + n.childCount; a++) { + var r = t.def.nodes[a]; + r.flags & e && er(t, a, r.flags & e, o++), (a += r.childCount); + } + return o; + } + function er(t, n, e, o) { + var a = _o(t, n); + if (a) { + var r = a.instance; + r && + (vo.setCurrentNode(t, n), + 1048576 & e && fo(t, 512, o) && r.ngAfterContentInit(), + 2097152 & e && r.ngAfterContentChecked(), + 4194304 & e && fo(t, 768, o) && r.ngAfterViewInit(), + 8388608 & e && r.ngAfterViewChecked(), + 131072 & e && r.ngOnDestroy()); + } + } + var or = new Ut("SCHEDULER_TOKEN", { + providedIn: "root", + factory: function() { + return Tn; + } + }), + ar = (function(t) { + function n(n) { + void 0 === n && (n = !1); + var e = t.call(this) || this; + return (e.__isAsync = n), e; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.emit = function(n) { + t.prototype.next.call(this, n); + }), + (n.prototype.subscribe = function(n, e, o) { + var a, + r = function(t) { + return null; + }, + i = function() { + return null; + }; + n && "object" == typeof n + ? ((a = this.__isAsync + ? function(t) { + setTimeout(function() { + return n.next(t); + }); + } + : function(t) { + n.next(t); + }), + n.error && + (r = this.__isAsync + ? function(t) { + setTimeout(function() { + return n.error(t); + }); + } + : function(t) { + n.error(t); + }), + n.complete && + (i = this.__isAsync + ? function() { + setTimeout(function() { + return n.complete(); + }); + } + : function() { + n.complete(); + })) + : ((a = this.__isAsync + ? function(t) { + setTimeout(function() { + return n(t); + }); + } + : function(t) { + n(t); + }), + e && + (r = this.__isAsync + ? function(t) { + setTimeout(function() { + return e(t); + }); + } + : function(t) { + e(t); + }), + o && + (i = this.__isAsync + ? function() { + setTimeout(function() { + return o(); + }); + } + : function() { + o(); + })); + var l = t.prototype.subscribe.call(this, a, r, i); + return n instanceof c && n.add(l), l; + }), + n + ); + })(S), + rr = (function() { + function t() { + (this.dirty = !0), + (this._results = []), + (this.changes = new ar()), + (this.length = 0); + } + return ( + (t.prototype.map = function(t) { + return this._results.map(t); + }), + (t.prototype.filter = function(t) { + return this._results.filter(t); + }), + (t.prototype.find = function(t) { + return this._results.find(t); + }), + (t.prototype.reduce = function(t, n) { + return this._results.reduce(t, n); + }), + (t.prototype.forEach = function(t) { + this._results.forEach(t); + }), + (t.prototype.some = function(t) { + return this._results.some(t); + }), + (t.prototype.toArray = function() { + return this._results.slice(); + }), + (t.prototype[he()] = function() { + return this._results[he()](); + }), + (t.prototype.toString = function() { + return this._results.toString(); + }), + (t.prototype.reset = function(t) { + (this._results = (function t(n, e) { + void 0 === e && (e = n); + for (var o = 0; o < n.length; o++) { + var a = n[o]; + Array.isArray(a) + ? (e === n && (e = n.slice(0, o)), t(a, e)) + : e !== n && e.push(a); + } + return e; + })(t)), + (this.dirty = !1), + (this.length = this._results.length), + (this.last = this._results[this.length - 1]), + (this.first = this._results[0]); + }), + (t.prototype.notifyOnChanges = function() { + this.changes.emit(this); + }), + (t.prototype.setDirty = function() { + this.dirty = !0; + }), + (t.prototype.destroy = function() { + this.changes.complete(), this.changes.unsubscribe(); + }), + t + ); + })(), + ir = (function() { + return function() {}; + })(), + lr = pt("Input", function(t) { + return { bindingPropertyName: t }; + }), + sr = pt("HostBinding", function(t) { + return { hostPropertyName: t }; + }), + cr = new Ut("Application Initializer"), + ur = (function() { + function t(t) { + var n = this; + (this.appInits = t), + (this.initialized = !1), + (this.done = !1), + (this.donePromise = new Promise(function(t, e) { + (n.resolve = t), (n.reject = e); + })); + } + return ( + (t.prototype.runInitializers = function() { + var t = this; + if (!this.initialized) { + var n = [], + e = function() { + (t.done = !0), t.resolve(); + }; + if (this.appInits) + for (var o = 0; o < this.appInits.length; o++) { + var a = this.appInits[o](); + me(a) && n.push(a); + } + Promise.all(n) + .then(function() { + e(); + }) + .catch(function(n) { + t.reject(n); + }), + 0 === n.length && e(), + (this.initialized = !0); + } + }), + t + ); + })(), + dr = new Ut("AppId"); + function pr() { + return "" + mr() + mr() + mr(); + } + function mr() { + return String.fromCharCode(97 + Math.floor(25 * Math.random())); + } + var gr = new Ut("Platform Initializer"), + fr = new Ut("Platform ID"), + hr = new Ut("appBootstrapListener"), + br = (function() { + function t() {} + return ( + (t.prototype.log = function(t) { + console.log(t); + }), + (t.prototype.warn = function(t) { + console.warn(t); + }), + t + ); + })(); + function _r() { + throw new Error("Runtime compiler is not loaded"); + } + var yr, + Cr, + vr = _r, + Or = _r, + Pr = _r, + Mr = _r, + xr = (function() { + function t() { + (this.compileModuleSync = vr), + (this.compileModuleAsync = Or), + (this.compileModuleAndAllComponentsSync = Pr), + (this.compileModuleAndAllComponentsAsync = Mr); + } + return ( + (t.prototype.clearCache = function() {}), + (t.prototype.clearCacheFor = function(t) {}), + (t.prototype.getModuleId = function(t) {}), + t + ); + })(), + kr = (function() { + return function() {}; + })(); + function wr() { + var t = Et.wtf; + return !(!t || !(yr = t.trace) || ((Cr = yr.events), 0)); + } + var Sr = wr(); + function Er(t, n) { + return null; + } + var Ir = Sr + ? function(t, n) { + return void 0 === n && (n = null), Cr.createScope(t, n); + } + : function(t, n) { + return Er; + }, + Ar = Sr + ? function(t, n) { + return yr.leaveScope(t, n), n; + } + : function(t, n) { + return n; + }, + Tr = (function() { + return Promise.resolve(0); + })(); + function Rr(t) { + "undefined" == typeof Zone + ? Tr.then(function() { + t && t.apply(null, null); + }) + : Zone.current.scheduleMicroTask("scheduleMicrotask", t); + } + var Dr = (function() { + function t(t) { + var n, + e = t.enableLongStackTrace, + o = void 0 !== e && e; + if ( + ((this.hasPendingMicrotasks = !1), + (this.hasPendingMacrotasks = !1), + (this.isStable = !0), + (this.onUnstable = new ar(!1)), + (this.onMicrotaskEmpty = new ar(!1)), + (this.onStable = new ar(!1)), + (this.onError = new ar(!1)), + "undefined" == typeof Zone) + ) + throw new Error("In this configuration Angular requires Zone.js"); + Zone.assertZonePatched(), + (this._nesting = 0), + (this._outer = this._inner = Zone.current), + Zone.wtfZoneSpec && + (this._inner = this._inner.fork(Zone.wtfZoneSpec)), + Zone.TaskTrackingZoneSpec && + (this._inner = this._inner.fork(new Zone.TaskTrackingZoneSpec())), + o && + Zone.longStackTraceZoneSpec && + (this._inner = this._inner.fork(Zone.longStackTraceZoneSpec)), + ((n = this)._inner = n._inner.fork({ + name: "angular", + properties: { isAngularZone: !0 }, + onInvokeTask: function(t, e, o, a, r, i) { + try { + return jr(n), t.invokeTask(o, a, r, i); + } finally { + Fr(n); + } + }, + onInvoke: function(t, e, o, a, r, i, l) { + try { + return jr(n), t.invoke(o, a, r, i, l); + } finally { + Fr(n); + } + }, + onHasTask: function(t, e, o, a) { + t.hasTask(o, a), + e === o && + ("microTask" == a.change + ? ((n.hasPendingMicrotasks = a.microTask), Lr(n)) + : "macroTask" == a.change && + (n.hasPendingMacrotasks = a.macroTask)); + }, + onHandleError: function(t, e, o, a) { + return ( + t.handleError(o, a), + n.runOutsideAngular(function() { + return n.onError.emit(a); + }), + !1 + ); + } + })); + } + return ( + (t.isInAngularZone = function() { + return !0 === Zone.current.get("isAngularZone"); + }), + (t.assertInAngularZone = function() { + if (!t.isInAngularZone()) + throw new Error("Expected to be in Angular Zone, but it is not!"); + }), + (t.assertNotInAngularZone = function() { + if (t.isInAngularZone()) + throw new Error("Expected to not be in Angular Zone, but it is!"); + }), + (t.prototype.run = function(t, n, e) { + return this._inner.run(t, n, e); + }), + (t.prototype.runTask = function(t, n, e, o) { + var a = this._inner, + r = a.scheduleEventTask("NgZoneEvent: " + o, t, zr, Nr, Nr); + try { + return a.runTask(r, n, e); + } finally { + a.cancelTask(r); + } + }), + (t.prototype.runGuarded = function(t, n, e) { + return this._inner.runGuarded(t, n, e); + }), + (t.prototype.runOutsideAngular = function(t) { + return this._outer.run(t); + }), + t + ); + })(); + function Nr() {} + var zr = {}; + function Lr(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(function() { + return t.onStable.emit(null); + }); + } finally { + t.isStable = !0; + } + } + } + function jr(t) { + t._nesting++, + t.isStable && ((t.isStable = !1), t.onUnstable.emit(null)); + } + function Fr(t) { + t._nesting--, Lr(t); + } + var Br, + Vr = (function() { + function t() { + (this.hasPendingMicrotasks = !1), + (this.hasPendingMacrotasks = !1), + (this.isStable = !0), + (this.onUnstable = new ar()), + (this.onMicrotaskEmpty = new ar()), + (this.onStable = new ar()), + (this.onError = new ar()); + } + return ( + (t.prototype.run = function(t) { + return t(); + }), + (t.prototype.runGuarded = function(t) { + return t(); + }), + (t.prototype.runOutsideAngular = function(t) { + return t(); + }), + (t.prototype.runTask = function(t) { + return t(); + }), + t + ); + })(), + Hr = (function() { + function t(t) { + var n = this; + (this._ngZone = t), + (this._pendingCount = 0), + (this._isZoneStable = !0), + (this._didWork = !1), + (this._callbacks = []), + (this.taskTrackingZone = null), + this._watchAngularEvents(), + t.run(function() { + n.taskTrackingZone = + "undefined" == typeof Zone + ? null + : Zone.current.get("TaskTrackingZone"); + }); + } + return ( + (t.prototype._watchAngularEvents = function() { + var t = this; + this._ngZone.onUnstable.subscribe({ + next: function() { + (t._didWork = !0), (t._isZoneStable = !1); + } + }), + this._ngZone.runOutsideAngular(function() { + t._ngZone.onStable.subscribe({ + next: function() { + Dr.assertNotInAngularZone(), + Rr(function() { + (t._isZoneStable = !0), t._runCallbacksIfReady(); + }); + } + }); + }); + }), + (t.prototype.increasePendingRequestCount = function() { + return ( + (this._pendingCount += 1), + (this._didWork = !0), + this._pendingCount + ); + }), + (t.prototype.decreasePendingRequestCount = function() { + if (((this._pendingCount -= 1), this._pendingCount < 0)) + throw new Error("pending async requests below zero"); + return this._runCallbacksIfReady(), this._pendingCount; + }), + (t.prototype.isStable = function() { + return ( + this._isZoneStable && + 0 === this._pendingCount && + !this._ngZone.hasPendingMacrotasks + ); + }), + (t.prototype._runCallbacksIfReady = function() { + var t = this; + if (this.isStable()) + Rr(function() { + for (; 0 !== t._callbacks.length; ) { + var n = t._callbacks.pop(); + clearTimeout(n.timeoutId), n.doneCb(t._didWork); + } + t._didWork = !1; + }); + else { + var n = this.getPendingTasks(); + (this._callbacks = this._callbacks.filter(function(t) { + return ( + !t.updateCb || + !t.updateCb(n) || + (clearTimeout(t.timeoutId), !1) + ); + })), + (this._didWork = !0); + } + }), + (t.prototype.getPendingTasks = function() { + return this.taskTrackingZone + ? this.taskTrackingZone.macroTasks.map(function(t) { + return { + source: t.source, + creationLocation: t.creationLocation, + data: t.data + }; + }) + : []; + }), + (t.prototype.addCallback = function(t, n, e) { + var o = this, + a = -1; + n && + n > 0 && + (a = setTimeout(function() { + (o._callbacks = o._callbacks.filter(function(t) { + return t.timeoutId !== a; + })), + t(o._didWork, o.getPendingTasks()); + }, n)), + this._callbacks.push({ doneCb: t, timeoutId: a, updateCb: e }); + }), + (t.prototype.whenStable = function(t, n, e) { + if (e && !this.taskTrackingZone) + throw new Error( + 'Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?' + ); + this.addCallback(t, n, e), this._runCallbacksIfReady(); + }), + (t.prototype.getPendingRequestCount = function() { + return this._pendingCount; + }), + (t.prototype.findProviders = function(t, n, e) { + return []; + }), + t + ); + })(), + Ur = (function() { + function t() { + (this._applications = new Map()), qr.addToWindow(this); + } + return ( + (t.prototype.registerApplication = function(t, n) { + this._applications.set(t, n); + }), + (t.prototype.unregisterApplication = function(t) { + this._applications.delete(t); + }), + (t.prototype.unregisterAllApplications = function() { + this._applications.clear(); + }), + (t.prototype.getTestability = function(t) { + return this._applications.get(t) || null; + }), + (t.prototype.getAllTestabilities = function() { + return Array.from(this._applications.values()); + }), + (t.prototype.getAllRootElements = function() { + return Array.from(this._applications.keys()); + }), + (t.prototype.findTestabilityInTree = function(t, n) { + return ( + void 0 === n && (n = !0), qr.findTestabilityInTree(this, t, n) + ); + }), + Object(o.__decorate)( + [Object(o.__metadata)("design:paramtypes", [])], + t + ) + ); + })(), + qr = new ((function() { + function t() {} + return ( + (t.prototype.addToWindow = function(t) {}), + (t.prototype.findTestabilityInTree = function(t, n, e) { + return null; + }), + t + ); + })())(), + Kr = new Ut("AllowMultipleToken"), + Yr = (function() { + return function(t, n) { + (this.name = t), (this.token = n); + }; + })(); + function Wr(t, n, e) { + void 0 === e && (e = []); + var o = "Platform: " + n, + a = new Ut(o); + return function(n) { + void 0 === n && (n = []); + var r = Gr(); + if (!r || r.injector.get(Kr, !1)) + if (t) t(e.concat(n).concat({ provide: a, useValue: !0 })); + else { + var i = e.concat(n).concat({ provide: a, useValue: !0 }); + !(function(t) { + if (Br && !Br.destroyed && !Br.injector.get(Kr, !1)) + throw new Error( + "There can be only one platform. Destroy the previous one to create a new one." + ); + Br = t.get(Zr); + var n = t.get(gr, null); + n && + n.forEach(function(t) { + return t(); + }); + })(Zt.create({ providers: i, name: o })); + } + return (function(t) { + var n = Gr(); + if (!n) throw new Error("No platform exists!"); + if (!n.injector.get(t, null)) + throw new Error( + "A platform with a different configuration has been created. Please destroy it first." + ); + return n; + })(a); + }; + } + function Gr() { + return Br && !Br.destroyed ? Br : null; + } + var Zr = (function() { + function t(t) { + (this._injector = t), + (this._modules = []), + (this._destroyListeners = []), + (this._destroyed = !1); + } + return ( + (t.prototype.bootstrapModuleFactory = function(t, n) { + var e, + o = this, + a = + "noop" === (e = n ? n.ngZone : void 0) + ? new Vr() + : ("zone.js" === e ? void 0 : e) || + new Dr({ enableLongStackTrace: Fn() }), + r = [{ provide: Dr, useValue: a }]; + return a.run(function() { + var n = Zt.create({ + providers: r, + parent: o.injector, + name: t.moduleType.name + }), + e = t.create(n), + i = e.injector.get(zn, null); + if (!i) + throw new Error( + "No ErrorHandler. Is platform module (BrowserModule) included?" + ); + return ( + e.onDestroy(function() { + return Jr(o._modules, e); + }), + a.runOutsideAngular(function() { + return a.onError.subscribe({ + next: function(t) { + i.handleError(t); + } + }); + }), + (function(t, n, a) { + try { + var r = + ((i = e.injector.get(ur)).runInitializers(), + i.donePromise.then(function() { + return o._moduleDoBootstrap(e), e; + })); + return me(r) + ? r.catch(function(e) { + throw (n.runOutsideAngular(function() { + return t.handleError(e); + }), + e); + }) + : r; + } catch (l) { + throw (n.runOutsideAngular(function() { + return t.handleError(l); + }), + l); + } + var i; + })(i, a) + ); + }); + }), + (t.prototype.bootstrapModule = function(t, n) { + var e = this; + void 0 === n && (n = []); + var o = Qr({}, n); + return (function(t, n, e) { + return t + .get(kr) + .createCompiler([n]) + .compileModuleAsync(e); + })(this.injector, o, t).then(function(t) { + return e.bootstrapModuleFactory(t, o); + }); + }), + (t.prototype._moduleDoBootstrap = function(t) { + var n = t.injector.get(Xr); + if (t._bootstrapComponents.length > 0) + t._bootstrapComponents.forEach(function(t) { + return n.bootstrap(t); + }); + else { + if (!t.instance.ngDoBootstrap) + throw new Error( + "The module " + + Pt(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(n); + } + this._modules.push(t); + }), + (t.prototype.onDestroy = function(t) { + this._destroyListeners.push(t); + }), + Object.defineProperty(t.prototype, "injector", { + get: function() { + return this._injector; + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.destroy = 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); + }), + Object.defineProperty(t.prototype, "destroyed", { + get: function() { + return this._destroyed; + }, + enumerable: !0, + configurable: !0 + }), + t + ); + })(); + function Qr(t, n) { + return Array.isArray(n) + ? n.reduce(Qr, t) + : Object(o.__assign)({}, t, n); + } + var Xr = (function() { + function t(t, n, e, o, a, r) { + var i = this; + (this._zone = t), + (this._console = n), + (this._injector = e), + (this._exceptionHandler = o), + (this._componentFactoryResolver = a), + (this._initStatus = r), + (this._bootstrapListeners = []), + (this._views = []), + (this._runningTick = !1), + (this._enforceNoNewChanges = !1), + (this._stable = !0), + (this.componentTypes = []), + (this.components = []), + (this._enforceNoNewChanges = Fn()), + this._zone.onMicrotaskEmpty.subscribe({ + next: function() { + i._zone.run(function() { + i.tick(); + }); + } + }); + var l = new O(function(t) { + (i._stable = + i._zone.isStable && + !i._zone.hasPendingMacrotasks && + !i._zone.hasPendingMicrotasks), + i._zone.runOutsideAngular(function() { + t.next(i._stable), t.complete(); + }); + }), + s = new O(function(t) { + var n; + i._zone.runOutsideAngular(function() { + n = i._zone.onStable.subscribe(function() { + Dr.assertNotInAngularZone(), + Rr(function() { + i._stable || + i._zone.hasPendingMacrotasks || + i._zone.hasPendingMicrotasks || + ((i._stable = !0), t.next(!0)); + }); + }); + }); + var e = i._zone.onUnstable.subscribe(function() { + Dr.assertInAngularZone(), + i._stable && + ((i._stable = !1), + i._zone.runOutsideAngular(function() { + t.next(!1); + })); + }); + return function() { + n.unsubscribe(), e.unsubscribe(); + }; + }); + this.isStable = $(l, s.pipe(lt())); + } + var n; + return ( + (n = t), + (t.prototype.bootstrap = function(t, n) { + var e, + o = 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." + ); + (e = + t instanceof xe + ? t + : this._componentFactoryResolver.resolveComponentFactory(t)), + this.componentTypes.push(e.componentType); + var a = e instanceof Ae ? null : this._injector.get(Te), + r = e.create(Zt.NULL, [], n || e.selector, a); + r.onDestroy(function() { + o._unloadComponent(r); + }); + var i = r.injector.get(Hr, null); + return ( + i && + r.injector + .get(Ur) + .registerApplication(r.location.nativeElement, i), + this._loadComponent(r), + Fn() && + this._console.log( + "Angular is running in the development mode. Call enableProdMode() to enable the production mode." + ), + r + ); + }), + (t.prototype.tick = function() { + var t, + e, + a, + r, + i = this; + if (this._runningTick) + throw new Error("ApplicationRef.tick is called recursively"); + var l = n._tickScope(); + try { + this._runningTick = !0; + try { + for ( + var s = Object(o.__values)(this._views), c = s.next(); + !c.done; + c = s.next() + ) + c.value.detectChanges(); + } catch (p) { + t = { error: p }; + } finally { + try { + c && !c.done && (e = s.return) && e.call(s); + } finally { + if (t) throw t.error; + } + } + if (this._enforceNoNewChanges) + try { + for ( + var u = Object(o.__values)(this._views), d = u.next(); + !d.done; + d = u.next() + ) + d.value.checkNoChanges(); + } catch (m) { + a = { error: m }; + } finally { + try { + d && !d.done && (r = u.return) && r.call(u); + } finally { + if (a) throw a.error; + } + } + } catch (g) { + this._zone.runOutsideAngular(function() { + return i._exceptionHandler.handleError(g); + }); + } finally { + (this._runningTick = !1), Ar(l); + } + }), + (t.prototype.attachView = function(t) { + var n = t; + this._views.push(n), n.attachToAppRef(this); + }), + (t.prototype.detachView = function(t) { + var n = t; + Jr(this._views, n), n.detachFromAppRef(); + }), + (t.prototype._loadComponent = function(t) { + this.attachView(t.hostView), + this.tick(), + this.components.push(t), + this._injector + .get(hr, []) + .concat(this._bootstrapListeners) + .forEach(function(n) { + return n(t); + }); + }), + (t.prototype._unloadComponent = function(t) { + this.detachView(t.hostView), Jr(this.components, t); + }), + (t.prototype.ngOnDestroy = function() { + this._views.slice().forEach(function(t) { + return t.destroy(); + }); + }), + Object.defineProperty(t.prototype, "viewCount", { + get: function() { + return this._views.length; + }, + enumerable: !0, + configurable: !0 + }), + (t._tickScope = Ir("ApplicationRef#tick()")), + t + ); + })(); + function Jr(t, n) { + var e = t.indexOf(n); + e > -1 && t.splice(e, 1); + } + var $r = (function() { + return function() {}; + })(), + ti = { factoryPathPrefix: "", factoryPathSuffix: ".ngfactory" }, + ni = (function() { + function t(t, n) { + (this._compiler = t), (this._config = n || ti); + } + return ( + (t.prototype.load = function(t) { + return this._compiler instanceof xr + ? this.loadFactory(t) + : this.loadAndCompile(t); + }), + (t.prototype.loadAndCompile = function(t) { + var n = this, + a = Object(o.__read)(t.split("#"), 2), + r = a[0], + i = a[1]; + return ( + void 0 === i && (i = "default"), + e("zn8P")(r) + .then(function(t) { + return t[i]; + }) + .then(function(t) { + return ei(t, r, i); + }) + .then(function(t) { + return n._compiler.compileModuleAsync(t); + }) + ); + }), + (t.prototype.loadFactory = function(t) { + var n = Object(o.__read)(t.split("#"), 2), + a = n[0], + r = n[1], + i = "NgFactory"; + return ( + void 0 === r && ((r = "default"), (i = "")), + e("zn8P")( + this._config.factoryPathPrefix + + a + + this._config.factoryPathSuffix + ) + .then(function(t) { + return t[r + i]; + }) + .then(function(t) { + return ei(t, a, r); + }) + ); + }), + t + ); + })(); + function ei(t, n, e) { + if (!t) throw new Error("Cannot find '" + e + "' in '" + n + "'"); + return t; + } + var oi = (function() { + return function(t, n) { + (this.name = t), (this.callback = n); + }; + })(), + ai = (function() { + function t(t, n, e) { + (this.listeners = []), + (this.parent = null), + (this._debugContext = e), + (this.nativeNode = t), + n && n instanceof ri && n.addChild(this); + } + return ( + Object.defineProperty(t.prototype, "injector", { + get: function() { + return this._debugContext.injector; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "componentInstance", { + get: function() { + return this._debugContext.component; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "context", { + get: function() { + return this._debugContext.context; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "references", { + get: function() { + return this._debugContext.references; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "providerTokens", { + get: function() { + return this._debugContext.providerTokens; + }, + enumerable: !0, + configurable: !0 + }), + t + ); + })(), + ri = (function(t) { + function n(n, e, o) { + var a = t.call(this, n, e, o) || this; + return ( + (a.properties = {}), + (a.attributes = {}), + (a.classes = {}), + (a.styles = {}), + (a.childNodes = []), + (a.nativeElement = n), + a + ); + } + return ( + Object(o.__extends)(n, t), + (n.prototype.addChild = function(t) { + t && (this.childNodes.push(t), (t.parent = this)); + }), + (n.prototype.removeChild = function(t) { + var n = this.childNodes.indexOf(t); + -1 !== n && ((t.parent = null), this.childNodes.splice(n, 1)); + }), + (n.prototype.insertChildrenAfter = function(t, n) { + var e, + a = this, + r = this.childNodes.indexOf(t); + -1 !== r && + ((e = this.childNodes).splice.apply( + e, + Object(o.__spread)([r + 1, 0], n) + ), + n.forEach(function(n) { + n.parent && n.parent.removeChild(n), (t.parent = a); + })); + }), + (n.prototype.insertBefore = function(t, n) { + var e = this.childNodes.indexOf(t); + -1 === e + ? this.addChild(n) + : (n.parent && n.parent.removeChild(n), + (n.parent = this), + this.childNodes.splice(e, 0, n)); + }), + (n.prototype.query = function(t) { + return this.queryAll(t)[0] || null; + }), + (n.prototype.queryAll = function(t) { + var n = []; + return ( + (function t(n, e, o) { + n.childNodes.forEach(function(n) { + n instanceof ri && (e(n) && o.push(n), t(n, e, o)); + }); + })(this, t, n), + n + ); + }), + (n.prototype.queryAllNodes = function(t) { + var n = []; + return ( + (function t(n, e, o) { + n instanceof ri && + n.childNodes.forEach(function(n) { + e(n) && o.push(n), n instanceof ri && t(n, e, o); + }); + })(this, t, n), + n + ); + }), + Object.defineProperty(n.prototype, "children", { + get: function() { + return this.childNodes.filter(function(t) { + return t instanceof n; + }); + }, + enumerable: !0, + configurable: !0 + }), + (n.prototype.triggerEventHandler = function(t, n) { + this.listeners.forEach(function(e) { + e.name == t && e.callback(n); + }); + }), + n + ); + })(ai), + ii = new Map(), + li = function(t) { + return ii.get(t) || null; + }; + function si(t) { + ii.set(t.nativeNode, t); + } + var ci = Wr(null, "core", [ + { provide: fr, useValue: "unknown" }, + { provide: Zr, deps: [Zt] }, + { provide: Ur, deps: [] }, + { provide: br, deps: [] } + ]), + ui = new Ut("LocaleId"); + function di() { + return ao; + } + function pi() { + return ro; + } + function mi(t) { + return t || "en-US"; + } + function gi(t) { + var n = []; + return ( + t.onStable.subscribe(function() { + for (; n.length; ) n.pop()(); + }), + function(t) { + n.push(t); + } + ); + } + var fi = (function() { + return function(t) {}; + })(); + function hi(t, n, e, o, a, r) { + t |= 1; + var i = Ho(n); + return { + nodeIndex: -1, + parent: null, + renderParent: null, + bindingIndex: -1, + outputIndex: -1, + flags: t, + checkIndex: -1, + childFlags: 0, + directChildFlags: 0, + childMatchedQueries: 0, + matchedQueries: i.matchedQueries, + matchedQueryIds: i.matchedQueryIds, + references: i.references, + ngContentIndex: e, + childCount: o, + bindings: [], + bindingFlags: 0, + outputs: [], + element: { + ns: null, + name: null, + attrs: null, + template: r ? Yo(r) : null, + componentProvider: null, + componentView: null, + componentRendererType: null, + publicProviders: null, + allProviders: null, + handleEvent: a || Oo + }, + provider: null, + text: null, + query: null, + ngContent: null + }; + } + function bi(t, n, e, a, r, i, l, s, c, u, d, p) { + var m; + void 0 === l && (l = []), u || (u = Oo); + var g = Ho(e), + f = g.matchedQueries, + h = g.references, + b = g.matchedQueryIds, + _ = null, + y = null; + i && ((_ = (m = Object(o.__read)($o(i), 2))[0]), (y = m[1])), + (s = s || []); + for (var C = new Array(s.length), v = 0; v < s.length; v++) { + var O = Object(o.__read)(s[v], 3), + P = O[0], + M = O[1], + x = O[2], + k = Object(o.__read)($o(M), 2), + w = k[0], + S = k[1], + E = void 0, + I = void 0; + switch (15 & P) { + case 4: + I = x; + break; + case 1: + case 8: + E = x; + } + C[v] = { + flags: P, + ns: w, + name: S, + nonMinifiedName: S, + securityContext: E, + suffix: I + }; + } + c = c || []; + var A = new Array(c.length); + for (v = 0; v < c.length; v++) { + var T = Object(o.__read)(c[v], 2); + A[v] = { type: 0, target: T[0], eventName: T[1], propName: null }; + } + var R = (l = l || []).map(function(t) { + var n = Object(o.__read)(t, 2), + e = n[0], + a = n[1], + r = Object(o.__read)($o(e), 2); + return [r[0], r[1], a]; + }); + return ( + (p = (function(t) { + if (t && t.id === ko) { + var n = + (null != t.encapsulation && t.encapsulation !== An.None) || + t.styles.length || + Object.keys(t.data).length; + t.id = n ? "c" + Eo++ : wo; + } + return t && t.id === wo && (t = null), t || null; + })(p)), + d && (n |= 33554432), + { + nodeIndex: -1, + parent: null, + renderParent: null, + bindingIndex: -1, + outputIndex: -1, + checkIndex: t, + flags: (n |= 1), + childFlags: 0, + directChildFlags: 0, + childMatchedQueries: 0, + matchedQueries: f, + matchedQueryIds: b, + references: h, + ngContentIndex: a, + childCount: r, + bindings: C, + bindingFlags: ta(C), + outputs: A, + element: { + ns: _, + name: y, + attrs: R, + template: null, + componentProvider: null, + componentView: d || null, + componentRendererType: p, + publicProviders: null, + allProviders: null, + handleEvent: u || Oo + }, + provider: null, + text: null, + query: null, + ngContent: null + } + ); + } + function _i(t, n, e) { + var a, + r = e.element, + i = t.root.selectorOrNode, + l = t.renderer; + if (t.parent || !i) { + a = r.name ? l.createElement(r.name, r.ns) : l.createComment(""); + var s = qo(t, n, e); + s && l.appendChild(s, a); + } else + a = l.selectRootElement( + i, + !!r.componentRendererType && + r.componentRendererType.encapsulation === An.ShadowDom + ); + if (r.attrs) + for (var c = 0; c < r.attrs.length; c++) { + var u = Object(o.__read)(r.attrs[c], 3); + l.setAttribute(a, u[1], u[2], u[0]); + } + return a; + } + function yi(t, n, e, o) { + for (var a = 0; a < e.outputs.length; a++) { + var r = e.outputs[a], + i = Ci( + t, + e.nodeIndex, + ((d = r.eventName), (u = r.target) ? u + ":" + d : d) + ), + l = r.target, + s = t; + "component" === r.target && ((l = null), (s = n)); + var c = s.renderer.listen(l || o, r.eventName, i); + t.disposables[e.outputIndex + a] = c; + } + var u, d; + } + function Ci(t, n, e) { + return function(o) { + return No(t, n, e, o); + }; + } + function vi(t, n, e, o) { + if (!Ao(t, n, e, o)) return !1; + var a = n.bindings[e], + r = bo(t, n.nodeIndex), + i = r.renderElement, + l = a.name; + switch (15 & a.flags) { + case 1: + !(function(t, n, e, o, a, r) { + var i = n.securityContext, + l = i ? t.root.sanitizer.sanitize(i, r) : r; + l = null != l ? l.toString() : null; + var s = t.renderer; + null != r + ? s.setAttribute(e, a, l, o) + : s.removeAttribute(e, a, o); + })(t, a, i, a.ns, l, o); + break; + case 2: + !(function(t, n, e, o) { + var a = t.renderer; + o ? a.addClass(n, e) : a.removeClass(n, e); + })(t, i, l, o); + break; + case 4: + !(function(t, n, e, o, a) { + var r = t.root.sanitizer.sanitize(le.STYLE, a); + if (null != r) { + r = r.toString(); + var i = n.suffix; + null != i && (r += i); + } else r = null; + var l = t.renderer; + null != r ? l.setStyle(e, o, r) : l.removeStyle(e, o); + })(t, a, i, l, o); + break; + case 8: + !(function(t, n, e, o, a) { + var r = n.securityContext, + i = r ? t.root.sanitizer.sanitize(r, a) : a; + t.renderer.setProperty(e, o, i); + })( + 33554432 & n.flags && 32 & a.flags ? r.componentView : t, + a, + i, + l, + o + ); + } + return !0; + } + function Oi(t, n, e) { + var o = []; + for (var a in e) o.push({ propName: a, bindingType: e[a] }); + return { + nodeIndex: -1, + parent: null, + renderParent: null, + bindingIndex: -1, + outputIndex: -1, + checkIndex: -1, + flags: t, + childFlags: 0, + directChildFlags: 0, + childMatchedQueries: 0, + ngContentIndex: -1, + matchedQueries: {}, + matchedQueryIds: 0, + references: {}, + childCount: 0, + bindings: [], + bindingFlags: 0, + outputs: [], + element: null, + provider: null, + text: null, + query: { id: n, filterId: Vo(n), bindings: o }, + ngContent: null + }; + } + function Pi(t) { + for (var n = t.def.nodeMatchedQueries; t.parent && Bo(t); ) { + var e = t.parentNodeDef; + t = t.parent; + for (var o = e.nodeIndex + e.childCount, a = 0; a <= o; a++) + 67108864 & (r = t.def.nodes[a]).flags && + 536870912 & r.flags && + (r.query.filterId & n) === r.query.filterId && + Co(t, a).setDirty(), + (!(1 & r.flags && a + r.childCount < e.nodeIndex) && + 67108864 & r.childFlags && + 536870912 & r.childFlags) || + (a += r.childCount); + } + if (134217728 & t.def.nodeFlags) + for (a = 0; a < t.def.nodes.length; a++) { + var r; + 134217728 & (r = t.def.nodes[a]).flags && + 536870912 & r.flags && + Co(t, a).setDirty(), + (a += r.childCount); + } + } + function Mi(t, n) { + var e = Co(t, n.nodeIndex); + if (e.dirty) { + var o, + a = void 0; + if (67108864 & n.flags) { + var r = n.parent.parent; + (a = xi(t, r.nodeIndex, r.nodeIndex + r.childCount, n.query, [])), + (o = _o(t, n.parent.nodeIndex).instance); + } else + 134217728 & n.flags && + ((a = xi(t, 0, t.def.nodes.length - 1, n.query, [])), + (o = t.component)); + e.reset(a); + for (var i = n.query.bindings, l = !1, s = 0; s < i.length; s++) { + var c = i[s], + u = void 0; + switch (c.bindingType) { + case 0: + u = e.first; + break; + case 1: + (u = e), (l = !0); + } + o[c.propName] = u; + } + l && e.notifyOnChanges(); + } + } + function xi(t, n, e, o, a) { + for (var r = n; r <= e; r++) { + var i = t.def.nodes[r], + l = i.matchedQueries[o.id]; + if ( + (null != l && a.push(ki(t, i, l)), + 1 & i.flags && + i.element.template && + (i.element.template.nodeMatchedQueries & o.filterId) === + o.filterId) + ) { + var s = bo(t, r); + if ( + ((i.childMatchedQueries & o.filterId) === o.filterId && + (xi(t, r + 1, r + i.childCount, o, a), (r += i.childCount)), + 16777216 & i.flags) + ) + for ( + var c = s.viewContainer._embeddedViews, u = 0; + u < c.length; + u++ + ) { + var d = c[u], + p = zo(d); + p && p === s && xi(d, 0, d.def.nodes.length - 1, o, a); + } + var m = s.template._projectedViews; + if (m) + for (u = 0; u < m.length; u++) { + var g = m[u]; + xi(g, 0, g.def.nodes.length - 1, o, a); + } + } + (i.childMatchedQueries & o.filterId) !== o.filterId && + (r += i.childCount); + } + return a; + } + function ki(t, n, e) { + if (null != e) + switch (e) { + case 1: + return bo(t, n.nodeIndex).renderElement; + case 0: + return new Ne(bo(t, n.nodeIndex).renderElement); + case 2: + return bo(t, n.nodeIndex).template; + case 3: + return bo(t, n.nodeIndex).viewContainer; + case 4: + return _o(t, n.nodeIndex).instance; + } + } + function wi(t, n) { + return { + nodeIndex: -1, + parent: null, + renderParent: null, + bindingIndex: -1, + outputIndex: -1, + checkIndex: -1, + flags: 8, + childFlags: 0, + directChildFlags: 0, + childMatchedQueries: 0, + matchedQueries: {}, + matchedQueryIds: 0, + references: {}, + ngContentIndex: t, + childCount: 0, + bindings: [], + bindingFlags: 0, + outputs: [], + element: null, + provider: null, + text: null, + query: null, + ngContent: { index: n } + }; + } + function Si(t, n, e) { + var o = qo(t, n, e); + o && Zo(t, e.ngContent.index, 1, o, null, void 0); + } + function Ei(t, n) { + for ( + var e = Object.keys(n), o = e.length, a = new Array(o), r = 0; + r < o; + r++ + ) { + var i = e[r]; + a[n[i]] = i; + } + return Ii(64, t, a); + } + function Ii(t, n, e) { + for (var o = new Array(e.length), a = 0; a < e.length; a++) { + var r = e[a]; + o[a] = { + flags: 8, + name: r, + ns: null, + nonMinifiedName: r, + securityContext: null, + suffix: null + }; + } + return { + nodeIndex: -1, + parent: null, + renderParent: null, + bindingIndex: -1, + outputIndex: -1, + checkIndex: n, + flags: t, + childFlags: 0, + directChildFlags: 0, + childMatchedQueries: 0, + matchedQueries: {}, + matchedQueryIds: 0, + references: {}, + ngContentIndex: -1, + childCount: 0, + bindings: o, + bindingFlags: ta(o), + outputs: [], + element: null, + provider: null, + text: null, + query: null, + ngContent: null + }; + } + function Ai(t, n, e) { + for (var o = new Array(e.length - 1), a = 1; a < e.length; a++) + o[a - 1] = { + flags: 8, + name: null, + ns: null, + nonMinifiedName: null, + securityContext: null, + suffix: e[a] + }; + return { + nodeIndex: -1, + parent: null, + renderParent: null, + bindingIndex: -1, + outputIndex: -1, + checkIndex: t, + flags: 2, + childFlags: 0, + directChildFlags: 0, + childMatchedQueries: 0, + matchedQueries: {}, + matchedQueryIds: 0, + references: {}, + ngContentIndex: n, + childCount: 0, + bindings: o, + bindingFlags: 8, + outputs: [], + element: null, + provider: null, + text: { prefix: e[0] }, + query: null, + ngContent: null + }; + } + function Ti(t, n, e) { + var o, + a = t.renderer; + o = a.createText(e.text.prefix); + var r = qo(t, n, e); + return r && a.appendChild(r, o), { renderText: o }; + } + function Ri(t, n) { + return (null != t ? t.toString() : "") + n.suffix; + } + function Di(t, n, e, o) { + for ( + var a = 0, + r = 0, + i = 0, + l = 0, + s = 0, + c = null, + u = null, + d = !1, + p = !1, + m = null, + g = 0; + g < n.length; + g++ + ) { + var f = n[g]; + if ( + ((f.nodeIndex = g), + (f.parent = c), + (f.bindingIndex = a), + (f.outputIndex = r), + (f.renderParent = u), + (i |= f.flags), + (s |= f.matchedQueryIds), + f.element) + ) { + var h = f.element; + (h.publicProviders = c + ? c.element.publicProviders + : Object.create(null)), + (h.allProviders = h.publicProviders), + (d = !1), + (p = !1), + f.element.template && + (s |= f.element.template.nodeMatchedQueries); + } + if ( + (zi(c, f, n.length), + (a += f.bindings.length), + (r += f.outputs.length), + !u && 3 & f.flags && (m = f), + 20224 & f.flags) + ) { + d || + ((d = !0), + (c.element.publicProviders = Object.create( + c.element.publicProviders + )), + (c.element.allProviders = c.element.publicProviders)); + var b = 0 != (32768 & f.flags); + 0 == (8192 & f.flags) || b + ? (c.element.publicProviders[Mo(f.provider.token)] = f) + : (p || + ((p = !0), + (c.element.allProviders = Object.create( + c.element.publicProviders + ))), + (c.element.allProviders[Mo(f.provider.token)] = f)), + b && (c.element.componentProvider = f); + } + if ( + (c + ? ((c.childFlags |= f.flags), + (c.directChildFlags |= f.flags), + (c.childMatchedQueries |= f.matchedQueryIds), + f.element && + f.element.template && + (c.childMatchedQueries |= + f.element.template.nodeMatchedQueries)) + : (l |= f.flags), + f.childCount > 0) + ) + (c = f), Ni(f) || (u = f); + else + for (; c && g === c.nodeIndex + c.childCount; ) { + var _ = c.parent; + _ && + ((_.childFlags |= c.childFlags), + (_.childMatchedQueries |= c.childMatchedQueries)), + (u = (c = _) && Ni(c) ? c.renderParent : c); + } + } + return { + factory: null, + nodeFlags: i, + rootNodeFlags: l, + nodeMatchedQueries: s, + flags: t, + nodes: n, + updateDirectives: e || Oo, + updateRenderer: o || Oo, + handleEvent: function(t, e, o, a) { + return n[e].element.handleEvent(t, o, a); + }, + bindingCount: a, + outputCount: r, + lastRenderRootNode: m + }; + } + function Ni(t) { + return 0 != (1 & t.flags) && null === t.element.name; + } + function zi(t, n, e) { + var o = n.element && n.element.template; + if (o) { + if (!o.lastRenderRootNode) + throw new Error( + "Illegal State: Embedded templates without nodes are not allowed!" + ); + if (o.lastRenderRootNode && 16777216 & o.lastRenderRootNode.flags) + throw new Error( + "Illegal State: Last root node of a template can't have embedded views, at index " + + n.nodeIndex + + "!" + ); + } + if (20224 & n.flags && 0 == (1 & (t ? t.flags : 0))) + throw new Error( + "Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index " + + n.nodeIndex + + "!" + ); + if (n.query) { + if (67108864 & n.flags && (!t || 0 == (16384 & t.flags))) + throw new Error( + "Illegal State: Content Query nodes need to be children of directives, at index " + + n.nodeIndex + + "!" + ); + if (134217728 & n.flags && t) + throw new Error( + "Illegal State: View Query nodes have to be top level nodes, at index " + + n.nodeIndex + + "!" + ); + } + if (n.childCount) { + var a = t ? t.nodeIndex + t.childCount : e - 1; + if (n.nodeIndex <= a && n.nodeIndex + n.childCount > a) + throw new Error( + "Illegal State: childCount of node leads outside of parent, at index " + + n.nodeIndex + + "!" + ); + } + } + function Li(t, n, e, o) { + var a = Bi(t.root, t.renderer, t, n, e); + return Vi(a, t.component, o), Hi(a), a; + } + function ji(t, n, e) { + var o = Bi(t, t.renderer, null, null, n); + return Vi(o, e, e), Hi(o), o; + } + function Fi(t, n, e, o) { + var a, + r = n.element.componentRendererType; + return ( + (a = r + ? t.root.rendererFactory.createRenderer(o, r) + : t.root.renderer), + Bi(t.root, a, t, n.element.componentProvider, e) + ); + } + function Bi(t, n, e, o, a) { + var r = new Array(a.nodes.length), + i = a.outputCount ? new Array(a.outputCount) : null; + return { + def: a, + parent: e, + viewContainerParent: null, + parentNodeDef: o, + context: null, + component: null, + nodes: r, + state: 13, + root: t, + renderer: n, + oldValues: new Array(a.bindingCount), + disposables: i, + initIndex: -1 + }; + } + function Vi(t, n, e) { + (t.component = n), (t.context = e); + } + function Hi(t) { + var n; + Fo(t) && + (n = bo(t.parent, t.parentNodeDef.parent.nodeIndex).renderElement); + for (var e = t.def, o = t.nodes, a = 0; a < e.nodes.length; a++) { + var r = e.nodes[a]; + vo.setCurrentNode(t, a); + var i = void 0; + switch (201347067 & r.flags) { + case 1: + var l = _i(t, n, r), + s = void 0; + if (33554432 & r.flags) { + var c = Yo(r.element.componentView); + s = vo.createComponentView(t, r, c, l); + } + yi(t, s, r, l), + (i = { + renderElement: l, + componentView: s, + viewContainer: null, + template: r.element.template ? Pa(t, r) : void 0 + }), + 16777216 & r.flags && (i.viewContainer = ya(t, r, i)); + break; + case 2: + i = Ti(t, n, r); + break; + case 512: + case 1024: + case 2048: + case 256: + (i = o[a]) || 4096 & r.flags || (i = { instance: qa(t, r) }); + break; + case 16: + i = { instance: Ka(t, r) }; + break; + case 16384: + (i = o[a]) || (i = { instance: Ya(t, r) }), + 32768 & r.flags && + Vi( + bo(t, r.parent.nodeIndex).componentView, + i.instance, + i.instance + ); + break; + case 32: + case 64: + case 128: + i = { value: void 0 }; + break; + case 67108864: + case 134217728: + i = new rr(); + break; + case 8: + Si(t, n, r), (i = void 0); + } + o[a] = i; + } + Xi(t, Qi.CreateViewNodes), nl(t, 201326592, 268435456, 0); + } + function Ui(t) { + Yi(t), + vo.updateDirectives(t, 1), + Ji(t, Qi.CheckNoChanges), + vo.updateRenderer(t, 1), + Xi(t, Qi.CheckNoChanges), + (t.state &= -97); + } + function qi(t) { + 1 & t.state ? ((t.state &= -2), (t.state |= 2)) : (t.state &= -3), + go(t, 0, 256), + Yi(t), + vo.updateDirectives(t, 0), + Ji(t, Qi.CheckAndUpdate), + nl(t, 67108864, 536870912, 0); + var n = go(t, 256, 512); + tr(t, 2097152 | (n ? 1048576 : 0)), + vo.updateRenderer(t, 0), + Xi(t, Qi.CheckAndUpdate), + nl(t, 134217728, 536870912, 0), + tr(t, 8388608 | ((n = go(t, 512, 768)) ? 4194304 : 0)), + 2 & t.def.flags && (t.state &= -9), + (t.state &= -97), + go(t, 768, 1024); + } + function Ki(t, n, e, a, r, i, l, s, c, u, d, p, m) { + return 0 === e + ? (function(t, n, e, o, a, r, i, l, s, c, u, d) { + switch (201347067 & n.flags) { + case 1: + return (function(t, n, e, o, a, r, i, l, s, c, u, d) { + var p = n.bindings.length, + m = !1; + return ( + p > 0 && vi(t, n, 0, e) && (m = !0), + p > 1 && vi(t, n, 1, o) && (m = !0), + p > 2 && vi(t, n, 2, a) && (m = !0), + p > 3 && vi(t, n, 3, r) && (m = !0), + p > 4 && vi(t, n, 4, i) && (m = !0), + p > 5 && vi(t, n, 5, l) && (m = !0), + p > 6 && vi(t, n, 6, s) && (m = !0), + p > 7 && vi(t, n, 7, c) && (m = !0), + p > 8 && vi(t, n, 8, u) && (m = !0), + p > 9 && vi(t, n, 9, d) && (m = !0), + m + ); + })(t, n, e, o, a, r, i, l, s, c, u, d); + case 2: + return (function(t, n, e, o, a, r, i, l, s, c, u, d) { + var p = !1, + m = n.bindings, + g = m.length; + if ( + (g > 0 && Ao(t, n, 0, e) && (p = !0), + g > 1 && Ao(t, n, 1, o) && (p = !0), + g > 2 && Ao(t, n, 2, a) && (p = !0), + g > 3 && Ao(t, n, 3, r) && (p = !0), + g > 4 && Ao(t, n, 4, i) && (p = !0), + g > 5 && Ao(t, n, 5, l) && (p = !0), + g > 6 && Ao(t, n, 6, s) && (p = !0), + g > 7 && Ao(t, n, 7, c) && (p = !0), + g > 8 && Ao(t, n, 8, u) && (p = !0), + g > 9 && Ao(t, n, 9, d) && (p = !0), + p) + ) { + var f = n.text.prefix; + g > 0 && (f += Ri(e, m[0])), + g > 1 && (f += Ri(o, m[1])), + g > 2 && (f += Ri(a, m[2])), + g > 3 && (f += Ri(r, m[3])), + g > 4 && (f += Ri(i, m[4])), + g > 5 && (f += Ri(l, m[5])), + g > 6 && (f += Ri(s, m[6])), + g > 7 && (f += Ri(c, m[7])), + g > 8 && (f += Ri(u, m[8])), + g > 9 && (f += Ri(d, m[9])); + var h = ho(t, n.nodeIndex).renderText; + t.renderer.setValue(h, f); + } + return p; + })(t, n, e, o, a, r, i, l, s, c, u, d); + case 16384: + return (function(t, n, e, o, a, r, i, l, s, c, u, d) { + var p = _o(t, n.nodeIndex), + m = p.instance, + g = !1, + f = void 0, + h = n.bindings.length; + return ( + h > 0 && + Io(t, n, 0, e) && + ((g = !0), (f = $a(t, p, n, 0, e, f))), + h > 1 && + Io(t, n, 1, o) && + ((g = !0), (f = $a(t, p, n, 1, o, f))), + h > 2 && + Io(t, n, 2, a) && + ((g = !0), (f = $a(t, p, n, 2, a, f))), + h > 3 && + Io(t, n, 3, r) && + ((g = !0), (f = $a(t, p, n, 3, r, f))), + h > 4 && + Io(t, n, 4, i) && + ((g = !0), (f = $a(t, p, n, 4, i, f))), + h > 5 && + Io(t, n, 5, l) && + ((g = !0), (f = $a(t, p, n, 5, l, f))), + h > 6 && + Io(t, n, 6, s) && + ((g = !0), (f = $a(t, p, n, 6, s, f))), + h > 7 && + Io(t, n, 7, c) && + ((g = !0), (f = $a(t, p, n, 7, c, f))), + h > 8 && + Io(t, n, 8, u) && + ((g = !0), (f = $a(t, p, n, 8, u, f))), + h > 9 && + Io(t, n, 9, d) && + ((g = !0), (f = $a(t, p, n, 9, d, f))), + f && m.ngOnChanges(f), + 65536 & n.flags && + fo(t, 256, n.nodeIndex) && + m.ngOnInit(), + 262144 & n.flags && m.ngDoCheck(), + g + ); + })(t, n, e, o, a, r, i, l, s, c, u, d); + case 32: + case 64: + case 128: + return (function(t, n, e, o, a, r, i, l, s, c, u, d) { + var p = n.bindings, + m = !1, + g = p.length; + if ( + (g > 0 && Ao(t, n, 0, e) && (m = !0), + g > 1 && Ao(t, n, 1, o) && (m = !0), + g > 2 && Ao(t, n, 2, a) && (m = !0), + g > 3 && Ao(t, n, 3, r) && (m = !0), + g > 4 && Ao(t, n, 4, i) && (m = !0), + g > 5 && Ao(t, n, 5, l) && (m = !0), + g > 6 && Ao(t, n, 6, s) && (m = !0), + g > 7 && Ao(t, n, 7, c) && (m = !0), + g > 8 && Ao(t, n, 8, u) && (m = !0), + g > 9 && Ao(t, n, 9, d) && (m = !0), + m) + ) { + var f = yo(t, n.nodeIndex), + h = void 0; + switch (201347067 & n.flags) { + case 32: + (h = new Array(p.length)), + g > 0 && (h[0] = e), + g > 1 && (h[1] = o), + g > 2 && (h[2] = a), + g > 3 && (h[3] = r), + g > 4 && (h[4] = i), + g > 5 && (h[5] = l), + g > 6 && (h[6] = s), + g > 7 && (h[7] = c), + g > 8 && (h[8] = u), + g > 9 && (h[9] = d); + break; + case 64: + (h = {}), + g > 0 && (h[p[0].name] = e), + g > 1 && (h[p[1].name] = o), + g > 2 && (h[p[2].name] = a), + g > 3 && (h[p[3].name] = r), + g > 4 && (h[p[4].name] = i), + g > 5 && (h[p[5].name] = l), + g > 6 && (h[p[6].name] = s), + g > 7 && (h[p[7].name] = c), + g > 8 && (h[p[8].name] = u), + g > 9 && (h[p[9].name] = d); + break; + case 128: + var b = e; + switch (g) { + case 1: + h = b.transform(e); + break; + case 2: + h = b.transform(o); + break; + case 3: + h = b.transform(o, a); + break; + case 4: + h = b.transform(o, a, r); + break; + case 5: + h = b.transform(o, a, r, i); + break; + case 6: + h = b.transform(o, a, r, i, l); + break; + case 7: + h = b.transform(o, a, r, i, l, s); + break; + case 8: + h = b.transform(o, a, r, i, l, s, c); + break; + case 9: + h = b.transform(o, a, r, i, l, s, c, u); + break; + case 10: + h = b.transform(o, a, r, i, l, s, c, u, d); + } + } + f.value = h; + } + return m; + })(t, n, e, o, a, r, i, l, s, c, u, d); + default: + throw "unreachable"; + } + })(t, n, a, r, i, l, s, c, u, d, p, m) + : (function(t, n, e) { + switch (201347067 & n.flags) { + case 1: + return (function(t, n, e) { + for (var o = !1, a = 0; a < e.length; a++) + vi(t, n, a, e[a]) && (o = !0); + return o; + })(t, n, e); + case 2: + return (function(t, n, e) { + for (var o = n.bindings, a = !1, r = 0; r < e.length; r++) + Ao(t, n, r, e[r]) && (a = !0); + if (a) { + var i = ""; + for (r = 0; r < e.length; r++) i += Ri(e[r], o[r]); + i = n.text.prefix + i; + var l = ho(t, n.nodeIndex).renderText; + t.renderer.setValue(l, i); + } + return a; + })(t, n, e); + case 16384: + return (function(t, n, e) { + for ( + var o = _o(t, n.nodeIndex), + a = o.instance, + r = !1, + i = void 0, + l = 0; + l < e.length; + l++ + ) + Io(t, n, l, e[l]) && + ((r = !0), (i = $a(t, o, n, l, e[l], i))); + return ( + i && a.ngOnChanges(i), + 65536 & n.flags && + fo(t, 256, n.nodeIndex) && + a.ngOnInit(), + 262144 & n.flags && a.ngDoCheck(), + r + ); + })(t, n, e); + case 32: + case 64: + case 128: + return (function(t, n, e) { + for (var a = n.bindings, r = !1, i = 0; i < e.length; i++) + Ao(t, n, i, e[i]) && (r = !0); + if (r) { + var l = yo(t, n.nodeIndex), + s = void 0; + switch (201347067 & n.flags) { + case 32: + s = e; + break; + case 64: + for (s = {}, i = 0; i < e.length; i++) + s[a[i].name] = e[i]; + break; + case 128: + var c = e[0], + u = e.slice(1); + s = c.transform.apply(c, Object(o.__spread)(u)); + } + l.value = s; + } + return r; + })(t, n, e); + default: + throw "unreachable"; + } + })(t, n, a); + } + function Yi(t) { + var n = t.def; + if (4 & n.nodeFlags) + for (var e = 0; e < n.nodes.length; e++) { + var o = n.nodes[e]; + if (4 & o.flags) { + var a = bo(t, e).template._projectedViews; + if (a) + for (var r = 0; r < a.length; r++) { + var i = a[r]; + (i.state |= 32), Do(i, t); + } + } else 0 == (4 & o.childFlags) && (e += o.childCount); + } + } + function Wi(t, n, e, o, a, r, i, l, s, c, u, d, p) { + return ( + 0 === e + ? (function(t, n, e, o, a, r, i, l, s, c, u, d) { + var p = n.bindings.length; + p > 0 && To(t, n, 0, e), + p > 1 && To(t, n, 1, o), + p > 2 && To(t, n, 2, a), + p > 3 && To(t, n, 3, r), + p > 4 && To(t, n, 4, i), + p > 5 && To(t, n, 5, l), + p > 6 && To(t, n, 6, s), + p > 7 && To(t, n, 7, c), + p > 8 && To(t, n, 8, u), + p > 9 && To(t, n, 9, d); + })(t, n, o, a, r, i, l, s, c, u, d, p) + : (function(t, n, e) { + for (var o = 0; o < e.length; o++) To(t, n, o, e[o]); + })(t, n, o), + !1 + ); + } + function Gi(t, n) { + if (Co(t, n.nodeIndex).dirty) + throw uo( + vo.createDebugContext(t, n.nodeIndex), + "Query " + n.query.id + " not dirty", + "Query " + n.query.id + " dirty", + 0 != (1 & t.state) + ); + } + function Zi(t) { + if (!(128 & t.state)) { + if ( + (Ji(t, Qi.Destroy), Xi(t, Qi.Destroy), tr(t, 131072), t.disposables) + ) + for (var n = 0; n < t.disposables.length; n++) t.disposables[n](); + !(function(t) { + if (16 & t.state) { + var n = zo(t); + if (n) { + var e = n.template._projectedViews; + e && (ga(e, e.indexOf(t)), vo.dirtyParentQueries(t)); + } + } + })(t), + t.renderer.destroyNode && + (function(t) { + for (var n = t.def.nodes.length, e = 0; e < n; e++) { + var o = t.def.nodes[e]; + 1 & o.flags + ? t.renderer.destroyNode(bo(t, e).renderElement) + : 2 & o.flags + ? t.renderer.destroyNode(ho(t, e).renderText) + : (67108864 & o.flags || 134217728 & o.flags) && + Co(t, e).destroy(); + } + })(t), + Fo(t) && t.renderer.destroy(), + (t.state |= 128); + } + } + var Qi = (function(t) { + return ( + (t[(t.CreateViewNodes = 0)] = "CreateViewNodes"), + (t[(t.CheckNoChanges = 1)] = "CheckNoChanges"), + (t[(t.CheckNoChangesProjectedViews = 2)] = + "CheckNoChangesProjectedViews"), + (t[(t.CheckAndUpdate = 3)] = "CheckAndUpdate"), + (t[(t.CheckAndUpdateProjectedViews = 4)] = + "CheckAndUpdateProjectedViews"), + (t[(t.Destroy = 5)] = "Destroy"), + t + ); + })({}); + function Xi(t, n) { + var e = t.def; + if (33554432 & e.nodeFlags) + for (var o = 0; o < e.nodes.length; o++) { + var a = e.nodes[o]; + 33554432 & a.flags + ? $i(bo(t, o).componentView, n) + : 0 == (33554432 & a.childFlags) && (o += a.childCount); + } + } + function Ji(t, n) { + var e = t.def; + if (16777216 & e.nodeFlags) + for (var o = 0; o < e.nodes.length; o++) { + var a = e.nodes[o]; + if (16777216 & a.flags) + for ( + var r = bo(t, o).viewContainer._embeddedViews, i = 0; + i < r.length; + i++ + ) + $i(r[i], n); + else 0 == (16777216 & a.childFlags) && (o += a.childCount); + } + } + function $i(t, n) { + var e = t.state; + switch (n) { + case Qi.CheckNoChanges: + 0 == (128 & e) && + (12 == (12 & e) + ? Ui(t) + : 64 & e && tl(t, Qi.CheckNoChangesProjectedViews)); + break; + case Qi.CheckNoChangesProjectedViews: + 0 == (128 & e) && (32 & e ? Ui(t) : 64 & e && tl(t, n)); + break; + case Qi.CheckAndUpdate: + 0 == (128 & e) && + (12 == (12 & e) + ? qi(t) + : 64 & e && tl(t, Qi.CheckAndUpdateProjectedViews)); + break; + case Qi.CheckAndUpdateProjectedViews: + 0 == (128 & e) && (32 & e ? qi(t) : 64 & e && tl(t, n)); + break; + case Qi.Destroy: + Zi(t); + break; + case Qi.CreateViewNodes: + Hi(t); + } + } + function tl(t, n) { + Ji(t, n), Xi(t, n); + } + function nl(t, n, e, o) { + if (t.def.nodeFlags & n && t.def.nodeFlags & e) + for (var a = t.def.nodes.length, r = 0; r < a; r++) { + var i = t.def.nodes[r]; + if (i.flags & n && i.flags & e) + switch ((vo.setCurrentNode(t, i.nodeIndex), o)) { + case 0: + Mi(t, i); + break; + case 1: + Gi(t, i); + } + (i.childFlags & n && i.childFlags & e) || (r += i.childCount); + } + } + var el = !1; + function ol(t, n, e, o, a, r) { + var i = a.injector.get(je); + return ji(rl(t, a, i, n, e), o, r); + } + function al(t, n, e, o, a, r) { + var i = a.injector.get(je), + l = rl(t, a, new Ll(i), n, e), + s = fl(o); + return Nl(Ml.create, ji, null, [l, s, r]); + } + function rl(t, n, e, o, a) { + var r = n.injector.get(se), + i = n.injector.get(zn), + l = e.createRenderer(null, null); + return { + ngModule: n, + injector: t, + projectableNodes: o, + selectorOrNode: a, + sanitizer: r, + rendererFactory: e, + renderer: l, + errorHandler: i + }; + } + function il(t, n, e, o) { + var a = fl(e); + return Nl(Ml.create, Li, null, [t, n, a, o]); + } + function ll(t, n, e, o) { + return ( + (e = dl.get(n.element.componentProvider.provider.token) || fl(e)), + Nl(Ml.create, Fi, null, [t, n, e, o]) + ); + } + function sl(t, n, e, o) { + return Ia( + t, + n, + e, + (function(t) { + var n = (function(t) { + var n = !1, + e = !1; + return 0 === cl.size + ? { hasOverrides: n, hasDeprecatedOverrides: e } + : (t.providers.forEach(function(t) { + var o = cl.get(t.token); + 3840 & t.flags && + o && + ((n = !0), (e = e || o.deprecatedBehavior)); + }), + t.modules.forEach(function(t) { + ul.forEach(function(o, a) { + vt(a).providedIn === t && + ((n = !0), (e = e || o.deprecatedBehavior)); + }); + }), + { hasOverrides: n, hasDeprecatedOverrides: e }); + })(t), + e = n.hasDeprecatedOverrides; + return n.hasOverrides + ? ((function(t) { + for (var n = 0; n < t.providers.length; n++) { + var o = t.providers[n]; + e && (o.flags |= 4096); + var a = cl.get(o.token); + a && + ((o.flags = (-3841 & o.flags) | a.flags), + (o.deps = Uo(a.deps)), + (o.value = a.value)); + } + if (ul.size > 0) { + var r = new Set(t.modules); + ul.forEach(function(n, o) { + if (r.has(vt(o).providedIn)) { + var a = { + token: o, + flags: n.flags | (e ? 4096 : 0), + deps: Uo(n.deps), + value: n.value, + index: t.providers.length + }; + t.providers.push(a), (t.providersByKey[Mo(o)] = a); + } + }); + } + })( + (t = t.factory(function() { + return Oo; + })) + ), + t) + : t; + })(o) + ); + } + var cl = new Map(), + ul = new Map(), + dl = new Map(); + function pl(t) { + var n; + cl.set(t.token, t), + "function" == typeof t.token && + (n = vt(t.token)) && + "function" == typeof n.providedIn && + ul.set(t.token, t); + } + function ml(t, n) { + var e = Yo(n.viewDefFactory), + o = Yo(e.nodes[0].element.componentView); + dl.set(t, o); + } + function gl() { + cl.clear(), ul.clear(), dl.clear(); + } + function fl(t) { + if (0 === cl.size) return t; + var n = (function(t) { + for (var n = [], e = null, o = 0; o < t.nodes.length; o++) { + var a = t.nodes[o]; + 1 & a.flags && (e = a), + e && + 3840 & a.flags && + cl.has(a.provider.token) && + (n.push(e.nodeIndex), (e = null)); + } + return n; + })(t); + if (0 === n.length) return t; + t = t.factory(function() { + return Oo; + }); + for (var e = 0; e < n.length; e++) o(t, n[e]); + return t; + function o(t, n) { + for (var e = n + 1; e < t.nodes.length; e++) { + var o = t.nodes[e]; + if (1 & o.flags) return; + if (3840 & o.flags) { + var a = o.provider, + r = cl.get(a.token); + r && + ((o.flags = (-3841 & o.flags) | r.flags), + (a.deps = Uo(r.deps)), + (a.value = r.value)); + } + } + } + } + function hl(t, n, e, o, a, r, i, l, s, c, u, d, p) { + var m = t.def.nodes[n]; + return ( + Ki(t, m, e, o, a, r, i, l, s, c, u, d, p), + 224 & m.flags ? yo(t, n).value : void 0 + ); + } + function bl(t, n, e, o, a, r, i, l, s, c, u, d, p) { + var m = t.def.nodes[n]; + return ( + Wi(t, m, e, o, a, r, i, l, s, c, u, d, p), + 224 & m.flags ? yo(t, n).value : void 0 + ); + } + function _l(t) { + return Nl(Ml.detectChanges, qi, null, [t]); + } + function yl(t) { + return Nl(Ml.checkNoChanges, Ui, null, [t]); + } + function Cl(t) { + return Nl(Ml.destroy, Zi, null, [t]); + } + var vl, + Ol, + Pl, + Ml = (function(t) { + return ( + (t[(t.create = 0)] = "create"), + (t[(t.detectChanges = 1)] = "detectChanges"), + (t[(t.checkNoChanges = 2)] = "checkNoChanges"), + (t[(t.destroy = 3)] = "destroy"), + (t[(t.handleEvent = 4)] = "handleEvent"), + t + ); + })({}); + function xl(t, n) { + (Ol = t), (Pl = n); + } + function kl(t, n, e, o) { + return ( + xl(t, n), Nl(Ml.handleEvent, t.def.handleEvent, null, [t, n, e, o]) + ); + } + function wl(t, n) { + if (128 & t.state) throw mo(Ml[vl]); + return ( + xl(t, Al(t, 0)), + t.def.updateDirectives(function(t, e, o) { + for (var a = [], r = 3; r < arguments.length; r++) + a[r - 3] = arguments[r]; + var i = t.def.nodes[e]; + return ( + 0 === n ? El(t, i, o, a) : Il(t, i, o, a), + 16384 & i.flags && xl(t, Al(t, e)), + 224 & i.flags ? yo(t, i.nodeIndex).value : void 0 + ); + }, t) + ); + } + function Sl(t, n) { + if (128 & t.state) throw mo(Ml[vl]); + return ( + xl(t, Tl(t, 0)), + t.def.updateRenderer(function(t, e, o) { + for (var a = [], r = 3; r < arguments.length; r++) + a[r - 3] = arguments[r]; + var i = t.def.nodes[e]; + return ( + 0 === n ? El(t, i, o, a) : Il(t, i, o, a), + 3 & i.flags && xl(t, Tl(t, e)), + 224 & i.flags ? yo(t, i.nodeIndex).value : void 0 + ); + }, t) + ); + } + function El(t, n, e, a) { + if (Ki.apply(void 0, Object(o.__spread)([t, n, e], a))) { + var r = 1 === e ? a[0] : a; + if (16384 & n.flags) { + for (var i = {}, l = 0; l < n.bindings.length; l++) { + var s = n.bindings[l], + c = r[l]; + 8 & s.flags && + (i[ + ((m = s.nonMinifiedName), + "ng-reflect-" + + m.replace(/[$@]/g, "_").replace(de, function() { + for (var t = [], n = 0; n < arguments.length; n++) + t[n] = arguments[n]; + return "-" + t[1].toLowerCase(); + })) + ] = pe(c)); + } + var u = n.parent, + d = bo(t, u.nodeIndex).renderElement; + if (u.element.name) + for (var p in i) + null != (c = i[p]) + ? t.renderer.setAttribute(d, p, c) + : t.renderer.removeAttribute(d, p); + else + t.renderer.setValue(d, "bindings=" + JSON.stringify(i, null, 2)); + } + } + var m; + } + function Il(t, n, e, a) { + Wi.apply(void 0, Object(o.__spread)([t, n, e], a)); + } + function Al(t, n) { + for (var e = n; e < t.def.nodes.length; e++) { + var o = t.def.nodes[e]; + if (16384 & o.flags && o.bindings && o.bindings.length) return e; + } + return null; + } + function Tl(t, n) { + for (var e = n; e < t.def.nodes.length; e++) { + var o = t.def.nodes[e]; + if (3 & o.flags && o.bindings && o.bindings.length) return e; + } + return null; + } + var Rl = (function() { + function t(t, n) { + (this.view = t), + (this.nodeIndex = n), + null == n && (this.nodeIndex = n = 0), + (this.nodeDef = t.def.nodes[n]); + for (var e = this.nodeDef, o = t; e && 0 == (1 & e.flags); ) + e = e.parent; + if (!e) for (; !e && o; ) (e = Lo(o)), (o = o.parent); + (this.elDef = e), (this.elView = o); + } + return ( + Object.defineProperty(t.prototype, "elOrCompView", { + get: function() { + return ( + bo(this.elView, this.elDef.nodeIndex).componentView || this.view + ); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "injector", { + get: function() { + return xa(this.elView, this.elDef); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "component", { + get: function() { + return this.elOrCompView.component; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "context", { + get: function() { + return this.elOrCompView.context; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "providerTokens", { + get: function() { + var t = []; + if (this.elDef) + for ( + var n = this.elDef.nodeIndex + 1; + n <= this.elDef.nodeIndex + this.elDef.childCount; + n++ + ) { + var e = this.elView.def.nodes[n]; + 20224 & e.flags && t.push(e.provider.token), + (n += e.childCount); + } + return t; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "references", { + get: function() { + var t = {}; + if (this.elDef) { + Dl(this.elView, this.elDef, t); + for ( + var n = this.elDef.nodeIndex + 1; + n <= this.elDef.nodeIndex + this.elDef.childCount; + n++ + ) { + var e = this.elView.def.nodes[n]; + 20224 & e.flags && Dl(this.elView, e, t), (n += e.childCount); + } + } + return t; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "componentRenderElement", { + get: function() { + var t = (function(t) { + for (; t && !Fo(t); ) t = t.parent; + return t.parent ? bo(t.parent, Lo(t).nodeIndex) : null; + })(this.elOrCompView); + return t ? t.renderElement : void 0; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "renderNode", { + get: function() { + return 2 & this.nodeDef.flags + ? jo(this.view, this.nodeDef) + : jo(this.elView, this.elDef); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.logError = function(t) { + for (var n, e, a = [], r = 1; r < arguments.length; r++) + a[r - 1] = arguments[r]; + 2 & this.nodeDef.flags + ? ((n = this.view.def), (e = this.nodeDef.nodeIndex)) + : ((n = this.elView.def), (e = this.elDef.nodeIndex)); + var i = (function(t, n) { + for (var e = -1, o = 0; o <= n; o++) + 3 & t.nodes[o].flags && e++; + return e; + })(n, e), + l = -1; + n.factory(function() { + var n; + return ++l === i + ? (n = t.error).bind.apply(n, Object(o.__spread)([t], a)) + : Oo; + }), + l < i && + (t.error( + "Illegal state: the ViewDefinitionFactory did not call the logger!" + ), + t.error.apply(t, Object(o.__spread)(a))); + }), + t + ); + })(); + function Dl(t, n, e) { + for (var o in n.references) e[o] = ki(t, n, n.references[o]); + } + function Nl(t, n, e, o) { + var a = vl, + r = Ol, + i = Pl; + try { + vl = t; + var l = n.apply(e, o); + return (Ol = r), (Pl = i), (vl = a), l; + } catch (s) { + if (Rn(s) || !Ol) throw s; + throw (function(t, n) { + return ( + t instanceof Error || (t = new Error(t.toString())), po(t, n), t + ); + })(s, zl()); + } + } + function zl() { + return Ol ? new Rl(Ol, Pl) : null; + } + var Ll = (function() { + function t(t) { + this.delegate = t; + } + return ( + (t.prototype.createRenderer = function(t, n) { + return new jl(this.delegate.createRenderer(t, n)); + }), + (t.prototype.begin = function() { + this.delegate.begin && this.delegate.begin(); + }), + (t.prototype.end = function() { + this.delegate.end && this.delegate.end(); + }), + (t.prototype.whenRenderingDone = function() { + return this.delegate.whenRenderingDone + ? this.delegate.whenRenderingDone() + : Promise.resolve(null); + }), + t + ); + })(), + jl = (function() { + function t(t) { + (this.delegate = t), + (this.debugContextFactory = zl), + (this.data = this.delegate.data); + } + return ( + (t.prototype.createDebugContext = function(t) { + return this.debugContextFactory(t); + }), + (t.prototype.destroyNode = function(t) { + !(function(t) { + ii.delete(t.nativeNode); + })(li(t)), + this.delegate.destroyNode && this.delegate.destroyNode(t); + }), + (t.prototype.destroy = function() { + this.delegate.destroy(); + }), + (t.prototype.createElement = function(t, n) { + var e = this.delegate.createElement(t, n), + o = this.createDebugContext(e); + if (o) { + var a = new ri(e, null, o); + (a.name = t), si(a); + } + return e; + }), + (t.prototype.createComment = function(t) { + var n = this.delegate.createComment(t), + e = this.createDebugContext(n); + return e && si(new ai(n, null, e)), n; + }), + (t.prototype.createText = function(t) { + var n = this.delegate.createText(t), + e = this.createDebugContext(n); + return e && si(new ai(n, null, e)), n; + }), + (t.prototype.appendChild = function(t, n) { + var e = li(t), + o = li(n); + e && o && e instanceof ri && e.addChild(o), + this.delegate.appendChild(t, n); + }), + (t.prototype.insertBefore = function(t, n, e) { + var o = li(t), + a = li(n), + r = li(e); + o && a && o instanceof ri && o.insertBefore(r, a), + this.delegate.insertBefore(t, n, e); + }), + (t.prototype.removeChild = function(t, n) { + var e = li(t), + o = li(n); + e && o && e instanceof ri && e.removeChild(o), + this.delegate.removeChild(t, n); + }), + (t.prototype.selectRootElement = function(t, n) { + var e = this.delegate.selectRootElement(t, n), + o = zl(); + return o && si(new ri(e, null, o)), e; + }), + (t.prototype.setAttribute = function(t, n, e, o) { + var a = li(t); + a && a instanceof ri && (a.attributes[o ? o + ":" + n : n] = e), + this.delegate.setAttribute(t, n, e, o); + }), + (t.prototype.removeAttribute = function(t, n, e) { + var o = li(t); + o && + o instanceof ri && + (o.attributes[e ? e + ":" + n : n] = null), + this.delegate.removeAttribute(t, n, e); + }), + (t.prototype.addClass = function(t, n) { + var e = li(t); + e && e instanceof ri && (e.classes[n] = !0), + this.delegate.addClass(t, n); + }), + (t.prototype.removeClass = function(t, n) { + var e = li(t); + e && e instanceof ri && (e.classes[n] = !1), + this.delegate.removeClass(t, n); + }), + (t.prototype.setStyle = function(t, n, e, o) { + var a = li(t); + a && a instanceof ri && (a.styles[n] = e), + this.delegate.setStyle(t, n, e, o); + }), + (t.prototype.removeStyle = function(t, n, e) { + var o = li(t); + o && o instanceof ri && (o.styles[n] = null), + this.delegate.removeStyle(t, n, e); + }), + (t.prototype.setProperty = function(t, n, e) { + var o = li(t); + o && o instanceof ri && (o.properties[n] = e), + this.delegate.setProperty(t, n, e); + }), + (t.prototype.listen = function(t, n, e) { + if ("string" != typeof t) { + var o = li(t); + o && o.listeners.push(new oi(n, e)); + } + return this.delegate.listen(t, n, e); + }), + (t.prototype.parentNode = function(t) { + return this.delegate.parentNode(t); + }), + (t.prototype.nextSibling = function(t) { + return this.delegate.nextSibling(t); + }), + (t.prototype.setValue = function(t, n) { + return this.delegate.setValue(t, n); + }), + t + ); + })(); + function Fl(t, n, e) { + return new Bl(t, n, e); + } + var Bl = (function(t) { + function n(n, e, o) { + var a = t.call(this) || this; + return ( + (a.moduleType = n), + (a._bootstrapComponents = e), + (a._ngModuleDefFactory = o), + a + ); + } + return ( + Object(o.__extends)(n, t), + (n.prototype.create = function(t) { + !(function() { + if (!el) { + el = !0; + var t = Fn() + ? { + setCurrentNode: xl, + createRootView: al, + createEmbeddedView: il, + createComponentView: ll, + createNgModuleRef: sl, + overrideProvider: pl, + overrideComponentView: ml, + clearOverrides: gl, + checkAndUpdateView: _l, + checkNoChangesView: yl, + destroyView: Cl, + createDebugContext: function(t, n) { + return new Rl(t, n); + }, + handleEvent: kl, + updateDirectives: wl, + updateRenderer: Sl + } + : { + setCurrentNode: function() {}, + createRootView: ol, + createEmbeddedView: Li, + createComponentView: Fi, + createNgModuleRef: Ia, + overrideProvider: Oo, + overrideComponentView: Oo, + clearOverrides: Oo, + checkAndUpdateView: qi, + checkNoChangesView: Ui, + destroyView: Zi, + createDebugContext: function(t, n) { + return new Rl(t, n); + }, + handleEvent: function(t, n, e, o) { + return t.def.handleEvent(t, n, e, o); + }, + updateDirectives: function(t, n) { + return t.def.updateDirectives(0 === n ? hl : bl, t); + }, + updateRenderer: function(t, n) { + return t.def.updateRenderer(0 === n ? hl : bl, t); + } + }; + (vo.setCurrentNode = t.setCurrentNode), + (vo.createRootView = t.createRootView), + (vo.createEmbeddedView = t.createEmbeddedView), + (vo.createComponentView = t.createComponentView), + (vo.createNgModuleRef = t.createNgModuleRef), + (vo.overrideProvider = t.overrideProvider), + (vo.overrideComponentView = t.overrideComponentView), + (vo.clearOverrides = t.clearOverrides), + (vo.checkAndUpdateView = t.checkAndUpdateView), + (vo.checkNoChangesView = t.checkNoChangesView), + (vo.destroyView = t.destroyView), + (vo.resolveDep = Xa), + (vo.createDebugContext = t.createDebugContext), + (vo.handleEvent = t.handleEvent), + (vo.updateDirectives = t.updateDirectives), + (vo.updateRenderer = t.updateRenderer), + (vo.dirtyParentQueries = Pi); + } + })(); + var n = (function(t) { + var n = Array.from(t.providers), + e = Array.from(t.modules), + o = {}; + for (var a in t.providersByKey) o[a] = t.providersByKey[a]; + return { + factory: t.factory, + isRoot: t.isRoot, + providers: n, + modules: e, + providersByKey: o + }; + })(Yo(this._ngModuleDefFactory)); + return vo.createNgModuleRef( + this.moduleType, + t || Zt.NULL, + this._bootstrapComponents, + n + ); + }), + n + ); + })(Re), + Vl = (function() { + return function() {}; + })(), + Hl = (function() { + function t() {} + return ( + (t.DEV_API_ENDPOINT = "http://localhost:51000"), + (t.DEV_WS_ENDPOINT = "ws://localhost:51001"), + (t.API_ENDPOINT = ""), + (t.WS_ENDPOINT_OVERRIDE = null), + t + ); + })(), + Ul = (function(t) { + return ( + (t[(t.Name = 0)] = "Name"), + (t[(t.MaxDifficulty = 1)] = "MaxDifficulty"), + (t[(t.LevelAuthor = 2)] = "LevelAuthor"), + t + ); + })({}), + ql = new O(function(t) { + return t.complete(); + }); + function Kl(t) { + return t + ? (function(t) { + return new O(function(n) { + return t.schedule(function() { + return n.complete(); + }); + }); + })(t) + : ql; + } + function Yl(t) { + var n = new O(function(n) { + n.next(t), n.complete(); + }); + return (n._isScalar = !0), (n.value = t), n; + } + function Wl() { + for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; + var e = t[t.length - 1]; + switch ((I(e) ? t.pop() : (e = void 0), t.length)) { + case 0: + return Kl(e); + case 1: + return e ? Y(t, e) : Yl(t[0]); + default: + return Y(t, e); + } + } + function Gl(t, n) { + return G(t, n, 1); + } + function Zl(t, n) { + return function(e) { + return e.lift(new Ql(t, n)); + }; + } + var Ql = (function() { + function t(t, n) { + (this.predicate = t), (this.thisArg = n); + } + return ( + (t.prototype.call = function(t, n) { + return n.subscribe(new Xl(t, this.predicate, this.thisArg)); + }), + t + ); + })(), + Xl = (function(t) { + function n(n, e, o) { + var a = t.call(this, n) || this; + return (a.predicate = e), (a.thisArg = o), (a.count = 0), a; + } + return ( + o.__extends(n, t), + (n.prototype._next = function(t) { + var n; + try { + n = this.predicate.call(this.thisArg, t, this.count++); + } catch (e) { + return void this.destination.error(e); + } + n && this.destination.next(t); + }), + n + ); + })(h), + Jl = (function() { + return function() {}; + })(), + $l = new Ut("Location Initialized"), + ts = (function() { + return function() {}; + })(), + ns = new Ut("appBaseHref"), + es = (function() { + function t(t, e) { + var o = this; + (this._subject = new ar()), + (this._urlChangeListeners = []), + (this._platformStrategy = t); + var a = this._platformStrategy.getBaseHref(); + (this._platformLocation = e), + (this._baseHref = n.stripTrailingSlash(os(a))), + this._platformStrategy.onPopState(function(t) { + o._subject.emit({ + url: o.path(!0), + pop: !0, + state: t.state, + type: t.type + }); + }); + } + var n; + return ( + (n = t), + (t.prototype.path = function(t) { + return ( + void 0 === t && (t = !1), + this.normalize(this._platformStrategy.path(t)) + ); + }), + (t.prototype.getState = function() { + return this._platformLocation.getState(); + }), + (t.prototype.isCurrentPathEqualTo = function(t, e) { + return ( + void 0 === e && (e = ""), + this.path() == this.normalize(t + n.normalizeQueryParams(e)) + ); + }), + (t.prototype.normalize = function(t) { + return n.stripTrailingSlash( + (function(t, n) { + return t && n.startsWith(t) ? n.substring(t.length) : n; + })(this._baseHref, os(t)) + ); + }), + (t.prototype.prepareExternalUrl = function(t) { + return ( + t && "/" !== t[0] && (t = "/" + t), + this._platformStrategy.prepareExternalUrl(t) + ); + }), + (t.prototype.go = function(t, e, o) { + void 0 === e && (e = ""), + void 0 === o && (o = null), + this._platformStrategy.pushState(o, "", t, e), + this._notifyUrlChangeListeners( + this.prepareExternalUrl(t + n.normalizeQueryParams(e)), + o + ); + }), + (t.prototype.replaceState = function(t, e, o) { + void 0 === e && (e = ""), + void 0 === o && (o = null), + this._platformStrategy.replaceState(o, "", t, e), + this._notifyUrlChangeListeners( + this.prepareExternalUrl(t + n.normalizeQueryParams(e)), + o + ); + }), + (t.prototype.forward = function() { + this._platformStrategy.forward(); + }), + (t.prototype.back = function() { + this._platformStrategy.back(); + }), + (t.prototype.onUrlChange = function(t) { + var n = this; + this._urlChangeListeners.push(t), + this.subscribe(function(t) { + n._notifyUrlChangeListeners(t.url, t.state); + }); + }), + (t.prototype._notifyUrlChangeListeners = function(t, n) { + void 0 === t && (t = ""), + this._urlChangeListeners.forEach(function(e) { + return e(t, n); + }); + }), + (t.prototype.subscribe = function(t, n, e) { + return this._subject.subscribe({ + next: t, + error: n, + complete: e + }); + }), + (t.normalizeQueryParams = function(t) { + return t && "?" !== t[0] ? "?" + t : t; + }), + (t.joinWithSlash = function(t, n) { + if (0 == t.length) return n; + if (0 == n.length) return t; + var e = 0; + return ( + t.endsWith("/") && e++, + n.startsWith("/") && e++, + 2 == e ? t + n.substring(1) : 1 == e ? t + n : t + "/" + n + ); + }), + (t.stripTrailingSlash = function(t) { + var n = t.match(/#|\?|$/), + e = (n && n.index) || t.length; + return t.slice(0, e - ("/" === t[e - 1] ? 1 : 0)) + t.slice(e); + }), + t + ); + })(); + function os(t) { + return t.replace(/\/index.html$/, ""); + } + var as = (function(t) { + function n(n, e) { + var o = t.call(this) || this; + return ( + (o._platformLocation = n), + (o._baseHref = ""), + null != e && (o._baseHref = e), + o + ); + } + return ( + Object(o.__extends)(n, t), + (n.prototype.onPopState = function(t) { + this._platformLocation.onPopState(t), + this._platformLocation.onHashChange(t); + }), + (n.prototype.getBaseHref = function() { + return this._baseHref; + }), + (n.prototype.path = function(t) { + void 0 === t && (t = !1); + var n = this._platformLocation.hash; + return null == n && (n = "#"), n.length > 0 ? n.substring(1) : n; + }), + (n.prototype.prepareExternalUrl = function(t) { + var n = es.joinWithSlash(this._baseHref, t); + return n.length > 0 ? "#" + n : n; + }), + (n.prototype.pushState = function(t, n, e, o) { + var a = this.prepareExternalUrl(e + es.normalizeQueryParams(o)); + 0 == a.length && (a = this._platformLocation.pathname), + this._platformLocation.pushState(t, n, a); + }), + (n.prototype.replaceState = function(t, n, e, o) { + var a = this.prepareExternalUrl(e + es.normalizeQueryParams(o)); + 0 == a.length && (a = this._platformLocation.pathname), + this._platformLocation.replaceState(t, n, a); + }), + (n.prototype.forward = function() { + this._platformLocation.forward(); + }), + (n.prototype.back = function() { + this._platformLocation.back(); + }), + n + ); + })(ts), + rs = (function(t) { + function n(n, e) { + var o = t.call(this) || this; + if ( + ((o._platformLocation = n), + null == e && (e = o._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." + ); + return (o._baseHref = e), o; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.onPopState = function(t) { + this._platformLocation.onPopState(t), + this._platformLocation.onHashChange(t); + }), + (n.prototype.getBaseHref = function() { + return this._baseHref; + }), + (n.prototype.prepareExternalUrl = function(t) { + return es.joinWithSlash(this._baseHref, t); + }), + (n.prototype.path = function(t) { + void 0 === t && (t = !1); + var n = + this._platformLocation.pathname + + es.normalizeQueryParams(this._platformLocation.search), + e = this._platformLocation.hash; + return e && t ? "" + n + e : n; + }), + (n.prototype.pushState = function(t, n, e, o) { + var a = this.prepareExternalUrl(e + es.normalizeQueryParams(o)); + this._platformLocation.pushState(t, n, a); + }), + (n.prototype.replaceState = function(t, n, e, o) { + var a = this.prepareExternalUrl(e + es.normalizeQueryParams(o)); + this._platformLocation.replaceState(t, n, a); + }), + (n.prototype.forward = function() { + this._platformLocation.forward(); + }), + (n.prototype.back = function() { + this._platformLocation.back(); + }), + n + ); + })(ts), + is = void 0, + ls = [ + "en", + [["a", "p"], ["AM", "PM"], is], + [["AM", "PM"], is, is], + [ + ["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"] + ], + is, + [ + ["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" + ] + ], + is, + [["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}", is, "{1} 'at' {0}", is], + [ + ".", + ",", + ";", + "%", + "+", + "-", + "E", + "\xd7", + "\u2030", + "\u221e", + "NaN", + ":" + ], + ["#,##0.###", "#,##0%", "\xa4#,##0.00", "#E0"], + "$", + "US Dollar", + {}, + function(t) { + var n = Math.floor(Math.abs(t)), + e = t.toString().replace(/^[^.]*\.?/, "").length; + return 1 === n && 0 === e ? 1 : 5; + } + ], + ss = {}, + cs = (function(t) { + return ( + (t[(t.Zero = 0)] = "Zero"), + (t[(t.One = 1)] = "One"), + (t[(t.Two = 2)] = "Two"), + (t[(t.Few = 3)] = "Few"), + (t[(t.Many = 4)] = "Many"), + (t[(t.Other = 5)] = "Other"), + t + ); + })({}), + us = new Ut("UseV4Plurals"), + ds = (function() { + return function() {}; + })(), + ps = (function(t) { + function n(n, e) { + var o = t.call(this) || this; + return (o.locale = n), (o.deprecatedPluralFn = e), o; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.getPluralCategory = function(t, n) { + switch ( + this.deprecatedPluralFn + ? this.deprecatedPluralFn(n || this.locale, t) + : (function(t) { + return (function(t) { + var n = t.toLowerCase().replace(/_/g, "-"), + e = ss[n]; + if (e) return e; + var o = n.split("-")[0]; + if ((e = ss[o])) return e; + if ("en" === o) return ls; + throw new Error( + 'Missing locale data for the locale "' + t + '".' + ); + })(t)[18]; + })(n || this.locale)(t) + ) { + case cs.Zero: + return "zero"; + case cs.One: + return "one"; + case cs.Two: + return "two"; + case cs.Few: + return "few"; + case cs.Many: + return "many"; + default: + return "other"; + } + }), + n + ); + })(ds); + function ms(t, n) { + var e, a; + n = encodeURIComponent(n); + try { + for ( + var r = Object(o.__values)(t.split(";")), i = r.next(); + !i.done; + i = r.next() + ) { + var l = i.value, + s = l.indexOf("="), + c = Object(o.__read)( + -1 == s ? [l, ""] : [l.slice(0, s), l.slice(s + 1)], + 2 + ), + u = c[1]; + if (c[0].trim() === n) return decodeURIComponent(u); + } + } catch (d) { + e = { error: d }; + } finally { + try { + i && !i.done && (a = r.return) && a.call(r); + } finally { + if (e) throw e.error; + } + } + return null; + } + var gs = (function() { + return function() {}; + })(), + fs = (function() { + function t(t, n, e, o) { + (this._iterableDiffers = t), + (this._keyValueDiffers = n), + (this._ngEl = e), + (this._renderer = o), + (this._initialClasses = []); + } + return ( + (t.prototype.getValue = function() { + return null; + }), + (t.prototype.setClass = function(t) { + this._removeClasses(this._initialClasses), + (this._initialClasses = + "string" == typeof t ? t.split(/\s+/) : []), + this._applyClasses(this._initialClasses), + this._applyClasses(this._rawClass); + }), + (t.prototype.setNgClass = function(t) { + this._removeClasses(this._rawClass), + this._applyClasses(this._initialClasses), + (this._iterableDiffer = null), + (this._keyValueDiffer = null), + (this._rawClass = "string" == typeof t ? t.split(/\s+/) : t), + this._rawClass && + (Ce(this._rawClass) + ? (this._iterableDiffer = this._iterableDiffers + .find(this._rawClass) + .create()) + : (this._keyValueDiffer = this._keyValueDiffers + .find(this._rawClass) + .create())); + }), + (t.prototype.applyChanges = function() { + if (this._iterableDiffer) { + var t = this._iterableDiffer.diff(this._rawClass); + t && this._applyIterableChanges(t); + } else if (this._keyValueDiffer) { + var n = this._keyValueDiffer.diff(this._rawClass); + n && this._applyKeyValueChanges(n); + } + }), + (t.prototype._applyKeyValueChanges = function(t) { + var n = this; + t.forEachAddedItem(function(t) { + return n._toggleClass(t.key, t.currentValue); + }), + t.forEachChangedItem(function(t) { + return n._toggleClass(t.key, t.currentValue); + }), + t.forEachRemovedItem(function(t) { + t.previousValue && n._toggleClass(t.key, !1); + }); + }), + (t.prototype._applyIterableChanges = function(t) { + var n = this; + t.forEachAddedItem(function(t) { + if ("string" != typeof t.item) + throw new Error( + "NgClass can only toggle CSS classes expressed as strings, got " + + Pt(t.item) + ); + n._toggleClass(t.item, !0); + }), + t.forEachRemovedItem(function(t) { + return n._toggleClass(t.item, !1); + }); + }), + (t.prototype._applyClasses = function(t) { + var n = this; + t && + (Array.isArray(t) || t instanceof Set + ? t.forEach(function(t) { + return n._toggleClass(t, !0); + }) + : Object.keys(t).forEach(function(e) { + return n._toggleClass(e, !!t[e]); + })); + }), + (t.prototype._removeClasses = function(t) { + var n = this; + t && + (Array.isArray(t) || t instanceof Set + ? t.forEach(function(t) { + return n._toggleClass(t, !1); + }) + : Object.keys(t).forEach(function(t) { + return n._toggleClass(t, !1); + })); + }), + (t.prototype._toggleClass = function(t, n) { + var e = this; + (t = t.trim()) && + t.split(/\s+/g).forEach(function(t) { + n + ? e._renderer.addClass(e._ngEl.nativeElement, t) + : e._renderer.removeClass(e._ngEl.nativeElement, t); + }); + }), + t + ); + })(), + hs = (function(t) { + function n(n) { + return t.call(this, n) || this; + } + return ( + Object(o.__extends)(n, t), + Object.defineProperty(n.prototype, "klass", { + set: function(t) { + this._delegate.setClass(t); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "ngClass", { + set: function(t) { + this._delegate.setNgClass(t); + }, + enumerable: !0, + configurable: !0 + }), + (n.prototype.ngDoCheck = function() { + this._delegate.applyChanges(); + }), + n + ); + })( + (function() { + function t(t) { + this._delegate = t; + } + return ( + (t.prototype.getValue = function() { + return this._delegate.getValue(); + }), + (t.ngDirectiveDef = void 0), + t + ); + })() + ), + bs = (function() { + function t(t, n, e, o) { + (this.$implicit = t), + (this.ngForOf = n), + (this.index = e), + (this.count = o); + } + return ( + Object.defineProperty(t.prototype, "first", { + get: function() { + return 0 === this.index; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "last", { + get: function() { + return this.index === this.count - 1; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "even", { + get: function() { + return this.index % 2 == 0; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "odd", { + get: function() { + return !this.even; + }, + enumerable: !0, + configurable: !0 + }), + t + ); + })(), + _s = (function() { + function t(t, n, e) { + (this._viewContainer = t), + (this._template = n), + (this._differs = e), + (this._ngForOfDirty = !0), + (this._differ = null); + } + return ( + Object.defineProperty(t.prototype, "ngForOf", { + set: function(t) { + (this._ngForOf = t), (this._ngForOfDirty = !0); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "ngForTrackBy", { + get: function() { + return this._trackByFn; + }, + set: function(t) { + Fn() && + null != t && + "function" != typeof t && + console && + console.warn && + console.warn( + "trackBy must be a function, but received " + + JSON.stringify(t) + + ". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information." + ), + (this._trackByFn = t); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "ngForTemplate", { + set: function(t) { + t && (this._template = t); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.ngDoCheck = 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 (o) { + throw new Error( + "Cannot find a differ supporting object '" + + t + + "' of type '" + + ((n = t).name || typeof n) + + "'. NgFor only supports binding to Iterables such as Arrays." + ); + } + } + var n; + if (this._differ) { + var e = this._differ.diff(this._ngForOf); + e && this._applyChanges(e); + } + }), + (t.prototype._applyChanges = function(t) { + var n = this, + e = []; + t.forEachOperation(function(t, o, a) { + if (null == t.previousIndex) { + var r = n._viewContainer.createEmbeddedView( + n._template, + new bs(null, n._ngForOf, -1, -1), + a + ), + i = new ys(t, r); + e.push(i); + } else null == a ? n._viewContainer.remove(o) : ((r = n._viewContainer.get(o)), n._viewContainer.move(r, a), (i = new ys(t, r)), e.push(i)); + }); + for (var o = 0; o < e.length; o++) + this._perViewChange(e[o].view, e[o].record); + o = 0; + for (var a = this._viewContainer.length; o < a; o++) { + var r = this._viewContainer.get(o); + (r.context.index = o), + (r.context.count = a), + (r.context.ngForOf = this._ngForOf); + } + t.forEachIdentityChange(function(t) { + n._viewContainer.get(t.currentIndex).context.$implicit = t.item; + }); + }), + (t.prototype._perViewChange = function(t, n) { + t.context.$implicit = n.item; + }), + (t.ngTemplateContextGuard = function(t, n) { + return !0; + }), + t + ); + })(), + ys = (function() { + return function(t, n) { + (this.record = t), (this.view = n); + }; + })(), + Cs = (function() { + function t(t, n) { + (this._viewContainer = t), + (this._context = new vs()), + (this._thenTemplateRef = null), + (this._elseTemplateRef = null), + (this._thenViewRef = null), + (this._elseViewRef = null), + (this._thenTemplateRef = n); + } + return ( + Object.defineProperty(t.prototype, "ngIf", { + set: function(t) { + (this._context.$implicit = this._context.ngIf = t), + this._updateView(); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "ngIfThen", { + set: function(t) { + Os("ngIfThen", t), + (this._thenTemplateRef = t), + (this._thenViewRef = null), + this._updateView(); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "ngIfElse", { + set: function(t) { + Os("ngIfElse", t), + (this._elseTemplateRef = t), + (this._elseViewRef = null), + this._updateView(); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype._updateView = function() { + 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 + ))); + }), + (t.ngTemplateGuard_ngIf = function(t, n) { + return !0; + }), + t + ); + })(), + vs = (function() { + return function() { + (this.$implicit = null), (this.ngIf = null); + }; + })(); + function Os(t, n) { + if (n && !n.createEmbeddedView) + throw new Error( + t + " must be a TemplateRef, but received '" + Pt(n) + "'." + ); + } + var Ps = (function() { + function t(t, n) { + (this._viewContainerRef = t), + (this._templateRef = n), + (this._created = !1); + } + return ( + (t.prototype.create = function() { + (this._created = !0), + this._viewContainerRef.createEmbeddedView(this._templateRef); + }), + (t.prototype.destroy = function() { + (this._created = !1), this._viewContainerRef.clear(); + }), + (t.prototype.enforceState = function(t) { + t && !this._created + ? this.create() + : !t && this._created && this.destroy(); + }), + t + ); + })(), + Ms = (function() { + function t() { + (this._defaultUsed = !1), + (this._caseCount = 0), + (this._lastCaseCheckIndex = 0), + (this._lastCasesMatched = !1); + } + return ( + Object.defineProperty(t.prototype, "ngSwitch", { + set: function(t) { + (this._ngSwitch = t), + 0 === this._caseCount && this._updateDefaultCases(!0); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype._addCase = function() { + return this._caseCount++; + }), + (t.prototype._addDefault = function(t) { + this._defaultViews || (this._defaultViews = []), + this._defaultViews.push(t); + }), + (t.prototype._matchCase = function(t) { + var n = t == this._ngSwitch; + return ( + (this._lastCasesMatched = this._lastCasesMatched || n), + this._lastCaseCheckIndex++, + this._lastCaseCheckIndex === this._caseCount && + (this._updateDefaultCases(!this._lastCasesMatched), + (this._lastCaseCheckIndex = 0), + (this._lastCasesMatched = !1)), + n + ); + }), + (t.prototype._updateDefaultCases = function(t) { + if (this._defaultViews && t !== this._defaultUsed) { + this._defaultUsed = t; + for (var n = 0; n < this._defaultViews.length; n++) + this._defaultViews[n].enforceState(t); + } + }), + t + ); + })(), + xs = (function() { + function t(t, n, e) { + (this.ngSwitch = e), e._addCase(), (this._view = new Ps(t, n)); + } + return ( + (t.prototype.ngDoCheck = function() { + this._view.enforceState( + this.ngSwitch._matchCase(this.ngSwitchCase) + ); + }), + t + ); + })(), + ks = (function() { + return function() {}; + })(), + ws = (function() { + function t(t, n, e) { + (this._ngEl = t), (this._differs = n), (this._renderer = e); + } + return ( + (t.prototype.getValue = function() { + return null; + }), + (t.prototype.setNgStyle = function(t) { + (this._ngStyle = t), + !this._differ && + t && + (this._differ = this._differs.find(t).create()); + }), + (t.prototype.applyChanges = function() { + if (this._differ) { + var t = this._differ.diff(this._ngStyle); + t && this._applyChanges(t); + } + }), + (t.prototype._applyChanges = function(t) { + var n = this; + t.forEachRemovedItem(function(t) { + return n._setStyle(t.key, null); + }), + t.forEachAddedItem(function(t) { + return n._setStyle(t.key, t.currentValue); + }), + t.forEachChangedItem(function(t) { + return n._setStyle(t.key, t.currentValue); + }); + }), + (t.prototype._setStyle = function(t, n) { + var e = Object(o.__read)(t.split("."), 2), + a = e[0], + r = e[1]; + null != (n = null != n && r ? "" + n + r : n) + ? this._renderer.setStyle(this._ngEl.nativeElement, a, n) + : this._renderer.removeStyle(this._ngEl.nativeElement, a); + }), + t + ); + })(), + Ss = (function(t) { + function n(n) { + return t.call(this, n) || this; + } + return ( + Object(o.__extends)(n, t), + Object.defineProperty(n.prototype, "ngStyle", { + set: function(t) { + this._delegate.setNgStyle(t); + }, + enumerable: !0, + configurable: !0 + }), + (n.prototype.ngDoCheck = function() { + this._delegate.applyChanges(); + }), + n + ); + })( + (function() { + function t(t) { + this._delegate = t; + } + return ( + (t.prototype.getValue = function() { + return this._delegate.getValue(); + }), + (t.ngDirectiveDef = void 0), + t + ); + })() + ), + Es = (function() { + function t() {} + return ( + (t.prototype.createSubscription = function(t, n) { + return t.subscribe({ + next: n, + error: function(t) { + throw t; + } + }); + }), + (t.prototype.dispose = function(t) { + t.unsubscribe(); + }), + (t.prototype.onDestroy = function(t) { + t.unsubscribe(); + }), + t + ); + })(), + Is = new ((function() { + function t() {} + return ( + (t.prototype.createSubscription = function(t, n) { + return t.then(n, function(t) { + throw t; + }); + }), + (t.prototype.dispose = function(t) {}), + (t.prototype.onDestroy = function(t) {}), + t + ); + })())(), + As = new Es(), + Ts = (function() { + function t(t) { + (this._ref = t), + (this._latestValue = null), + (this._latestReturnedValue = null), + (this._subscription = null), + (this._obj = null), + (this._strategy = null); + } + var n; + return ( + (n = t), + (t.prototype.ngOnDestroy = function() { + this._subscription && this._dispose(); + }), + (t.prototype.transform = function(t) { + return this._obj + ? t !== this._obj + ? (this._dispose(), this.transform(t)) + : be(this._latestValue, this._latestReturnedValue) + ? this._latestReturnedValue + : ((this._latestReturnedValue = this._latestValue), + ye.wrap(this._latestValue)) + : (t && this._subscribe(t), + (this._latestReturnedValue = this._latestValue), + this._latestValue); + }), + (t.prototype._subscribe = function(t) { + var n = this; + (this._obj = t), + (this._strategy = this._selectStrategy(t)), + (this._subscription = this._strategy.createSubscription( + t, + function(e) { + return n._updateLatestValue(t, e); + } + )); + }), + (t.prototype._selectStrategy = function(t) { + if (me(t)) return Is; + if (ge(t)) return As; + throw Error( + "InvalidPipeArgument: '" + t + "' for pipe '" + Pt(n) + "'" + ); + }), + (t.prototype._dispose = function() { + this._strategy.dispose(this._subscription), + (this._latestValue = null), + (this._latestReturnedValue = null), + (this._subscription = null), + (this._obj = null); + }), + (t.prototype._updateLatestValue = function(t, n) { + t === this._obj && + ((this._latestValue = n), this._ref.markForCheck()); + }), + t + ); + })(), + Rs = (function() { + return function() {}; + })(), + Ds = new Ut("DocumentToken"), + Ns = "browser", + zs = "server"; + function Ls(t) { + return t === Ns; + } + function js(t) { + return t === zs; + } + var Fs = (function() { + function t() {} + return ( + (t.ngInjectableDef = yt({ + providedIn: "root", + factory: function() { + return new Bs(Tt(Ds), window, Tt(zn)); + } + })), + t + ); + })(), + Bs = (function() { + function t(t, n, e) { + (this.document = t), + (this.window = n), + (this.errorHandler = e), + (this.offset = function() { + return [0, 0]; + }); + } + return ( + (t.prototype.setOffset = function(t) { + this.offset = Array.isArray(t) + ? function() { + return t; + } + : t; + }), + (t.prototype.getScrollPosition = function() { + return this.supportScrollRestoration() + ? [this.window.scrollX, this.window.scrollY] + : [0, 0]; + }), + (t.prototype.scrollToPosition = function(t) { + this.supportScrollRestoration() && + this.window.scrollTo(t[0], t[1]); + }), + (t.prototype.scrollToAnchor = function(t) { + if (this.supportScrollRestoration()) { + t = + this.window.CSS && this.window.CSS.escape + ? this.window.CSS.escape(t) + : t.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g, "\\$1"); + try { + var n = this.document.querySelector("#" + t); + if (n) return void this.scrollToElement(n); + var e = this.document.querySelector("[name='" + t + "']"); + if (e) return void this.scrollToElement(e); + } catch (o) { + this.errorHandler.handleError(o); + } + } + }), + (t.prototype.setHistoryScrollRestoration = function(t) { + if (this.supportScrollRestoration()) { + var n = this.window.history; + n && n.scrollRestoration && (n.scrollRestoration = t); + } + }), + (t.prototype.scrollToElement = function(t) { + var n = t.getBoundingClientRect(), + e = n.left + this.window.pageXOffset, + o = n.top + this.window.pageYOffset, + a = this.offset(); + this.window.scrollTo(e - a[0], o - a[1]); + }), + (t.prototype.supportScrollRestoration = function() { + try { + return !!this.window && !!this.window.scrollTo; + } catch (t) { + return !1; + } + }), + t + ); + })(), + Vs = (function() { + return function() {}; + })(), + Hs = (function() { + return function() {}; + })(), + Us = (function() { + function t(t) { + var n = this; + (this.normalizedNames = new Map()), + (this.lazyUpdate = null), + t + ? (this.lazyInit = + "string" == typeof t + ? function() { + (n.headers = new Map()), + t.split("\n").forEach(function(t) { + var e = t.indexOf(":"); + if (e > 0) { + var o = t.slice(0, e), + a = o.toLowerCase(), + r = t.slice(e + 1).trim(); + n.maybeSetNormalizedName(o, a), + n.headers.has(a) + ? n.headers.get(a).push(r) + : n.headers.set(a, [r]); + } + }); + } + : function() { + (n.headers = new Map()), + Object.keys(t).forEach(function(e) { + var o = t[e], + a = e.toLowerCase(); + "string" == typeof o && (o = [o]), + o.length > 0 && + (n.headers.set(a, o), + n.maybeSetNormalizedName(e, a)); + }); + }) + : (this.headers = new Map()); + } + return ( + (t.prototype.has = function(t) { + return this.init(), this.headers.has(t.toLowerCase()); + }), + (t.prototype.get = function(t) { + this.init(); + var n = this.headers.get(t.toLowerCase()); + return n && n.length > 0 ? n[0] : null; + }), + (t.prototype.keys = function() { + return this.init(), Array.from(this.normalizedNames.values()); + }), + (t.prototype.getAll = function(t) { + return this.init(), this.headers.get(t.toLowerCase()) || null; + }), + (t.prototype.append = function(t, n) { + return this.clone({ name: t, value: n, op: "a" }); + }), + (t.prototype.set = function(t, n) { + return this.clone({ name: t, value: n, op: "s" }); + }), + (t.prototype.delete = function(t, n) { + return this.clone({ name: t, value: n, op: "d" }); + }), + (t.prototype.maybeSetNormalizedName = function(t, n) { + this.normalizedNames.has(n) || this.normalizedNames.set(n, t); + }), + (t.prototype.init = function() { + var n = this; + this.lazyInit && + (this.lazyInit instanceof t + ? this.copyFrom(this.lazyInit) + : this.lazyInit(), + (this.lazyInit = null), + this.lazyUpdate && + (this.lazyUpdate.forEach(function(t) { + return n.applyUpdate(t); + }), + (this.lazyUpdate = null))); + }), + (t.prototype.copyFrom = function(t) { + var n = this; + t.init(), + Array.from(t.headers.keys()).forEach(function(e) { + n.headers.set(e, t.headers.get(e)), + n.normalizedNames.set(e, t.normalizedNames.get(e)); + }); + }), + (t.prototype.clone = function(n) { + var e = new t(); + return ( + (e.lazyInit = + this.lazyInit && this.lazyInit instanceof t + ? this.lazyInit + : this), + (e.lazyUpdate = (this.lazyUpdate || []).concat([n])), + e + ); + }), + (t.prototype.applyUpdate = function(t) { + var n = t.name.toLowerCase(); + switch (t.op) { + case "a": + case "s": + var e = t.value; + if (("string" == typeof e && (e = [e]), 0 === e.length)) + return; + this.maybeSetNormalizedName(t.name, n); + var a = ("a" === t.op ? this.headers.get(n) : void 0) || []; + a.push.apply(a, Object(o.__spread)(e)), + this.headers.set(n, a); + break; + case "d": + var r = t.value; + if (r) { + var i = this.headers.get(n); + if (!i) return; + 0 === + (i = i.filter(function(t) { + return -1 === r.indexOf(t); + })).length + ? (this.headers.delete(n), this.normalizedNames.delete(n)) + : this.headers.set(n, i); + } else this.headers.delete(n), this.normalizedNames.delete(n); + } + }), + (t.prototype.forEach = function(t) { + var n = this; + this.init(), + Array.from(this.normalizedNames.keys()).forEach(function(e) { + return t(n.normalizedNames.get(e), n.headers.get(e)); + }); + }), + t + ); + })(), + qs = (function() { + function t() {} + return ( + (t.prototype.encodeKey = function(t) { + return Ks(t); + }), + (t.prototype.encodeValue = function(t) { + return Ks(t); + }), + (t.prototype.decodeKey = function(t) { + return decodeURIComponent(t); + }), + (t.prototype.decodeValue = function(t) { + return decodeURIComponent(t); + }), + t + ); + })(); + function Ks(t) { + return encodeURIComponent(t) + .replace(/%40/gi, "@") + .replace(/%3A/gi, ":") + .replace(/%24/gi, "$") + .replace(/%2C/gi, ",") + .replace(/%3B/gi, ";") + .replace(/%2B/gi, "+") + .replace(/%3D/gi, "=") + .replace(/%3F/gi, "?") + .replace(/%2F/gi, "/"); + } + var Ys = (function() { + function t(t) { + var n, + e, + a, + r = this; + if ( + (void 0 === t && (t = {}), + (this.updates = null), + (this.cloneFrom = null), + (this.encoder = t.encoder || new qs()), + t.fromString) + ) { + if (t.fromObject) + throw new Error("Cannot specify both fromString and fromObject."); + this.map = + ((n = t.fromString), + (e = this.encoder), + (a = new Map()), + n.length > 0 && + n.split("&").forEach(function(t) { + var n = t.indexOf("="), + r = Object(o.__read)( + -1 == n + ? [e.decodeKey(t), ""] + : [ + e.decodeKey(t.slice(0, n)), + e.decodeValue(t.slice(n + 1)) + ], + 2 + ), + i = r[0], + l = r[1], + s = a.get(i) || []; + s.push(l), a.set(i, s); + }), + a); + } else + t.fromObject + ? ((this.map = new Map()), + Object.keys(t.fromObject).forEach(function(n) { + var e = t.fromObject[n]; + r.map.set(n, Array.isArray(e) ? e : [e]); + })) + : (this.map = null); + } + return ( + (t.prototype.has = function(t) { + return this.init(), this.map.has(t); + }), + (t.prototype.get = function(t) { + this.init(); + var n = this.map.get(t); + return n ? n[0] : null; + }), + (t.prototype.getAll = function(t) { + return this.init(), this.map.get(t) || null; + }), + (t.prototype.keys = function() { + return this.init(), Array.from(this.map.keys()); + }), + (t.prototype.append = function(t, n) { + return this.clone({ param: t, value: n, op: "a" }); + }), + (t.prototype.set = function(t, n) { + return this.clone({ param: t, value: n, op: "s" }); + }), + (t.prototype.delete = function(t, n) { + return this.clone({ param: t, value: n, op: "d" }); + }), + (t.prototype.toString = function() { + var t = this; + return ( + this.init(), + this.keys() + .map(function(n) { + var e = t.encoder.encodeKey(n); + return t.map + .get(n) + .map(function(n) { + return e + "=" + t.encoder.encodeValue(n); + }) + .join("&"); + }) + .join("&") + ); + }), + (t.prototype.clone = function(n) { + var e = new t({ encoder: this.encoder }); + return ( + (e.cloneFrom = this.cloneFrom || this), + (e.updates = (this.updates || []).concat([n])), + e + ); + }), + (t.prototype.init = function() { + var t = this; + null === this.map && (this.map = new Map()), + null !== this.cloneFrom && + (this.cloneFrom.init(), + this.cloneFrom.keys().forEach(function(n) { + return t.map.set(n, t.cloneFrom.map.get(n)); + }), + this.updates.forEach(function(n) { + switch (n.op) { + case "a": + case "s": + var e = + ("a" === n.op ? t.map.get(n.param) : void 0) || []; + e.push(n.value), t.map.set(n.param, e); + break; + case "d": + if (void 0 === n.value) { + t.map.delete(n.param); + break; + } + var o = t.map.get(n.param) || [], + a = o.indexOf(n.value); + -1 !== a && o.splice(a, 1), + o.length > 0 + ? t.map.set(n.param, o) + : t.map.delete(n.param); + } + }), + (this.cloneFrom = this.updates = null)); + }), + t + ); + })(); + function Ws(t) { + return "undefined" != typeof ArrayBuffer && t instanceof ArrayBuffer; + } + function Gs(t) { + return "undefined" != typeof Blob && t instanceof Blob; + } + function Zs(t) { + return "undefined" != typeof FormData && t instanceof FormData; + } + var Qs = (function() { + function t(t, n, e, o) { + var a; + if ( + ((this.url = n), + (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) || o + ? ((this.body = void 0 !== e ? e : null), (a = o)) + : (a = e), + a && + ((this.reportProgress = !!a.reportProgress), + (this.withCredentials = !!a.withCredentials), + a.responseType && (this.responseType = a.responseType), + a.headers && (this.headers = a.headers), + a.params && (this.params = a.params)), + this.headers || (this.headers = new Us()), + this.params) + ) { + var r = this.params.toString(); + if (0 === r.length) this.urlWithParams = n; + else { + var i = n.indexOf("?"); + this.urlWithParams = + n + (-1 === i ? "?" : i < n.length - 1 ? "&" : "") + r; + } + } else (this.params = new Ys()), (this.urlWithParams = n); + } + return ( + (t.prototype.serializeBody = function() { + return null === this.body + ? null + : Ws(this.body) || + Gs(this.body) || + Zs(this.body) || + "string" == typeof this.body + ? this.body + : this.body instanceof Ys + ? this.body.toString() + : "object" == typeof this.body || + "boolean" == typeof this.body || + Array.isArray(this.body) + ? JSON.stringify(this.body) + : this.body.toString(); + }), + (t.prototype.detectContentTypeHeader = function() { + return null === this.body + ? null + : Zs(this.body) + ? null + : Gs(this.body) + ? this.body.type || null + : Ws(this.body) + ? null + : "string" == typeof this.body + ? "text/plain" + : this.body instanceof Ys + ? "application/x-www-form-urlencoded;charset=UTF-8" + : "object" == typeof this.body || + "number" == typeof this.body || + Array.isArray(this.body) + ? "application/json" + : null; + }), + (t.prototype.clone = function(n) { + void 0 === n && (n = {}); + var e = n.method || this.method, + o = n.url || this.url, + a = n.responseType || this.responseType, + r = void 0 !== n.body ? n.body : this.body, + i = + void 0 !== n.withCredentials + ? n.withCredentials + : this.withCredentials, + l = + void 0 !== n.reportProgress + ? n.reportProgress + : this.reportProgress, + s = n.headers || this.headers, + c = n.params || this.params; + return ( + void 0 !== n.setHeaders && + (s = Object.keys(n.setHeaders).reduce(function(t, e) { + return t.set(e, n.setHeaders[e]); + }, s)), + n.setParams && + (c = Object.keys(n.setParams).reduce(function(t, e) { + return t.set(e, n.setParams[e]); + }, c)), + new t(e, o, r, { + params: c, + headers: s, + reportProgress: l, + responseType: a, + withCredentials: i + }) + ); + }), + t + ); + })(), + Xs = (function(t) { + return ( + (t[(t.Sent = 0)] = "Sent"), + (t[(t.UploadProgress = 1)] = "UploadProgress"), + (t[(t.ResponseHeader = 2)] = "ResponseHeader"), + (t[(t.DownloadProgress = 3)] = "DownloadProgress"), + (t[(t.Response = 4)] = "Response"), + (t[(t.User = 5)] = "User"), + t + ); + })({}), + Js = (function() { + return function(t, n, e) { + void 0 === n && (n = 200), + void 0 === e && (e = "OK"), + (this.headers = t.headers || new Us()), + (this.status = void 0 !== t.status ? t.status : n), + (this.statusText = t.statusText || e), + (this.url = t.url || null), + (this.ok = this.status >= 200 && this.status < 300); + }; + })(), + $s = (function(t) { + function n(n) { + void 0 === n && (n = {}); + var e = t.call(this, n) || this; + return (e.type = Xs.ResponseHeader), e; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.clone = function(t) { + return ( + void 0 === t && (t = {}), + 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 + ); + })(Js), + tc = (function(t) { + function n(n) { + void 0 === n && (n = {}); + var e = t.call(this, n) || this; + return ( + (e.type = Xs.Response), + (e.body = void 0 !== n.body ? n.body : null), + e + ); + } + return ( + Object(o.__extends)(n, t), + (n.prototype.clone = function(t) { + return ( + void 0 === t && (t = {}), + 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 + ); + })(Js), + nc = (function(t) { + function n(n) { + var e = t.call(this, n, 0, "Unknown Error") || this; + return ( + (e.name = "HttpErrorResponse"), + (e.ok = !1), + (e.message = + e.status >= 200 && e.status < 300 + ? "Http failure during parsing for " + + (n.url || "(unknown url)") + : "Http failure response for " + + (n.url || "(unknown url)") + + ": " + + n.status + + " " + + n.statusText), + (e.error = n.error || null), + e + ); + } + return Object(o.__extends)(n, t), n; + })(Js); + function ec(t, n) { + return { + body: n, + headers: t.headers, + observe: t.observe, + params: t.params, + reportProgress: t.reportProgress, + responseType: t.responseType, + withCredentials: t.withCredentials + }; + } + var oc = (function() { + function t(t) { + this.handler = t; + } + return ( + (t.prototype.request = function(t, n, e) { + var o, + a = this; + if ((void 0 === e && (e = {}), t instanceof Qs)) o = t; + else { + var r; + r = e.headers instanceof Us ? e.headers : new Us(e.headers); + var i = void 0; + e.params && + (i = + e.params instanceof Ys + ? e.params + : new Ys({ fromObject: e.params })), + (o = new Qs(t, n, void 0 !== e.body ? e.body : null, { + headers: r, + params: i, + reportProgress: e.reportProgress, + responseType: e.responseType || "json", + withCredentials: e.withCredentials + })); + } + var l = Wl(o).pipe( + Gl(function(t) { + return a.handler.handle(t); + }) + ); + if (t instanceof Qs || "events" === e.observe) return l; + var s = l.pipe( + Zl(function(t) { + return t instanceof tc; + }) + ); + switch (e.observe || "body") { + case "body": + switch (o.responseType) { + case "arraybuffer": + return s.pipe( + 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 s.pipe( + 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 s.pipe( + U(function(t) { + if (null !== t.body && "string" != typeof t.body) + throw new Error("Response is not a string."); + return t.body; + }) + ); + case "json": + default: + return s.pipe( + U(function(t) { + return t.body; + }) + ); + } + case "response": + return s; + default: + throw new Error( + "Unreachable: unhandled observe type " + e.observe + "}" + ); + } + }), + (t.prototype.delete = function(t, n) { + return void 0 === n && (n = {}), this.request("DELETE", t, n); + }), + (t.prototype.get = function(t, n) { + return void 0 === n && (n = {}), this.request("GET", t, n); + }), + (t.prototype.head = function(t, n) { + return void 0 === n && (n = {}), this.request("HEAD", t, n); + }), + (t.prototype.jsonp = function(t, n) { + return this.request("JSONP", t, { + params: new Ys().append(n, "JSONP_CALLBACK"), + observe: "body", + responseType: "json" + }); + }), + (t.prototype.options = function(t, n) { + return void 0 === n && (n = {}), this.request("OPTIONS", t, n); + }), + (t.prototype.patch = function(t, n, e) { + return ( + void 0 === e && (e = {}), this.request("PATCH", t, ec(e, n)) + ); + }), + (t.prototype.post = function(t, n, e) { + return ( + void 0 === e && (e = {}), this.request("POST", t, ec(e, n)) + ); + }), + (t.prototype.put = function(t, n, e) { + return void 0 === e && (e = {}), this.request("PUT", t, ec(e, n)); + }), + t + ); + })(), + ac = (function() { + function t(t, n) { + (this.next = t), (this.interceptor = n); + } + return ( + (t.prototype.handle = function(t) { + return this.interceptor.intercept(t, this.next); + }), + t + ); + })(), + rc = new Ut("HTTP_INTERCEPTORS"), + ic = (function() { + function t() {} + return ( + (t.prototype.intercept = function(t, n) { + return n.handle(t); + }), + t + ); + })(), + lc = /^\)\]\}',?\n/, + sc = (function() { + return function() {}; + })(), + cc = (function() { + function t() {} + return ( + (t.prototype.build = function() { + return new XMLHttpRequest(); + }), + t + ); + })(), + uc = (function() { + function t(t) { + this.xhrFactory = t; + } + return ( + (t.prototype.handle = function(t) { + var n = this; + if ("JSONP" === t.method) + throw new Error( + "Attempted to construct Jsonp request without JsonpClientModule installed." + ); + return new O(function(e) { + var o = n.xhrFactory.build(); + if ( + (o.open(t.method, t.urlWithParams), + t.withCredentials && (o.withCredentials = !0), + t.headers.forEach(function(t, n) { + return o.setRequestHeader(t, n.join(",")); + }), + t.headers.has("Accept") || + o.setRequestHeader( + "Accept", + "application/json, text/plain, */*" + ), + !t.headers.has("Content-Type")) + ) { + var a = t.detectContentTypeHeader(); + null !== a && o.setRequestHeader("Content-Type", a); + } + if (t.responseType) { + var r = t.responseType.toLowerCase(); + o.responseType = "json" !== r ? r : "text"; + } + var i = t.serializeBody(), + l = null, + s = function() { + if (null !== l) return l; + var n = 1223 === o.status ? 204 : o.status, + e = o.statusText || "OK", + a = new Us(o.getAllResponseHeaders()), + r = + (function(t) { + return "responseURL" in t && t.responseURL + ? t.responseURL + : /^X-Request-URL:/m.test(t.getAllResponseHeaders()) + ? t.getResponseHeader("X-Request-URL") + : null; + })(o) || t.url; + return (l = new $s({ + headers: a, + status: n, + statusText: e, + url: r + })); + }, + c = function() { + var n = s(), + a = n.headers, + r = n.status, + i = n.statusText, + l = n.url, + c = null; + 204 !== r && + (c = void 0 === o.response ? o.responseText : o.response), + 0 === r && (r = c ? 200 : 0); + var u = r >= 200 && r < 300; + if ("json" === t.responseType && "string" == typeof c) { + var d = c; + c = c.replace(lc, ""); + try { + c = "" !== c ? JSON.parse(c) : null; + } catch (p) { + (c = d), u && ((u = !1), (c = { error: p, text: c })); + } + } + u + ? (e.next( + new tc({ + body: c, + headers: a, + status: r, + statusText: i, + url: l || void 0 + }) + ), + e.complete()) + : e.error( + new nc({ + error: c, + headers: a, + status: r, + statusText: i, + url: l || void 0 + }) + ); + }, + u = function(t) { + var n = s().url, + a = new nc({ + error: t, + status: o.status || 0, + statusText: o.statusText || "Unknown Error", + url: n || void 0 + }); + e.error(a); + }, + d = !1, + p = function(n) { + d || (e.next(s()), (d = !0)); + var a = { type: Xs.DownloadProgress, loaded: n.loaded }; + n.lengthComputable && (a.total = n.total), + "text" === t.responseType && + o.responseText && + (a.partialText = o.responseText), + e.next(a); + }, + m = function(t) { + var n = { type: Xs.UploadProgress, loaded: t.loaded }; + t.lengthComputable && (n.total = t.total), e.next(n); + }; + return ( + o.addEventListener("load", c), + o.addEventListener("error", u), + t.reportProgress && + (o.addEventListener("progress", p), + null !== i && + o.upload && + o.upload.addEventListener("progress", m)), + o.send(i), + e.next({ type: Xs.Sent }), + function() { + o.removeEventListener("error", u), + o.removeEventListener("load", c), + t.reportProgress && + (o.removeEventListener("progress", p), + null !== i && + o.upload && + o.upload.removeEventListener("progress", m)), + o.abort(); + } + ); + }); + }), + t + ); + })(), + dc = new Ut("XSRF_COOKIE_NAME"), + pc = new Ut("XSRF_HEADER_NAME"), + mc = (function() { + return function() {}; + })(), + gc = (function() { + function t(t, n, e) { + (this.doc = t), + (this.platform = n), + (this.cookieName = e), + (this.lastCookieString = ""), + (this.lastToken = null), + (this.parseCount = 0); + } + return ( + (t.prototype.getToken = function() { + if ("server" === this.platform) return null; + var t = this.doc.cookie || ""; + return ( + t !== this.lastCookieString && + (this.parseCount++, + (this.lastToken = ms(t, this.cookieName)), + (this.lastCookieString = t)), + this.lastToken + ); + }), + t + ); + })(), + fc = (function() { + function t(t, n) { + (this.tokenService = t), (this.headerName = n); + } + return ( + (t.prototype.intercept = function(t, n) { + var e = t.url.toLowerCase(); + if ( + "GET" === t.method || + "HEAD" === t.method || + e.startsWith("http://") || + e.startsWith("https://") + ) + return n.handle(t); + var o = this.tokenService.getToken(); + return ( + null === o || + t.headers.has(this.headerName) || + (t = t.clone({ headers: t.headers.set(this.headerName, o) })), + n.handle(t) + ); + }), + t + ); + })(), + hc = (function() { + function t(t, n) { + (this.backend = t), (this.injector = n), (this.chain = null); + } + return ( + (t.prototype.handle = function(t) { + if (null === this.chain) { + var n = this.injector.get(rc, []); + this.chain = n.reduceRight(function(t, n) { + return new ac(t, n); + }, this.backend); + } + return this.chain.handle(t); + }), + t + ); + })(), + bc = (function() { + function t() {} + var n; + return ( + (n = t), + (t.disable = function() { + return { + ngModule: n, + providers: [{ provide: fc, useClass: ic }] + }; + }), + (t.withOptions = function(t) { + return ( + void 0 === t && (t = {}), + { + ngModule: n, + providers: [ + t.cookieName ? { provide: dc, useValue: t.cookieName } : [], + t.headerName ? { provide: pc, useValue: t.headerName } : [] + ] + } + ); + }), + t + ); + })(), + _c = (function() { + return function() {}; + })(), + yc = (function() { + function t(t) { + (this.http = t), (this.hostname = Hl.API_ENDPOINT); + } + return ( + (t.prototype.getModStatus = function() { + return this.http.get(this.hostname + "/host/mod/status"); + }), + (t.prototype.installModStep1 = function() { + return this.http.post( + this.hostname + "/host/mod/install/step1", + "" + ); + }), + (t.prototype.installModStep2 = function() { + return this.http.post( + this.hostname + "/host/mod/install/step2", + "" + ); + }), + (t.prototype.installModStep3 = function() { + return this.http.post( + this.hostname + "/host/mod/install/step3", + "" + ); + }), + (t.prototype.resetAssets = function() { + return this.http.post( + this.hostname + "/host/mod/resetassets", + "" + ); + }), + (t.prototype.uninstallBeatSaber = function() { + return this.http.post( + this.hostname + "/host/mod/uninstallbeatsaber", + "" + ); + }), + (t.prototype.getNetInfo = function() { + return this.http.get(this.hostname + "/host/mod/netinfo"); + }), + (t.prototype.getConfig = function() { + return this.http.get(this.hostname + "/host/beatsaber/config"); + }), + (t.prototype.uploadFile = function(t) { + return this.http.post( + this.hostname + "/host/beatsaber/upload", + t + ); + }), + (t.prototype.commitConfig = function() { + return this.http.post( + this.hostname + "/host/beatsaber/commitconfig", + "" + ); + }), + (t.prototype.reloadSongsFromFolders = function() { + return this.http.post( + this.hostname + "/host/beatsaber/reloadsongfolders", + "" + ); + }), + (t.prototype.putConfig = function(t) { + return this.http.put(this.hostname + "/host/beatsaber/config", t); + }), + (t.prototype.autoCreatePlaylists = function(t, n) { + return this.http.post( + this.hostname + + "/host/beatsaber/playlist/autocreate?sortorder=" + + Ul[t] + + "maxnumpernameplaylist=" + + n, + {} + ); + }), + (t.prototype.restoreCommittedConfig = function() { + return this.http.post( + this.hostname + + "/host/beatsaber/config/restore?configtype=committed", + {} + ); + }), + (t.prototype.revertConfig = function() { + return this.http.delete(this.hostname + "/host/beatsaber/config"); + }), + (t.prototype.postLogs = function(t) { + return this.http.post( + this.hostname + + "/host/mod/postlogs?tag=" + + encodeURIComponent(t), + {} + ); + }), + (t.prototype.getImageBlob = function(t) { + return this.http.get( + this.hostname + + "/host/mod/image?filename=" + + encodeURIComponent(t), + { responseType: "blob" } + ); + }), + (t.prototype.getImages = function() { + return this.http.get(this.hostname + "/host/mod/images"); + }), + (t.prototype.startBeatSaber = function() { + return this.http.post( + this.hostname + + "/host/mod/package?action=start&package=com.beatgames.beatsaber", + {} + ); + }), + (t.prototype.quitBeatOn = function() { + return this.http.post(this.hostname + "/host/mod/exit", {}); + }), + (t.ngInjectableDef = yt({ + factory: function() { + return new t(Tt(oc)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + Cc = (function(t) { + function n(n) { + var e = t.call(this) || this; + return (e._value = n), e; + } + return ( + o.__extends(n, t), + Object.defineProperty(n.prototype, "value", { + get: function() { + return this.getValue(); + }, + enumerable: !0, + configurable: !0 + }), + (n.prototype._subscribe = function(n) { + var e = t.prototype._subscribe.call(this, n); + return e && !e.closed && n.next(this._value), e; + }), + (n.prototype.getValue = function() { + if (this.hasError) throw this.thrownError; + if (this.closed) throw new x(); + return this._value; + }), + (n.prototype.next = function(n) { + t.prototype.next.call(this, (this._value = n)); + }), + n + ); + })(S); + function vc() { + return ( + Error.call(this), + (this.message = "no elements in sequence"), + (this.name = "EmptyError"), + this + ); + } + vc.prototype = Object.create(Error.prototype); + var Oc = vc, + Pc = {}; + function Mc() { + for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; + var e = null, + o = null; + return ( + I(t[t.length - 1]) && (o = t.pop()), + "function" == typeof t[t.length - 1] && (e = t.pop()), + 1 === t.length && a(t[0]) && (t = t[0]), + Y(t, o).lift(new xc(e)) + ); + } + var xc = (function() { + function t(t) { + this.resultSelector = t; + } + return ( + (t.prototype.call = function(t, n) { + return n.subscribe(new kc(t, this.resultSelector)); + }), + t + ); + })(), + kc = (function(t) { + function n(n, e) { + var o = t.call(this, n) || this; + return ( + (o.resultSelector = e), + (o.active = 0), + (o.values = []), + (o.observables = []), + o + ); + } + return ( + o.__extends(n, t), + (n.prototype._next = function(t) { + this.values.push(Pc), this.observables.push(t); + }), + (n.prototype._complete = function() { + var t = this.observables, + n = t.length; + if (0 === n) this.destination.complete(); + else { + (this.active = n), (this.toRespond = n); + for (var e = 0; e < n; e++) { + var o = t[e]; + this.add(V(this, o, o, e)); + } + } + }), + (n.prototype.notifyComplete = function(t) { + 0 == (this.active -= 1) && this.destination.complete(); + }), + (n.prototype.notifyNext = function(t, n, e, o, a) { + var r = this.values, + i = this.toRespond + ? r[e] === Pc + ? --this.toRespond + : this.toRespond + : 0; + (r[e] = n), + 0 === i && + (this.resultSelector + ? this._tryResultSelector(r) + : this.destination.next(r.slice())); + }), + (n.prototype._tryResultSelector = function(t) { + var n; + try { + n = this.resultSelector.apply(this, t); + } catch (e) { + return void this.destination.error(e); + } + this.destination.next(n); + }), + n + ); + })(H); + function wc(t) { + return new O(function(n) { + var e; + try { + e = t(); + } catch (o) { + return void n.error(o); + } + return (e ? W(e) : Kl()).subscribe(n); + }); + } + function Sc() { + return J(1); + } + function Ec() { + return ( + Error.call(this), + (this.message = "argument out of range"), + (this.name = "ArgumentOutOfRangeError"), + this + ); + } + Ec.prototype = Object.create(Error.prototype); + var Ic = Ec; + function Ac(t) { + return function(n) { + return 0 === t ? Kl() : n.lift(new Tc(t)); + }; + } + var Tc = (function() { + function t(t) { + if (((this.total = t), this.total < 0)) throw new Ic(); + } + return ( + (t.prototype.call = function(t, n) { + return n.subscribe(new Rc(t, this.total)); + }), + t + ); + })(), + Rc = (function(t) { + function n(n, e) { + var o = t.call(this, n) || this; + return (o.total = e), (o.ring = new Array()), (o.count = 0), o; + } + return ( + o.__extends(n, t), + (n.prototype._next = function(t) { + var n = this.ring, + e = this.total, + o = this.count++; + n.length < e ? n.push(t) : (n[o % e] = t); + }), + (n.prototype._complete = function() { + var t = this.destination, + n = this.count; + if (n > 0) + for ( + var e = this.count >= this.total ? this.total : this.count, + o = this.ring, + a = 0; + a < e; + a++ + ) { + var r = n++ % e; + t.next(o[r]); + } + t.complete(); + }), + n + ); + })(h); + function Dc(t, n, e) { + return function(o) { + return o.lift(new Nc(t, n, e)); + }; + } + var Nc = (function() { + function t(t, n, e) { + (this.nextOrObserver = t), (this.error = n), (this.complete = e); + } + return ( + (t.prototype.call = function(t, n) { + return n.subscribe( + new zc(t, this.nextOrObserver, this.error, this.complete) + ); + }), + t + ); + })(), + zc = (function(t) { + function n(n, e, o, a) { + var r = t.call(this, n) || this; + return ( + (r._tapNext = y), + (r._tapError = y), + (r._tapComplete = y), + (r._tapError = o || y), + (r._tapComplete = a || y), + i(e) + ? ((r._context = r), (r._tapNext = e)) + : e && + ((r._context = e), + (r._tapNext = e.next || y), + (r._tapError = e.error || y), + (r._tapComplete = e.complete || y)), + r + ); + } + return ( + o.__extends(n, t), + (n.prototype._next = function(t) { + try { + this._tapNext.call(this._context, t); + } catch (n) { + return void this.destination.error(n); + } + this.destination.next(t); + }), + (n.prototype._error = function(t) { + try { + this._tapError.call(this._context, t); + } catch (t) { + return void this.destination.error(t); + } + this.destination.error(t); + }), + (n.prototype._complete = function() { + try { + this._tapComplete.call(this._context); + } catch (t) { + return void this.destination.error(t); + } + return this.destination.complete(); + }), + n + ); + })(h), + Lc = function(t) { + return ( + void 0 === t && (t = jc), + Dc({ + hasValue: !1, + next: function() { + this.hasValue = !0; + }, + complete: function() { + if (!this.hasValue) throw t(); + } + }) + ); + }; + function jc() { + return new Oc(); + } + function Fc(t) { + return ( + void 0 === t && (t = null), + function(n) { + return n.lift(new Bc(t)); + } + ); + } + var Bc = (function() { + function t(t) { + this.defaultValue = t; + } + return ( + (t.prototype.call = function(t, n) { + return n.subscribe(new Vc(t, this.defaultValue)); + }), + t + ); + })(), + Vc = (function(t) { + function n(n, e) { + var o = t.call(this, n) || this; + return (o.defaultValue = e), (o.isEmpty = !0), o; + } + return ( + o.__extends(n, t), + (n.prototype._next = function(t) { + (this.isEmpty = !1), this.destination.next(t); + }), + (n.prototype._complete = function() { + this.isEmpty && this.destination.next(this.defaultValue), + this.destination.complete(); + }), + n + ); + })(h); + function Hc(t, n) { + var e = arguments.length >= 2; + return function(o) { + return o.pipe( + t + ? Zl(function(n, e) { + return t(n, e, o); + }) + : X, + Ac(1), + e + ? Fc(n) + : Lc(function() { + return new Oc(); + }) + ); + }; + } + function Uc(t) { + return function(n) { + var e = new qc(t), + o = n.lift(e); + return (e.caught = o); + }; + } + var qc = (function() { + function t(t) { + this.selector = t; + } + return ( + (t.prototype.call = function(t, n) { + return n.subscribe(new Kc(t, this.selector, this.caught)); + }), + t + ); + })(), + Kc = (function(t) { + function n(n, e, o) { + var a = t.call(this, n) || this; + return (a.selector = e), (a.caught = o), a; + } + return ( + o.__extends(n, t), + (n.prototype.error = function(n) { + if (!this.isStopped) { + var e = void 0; + try { + e = this.selector(n, this.caught); + } catch (a) { + return void t.prototype.error.call(this, a); + } + this._unsubscribeAndRecycle(); + var o = new A(this, void 0, void 0); + this.add(o), V(this, e, void 0, void 0, o); + } + }), + n + ); + })(H); + function Yc(t) { + return function(n) { + return 0 === t ? Kl() : n.lift(new Wc(t)); + }; + } + var Wc = (function() { + function t(t) { + if (((this.total = t), this.total < 0)) throw new Ic(); + } + return ( + (t.prototype.call = function(t, n) { + return n.subscribe(new Gc(t, this.total)); + }), + t + ); + })(), + Gc = (function(t) { + function n(n, e) { + var o = t.call(this, n) || this; + return (o.total = e), (o.count = 0), o; + } + return ( + o.__extends(n, t), + (n.prototype._next = function(t) { + var n = this.total, + e = ++this.count; + e <= n && + (this.destination.next(t), + e === n && (this.destination.complete(), this.unsubscribe())); + }), + n + ); + })(h); + function Zc(t, n) { + var e = arguments.length >= 2; + return function(o) { + return o.pipe( + t + ? Zl(function(n, e) { + return t(n, e, o); + }) + : X, + Yc(1), + e + ? Fc(n) + : Lc(function() { + return new Oc(); + }) + ); + }; + } + var Qc = (function() { + function t(t, n, e) { + (this.predicate = t), (this.thisArg = n), (this.source = e); + } + return ( + (t.prototype.call = function(t, n) { + return n.subscribe( + new Xc(t, this.predicate, this.thisArg, this.source) + ); + }), + t + ); + })(), + Xc = (function(t) { + function n(n, e, o, a) { + var r = t.call(this, n) || this; + return ( + (r.predicate = e), + (r.thisArg = o), + (r.source = a), + (r.index = 0), + (r.thisArg = o || r), + r + ); + } + return ( + o.__extends(n, t), + (n.prototype.notifyComplete = function(t) { + this.destination.next(t), this.destination.complete(); + }), + (n.prototype._next = function(t) { + var n = !1; + try { + n = this.predicate.call( + this.thisArg, + t, + this.index++, + this.source + ); + } catch (e) { + return void this.destination.error(e); + } + n || this.notifyComplete(!1); + }), + (n.prototype._complete = function() { + this.notifyComplete(!0); + }), + n + ); + })(h); + function Jc(t, n) { + return "function" == typeof n + ? function(e) { + return e.pipe( + Jc(function(e, o) { + return W(t(e, o)).pipe( + U(function(t, a) { + return n(e, t, o, a); + }) + ); + }) + ); + } + : function(n) { + return n.lift(new $c(t)); + }; + } + var $c = (function() { + function t(t) { + this.project = t; + } + return ( + (t.prototype.call = function(t, n) { + return n.subscribe(new tu(t, this.project)); + }), + t + ); + })(), + tu = (function(t) { + function n(n, e) { + var o = t.call(this, n) || this; + return (o.project = e), (o.index = 0), o; + } + return ( + o.__extends(n, t), + (n.prototype._next = function(t) { + var n, + e = this.index++; + try { + n = this.project(t, e); + } catch (o) { + return void this.destination.error(o); + } + this._innerSub(n, t, e); + }), + (n.prototype._innerSub = function(t, n, e) { + var o = this.innerSubscription; + o && o.unsubscribe(); + var a = new A(this, void 0, void 0); + this.destination.add(a), + (this.innerSubscription = V(this, t, n, e, a)); + }), + (n.prototype._complete = function() { + var n = this.innerSubscription; + (n && !n.closed) || t.prototype._complete.call(this), + this.unsubscribe(); + }), + (n.prototype._unsubscribe = function() { + this.innerSubscription = null; + }), + (n.prototype.notifyComplete = function(n) { + this.destination.remove(n), + (this.innerSubscription = null), + this.isStopped && t.prototype._complete.call(this); + }), + (n.prototype.notifyNext = function(t, n, e, o, a) { + this.destination.next(n); + }), + n + ); + })(H); + function nu() { + for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; + return function(n) { + var e = t[t.length - 1]; + I(e) ? t.pop() : (e = null); + var o = t.length; + return (function() { + for (var t = [], n = 0; n < arguments.length; n++) + t[n] = arguments[n]; + return Sc()(Wl.apply(void 0, t)); + })(1 !== o || e ? (o > 0 ? Y(t, e) : Kl(e)) : Yl(t[0]), n); + }; + } + function eu(t, n) { + var e = !1; + return ( + arguments.length >= 2 && (e = !0), + function(o) { + return o.lift(new ou(t, n, e)); + } + ); + } + var ou = (function() { + function t(t, n, e) { + void 0 === e && (e = !1), + (this.accumulator = t), + (this.seed = n), + (this.hasSeed = e); + } + return ( + (t.prototype.call = function(t, n) { + return n.subscribe( + new au(t, this.accumulator, this.seed, this.hasSeed) + ); + }), + t + ); + })(), + au = (function(t) { + function n(n, e, o, a) { + var r = t.call(this, n) || this; + return ( + (r.accumulator = e), + (r._seed = o), + (r.hasSeed = a), + (r.index = 0), + r + ); + } + return ( + o.__extends(n, t), + Object.defineProperty(n.prototype, "seed", { + get: function() { + return this._seed; + }, + set: function(t) { + (this.hasSeed = !0), (this._seed = t); + }, + enumerable: !0, + configurable: !0 + }), + (n.prototype._next = function(t) { + if (this.hasSeed) return this._tryNext(t); + (this.seed = t), this.destination.next(t); + }), + (n.prototype._tryNext = function(t) { + var n, + e = this.index++; + try { + n = this.accumulator(this.seed, t, e); + } catch (o) { + this.destination.error(o); + } + (this.seed = n), this.destination.next(n); + }), + n + ); + })(h); + function ru(t) { + return function(n) { + return n.lift(new iu(t)); + }; + } + var iu = (function() { + function t(t) { + this.callback = t; + } + return ( + (t.prototype.call = function(t, n) { + return n.subscribe(new lu(t, this.callback)); + }), + t + ); + })(), + lu = (function(t) { + function n(n, e) { + var o = t.call(this, n) || this; + return o.add(new c(e)), o; + } + return o.__extends(n, t), n; + })(h), + su = null; + function cu() { + return su; + } + var uu, + du = (function(t) { + function n() { + var n = t.call(this) || this; + (n._animationPrefix = null), (n._transitionEnd = null); + try { + var e = n.createElement("div", document); + if (null != n.getStyle(e, "animationName")) + n._animationPrefix = ""; + else + for ( + var o = ["Webkit", "Moz", "O", "ms"], a = 0; + a < o.length; + a++ + ) + if (null != n.getStyle(e, o[a] + "AnimationName")) { + n._animationPrefix = "-" + o[a].toLowerCase() + "-"; + break; + } + var r = { + WebkitTransition: "webkitTransitionEnd", + MozTransition: "transitionend", + OTransition: "oTransitionEnd otransitionend", + transition: "transitionend" + }; + Object.keys(r).forEach(function(t) { + null != n.getStyle(e, t) && (n._transitionEnd = r[t]); + }); + } catch (i) { + (n._animationPrefix = null), (n._transitionEnd = null); + } + return n; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.getDistributedNodes = function(t) { + return t.getDistributedNodes(); + }), + (n.prototype.resolveAndSetHref = function(t, n, e) { + t.href = null == e ? n : n + "/../" + e; + }), + (n.prototype.supportsDOMEvents = function() { + return !0; + }), + (n.prototype.supportsNativeShadowDOM = function() { + return "function" == typeof document.body.createShadowRoot; + }), + (n.prototype.getAnimationPrefix = function() { + return this._animationPrefix ? this._animationPrefix : ""; + }), + (n.prototype.getTransitionEnd = function() { + return this._transitionEnd ? this._transitionEnd : ""; + }), + (n.prototype.supportsAnimation = function() { + return ( + null != this._animationPrefix && null != this._transitionEnd + ); + }), + n + ); + })( + (function() { + function t() { + this.resourceLoaderType = null; + } + return ( + Object.defineProperty(t.prototype, "attrToPropMap", { + get: function() { + return this._attrToPropMap; + }, + set: function(t) { + this._attrToPropMap = t; + }, + enumerable: !0, + configurable: !0 + }), + t + ); + })() + ), + pu = { + class: "className", + innerHtml: "innerHTML", + readonly: "readOnly", + tabindex: "tabIndex" + }, + mu = { + "\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" + }, + gu = { + 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" + }, + fu = (function() { + if (Et.Node) + return ( + Et.Node.prototype.contains || + function(t) { + return !!(16 & this.compareDocumentPosition(t)); + } + ); + })(), + hu = (function(t) { + function n() { + return (null !== t && t.apply(this, arguments)) || this; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.parse = function(t) { + throw new Error("parse not implemented"); + }), + (n.makeCurrent = function() { + var t; + (t = new n()), su || (su = t); + }), + (n.prototype.hasProperty = function(t, n) { + return n in t; + }), + (n.prototype.setProperty = function(t, n, e) { + t[n] = e; + }), + (n.prototype.getProperty = function(t, n) { + return t[n]; + }), + (n.prototype.invoke = function(t, n, e) { + var a; + (a = t)[n].apply(a, Object(o.__spread)(e)); + }), + (n.prototype.logError = function(t) { + window.console && + (console.error ? console.error(t) : console.log(t)); + }), + (n.prototype.log = function(t) { + window.console && window.console.log && window.console.log(t); + }), + (n.prototype.logGroup = function(t) { + window.console && window.console.group && window.console.group(t); + }), + (n.prototype.logGroupEnd = function() { + window.console && + window.console.groupEnd && + window.console.groupEnd(); + }), + Object.defineProperty(n.prototype, "attrToPropMap", { + get: function() { + return pu; + }, + enumerable: !0, + configurable: !0 + }), + (n.prototype.contains = function(t, n) { + return fu.call(t, n); + }), + (n.prototype.querySelector = function(t, n) { + return t.querySelector(n); + }), + (n.prototype.querySelectorAll = function(t, n) { + return t.querySelectorAll(n); + }), + (n.prototype.on = function(t, n, e) { + t.addEventListener(n, e, !1); + }), + (n.prototype.onAndCancel = function(t, n, e) { + return ( + t.addEventListener(n, e, !1), + function() { + t.removeEventListener(n, e, !1); + } + ); + }), + (n.prototype.dispatchEvent = function(t, n) { + t.dispatchEvent(n); + }), + (n.prototype.createMouseEvent = function(t) { + var n = this.getDefaultDocument().createEvent("MouseEvent"); + return n.initEvent(t, !0, !0), n; + }), + (n.prototype.createEvent = function(t) { + var n = this.getDefaultDocument().createEvent("Event"); + return n.initEvent(t, !0, !0), n; + }), + (n.prototype.preventDefault = function(t) { + t.preventDefault(), (t.returnValue = !1); + }), + (n.prototype.isPrevented = function(t) { + return ( + t.defaultPrevented || (null != t.returnValue && !t.returnValue) + ); + }), + (n.prototype.getInnerHTML = function(t) { + return t.innerHTML; + }), + (n.prototype.getTemplateContent = function(t) { + return "content" in t && this.isTemplateElement(t) + ? t.content + : null; + }), + (n.prototype.getOuterHTML = function(t) { + return t.outerHTML; + }), + (n.prototype.nodeName = function(t) { + return t.nodeName; + }), + (n.prototype.nodeValue = function(t) { + return t.nodeValue; + }), + (n.prototype.type = function(t) { + return t.type; + }), + (n.prototype.content = function(t) { + return this.hasProperty(t, "content") ? t.content : t; + }), + (n.prototype.firstChild = function(t) { + return t.firstChild; + }), + (n.prototype.nextSibling = function(t) { + return t.nextSibling; + }), + (n.prototype.parentElement = function(t) { + return t.parentNode; + }), + (n.prototype.childNodes = function(t) { + return t.childNodes; + }), + (n.prototype.childNodesAsList = function(t) { + for ( + var n = t.childNodes, e = new Array(n.length), o = 0; + o < n.length; + o++ + ) + e[o] = n[o]; + return e; + }), + (n.prototype.clearNodes = function(t) { + for (; t.firstChild; ) t.removeChild(t.firstChild); + }), + (n.prototype.appendChild = function(t, n) { + t.appendChild(n); + }), + (n.prototype.removeChild = function(t, n) { + t.removeChild(n); + }), + (n.prototype.replaceChild = function(t, n, e) { + t.replaceChild(n, e); + }), + (n.prototype.remove = function(t) { + return t.parentNode && t.parentNode.removeChild(t), t; + }), + (n.prototype.insertBefore = function(t, n, e) { + t.insertBefore(e, n); + }), + (n.prototype.insertAllBefore = function(t, n, e) { + e.forEach(function(e) { + return t.insertBefore(e, n); + }); + }), + (n.prototype.insertAfter = function(t, n, e) { + t.insertBefore(e, n.nextSibling); + }), + (n.prototype.setInnerHTML = function(t, n) { + t.innerHTML = n; + }), + (n.prototype.getText = function(t) { + return t.textContent; + }), + (n.prototype.setText = function(t, n) { + t.textContent = n; + }), + (n.prototype.getValue = function(t) { + return t.value; + }), + (n.prototype.setValue = function(t, n) { + t.value = n; + }), + (n.prototype.getChecked = function(t) { + return t.checked; + }), + (n.prototype.setChecked = function(t, n) { + t.checked = n; + }), + (n.prototype.createComment = function(t) { + return this.getDefaultDocument().createComment(t); + }), + (n.prototype.createTemplate = function(t) { + var n = this.getDefaultDocument().createElement("template"); + return (n.innerHTML = t), n; + }), + (n.prototype.createElement = function(t, n) { + return (n = n || this.getDefaultDocument()).createElement(t); + }), + (n.prototype.createElementNS = function(t, n, e) { + return (e = e || this.getDefaultDocument()).createElementNS(t, n); + }), + (n.prototype.createTextNode = function(t, n) { + return (n = n || this.getDefaultDocument()).createTextNode(t); + }), + (n.prototype.createScriptTag = function(t, n, e) { + var o = (e = e || this.getDefaultDocument()).createElement( + "SCRIPT" + ); + return o.setAttribute(t, n), o; + }), + (n.prototype.createStyleElement = function(t, n) { + var e = (n = n || this.getDefaultDocument()).createElement( + "style" + ); + return this.appendChild(e, this.createTextNode(t, n)), e; + }), + (n.prototype.createShadowRoot = function(t) { + return t.createShadowRoot(); + }), + (n.prototype.getShadowRoot = function(t) { + return t.shadowRoot; + }), + (n.prototype.getHost = function(t) { + return t.host; + }), + (n.prototype.clone = function(t) { + return t.cloneNode(!0); + }), + (n.prototype.getElementsByClassName = function(t, n) { + return t.getElementsByClassName(n); + }), + (n.prototype.getElementsByTagName = function(t, n) { + return t.getElementsByTagName(n); + }), + (n.prototype.classList = function(t) { + return Array.prototype.slice.call(t.classList, 0); + }), + (n.prototype.addClass = function(t, n) { + t.classList.add(n); + }), + (n.prototype.removeClass = function(t, n) { + t.classList.remove(n); + }), + (n.prototype.hasClass = function(t, n) { + return t.classList.contains(n); + }), + (n.prototype.setStyle = function(t, n, e) { + t.style[n] = e; + }), + (n.prototype.removeStyle = function(t, n) { + t.style[n] = ""; + }), + (n.prototype.getStyle = function(t, n) { + return t.style[n]; + }), + (n.prototype.hasStyle = function(t, n, e) { + var o = this.getStyle(t, n) || ""; + return e ? o == e : o.length > 0; + }), + (n.prototype.tagName = function(t) { + return t.tagName; + }), + (n.prototype.attributeMap = function(t) { + for ( + var n = new Map(), e = t.attributes, o = 0; + o < e.length; + o++ + ) { + var a = e.item(o); + n.set(a.name, a.value); + } + return n; + }), + (n.prototype.hasAttribute = function(t, n) { + return t.hasAttribute(n); + }), + (n.prototype.hasAttributeNS = function(t, n, e) { + return t.hasAttributeNS(n, e); + }), + (n.prototype.getAttribute = function(t, n) { + return t.getAttribute(n); + }), + (n.prototype.getAttributeNS = function(t, n, e) { + return t.getAttributeNS(n, e); + }), + (n.prototype.setAttribute = function(t, n, e) { + t.setAttribute(n, e); + }), + (n.prototype.setAttributeNS = function(t, n, e, o) { + t.setAttributeNS(n, e, o); + }), + (n.prototype.removeAttribute = function(t, n) { + t.removeAttribute(n); + }), + (n.prototype.removeAttributeNS = function(t, n, e) { + t.removeAttributeNS(n, e); + }), + (n.prototype.templateAwareRoot = function(t) { + return this.isTemplateElement(t) ? this.content(t) : t; + }), + (n.prototype.createHtmlDocument = function() { + return document.implementation.createHTMLDocument("fakeTitle"); + }), + (n.prototype.getDefaultDocument = function() { + return document; + }), + (n.prototype.getBoundingClientRect = function(t) { + try { + return t.getBoundingClientRect(); + } catch (n) { + return { + top: 0, + bottom: 0, + left: 0, + right: 0, + width: 0, + height: 0 + }; + } + }), + (n.prototype.getTitle = function(t) { + return t.title; + }), + (n.prototype.setTitle = function(t, n) { + t.title = n || ""; + }), + (n.prototype.elementMatches = function(t, n) { + return ( + !!this.isElementNode(t) && + ((t.matches && t.matches(n)) || + (t.msMatchesSelector && t.msMatchesSelector(n)) || + (t.webkitMatchesSelector && t.webkitMatchesSelector(n))) + ); + }), + (n.prototype.isTemplateElement = function(t) { + return this.isElementNode(t) && "TEMPLATE" === t.nodeName; + }), + (n.prototype.isTextNode = function(t) { + return t.nodeType === Node.TEXT_NODE; + }), + (n.prototype.isCommentNode = function(t) { + return t.nodeType === Node.COMMENT_NODE; + }), + (n.prototype.isElementNode = function(t) { + return t.nodeType === Node.ELEMENT_NODE; + }), + (n.prototype.hasShadowRoot = function(t) { + return null != t.shadowRoot && t instanceof HTMLElement; + }), + (n.prototype.isShadowRoot = function(t) { + return t instanceof DocumentFragment; + }), + (n.prototype.importIntoDoc = function(t) { + return document.importNode(this.templateAwareRoot(t), !0); + }), + (n.prototype.adoptNode = function(t) { + return document.adoptNode(t); + }), + (n.prototype.getHref = function(t) { + return t.getAttribute("href"); + }), + (n.prototype.getEventKey = function(t) { + var n = t.key; + if (null == n) { + if (null == (n = t.keyIdentifier)) return "Unidentified"; + n.startsWith("U+") && + ((n = String.fromCharCode(parseInt(n.substring(2), 16))), + 3 === t.location && gu.hasOwnProperty(n) && (n = gu[n])); + } + return mu[n] || n; + }), + (n.prototype.getGlobalEventTarget = function(t, n) { + return "window" === n + ? window + : "document" === n + ? t + : "body" === n + ? t.body + : null; + }), + (n.prototype.getHistory = function() { + return window.history; + }), + (n.prototype.getLocation = function() { + return window.location; + }), + (n.prototype.getBaseHref = function(t) { + var n, + e = + bu || (bu = document.querySelector("base")) + ? bu.getAttribute("href") + : null; + return null == e + ? null + : ((n = e), + uu || (uu = document.createElement("a")), + uu.setAttribute("href", n), + "/" === uu.pathname.charAt(0) + ? uu.pathname + : "/" + uu.pathname); + }), + (n.prototype.resetBaseElement = function() { + bu = null; + }), + (n.prototype.getUserAgent = function() { + return window.navigator.userAgent; + }), + (n.prototype.setData = function(t, n, e) { + this.setAttribute(t, "data-" + n, e); + }), + (n.prototype.getData = function(t, n) { + return this.getAttribute(t, "data-" + n); + }), + (n.prototype.getComputedStyle = function(t) { + return getComputedStyle(t); + }), + (n.prototype.supportsWebAnimation = function() { + return "function" == typeof Element.prototype.animate; + }), + (n.prototype.performanceNow = function() { + return window.performance && window.performance.now + ? window.performance.now() + : new Date().getTime(); + }), + (n.prototype.supportsCookies = function() { + return !0; + }), + (n.prototype.getCookie = function(t) { + return ms(document.cookie, t); + }), + (n.prototype.setCookie = function(t, n) { + document.cookie = + encodeURIComponent(t) + "=" + encodeURIComponent(n); + }), + n + ); + })(du), + bu = null; + function _u() { + return !!window.history.pushState; + } + var yu = (function(t) { + function n(n) { + var e = t.call(this) || this; + return (e._doc = n), e._init(), e; + } + return ( + Object(o.__extends)(n, t), + (n.prototype._init = function() { + (this.location = cu().getLocation()), + (this._history = cu().getHistory()); + }), + (n.prototype.getBaseHrefFromDOM = function() { + return cu().getBaseHref(this._doc); + }), + (n.prototype.onPopState = function(t) { + cu() + .getGlobalEventTarget(this._doc, "window") + .addEventListener("popstate", t, !1); + }), + (n.prototype.onHashChange = function(t) { + cu() + .getGlobalEventTarget(this._doc, "window") + .addEventListener("hashchange", t, !1); + }), + Object.defineProperty(n.prototype, "href", { + get: function() { + return this.location.href; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "protocol", { + get: function() { + return this.location.protocol; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "hostname", { + get: function() { + return this.location.hostname; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "port", { + get: function() { + return this.location.port; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "pathname", { + get: function() { + return this.location.pathname; + }, + set: function(t) { + this.location.pathname = t; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "search", { + get: function() { + return this.location.search; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "hash", { + get: function() { + return this.location.hash; + }, + enumerable: !0, + configurable: !0 + }), + (n.prototype.pushState = function(t, n, e) { + _u() + ? this._history.pushState(t, n, e) + : (this.location.hash = e); + }), + (n.prototype.replaceState = function(t, n, e) { + _u() + ? this._history.replaceState(t, n, e) + : (this.location.hash = e); + }), + (n.prototype.forward = function() { + this._history.forward(); + }), + (n.prototype.back = function() { + this._history.back(); + }), + (n.prototype.getState = function() { + return this._history.state; + }), + Object(o.__decorate)( + [ + Object(o.__param)(0, mt(Ds)), + Object(o.__metadata)("design:paramtypes", [Object]) + ], + n + ) + ); + })(Jl), + Cu = new Ut("TRANSITION_ID"), + vu = [ + { + provide: cr, + useFactory: function(t, n, e) { + return function() { + e.get(ur).donePromise.then(function() { + var e = cu(); + Array.prototype.slice + .apply(e.querySelectorAll(n, "style[ng-transition]")) + .filter(function(n) { + return e.getAttribute(n, "ng-transition") === t; + }) + .forEach(function(t) { + return e.remove(t); + }); + }); + }; + }, + deps: [Cu, Ds, Zt], + multi: !0 + } + ], + Ou = (function() { + function t() {} + return ( + (t.init = function() { + var n; + (n = new t()), (qr = n); + }), + (t.prototype.addToWindow = function(t) { + (Et.getAngularTestability = function(n, e) { + void 0 === e && (e = !0); + var o = t.findTestabilityInTree(n, e); + if (null == o) + throw new Error("Could not find testability for element."); + return o; + }), + (Et.getAllAngularTestabilities = function() { + return t.getAllTestabilities(); + }), + (Et.getAllAngularRootElements = function() { + return t.getAllRootElements(); + }), + Et.frameworkStabilizers || (Et.frameworkStabilizers = []), + Et.frameworkStabilizers.push(function(t) { + var n = Et.getAllAngularTestabilities(), + e = n.length, + o = !1, + a = function(n) { + (o = o || n), 0 == --e && t(o); + }; + n.forEach(function(t) { + t.whenStable(a); + }); + }); + }), + (t.prototype.findTestabilityInTree = function(t, n, e) { + if (null == n) return null; + var o = t.getTestability(n); + return null != o + ? o + : e + ? cu().isShadowRoot(n) + ? this.findTestabilityInTree(t, cu().getHost(n), !0) + : this.findTestabilityInTree(t, cu().parentElement(n), !0) + : null; + }), + t + ); + })(); + function Pu(t, n) { + ("undefined" != typeof COMPILED && COMPILED) || + ((Et.ng = Et.ng || {})[t] = n); + } + var Mu = (function() { + return { ApplicationRef: Xr, NgZone: Dr }; + })(); + function xu(t) { + return li(t); + } + var ku = new Ut("EventManagerPlugins"), + wu = (function() { + function t(t, n) { + var e = this; + (this._zone = n), + (this._eventNameToPlugin = new Map()), + t.forEach(function(t) { + return (t.manager = e); + }), + (this._plugins = t.slice().reverse()); + } + return ( + (t.prototype.addEventListener = function(t, n, e) { + return this._findPluginFor(n).addEventListener(t, n, e); + }), + (t.prototype.addGlobalEventListener = function(t, n, e) { + return this._findPluginFor(n).addGlobalEventListener(t, n, e); + }), + (t.prototype.getZone = function() { + return this._zone; + }), + (t.prototype._findPluginFor = function(t) { + var n = this._eventNameToPlugin.get(t); + if (n) return n; + for (var e = this._plugins, o = 0; o < e.length; o++) { + var a = e[o]; + if (a.supports(t)) return this._eventNameToPlugin.set(t, a), a; + } + throw new Error("No event manager plugin found for event " + t); + }), + t + ); + })(), + Su = (function() { + function t(t) { + this._doc = t; + } + return ( + (t.prototype.addGlobalEventListener = function(t, n, e) { + var o = cu().getGlobalEventTarget(this._doc, t); + if (!o) + throw new Error( + "Unsupported event target " + o + " for event " + n + ); + return this.addEventListener(o, n, e); + }), + t + ); + })(), + Eu = (function() { + function t() { + this._stylesSet = new Set(); + } + return ( + (t.prototype.addStyles = function(t) { + var n = this, + e = new Set(); + t.forEach(function(t) { + n._stylesSet.has(t) || (n._stylesSet.add(t), e.add(t)); + }), + this.onStylesAdded(e); + }), + (t.prototype.onStylesAdded = function(t) {}), + (t.prototype.getAllStyles = function() { + return Array.from(this._stylesSet); + }), + t + ); + })(), + Iu = (function(t) { + function n(n) { + var e = t.call(this) || this; + return ( + (e._doc = n), + (e._hostNodes = new Set()), + (e._styleNodes = new Set()), + e._hostNodes.add(n.head), + e + ); + } + return ( + Object(o.__extends)(n, t), + (n.prototype._addStylesToHost = function(t, n) { + var e = this; + t.forEach(function(t) { + var o = e._doc.createElement("style"); + (o.textContent = t), e._styleNodes.add(n.appendChild(o)); + }); + }), + (n.prototype.addHost = function(t) { + this._addStylesToHost(this._stylesSet, t), this._hostNodes.add(t); + }), + (n.prototype.removeHost = function(t) { + this._hostNodes.delete(t); + }), + (n.prototype.onStylesAdded = function(t) { + var n = this; + this._hostNodes.forEach(function(e) { + return n._addStylesToHost(t, e); + }); + }), + (n.prototype.ngOnDestroy = function() { + this._styleNodes.forEach(function(t) { + return cu().remove(t); + }); + }), + n + ); + })(Eu), + Au = { + 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/" + }, + Tu = /%COMP%/g, + Ru = "_nghost-%COMP%", + Du = "_ngcontent-%COMP%"; + function Nu(t, n, e) { + for (var o = 0; o < n.length; o++) { + var a = n[o]; + Array.isArray(a) ? Nu(t, a, e) : ((a = a.replace(Tu, t)), e.push(a)); + } + return e; + } + function zu(t) { + return function(n) { + !1 === t(n) && (n.preventDefault(), (n.returnValue = !1)); + }; + } + var Lu = (function() { + function t(t, n, e) { + (this.eventManager = t), + (this.sharedStylesHost = n), + (this.appId = e), + (this.rendererByCompId = new Map()), + (this.defaultRenderer = new ju(t)); + } + return ( + (t.prototype.createRenderer = function(t, n) { + if (!t || !n) return this.defaultRenderer; + switch (n.encapsulation) { + case An.Emulated: + var e = this.rendererByCompId.get(n.id); + return ( + e || + ((e = new Vu( + this.eventManager, + this.sharedStylesHost, + n, + this.appId + )), + this.rendererByCompId.set(n.id, e)), + e.applyToHost(t), + e + ); + case An.Native: + case An.ShadowDom: + return new Hu(this.eventManager, this.sharedStylesHost, t, n); + default: + if (!this.rendererByCompId.has(n.id)) { + var o = Nu(n.id, n.styles, []); + this.sharedStylesHost.addStyles(o), + this.rendererByCompId.set(n.id, this.defaultRenderer); + } + return this.defaultRenderer; + } + }), + (t.prototype.begin = function() {}), + (t.prototype.end = function() {}), + t + ); + })(), + ju = (function() { + function t(t) { + (this.eventManager = t), (this.data = Object.create(null)); + } + return ( + (t.prototype.destroy = function() {}), + (t.prototype.createElement = function(t, n) { + return n + ? document.createElementNS(Au[n] || n, t) + : document.createElement(t); + }), + (t.prototype.createComment = function(t) { + return document.createComment(t); + }), + (t.prototype.createText = function(t) { + return document.createTextNode(t); + }), + (t.prototype.appendChild = function(t, n) { + t.appendChild(n); + }), + (t.prototype.insertBefore = function(t, n, e) { + t && t.insertBefore(n, e); + }), + (t.prototype.removeChild = function(t, n) { + t && t.removeChild(n); + }), + (t.prototype.selectRootElement = function(t, n) { + var e = "string" == typeof t ? document.querySelector(t) : t; + if (!e) + throw new Error( + 'The selector "' + t + '" did not match any elements' + ); + return n || (e.textContent = ""), e; + }), + (t.prototype.parentNode = function(t) { + return t.parentNode; + }), + (t.prototype.nextSibling = function(t) { + return t.nextSibling; + }), + (t.prototype.setAttribute = function(t, n, e, o) { + if (o) { + n = o + ":" + n; + var a = Au[o]; + a ? t.setAttributeNS(a, n, e) : t.setAttribute(n, e); + } else t.setAttribute(n, e); + }), + (t.prototype.removeAttribute = function(t, n, e) { + if (e) { + var o = Au[e]; + o ? t.removeAttributeNS(o, n) : t.removeAttribute(e + ":" + n); + } else t.removeAttribute(n); + }), + (t.prototype.addClass = function(t, n) { + t.classList.add(n); + }), + (t.prototype.removeClass = function(t, n) { + t.classList.remove(n); + }), + (t.prototype.setStyle = function(t, n, e, o) { + o & Fe.DashCase + ? t.style.setProperty(n, e, o & Fe.Important ? "important" : "") + : (t.style[n] = e); + }), + (t.prototype.removeStyle = function(t, n, e) { + e & Fe.DashCase ? t.style.removeProperty(n) : (t.style[n] = ""); + }), + (t.prototype.setProperty = function(t, n, e) { + Bu(n, "property"), (t[n] = e); + }), + (t.prototype.setValue = function(t, n) { + t.nodeValue = n; + }), + (t.prototype.listen = function(t, n, e) { + return ( + Bu(n, "listener"), + "string" == typeof t + ? this.eventManager.addGlobalEventListener(t, n, zu(e)) + : this.eventManager.addEventListener(t, n, zu(e)) + ); + }), + t + ); + })(), + Fu = (function() { + return "@".charCodeAt(0); + })(); + function Bu(t, n) { + if (t.charCodeAt(0) === Fu) + throw new Error( + "Found the synthetic " + + n + + " " + + t + + '. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.' + ); + } + var Vu = (function(t) { + function n(n, e, o, a) { + var r = t.call(this, n) || this; + r.component = o; + var i = Nu(a + "-" + o.id, o.styles, []); + return ( + e.addStyles(i), + (r.contentAttr = Du.replace(Tu, a + "-" + o.id)), + (r.hostAttr = Ru.replace(Tu, a + "-" + o.id)), + r + ); + } + return ( + Object(o.__extends)(n, t), + (n.prototype.applyToHost = function(n) { + t.prototype.setAttribute.call(this, n, this.hostAttr, ""); + }), + (n.prototype.createElement = function(n, e) { + var o = t.prototype.createElement.call(this, n, e); + return ( + t.prototype.setAttribute.call(this, o, this.contentAttr, ""), o + ); + }), + n + ); + })(ju), + Hu = (function(t) { + function n(n, e, o, a) { + var r = t.call(this, n) || this; + (r.sharedStylesHost = e), + (r.hostEl = o), + (r.component = a), + (r.shadowRoot = + a.encapsulation === An.ShadowDom + ? o.attachShadow({ mode: "open" }) + : o.createShadowRoot()), + r.sharedStylesHost.addHost(r.shadowRoot); + for (var i = Nu(a.id, a.styles, []), l = 0; l < i.length; l++) { + var s = document.createElement("style"); + (s.textContent = i[l]), r.shadowRoot.appendChild(s); + } + return r; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.nodeOrShadowRoot = function(t) { + return t === this.hostEl ? this.shadowRoot : t; + }), + (n.prototype.destroy = function() { + this.sharedStylesHost.removeHost(this.shadowRoot); + }), + (n.prototype.appendChild = function(n, e) { + return t.prototype.appendChild.call( + this, + this.nodeOrShadowRoot(n), + e + ); + }), + (n.prototype.insertBefore = function(n, e, o) { + return t.prototype.insertBefore.call( + this, + this.nodeOrShadowRoot(n), + e, + o + ); + }), + (n.prototype.removeChild = function(n, e) { + return t.prototype.removeChild.call( + this, + this.nodeOrShadowRoot(n), + e + ); + }), + (n.prototype.parentNode = function(n) { + return this.nodeOrShadowRoot( + t.prototype.parentNode.call(this, this.nodeOrShadowRoot(n)) + ); + }), + n + ); + })(ju), + Uu = (function() { + return ( + ("undefined" != typeof Zone && Zone.__symbol__) || + function(t) { + return "__zone_symbol__" + t; + } + ); + })(), + qu = Uu("addEventListener"), + Ku = Uu("removeEventListener"), + Yu = {}, + Wu = "__zone_symbol__propagationStopped", + Gu = (function() { + var t = "undefined" != typeof Zone && Zone[Uu("BLACK_LISTED_EVENTS")]; + if (t) { + var n = {}; + return ( + t.forEach(function(t) { + n[t] = t; + }), + n + ); + } + })(), + Zu = function(t) { + return !!Gu && Gu.hasOwnProperty(t); + }, + Qu = function(t) { + var n = Yu[t.type]; + if (n) { + var e = this[n]; + if (e) { + var o = [t]; + if (1 === e.length) + return (i = e[0]).zone !== Zone.current + ? i.zone.run(i.handler, this, o) + : i.handler.apply(this, o); + for ( + var a = e.slice(), r = 0; + r < a.length && !0 !== t[Wu]; + r++ + ) { + var i; + (i = a[r]).zone !== Zone.current + ? i.zone.run(i.handler, this, o) + : i.handler.apply(this, o); + } + } + } + }, + Xu = (function(t) { + function n(n, e, o) { + var a = t.call(this, n) || this; + return (a.ngZone = e), (o && js(o)) || a.patchEvent(), a; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.patchEvent = function() { + if ( + "undefined" != typeof Event && + Event && + Event.prototype && + !Event.prototype.__zone_symbol__stopImmediatePropagation + ) { + var t = (Event.prototype.__zone_symbol__stopImmediatePropagation = + Event.prototype.stopImmediatePropagation); + Event.prototype.stopImmediatePropagation = function() { + this && (this[Wu] = !0), t && t.apply(this, arguments); + }; + } + }), + (n.prototype.supports = function(t) { + return !0; + }), + (n.prototype.addEventListener = function(t, n, e) { + var o = this, + a = e; + if (!t[qu] || (Dr.isInAngularZone() && !Zu(n))) + t.addEventListener(n, a, !1); + else { + var r = Yu[n]; + r || (r = Yu[n] = Uu("ANGULAR" + n + "FALSE")); + var i = t[r], + l = i && i.length > 0; + i || (i = t[r] = []); + var s = Zu(n) ? Zone.root : Zone.current; + if (0 === i.length) i.push({ zone: s, handler: a }); + else { + for (var c = !1, u = 0; u < i.length; u++) + if (i[u].handler === a) { + c = !0; + break; + } + c || i.push({ zone: s, handler: a }); + } + l || t[qu](n, Qu, !1); + } + return function() { + return o.removeEventListener(t, n, a); + }; + }), + (n.prototype.removeEventListener = function(t, n, e) { + var o = t[Ku]; + if (!o) return t.removeEventListener.apply(t, [n, e, !1]); + var a = Yu[n], + r = a && t[a]; + if (!r) return t.removeEventListener.apply(t, [n, e, !1]); + for (var i = !1, l = 0; l < r.length; l++) + if (r[l].handler === e) { + (i = !0), r.splice(l, 1); + break; + } + i + ? 0 === r.length && o.apply(t, [n, Qu, !1]) + : t.removeEventListener.apply(t, [n, e, !1]); + }), + n + ); + })(Su), + Ju = { + pan: !0, + panstart: !0, + panmove: !0, + panend: !0, + pancancel: !0, + panleft: !0, + panright: !0, + panup: !0, + pandown: !0, + pinch: !0, + pinchstart: !0, + pinchmove: !0, + pinchend: !0, + pinchcancel: !0, + pinchin: !0, + pinchout: !0, + press: !0, + pressup: !0, + rotate: !0, + rotatestart: !0, + rotatemove: !0, + rotateend: !0, + rotatecancel: !0, + swipe: !0, + swipeleft: !0, + swiperight: !0, + swipeup: !0, + swipedown: !0, + tap: !0 + }, + $u = new Ut("HammerGestureConfig"), + td = new Ut("HammerLoader"), + nd = (function() { + function t() { + (this.events = []), (this.overrides = {}); + } + return ( + (t.prototype.buildHammer = function(t) { + var n = new Hammer(t, this.options); + for (var e in (n.get("pinch").set({ enable: !0 }), + n.get("rotate").set({ enable: !0 }), + this.overrides)) + n.get(e).set(this.overrides[e]); + return n; + }), + t + ); + })(), + ed = (function(t) { + function n(n, e, o, a) { + var r = t.call(this, n) || this; + return (r._config = e), (r.console = o), (r.loader = a), r; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.supports = function(t) { + return !( + (!Ju.hasOwnProperty(t.toLowerCase()) && + !this.isCustomEvent(t)) || + (!window.Hammer && + !this.loader && + (this.console.warn( + 'The "' + + t + + '" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.' + ), + 1)) + ); + }), + (n.prototype.addEventListener = function(t, n, e) { + var o = this, + a = this.manager.getZone(); + if (((n = n.toLowerCase()), !window.Hammer && this.loader)) { + var r = !1, + i = function() { + r = !0; + }; + return ( + this.loader() + .then(function() { + if (!window.Hammer) + return ( + o.console.warn( + "The custom HAMMER_LOADER completed, but Hammer.JS is not present." + ), + void (i = function() {}) + ); + r || (i = o.addEventListener(t, n, e)); + }) + .catch(function() { + o.console.warn( + 'The "' + + n + + '" event cannot be bound because the custom Hammer.JS loader failed.' + ), + (i = function() {}); + }), + function() { + i(); + } + ); + } + return a.runOutsideAngular(function() { + var r = o._config.buildHammer(t), + i = function(t) { + a.runGuarded(function() { + e(t); + }); + }; + return ( + r.on(n, i), + function() { + r.off(n, i), "function" == typeof r.destroy && r.destroy(); + } + ); + }); + }), + (n.prototype.isCustomEvent = function(t) { + return this._config.events.indexOf(t) > -1; + }), + n + ); + })(Su), + od = ["alt", "control", "meta", "shift"], + ad = { + alt: function(t) { + return t.altKey; + }, + control: function(t) { + return t.ctrlKey; + }, + meta: function(t) { + return t.metaKey; + }, + shift: function(t) { + return t.shiftKey; + } + }, + rd = (function(t) { + function n(n) { + return t.call(this, n) || this; + } + var e; + return ( + Object(o.__extends)(n, t), + (e = n), + (n.prototype.supports = function(t) { + return null != e.parseEventName(t); + }), + (n.prototype.addEventListener = function(t, n, o) { + var a = e.parseEventName(n), + r = e.eventCallback(a.fullKey, o, this.manager.getZone()); + return this.manager.getZone().runOutsideAngular(function() { + return cu().onAndCancel(t, a.domEventName, r); + }); + }), + (n.parseEventName = function(t) { + var n = t.toLowerCase().split("."), + o = n.shift(); + if (0 === n.length || ("keydown" !== o && "keyup" !== o)) + return null; + var a = e._normalizeKey(n.pop()), + r = ""; + if ( + (od.forEach(function(t) { + var e = n.indexOf(t); + e > -1 && (n.splice(e, 1), (r += t + ".")); + }), + (r += a), + 0 != n.length || 0 === a.length) + ) + return null; + var i = {}; + return (i.domEventName = o), (i.fullKey = r), i; + }), + (n.getEventFullKey = function(t) { + var n = "", + e = cu().getEventKey(t); + return ( + " " === (e = e.toLowerCase()) + ? (e = "space") + : "." === e && (e = "dot"), + od.forEach(function(o) { + o != e && (0, ad[o])(t) && (n += o + "."); + }), + (n += e) + ); + }), + (n.eventCallback = function(t, n, o) { + return function(a) { + e.getEventFullKey(a) === t && + o.runGuarded(function() { + return n(a); + }); + }; + }), + (n._normalizeKey = function(t) { + switch (t) { + case "esc": + return "escape"; + default: + return t; + } + }), + n + ); + })(Su), + id = (function() { + return function() {}; + })(), + ld = (function(t) { + function n(n) { + var e = t.call(this) || this; + return (e._doc = n), e; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.sanitize = function(t, n) { + if (null == n) return null; + switch (t) { + case le.NONE: + return n; + case le.HTML: + return n instanceof cd + ? n.changingThisBreaksApplicationSecurity + : (this.checkNotSafeValue(n, "HTML"), + (function(t, n) { + var e = null; + try { + Yn = Yn || new Bn(t); + var o = n ? String(n) : ""; + e = Yn.getInertBodyElement(o); + var a = 5, + r = o; + do { + if (0 === a) + throw new Error( + "Failed to sanitize html because the input is unstable" + ); + a--, + (o = r), + (r = e.innerHTML), + (e = Yn.getInertBodyElement(o)); + } while (o !== r); + var i = new ee(), + l = i.sanitizeChildren(ie(e) || e); + return ( + Fn() && + i.sanitizedSomething && + console.warn( + "WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss" + ), + l + ); + } finally { + if (e) + for (var s = ie(e) || e; s.firstChild; ) + s.removeChild(s.firstChild); + } + })(this._doc, String(n))); + case le.STYLE: + return n instanceof ud + ? n.changingThisBreaksApplicationSecurity + : (this.checkNotSafeValue(n, "Style"), + (function(t) { + if (!(t = String(t).trim())) return ""; + var n = t.match(ue); + return (n && Un(n[1]) === n[1]) || + (t.match(ce) && + (function(t) { + for ( + var n = !0, e = !0, o = 0; + o < t.length; + o++ + ) { + var a = t.charAt(o); + "'" === a && e + ? (n = !n) + : '"' === a && n && (e = !e); + } + return n && e; + })(t)) + ? t + : (Fn() && + console.warn( + "WARNING: sanitizing unsafe style value " + + t + + " (see http://g.co/ng/security#xss)." + ), + "unsafe"); + })(n)); + case le.SCRIPT: + if (n instanceof dd) + return n.changingThisBreaksApplicationSecurity; + throw (this.checkNotSafeValue(n, "Script"), + new Error("unsafe value used in a script context")); + case le.URL: + return n instanceof md || n instanceof pd + ? n.changingThisBreaksApplicationSecurity + : (this.checkNotSafeValue(n, "URL"), Un(String(n))); + case le.RESOURCE_URL: + if (n instanceof md) + return n.changingThisBreaksApplicationSecurity; + throw (this.checkNotSafeValue(n, "ResourceURL"), + new Error( + "unsafe value used in a resource URL context (see http://g.co/ng/security#xss)" + )); + default: + throw new Error( + "Unexpected SecurityContext " + + t + + " (see http://g.co/ng/security#xss)" + ); + } + }), + (n.prototype.checkNotSafeValue = function(t, n) { + if (t instanceof sd) + throw new Error( + "Required a safe " + + n + + ", got a " + + t.getTypeName() + + " (see http://g.co/ng/security#xss)" + ); + }), + (n.prototype.bypassSecurityTrustHtml = function(t) { + return new cd(t); + }), + (n.prototype.bypassSecurityTrustStyle = function(t) { + return new ud(t); + }), + (n.prototype.bypassSecurityTrustScript = function(t) { + return new dd(t); + }), + (n.prototype.bypassSecurityTrustUrl = function(t) { + return new pd(t); + }), + (n.prototype.bypassSecurityTrustResourceUrl = function(t) { + return new md(t); + }), + n + ); + })(id), + sd = (function() { + function t(t) { + this.changingThisBreaksApplicationSecurity = t; + } + return ( + (t.prototype.toString = function() { + return ( + "SafeValue must use [property]=binding: " + + this.changingThisBreaksApplicationSecurity + + " (see http://g.co/ng/security#xss)" + ); + }), + t + ); + })(), + cd = (function(t) { + function n() { + return (null !== t && t.apply(this, arguments)) || this; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.getTypeName = function() { + return "HTML"; + }), + n + ); + })(sd), + ud = (function(t) { + function n() { + return (null !== t && t.apply(this, arguments)) || this; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.getTypeName = function() { + return "Style"; + }), + n + ); + })(sd), + dd = (function(t) { + function n() { + return (null !== t && t.apply(this, arguments)) || this; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.getTypeName = function() { + return "Script"; + }), + n + ); + })(sd), + pd = (function(t) { + function n() { + return (null !== t && t.apply(this, arguments)) || this; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.getTypeName = function() { + return "URL"; + }), + n + ); + })(sd), + md = (function(t) { + function n() { + return (null !== t && t.apply(this, arguments)) || this; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.getTypeName = function() { + return "ResourceURL"; + }), + n + ); + })(sd), + gd = Wr(ci, "browser", [ + { provide: fr, useValue: Ns }, + { + provide: gr, + useValue: function() { + hu.makeCurrent(), Ou.init(); + }, + multi: !0 + }, + { provide: Jl, useClass: yu, deps: [Ds] }, + { + provide: Ds, + useFactory: function() { + return document; + }, + deps: [] + } + ]); + function fd() { + return new zn(); + } + var hd = (function() { + function t(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." + ); + } + var n; + return ( + (n = t), + (t.withServerTransition = function(t) { + return { + ngModule: n, + providers: [ + { provide: dr, useValue: t.appId }, + { provide: Cu, useExisting: dr }, + vu + ] + }; + }), + t + ); + })(); + "undefined" != typeof window && window; + var bd = (function() { + return function(t, n) { + (this.id = t), (this.url = n); + }; + })(), + _d = (function(t) { + function n(n, e, o, a) { + void 0 === o && (o = "imperative"), void 0 === a && (a = null); + var r = t.call(this, n, e) || this; + return (r.navigationTrigger = o), (r.restoredState = a), r; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.toString = function() { + return ( + "NavigationStart(id: " + this.id + ", url: '" + this.url + "')" + ); + }), + n + ); + })(bd), + yd = (function(t) { + function n(n, e, o) { + var a = t.call(this, n, e) || this; + return (a.urlAfterRedirects = o), a; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.toString = function() { + return ( + "NavigationEnd(id: " + + this.id + + ", url: '" + + this.url + + "', urlAfterRedirects: '" + + this.urlAfterRedirects + + "')" + ); + }), + n + ); + })(bd), + Cd = (function(t) { + function n(n, e, o) { + var a = t.call(this, n, e) || this; + return (a.reason = o), a; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.toString = function() { + return ( + "NavigationCancel(id: " + this.id + ", url: '" + this.url + "')" + ); + }), + n + ); + })(bd), + vd = (function(t) { + function n(n, e, o) { + var a = t.call(this, n, e) || this; + return (a.error = o), a; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.toString = function() { + return ( + "NavigationError(id: " + + this.id + + ", url: '" + + this.url + + "', error: " + + this.error + + ")" + ); + }), + n + ); + })(bd), + Od = (function(t) { + function n(n, e, o, a) { + var r = t.call(this, n, e) || this; + return (r.urlAfterRedirects = o), (r.state = a), r; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.toString = function() { + return ( + "RoutesRecognized(id: " + + this.id + + ", url: '" + + this.url + + "', urlAfterRedirects: '" + + this.urlAfterRedirects + + "', state: " + + this.state + + ")" + ); + }), + n + ); + })(bd), + Pd = (function(t) { + function n(n, e, o, a) { + var r = t.call(this, n, e) || this; + return (r.urlAfterRedirects = o), (r.state = a), r; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.toString = function() { + return ( + "GuardsCheckStart(id: " + + this.id + + ", url: '" + + this.url + + "', urlAfterRedirects: '" + + this.urlAfterRedirects + + "', state: " + + this.state + + ")" + ); + }), + n + ); + })(bd), + Md = (function(t) { + function n(n, e, o, a, r) { + var i = t.call(this, n, e) || this; + return ( + (i.urlAfterRedirects = o), + (i.state = a), + (i.shouldActivate = r), + i + ); + } + return ( + Object(o.__extends)(n, t), + (n.prototype.toString = function() { + return ( + "GuardsCheckEnd(id: " + + this.id + + ", url: '" + + this.url + + "', urlAfterRedirects: '" + + this.urlAfterRedirects + + "', state: " + + this.state + + ", shouldActivate: " + + this.shouldActivate + + ")" + ); + }), + n + ); + })(bd), + xd = (function(t) { + function n(n, e, o, a) { + var r = t.call(this, n, e) || this; + return (r.urlAfterRedirects = o), (r.state = a), r; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.toString = function() { + return ( + "ResolveStart(id: " + + this.id + + ", url: '" + + this.url + + "', urlAfterRedirects: '" + + this.urlAfterRedirects + + "', state: " + + this.state + + ")" + ); + }), + n + ); + })(bd), + kd = (function(t) { + function n(n, e, o, a) { + var r = t.call(this, n, e) || this; + return (r.urlAfterRedirects = o), (r.state = a), r; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.toString = function() { + return ( + "ResolveEnd(id: " + + this.id + + ", url: '" + + this.url + + "', urlAfterRedirects: '" + + this.urlAfterRedirects + + "', state: " + + this.state + + ")" + ); + }), + n + ); + })(bd), + wd = (function() { + function t(t) { + this.route = t; + } + return ( + (t.prototype.toString = function() { + return "RouteConfigLoadStart(path: " + this.route.path + ")"; + }), + t + ); + })(), + Sd = (function() { + function t(t) { + this.route = t; + } + return ( + (t.prototype.toString = function() { + return "RouteConfigLoadEnd(path: " + this.route.path + ")"; + }), + t + ); + })(), + Ed = (function() { + function t(t) { + this.snapshot = t; + } + return ( + (t.prototype.toString = function() { + return ( + "ChildActivationStart(path: '" + + ((this.snapshot.routeConfig && + this.snapshot.routeConfig.path) || + "") + + "')" + ); + }), + t + ); + })(), + Id = (function() { + function t(t) { + this.snapshot = t; + } + return ( + (t.prototype.toString = function() { + return ( + "ChildActivationEnd(path: '" + + ((this.snapshot.routeConfig && + this.snapshot.routeConfig.path) || + "") + + "')" + ); + }), + t + ); + })(), + Ad = (function() { + function t(t) { + this.snapshot = t; + } + return ( + (t.prototype.toString = function() { + return ( + "ActivationStart(path: '" + + ((this.snapshot.routeConfig && + this.snapshot.routeConfig.path) || + "") + + "')" + ); + }), + t + ); + })(), + Td = (function() { + function t(t) { + this.snapshot = t; + } + return ( + (t.prototype.toString = function() { + return ( + "ActivationEnd(path: '" + + ((this.snapshot.routeConfig && + this.snapshot.routeConfig.path) || + "") + + "')" + ); + }), + t + ); + })(), + Rd = (function() { + function t(t, n, e) { + (this.routerEvent = t), (this.position = n), (this.anchor = e); + } + return ( + (t.prototype.toString = function() { + return ( + "Scroll(anchor: '" + + this.anchor + + "', position: '" + + (this.position + ? this.position[0] + ", " + this.position[1] + : null) + + "')" + ); + }), + t + ); + })(), + Dd = (function() { + return function() {}; + })(), + Nd = "primary", + zd = (function() { + function t(t) { + this.params = t || {}; + } + return ( + (t.prototype.has = function(t) { + return this.params.hasOwnProperty(t); + }), + (t.prototype.get = function(t) { + if (this.has(t)) { + var n = this.params[t]; + return Array.isArray(n) ? n[0] : n; + } + return null; + }), + (t.prototype.getAll = function(t) { + if (this.has(t)) { + var n = this.params[t]; + return Array.isArray(n) ? n : [n]; + } + return []; + }), + Object.defineProperty(t.prototype, "keys", { + get: function() { + return Object.keys(this.params); + }, + enumerable: !0, + configurable: !0 + }), + t + ); + })(); + function Ld(t) { + return new zd(t); + } + var jd = "ngNavigationCancelingError"; + function Fd(t) { + var n = Error("NavigationCancelingError: " + t); + return (n[jd] = !0), n; + } + function Bd(t, n, e) { + var o = e.path.split("/"); + if (o.length > t.length) return null; + if ("full" === e.pathMatch && (n.hasChildren() || o.length < t.length)) + return null; + for (var a = {}, r = 0; r < o.length; r++) { + var i = o[r], + l = t[r]; + if (i.startsWith(":")) a[i.substring(1)] = l; + else if (i !== l.path) return null; + } + return { consumed: t.slice(0, o.length), posParams: a }; + } + var Vd = (function() { + return function(t, n) { + (this.routes = t), (this.module = n); + }; + })(); + function Hd(t, n) { + void 0 === n && (n = ""); + for (var e = 0; e < t.length; e++) { + var o = t[e]; + Ud(o, qd(n, o)); + } + } + function Ud(t, n) { + if (!t) + throw new Error( + "\n Invalid configuration of route '" + + n + + "': Encountered undefined route.\n The reason might be an extra comma.\n\n Example:\n const routes: Routes = [\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n { path: 'dashboard', component: DashboardComponent },, << two commas\n { path: 'detail/:id', component: HeroDetailComponent }\n ];\n " + ); + if (Array.isArray(t)) + throw new Error( + "Invalid configuration of route '" + + n + + "': Array cannot be specified" + ); + if ( + !t.component && + !t.children && + !t.loadChildren && + t.outlet && + t.outlet !== Nd + ) + throw new Error( + "Invalid configuration of route '" + + n + + "': a componentless route without children or loadChildren cannot have a named outlet set" + ); + if (t.redirectTo && t.children) + throw new Error( + "Invalid configuration of route '" + + n + + "': redirectTo and children cannot be used together" + ); + if (t.redirectTo && t.loadChildren) + throw new Error( + "Invalid configuration of route '" + + n + + "': redirectTo and loadChildren cannot be used together" + ); + if (t.children && t.loadChildren) + throw new Error( + "Invalid configuration of route '" + + n + + "': children and loadChildren cannot be used together" + ); + if (t.redirectTo && t.component) + throw new Error( + "Invalid configuration of route '" + + n + + "': redirectTo and component cannot be used together" + ); + if (t.path && t.matcher) + throw new Error( + "Invalid configuration of route '" + + n + + "': path and matcher cannot be used together" + ); + if ( + void 0 === t.redirectTo && + !t.component && + !t.children && + !t.loadChildren + ) + throw new Error( + "Invalid configuration of route '" + + n + + "'. One of the following must be provided: component, redirectTo, children or loadChildren" + ); + if (void 0 === t.path && void 0 === t.matcher) + throw new Error( + "Invalid configuration of route '" + + n + + "': routes must have either a path or a matcher specified" + ); + if ("string" == typeof t.path && "/" === t.path.charAt(0)) + throw new Error( + "Invalid configuration of route '" + + n + + "': path cannot start with a slash" + ); + if ("" === t.path && void 0 !== t.redirectTo && void 0 === t.pathMatch) + throw new Error( + "Invalid configuration of route '{path: \"" + + n + + '", redirectTo: "' + + t.redirectTo + + "\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'." + ); + if ( + void 0 !== t.pathMatch && + "full" !== t.pathMatch && + "prefix" !== t.pathMatch + ) + throw new Error( + "Invalid configuration of route '" + + n + + "': pathMatch can only be set to 'prefix' or 'full'" + ); + t.children && Hd(t.children, n); + } + function qd(t, n) { + return n + ? t || n.path + ? t && !n.path + ? t + "/" + : !t && n.path + ? n.path + : t + "/" + n.path + : "" + : t; + } + function Kd(t) { + var n = t.children && t.children.map(Kd), + e = n + ? Object(o.__assign)({}, t, { children: n }) + : Object(o.__assign)({}, t); + return ( + !e.component && + (n || e.loadChildren) && + e.outlet && + e.outlet !== Nd && + (e.component = Dd), + e + ); + } + function Yd(t, n) { + var e, + o = Object.keys(t), + a = Object.keys(n); + if (!o || !a || o.length != a.length) return !1; + for (var r = 0; r < o.length; r++) + if (t[(e = o[r])] !== n[e]) return !1; + return !0; + } + function Wd(t) { + return Array.prototype.concat.apply([], t); + } + function Gd(t) { + return t.length > 0 ? t[t.length - 1] : null; + } + function Zd(t, n) { + for (var e in t) t.hasOwnProperty(e) && n(t[e], e); + } + function Qd(t) { + return ge(t) ? t : me(t) ? W(Promise.resolve(t)) : Wl(t); + } + function Xd(t, n, e) { + return e + ? (function(t, n) { + return Yd(t, n); + })(t.queryParams, n.queryParams) && + (function t(n, e) { + if (!np(n.segments, e.segments)) return !1; + if (n.numberOfChildren !== e.numberOfChildren) return !1; + for (var o in e.children) { + if (!n.children[o]) return !1; + if (!t(n.children[o], e.children[o])) return !1; + } + return !0; + })(t.root, n.root) + : (function(t, n) { + return ( + Object.keys(n).length <= Object.keys(t).length && + Object.keys(n).every(function(e) { + return n[e] === t[e]; + }) + ); + })(t.queryParams, n.queryParams) && + (function t(n, e) { + return (function n(e, o, a) { + if (e.segments.length > a.length) + return ( + !!np((i = e.segments.slice(0, a.length)), a) && + !o.hasChildren() + ); + if (e.segments.length === a.length) { + if (!np(e.segments, a)) return !1; + for (var r in o.children) { + if (!e.children[r]) return !1; + if (!t(e.children[r], o.children[r])) return !1; + } + return !0; + } + var i = a.slice(0, e.segments.length), + l = a.slice(e.segments.length); + return ( + !!np(e.segments, i) && + !!e.children[Nd] && + n(e.children[Nd], o, l) + ); + })(n, e, e.segments); + })(t.root, n.root); + } + var Jd = (function() { + function t(t, n, e) { + (this.root = t), (this.queryParams = n), (this.fragment = e); + } + return ( + Object.defineProperty(t.prototype, "queryParamMap", { + get: function() { + return ( + this._queryParamMap || + (this._queryParamMap = Ld(this.queryParams)), + this._queryParamMap + ); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.toString = function() { + return rp.serialize(this); + }), + t + ); + })(), + $d = (function() { + function t(t, n) { + var e = this; + (this.segments = t), + (this.children = n), + (this.parent = null), + Zd(n, function(t, n) { + return (t.parent = e); + }); + } + return ( + (t.prototype.hasChildren = function() { + return this.numberOfChildren > 0; + }), + Object.defineProperty(t.prototype, "numberOfChildren", { + get: function() { + return Object.keys(this.children).length; + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.toString = function() { + return ip(this); + }), + t + ); + })(), + tp = (function() { + function t(t, n) { + (this.path = t), (this.parameters = n); + } + return ( + Object.defineProperty(t.prototype, "parameterMap", { + get: function() { + return ( + this._parameterMap || + (this._parameterMap = Ld(this.parameters)), + this._parameterMap + ); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.toString = function() { + return pp(this); + }), + t + ); + })(); + function np(t, n) { + return ( + t.length === n.length && + t.every(function(t, e) { + return t.path === n[e].path; + }) + ); + } + function ep(t, n) { + var e = []; + return ( + Zd(t.children, function(t, o) { + o === Nd && (e = e.concat(n(t, o))); + }), + Zd(t.children, function(t, o) { + o !== Nd && (e = e.concat(n(t, o))); + }), + e + ); + } + var op = (function() { + return function() {}; + })(), + ap = (function() { + function t() {} + return ( + (t.prototype.parse = function(t) { + var n = new bp(t); + return new Jd( + n.parseRootSegment(), + n.parseQueryParams(), + n.parseFragment() + ); + }), + (t.prototype.serialize = function(t) { + var n, e; + return ( + "/" + + (function t(n, e) { + if (!n.hasChildren()) return ip(n); + if (e) { + var o = n.children[Nd] ? t(n.children[Nd], !1) : "", + a = []; + return ( + Zd(n.children, function(n, e) { + e !== Nd && a.push(e + ":" + t(n, !1)); + }), + a.length > 0 ? o + "(" + a.join("//") + ")" : o + ); + } + var r = ep(n, function(e, o) { + return o === Nd + ? [t(n.children[Nd], !1)] + : [o + ":" + t(e, !1)]; + }); + return ip(n) + "/(" + r.join("//") + ")"; + })(t.root, !0) + + ((n = t.queryParams), + (e = Object.keys(n).map(function(t) { + var e = n[t]; + return Array.isArray(e) + ? e + .map(function(n) { + return sp(t) + "=" + sp(n); + }) + .join("&") + : sp(t) + "=" + sp(e); + })).length + ? "?" + e.join("&") + : "") + + ("string" == typeof t.fragment + ? "#" + encodeURI(t.fragment) + : "") + ); + }), + t + ); + })(), + rp = new ap(); + function ip(t) { + return t.segments + .map(function(t) { + return pp(t); + }) + .join("/"); + } + function lp(t) { + return encodeURIComponent(t) + .replace(/%40/g, "@") + .replace(/%3A/gi, ":") + .replace(/%24/g, "$") + .replace(/%2C/gi, ","); + } + function sp(t) { + return lp(t).replace(/%3B/gi, ";"); + } + function cp(t) { + return lp(t) + .replace(/\(/g, "%28") + .replace(/\)/g, "%29") + .replace(/%26/gi, "&"); + } + function up(t) { + return decodeURIComponent(t); + } + function dp(t) { + return up(t.replace(/\+/g, "%20")); + } + function pp(t) { + return ( + "" + + cp(t.path) + + ((n = t.parameters), + Object.keys(n) + .map(function(t) { + return ";" + cp(t) + "=" + cp(n[t]); + }) + .join("")) + ); + var n; + } + var mp = /^[^\/()?;=#]+/; + function gp(t) { + var n = t.match(mp); + return n ? n[0] : ""; + } + var fp = /^[^=?&#]+/, + hp = /^[^?&#]+/, + bp = (function() { + function t(t) { + (this.url = t), (this.remaining = t); + } + return ( + (t.prototype.parseRootSegment = function() { + return ( + this.consumeOptional("/"), + "" === this.remaining || + this.peekStartsWith("?") || + this.peekStartsWith("#") + ? new $d([], {}) + : new $d([], this.parseChildren()) + ); + }), + (t.prototype.parseQueryParams = function() { + var t = {}; + if (this.consumeOptional("?")) + do { + this.parseQueryParam(t); + } while (this.consumeOptional("&")); + return t; + }), + (t.prototype.parseFragment = function() { + return this.consumeOptional("#") + ? decodeURIComponent(this.remaining) + : null; + }), + (t.prototype.parseChildren = 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 n = {}; + this.peekStartsWith("/(") && + (this.capture("/"), (n = this.parseParens(!0))); + var e = {}; + return ( + this.peekStartsWith("(") && (e = this.parseParens(!1)), + (t.length > 0 || Object.keys(n).length > 0) && + (e[Nd] = new $d(t, n)), + e + ); + }), + (t.prototype.parseSegment = function() { + var t = gp(this.remaining); + if ("" === t && this.peekStartsWith(";")) + throw new Error( + "Empty path url segment cannot have parameters: '" + + this.remaining + + "'." + ); + return this.capture(t), new tp(up(t), this.parseMatrixParams()); + }), + (t.prototype.parseMatrixParams = function() { + for (var t = {}; this.consumeOptional(";"); ) this.parseParam(t); + return t; + }), + (t.prototype.parseParam = function(t) { + var n = gp(this.remaining); + if (n) { + this.capture(n); + var e = ""; + if (this.consumeOptional("=")) { + var o = gp(this.remaining); + o && this.capture((e = o)); + } + t[up(n)] = up(e); + } + }), + (t.prototype.parseQueryParam = function(t) { + var n, + e = (n = this.remaining.match(fp)) ? n[0] : ""; + if (e) { + this.capture(e); + var o = ""; + if (this.consumeOptional("=")) { + var a = (function(t) { + var n = t.match(hp); + return n ? n[0] : ""; + })(this.remaining); + a && this.capture((o = a)); + } + var r = dp(e), + i = dp(o); + if (t.hasOwnProperty(r)) { + var l = t[r]; + Array.isArray(l) || (t[r] = l = [l]), l.push(i); + } else t[r] = i; + } + }), + (t.prototype.parseParens = function(t) { + var n = {}; + for ( + this.capture("("); + !this.consumeOptional(")") && this.remaining.length > 0; + + ) { + var e = gp(this.remaining), + o = this.remaining[e.length]; + if ("/" !== o && ")" !== o && ";" !== o) + throw new Error("Cannot parse url '" + this.url + "'"); + var a = void 0; + e.indexOf(":") > -1 + ? ((a = e.substr(0, e.indexOf(":"))), + this.capture(a), + this.capture(":")) + : t && (a = Nd); + var r = this.parseChildren(); + (n[a] = 1 === Object.keys(r).length ? r[Nd] : new $d([], r)), + this.consumeOptional("//"); + } + return n; + }), + (t.prototype.peekStartsWith = function(t) { + return this.remaining.startsWith(t); + }), + (t.prototype.consumeOptional = function(t) { + return ( + !!this.peekStartsWith(t) && + ((this.remaining = this.remaining.substring(t.length)), !0) + ); + }), + (t.prototype.capture = function(t) { + if (!this.consumeOptional(t)) + throw new Error('Expected "' + t + '".'); + }), + t + ); + })(), + _p = (function() { + function t(t) { + this._root = t; + } + return ( + Object.defineProperty(t.prototype, "root", { + get: function() { + return this._root.value; + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.parent = function(t) { + var n = this.pathFromRoot(t); + return n.length > 1 ? n[n.length - 2] : null; + }), + (t.prototype.children = function(t) { + var n = yp(t, this._root); + return n + ? n.children.map(function(t) { + return t.value; + }) + : []; + }), + (t.prototype.firstChild = function(t) { + var n = yp(t, this._root); + return n && n.children.length > 0 ? n.children[0].value : null; + }), + (t.prototype.siblings = function(t) { + var n = Cp(t, this._root); + return n.length < 2 + ? [] + : n[n.length - 2].children + .map(function(t) { + return t.value; + }) + .filter(function(n) { + return n !== t; + }); + }), + (t.prototype.pathFromRoot = function(t) { + return Cp(t, this._root).map(function(t) { + return t.value; + }); + }), + t + ); + })(); + function yp(t, n) { + var e, a; + if (t === n.value) return n; + try { + for ( + var r = Object(o.__values)(n.children), i = r.next(); + !i.done; + i = r.next() + ) { + var l = yp(t, i.value); + if (l) return l; + } + } catch (s) { + e = { error: s }; + } finally { + try { + i && !i.done && (a = r.return) && a.call(r); + } finally { + if (e) throw e.error; + } + } + return null; + } + function Cp(t, n) { + var e, a; + if (t === n.value) return [n]; + try { + for ( + var r = Object(o.__values)(n.children), i = r.next(); + !i.done; + i = r.next() + ) { + var l = Cp(t, i.value); + if (l.length) return l.unshift(n), l; + } + } catch (s) { + e = { error: s }; + } finally { + try { + i && !i.done && (a = r.return) && a.call(r); + } finally { + if (e) throw e.error; + } + } + return []; + } + var vp = (function() { + function t(t, n) { + (this.value = t), (this.children = n); + } + return ( + (t.prototype.toString = function() { + return "TreeNode(" + this.value + ")"; + }), + t + ); + })(); + function Op(t) { + var n = {}; + return ( + t && + t.children.forEach(function(t) { + return (n[t.value.outlet] = t); + }), + n + ); + } + var Pp = (function(t) { + function n(n, e) { + var o = t.call(this, n) || this; + return (o.snapshot = e), Ep(o, n), o; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.toString = function() { + return this.snapshot.toString(); + }), + n + ); + })(_p); + function Mp(t, n) { + var e = (function(t, n) { + var e = new wp([], {}, {}, "", {}, Nd, n, null, t.root, -1, {}); + return new Sp("", new vp(e, [])); + })(t, n), + o = new Cc([new tp("", {})]), + a = new Cc({}), + r = new Cc({}), + i = new Cc({}), + l = new Cc(""), + s = new xp(o, a, i, l, r, Nd, n, e.root); + return (s.snapshot = e.root), new Pp(new vp(s, []), e); + } + var xp = (function() { + function t(t, n, e, o, a, r, i, l) { + (this.url = t), + (this.params = n), + (this.queryParams = e), + (this.fragment = o), + (this.data = a), + (this.outlet = r), + (this.component = i), + (this._futureSnapshot = l); + } + return ( + Object.defineProperty(t.prototype, "routeConfig", { + get: function() { + return this._futureSnapshot.routeConfig; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "root", { + get: function() { + return this._routerState.root; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "parent", { + get: function() { + return this._routerState.parent(this); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "firstChild", { + get: function() { + return this._routerState.firstChild(this); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "children", { + get: function() { + return this._routerState.children(this); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "pathFromRoot", { + get: function() { + return this._routerState.pathFromRoot(this); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "paramMap", { + get: function() { + return ( + this._paramMap || + (this._paramMap = this.params.pipe( + U(function(t) { + return Ld(t); + }) + )), + this._paramMap + ); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "queryParamMap", { + get: function() { + return ( + this._queryParamMap || + (this._queryParamMap = this.queryParams.pipe( + U(function(t) { + return Ld(t); + }) + )), + this._queryParamMap + ); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.toString = function() { + return this.snapshot + ? this.snapshot.toString() + : "Future(" + this._futureSnapshot + ")"; + }), + t + ); + })(); + function kp(t, n) { + void 0 === n && (n = "emptyOnly"); + var e = t.pathFromRoot, + a = 0; + if ("always" !== n) + for (a = e.length - 1; a >= 1; ) { + var r = e[a], + i = e[a - 1]; + if (r.routeConfig && "" === r.routeConfig.path) a--; + else { + if (i.component) break; + a--; + } + } + return (function(t) { + return t.reduce( + function(t, n) { + return { + params: Object(o.__assign)({}, t.params, n.params), + data: Object(o.__assign)({}, t.data, n.data), + resolve: Object(o.__assign)({}, t.resolve, n._resolvedData) + }; + }, + { params: {}, data: {}, resolve: {} } + ); + })(e.slice(a)); + } + var wp = (function() { + function t(t, n, e, o, a, r, i, l, s, c, u) { + (this.url = t), + (this.params = n), + (this.queryParams = e), + (this.fragment = o), + (this.data = a), + (this.outlet = r), + (this.component = i), + (this.routeConfig = l), + (this._urlSegment = s), + (this._lastPathIndex = c), + (this._resolve = u); + } + return ( + Object.defineProperty(t.prototype, "root", { + get: function() { + return this._routerState.root; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "parent", { + get: function() { + return this._routerState.parent(this); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "firstChild", { + get: function() { + return this._routerState.firstChild(this); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "children", { + get: function() { + return this._routerState.children(this); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "pathFromRoot", { + get: function() { + return this._routerState.pathFromRoot(this); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "paramMap", { + get: function() { + return ( + this._paramMap || (this._paramMap = Ld(this.params)), + this._paramMap + ); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "queryParamMap", { + get: function() { + return ( + this._queryParamMap || + (this._queryParamMap = Ld(this.queryParams)), + this._queryParamMap + ); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.toString = function() { + return ( + "Route(url:'" + + this.url + .map(function(t) { + return t.toString(); + }) + .join("/") + + "', path:'" + + (this.routeConfig ? this.routeConfig.path : "") + + "')" + ); + }), + t + ); + })(), + Sp = (function(t) { + function n(n, e) { + var o = t.call(this, e) || this; + return (o.url = n), Ep(o, e), o; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.toString = function() { + return Ip(this._root); + }), + n + ); + })(_p); + function Ep(t, n) { + (n.value._routerState = t), + n.children.forEach(function(n) { + return Ep(t, n); + }); + } + function Ip(t) { + var n = + t.children.length > 0 + ? " { " + t.children.map(Ip).join(", ") + " } " + : ""; + return "" + t.value + n; + } + function Ap(t) { + if (t.snapshot) { + var n = t.snapshot, + e = t._futureSnapshot; + (t.snapshot = e), + Yd(n.queryParams, e.queryParams) || + t.queryParams.next(e.queryParams), + n.fragment !== e.fragment && t.fragment.next(e.fragment), + Yd(n.params, e.params) || t.params.next(e.params), + (function(t, n) { + if (t.length !== n.length) return !1; + for (var e = 0; e < t.length; ++e) if (!Yd(t[e], n[e])) return !1; + return !0; + })(n.url, e.url) || t.url.next(e.url), + Yd(n.data, e.data) || t.data.next(e.data); + } else + (t.snapshot = t._futureSnapshot), t.data.next(t._futureSnapshot.data); + } + function Tp(t, n) { + var e, o; + return ( + Yd(t.params, n.params) && + np((e = t.url), (o = n.url)) && + e.every(function(t, n) { + return Yd(t.parameters, o[n].parameters); + }) && + !(!t.parent != !n.parent) && + (!t.parent || Tp(t.parent, n.parent)) + ); + } + function Rp(t) { + return ( + "object" == typeof t && null != t && !t.outlets && !t.segmentPath + ); + } + function Dp(t, n, e, o, a) { + var r = {}; + return ( + o && + Zd(o, function(t, n) { + r[n] = Array.isArray(t) + ? t.map(function(t) { + return "" + t; + }) + : "" + t; + }), + new Jd( + e.root === t + ? n + : (function t(n, e, o) { + var a = {}; + return ( + Zd(n.children, function(n, r) { + a[r] = n === e ? o : t(n, e, o); + }), + new $d(n.segments, a) + ); + })(e.root, t, n), + r, + a + ) + ); + } + var Np = (function() { + function t(t, n, e) { + if ( + ((this.isAbsolute = t), + (this.numberOfDoubleDots = n), + (this.commands = e), + t && e.length > 0 && Rp(e[0])) + ) + throw new Error("Root segment cannot have matrix parameters"); + var o = e.find(function(t) { + return "object" == typeof t && null != t && t.outlets; + }); + if (o && o !== Gd(e)) + throw new Error("{outlets:{}} has to be the last command"); + } + return ( + (t.prototype.toRoot = function() { + return ( + this.isAbsolute && + 1 === this.commands.length && + "/" == this.commands[0] + ); + }), + t + ); + })(), + zp = (function() { + return function(t, n, e) { + (this.segmentGroup = t), + (this.processChildren = n), + (this.index = e); + }; + })(); + function Lp(t) { + return "object" == typeof t && null != t && t.outlets + ? t.outlets[Nd] + : "" + t; + } + function jp(t, n, e) { + if ( + (t || (t = new $d([], {})), + 0 === t.segments.length && t.hasChildren()) + ) + return Fp(t, n, e); + var o = (function(t, n, e) { + for ( + var o = 0, + a = n, + r = { match: !1, pathIndex: 0, commandIndex: 0 }; + a < t.segments.length; + + ) { + if (o >= e.length) return r; + var i = t.segments[a], + l = Lp(e[o]), + s = o < e.length - 1 ? e[o + 1] : null; + if (a > 0 && void 0 === l) break; + if (l && s && "object" == typeof s && void 0 === s.outlets) { + if (!Up(l, s, i)) return r; + o += 2; + } else { + if (!Up(l, {}, i)) return r; + o++; + } + a++; + } + return { match: !0, pathIndex: a, commandIndex: o }; + })(t, n, e), + a = e.slice(o.commandIndex); + if (o.match && o.pathIndex < t.segments.length) { + var r = new $d(t.segments.slice(0, o.pathIndex), {}); + return ( + (r.children[Nd] = new $d( + t.segments.slice(o.pathIndex), + t.children + )), + Fp(r, 0, a) + ); + } + return o.match && 0 === a.length + ? new $d(t.segments, {}) + : o.match && !t.hasChildren() + ? Bp(t, n, e) + : o.match + ? Fp(t, 0, a) + : Bp(t, n, e); + } + function Fp(t, n, e) { + if (0 === e.length) return new $d(t.segments, {}); + var o = (function(t) { + var n, e; + return "object" != typeof t[0] + ? (((n = {})[Nd] = t), n) + : void 0 === t[0].outlets + ? (((e = {})[Nd] = t), e) + : t[0].outlets; + })(e), + a = {}; + return ( + Zd(o, function(e, o) { + null !== e && (a[o] = jp(t.children[o], n, e)); + }), + Zd(t.children, function(t, n) { + void 0 === o[n] && (a[n] = t); + }), + new $d(t.segments, a) + ); + } + function Bp(t, n, e) { + for (var o = t.segments.slice(0, n), a = 0; a < e.length; ) { + if ("object" == typeof e[a] && void 0 !== e[a].outlets) { + var r = Vp(e[a].outlets); + return new $d(o, r); + } + if (0 === a && Rp(e[0])) + o.push(new tp(t.segments[n].path, e[0])), a++; + else { + var i = Lp(e[a]), + l = a < e.length - 1 ? e[a + 1] : null; + i && l && Rp(l) + ? (o.push(new tp(i, Hp(l))), (a += 2)) + : (o.push(new tp(i, {})), a++); + } + } + return new $d(o, {}); + } + function Vp(t) { + var n = {}; + return ( + Zd(t, function(t, e) { + null !== t && (n[e] = Bp(new $d([], {}), 0, t)); + }), + n + ); + } + function Hp(t) { + var n = {}; + return ( + Zd(t, function(t, e) { + return (n[e] = "" + t); + }), + n + ); + } + function Up(t, n, e) { + return t == e.path && Yd(n, e.parameters); + } + var qp = (function() { + function t(t, n, e, o) { + (this.routeReuseStrategy = t), + (this.futureState = n), + (this.currState = e), + (this.forwardEvent = o); + } + return ( + (t.prototype.activate = function(t) { + var n = this.futureState._root, + e = this.currState ? this.currState._root : null; + this.deactivateChildRoutes(n, e, t), + Ap(this.futureState.root), + this.activateChildRoutes(n, e, t); + }), + (t.prototype.deactivateChildRoutes = function(t, n, e) { + var o = this, + a = Op(n); + t.children.forEach(function(t) { + var n = t.value.outlet; + o.deactivateRoutes(t, a[n], e), delete a[n]; + }), + Zd(a, function(t, n) { + o.deactivateRouteAndItsChildren(t, e); + }); + }), + (t.prototype.deactivateRoutes = function(t, n, e) { + var o = t.value, + a = n ? n.value : null; + if (o === a) + if (o.component) { + var r = e.getContext(o.outlet); + r && this.deactivateChildRoutes(t, n, r.children); + } else this.deactivateChildRoutes(t, n, e); + else a && this.deactivateRouteAndItsChildren(n, e); + }), + (t.prototype.deactivateRouteAndItsChildren = function(t, n) { + this.routeReuseStrategy.shouldDetach(t.value.snapshot) + ? this.detachAndStoreRouteSubtree(t, n) + : this.deactivateRouteAndOutlet(t, n); + }), + (t.prototype.detachAndStoreRouteSubtree = function(t, n) { + var e = n.getContext(t.value.outlet); + if (e && e.outlet) { + var o = e.outlet.detach(), + a = e.children.onOutletDeactivated(); + this.routeReuseStrategy.store(t.value.snapshot, { + componentRef: o, + route: t, + contexts: a + }); + } + }), + (t.prototype.deactivateRouteAndOutlet = function(t, n) { + var e = this, + o = n.getContext(t.value.outlet); + if (o) { + var a = Op(t), + r = t.value.component ? o.children : n; + Zd(a, function(t, n) { + return e.deactivateRouteAndItsChildren(t, r); + }), + o.outlet && + (o.outlet.deactivate(), o.children.onOutletDeactivated()); + } + }), + (t.prototype.activateChildRoutes = function(t, n, e) { + var o = this, + a = Op(n); + t.children.forEach(function(t) { + o.activateRoutes(t, a[t.value.outlet], e), + o.forwardEvent(new Td(t.value.snapshot)); + }), + t.children.length && this.forwardEvent(new Id(t.value.snapshot)); + }), + (t.prototype.activateRoutes = function(t, n, e) { + var o = t.value, + a = n ? n.value : null; + if ((Ap(o), o === a)) + if (o.component) { + var r = e.getOrCreateContext(o.outlet); + this.activateChildRoutes(t, n, r.children); + } else this.activateChildRoutes(t, n, e); + else if (o.component) + if ( + ((r = e.getOrCreateContext(o.outlet)), + this.routeReuseStrategy.shouldAttach(o.snapshot)) + ) { + var i = this.routeReuseStrategy.retrieve(o.snapshot); + this.routeReuseStrategy.store(o.snapshot, null), + r.children.onOutletReAttached(i.contexts), + (r.attachRef = i.componentRef), + (r.route = i.route.value), + r.outlet && r.outlet.attach(i.componentRef, i.route.value), + Kp(i.route); + } else { + var l = (function(t) { + for (var n = o.snapshot.parent; n; n = n.parent) { + var e = n.routeConfig; + if (e && e._loadedConfig) return e._loadedConfig; + if (e && e.component) return null; + } + return null; + })(), + s = l ? l.module.componentFactoryResolver : null; + (r.attachRef = null), + (r.route = o), + (r.resolver = s), + r.outlet && r.outlet.activateWith(o, s), + this.activateChildRoutes(t, null, r.children); + } + else this.activateChildRoutes(t, null, e); + }), + t + ); + })(); + function Kp(t) { + Ap(t.value), t.children.forEach(Kp); + } + function Yp(t) { + return "function" == typeof t; + } + function Wp(t) { + return t instanceof Jd; + } + var Gp = (function() { + return function(t) { + this.segmentGroup = t || null; + }; + })(), + Zp = (function() { + return function(t) { + this.urlTree = t; + }; + })(); + function Qp(t) { + return new O(function(n) { + return n.error(new Gp(t)); + }); + } + function Xp(t) { + return new O(function(n) { + return n.error(new Zp(t)); + }); + } + function Jp(t) { + return new O(function(n) { + return n.error( + new Error( + "Only absolute redirects can have named outlets. redirectTo: '" + + t + + "'" + ) + ); + }); + } + var $p = (function() { + function t(t, n, e, o, a) { + (this.configLoader = n), + (this.urlSerializer = e), + (this.urlTree = o), + (this.config = a), + (this.allowRedirects = !0), + (this.ngModule = t.get(Te)); + } + return ( + (t.prototype.apply = function() { + var t = this; + return this.expandSegmentGroup( + this.ngModule, + this.config, + this.urlTree.root, + Nd + ) + .pipe( + U(function(n) { + return t.createUrlTree( + n, + t.urlTree.queryParams, + t.urlTree.fragment + ); + }) + ) + .pipe( + Uc(function(n) { + if (n instanceof Zp) + return (t.allowRedirects = !1), t.match(n.urlTree); + if (n instanceof Gp) throw t.noMatchError(n); + throw n; + }) + ); + }), + (t.prototype.match = function(t) { + var n = this; + return this.expandSegmentGroup( + this.ngModule, + this.config, + t.root, + Nd + ) + .pipe( + U(function(e) { + return n.createUrlTree(e, t.queryParams, t.fragment); + }) + ) + .pipe( + Uc(function(t) { + if (t instanceof Gp) throw n.noMatchError(t); + throw t; + }) + ); + }), + (t.prototype.noMatchError = function(t) { + return new Error( + "Cannot match any routes. URL Segment: '" + t.segmentGroup + "'" + ); + }), + (t.prototype.createUrlTree = function(t, n, e) { + var o, + a = + t.segments.length > 0 ? new $d([], (((o = {})[Nd] = t), o)) : t; + return new Jd(a, n, e); + }), + (t.prototype.expandSegmentGroup = function(t, n, e, o) { + return 0 === e.segments.length && e.hasChildren() + ? this.expandChildren(t, n, e).pipe( + U(function(t) { + return new $d([], t); + }) + ) + : this.expandSegment(t, e, n, e.segments, o, !0); + }), + (t.prototype.expandChildren = function(t, n, e) { + var o = this; + return (function(e, a) { + if (0 === Object.keys(e).length) return Wl({}); + var r = [], + i = [], + l = {}; + return ( + Zd(e, function(e, a) { + var s, + c, + u = ((s = a), + (c = e), + o.expandSegmentGroup(t, n, c, s)).pipe( + U(function(t) { + return (l[a] = t); + }) + ); + a === Nd ? r.push(u) : i.push(u); + }), + Wl.apply(null, r.concat(i)).pipe( + Sc(), + Hc(), + U(function() { + return l; + }) + ) + ); + })(e.children); + }), + (t.prototype.expandSegment = function(t, n, e, a, r, i) { + var l = this; + return Wl.apply(void 0, Object(o.__spread)(e)).pipe( + U(function(o) { + return l.expandSegmentAgainstRoute(t, n, e, o, a, r, i).pipe( + Uc(function(t) { + if (t instanceof Gp) return Wl(null); + throw t; + }) + ); + }), + Sc(), + Zc(function(t) { + return !!t; + }), + Uc(function(t, e) { + if (t instanceof Oc || "EmptyError" === t.name) { + if (l.noLeftoversInUrl(n, a, r)) return Wl(new $d([], {})); + throw new Gp(n); + } + throw t; + }) + ); + }), + (t.prototype.noLeftoversInUrl = function(t, n, e) { + return 0 === n.length && !t.children[e]; + }), + (t.prototype.expandSegmentAgainstRoute = function( + t, + n, + e, + o, + a, + r, + i + ) { + return om(o) !== r + ? Qp(n) + : void 0 === o.redirectTo + ? this.matchSegmentAgainstRoute(t, n, o, a) + : i && this.allowRedirects + ? this.expandSegmentAgainstRouteUsingRedirect(t, n, e, o, a, r) + : Qp(n); + }), + (t.prototype.expandSegmentAgainstRouteUsingRedirect = function( + t, + n, + e, + o, + a, + r + ) { + return "**" === o.path + ? this.expandWildCardWithParamsAgainstRouteUsingRedirect( + t, + e, + o, + r + ) + : this.expandRegularSegmentAgainstRouteUsingRedirect( + t, + n, + e, + o, + a, + r + ); + }), + (t.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect = function( + t, + n, + e, + o + ) { + var a = this, + r = this.applyRedirectCommands([], e.redirectTo, {}); + return e.redirectTo.startsWith("/") + ? Xp(r) + : this.lineralizeSegments(e, r).pipe( + G(function(e) { + var r = new $d(e, {}); + return a.expandSegment(t, r, n, e, o, !1); + }) + ); + }), + (t.prototype.expandRegularSegmentAgainstRouteUsingRedirect = function( + t, + n, + e, + o, + a, + r + ) { + var i = this, + l = tm(n, o, a), + s = l.consumedSegments, + c = l.lastChild, + u = l.positionalParamSegments; + if (!l.matched) return Qp(n); + var d = this.applyRedirectCommands(s, o.redirectTo, u); + return o.redirectTo.startsWith("/") + ? Xp(d) + : this.lineralizeSegments(o, d).pipe( + G(function(o) { + return i.expandSegment( + t, + n, + e, + o.concat(a.slice(c)), + r, + !1 + ); + }) + ); + }), + (t.prototype.matchSegmentAgainstRoute = function(t, n, e, a) { + var r = this; + if ("**" === e.path) + return e.loadChildren + ? this.configLoader.load(t.injector, e).pipe( + U(function(t) { + return (e._loadedConfig = t), new $d(a, {}); + }) + ) + : Wl(new $d(a, {})); + var i = tm(n, e, a), + l = i.consumedSegments, + s = i.lastChild; + if (!i.matched) return Qp(n); + var c = a.slice(s); + return this.getChildConfig(t, e, a).pipe( + G(function(t) { + var e = t.module, + a = t.routes, + i = (function(t, n, e, a) { + return e.length > 0 && + (function(t, n, e) { + return a.some(function(e) { + return em(t, n, e) && om(e) !== Nd; + }); + })(t, e) + ? { + segmentGroup: nm( + new $d( + n, + (function(t, n) { + var e, + a, + r = {}; + r[Nd] = n; + try { + for ( + var i = Object(o.__values)(t), l = i.next(); + !l.done; + l = i.next() + ) { + var s = l.value; + "" === s.path && + om(s) !== Nd && + (r[om(s)] = new $d([], {})); + } + } catch (c) { + e = { error: c }; + } finally { + try { + l && !l.done && (a = i.return) && a.call(i); + } finally { + if (e) throw e.error; + } + } + return r; + })(a, new $d(e, t.children)) + ) + ), + slicedSegments: [] + } + : 0 === e.length && + (function(t, n, e) { + return a.some(function(e) { + return em(t, n, e); + }); + })(t, e) + ? { + segmentGroup: nm( + new $d( + t.segments, + (function(t, n, e, a) { + var r, + i, + l = {}; + try { + for ( + var s = Object(o.__values)(e), c = s.next(); + !c.done; + c = s.next() + ) { + var u = c.value; + em(t, n, u) && + !a[om(u)] && + (l[om(u)] = new $d([], {})); + } + } catch (d) { + r = { error: d }; + } finally { + try { + c && !c.done && (i = s.return) && i.call(s); + } finally { + if (r) throw r.error; + } + } + return Object(o.__assign)({}, a, l); + })(t, e, a, t.children) + ) + ), + slicedSegments: e + } + : { segmentGroup: t, slicedSegments: e }; + })(n, l, c, a), + s = i.segmentGroup, + u = i.slicedSegments; + return 0 === u.length && s.hasChildren() + ? r.expandChildren(e, a, s).pipe( + U(function(t) { + return new $d(l, t); + }) + ) + : 0 === a.length && 0 === u.length + ? Wl(new $d(l, {})) + : r.expandSegment(e, s, a, u, Nd, !0).pipe( + U(function(t) { + return new $d(l.concat(t.segments), t.children); + }) + ); + }) + ); + }), + (t.prototype.getChildConfig = function(t, n, e) { + var o = this; + return n.children + ? Wl(new Vd(n.children, t)) + : n.loadChildren + ? void 0 !== n._loadedConfig + ? Wl(n._loadedConfig) + : (function(t, n, e) { + var o, + a = n.canLoad; + return a && 0 !== a.length + ? W(a) + .pipe( + U(function(o) { + var a, + r = t.get(o); + if ( + (function(t) { + return t && Yp(t.canLoad); + })(r) + ) + a = r.canLoad(n, e); + else { + if (!Yp(r)) + throw new Error("Invalid CanLoad guard"); + a = r(n, e); + } + return Qd(a); + }) + ) + .pipe( + Sc(), + ((o = function(t) { + return !0 === t; + }), + function(t) { + return t.lift(new Qc(o, void 0, t)); + }) + ) + : Wl(!0); + })(t.injector, n, e).pipe( + G(function(e) { + return e + ? o.configLoader.load(t.injector, n).pipe( + U(function(t) { + return (n._loadedConfig = t), t; + }) + ) + : (function(t) { + return new O(function(n) { + return n.error( + Fd( + "Cannot load children because the guard of the route \"path: '" + + t.path + + "'\" returned false" + ) + ); + }); + })(n); + }) + ) + : Wl(new Vd([], t)); + }), + (t.prototype.lineralizeSegments = function(t, n) { + for (var e = [], o = n.root; ; ) { + if (((e = e.concat(o.segments)), 0 === o.numberOfChildren)) + return Wl(e); + if (o.numberOfChildren > 1 || !o.children[Nd]) + return Jp(t.redirectTo); + o = o.children[Nd]; + } + }), + (t.prototype.applyRedirectCommands = function(t, n, e) { + return this.applyRedirectCreatreUrlTree( + n, + this.urlSerializer.parse(n), + t, + e + ); + }), + (t.prototype.applyRedirectCreatreUrlTree = function(t, n, e, o) { + var a = this.createSegmentGroup(t, n.root, e, o); + return new Jd( + a, + this.createQueryParams(n.queryParams, this.urlTree.queryParams), + n.fragment + ); + }), + (t.prototype.createQueryParams = function(t, n) { + var e = {}; + return ( + Zd(t, function(t, o) { + if ("string" == typeof t && t.startsWith(":")) { + var a = t.substring(1); + e[o] = n[a]; + } else e[o] = t; + }), + e + ); + }), + (t.prototype.createSegmentGroup = function(t, n, e, o) { + var a = this, + r = this.createSegments(t, n.segments, e, o), + i = {}; + return ( + Zd(n.children, function(n, r) { + i[r] = a.createSegmentGroup(t, n, e, o); + }), + new $d(r, i) + ); + }), + (t.prototype.createSegments = function(t, n, e, o) { + var a = this; + return n.map(function(n) { + return n.path.startsWith(":") + ? a.findPosParam(t, n, o) + : a.findOrReturn(n, e); + }); + }), + (t.prototype.findPosParam = function(t, n, e) { + var o = e[n.path.substring(1)]; + if (!o) + throw new Error( + "Cannot redirect to '" + t + "'. Cannot find '" + n.path + "'." + ); + return o; + }), + (t.prototype.findOrReturn = function(t, n) { + var e, + a, + r = 0; + try { + for ( + var i = Object(o.__values)(n), l = i.next(); + !l.done; + l = i.next() + ) { + var s = l.value; + if (s.path === t.path) return n.splice(r), s; + r++; + } + } catch (c) { + e = { error: c }; + } finally { + try { + l && !l.done && (a = i.return) && a.call(i); + } finally { + if (e) throw e.error; + } + } + return t; + }), + t + ); + })(); + function tm(t, n, e) { + if ("" === n.path) + return "full" === n.pathMatch && (t.hasChildren() || e.length > 0) + ? { + matched: !1, + consumedSegments: [], + lastChild: 0, + positionalParamSegments: {} + } + : { + matched: !0, + consumedSegments: [], + lastChild: 0, + positionalParamSegments: {} + }; + var o = (n.matcher || Bd)(e, t, n); + return o + ? { + matched: !0, + consumedSegments: o.consumed, + lastChild: o.consumed.length, + positionalParamSegments: o.posParams + } + : { + matched: !1, + consumedSegments: [], + lastChild: 0, + positionalParamSegments: {} + }; + } + function nm(t) { + if (1 === t.numberOfChildren && t.children[Nd]) { + var n = t.children[Nd]; + return new $d(t.segments.concat(n.segments), n.children); + } + return t; + } + function em(t, n, e) { + return ( + (!(t.hasChildren() || n.length > 0) || "full" !== e.pathMatch) && + "" === e.path && + void 0 !== e.redirectTo + ); + } + function om(t) { + return t.outlet || Nd; + } + var am = (function() { + return function(t) { + (this.path = t), (this.route = this.path[this.path.length - 1]); + }; + })(), + rm = (function() { + return function(t, n) { + (this.component = t), (this.route = n); + }; + })(); + function im(t, n, e) { + var o = (function(t) { + if (!t) return null; + for (var n = t.parent; n; n = n.parent) { + var e = n.routeConfig; + if (e && e._loadedConfig) return e._loadedConfig; + } + return null; + })(n); + return (o ? o.module.injector : e).get(t); + } + function lm(t, n, e, o, a) { + void 0 === a && + (a = { canDeactivateChecks: [], canActivateChecks: [] }); + var r = Op(n); + return ( + t.children.forEach(function(t) { + !(function(t, n, e, o, a) { + void 0 === a && + (a = { canDeactivateChecks: [], canActivateChecks: [] }); + var r = t.value, + i = n ? n.value : null, + l = e ? e.getContext(t.value.outlet) : null; + if (i && r.routeConfig === i.routeConfig) { + var s = (function(t, n, e) { + if ("function" == typeof e) return e(t, n); + switch (e) { + case "pathParamsChange": + return !np(t.url, n.url); + case "pathParamsOrQueryParamsChange": + return ( + !np(t.url, n.url) || !Yd(t.queryParams, n.queryParams) + ); + case "always": + return !0; + case "paramsOrQueryParamsChange": + return !Tp(t, n) || !Yd(t.queryParams, n.queryParams); + case "paramsChange": + default: + return !Tp(t, n); + } + })(i, r, r.routeConfig.runGuardsAndResolvers); + s + ? a.canActivateChecks.push(new am(o)) + : ((r.data = i.data), (r._resolvedData = i._resolvedData)), + lm(t, n, r.component ? (l ? l.children : null) : e, o, a), + s && + a.canDeactivateChecks.push( + new rm((l && l.outlet && l.outlet.component) || null, i) + ); + } else + i && sm(n, l, a), + a.canActivateChecks.push(new am(o)), + lm(t, null, r.component ? (l ? l.children : null) : e, o, a); + })(t, r[t.value.outlet], e, o.concat([t.value]), a), + delete r[t.value.outlet]; + }), + Zd(r, function(t, n) { + return sm(t, e.getContext(n), a); + }), + a + ); + } + function sm(t, n, e) { + var o = Op(t), + a = t.value; + Zd(o, function(t, o) { + sm(t, a.component ? (n ? n.children.getContext(o) : null) : n, e); + }), + e.canDeactivateChecks.push( + new rm( + a.component && n && n.outlet && n.outlet.isActivated + ? n.outlet.component + : null, + a + ) + ); + } + var cm = Symbol("INITIAL_VALUE"); + function um() { + return Jc(function(t) { + return Mc.apply( + void 0, + Object(o.__spread)( + t.map(function(t) { + return t.pipe( + Yc(1), + nu(cm) + ); + }) + ) + ).pipe( + eu(function(t, n) { + var e = !1; + return n.reduce(function(t, o, a) { + if (t !== cm) return t; + if ((o === cm && (e = !0), !e)) { + if (!1 === o) return o; + if (a === n.length - 1 || Wp(o)) return o; + } + return t; + }, t); + }, cm), + Zl(function(t) { + return t !== cm; + }), + U(function(t) { + return Wp(t) ? t : !0 === t; + }), + Yc(1) + ); + }); + } + function dm(t, n) { + return null !== t && n && n(new Ad(t)), Wl(!0); + } + function pm(t, n) { + return null !== t && n && n(new Ed(t)), Wl(!0); + } + function mm(t, n, e) { + var o = n.routeConfig ? n.routeConfig.canActivate : null; + return o && 0 !== o.length + ? Wl( + o.map(function(o) { + return wc(function() { + var a, + r = im(o, n, e); + if ( + (function(t) { + return t && Yp(t.canActivate); + })(r) + ) + a = Qd(r.canActivate(n, t)); + else { + if (!Yp(r)) throw new Error("Invalid CanActivate guard"); + a = Qd(r(n, t)); + } + return a.pipe(Zc()); + }); + }) + ).pipe(um()) + : Wl(!0); + } + function gm(t, n, e) { + var o = n[n.length - 1], + a = n + .slice(0, n.length - 1) + .reverse() + .map(function(t) { + return (function(t) { + var n = t.routeConfig ? t.routeConfig.canActivateChild : null; + return n && 0 !== n.length ? { node: t, guards: n } : null; + })(t); + }) + .filter(function(t) { + return null !== t; + }) + .map(function(n) { + return wc(function() { + return Wl( + n.guards.map(function(a) { + var r, + i = im(a, n.node, e); + if ( + (function(t) { + return t && Yp(t.canActivateChild); + })(i) + ) + r = Qd(i.canActivateChild(o, t)); + else { + if (!Yp(i)) + throw new Error("Invalid CanActivateChild guard"); + r = Qd(i(o, t)); + } + return r.pipe(Zc()); + }) + ).pipe(um()); + }); + }); + return Wl(a).pipe(um()); + } + var fm = (function() { + return function() {}; + })(), + hm = (function() { + function t(t, n, e, o, a, r) { + (this.rootComponentType = t), + (this.config = n), + (this.urlTree = e), + (this.url = o), + (this.paramsInheritanceStrategy = a), + (this.relativeLinkResolution = r); + } + return ( + (t.prototype.recognize = function() { + try { + var t = ym( + this.urlTree.root, + [], + [], + this.config, + this.relativeLinkResolution + ).segmentGroup, + n = this.processSegmentGroup(this.config, t, Nd), + e = new wp( + [], + Object.freeze({}), + Object.freeze( + Object(o.__assign)({}, this.urlTree.queryParams) + ), + this.urlTree.fragment, + {}, + Nd, + this.rootComponentType, + null, + this.urlTree.root, + -1, + {} + ), + a = new vp(e, n), + r = new Sp(this.url, a); + return this.inheritParamsAndData(r._root), Wl(r); + } catch (i) { + return new O(function(t) { + return t.error(i); + }); + } + }), + (t.prototype.inheritParamsAndData = function(t) { + var n = this, + e = t.value, + o = kp(e, this.paramsInheritanceStrategy); + (e.params = Object.freeze(o.params)), + (e.data = Object.freeze(o.data)), + t.children.forEach(function(t) { + return n.inheritParamsAndData(t); + }); + }), + (t.prototype.processSegmentGroup = function(t, n, e) { + return 0 === n.segments.length && n.hasChildren() + ? this.processChildren(t, n) + : this.processSegment(t, n, n.segments, e); + }), + (t.prototype.processChildren = function(t, n) { + var e, + o = this, + a = ep(n, function(n, e) { + return o.processSegmentGroup(t, n, e); + }); + return ( + (e = {}), + a.forEach(function(t) { + var n = e[t.value.outlet]; + if (n) { + var o = n.url + .map(function(t) { + return t.toString(); + }) + .join("/"), + a = t.value.url + .map(function(t) { + return t.toString(); + }) + .join("/"); + throw new Error( + "Two segments cannot have the same outlet name: '" + + o + + "' and '" + + a + + "'." + ); + } + e[t.value.outlet] = t.value; + }), + a.sort(function(t, n) { + return t.value.outlet === Nd + ? -1 + : n.value.outlet === Nd + ? 1 + : t.value.outlet.localeCompare(n.value.outlet); + }), + a + ); + }), + (t.prototype.processSegment = function(t, n, e, a) { + var r, i; + try { + for ( + var l = Object(o.__values)(t), s = l.next(); + !s.done; + s = l.next() + ) { + var c = s.value; + try { + return this.processSegmentAgainstRoute(c, n, e, a); + } catch (u) { + if (!(u instanceof fm)) throw u; + } + } + } catch (d) { + r = { error: d }; + } finally { + try { + s && !s.done && (i = l.return) && i.call(l); + } finally { + if (r) throw r.error; + } + } + if (this.noLeftoversInUrl(n, e, a)) return []; + throw new fm(); + }), + (t.prototype.noLeftoversInUrl = function(t, n, e) { + return 0 === n.length && !t.children[e]; + }), + (t.prototype.processSegmentAgainstRoute = function(t, n, e, a) { + if (t.redirectTo) throw new fm(); + if ((t.outlet || Nd) !== a) throw new fm(); + var r, + i = [], + l = []; + if ("**" === t.path) { + var s = e.length > 0 ? Gd(e).parameters : {}; + r = new wp( + e, + s, + Object.freeze( + Object(o.__assign)({}, this.urlTree.queryParams) + ), + this.urlTree.fragment, + Om(t), + a, + t.component, + t, + bm(n), + _m(n) + e.length, + Pm(t) + ); + } else { + var c = (function(t, n, e) { + if ("" === n.path) { + if ( + "full" === n.pathMatch && + (t.hasChildren() || e.length > 0) + ) + throw new fm(); + return { + consumedSegments: [], + lastChild: 0, + parameters: {} + }; + } + var a = (n.matcher || Bd)(e, t, n); + if (!a) throw new fm(); + var r = {}; + Zd(a.posParams, function(t, n) { + r[n] = t.path; + }); + var i = + a.consumed.length > 0 + ? Object(o.__assign)( + {}, + r, + a.consumed[a.consumed.length - 1].parameters + ) + : r; + return { + consumedSegments: a.consumed, + lastChild: a.consumed.length, + parameters: i + }; + })(n, t, e); + (i = c.consumedSegments), + (l = e.slice(c.lastChild)), + (r = new wp( + i, + c.parameters, + Object.freeze( + Object(o.__assign)({}, this.urlTree.queryParams) + ), + this.urlTree.fragment, + Om(t), + a, + t.component, + t, + bm(n), + _m(n) + i.length, + Pm(t) + )); + } + var u = (function(t) { + return t.children + ? t.children + : t.loadChildren + ? t._loadedConfig.routes + : []; + })(t), + d = ym(n, i, l, u, this.relativeLinkResolution), + p = d.segmentGroup, + m = d.slicedSegments; + if (0 === m.length && p.hasChildren()) { + var g = this.processChildren(u, p); + return [new vp(r, g)]; + } + if (0 === u.length && 0 === m.length) return [new vp(r, [])]; + var f = this.processSegment(u, p, m, Nd); + return [new vp(r, f)]; + }), + t + ); + })(); + function bm(t) { + for (var n = t; n._sourceSegment; ) n = n._sourceSegment; + return n; + } + function _m(t) { + for ( + var n = t, e = n._segmentIndexShift ? n._segmentIndexShift : 0; + n._sourceSegment; + + ) + e += (n = n._sourceSegment)._segmentIndexShift + ? n._segmentIndexShift + : 0; + return e - 1; + } + function ym(t, n, e, a, r) { + if ( + e.length > 0 && + (function(t, n, e) { + return a.some(function(e) { + return Cm(t, n, e) && vm(e) !== Nd; + }); + })(t, e) + ) { + var i = new $d( + n, + (function(t, n, e, a) { + var r, + i, + l = {}; + (l[Nd] = a), + (a._sourceSegment = t), + (a._segmentIndexShift = n.length); + try { + for ( + var s = Object(o.__values)(e), c = s.next(); + !c.done; + c = s.next() + ) { + var u = c.value; + if ("" === u.path && vm(u) !== Nd) { + var d = new $d([], {}); + (d._sourceSegment = t), + (d._segmentIndexShift = n.length), + (l[vm(u)] = d); + } + } + } catch (p) { + r = { error: p }; + } finally { + try { + c && !c.done && (i = s.return) && i.call(s); + } finally { + if (r) throw r.error; + } + } + return l; + })(t, n, a, new $d(e, t.children)) + ); + return ( + (i._sourceSegment = t), + (i._segmentIndexShift = n.length), + { segmentGroup: i, slicedSegments: [] } + ); + } + if ( + 0 === e.length && + (function(t, n, e) { + return a.some(function(e) { + return Cm(t, n, e); + }); + })(t, e) + ) { + var l = new $d( + t.segments, + (function(t, n, e, a, r, i) { + var l, + s, + c = {}; + try { + for ( + var u = Object(o.__values)(a), d = u.next(); + !d.done; + d = u.next() + ) { + var p = d.value; + if (Cm(t, e, p) && !r[vm(p)]) { + var m = new $d([], {}); + (m._sourceSegment = t), + (m._segmentIndexShift = + "legacy" === i ? t.segments.length : n.length), + (c[vm(p)] = m); + } + } + } catch (g) { + l = { error: g }; + } finally { + try { + d && !d.done && (s = u.return) && s.call(u); + } finally { + if (l) throw l.error; + } + } + return Object(o.__assign)({}, r, c); + })(t, n, e, a, t.children, r) + ); + return ( + (l._sourceSegment = t), + (l._segmentIndexShift = n.length), + { segmentGroup: l, slicedSegments: e } + ); + } + var s = new $d(t.segments, t.children); + return ( + (s._sourceSegment = t), + (s._segmentIndexShift = n.length), + { segmentGroup: s, slicedSegments: e } + ); + } + function Cm(t, n, e) { + return ( + (!(t.hasChildren() || n.length > 0) || "full" !== e.pathMatch) && + "" === e.path && + void 0 === e.redirectTo + ); + } + function vm(t) { + return t.outlet || Nd; + } + function Om(t) { + return t.data || {}; + } + function Pm(t) { + return t.resolve || {}; + } + function Mm(t, n, e, o) { + var a = im(t, n, o); + return Qd(a.resolve ? a.resolve(n, e) : a(n, e)); + } + function xm(t) { + return function(n) { + return n.pipe( + Jc(function(n) { + var e = t(n); + return e + ? W(e).pipe( + U(function() { + return n; + }) + ) + : W([n]); + }) + ); + }; + } + var km = (function() { + return function() {}; + })(), + wm = (function() { + function t() {} + return ( + (t.prototype.shouldDetach = function(t) { + return !1; + }), + (t.prototype.store = function(t, n) {}), + (t.prototype.shouldAttach = function(t) { + return !1; + }), + (t.prototype.retrieve = function(t) { + return null; + }), + (t.prototype.shouldReuseRoute = function(t, n) { + return t.routeConfig === n.routeConfig; + }), + t + ); + })(), + Sm = new Ut("ROUTES"), + Em = (function() { + function t(t, n, e, o) { + (this.loader = t), + (this.compiler = n), + (this.onLoadStartListener = e), + (this.onLoadEndListener = o); + } + return ( + (t.prototype.load = function(t, n) { + var e = this; + return ( + this.onLoadStartListener && this.onLoadStartListener(n), + this.loadModuleFactory(n.loadChildren).pipe( + U(function(o) { + e.onLoadEndListener && e.onLoadEndListener(n); + var a = o.create(t); + return new Vd(Wd(a.injector.get(Sm)).map(Kd), a); + }) + ) + ); + }), + (t.prototype.loadModuleFactory = function(t) { + var n = this; + return "string" == typeof t + ? W(this.loader.load(t)) + : Qd(t()).pipe( + G(function(t) { + return t instanceof Re + ? Wl(t) + : W(n.compiler.compileModuleAsync(t)); + }) + ); + }), + t + ); + })(), + Im = (function() { + return function() {}; + })(), + Am = (function() { + function t() {} + return ( + (t.prototype.shouldProcessUrl = function(t) { + return !0; + }), + (t.prototype.extract = function(t) { + return t; + }), + (t.prototype.merge = function(t, n) { + return t; + }), + t + ); + })(); + function Tm(t) { + throw t; + } + function Rm(t, n, e) { + return n.parse("/"); + } + function Dm(t, n) { + return Wl(null); + } + var Nm = (function() { + function t(t, n, e, o, a, r, i, l) { + var s = this; + (this.rootComponentType = t), + (this.urlSerializer = n), + (this.rootContexts = e), + (this.location = o), + (this.config = l), + (this.lastSuccessfulNavigation = null), + (this.currentNavigation = null), + (this.navigationId = 0), + (this.isNgZoneEnabled = !1), + (this.events = new S()), + (this.errorHandler = Tm), + (this.malformedUriErrorHandler = Rm), + (this.navigated = !1), + (this.lastSuccessfulId = -1), + (this.hooks = { + beforePreactivation: Dm, + afterPreactivation: Dm + }), + (this.urlHandlingStrategy = new Am()), + (this.routeReuseStrategy = new wm()), + (this.onSameUrlNavigation = "ignore"), + (this.paramsInheritanceStrategy = "emptyOnly"), + (this.urlUpdateStrategy = "deferred"), + (this.relativeLinkResolution = "legacy"), + (this.ngModule = a.get(Te)), + (this.console = a.get(br)); + var c = a.get(Dr); + (this.isNgZoneEnabled = c instanceof Dr), + this.resetConfig(l), + (this.currentUrlTree = new Jd(new $d([], {}), {}, null)), + (this.rawUrlTree = this.currentUrlTree), + (this.browserUrlTree = this.currentUrlTree), + (this.configLoader = new Em( + r, + i, + function(t) { + return s.triggerEvent(new wd(t)); + }, + function(t) { + return s.triggerEvent(new Sd(t)); + } + )), + (this.routerState = Mp( + this.currentUrlTree, + this.rootComponentType + )), + (this.transitions = new Cc({ + id: 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 ( + (t.prototype.setupNavigations = function(t) { + var n = this, + e = this.events; + return t.pipe( + Zl(function(t) { + return 0 !== t.id; + }), + U(function(t) { + return Object( + o.__assign + )({}, t, { extractedUrl: n.urlHandlingStrategy.extract(t.rawUrl) }); + }), + Jc(function(t) { + var a, + r, + i, + l = !1, + s = !1; + return Wl(t).pipe( + Dc(function(t) { + n.currentNavigation = { + id: t.id, + initialUrl: t.currentRawUrl, + extractedUrl: t.extractedUrl, + trigger: t.source, + extras: t.extras, + previousNavigation: n.lastSuccessfulNavigation + ? Object(o.__assign)({}, n.lastSuccessfulNavigation, { + previousNavigation: null + }) + : null + }; + }), + Jc(function(t) { + var a, + r, + i, + l, + s = + !n.navigated || + t.extractedUrl.toString() !== + n.browserUrlTree.toString(); + if ( + ("reload" === n.onSameUrlNavigation || s) && + n.urlHandlingStrategy.shouldProcessUrl(t.rawUrl) + ) + return Wl(t).pipe( + Jc(function(t) { + var o = n.transitions.getValue(); + return ( + e.next( + new _d( + t.id, + n.serializeUrl(t.extractedUrl), + t.source, + t.restoredState + ) + ), + o !== n.transitions.getValue() ? ql : [t] + ); + }), + Jc(function(t) { + return Promise.resolve(t); + }), + ((a = n.ngModule.injector), + (r = n.configLoader), + (i = n.urlSerializer), + (l = n.config), + function(t) { + return t.pipe( + Jc(function(t) { + return (function(n, e, o, a, r) { + return new $p( + n, + e, + o, + t.extractedUrl, + r + ).apply(); + })(a, r, i, 0, l).pipe( + U(function(n) { + return Object( + o.__assign + )({}, t, { urlAfterRedirects: n }); + }) + ); + }) + ); + }), + Dc(function(t) { + n.currentNavigation = Object(o.__assign)( + {}, + n.currentNavigation, + { finalUrl: t.urlAfterRedirects } + ); + }), + (function(t, e, a, r, i) { + return function(a) { + return a.pipe( + G(function(a) { + return (function(t, n, e, o, a, r) { + return ( + void 0 === a && (a = "emptyOnly"), + void 0 === r && (r = "legacy"), + new hm(t, n, e, o, a, r).recognize() + ); + })( + t, + e, + a.urlAfterRedirects, + ((l = a.urlAfterRedirects), + n.serializeUrl(l)), + r, + i + ).pipe( + U(function(t) { + return Object( + o.__assign + )({}, a, { targetSnapshot: t }); + }) + ); + var l; + }) + ); + }; + })( + n.rootComponentType, + n.config, + 0, + n.paramsInheritanceStrategy, + n.relativeLinkResolution + ), + Dc(function(t) { + "eager" === n.urlUpdateStrategy && + (t.extras.skipLocationChange || + n.setBrowserUrl( + t.urlAfterRedirects, + !!t.extras.replaceUrl, + t.id, + t.extras.state + ), + (n.browserUrlTree = t.urlAfterRedirects)); + }), + Dc(function(t) { + var o = new Od( + t.id, + n.serializeUrl(t.extractedUrl), + n.serializeUrl(t.urlAfterRedirects), + t.targetSnapshot + ); + e.next(o); + }) + ); + if ( + s && + n.rawUrlTree && + n.urlHandlingStrategy.shouldProcessUrl(n.rawUrlTree) + ) { + var c = t.extractedUrl, + u = t.source, + d = t.restoredState, + p = t.extras, + m = new _d(t.id, n.serializeUrl(c), u, d); + e.next(m); + var g = Mp(c, n.rootComponentType).snapshot; + return Wl( + Object(o.__assign)({}, t, { + targetSnapshot: g, + urlAfterRedirects: c, + extras: Object(o.__assign)({}, p, { + skipLocationChange: !1, + replaceUrl: !1 + }) + }) + ); + } + return ( + (n.rawUrlTree = t.rawUrl), + (n.browserUrlTree = t.urlAfterRedirects), + t.resolve(null), + ql + ); + }), + xm(function(t) { + var e = t.extras; + return n.hooks.beforePreactivation(t.targetSnapshot, { + navigationId: t.id, + appliedUrlTree: t.extractedUrl, + rawUrlTree: t.rawUrl, + skipLocationChange: !!e.skipLocationChange, + replaceUrl: !!e.replaceUrl + }); + }), + Dc(function(t) { + var e = new Pd( + t.id, + n.serializeUrl(t.extractedUrl), + n.serializeUrl(t.urlAfterRedirects), + t.targetSnapshot + ); + n.triggerEvent(e); + }), + U(function(t) { + return Object( + o.__assign + )({}, t, { guards: ((e = t.targetSnapshot), (a = t.currentSnapshot), (r = n.rootContexts), (i = e._root), lm(i, a ? a._root : null, r, [i.value])) }); + var e, a, r, i; + }), + (function(t, n) { + return function(e) { + return e.pipe( + G(function(e) { + var a = e.targetSnapshot, + r = e.currentSnapshot, + i = e.guards, + l = i.canActivateChecks, + s = i.canDeactivateChecks; + return 0 === s.length && 0 === l.length + ? Wl( + Object(o.__assign)({}, e, { + guardsResult: !0 + }) + ) + : (function(t, n, e, o) { + return W(s).pipe( + G(function(t) { + return (function(t, n, e, o, a) { + var r = + n && n.routeConfig + ? n.routeConfig.canDeactivate + : null; + return r && 0 !== r.length + ? Wl( + r.map(function(r) { + var i, + l = im(r, n, a); + if ( + (function(t) { + return ( + t && Yp(t.canDeactivate) + ); + })(l) + ) + i = Qd( + l.canDeactivate(t, n, e, o) + ); + else { + if (!Yp(l)) + throw new Error( + "Invalid CanDeactivate guard" + ); + i = Qd(l(t, n, e, o)); + } + return i.pipe(Zc()); + }) + ).pipe(um()) + : Wl(!0); + })(t.component, t.route, e, n, o); + }), + Zc(function(t) { + return !0 !== t; + }, !0) + ); + })(0, a, r, t).pipe( + G(function(e) { + return e && "boolean" == typeof e + ? (function(t, n, e, o) { + return W(l).pipe( + Gl(function(n) { + return W([ + pm(n.route.parent, o), + dm(n.route, o), + gm(t, n.path, e), + mm(t, n.route, e) + ]).pipe( + Sc(), + Zc(function(t) { + return !0 !== t; + }, !0) + ); + }), + Zc(function(t) { + return !0 !== t; + }, !0) + ); + })(a, 0, t, n) + : Wl(e); + }), + U(function(t) { + return Object( + o.__assign + )({}, e, { guardsResult: t }); + }) + ); + }) + ); + }; + })(n.ngModule.injector, function(t) { + return n.triggerEvent(t); + }), + Dc(function(t) { + if (Wp(t.guardsResult)) { + var e = Fd( + 'Redirecting to "' + + n.serializeUrl(t.guardsResult) + + '"' + ); + throw ((e.url = t.guardsResult), e); + } + }), + Dc(function(t) { + var e = new Md( + t.id, + n.serializeUrl(t.extractedUrl), + n.serializeUrl(t.urlAfterRedirects), + t.targetSnapshot, + !!t.guardsResult + ); + n.triggerEvent(e); + }), + Zl(function(t) { + if (!t.guardsResult) { + n.resetUrlToCurrentUrlTree(); + var o = new Cd( + t.id, + n.serializeUrl(t.extractedUrl), + "" + ); + return e.next(o), t.resolve(!1), !1; + } + return !0; + }), + xm(function(t) { + if (t.guards.canActivateChecks.length) + return Wl(t).pipe( + Dc(function(t) { + var e = new xd( + t.id, + n.serializeUrl(t.extractedUrl), + n.serializeUrl(t.urlAfterRedirects), + t.targetSnapshot + ); + n.triggerEvent(e); + }), + ((e = n.paramsInheritanceStrategy), + (a = n.ngModule.injector), + function(t) { + return t.pipe( + G(function(t) { + var n = t.targetSnapshot, + r = t.guards.canActivateChecks; + return r.length + ? W(r).pipe( + Gl(function(t) { + return (function(t, e, a, r) { + return (function(t, n, e, o) { + var a = Object.keys(t); + if (0 === a.length) return Wl({}); + if (1 === a.length) { + var r = a[0]; + return Mm(t[r], n, e, o).pipe( + U(function(t) { + var n; + return ((n = {})[r] = t), n; + }) + ); + } + var i = {}; + return W(a) + .pipe( + G(function(a) { + return Mm(t[a], n, e, o).pipe( + U(function(t) { + return (i[a] = t), t; + }) + ); + }) + ) + .pipe( + Hc(), + U(function() { + return i; + }) + ); + })(t._resolve, t, n, r).pipe( + U(function(n) { + return ( + (t._resolvedData = n), + (t.data = Object(o.__assign)( + {}, + t.data, + kp(t, a).resolve + )), + null + ); + }) + ); + })(t.route, 0, e, a); + }), + (function(t, n) { + return arguments.length >= 2 + ? function(n) { + return C( + eu(t, void 0), + Ac(1), + Fc(void 0) + )(n); + } + : function(n) { + return C( + eu(function(n, e, o) { + return t(n); + }), + Ac(1) + )(n); + }; + })(function(t, n) { + return t; + }), + U(function(n) { + return t; + }) + ) + : Wl(t); + }) + ); + }), + Dc(function(t) { + var e = new kd( + t.id, + n.serializeUrl(t.extractedUrl), + n.serializeUrl(t.urlAfterRedirects), + t.targetSnapshot + ); + n.triggerEvent(e); + }) + ); + var e, a; + }), + xm(function(t) { + var e = t.extras; + return n.hooks.afterPreactivation(t.targetSnapshot, { + navigationId: t.id, + appliedUrlTree: t.extractedUrl, + rawUrlTree: t.rawUrl, + skipLocationChange: !!e.skipLocationChange, + replaceUrl: !!e.replaceUrl + }); + }), + U(function(t) { + var e, + a, + r, + i = + ((r = (function t(n, e, a) { + if ( + a && + n.shouldReuseRoute(e.value, a.value.snapshot) + ) { + (c = a.value)._futureSnapshot = e.value; + var r = (function(n, e, a) { + return e.children.map(function(e) { + var r, i; + try { + for ( + var l = Object(o.__values)(a.children), + s = l.next(); + !s.done; + s = l.next() + ) { + var c = s.value; + if ( + n.shouldReuseRoute( + c.value.snapshot, + e.value + ) + ) + return t(n, e, c); + } + } catch (u) { + r = { error: u }; + } finally { + try { + s && + !s.done && + (i = l.return) && + i.call(l); + } finally { + if (r) throw r.error; + } + } + return t(n, e); + }); + })(n, e, a); + return new vp(c, r); + } + var i = n.retrieve(e.value); + if (i) { + var l = i.route; + return ( + (function t(n, e) { + if ( + n.value.routeConfig !== e.value.routeConfig + ) + throw new Error( + "Cannot reattach ActivatedRouteSnapshot created from a different route" + ); + if (n.children.length !== e.children.length) + throw new Error( + "Cannot reattach ActivatedRouteSnapshot with a different number of children" + ); + e.value._futureSnapshot = n.value; + for (var o = 0; o < n.children.length; ++o) + t(n.children[o], e.children[o]); + })(e, l), + l + ); + } + var s, + c = new xp( + new Cc((s = e.value).url), + new Cc(s.params), + new Cc(s.queryParams), + new Cc(s.fragment), + new Cc(s.data), + s.outlet, + s.component, + s + ); + return ( + (r = e.children.map(function(e) { + return t(n, e); + })), + new vp(c, r) + ); + })( + n.routeReuseStrategy, + (e = t.targetSnapshot)._root, + (a = t.currentRouterState) ? a._root : void 0 + )), + new Pp(r, e)); + return Object( + o.__assign + )({}, t, { targetRouterState: i }); + }), + Dc(function(t) { + (n.currentUrlTree = t.urlAfterRedirects), + (n.rawUrlTree = n.urlHandlingStrategy.merge( + n.currentUrlTree, + t.rawUrl + )), + (n.routerState = t.targetRouterState), + "deferred" === n.urlUpdateStrategy && + (t.extras.skipLocationChange || + n.setBrowserUrl( + n.rawUrlTree, + !!t.extras.replaceUrl, + t.id, + t.extras.state + ), + (n.browserUrlTree = t.urlAfterRedirects)); + }), + ((a = n.rootContexts), + (r = n.routeReuseStrategy), + (i = function(t) { + return n.triggerEvent(t); + }), + U(function(t) { + return ( + new qp( + r, + t.targetRouterState, + t.currentRouterState, + i + ).activate(a), + t + ); + })), + Dc({ + next: function() { + l = !0; + }, + complete: function() { + l = !0; + } + }), + ru(function() { + if (!l && !s) { + n.resetUrlToCurrentUrlTree(); + var o = new Cd( + t.id, + n.serializeUrl(t.extractedUrl), + "Navigation ID " + + t.id + + " is not equal to the current navigation id " + + n.navigationId + ); + e.next(o), t.resolve(!1); + } + n.currentNavigation = null; + }), + Uc(function(o) { + if (((s = !0), (l = o) && l[jd])) { + var a = Wp(o.url); + a || + ((n.navigated = !0), + n.resetStateAndUrl( + t.currentRouterState, + t.currentUrlTree, + t.rawUrl + )); + var r = new Cd( + t.id, + n.serializeUrl(t.extractedUrl), + o.message + ); + e.next(r), t.resolve(!1), a && n.navigateByUrl(o.url); + } else { + n.resetStateAndUrl( + t.currentRouterState, + t.currentUrlTree, + t.rawUrl + ); + var i = new vd(t.id, n.serializeUrl(t.extractedUrl), o); + e.next(i); + try { + t.resolve(n.errorHandler(o)); + } catch (c) { + t.reject(c); + } + } + var l; + return ql; + }) + ); + }) + ); + }), + (t.prototype.resetRootComponentType = function(t) { + (this.rootComponentType = t), + (this.routerState.root.component = this.rootComponentType); + }), + (t.prototype.getTransition = function() { + var t = this.transitions.value; + return (t.urlAfterRedirects = this.browserUrlTree), t; + }), + (t.prototype.setTransition = function(t) { + this.transitions.next( + Object(o.__assign)({}, this.getTransition(), t) + ); + }), + (t.prototype.initialNavigation = function() { + this.setUpLocationChangeListener(), + 0 === this.navigationId && + this.navigateByUrl(this.location.path(!0), { + replaceUrl: !0 + }); + }), + (t.prototype.setUpLocationChangeListener = function() { + var t = this; + this.locationSubscription || + (this.locationSubscription = this.location.subscribe(function( + n + ) { + var e = t.parseUrl(n.url), + o = "popstate" === n.type ? "popstate" : "hashchange", + a = n.state && n.state.navigationId ? n.state : null; + setTimeout(function() { + t.scheduleNavigation(e, o, a, { replaceUrl: !0 }); + }, 0); + })); + }), + Object.defineProperty(t.prototype, "url", { + get: function() { + return this.serializeUrl(this.currentUrlTree); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.getCurrentNavigation = function() { + return this.currentNavigation; + }), + (t.prototype.triggerEvent = function(t) { + this.events.next(t); + }), + (t.prototype.resetConfig = function(t) { + Hd(t), + (this.config = t.map(Kd)), + (this.navigated = !1), + (this.lastSuccessfulId = -1); + }), + (t.prototype.ngOnDestroy = function() { + this.dispose(); + }), + (t.prototype.dispose = function() { + this.locationSubscription && + (this.locationSubscription.unsubscribe(), + (this.locationSubscription = null)); + }), + (t.prototype.createUrlTree = function(t, n) { + void 0 === n && (n = {}); + var e = n.relativeTo, + a = n.queryParams, + r = n.fragment, + i = n.preserveQueryParams, + l = n.queryParamsHandling, + s = n.preserveFragment; + Fn() && + i && + console && + console.warn && + console.warn( + "preserveQueryParams is deprecated, use queryParamsHandling instead." + ); + var c = e || this.routerState.root, + u = s ? this.currentUrlTree.fragment : r, + d = null; + if (l) + switch (l) { + case "merge": + d = Object(o.__assign)( + {}, + this.currentUrlTree.queryParams, + a + ); + break; + case "preserve": + d = this.currentUrlTree.queryParams; + break; + default: + d = a || null; + } + else d = i ? this.currentUrlTree.queryParams : a || null; + return ( + null !== d && (d = this.removeEmptyProps(d)), + (function(t, n, e, a, r) { + if (0 === e.length) return Dp(n.root, n.root, n, a, r); + var i = (function(t) { + if ( + "string" == typeof t[0] && + 1 === t.length && + "/" === t[0] + ) + return new Np(!0, 0, t); + var n = 0, + e = !1, + a = t.reduce(function(t, a, r) { + if ("object" == typeof a && null != a) { + if (a.outlets) { + var i = {}; + return ( + Zd(a.outlets, function(t, n) { + i[n] = "string" == typeof t ? t.split("/") : t; + }), + Object(o.__spread)(t, [{ outlets: i }]) + ); + } + if (a.segmentPath) + return Object(o.__spread)(t, [a.segmentPath]); + } + return "string" != typeof a + ? Object(o.__spread)(t, [a]) + : 0 === r + ? (a.split("/").forEach(function(o, a) { + (0 == a && "." === o) || + (0 == a && "" === o + ? (e = !0) + : ".." === o + ? n++ + : "" != o && t.push(o)); + }), + t) + : Object(o.__spread)(t, [a]); + }, []); + return new Np(e, n, a); + })(e); + if (i.toRoot()) return Dp(n.root, new $d([], {}), n, a, r); + var l = (function(t, e, o) { + if (t.isAbsolute) return new zp(n.root, !0, 0); + if (-1 === o.snapshot._lastPathIndex) + return new zp(o.snapshot._urlSegment, !0, 0); + var a = Rp(t.commands[0]) ? 0 : 1; + return (function(n, e, r) { + for ( + var i = o.snapshot._urlSegment, + l = o.snapshot._lastPathIndex + a, + s = t.numberOfDoubleDots; + s > l; + + ) { + if (((s -= l), !(i = i.parent))) + throw new Error("Invalid number of '../'"); + l = i.segments.length; + } + return new zp(i, !1, l - s); + })(); + })(i, 0, t), + s = l.processChildren + ? Fp(l.segmentGroup, l.index, i.commands) + : jp(l.segmentGroup, l.index, i.commands); + return Dp(l.segmentGroup, s, n, a, r); + })(c, this.currentUrlTree, t, d, u) + ); + }), + (t.prototype.navigateByUrl = function(t, n) { + void 0 === n && (n = { skipLocationChange: !1 }), + Fn() && + this.isNgZoneEnabled && + !Dr.isInAngularZone() && + this.console.warn( + "Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?" + ); + var e = Wp(t) ? t : this.parseUrl(t), + o = this.urlHandlingStrategy.merge(e, this.rawUrlTree); + return this.scheduleNavigation(o, "imperative", null, n); + }), + (t.prototype.navigate = function(t, n) { + return ( + void 0 === n && (n = { skipLocationChange: !1 }), + (function(t) { + for (var n = 0; n < t.length; n++) { + var e = t[n]; + if (null == e) + throw new Error( + "The requested path contains " + + e + + " segment at index " + + n + ); + } + })(t), + this.navigateByUrl(this.createUrlTree(t, n), n) + ); + }), + (t.prototype.serializeUrl = function(t) { + return this.urlSerializer.serialize(t); + }), + (t.prototype.parseUrl = function(t) { + var n; + try { + n = this.urlSerializer.parse(t); + } catch (e) { + n = this.malformedUriErrorHandler(e, this.urlSerializer, t); + } + return n; + }), + (t.prototype.isActive = function(t, n) { + if (Wp(t)) return Xd(this.currentUrlTree, t, n); + var e = this.parseUrl(t); + return Xd(this.currentUrlTree, e, n); + }), + (t.prototype.removeEmptyProps = function(t) { + return Object.keys(t).reduce(function(n, e) { + var o = t[e]; + return null != o && (n[e] = o), n; + }, {}); + }), + (t.prototype.processNavigations = function() { + var t = this; + this.navigations.subscribe( + function(n) { + (t.navigated = !0), + (t.lastSuccessfulId = n.id), + t.events.next( + new yd( + n.id, + t.serializeUrl(n.extractedUrl), + t.serializeUrl(t.currentUrlTree) + ) + ), + (t.lastSuccessfulNavigation = t.currentNavigation), + (t.currentNavigation = null), + n.resolve(!0); + }, + function(n) { + t.console.warn("Unhandled Navigation Error: "); + } + ); + }), + (t.prototype.scheduleNavigation = function(t, n, e, o) { + var a = this.getTransition(); + if ( + a && + "imperative" !== n && + "imperative" === a.source && + a.rawUrl.toString() === t.toString() + ) + return Promise.resolve(!0); + if ( + a && + "hashchange" == n && + "popstate" === a.source && + a.rawUrl.toString() === t.toString() + ) + return Promise.resolve(!0); + if ( + a && + "popstate" == n && + "hashchange" === a.source && + a.rawUrl.toString() === t.toString() + ) + return Promise.resolve(!0); + var r = null, + i = null, + l = new Promise(function(t, n) { + (r = t), (i = n); + }), + s = ++this.navigationId; + return ( + this.setTransition({ + id: s, + source: n, + restoredState: e, + currentUrlTree: this.currentUrlTree, + currentRawUrl: this.rawUrlTree, + rawUrl: t, + extras: o, + resolve: r, + reject: i, + promise: l, + currentSnapshot: this.routerState.snapshot, + currentRouterState: this.routerState + }), + l.catch(function(t) { + return Promise.reject(t); + }) + ); + }), + (t.prototype.setBrowserUrl = function(t, n, e, a) { + var r = this.urlSerializer.serialize(t); + (a = a || {}), + this.location.isCurrentPathEqualTo(r) || n + ? this.location.replaceState( + r, + "", + Object(o.__assign)({}, a, { navigationId: e }) + ) + : this.location.go( + r, + "", + Object(o.__assign)({}, a, { navigationId: e }) + ); + }), + (t.prototype.resetStateAndUrl = function(t, n, e) { + (this.routerState = t), + (this.currentUrlTree = n), + (this.rawUrlTree = this.urlHandlingStrategy.merge( + this.currentUrlTree, + e + )), + this.resetUrlToCurrentUrlTree(); + }), + (t.prototype.resetUrlToCurrentUrlTree = function() { + this.location.replaceState( + this.urlSerializer.serialize(this.rawUrlTree), + "", + { navigationId: this.lastSuccessfulId } + ); + }), + t + ); + })(), + zm = (function() { + function t(t, n, e, o, a) { + (this.router = t), + (this.route = n), + (this.commands = []), + null == e && o.setAttribute(a.nativeElement, "tabindex", "0"); + } + return ( + Object.defineProperty(t.prototype, "routerLink", { + set: function(t) { + this.commands = null != t ? (Array.isArray(t) ? t : [t]) : []; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "preserveQueryParams", { + set: function(t) { + Fn() && + console && + console.warn && + console.warn( + "preserveQueryParams is deprecated!, use queryParamsHandling instead." + ), + (this.preserve = t); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.onClick = function() { + var t = { + skipLocationChange: jm(this.skipLocationChange), + replaceUrl: jm(this.replaceUrl) + }; + return this.router.navigateByUrl(this.urlTree, t), !0; + }), + Object.defineProperty(t.prototype, "urlTree", { + get: function() { + return this.router.createUrlTree(this.commands, { + relativeTo: this.route, + queryParams: this.queryParams, + fragment: this.fragment, + preserveQueryParams: jm(this.preserve), + queryParamsHandling: this.queryParamsHandling, + preserveFragment: jm(this.preserveFragment) + }); + }, + enumerable: !0, + configurable: !0 + }), + t + ); + })(), + Lm = (function() { + function t(t, n, e) { + var o = this; + (this.router = t), + (this.route = n), + (this.locationStrategy = e), + (this.commands = []), + (this.subscription = t.events.subscribe(function(t) { + t instanceof yd && o.updateTargetUrlAndHref(); + })); + } + return ( + Object.defineProperty(t.prototype, "routerLink", { + set: function(t) { + this.commands = null != t ? (Array.isArray(t) ? t : [t]) : []; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "preserveQueryParams", { + set: function(t) { + Fn() && + console && + console.warn && + console.warn( + "preserveQueryParams is deprecated, use queryParamsHandling instead." + ), + (this.preserve = t); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.ngOnChanges = function(t) { + this.updateTargetUrlAndHref(); + }), + (t.prototype.ngOnDestroy = function() { + this.subscription.unsubscribe(); + }), + (t.prototype.onClick = function(t, n, e, o) { + if (0 !== t || n || e || o) return !0; + if ("string" == typeof this.target && "_self" != this.target) + return !0; + var a = { + skipLocationChange: jm(this.skipLocationChange), + replaceUrl: jm(this.replaceUrl), + state: this.state + }; + return this.router.navigateByUrl(this.urlTree, a), !1; + }), + (t.prototype.updateTargetUrlAndHref = function() { + this.href = this.locationStrategy.prepareExternalUrl( + this.router.serializeUrl(this.urlTree) + ); + }), + Object.defineProperty(t.prototype, "urlTree", { + get: function() { + return this.router.createUrlTree(this.commands, { + relativeTo: this.route, + queryParams: this.queryParams, + fragment: this.fragment, + preserveQueryParams: jm(this.preserve), + queryParamsHandling: this.queryParamsHandling, + preserveFragment: jm(this.preserveFragment) + }); + }, + enumerable: !0, + configurable: !0 + }), + Object(o.__decorate)( + [ + sr("attr.target"), + lr(), + Object(o.__metadata)("design:type", String) + ], + t.prototype, + "target", + void 0 + ), + t + ); + })(); + function jm(t) { + return "" === t || !!t; + } + var Fm = (function() { + function t(t, n, e, o, a) { + var r = this; + (this.router = t), + (this.element = n), + (this.renderer = e), + (this.link = o), + (this.linkWithHref = a), + (this.classes = []), + (this.isActive = !1), + (this.routerLinkActiveOptions = { exact: !1 }), + (this.subscription = t.events.subscribe(function(t) { + t instanceof yd && r.update(); + })); + } + return ( + (t.prototype.ngAfterContentInit = function() { + var t = this; + this.links.changes.subscribe(function(n) { + return t.update(); + }), + this.linksWithHrefs.changes.subscribe(function(n) { + return t.update(); + }), + this.update(); + }), + Object.defineProperty(t.prototype, "routerLinkActive", { + set: function(t) { + var n = Array.isArray(t) ? t : t.split(" "); + this.classes = n.filter(function(t) { + return !!t; + }); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.ngOnChanges = function(t) { + this.update(); + }), + (t.prototype.ngOnDestroy = function() { + this.subscription.unsubscribe(); + }), + (t.prototype.update = function() { + var t = this; + this.links && + this.linksWithHrefs && + this.router.navigated && + Promise.resolve().then(function() { + var n = t.hasActiveLinks(); + t.isActive !== n && + ((t.isActive = n), + t.classes.forEach(function(e) { + n + ? t.renderer.addClass(t.element.nativeElement, e) + : t.renderer.removeClass(t.element.nativeElement, e); + })); + }); + }), + (t.prototype.isLinkActive = function(t) { + var n = this; + return function(e) { + return t.isActive(e.urlTree, n.routerLinkActiveOptions.exact); + }; + }), + (t.prototype.hasActiveLinks = 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 + ); + })(), + Bm = (function() { + return function() { + (this.outlet = null), + (this.route = null), + (this.resolver = null), + (this.children = new Vm()), + (this.attachRef = null); + }; + })(), + Vm = (function() { + function t() { + this.contexts = new Map(); + } + return ( + (t.prototype.onChildOutletCreated = function(t, n) { + var e = this.getOrCreateContext(t); + (e.outlet = n), this.contexts.set(t, e); + }), + (t.prototype.onChildOutletDestroyed = function(t) { + var n = this.getContext(t); + n && (n.outlet = null); + }), + (t.prototype.onOutletDeactivated = function() { + var t = this.contexts; + return (this.contexts = new Map()), t; + }), + (t.prototype.onOutletReAttached = function(t) { + this.contexts = t; + }), + (t.prototype.getOrCreateContext = function(t) { + var n = this.getContext(t); + return n || ((n = new Bm()), this.contexts.set(t, n)), n; + }), + (t.prototype.getContext = function(t) { + return this.contexts.get(t) || null; + }), + t + ); + })(), + Hm = (function() { + function t(t, n, e, o, a) { + (this.parentContexts = t), + (this.location = n), + (this.resolver = e), + (this.changeDetector = a), + (this.activated = null), + (this._activatedRoute = null), + (this.activateEvents = new ar()), + (this.deactivateEvents = new ar()), + (this.name = o || Nd), + t.onChildOutletCreated(this.name, this); + } + return ( + (t.prototype.ngOnDestroy = function() { + this.parentContexts.onChildOutletDestroyed(this.name); + }), + (t.prototype.ngOnInit = 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)); + } + }), + Object.defineProperty(t.prototype, "isActivated", { + get: function() { + return !!this.activated; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "component", { + get: function() { + if (!this.activated) throw new Error("Outlet is not activated"); + return this.activated.instance; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "activatedRoute", { + get: function() { + if (!this.activated) throw new Error("Outlet is not activated"); + return this._activatedRoute; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "activatedRouteData", { + get: function() { + return this._activatedRoute + ? this._activatedRoute.snapshot.data + : {}; + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.detach = 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; + }), + (t.prototype.attach = function(t, n) { + (this.activated = t), + (this._activatedRoute = n), + this.location.insert(t.hostView); + }), + (t.prototype.deactivate = function() { + if (this.activated) { + var t = this.component; + this.activated.destroy(), + (this.activated = null), + (this._activatedRoute = null), + this.deactivateEvents.emit(t); + } + }), + (t.prototype.activateWith = function(t, n) { + if (this.isActivated) + throw new Error("Cannot activate an already activated outlet"); + this._activatedRoute = t; + var e = (n = n || this.resolver).resolveComponentFactory( + t._futureSnapshot.routeConfig.component + ), + o = this.parentContexts.getOrCreateContext(this.name).children, + a = new Um(t, o, this.location.injector); + (this.activated = this.location.createComponent( + e, + this.location.length, + a + )), + this.changeDetector.markForCheck(), + this.activateEvents.emit(this.activated.instance); + }), + t + ); + })(), + Um = (function() { + function t(t, n, e) { + (this.route = t), (this.childContexts = n), (this.parent = e); + } + return ( + (t.prototype.get = function(t, n) { + return t === xp + ? this.route + : t === Vm + ? this.childContexts + : this.parent.get(t, n); + }), + t + ); + })(), + qm = (function() { + return function() {}; + })(), + Km = (function() { + function t() {} + return ( + (t.prototype.preload = function(t, n) { + return n().pipe( + Uc(function() { + return Wl(null); + }) + ); + }), + t + ); + })(), + Ym = (function() { + function t() {} + return ( + (t.prototype.preload = function(t, n) { + return Wl(null); + }), + t + ); + })(), + Wm = (function() { + function t(t, n, e, o, a) { + (this.router = t), + (this.injector = o), + (this.preloadingStrategy = a), + (this.loader = new Em( + n, + e, + function(n) { + return t.triggerEvent(new wd(n)); + }, + function(n) { + return t.triggerEvent(new Sd(n)); + } + )); + } + return ( + (t.prototype.setUpPreloading = function() { + var t = this; + this.subscription = this.router.events + .pipe( + Zl(function(t) { + return t instanceof yd; + }), + Gl(function() { + return t.preload(); + }) + ) + .subscribe(function() {}); + }), + (t.prototype.preload = function() { + var t = this.injector.get(Te); + return this.processRoutes(t, this.router.config); + }), + (t.prototype.ngOnDestroy = function() { + this.subscription.unsubscribe(); + }), + (t.prototype.processRoutes = function(t, n) { + var e, + a, + r = []; + try { + for ( + var i = Object(o.__values)(n), l = i.next(); + !l.done; + l = i.next() + ) { + var s = l.value; + if (s.loadChildren && !s.canLoad && s._loadedConfig) { + var c = s._loadedConfig; + r.push(this.processRoutes(c.module, c.routes)); + } else + s.loadChildren && !s.canLoad + ? r.push(this.preloadConfig(t, s)) + : s.children && r.push(this.processRoutes(t, s.children)); + } + } catch (u) { + e = { error: u }; + } finally { + try { + l && !l.done && (a = i.return) && a.call(i); + } finally { + if (e) throw e.error; + } + } + return W(r).pipe( + J(), + U(function(t) {}) + ); + }), + (t.prototype.preloadConfig = function(t, n) { + var e = this; + return this.preloadingStrategy.preload(n, function() { + return e.loader.load(t.injector, n).pipe( + G(function(t) { + return ( + (n._loadedConfig = t), e.processRoutes(t.module, t.routes) + ); + }) + ); + }); + }), + t + ); + })(), + Gm = (function() { + function t(t, n, e) { + void 0 === e && (e = {}), + (this.router = t), + (this.viewportScroller = n), + (this.options = e), + (this.lastId = 0), + (this.lastSource = "imperative"), + (this.restoredId = 0), + (this.store = {}), + (e.scrollPositionRestoration = + e.scrollPositionRestoration || "disabled"), + (e.anchorScrolling = e.anchorScrolling || "disabled"); + } + return ( + (t.prototype.init = function() { + "disabled" !== this.options.scrollPositionRestoration && + this.viewportScroller.setHistoryScrollRestoration("manual"), + (this.routerEventsSubscription = this.createScrollEvents()), + (this.scrollEventsSubscription = this.consumeScrollEvents()); + }), + (t.prototype.createScrollEvents = function() { + var t = this; + return this.router.events.subscribe(function(n) { + n instanceof _d + ? ((t.store[ + t.lastId + ] = t.viewportScroller.getScrollPosition()), + (t.lastSource = n.navigationTrigger), + (t.restoredId = n.restoredState + ? n.restoredState.navigationId + : 0)) + : n instanceof yd && + ((t.lastId = n.id), + t.scheduleScrollEvent( + n, + t.router.parseUrl(n.urlAfterRedirects).fragment + )); + }); + }), + (t.prototype.consumeScrollEvents = function() { + var t = this; + return this.router.events.subscribe(function(n) { + n instanceof Rd && + (n.position + ? "top" === t.options.scrollPositionRestoration + ? t.viewportScroller.scrollToPosition([0, 0]) + : "enabled" === t.options.scrollPositionRestoration && + t.viewportScroller.scrollToPosition(n.position) + : n.anchor && "enabled" === t.options.anchorScrolling + ? t.viewportScroller.scrollToAnchor(n.anchor) + : "disabled" !== t.options.scrollPositionRestoration && + t.viewportScroller.scrollToPosition([0, 0])); + }); + }), + (t.prototype.scheduleScrollEvent = function(t, n) { + this.router.triggerEvent( + new Rd( + t, + "popstate" === this.lastSource + ? this.store[this.restoredId] + : null, + n + ) + ); + }), + (t.prototype.ngOnDestroy = function() { + this.routerEventsSubscription && + this.routerEventsSubscription.unsubscribe(), + this.scrollEventsSubscription && + this.scrollEventsSubscription.unsubscribe(); + }), + t + ); + })(), + Zm = new Ut("ROUTER_CONFIGURATION"), + Qm = new Ut("ROUTER_FORROOT_GUARD"), + Xm = [ + es, + { provide: op, useClass: ap }, + { + provide: Nm, + useFactory: ag, + deps: [ + Xr, + op, + Vm, + es, + Zt, + ir, + xr, + Sm, + Zm, + [Im, new gt()], + [km, new gt()] + ] + }, + Vm, + { provide: xp, useFactory: rg, deps: [Nm] }, + { provide: ir, useClass: ni }, + Wm, + Ym, + Km, + { provide: Zm, useValue: { enableTracing: !1 } } + ]; + function Jm() { + return new Yr("Router", Nm); + } + var $m = (function() { + function t(t, n) {} + var n; + return ( + (n = t), + (t.forRoot = function(t, e) { + return { + ngModule: n, + providers: [ + Xm, + og(t), + { + provide: Qm, + useFactory: eg, + deps: [[Nm, new gt(), new ht()]] + }, + { provide: Zm, useValue: e || {} }, + { + provide: ts, + useFactory: ng, + deps: [Jl, [new mt(ns), new gt()], Zm] + }, + { provide: Gm, useFactory: tg, deps: [Nm, Fs, Zm] }, + { + provide: qm, + useExisting: + e && e.preloadingStrategy ? e.preloadingStrategy : Ym + }, + { provide: Yr, multi: !0, useFactory: Jm }, + [ + ig, + { provide: cr, multi: !0, useFactory: lg, deps: [ig] }, + { provide: dg, useFactory: sg, deps: [ig] }, + { provide: hr, multi: !0, useExisting: dg } + ] + ] + }; + }), + (t.forChild = function(t) { + return { ngModule: n, providers: [og(t)] }; + }), + t + ); + })(); + function tg(t, n, e) { + return e.scrollOffset && n.setOffset(e.scrollOffset), new Gm(t, n, e); + } + function ng(t, n, e) { + return ( + void 0 === e && (e = {}), e.useHash ? new as(t, n) : new rs(t, n) + ); + } + function eg(t) { + if (t) + throw new Error( + "RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead." + ); + return "guarded"; + } + function og(t) { + return [ + { provide: In, multi: !0, useValue: t }, + { provide: Sm, multi: !0, useValue: t } + ]; + } + function ag(t, n, e, o, a, r, i, l, s, c, u) { + void 0 === s && (s = {}); + var d = new Nm(null, n, e, o, a, r, i, Wd(l)); + if ( + (c && (d.urlHandlingStrategy = c), + u && (d.routeReuseStrategy = u), + s.errorHandler && (d.errorHandler = s.errorHandler), + s.malformedUriErrorHandler && + (d.malformedUriErrorHandler = s.malformedUriErrorHandler), + s.enableTracing) + ) { + var p = cu(); + d.events.subscribe(function(t) { + p.logGroup("Router Event: " + t.constructor.name), + p.log(t.toString()), + p.log(t), + p.logGroupEnd(); + }); + } + return ( + s.onSameUrlNavigation && + (d.onSameUrlNavigation = s.onSameUrlNavigation), + s.paramsInheritanceStrategy && + (d.paramsInheritanceStrategy = s.paramsInheritanceStrategy), + s.urlUpdateStrategy && (d.urlUpdateStrategy = s.urlUpdateStrategy), + s.relativeLinkResolution && + (d.relativeLinkResolution = s.relativeLinkResolution), + d + ); + } + function rg(t) { + return t.routerState.root; + } + var ig = (function() { + function t(t) { + (this.injector = t), + (this.initNavigation = !1), + (this.resultOfPreactivationDone = new S()); + } + return ( + (t.prototype.appInitializer = function() { + var t = this; + return this.injector + .get($l, Promise.resolve(null)) + .then(function() { + var n = null, + e = new Promise(function(t) { + return (n = t); + }), + o = t.injector.get(Nm), + a = t.injector.get(Zm); + if (t.isLegacyDisabled(a) || t.isLegacyEnabled(a)) n(!0); + else if ("disabled" === a.initialNavigation) + o.setUpLocationChangeListener(), n(!0); + else { + if ("enabled" !== a.initialNavigation) + throw new Error( + "Invalid initialNavigation options: '" + + a.initialNavigation + + "'" + ); + (o.hooks.afterPreactivation = function() { + return t.initNavigation + ? Wl(null) + : ((t.initNavigation = !0), + n(!0), + t.resultOfPreactivationDone); + }), + o.initialNavigation(); + } + return e; + }); + }), + (t.prototype.bootstrapListener = function(t) { + var n = this.injector.get(Zm), + e = this.injector.get(Wm), + o = this.injector.get(Gm), + a = this.injector.get(Nm), + r = this.injector.get(Xr); + t === r.components[0] && + (this.isLegacyEnabled(n) + ? a.initialNavigation() + : this.isLegacyDisabled(n) && a.setUpLocationChangeListener(), + e.setUpPreloading(), + o.init(), + a.resetRootComponentType(r.componentTypes[0]), + this.resultOfPreactivationDone.next(null), + this.resultOfPreactivationDone.complete()); + }), + (t.prototype.isLegacyEnabled = function(t) { + return ( + "legacy_enabled" === t.initialNavigation || + !0 === t.initialNavigation || + void 0 === t.initialNavigation + ); + }), + (t.prototype.isLegacyDisabled = function(t) { + return ( + "legacy_disabled" === t.initialNavigation || + !1 === t.initialNavigation + ); + }), + t + ); + })(); + function lg(t) { + return t.appInitializer.bind(t); + } + function sg(t) { + return t.bootstrapListener.bind(t); + } + var cg, + ug, + dg = new Ut("Router Initializer"), + pg = (function() { + function t(t, n) { + var e = this; + (this.appRef = t), + (this.beatOnApi = n), + (this.connectionStatus = mg.Disconnected), + (this.setupMessage = new ar()), + (this.toastMessage = new ar()), + (this.downloadStatusMessage = new ar()), + (this.configChangeMessage = new ar()), + (this.opStatusMessage = new ar()), + (this.connectionStatusChanged = new ar()), + (this.actionResponseMessage = new ar()), + Hl.WS_ENDPOINT_OVERRIDE + ? ((this.netConfig = { + Url: Hl.API_ENDPOINT, + WebSocketUrl: Hl.WS_ENDPOINT_OVERRIDE + }), + this.openSocket()) + : n.getNetInfo().subscribe( + function(t) { + (e.netConfig = t), + console.log( + "HostMessageService got net config info, websocket is at " + + e.netConfig.WebSocketUrl + ), + e.openSocket(); + }, + function(t) { + console.log( + "Critical error: could not get net info for web socket!" + ); + } + ); + } + return ( + (t.prototype.openSocket = function() { + var t = this; + null == this.websocket || + this.websocket.readyState !== WebSocket.OPEN + ? (null != this.websocket && this.websocket.close(), + (this.connectionStatus = mg.Connecting), + this.connectionStatusChanged.emit(this.connectionStatus), + (this.websocket = new WebSocket(this.netConfig.WebSocketUrl)), + (this.websocket.onopen = function(n) { + console.log("Connection opened"), + (t.connectionStatus = mg.Connected), + t.connectionStatusChanged.emit(t.connectionStatus); + }), + (this.websocket.onmessage = function(n) { + t.connectionStatus != mg.Connected && + ((t.connectionStatus = mg.Connected), + t.connectionStatusChanged.emit(t.connectionStatus)); + var e = new FileReader(); + (e.onload = function() { + var n = e.result, + o = JSON.parse(n); + "SetupEvent" == o.Type + ? t.setupMessage.emit(o) + : "Toast" == o.Type + ? t.toastMessage.emit(o) + : "DownloadStatus" == o.Type + ? t.downloadStatusMessage.emit(o) + : "ConfigChange" == o.Type + ? t.configChangeMessage.emit(o) + : "OpStatus" == o.Type + ? t.opStatusMessage.emit(o) + : "ActionResponse" == o.Type + ? t.actionResponseMessage.emit(o) + : console.log("Unknown host message: " + n), + t.appRef.tick(); + }), + e.readAsText(n.data); + }), + (this.websocket.onclose = function(n) { + (t.connectionStatus = mg.Disconnected), + t.connectionStatusChanged.emit(t.connectionStatus), + console.log( + "Connection was closed, reconnecting in several seconds..." + ); + }), + (this.websocket.onerror = function(n) { + (t.connectionStatus = mg.Error), + t.connectionStatusChanged.emit(t.connectionStatus), + console.log("WEBSOCKET ERROR OH NOOOOO!"); + })) + : console.log( + "HostMessageService.openSocket called, but the connection is already open." + ); + }), + (t.prototype.reconnect = function() { + (null != this.websocket && + this.websocket.readyState === WebSocket.OPEN) || + this.openSocket(); + }), + (t.prototype.sendClientMessage = function(t) { + var n = this; + if (this.connectionStatus != mg.Connected) { + var e; + (e = this.connectionStatusChanged.subscribe(function(o) { + if (o == mg.Connected) { + var a = JSON.stringify(t); + n.websocket.send(a), e.unsubscribe(); + } + })), + this.connectionStatus == mg.Disconnected && this.reconnect(); + } else { + var o = JSON.stringify(t); + this.websocket.send(o); + } + }), + (t.ngInjectableDef = yt({ + factory: function() { + return new t(Tt(Xr), Tt(yc)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + mg = (function(t) { + return ( + (t[(t.Disconnected = 0)] = "Disconnected"), + (t[(t.Connecting = 1)] = "Connecting"), + (t[(t.Connected = 2)] = "Connected"), + (t[(t.Error = 3)] = "Error"), + t + ); + })({}); + !(function(t) { + (t.Error = "Error"), + (t.Warning = "Warning"), + (t.Info = "Info"), + (t.Success = "Success"); + })(cg || (cg = {})), + (function(t) { + (t.Step1Complete = "Step1Complete"), + (t.Step2Complete = "Step2Complete"), + (t.Step3Complete = "Step3Complete"), + (t.Error = "Error"), + (t.StatusMessage = "StatusMessage"); + })(ug || (ug = {})); + var gg = (function() { + function t(t, n, e, o, a, r) { + var i = this; + (this.toastId = t), + (this.config = n), + (this.message = e), + (this.title = o), + (this.toastType = a), + (this.toastRef = r), + (this._onTap = new S()), + (this._onAction = new S()), + this.toastRef.afterClosed().subscribe(function() { + i._onAction.complete(), i._onTap.complete(); + }); + } + return ( + (t.prototype.triggerTap = function() { + this._onTap.next(), + this.config.tapToDismiss && this._onTap.complete(); + }), + (t.prototype.onTap = function() { + return this._onTap.asObservable(); + }), + (t.prototype.triggerAction = function(t) { + this._onAction.next(t); + }), + (t.prototype.onAction = function() { + return this._onAction.asObservable(); + }), + t + ); + })(), + fg = { + maxOpened: 0, + autoDismiss: !1, + newestOnTop: !0, + preventDuplicates: !1, + countDuplicates: !1, + resetTimeoutOnDuplicate: !1, + iconClasses: { + error: "toast-error", + info: "toast-info", + success: "toast-success", + warning: "toast-warning" + }, + closeButton: !1, + disableTimeOut: !1, + timeOut: 5e3, + extendedTimeOut: 1e3, + enableHtml: !1, + progressBar: !1, + toastClass: "ngx-toastr", + positionClass: "toast-top-right", + titleClass: "toast-title", + messageClass: "toast-message", + easing: "ease-in", + easeTime: 300, + tapToDismiss: !0, + onActivateTick: !1, + progressAnimation: "decreasing" + }, + hg = new Ut("ToastConfig"), + bg = (function() { + function t(t, n) { + (this.component = t), (this.injector = n); + } + return ( + (t.prototype.attach = function(t, n) { + return (this._attachedHost = t), t.attach(this, n); + }), + (t.prototype.detach = function() { + var t = this._attachedHost; + if (t) return (this._attachedHost = void 0), t.detach(); + }), + Object.defineProperty(t.prototype, "isAttached", { + get: function() { + return null != this._attachedHost; + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.setAttachedHost = function(t) { + this._attachedHost = t; + }), + t + ); + })(), + _g = (function(t) { + function n(n, e, o) { + var a = t.call(this) || this; + return ( + (a._hostDomElement = n), + (a._componentFactoryResolver = e), + (a._appRef = o), + a + ); + } + return ( + Object(o.__extends)(n, t), + (n.prototype.attachComponentPortal = function(t, n) { + var e, + o = this, + a = this._componentFactoryResolver.resolveComponentFactory( + t.component + ); + return ( + (e = a.create(t.injector)), + this._appRef.attachView(e.hostView), + this.setDisposeFn(function() { + o._appRef.detachView(e.hostView), e.destroy(); + }), + n + ? this._hostDomElement.insertBefore( + this._getComponentRootNode(e), + this._hostDomElement.firstChild + ) + : this._hostDomElement.appendChild( + this._getComponentRootNode(e) + ), + e + ); + }), + (n.prototype._getComponentRootNode = function(t) { + return t.hostView.rootNodes[0]; + }), + n + ); + })( + (function() { + function t() {} + return ( + (t.prototype.attach = function(t, n) { + return ( + (this._attachedPortal = t), this.attachComponentPortal(t, n) + ); + }), + (t.prototype.detach = function() { + this._attachedPortal && this._attachedPortal.setAttachedHost(), + (this._attachedPortal = void 0), + this._disposeFn && + (this._disposeFn(), (this._disposeFn = void 0)); + }), + (t.prototype.setDisposeFn = function(t) { + this._disposeFn = t; + }), + t + ); + })() + ), + yg = (function() { + function t(t) { + this._document = t; + } + return ( + (t.prototype.ngOnDestroy = function() { + this._containerElement && + this._containerElement.parentNode && + this._containerElement.parentNode.removeChild( + this._containerElement + ); + }), + (t.prototype.getContainerElement = function() { + return ( + this._containerElement || this._createContainer(), + this._containerElement + ); + }), + (t.prototype._createContainer = function() { + var t = this._document.createElement("div"); + t.classList.add("overlay-container"), + this._document.body.appendChild(t), + (this._containerElement = t); + }), + (t.ngInjectableDef = Ct({ + factory: function() { + return new t(Rt(Ds)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + Cg = (function() { + function t(t) { + this._portalHost = t; + } + return ( + (t.prototype.attach = function(t, n) { + return void 0 === n && (n = !0), this._portalHost.attach(t, n); + }), + (t.prototype.detach = function() { + return this._portalHost.detach(); + }), + t + ); + })(), + vg = (function() { + function t(t, n, e, o) { + (this._overlayContainer = t), + (this._componentFactoryResolver = n), + (this._appRef = e), + (this._document = o), + (this._paneElements = new Map()); + } + return ( + (t.prototype.create = function(t, n) { + return this._createOverlayRef(this.getPaneElement(t, n)); + }), + (t.prototype.getPaneElement = function(t, n) { + return ( + void 0 === t && (t = ""), + this._paneElements.get(n) || this._paneElements.set(n, {}), + this._paneElements.get(n)[t] || + (this._paneElements.get(n)[t] = this._createPaneElement( + t, + n + )), + this._paneElements.get(n)[t] + ); + }), + (t.prototype._createPaneElement = function(t, n) { + var e = this._document.createElement("div"); + return ( + (e.id = "toast-container"), + e.classList.add(t), + e.classList.add("toast-container"), + n + ? n.getContainerElement().appendChild(e) + : this._overlayContainer.getContainerElement().appendChild(e), + e + ); + }), + (t.prototype._createPortalHost = function(t) { + return new _g(t, this._componentFactoryResolver, this._appRef); + }), + (t.prototype._createOverlayRef = function(t) { + return new Cg(this._createPortalHost(t)); + }), + (t.ngInjectableDef = Ct({ + factory: function() { + return new t(Rt(yg), Rt(Ee), Rt(Xr), Rt(Ds)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + Og = (function() { + function t(t) { + (this._overlayRef = t), + (this.duplicatesCount = 0), + (this._afterClosed = new S()), + (this._activate = new S()), + (this._manualClose = new S()), + (this._resetTimeout = new S()), + (this._countDuplicate = new S()); + } + return ( + (t.prototype.manualClose = function() { + this._manualClose.next(), this._manualClose.complete(); + }), + (t.prototype.manualClosed = function() { + return this._manualClose.asObservable(); + }), + (t.prototype.timeoutReset = function() { + return this._resetTimeout.asObservable(); + }), + (t.prototype.countDuplicate = function() { + return this._countDuplicate.asObservable(); + }), + (t.prototype.close = function() { + this._overlayRef.detach(), + this._afterClosed.next(), + this._manualClose.next(), + this._afterClosed.complete(), + this._manualClose.complete(), + this._activate.complete(), + this._resetTimeout.complete(), + this._countDuplicate.complete(); + }), + (t.prototype.afterClosed = function() { + return this._afterClosed.asObservable(); + }), + (t.prototype.isInactive = function() { + return this._activate.isStopped; + }), + (t.prototype.activate = function() { + this._activate.next(), this._activate.complete(); + }), + (t.prototype.afterActivate = function() { + return this._activate.asObservable(); + }), + (t.prototype.onDuplicate = function(t, n) { + t && this._resetTimeout.next(), + n && this._countDuplicate.next(++this.duplicatesCount); + }), + t + ); + })(), + Pg = (function() { + function t(t, n) { + (this._toastPackage = t), (this._parentInjector = n); + } + return ( + (t.prototype.get = function(t, n, e) { + return t === gg + ? this._toastPackage + : this._parentInjector.get(t, n, e); + }), + t + ); + })(), + Mg = (function() { + function t(t, n, e, a, r) { + (this.overlay = n), + (this._injector = e), + (this.sanitizer = a), + (this.ngZone = r), + (this.currentlyActive = 0), + (this.toasts = []), + (this.index = 0), + (this.toastrConfig = Object(o.__assign)({}, t.default, t.config)), + t.config.iconClasses && + (this.toastrConfig.iconClasses = Object(o.__assign)( + {}, + t.default.iconClasses, + t.config.iconClasses + )); + } + return ( + (t.prototype.show = function(t, n, e, o) { + return ( + void 0 === e && (e = {}), + void 0 === o && (o = ""), + this._preBuildNotification(o, t, n, this.applyConfig(e)) + ); + }), + (t.prototype.success = function(t, n, e) { + return ( + void 0 === e && (e = {}), + this._preBuildNotification( + this.toastrConfig.iconClasses.success || "", + t, + n, + this.applyConfig(e) + ) + ); + }), + (t.prototype.error = function(t, n, e) { + return ( + void 0 === e && (e = {}), + this._preBuildNotification( + this.toastrConfig.iconClasses.error || "", + t, + n, + this.applyConfig(e) + ) + ); + }), + (t.prototype.info = function(t, n, e) { + return ( + void 0 === e && (e = {}), + this._preBuildNotification( + this.toastrConfig.iconClasses.info || "", + t, + n, + this.applyConfig(e) + ) + ); + }), + (t.prototype.warning = function(t, n, e) { + return ( + void 0 === e && (e = {}), + this._preBuildNotification( + this.toastrConfig.iconClasses.warning || "", + t, + n, + this.applyConfig(e) + ) + ); + }), + (t.prototype.clear = function(t) { + var n, e; + try { + for ( + var a = Object(o.__values)(this.toasts), r = a.next(); + !r.done; + r = a.next() + ) { + var i = r.value; + if (void 0 !== t) { + if (i.toastId === t) return void i.toastRef.manualClose(); + } else i.toastRef.manualClose(); + } + } catch (l) { + n = { error: l }; + } finally { + try { + r && !r.done && (e = a.return) && e.call(a); + } finally { + if (n) throw n.error; + } + } + }), + (t.prototype.remove = function(t) { + var n = this._findToast(t); + if (!n) return !1; + if ( + (n.activeToast.toastRef.close(), + this.toasts.splice(n.index, 1), + (this.currentlyActive = this.currentlyActive - 1), + !this.toastrConfig.maxOpened || !this.toasts.length) + ) + return !1; + if ( + this.currentlyActive < this.toastrConfig.maxOpened && + this.toasts[this.currentlyActive] + ) { + var e = this.toasts[this.currentlyActive].toastRef; + e.isInactive() || + ((this.currentlyActive = this.currentlyActive + 1), + e.activate()); + } + return !0; + }), + (t.prototype.findDuplicate = function(t, n, e) { + for (var o = 0; o < this.toasts.length; o++) { + var a = this.toasts[o]; + if (a.message === t) return a.toastRef.onDuplicate(n, e), a; + } + return null; + }), + (t.prototype.applyConfig = function(t) { + return ( + void 0 === t && (t = {}), + Object(o.__assign)({}, this.toastrConfig, t) + ); + }), + (t.prototype._findToast = function(t) { + for (var n = 0; n < this.toasts.length; n++) + if (this.toasts[n].toastId === t) + return { index: n, activeToast: this.toasts[n] }; + return null; + }), + (t.prototype._preBuildNotification = function(t, n, e, o) { + var a = this; + return o.onActivateTick + ? this.ngZone.run(function() { + return a._buildNotification(t, n, e, o); + }) + : this._buildNotification(t, n, e, o); + }), + (t.prototype._buildNotification = function(t, n, e, o) { + var a = this; + if (!o.toastComponent) throw new Error("toastComponent required"); + var r = this.findDuplicate( + n, + this.toastrConfig.resetTimeoutOnDuplicate, + this.toastrConfig.countDuplicates + ); + if (n && this.toastrConfig.preventDuplicates && null !== r) + return r; + this.previousToastMessage = n; + var i = !1; + this.toastrConfig.maxOpened && + this.currentlyActive >= this.toastrConfig.maxOpened && + ((i = !0), + this.toastrConfig.autoDismiss && + this.clear(this.toasts[0].toastId)); + var l = this.overlay.create( + o.positionClass, + this.overlayContainer + ); + this.index = this.index + 1; + var s = n; + n && o.enableHtml && (s = this.sanitizer.sanitize(le.HTML, n)); + var c = new Og(l), + u = new gg(this.index, o, s, e, t, c), + d = new Pg(u, this._injector), + p = new bg(o.toastComponent, d), + m = l.attach(p, this.toastrConfig.newestOnTop); + c.componentInstance = m._component; + var g = { + toastId: this.index, + message: n || "", + toastRef: c, + onShown: c.afterActivate(), + onHidden: c.afterClosed(), + onTap: u.onTap(), + onAction: u.onAction(), + portal: m + }; + return ( + i || + setTimeout(function() { + g.toastRef.activate(), + (a.currentlyActive = a.currentlyActive + 1); + }), + this.toasts.push(g), + g + ); + }), + (t.ngInjectableDef = Ct({ + factory: function() { + return new t(Rt(hg), Rt(vg), Rt(Wt), Rt(id), Rt(Dr)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + xg = (function() { + function t(t, n, e) { + var o = this; + (this.toastrService = t), + (this.toastPackage = n), + (this.ngZone = e), + (this.width = -1), + (this.toastClasses = ""), + (this.state = { + value: "inactive", + params: { + easeTime: this.toastPackage.config.easeTime, + easing: "ease-in" + } + }), + (this.message = n.message), + (this.title = n.title), + (this.options = n.config), + (this.originalTimeout = n.config.timeOut), + (this.toastClasses = n.toastType + " " + n.config.toastClass), + (this.sub = n.toastRef.afterActivate().subscribe(function() { + o.activateToast(); + })), + (this.sub1 = n.toastRef.manualClosed().subscribe(function() { + o.remove(); + })), + (this.sub2 = n.toastRef.timeoutReset().subscribe(function() { + o.resetTimeout(); + })), + (this.sub3 = n.toastRef.countDuplicate().subscribe(function(t) { + o.duplicatesCount = t; + })); + } + return ( + Object.defineProperty(t.prototype, "displayStyle", { + get: function() { + return "inactive" === this.state.value ? "none" : "inherit"; + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.ngOnDestroy = function() { + this.sub.unsubscribe(), + this.sub1.unsubscribe(), + this.sub2.unsubscribe(), + this.sub3.unsubscribe(), + clearInterval(this.intervalId), + clearTimeout(this.timeout); + }), + (t.prototype.activateToast = function() { + var t = this; + (this.state = Object(o.__assign)({}, this.state, { + value: "active" + })), + !this.options.disableTimeOut && + this.options.timeOut && + (this.outsideTimeout(function() { + return t.remove(); + }, this.options.timeOut), + (this.hideTime = new Date().getTime() + this.options.timeOut), + this.options.progressBar && + this.outsideInterval(function() { + return t.updateProgress(); + }, 10)); + }), + (t.prototype.updateProgress = function() { + if ( + 0 !== this.width && + 100 !== this.width && + this.options.timeOut + ) { + var t = new Date().getTime(); + (this.width = + ((this.hideTime - t) / this.options.timeOut) * 100), + "increasing" === this.options.progressAnimation && + (this.width = 100 - this.width), + this.width <= 0 && (this.width = 0), + this.width >= 100 && (this.width = 100); + } + }), + (t.prototype.resetTimeout = function() { + var t = this; + clearTimeout(this.timeout), + clearInterval(this.intervalId), + (this.state = Object(o.__assign)({}, this.state, { + value: "active" + })), + this.outsideTimeout(function() { + return t.remove(); + }, this.originalTimeout), + (this.options.timeOut = this.originalTimeout), + (this.hideTime = + new Date().getTime() + (this.options.timeOut || 0)), + (this.width = -1), + this.options.progressBar && + this.outsideInterval(function() { + return t.updateProgress(); + }, 10); + }), + (t.prototype.remove = function() { + var t = this; + "removed" !== this.state.value && + (clearTimeout(this.timeout), + (this.state = Object(o.__assign)({}, this.state, { + value: "removed" + })), + this.outsideTimeout(function() { + return t.toastrService.remove(t.toastPackage.toastId); + }, +this.toastPackage.config.easeTime)); + }), + (t.prototype.tapToast = function() { + "removed" !== this.state.value && + (this.toastPackage.triggerTap(), + this.options.tapToDismiss && this.remove()); + }), + (t.prototype.stickAround = function() { + "removed" !== this.state.value && + (clearTimeout(this.timeout), + (this.options.timeOut = 0), + (this.hideTime = 0), + clearInterval(this.intervalId), + (this.width = 0)); + }), + (t.prototype.delayedHideToast = function() { + var t = this; + this.options.disableTimeOut || + 0 === this.options.extendedTimeOut || + "removed" === this.state.value || + (this.outsideTimeout(function() { + return t.remove(); + }, this.options.extendedTimeOut), + (this.options.timeOut = this.options.extendedTimeOut), + (this.hideTime = + new Date().getTime() + (this.options.timeOut || 0)), + (this.width = -1), + this.options.progressBar && + this.outsideInterval(function() { + return t.updateProgress(); + }, 10)); + }), + (t.prototype.outsideTimeout = function(t, n) { + var e = this; + this.ngZone + ? this.ngZone.runOutsideAngular(function() { + return (e.timeout = setTimeout(function() { + return e.runInsideAngular(t); + }, n)); + }) + : (this.timeout = setTimeout(function() { + return t(); + }, n)); + }), + (t.prototype.outsideInterval = function(t, n) { + var e = this; + this.ngZone + ? this.ngZone.runOutsideAngular(function() { + return (e.intervalId = setInterval(function() { + return e.runInsideAngular(t); + }, n)); + }) + : (this.intervalId = setInterval(function() { + return t(); + }, n)); + }), + (t.prototype.runInsideAngular = function(t) { + this.ngZone + ? this.ngZone.run(function() { + return t(); + }) + : t(); + }), + t + ); + })(), + kg = Object(o.__assign)({}, fg, { toastComponent: xg }), + wg = (function() { + function t() {} + var n; + return ( + (n = t), + (t.forRoot = function(t) { + return ( + void 0 === t && (t = {}), + { + ngModule: n, + providers: [ + { provide: hg, useValue: { default: kg, config: t } } + ] + } + ); + }), + t + ); + })(), + Sg = (function() { + function t(t, n, e) { + var o = this; + (this.beatOnApi = t), + (this.msgSvc = n), + (this.toastr = e), + (this.configUpdated = new ar()), + console.log( + "config service subscribing to host config change event" + ), + this.msgSvc.configChangeMessage.subscribe(function(t) { + console.log("config service got updated config message"), + (o.currentConfig = t.UpdatedConfig), + o.configUpdated.emit(t.UpdatedConfig); + }); + } + return ( + (t.prototype.getConfig = function() { + var t = this; + return new O(function(n) { + null != t.currentConfig + ? n.next(t.currentConfig) + : t.beatOnApi.getConfig().subscribe( + function(e) { + (t.currentConfig = e), n.next(e); + }, + function(e) { + t.toastr.error( + "Unable to load configuration", + "Showstopping Error", + { timeOut: 30 } + ), + (t.currentConfig = { IsCommitted: !0, Config: {} }), + n.next(t.currentConfig); + } + ); + }); + }), + (t.prototype.ngOnInit = function() {}), + (t.prototype.refreshConfig = function() { + var t = this; + this.beatOnApi.getConfig().subscribe( + function(n) { + (t.currentConfig = n), t.configUpdated.emit(n); + }, + function(t) { + console.log("ERROR" + t); + } + ); + }), + (t.ngInjectableDef = yt({ + factory: function() { + return new t(Tt(yc), Tt(pg), Tt(Mg)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + Eg = (function() { + function t() { + var t = this; + (this.appButtonPressed = new ar()), + (this.isBrowserShown = !1), + window.addEventListener( + "appbutton", + function(n) { + t.appButtonPressed.emit(n.detail); + }, + !1 + ); + } + return ( + (t.prototype.isAppLoaded = function() { + return null != window[t.INTERFACE_NAME]; + }), + (t.prototype.refreshBrowser = function() { + console.log("calling interface refresh browser"), + window[t.INTERFACE_NAME].refreshBrowser(); + }), + (t.prototype.showBrowser = function() { + var n = document + .getElementById("mainContentDiv") + .getBoundingClientRect(); + console.log( + "calling interface show browser with offset " + n.top + ), + window[t.INTERFACE_NAME].showBrowser(n.top), + (this.isBrowserShown = !0); + }), + (t.prototype.hideBrowser = function() { + console.log("calling interface hide browser"), + window[t.INTERFACE_NAME].hideBrowser(), + (this.isBrowserShown = !1); + }), + (t.prototype.browserGoBack = function() { + console.log("calling interface browser go back"), + window[t.INTERFACE_NAME].browserGoBack(); + }), + (t.prototype.navigateBrowser = function(n) { + console.log("calling navigate browser with " + n), + window[t.INTERFACE_NAME].navigateBrowser(n); + }), + (t.prototype.showToast = function(n, e, o, a) { + console.log("calling toast"), + window[t.INTERFACE_NAME].showToast(n, e, cg[o], a); + }), + (t.INTERFACE_NAME = "BeatOnAppInterface"), + (t.ngInjectableDef = yt({ + factory: function() { + return new t(); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + Ig = (function() { + function t(t, n, e, o, a) { + var r = this; + (this.dialogRef = t), + (this.data = n), + (this.msgSvc = e), + (this.cdr = o), + (this.appIntegration = a), + (this.messages = new Array()), + (this.mainText = ""), + (this.mainText = n.mainText); + var i = !1; + t.afterOpened().subscribe(function() { + r.appIntegration.isBrowserShown && + r.appIntegration.isAppLoaded() && + (r.appIntegration.hideBrowser(), (i = !0)); + }), + t.beforeClosed().subscribe(function() { + i && + r.appIntegration.isAppLoaded() && + r.appIntegration.showBrowser(); + }), + this.msgSvc.setupMessage.subscribe(function(t) { + t.SetupEvent == ug.StatusMessage && + (r.messages.push(t.Message), r.cdr.detectChanges()); + }); + } + return ( + (t.prototype.addMessage = function(t) { + this.messages.push(t.data.Message); + }), + (t.prototype.ngOnInit = function() {}), + t + ); + })(), + Ag = (function(t) { + return ( + (t[(t.Queued = "Queued")] = "Queued"), + (t[(t.Started = "Started")] = "Started"), + (t[(t.Complete = "Complete")] = "Complete"), + (t[(t.Failed = "Failed")] = "Failed"), + t + ); + })({}), + Tg = (function() { + function t() { + (this.backClicked = new ar()), + (this.navigate = new ar()), + (this.refreshClicked = new ar()); + } + return ( + (t.prototype.triggerBackClicked = function() { + this.backClicked.emit(!0); + }), + (t.prototype.triggerRefreshClicked = function() { + this.refreshClicked.emit(!0); + }), + (t.prototype.triggerNavigate = function(t) { + this.navigate.emit(t); + }), + (t.ngInjectableDef = yt({ + factory: function() { + return new t(); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + Rg = (function(t) { + return ( + (t[(t.NotStarted = "NotStarted")] = "NotStarted"), + (t[(t.Downloading = "Downloading")] = "Downloading"), + (t[(t.Downloaded = "Downloaded")] = "Downloaded"), + (t[(t.Processing = "Proccessing")] = "Processing"), + (t[(t.Processed = "Processed")] = "Processed"), + (t[(t.Failed = "Failed")] = "Failed"), + t + ); + })({}), + Dg = (function() { + function t(t, n, e, o, a, r, i, l) { + var s = this; + (this.beatOnApi = t), + (this.router = n), + (this.msgSvc = e), + (this.toastr = o), + (this.cfgSvc = a), + (this.dialog = r), + (this.toolbarEvents = i), + (this.appIntegration = l), + (this.appIntegrated = !1), + (this.opInProgress = !1), + (this.dlInProgress = !1), + (this.modStatusLoaded = !1), + (this.title = "Beat On"), + (this.showRefreshButton = !1), + (this.showBackButton = !1), + (this.showBrowser = !1), + (this.resultJson = ""), + (this.modStatus = { CurrentStatus: "" }), + (this.config = { + IsCommitted: !0, + Config: null, + SyncConfig: null + }), + (this.connectionStatus = mg.Disconnected), + (this.appIntegrated = l.isAppLoaded()), + this.msgSvc.opStatusMessage.subscribe(function(t) { + s.opInProgress = + t.Ops.findIndex(function(t) { + return t.Status != Ag.Failed; + }) > -1; + }), + this.msgSvc.downloadStatusMessage.subscribe(function(t) { + s.dlInProgress = + t.Downloads.findIndex(function(t) { + return t.Status != Rg.Failed && t.Status != Rg.Processed; + }) > -1; + }), + this.router.events.subscribe(function(t) {}), + this.msgSvc.toastMessage.subscribe(function(t) { + return s.showToast(t); + }), + this.cfgSvc.configUpdated.subscribe(function(t) { + s.config = t; + }), + this.msgSvc.connectionStatusChanged.subscribe(function(t) { + s.connectionStatus = t; + }), + this.router.events.subscribe(function(t) { + t instanceof _d && + ((s.showBackButton = "/main/browser" == t.url), + (s.showRefreshButton = "/main/browser" == t.url), + (s.showBrowser = "/main/browser" == t.url), + "/" == t.url && + ((s.modStatusLoaded = !1), s.checkModStatus())); + }), + this.msgSvc.setupMessage.subscribe(function(t) { + switch (t.SetupEvent) { + case ug.Step1Complete: + s.router.navigateByUrl("/setupstep2"); + break; + case ug.Step2Complete: + s.router.navigateByUrl("/setupstep3"); + break; + case ug.Step3Complete: + s.router.navigateByUrl("/"); + } + }); + } + return ( + (t.prototype.ngOnInit = function() { + this.checkModStatus(); + }), + (t.prototype.showWait = function() { + return ( + !this.modStatusLoaded || + "/" == this.router.url || + null == this.config.Config + ); + }), + (t.prototype.commitConfig = function() { + var t = this.dialog.open(Ig, { + width: "450px", + height: "350px", + disableClose: !0, + data: { + mainText: "Updating config... Do not exit Beat On yet!" + } + }); + this.beatOnApi.commitConfig().subscribe( + function(n) { + t.close(); + }, + function(n) { + t.close(); + } + ); + }), + (t.prototype.clickStartBeatSaber = function() { + this.beatOnApi.startBeatSaber().subscribe(function() {}); + }), + (t.prototype.showToast = function(t) { + if (this.appIntegration.isBrowserShown) + return ( + console.log( + "redirecting toast to host since browser is visible" + ), + void this.appIntegration.showToast( + t.Title, + t.Message, + t.ToastType, + t.Timeout + ) + ); + switch ( + (console.log("browser is not shown, doing toast on web"), + t.ToastType) + ) { + case cg.Error: + this.toastr.error(t.Message, t.Title, { timeOut: t.Timeout }); + break; + case cg.Info: + this.toastr.info(t.Message, t.Title, { timeOut: t.Timeout }); + break; + case cg.Success: + this.toastr.success(t.Message, t.Title, { + timeOut: t.Timeout + }); + break; + case cg.Warning: + this.toastr.warning(t.Message, t.Title, { + timeOut: t.Timeout + }); + } + }), + (t.prototype.getConnStatusColor = function() { + return this.connectionStatus == mg.Connected + ? "green" + : this.connectionStatus == mg.Connecting + ? "orange" + : "gray"; + }), + (t.prototype.getConnStatusIcon = function() { + return ( + this.connectionStatus == mg.Connected || + this.connectionStatus == mg.Connecting + ); + }), + (t.prototype.resetConfig = function() { + var t = this.dialog.open(Ig, { + width: "450px", + height: "350px", + disableClose: !0, + data: { mainText: "Resetting changes..." } + }); + this.beatOnApi.revertConfig().subscribe( + function() { + t.close(); + }, + function(n) { + t.close(), console.log("Failed to revert config!"); + } + ); + }), + (t.prototype.reconnect = function() { + this.msgSvc.reconnect(); + }), + (t.prototype.checkModStatus = function() { + var t = this; + this.beatOnApi.getModStatus().subscribe(function(n) { + (t.modStatusLoaded = !0), + (t.modStatus = n), + "ModInstallNotStarted" == t.modStatus.CurrentStatus + ? t.router.navigateByUrl("/setup") + : "ReadyForModApply" == t.modStatus.CurrentStatus + ? t.router.navigateByUrl("/setupstep2") + : "ReadyForInstall" == t.modStatus.CurrentStatus + ? t.router.navigateByUrl("/setupstep3") + : "ModInstalled" == t.modStatus.CurrentStatus && + t.cfgSvc.getConfig().subscribe(function(n) { + (t.config = n), + ("/" == t.router.url || + t.router.url.indexOf("setup") > -1 || + "/main" == t.router.url || + "" == t.router.url) && + (t.appIntegration.isAppLoaded() + ? t.router.navigateByUrl("/main/browser") + : t.router.navigateByUrl("/main/upload")); + }); + }); + }), + (t.prototype.disableSync = function() { + return this.opInProgress || this.dlInProgress; + }), + (t.prototype.onClickModStatus = function() {}), + (t.prototype.onClickInstallModStep1 = function() { + var t = this; + this.beatOnApi.installModStep1().subscribe(function(n) { + (t.modStatusLoaded = !0), + (t.modStatus = n), + (t.resultJson = JSON.stringify(n)); + }); + }), + (t.prototype.onClickInstallModStep2 = function() { + var t = this; + this.beatOnApi.installModStep2().subscribe(function(n) { + (t.modStatus = n), (t.resultJson = JSON.stringify(n)); + }); + }), + (t.prototype.clickBack = function() { + this.toolbarEvents.triggerBackClicked(); + }), + (t.prototype.clickRefresh = function() { + this.toolbarEvents.triggerRefreshClicked(); + }), + (t.prototype.linkSelected = function(t) { + this.toolbarEvents.triggerNavigate(t); + }), + t + ); + })(), + Ng = So({ + encapsulation: 2, + styles: [], + data: { + animation: [ + { + type: 7, + name: "flyInOut", + definitions: [ + { + type: 0, + name: "inactive", + styles: { type: 6, styles: { opacity: 0 }, offset: null }, + options: void 0 + }, + { + type: 0, + name: "active", + styles: { type: 6, styles: { opacity: 1 }, offset: null }, + options: void 0 + }, + { + type: 0, + name: "removed", + styles: { type: 6, styles: { opacity: 0 }, offset: null }, + options: void 0 + }, + { + type: 1, + expr: "inactive => active", + animation: { + type: 4, + styles: null, + timings: "{{ easeTime }}ms {{ easing }}" + }, + options: null + }, + { + type: 1, + expr: "active => removed", + animation: { + type: 4, + styles: null, + timings: "{{ easeTime }}ms {{ easing }}" + }, + options: null + } + ], + options: {} + } + ] + } + }); + function zg(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 2, + "button", + [["aria-label", "Close"], ["class", "toast-close-button"]], + null, + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && (o = !1 !== t.component.remove() && o), o + ); + }, + null, + null + )), + (t()(), + bi( + 1, + 0, + null, + null, + 1, + "span", + [["aria-hidden", "true"]], + null, + null, + null, + null, + null + )), + (t()(), Ai(-1, null, ["\xd7"])) + ], + null, + null + ); + } + function Lg(t) { + return Di( + 0, + [ + (t()(), + bi(0, 0, null, null, 1, null, null, null, null, null, null, null)), + (t()(), Ai(1, null, ["[", "]"])) + ], + null, + function(t, n) { + t(n, 1, 0, n.component.duplicatesCount + 1); + } + ); + } + function jg(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 3, + "div", + [], + [[8, "className", 0], [1, "aria-label", 0]], + null, + null, + null, + null + )), + (t()(), Ai(1, null, [" ", " "])), + (t()(), hi(16777216, null, null, 1, null, Lg)), + Ba(3, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null) + ], + function(t, n) { + t(n, 3, 0, n.component.duplicatesCount); + }, + function(t, n) { + var e = n.component; + t(n, 0, 0, e.options.titleClass, e.title), t(n, 1, 0, e.title); + } + ); + } + function Fg(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 0, + "div", + [["aria-live", "polite"], ["role", "alertdialog"]], + [[8, "className", 0], [8, "innerHTML", 1]], + null, + null, + null, + null + )) + ], + null, + function(t, n) { + var e = n.component; + t(n, 0, 0, e.options.messageClass, e.message); + } + ); + } + function Bg(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "div", + [["aria-live", "polite"], ["role", "alertdialog"]], + [[8, "className", 0], [1, "aria-label", 0]], + null, + null, + null, + null + )), + (t()(), Ai(1, null, [" ", " "])) + ], + null, + function(t, n) { + var e = n.component; + t(n, 0, 0, e.options.messageClass, e.message), + t(n, 1, 0, e.message); + } + ); + } + function Vg(t) { + return Di( + 0, + [ + (t()(), + bi(0, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), + bi( + 1, + 0, + null, + null, + 0, + "div", + [["class", "toast-progress"]], + [[4, "width", null]], + null, + null, + null, + null + )) + ], + null, + function(t, n) { + t(n, 1, 0, n.component.width + "%"); + } + ); + } + function Hg(t) { + return Di( + 0, + [ + (t()(), hi(16777216, null, null, 1, null, zg)), + Ba(1, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, null, 1, null, jg)), + Ba(3, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, null, 1, null, Fg)), + Ba(5, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, null, 1, null, Bg)), + Ba(7, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, null, 1, null, Vg)), + Ba(9, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null) + ], + function(t, n) { + var e = n.component; + t(n, 1, 0, e.options.closeButton), + t(n, 3, 0, e.title), + t(n, 5, 0, e.message && e.options.enableHtml), + t(n, 7, 0, e.message && !e.options.enableHtml), + t(n, 9, 0, e.options.progressBar); + }, + null + ); + } + function Ug(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "div", + [["toast-component", ""]], + [[8, "className", 0], [40, "@flyInOut", 0], [4, "display", null]], + [[null, "click"], [null, "mouseenter"], [null, "mouseleave"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && (o = !1 !== wa(t, 1).tapToast() && o), + "mouseenter" === n && + (o = !1 !== wa(t, 1).stickAround() && o), + "mouseleave" === n && + (o = !1 !== wa(t, 1).delayedHideToast() && o), + o + ); + }, + Hg, + Ng + )), + Ba(1, 180224, null, 0, xg, [Mg, gg, Dr], null, null) + ], + null, + function(t, n) { + t( + n, + 0, + 0, + wa(n, 1).toastClasses, + wa(n, 1).state, + wa(n, 1).displayStyle + ); + } + ); + } + var qg = ha("[toast-component]", xg, Ug, {}, {}, []), + Kg = So({ encapsulation: 2, styles: [], data: {} }); + function Yg(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 16777216, + null, + null, + 1, + "router-outlet", + [], + null, + null, + null, + null, + null + )), + Ba(1, 212992, null, 0, Hm, [Vm, so, Ee, [8, null], no], null, null) + ], + function(t, n) { + t(n, 1, 0); + }, + null + ); + } + function Wg(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "ng-component", + [], + null, + null, + null, + Yg, + Kg + )), + Ba(1, 49152, null, 0, Dd, [], null, null) + ], + null, + null + ); + } + var Gg, + Zg = ha("ng-component", Dd, Wg, {}, {}, []), + Qg = (function() { + return function() {}; + })(), + Xg = (function() { + return function() {}; + })(), + Jg = (function() { + return function() {}; + })(), + $g = (function() { + return function() { + this.align = "start"; + }; + })(), + tf = (function() { + return function() {}; + })(), + nf = (function() { + return function() {}; + })(), + ef = (function() { + return function() {}; + })(), + of = (function() { + return function() {}; + })(), + af = new Ut("cdk-dir-doc", { + providedIn: "root", + factory: function() { + return Rt(Ds); + } + }), + rf = (function() { + function t(t) { + if (((this.value = "ltr"), (this.change = new ar()), t)) { + var n = + (t.body ? t.body.dir : null) || + (t.documentElement ? t.documentElement.dir : null); + this.value = "ltr" === n || "rtl" === n ? n : "ltr"; + } + } + return ( + (t.prototype.ngOnDestroy = function() { + this.change.complete(); + }), + (t.ngInjectableDef = yt({ + factory: function() { + return new t(Tt(af, 8)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + lf = (function() { + return function() {}; + })(); + function sf(t) { + return null != t && "" + t != "false"; + } + function cf(t, n) { + return ( + void 0 === n && (n = 0), + (function(t) { + return !isNaN(parseFloat(t)) && !isNaN(Number(t)); + })(t) + ? Number(t) + : n + ); + } + function uf(t) { + return Array.isArray(t) ? t : [t]; + } + function df(t) { + return null == t ? "" : "string" == typeof t ? t : t + "px"; + } + function pf(t) { + return t instanceof Ne ? t.nativeElement : t; + } + try { + Gg = "undefined" != typeof Intl && Intl.v8BreakIterator; + } catch (FA) { + Gg = !1; + } + var mf, + gf, + ff = (function() { + function t(t) { + (this._platformId = t), + (this.isBrowser = this._platformId + ? Ls(this._platformId) + : "object" == typeof document && !!document), + (this.EDGE = + this.isBrowser && /(edge)/i.test(navigator.userAgent)), + (this.TRIDENT = + this.isBrowser && /(msie|trident)/i.test(navigator.userAgent)), + (this.BLINK = + this.isBrowser && + !(!window.chrome && !Gg) && + "undefined" != typeof CSS && + !this.EDGE && + !this.TRIDENT), + (this.WEBKIT = + this.isBrowser && + /AppleWebKit/i.test(navigator.userAgent) && + !this.BLINK && + !this.EDGE && + !this.TRIDENT), + (this.IOS = + this.isBrowser && + /iPad|iPhone|iPod/.test(navigator.userAgent) && + !("MSStream" in window)), + (this.FIREFOX = + this.isBrowser && + /(firefox|minefield)/i.test(navigator.userAgent)), + (this.ANDROID = + this.isBrowser && + /android/i.test(navigator.userAgent) && + !this.TRIDENT), + (this.SAFARI = + this.isBrowser && + /safari/i.test(navigator.userAgent) && + this.WEBKIT); + } + return ( + (t.ngInjectableDef = yt({ + factory: function() { + return new t(Tt(fr, 8)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + hf = (function() { + return function() {}; + })(), + bf = [ + "color", + "button", + "checkbox", + "date", + "datetime-local", + "email", + "file", + "hidden", + "image", + "month", + "number", + "password", + "radio", + "range", + "reset", + "search", + "submit", + "tel", + "text", + "time", + "url", + "week" + ]; + function _f() { + if (mf) return mf; + if ("object" != typeof document || !document) return (mf = new Set(bf)); + var t = document.createElement("input"); + return (mf = new Set( + bf.filter(function(n) { + return t.setAttribute("type", n), t.type === n; + }) + )); + } + function yf(t) { + return (function() { + if (null == gf && "undefined" != typeof window) + try { + window.addEventListener( + "test", + null, + Object.defineProperty({}, "passive", { + get: function() { + return (gf = !0); + } + }) + ); + } finally { + gf = gf || !1; + } + return gf; + })() + ? t + : !!t.capture; + } + var Cf, + vf = (function() { + var t = { NORMAL: 0, NEGATED: 1, INVERTED: 2 }; + return ( + (t[t.NORMAL] = "NORMAL"), + (t[t.NEGATED] = "NEGATED"), + (t[t.INVERTED] = "INVERTED"), + t + ); + })(); + function Of() { + if ("object" != typeof document || !document) return vf.NORMAL; + if (!Cf) { + var t = document.createElement("div"), + n = t.style; + (t.dir = "rtl"), + (n.height = "1px"), + (n.width = "1px"), + (n.overflow = "auto"), + (n.visibility = "hidden"), + (n.pointerEvents = "none"), + (n.position = "absolute"); + var e = document.createElement("div"), + o = e.style; + (o.width = "2px"), + (o.height = "1px"), + t.appendChild(e), + document.body.appendChild(t), + (Cf = vf.NORMAL), + 0 === t.scrollLeft && + ((t.scrollLeft = 1), + (Cf = 0 === t.scrollLeft ? vf.NEGATED : vf.INVERTED)), + t.parentNode.removeChild(t); + } + return Cf; + } + var Pf = 13, + Mf = 27, + xf = 188; + function kf(t) { + for (var n = [], e = 1; e < arguments.length; e++) + n[e - 1] = arguments[e]; + return n.length + ? n.some(function(n) { + return t[n]; + }) + : t.altKey || t.shiftKey || t.ctrlKey || t.metaKey; + } + var wf = (function(t) { + function n(n, e) { + var o = t.call(this, n, e) || this; + return (o.scheduler = n), (o.work = e), (o.pending = !1), o; + } + return ( + o.__extends(n, t), + (n.prototype.schedule = function(t, n) { + if ((void 0 === n && (n = 0), this.closed)) return this; + this.state = t; + var e = this.id, + o = this.scheduler; + return ( + null != e && (this.id = this.recycleAsyncId(o, e, n)), + (this.pending = !0), + (this.delay = n), + (this.id = this.id || this.requestAsyncId(o, this.id, n)), + this + ); + }), + (n.prototype.requestAsyncId = function(t, n, e) { + return ( + void 0 === e && (e = 0), setInterval(t.flush.bind(t, this), e) + ); + }), + (n.prototype.recycleAsyncId = function(t, n, e) { + if ( + (void 0 === e && (e = 0), + null !== e && this.delay === e && !1 === this.pending) + ) + return n; + clearInterval(n); + }), + (n.prototype.execute = function(t, n) { + if (this.closed) return new Error("executing a cancelled action"); + this.pending = !1; + var e = this._execute(t, n); + if (e) return e; + !1 === this.pending && + null != this.id && + (this.id = this.recycleAsyncId(this.scheduler, this.id, null)); + }), + (n.prototype._execute = function(t, n) { + var e = !1, + o = void 0; + try { + this.work(t); + } catch (a) { + (e = !0), (o = (!!a && a) || new Error(a)); + } + if (e) return this.unsubscribe(), o; + }), + (n.prototype._unsubscribe = function() { + var t = this.id, + n = this.scheduler, + e = n.actions, + o = e.indexOf(this); + (this.work = null), + (this.state = null), + (this.pending = !1), + (this.scheduler = null), + -1 !== o && e.splice(o, 1), + null != t && (this.id = this.recycleAsyncId(n, t, null)), + (this.delay = null); + }), + n + ); + })( + (function(t) { + function n(n, e) { + return t.call(this) || this; + } + return ( + o.__extends(n, t), + (n.prototype.schedule = function(t, n) { + return void 0 === n && (n = 0), this; + }), + n + ); + })(c) + ), + Sf = (function() { + function t(n, e) { + void 0 === e && (e = t.now), + (this.SchedulerAction = n), + (this.now = e); + } + return ( + (t.prototype.schedule = function(t, n, e) { + return ( + void 0 === n && (n = 0), + new this.SchedulerAction(this, t).schedule(e, n) + ); + }), + (t.now = function() { + return Date.now(); + }), + t + ); + })(), + Ef = (function(t) { + function n(e, o) { + void 0 === o && (o = Sf.now); + var a = + t.call(this, e, function() { + return n.delegate && n.delegate !== a ? n.delegate.now() : o(); + }) || this; + return (a.actions = []), (a.active = !1), (a.scheduled = void 0), a; + } + return ( + o.__extends(n, t), + (n.prototype.schedule = function(e, o, a) { + return ( + void 0 === o && (o = 0), + n.delegate && n.delegate !== this + ? n.delegate.schedule(e, o, a) + : t.prototype.schedule.call(this, e, o, a) + ); + }), + (n.prototype.flush = function(t) { + var n = this.actions; + if (this.active) n.push(t); + else { + var e; + this.active = !0; + do { + if ((e = t.execute(t.state, t.delay))) break; + } while ((t = n.shift())); + if (((this.active = !1), e)) { + for (; (t = n.shift()); ) t.unsubscribe(); + throw e; + } + } + }), + n + ); + })(Sf), + If = new Ef(wf); + function Af(t, n) { + return ( + void 0 === n && (n = If), + function(e) { + return e.lift(new Tf(t, n)); + } + ); + } + var Tf = (function() { + function t(t, n) { + (this.dueTime = t), (this.scheduler = n); + } + return ( + (t.prototype.call = function(t, n) { + return n.subscribe(new Rf(t, this.dueTime, this.scheduler)); + }), + t + ); + })(), + Rf = (function(t) { + function n(n, e, o) { + var a = t.call(this, n) || this; + return ( + (a.dueTime = e), + (a.scheduler = o), + (a.debouncedSubscription = null), + (a.lastValue = null), + (a.hasValue = !1), + a + ); + } + return ( + o.__extends(n, t), + (n.prototype._next = function(t) { + this.clearDebounce(), + (this.lastValue = t), + (this.hasValue = !0), + this.add( + (this.debouncedSubscription = this.scheduler.schedule( + Df, + this.dueTime, + this + )) + ); + }), + (n.prototype._complete = function() { + this.debouncedNext(), this.destination.complete(); + }), + (n.prototype.debouncedNext = function() { + if ((this.clearDebounce(), this.hasValue)) { + var t = this.lastValue; + (this.lastValue = null), + (this.hasValue = !1), + this.destination.next(t); + } + }), + (n.prototype.clearDebounce = function() { + var t = this.debouncedSubscription; + null !== t && + (this.remove(t), + t.unsubscribe(), + (this.debouncedSubscription = null)); + }), + n + ); + })(h); + function Df(t) { + t.debouncedNext(); + } + function Nf(t, n) { + return (t.getAttribute(n) || "").match(/\S+/g) || []; + } + var zf = 0, + Lf = new Map(), + jf = null, + Ff = (function() { + function t(t) { + this._document = t; + } + return ( + (t.prototype.describe = function(t, n) { + this._canBeDescribed(t, n) && + (Lf.has(n) || this._createMessageElement(n), + this._isElementDescribedByMessage(t, n) || + this._addMessageReference(t, n)); + }), + (t.prototype.removeDescription = function(t, n) { + if (this._isElementNode(t)) { + this._isElementDescribedByMessage(t, n) && + this._removeMessageReference(t, n); + var e = Lf.get(n); + e && 0 === e.referenceCount && this._deleteMessageElement(n), + jf && + 0 === jf.childNodes.length && + this._deleteMessagesContainer(); + } + }), + (t.prototype.ngOnDestroy = function() { + for ( + var t = this._document.querySelectorAll( + "[cdk-describedby-host]" + ), + n = 0; + n < t.length; + n++ + ) + this._removeCdkDescribedByReferenceIds(t[n]), + t[n].removeAttribute("cdk-describedby-host"); + jf && this._deleteMessagesContainer(), Lf.clear(); + }), + (t.prototype._createMessageElement = function(t) { + var n = this._document.createElement("div"); + n.setAttribute("id", "cdk-describedby-message-" + zf++), + n.appendChild(this._document.createTextNode(t)), + this._createMessagesContainer(), + jf.appendChild(n), + Lf.set(t, { messageElement: n, referenceCount: 0 }); + }), + (t.prototype._deleteMessageElement = function(t) { + var n = Lf.get(t), + e = n && n.messageElement; + jf && e && jf.removeChild(e), Lf.delete(t); + }), + (t.prototype._createMessagesContainer = function() { + if (!jf) { + var t = this._document.getElementById( + "cdk-describedby-message-container" + ); + t && t.parentNode.removeChild(t), + ((jf = this._document.createElement("div")).id = + "cdk-describedby-message-container"), + jf.setAttribute("aria-hidden", "true"), + (jf.style.display = "none"), + this._document.body.appendChild(jf); + } + }), + (t.prototype._deleteMessagesContainer = function() { + jf && + jf.parentNode && + (jf.parentNode.removeChild(jf), (jf = null)); + }), + (t.prototype._removeCdkDescribedByReferenceIds = function(t) { + var n = Nf(t, "aria-describedby").filter(function(t) { + return 0 != t.indexOf("cdk-describedby-message"); + }); + t.setAttribute("aria-describedby", n.join(" ")); + }), + (t.prototype._addMessageReference = function(t, n) { + var e, + o, + a, + r = Lf.get(n); + (o = r.messageElement.id), + (a = Nf((e = t), "aria-describedby")).some(function(t) { + return t.trim() == o.trim(); + }) || + (a.push(o.trim()), + e.setAttribute("aria-describedby", a.join(" "))), + t.setAttribute("cdk-describedby-host", ""), + r.referenceCount++; + }), + (t.prototype._removeMessageReference = function(t, n) { + var e, + o, + a, + r = Lf.get(n); + r.referenceCount--, + (o = r.messageElement.id), + (a = Nf((e = t), "aria-describedby").filter(function(t) { + return t != o.trim(); + })), + e.setAttribute("aria-describedby", a.join(" ")), + t.removeAttribute("cdk-describedby-host"); + }), + (t.prototype._isElementDescribedByMessage = function(t, n) { + var e = Nf(t, "aria-describedby"), + o = Lf.get(n), + a = o && o.messageElement.id; + return !!a && -1 != e.indexOf(a); + }), + (t.prototype._canBeDescribed = function(t, n) { + if (!this._isElementNode(t)) return !1; + var e = null == n ? "" : ("" + n).trim(), + o = t.getAttribute("aria-label"); + return !(!e || (o && o.trim() === e)); + }), + (t.prototype._isElementNode = function(t) { + return t.nodeType === this._document.ELEMENT_NODE; + }), + (t.ngInjectableDef = yt({ + factory: function() { + return new t(Tt(Ds)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + Bf = (function(t) { + function n() { + var n = (null !== t && t.apply(this, arguments)) || this; + return (n._origin = "program"), n; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.setFocusOrigin = function(t) { + return (this._origin = t), this; + }), + (n.prototype.setActiveItem = function(n) { + t.prototype.setActiveItem.call(this, n), + this.activeItem && this.activeItem.focus(this._origin); + }), + n + ); + })( + (function() { + function t(t) { + var n = this; + (this._items = t), + (this._activeItemIndex = -1), + (this._activeItem = null), + (this._wrap = !1), + (this._letterKeyStream = new S()), + (this._typeaheadSubscription = c.EMPTY), + (this._vertical = !0), + (this._allowedModifierKeys = []), + (this._skipPredicateFn = function(t) { + return t.disabled; + }), + (this._pressedLetters = []), + (this.tabOut = new S()), + (this.change = new S()), + t instanceof rr && + t.changes.subscribe(function(t) { + if (n._activeItem) { + var e = t.toArray().indexOf(n._activeItem); + e > -1 && + e !== n._activeItemIndex && + (n._activeItemIndex = e); + } + }); + } + return ( + (t.prototype.skipPredicate = function(t) { + return (this._skipPredicateFn = t), this; + }), + (t.prototype.withWrap = function(t) { + return void 0 === t && (t = !0), (this._wrap = t), this; + }), + (t.prototype.withVerticalOrientation = function(t) { + return void 0 === t && (t = !0), (this._vertical = t), this; + }), + (t.prototype.withHorizontalOrientation = function(t) { + return (this._horizontal = t), this; + }), + (t.prototype.withAllowedModifierKeys = function(t) { + return (this._allowedModifierKeys = t), this; + }), + (t.prototype.withTypeAhead = function(t) { + var n = this; + if ( + (void 0 === t && (t = 200), + this._items.length && + this._items.some(function(t) { + return "function" != typeof t.getLabel; + })) + ) + throw Error( + "ListKeyManager items in typeahead mode must implement the `getLabel` method." + ); + return ( + this._typeaheadSubscription.unsubscribe(), + (this._typeaheadSubscription = this._letterKeyStream + .pipe( + Dc(function(t) { + return n._pressedLetters.push(t); + }), + Af(t), + Zl(function() { + return n._pressedLetters.length > 0; + }), + U(function() { + return n._pressedLetters.join(""); + }) + ) + .subscribe(function(t) { + for ( + var e = n._getItemsArray(), o = 1; + o < e.length + 1; + o++ + ) { + var a = (n._activeItemIndex + o) % e.length, + r = e[a]; + if ( + !n._skipPredicateFn(r) && + 0 === + r + .getLabel() + .toUpperCase() + .trim() + .indexOf(t) + ) { + n.setActiveItem(a); + break; + } + } + n._pressedLetters = []; + })), + this + ); + }), + (t.prototype.setActiveItem = function(t) { + var n = this._activeItemIndex; + this.updateActiveItem(t), + this._activeItemIndex !== n && + this.change.next(this._activeItemIndex); + }), + (t.prototype.onKeydown = function(t) { + var n = this, + e = t.keyCode, + o = ["altKey", "ctrlKey", "metaKey", "shiftKey"].every( + function(e) { + return !t[e] || n._allowedModifierKeys.indexOf(e) > -1; + } + ); + switch (e) { + case 9: + return void this.tabOut.next(); + case 40: + if (this._vertical && o) { + this.setNextItemActive(); + break; + } + return; + case 38: + if (this._vertical && o) { + this.setPreviousItemActive(); + break; + } + return; + case 39: + if (this._horizontal && o) { + "rtl" === this._horizontal + ? this.setPreviousItemActive() + : this.setNextItemActive(); + break; + } + return; + case 37: + if (this._horizontal && o) { + "rtl" === this._horizontal + ? this.setNextItemActive() + : this.setPreviousItemActive(); + break; + } + return; + default: + return void ( + (o || kf(t, "shiftKey")) && + (t.key && 1 === t.key.length + ? this._letterKeyStream.next(t.key.toLocaleUpperCase()) + : ((e >= 65 && e <= 90) || (e >= 48 && e <= 57)) && + this._letterKeyStream.next(String.fromCharCode(e))) + ); + } + (this._pressedLetters = []), t.preventDefault(); + }), + Object.defineProperty(t.prototype, "activeItemIndex", { + get: function() { + return this._activeItemIndex; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "activeItem", { + get: function() { + return this._activeItem; + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.setFirstItemActive = function() { + this._setActiveItemByIndex(0, 1); + }), + (t.prototype.setLastItemActive = function() { + this._setActiveItemByIndex(this._items.length - 1, -1); + }), + (t.prototype.setNextItemActive = function() { + this._activeItemIndex < 0 + ? this.setFirstItemActive() + : this._setActiveItemByDelta(1); + }), + (t.prototype.setPreviousItemActive = function() { + this._activeItemIndex < 0 && this._wrap + ? this.setLastItemActive() + : this._setActiveItemByDelta(-1); + }), + (t.prototype.updateActiveItem = function(t) { + var n = this._getItemsArray(), + e = "number" == typeof t ? t : n.indexOf(t), + o = n[e]; + (this._activeItem = null == o ? null : o), + (this._activeItemIndex = e); + }), + (t.prototype.updateActiveItemIndex = function(t) { + this.updateActiveItem(t); + }), + (t.prototype._setActiveItemByDelta = function(t) { + this._wrap + ? this._setActiveInWrapMode(t) + : this._setActiveInDefaultMode(t); + }), + (t.prototype._setActiveInWrapMode = function(t) { + for (var n = this._getItemsArray(), e = 1; e <= n.length; e++) { + var o = (this._activeItemIndex + t * e + n.length) % n.length; + if (!this._skipPredicateFn(n[o])) + return void this.setActiveItem(o); + } + }), + (t.prototype._setActiveInDefaultMode = function(t) { + this._setActiveItemByIndex(this._activeItemIndex + t, t); + }), + (t.prototype._setActiveItemByIndex = function(t, n) { + var e = this._getItemsArray(); + if (e[t]) { + for (; this._skipPredicateFn(e[t]); ) + if (!e[(t += n)]) return; + this.setActiveItem(t); + } + }), + (t.prototype._getItemsArray = function() { + return this._items instanceof rr + ? this._items.toArray() + : this._items; + }), + t + ); + })() + ), + Vf = (function() { + function t(t) { + this._platform = t; + } + return ( + (t.prototype.isDisabled = function(t) { + return t.hasAttribute("disabled"); + }), + (t.prototype.isVisible = function(t) { + return ( + (function(t) { + return !!( + t.offsetWidth || + t.offsetHeight || + ("function" == typeof t.getClientRects && + t.getClientRects().length) + ); + })(t) && "visible" === getComputedStyle(t).visibility + ); + }), + (t.prototype.isTabbable = function(t) { + if (!this._platform.isBrowser) return !1; + var n, + e = (function(t) { + try { + return t.frameElement; + } catch (FA) { + return null; + } + })( + ((n = t).ownerDocument && n.ownerDocument.defaultView) || + window + ); + if (e) { + var o = e && e.nodeName.toLowerCase(); + if (-1 === Uf(e)) return !1; + if ( + (this._platform.BLINK || this._platform.WEBKIT) && + "object" === o + ) + return !1; + if ( + (this._platform.BLINK || this._platform.WEBKIT) && + !this.isVisible(e) + ) + return !1; + } + var a = t.nodeName.toLowerCase(), + r = Uf(t); + if (t.hasAttribute("contenteditable")) return -1 !== r; + if ("iframe" === a) return !1; + if ("audio" === a) { + if (!t.hasAttribute("controls")) return !1; + if (this._platform.BLINK) return !0; + } + if ("video" === a) { + if (!t.hasAttribute("controls") && this._platform.TRIDENT) + return !1; + if (this._platform.BLINK || this._platform.FIREFOX) return !0; + } + return ( + ("object" !== a || + (!this._platform.BLINK && !this._platform.WEBKIT)) && + !( + this._platform.WEBKIT && + this._platform.IOS && + !(function(t) { + var n = t.nodeName.toLowerCase(), + e = "input" === n && t.type; + return ( + "text" === e || + "password" === e || + "select" === n || + "textarea" === n + ); + })(t) + ) && + t.tabIndex >= 0 + ); + }), + (t.prototype.isFocusable = function(t) { + return ( + (function(t) { + return ( + !(function(t) { + return ( + (function(t) { + return "input" == t.nodeName.toLowerCase(); + })(t) && "hidden" == t.type + ); + })(t) && + ((function(t) { + var n = t.nodeName.toLowerCase(); + return ( + "input" === n || + "select" === n || + "button" === n || + "textarea" === n + ); + })(t) || + (function(t) { + return ( + (function(t) { + return "a" == t.nodeName.toLowerCase(); + })(t) && t.hasAttribute("href") + ); + })(t) || + t.hasAttribute("contenteditable") || + Hf(t)) + ); + })(t) && + !this.isDisabled(t) && + this.isVisible(t) + ); + }), + (t.ngInjectableDef = yt({ + factory: function() { + return new t(Tt(ff)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(); + function Hf(t) { + if (!t.hasAttribute("tabindex") || void 0 === t.tabIndex) return !1; + var n = t.getAttribute("tabindex"); + return "-32768" != n && !(!n || isNaN(parseInt(n, 10))); + } + function Uf(t) { + if (!Hf(t)) return null; + var n = parseInt(t.getAttribute("tabindex") || "", 10); + return isNaN(n) ? -1 : n; + } + var qf = (function() { + function t(t, n, e, o, a) { + var r = this; + void 0 === a && (a = !1), + (this._element = t), + (this._checker = n), + (this._ngZone = e), + (this._document = o), + (this._hasAttached = !1), + (this.startAnchorListener = function() { + return r.focusLastTabbableElement(); + }), + (this.endAnchorListener = function() { + return r.focusFirstTabbableElement(); + }), + (this._enabled = !0), + a || this.attachAnchors(); + } + return ( + Object.defineProperty(t.prototype, "enabled", { + get: function() { + return this._enabled; + }, + set: function(t) { + (this._enabled = t), + this._startAnchor && + this._endAnchor && + (this._toggleAnchorTabIndex(t, this._startAnchor), + this._toggleAnchorTabIndex(t, this._endAnchor)); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.destroy = function() { + var t = this._startAnchor, + n = this._endAnchor; + t && + (t.removeEventListener("focus", this.startAnchorListener), + t.parentNode && t.parentNode.removeChild(t)), + n && + (n.removeEventListener("focus", this.endAnchorListener), + n.parentNode && n.parentNode.removeChild(n)), + (this._startAnchor = this._endAnchor = null); + }), + (t.prototype.attachAnchors = function() { + var t = this; + return ( + !!this._hasAttached || + (this._ngZone.runOutsideAngular(function() { + t._startAnchor || + ((t._startAnchor = t._createAnchor()), + t._startAnchor.addEventListener( + "focus", + t.startAnchorListener + )), + t._endAnchor || + ((t._endAnchor = t._createAnchor()), + t._endAnchor.addEventListener( + "focus", + t.endAnchorListener + )); + }), + this._element.parentNode && + (this._element.parentNode.insertBefore( + this._startAnchor, + this._element + ), + this._element.parentNode.insertBefore( + this._endAnchor, + this._element.nextSibling + ), + (this._hasAttached = !0)), + this._hasAttached) + ); + }), + (t.prototype.focusInitialElementWhenReady = function() { + var t = this; + return new Promise(function(n) { + t._executeOnStable(function() { + return n(t.focusInitialElement()); + }); + }); + }), + (t.prototype.focusFirstTabbableElementWhenReady = function() { + var t = this; + return new Promise(function(n) { + t._executeOnStable(function() { + return n(t.focusFirstTabbableElement()); + }); + }); + }), + (t.prototype.focusLastTabbableElementWhenReady = function() { + var t = this; + return new Promise(function(n) { + t._executeOnStable(function() { + return n(t.focusLastTabbableElement()); + }); + }); + }), + (t.prototype._getRegionBoundary = function(t) { + for ( + var n = this._element.querySelectorAll( + "[cdk-focus-region-" + + t + + "], [cdkFocusRegion" + + t + + "], [cdk-focus-" + + t + + "]" + ), + e = 0; + e < n.length; + e++ + ) + n[e].hasAttribute("cdk-focus-" + t) + ? console.warn( + "Found use of deprecated attribute 'cdk-focus-" + + t + + "', use 'cdkFocusRegion" + + t + + "' instead. The deprecated attribute will be removed in 8.0.0.", + n[e] + ) + : n[e].hasAttribute("cdk-focus-region-" + t) && + console.warn( + "Found use of deprecated attribute 'cdk-focus-region-" + + t + + "', use 'cdkFocusRegion" + + t + + "' instead. The deprecated attribute will be removed in 8.0.0.", + n[e] + ); + return "start" == t + ? n.length + ? n[0] + : this._getFirstTabbableElement(this._element) + : n.length + ? n[n.length - 1] + : this._getLastTabbableElement(this._element); + }), + (t.prototype.focusInitialElement = function() { + var t = this._element.querySelector( + "[cdk-focus-initial], [cdkFocusInitial]" + ); + return t + ? (t.hasAttribute("cdk-focus-initial") && + console.warn( + "Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0", + t + ), + Fn() && + !this._checker.isFocusable(t) && + console.warn( + "Element matching '[cdkFocusInitial]' is not focusable.", + t + ), + t.focus(), + !0) + : this.focusFirstTabbableElement(); + }), + (t.prototype.focusFirstTabbableElement = function() { + var t = this._getRegionBoundary("start"); + return t && t.focus(), !!t; + }), + (t.prototype.focusLastTabbableElement = function() { + var t = this._getRegionBoundary("end"); + return t && t.focus(), !!t; + }), + (t.prototype.hasAttached = function() { + return this._hasAttached; + }), + (t.prototype._getFirstTabbableElement = function(t) { + if (this._checker.isFocusable(t) && this._checker.isTabbable(t)) + return t; + for ( + var n = t.children || t.childNodes, e = 0; + e < n.length; + e++ + ) { + var o = + n[e].nodeType === this._document.ELEMENT_NODE + ? this._getFirstTabbableElement(n[e]) + : null; + if (o) return o; + } + return null; + }), + (t.prototype._getLastTabbableElement = function(t) { + if (this._checker.isFocusable(t) && this._checker.isTabbable(t)) + return t; + for ( + var n = t.children || t.childNodes, e = n.length - 1; + e >= 0; + e-- + ) { + var o = + n[e].nodeType === this._document.ELEMENT_NODE + ? this._getLastTabbableElement(n[e]) + : null; + if (o) return o; + } + return null; + }), + (t.prototype._createAnchor = function() { + var t = this._document.createElement("div"); + return ( + this._toggleAnchorTabIndex(this._enabled, t), + t.classList.add("cdk-visually-hidden"), + t.classList.add("cdk-focus-trap-anchor"), + t.setAttribute("aria-hidden", "true"), + t + ); + }), + (t.prototype._toggleAnchorTabIndex = function(t, n) { + t + ? n.setAttribute("tabindex", "0") + : n.removeAttribute("tabindex"); + }), + (t.prototype._executeOnStable = function(t) { + this._ngZone.isStable + ? t() + : this._ngZone.onStable + .asObservable() + .pipe(Yc(1)) + .subscribe(t); + }), + t + ); + })(), + Kf = (function() { + function t(t, n, e) { + (this._checker = t), (this._ngZone = n), (this._document = e); + } + return ( + (t.prototype.create = function(t, n) { + return ( + void 0 === n && (n = !1), + new qf(t, this._checker, this._ngZone, this._document, n) + ); + }), + (t.ngInjectableDef = yt({ + factory: function() { + return new t(Tt(Vf), Tt(Dr), Tt(Ds)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + Yf = 650, + Wf = yf({ passive: !0, capture: !0 }), + Gf = (function() { + function t(t, n) { + var e = this; + (this._ngZone = t), + (this._platform = n), + (this._origin = null), + (this._windowFocused = !1), + (this._elementInfo = new Map()), + (this._monitoredElementCount = 0), + (this._documentKeydownListener = function() { + (e._lastTouchTarget = null), + e._setOriginForCurrentEventQueue("keyboard"); + }), + (this._documentMousedownListener = function() { + e._lastTouchTarget || e._setOriginForCurrentEventQueue("mouse"); + }), + (this._documentTouchstartListener = function(t) { + null != e._touchTimeoutId && clearTimeout(e._touchTimeoutId), + (e._lastTouchTarget = t.target), + (e._touchTimeoutId = setTimeout(function() { + return (e._lastTouchTarget = null); + }, Yf)); + }), + (this._windowFocusListener = function() { + (e._windowFocused = !0), + (e._windowFocusTimeoutId = setTimeout(function() { + return (e._windowFocused = !1); + })); + }); + } + return ( + (t.prototype.monitor = function(t, n) { + var e = this; + if ((void 0 === n && (n = !1), !this._platform.isBrowser)) + return Wl(null); + var o = pf(t); + if (this._elementInfo.has(o)) { + var a = this._elementInfo.get(o); + return (a.checkChildren = n), a.subject.asObservable(); + } + var r = { + unlisten: function() {}, + checkChildren: n, + subject: new S() + }; + this._elementInfo.set(o, r), + this._incrementMonitoredElementCount(); + var i = function(t) { + return e._onFocus(t, o); + }, + l = function(t) { + return e._onBlur(t, o); + }; + return ( + this._ngZone.runOutsideAngular(function() { + o.addEventListener("focus", i, !0), + o.addEventListener("blur", l, !0); + }), + (r.unlisten = function() { + o.removeEventListener("focus", i, !0), + o.removeEventListener("blur", l, !0); + }), + r.subject.asObservable() + ); + }), + (t.prototype.stopMonitoring = function(t) { + var n = pf(t), + e = this._elementInfo.get(n); + e && + (e.unlisten(), + e.subject.complete(), + this._setClasses(n), + this._elementInfo.delete(n), + this._decrementMonitoredElementCount()); + }), + (t.prototype.focusVia = function(t, n, e) { + var o = pf(t); + this._setOriginForCurrentEventQueue(n), + "function" == typeof o.focus && o.focus(e); + }), + (t.prototype.ngOnDestroy = function() { + var t = this; + this._elementInfo.forEach(function(n, e) { + return t.stopMonitoring(e); + }); + }), + (t.prototype._toggleClass = function(t, n, e) { + e ? t.classList.add(n) : t.classList.remove(n); + }), + (t.prototype._setClasses = function(t, n) { + this._elementInfo.get(t) && + (this._toggleClass(t, "cdk-focused", !!n), + this._toggleClass(t, "cdk-touch-focused", "touch" === n), + this._toggleClass(t, "cdk-keyboard-focused", "keyboard" === n), + this._toggleClass(t, "cdk-mouse-focused", "mouse" === n), + this._toggleClass(t, "cdk-program-focused", "program" === n)); + }), + (t.prototype._setOriginForCurrentEventQueue = function(t) { + var n = this; + this._ngZone.runOutsideAngular(function() { + (n._origin = t), + (n._originTimeoutId = setTimeout(function() { + return (n._origin = null); + }, 1)); + }); + }), + (t.prototype._wasCausedByTouch = function(t) { + var n = t.target; + return ( + this._lastTouchTarget instanceof Node && + n instanceof Node && + (n === this._lastTouchTarget || + n.contains(this._lastTouchTarget)) + ); + }), + (t.prototype._onFocus = function(t, n) { + var e = this._elementInfo.get(n); + if (e && (e.checkChildren || n === t.target)) { + var o = this._origin; + o || + (o = + this._windowFocused && this._lastFocusOrigin + ? this._lastFocusOrigin + : this._wasCausedByTouch(t) + ? "touch" + : "program"), + this._setClasses(n, o), + this._emitOrigin(e.subject, o), + (this._lastFocusOrigin = o); + } + }), + (t.prototype._onBlur = function(t, n) { + var e = this._elementInfo.get(n); + !e || + (e.checkChildren && + t.relatedTarget instanceof Node && + n.contains(t.relatedTarget)) || + (this._setClasses(n), this._emitOrigin(e.subject, null)); + }), + (t.prototype._emitOrigin = function(t, n) { + this._ngZone.run(function() { + return t.next(n); + }); + }), + (t.prototype._incrementMonitoredElementCount = function() { + var t = this; + 1 == ++this._monitoredElementCount && + this._platform.isBrowser && + this._ngZone.runOutsideAngular(function() { + document.addEventListener( + "keydown", + t._documentKeydownListener, + Wf + ), + document.addEventListener( + "mousedown", + t._documentMousedownListener, + Wf + ), + document.addEventListener( + "touchstart", + t._documentTouchstartListener, + Wf + ), + window.addEventListener("focus", t._windowFocusListener); + }); + }), + (t.prototype._decrementMonitoredElementCount = function() { + --this._monitoredElementCount || + (document.removeEventListener( + "keydown", + this._documentKeydownListener, + Wf + ), + document.removeEventListener( + "mousedown", + this._documentMousedownListener, + Wf + ), + document.removeEventListener( + "touchstart", + this._documentTouchstartListener, + Wf + ), + window.removeEventListener("focus", this._windowFocusListener), + clearTimeout(this._windowFocusTimeoutId), + clearTimeout(this._touchTimeoutId), + clearTimeout(this._originTimeoutId)); + }), + (t.ngInjectableDef = yt({ + factory: function() { + return new t(Tt(Dr), Tt(ff)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(); + function Zf(t) { + return 0 === t.buttons; + } + var Qf = (function() { + return function() {}; + })(), + Xf = new Ut("mat-sanity-checks", { + providedIn: "root", + factory: function() { + return !0; + } + }), + Jf = (function() { + function t(t, n) { + (this._sanityChecksEnabled = t), + (this._hammerLoader = n), + (this._hasDoneGlobalChecks = !1), + (this._hasCheckedHammer = !1), + (this._document = + "object" == typeof document && document ? document : null), + (this._window = + "object" == typeof window && window ? window : null), + this._areChecksEnabled() && + !this._hasDoneGlobalChecks && + (this._checkDoctypeIsDefined(), + this._checkThemeIsPresent(), + (this._hasDoneGlobalChecks = !0)); + } + return ( + (t.prototype._areChecksEnabled = function() { + return this._sanityChecksEnabled && Fn() && !this._isTestEnv(); + }), + (t.prototype._isTestEnv = function() { + var t = this._window; + return t && (t.__karma__ || t.jasmine); + }), + (t.prototype._checkDoctypeIsDefined = function() { + this._document && + !this._document.doctype && + console.warn( + "Current document does not have a doctype. This may cause some Angular Material components not to behave as expected." + ); + }), + (t.prototype._checkThemeIsPresent = function() { + if ( + this._document && + this._document.body && + "function" == typeof getComputedStyle + ) { + var t = this._document.createElement("div"); + t.classList.add("mat-theme-loaded-marker"), + this._document.body.appendChild(t); + var n = getComputedStyle(t); + n && + "none" !== n.display && + console.warn( + "Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming" + ), + this._document.body.removeChild(t); + } + }), + (t.prototype._checkHammerIsAvailable = function() { + !this._hasCheckedHammer && + this._window && + (!this._areChecksEnabled() || + this._window.Hammer || + this._hammerLoader || + console.warn( + "Could not find HammerJS. Certain Angular Material components may not work correctly." + ), + (this._hasCheckedHammer = !0)); + }), + t + ); + })(); + function $f(t) { + return (function(t) { + function n() { + for (var n = [], e = 0; e < arguments.length; e++) + n[e] = arguments[e]; + var o = t.apply(this, n) || this; + return (o._disabled = !1), o; + } + return ( + Object(o.__extends)(n, t), + Object.defineProperty(n.prototype, "disabled", { + get: function() { + return this._disabled; + }, + set: function(t) { + this._disabled = sf(t); + }, + enumerable: !0, + configurable: !0 + }), + n + ); + })(t); + } + function th(t, n) { + return (function(t) { + function e() { + for (var e = [], o = 0; o < arguments.length; o++) + e[o] = arguments[o]; + var a = t.apply(this, e) || this; + return (a.color = n), a; + } + return ( + Object(o.__extends)(e, t), + Object.defineProperty(e.prototype, "color", { + get: function() { + return this._color; + }, + set: function(t) { + var e = t || n; + e !== this._color && + (this._color && + this._elementRef.nativeElement.classList.remove( + "mat-" + this._color + ), + e && this._elementRef.nativeElement.classList.add("mat-" + e), + (this._color = e)); + }, + enumerable: !0, + configurable: !0 + }), + e + ); + })(t); + } + function nh(t) { + return (function(t) { + function n() { + for (var n = [], e = 0; e < arguments.length; e++) + n[e] = arguments[e]; + var o = t.apply(this, n) || this; + return (o._disableRipple = !1), o; + } + return ( + Object(o.__extends)(n, t), + Object.defineProperty(n.prototype, "disableRipple", { + get: function() { + return this._disableRipple; + }, + set: function(t) { + this._disableRipple = sf(t); + }, + enumerable: !0, + configurable: !0 + }), + n + ); + })(t); + } + function eh(t, n) { + return ( + void 0 === n && (n = 0), + (function(t) { + function e() { + for (var e = [], o = 0; o < arguments.length; o++) + e[o] = arguments[o]; + var a = t.apply(this, e) || this; + return (a._tabIndex = n), a; + } + return ( + Object(o.__extends)(e, t), + Object.defineProperty(e.prototype, "tabIndex", { + get: function() { + return this.disabled ? -1 : this._tabIndex; + }, + set: function(t) { + this._tabIndex = null != t ? t : n; + }, + enumerable: !0, + configurable: !0 + }), + e + ); + })(t) + ); + } + function oh(t) { + return (function(t) { + function n() { + for (var n = [], e = 0; e < arguments.length; e++) + n[e] = arguments[e]; + var o = t.apply(this, n) || this; + return (o.errorState = !1), (o.stateChanges = new S()), o; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.updateErrorState = function() { + var t = this.errorState, + n = ( + this.errorStateMatcher || this._defaultErrorStateMatcher + ).isErrorState( + this.ngControl ? this.ngControl.control : null, + this._parentFormGroup || this._parentForm + ); + n !== t && ((this.errorState = n), this.stateChanges.next()); + }), + n + ); + })(t); + } + var ah = (function() { + function t() {} + return ( + (t.prototype.isErrorState = function(t, n) { + return !!(t && t.invalid && (t.touched || (n && n.submitted))); + }), + (t.ngInjectableDef = yt({ + factory: function() { + return new t(); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + rh = new Ut("MAT_HAMMER_OPTIONS"), + ih = [ + "longpress", + "slide", + "slidestart", + "slideend", + "slideright", + "slideleft" + ], + lh = { on: function() {}, off: function() {} }, + sh = (function(t) { + function n(n, e) { + var o = t.call(this) || this; + return ( + (o._hammerOptions = n), + (o.events = ih), + e && e._checkHammerIsAvailable(), + o + ); + } + return ( + Object(o.__extends)(n, t), + (n.prototype.buildHammer = function(t) { + var n = "undefined" != typeof window ? window.Hammer : null; + if (!n) return lh; + var e = new n(t, this._hammerOptions || void 0), + o = new n.Pan(), + a = new n.Swipe(), + r = new n.Press(), + i = this._createRecognizer( + o, + { event: "slide", threshold: 0 }, + a + ), + l = this._createRecognizer(r, { + event: "longpress", + time: 500 + }); + return ( + o.recognizeWith(a), + l.recognizeWith(i), + e.add([a, r, o, i, l]), + e + ); + }), + (n.prototype._createRecognizer = function(t, n) { + for (var e = [], o = 2; o < arguments.length; o++) + e[o - 2] = arguments[o]; + var a = new t.constructor(n); + return ( + e.push(t), + e.forEach(function(t) { + return a.recognizeWith(t); + }), + a + ); + }), + n + ); + })(nd), + ch = (function() { + return function() {}; + })(); + function uh(t, n, e) { + var o = t.nativeElement.classList; + e ? o.add(n) : o.remove(n); + } + var dh = (function() { + return function() {}; + })(), + ph = (function() { + var t = { FADING_IN: 0, VISIBLE: 1, FADING_OUT: 2, HIDDEN: 3 }; + return ( + (t[t.FADING_IN] = "FADING_IN"), + (t[t.VISIBLE] = "VISIBLE"), + (t[t.FADING_OUT] = "FADING_OUT"), + (t[t.HIDDEN] = "HIDDEN"), + t + ); + })(), + mh = (function() { + function t(t, n, e) { + (this._renderer = t), + (this.element = n), + (this.config = e), + (this.state = ph.HIDDEN); + } + return ( + (t.prototype.fadeOut = function() { + this._renderer.fadeOutRipple(this); + }), + t + ); + })(), + gh = { enterDuration: 450, exitDuration: 400 }, + fh = 800, + hh = yf({ passive: !0 }), + bh = (function() { + function t(t, n, e, o) { + var a = this; + (this._target = t), + (this._ngZone = n), + (this._isPointerDown = !1), + (this._triggerEvents = new Map()), + (this._activeRipples = new Set()), + (this._onMousedown = function(t) { + var n = Zf(t), + e = + a._lastTouchStartEvent && + Date.now() < a._lastTouchStartEvent + fh; + a._target.rippleDisabled || + n || + e || + ((a._isPointerDown = !0), + a.fadeInRipple(t.clientX, t.clientY, a._target.rippleConfig)); + }), + (this._onTouchStart = function(t) { + if (!a._target.rippleDisabled) { + (a._lastTouchStartEvent = Date.now()), + (a._isPointerDown = !0); + for (var n = t.changedTouches, e = 0; e < n.length; e++) + a.fadeInRipple( + n[e].clientX, + n[e].clientY, + a._target.rippleConfig + ); + } + }), + (this._onPointerUp = function() { + a._isPointerDown && + ((a._isPointerDown = !1), + a._activeRipples.forEach(function(t) { + !t.config.persistent && + (t.state === ph.VISIBLE || + (t.config.terminateOnPointerUp && + t.state === ph.FADING_IN)) && + t.fadeOut(); + })); + }), + o.isBrowser && + ((this._containerElement = e.nativeElement), + this._triggerEvents + .set("mousedown", this._onMousedown) + .set("mouseup", this._onPointerUp) + .set("mouseleave", this._onPointerUp) + .set("touchstart", this._onTouchStart) + .set("touchend", this._onPointerUp) + .set("touchcancel", this._onPointerUp)); + } + return ( + (t.prototype.fadeInRipple = function(t, n, e) { + var a = this; + void 0 === e && (e = {}); + var r = (this._containerRect = + this._containerRect || + this._containerElement.getBoundingClientRect()), + i = Object(o.__assign)({}, gh, e.animation); + e.centered && + ((t = r.left + r.width / 2), (n = r.top + r.height / 2)); + var l = + e.radius || + (function(t, n, e) { + var o = Math.max( + Math.abs(t - e.left), + Math.abs(t - e.right) + ), + a = Math.max(Math.abs(n - e.top), Math.abs(n - e.bottom)); + return Math.sqrt(o * o + a * a); + })(t, n, r), + s = t - r.left, + c = n - r.top, + u = i.enterDuration, + d = document.createElement("div"); + d.classList.add("mat-ripple-element"), + (d.style.left = s - l + "px"), + (d.style.top = c - l + "px"), + (d.style.height = 2 * l + "px"), + (d.style.width = 2 * l + "px"), + (d.style.backgroundColor = e.color || null), + (d.style.transitionDuration = u + "ms"), + this._containerElement.appendChild(d), + window.getComputedStyle(d).getPropertyValue("opacity"), + (d.style.transform = "scale(1)"); + var p = new mh(this, d, e); + return ( + (p.state = ph.FADING_IN), + this._activeRipples.add(p), + e.persistent || (this._mostRecentTransientRipple = p), + this._runTimeoutOutsideZone(function() { + var t = p === a._mostRecentTransientRipple; + (p.state = ph.VISIBLE), + e.persistent || (t && a._isPointerDown) || p.fadeOut(); + }, u), + p + ); + }), + (t.prototype.fadeOutRipple = function(t) { + var n = this._activeRipples.delete(t); + if ( + (t === this._mostRecentTransientRipple && + (this._mostRecentTransientRipple = null), + this._activeRipples.size || (this._containerRect = null), + n) + ) { + var e = t.element, + a = Object(o.__assign)({}, gh, t.config.animation); + (e.style.transitionDuration = a.exitDuration + "ms"), + (e.style.opacity = "0"), + (t.state = ph.FADING_OUT), + this._runTimeoutOutsideZone(function() { + (t.state = ph.HIDDEN), e.parentNode.removeChild(e); + }, a.exitDuration); + } + }), + (t.prototype.fadeOutAll = function() { + this._activeRipples.forEach(function(t) { + return t.fadeOut(); + }); + }), + (t.prototype.setupTriggerEvents = function(t) { + var n = this; + t && + t !== this._triggerElement && + (this._removeTriggerEvents(), + this._ngZone.runOutsideAngular(function() { + n._triggerEvents.forEach(function(n, e) { + t.addEventListener(e, n, hh); + }); + }), + (this._triggerElement = t)); + }), + (t.prototype._runTimeoutOutsideZone = function(t, n) { + void 0 === n && (n = 0), + this._ngZone.runOutsideAngular(function() { + return setTimeout(t, n); + }); + }), + (t.prototype._removeTriggerEvents = function() { + var t = this; + this._triggerElement && + this._triggerEvents.forEach(function(n, e) { + t._triggerElement.removeEventListener(e, n, hh); + }); + }), + t + ); + })(), + _h = new Ut("mat-ripple-global-options"), + yh = (function() { + function t(t, n, e, o, a) { + (this._elementRef = t), + (this.radius = 0), + (this._disabled = !1), + (this._isInitialized = !1), + (this._globalOptions = o || {}), + (this._rippleRenderer = new bh(this, n, t, e)), + "NoopAnimations" === a && + (this._globalOptions.animation = { + enterDuration: 0, + exitDuration: 0 + }); + } + return ( + Object.defineProperty(t.prototype, "disabled", { + get: function() { + return this._disabled; + }, + set: function(t) { + (this._disabled = t), this._setupTriggerEventsIfEnabled(); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "trigger", { + get: function() { + return this._trigger || this._elementRef.nativeElement; + }, + set: function(t) { + (this._trigger = t), this._setupTriggerEventsIfEnabled(); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.ngOnInit = function() { + (this._isInitialized = !0), this._setupTriggerEventsIfEnabled(); + }), + (t.prototype.ngOnDestroy = function() { + this._rippleRenderer._removeTriggerEvents(); + }), + (t.prototype.fadeOutAll = function() { + this._rippleRenderer.fadeOutAll(); + }), + Object.defineProperty(t.prototype, "rippleConfig", { + get: function() { + return { + centered: this.centered, + radius: this.radius, + color: this.color, + animation: Object(o.__assign)( + {}, + this._globalOptions.animation, + this.animation + ), + terminateOnPointerUp: this._globalOptions.terminateOnPointerUp + }; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "rippleDisabled", { + get: function() { + return this.disabled || !!this._globalOptions.disabled; + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype._setupTriggerEventsIfEnabled = function() { + !this.disabled && + this._isInitialized && + this._rippleRenderer.setupTriggerEvents(this.trigger); + }), + (t.prototype.launch = function(t, n, e) { + return ( + void 0 === n && (n = 0), + "number" == typeof t + ? this._rippleRenderer.fadeInRipple( + t, + n, + Object(o.__assign)({}, this.rippleConfig, e) + ) + : this._rippleRenderer.fadeInRipple( + 0, + 0, + Object(o.__assign)({}, this.rippleConfig, t) + ) + ); + }), + t + ); + })(), + Ch = (function() { + return function() {}; + })(), + vh = (function() { + return function() {}; + })(), + Oh = new Ut("mat-label-global-options"), + Ph = So({ + encapsulation: 2, + styles: [ + ".mat-card{transition:box-shadow 280ms cubic-bezier(.4,0,.2,1);display:block;position:relative;padding:16px;border-radius:4px}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}@media (-ms-high-contrast:active){.mat-card{outline:solid 1px}}.mat-card-actions,.mat-card-content,.mat-card-subtitle{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media (max-width:599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card-content>:first-child,.mat-card>:first-child{margin-top:0}.mat-card-content>:last-child:not(.mat-card-footer),.mat-card>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child{margin-left:0;margin-right:0}.mat-card-subtitle:not(:first-child),.mat-card-title:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}" + ], + data: {} + }); + function Mh(t) { + return Di(2, [wi(null, 0), wi(null, 1)], null, null); + } + var xh = So({ encapsulation: 2, styles: [], data: {} }); + function kh(t) { + return Di( + 2, + [ + wi(null, 0), + (t()(), + bi( + 1, + 0, + null, + null, + 1, + "div", + [["class", "mat-card-header-text"]], + null, + null, + null, + null, + null + )), + wi(null, 1), + wi(null, 2) + ], + null, + null + ); + } + function wh(t, n) { + return new O( + n + ? function(e) { + return n.schedule(Sh, 0, { error: t, subscriber: e }); + } + : function(n) { + return n.error(t); + } + ); + } + function Sh(t) { + t.subscriber.error(t.error); + } + function Eh() { + for (var t, n = [], e = 0; e < arguments.length; e++) + n[e] = arguments[e]; + return ( + "function" == typeof n[n.length - 1] && (t = n.pop()), + 1 === n.length && a(n[0]) && (n = n[0]), + 0 === n.length + ? ql + : t + ? Eh(n).pipe( + U(function(n) { + return t.apply(void 0, n); + }) + ) + : new O(function(t) { + return new Ih(t, n); + }) + ); + } + var Ih = (function(t) { + function n(n, e) { + var o = t.call(this, n) || this; + (o.sources = e), (o.completed = 0), (o.haveValues = 0); + var a = e.length; + o.values = new Array(a); + for (var r = 0; r < a; r++) { + var i = V(o, e[r], null, r); + i && o.add(i); + } + return o; + } + return ( + o.__extends(n, t), + (n.prototype.notifyNext = function(t, n, e, o, a) { + (this.values[e] = n), + a._hasValue || ((a._hasValue = !0), this.haveValues++); + }), + (n.prototype.notifyComplete = function(t) { + var n = this.destination, + e = this.haveValues, + o = this.values, + a = o.length; + t._hasValue + ? (this.completed++, + this.completed === a && (e === a && n.next(o), n.complete())) + : n.complete(); + }), + n + ); + })(H); + function Ah(t) { + return Error('Unable to find icon with the name "' + t + '"'); + } + function Th(t) { + return Error( + "The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was \"" + + t + + '".' + ); + } + function Rh(t) { + return Error( + "The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was \"" + + t + + '".' + ); + } + var Dh = (function() { + return function(t) { + t.nodeName ? (this.svgElement = t) : (this.url = t); + }; + })(), + Nh = (function() { + function t(t, n, e) { + (this._httpClient = t), + (this._sanitizer = n), + (this._svgIconConfigs = new Map()), + (this._iconSetConfigs = new Map()), + (this._cachedIconsByUrl = new Map()), + (this._inProgressUrlFetches = new Map()), + (this._fontCssClassesByAlias = new Map()), + (this._defaultFontSetClass = "material-icons"), + (this._document = e); + } + return ( + (t.prototype.addSvgIcon = function(t, n) { + return this.addSvgIconInNamespace("", t, n); + }), + (t.prototype.addSvgIconLiteral = function(t, n) { + return this.addSvgIconLiteralInNamespace("", t, n); + }), + (t.prototype.addSvgIconInNamespace = function(t, n, e) { + return this._addSvgIconConfig(t, n, new Dh(e)); + }), + (t.prototype.addSvgIconLiteralInNamespace = function(t, n, e) { + var o = this._sanitizer.sanitize(le.HTML, e); + if (!o) throw Rh(e); + var a = this._createSvgElementForSingleIcon(o); + return this._addSvgIconConfig(t, n, new Dh(a)); + }), + (t.prototype.addSvgIconSet = function(t) { + return this.addSvgIconSetInNamespace("", t); + }), + (t.prototype.addSvgIconSetLiteral = function(t) { + return this.addSvgIconSetLiteralInNamespace("", t); + }), + (t.prototype.addSvgIconSetInNamespace = function(t, n) { + return this._addSvgIconSetConfig(t, new Dh(n)); + }), + (t.prototype.addSvgIconSetLiteralInNamespace = function(t, n) { + var e = this._sanitizer.sanitize(le.HTML, n); + if (!e) throw Rh(n); + var o = this._svgElementFromString(e); + return this._addSvgIconSetConfig(t, new Dh(o)); + }), + (t.prototype.registerFontClassAlias = function(t, n) { + return ( + void 0 === n && (n = t), + this._fontCssClassesByAlias.set(t, n), + this + ); + }), + (t.prototype.classNameForFontAlias = function(t) { + return this._fontCssClassesByAlias.get(t) || t; + }), + (t.prototype.setDefaultFontSetClass = function(t) { + return (this._defaultFontSetClass = t), this; + }), + (t.prototype.getDefaultFontSetClass = function() { + return this._defaultFontSetClass; + }), + (t.prototype.getSvgIconFromUrl = function(t) { + var n = this, + e = this._sanitizer.sanitize(le.RESOURCE_URL, t); + if (!e) throw Th(t); + var o = this._cachedIconsByUrl.get(e); + return o + ? Wl(zh(o)) + : this._loadSvgIconFromConfig(new Dh(t)).pipe( + Dc(function(t) { + return n._cachedIconsByUrl.set(e, t); + }), + U(function(t) { + return zh(t); + }) + ); + }), + (t.prototype.getNamedSvgIcon = function(t, n) { + void 0 === n && (n = ""); + var e = Lh(n, t), + o = this._svgIconConfigs.get(e); + if (o) return this._getSvgFromConfig(o); + var a = this._iconSetConfigs.get(n); + return a ? this._getSvgFromIconSetConfigs(t, a) : wh(Ah(e)); + }), + (t.prototype.ngOnDestroy = function() { + this._svgIconConfigs.clear(), + this._iconSetConfigs.clear(), + this._cachedIconsByUrl.clear(); + }), + (t.prototype._getSvgFromConfig = function(t) { + return t.svgElement + ? Wl(zh(t.svgElement)) + : this._loadSvgIconFromConfig(t).pipe( + Dc(function(n) { + return (t.svgElement = n); + }), + U(function(t) { + return zh(t); + }) + ); + }), + (t.prototype._getSvgFromIconSetConfigs = function(t, n) { + var e = this, + o = this._extractIconWithNameFromAnySet(t, n); + return o + ? Wl(o) + : Eh( + n + .filter(function(t) { + return !t.svgElement; + }) + .map(function(t) { + return e._loadSvgIconSetFromConfig(t).pipe( + Uc(function(n) { + var o = e._sanitizer.sanitize( + le.RESOURCE_URL, + t.url + ); + return ( + console.error( + "Loading icon set URL: " + + o + + " failed: " + + n.message + ), + Wl(null) + ); + }) + ); + }) + ).pipe( + U(function() { + var o = e._extractIconWithNameFromAnySet(t, n); + if (!o) throw Ah(t); + return o; + }) + ); + }), + (t.prototype._extractIconWithNameFromAnySet = function(t, n) { + for (var e = n.length - 1; e >= 0; e--) { + var o = n[e]; + if (o.svgElement) { + var a = this._extractSvgIconFromSet(o.svgElement, t); + if (a) return a; + } + } + return null; + }), + (t.prototype._loadSvgIconFromConfig = function(t) { + var n = this; + return this._fetchUrl(t.url).pipe( + U(function(t) { + return n._createSvgElementForSingleIcon(t); + }) + ); + }), + (t.prototype._loadSvgIconSetFromConfig = function(t) { + var n = this; + return t.svgElement + ? Wl(t.svgElement) + : this._fetchUrl(t.url).pipe( + U(function(e) { + return ( + t.svgElement || + (t.svgElement = n._svgElementFromString(e)), + t.svgElement + ); + }) + ); + }), + (t.prototype._createSvgElementForSingleIcon = function(t) { + var n = this._svgElementFromString(t); + return this._setSvgAttributes(n), n; + }), + (t.prototype._extractSvgIconFromSet = function(t, n) { + var e = t.querySelector('[id="' + n + '"]'); + if (!e) return null; + var o = e.cloneNode(!0); + if ((o.removeAttribute("id"), "svg" === o.nodeName.toLowerCase())) + return this._setSvgAttributes(o); + if ("symbol" === o.nodeName.toLowerCase()) + return this._setSvgAttributes(this._toSvgElement(o)); + var a = this._svgElementFromString(""); + return a.appendChild(o), this._setSvgAttributes(a); + }), + (t.prototype._svgElementFromString = function(t) { + var n = this._document.createElement("DIV"); + n.innerHTML = t; + var e = n.querySelector("svg"); + if (!e) throw Error(" tag not found"); + return e; + }), + (t.prototype._toSvgElement = function(t) { + for ( + var n = this._svgElementFromString(""), e = 0; + e < t.childNodes.length; + e++ + ) + t.childNodes[e].nodeType === this._document.ELEMENT_NODE && + n.appendChild(t.childNodes[e].cloneNode(!0)); + return n; + }), + (t.prototype._setSvgAttributes = function(t) { + return ( + t.setAttribute("fit", ""), + t.setAttribute("height", "100%"), + t.setAttribute("width", "100%"), + t.setAttribute("preserveAspectRatio", "xMidYMid meet"), + t.setAttribute("focusable", "false"), + t + ); + }), + (t.prototype._fetchUrl = function(t) { + var n = this; + if (!this._httpClient) + throw Error( + "Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports." + ); + if (null == t) + throw Error('Cannot fetch icon from URL "' + t + '".'); + var e = this._sanitizer.sanitize(le.RESOURCE_URL, t); + if (!e) throw Th(t); + var o = this._inProgressUrlFetches.get(e); + if (o) return o; + var a = this._httpClient.get(e, { responseType: "text" }).pipe( + ru(function() { + return n._inProgressUrlFetches.delete(e); + }), + lt() + ); + return this._inProgressUrlFetches.set(e, a), a; + }), + (t.prototype._addSvgIconConfig = function(t, n, e) { + return this._svgIconConfigs.set(Lh(t, n), e), this; + }), + (t.prototype._addSvgIconSetConfig = function(t, n) { + var e = this._iconSetConfigs.get(t); + return e ? e.push(n) : this._iconSetConfigs.set(t, [n]), this; + }), + (t.ngInjectableDef = yt({ + factory: function() { + return new t(Tt(oc, 8), Tt(id), Tt(Ds, 8)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(); + function zh(t) { + return t.cloneNode(!0); + } + function Lh(t, n) { + return t + ":" + n; + } + var jh = th( + (function() { + return function(t) { + this._elementRef = t; + }; + })() + ), + Fh = new Ut("mat-icon-location", { + providedIn: "root", + factory: function() { + var t = Rt(Ds), + n = t ? t.location : null; + return { + getPathname: function() { + return n ? n.pathname + n.search : ""; + } + }; + } + }), + Bh = [ + "clip-path", + "color-profile", + "src", + "cursor", + "fill", + "filter", + "marker", + "marker-start", + "marker-mid", + "marker-end", + "mask", + "stroke" + ], + Vh = Bh.map(function(t) { + return "[" + t + "]"; + }).join(", "), + Hh = /^url\(['"]?#(.*?)['"]?\)$/, + Uh = (function(t) { + function n(n, e, o, a) { + var r = t.call(this, n) || this; + return ( + (r._iconRegistry = e), + (r._location = a), + (r._inline = !1), + o || n.nativeElement.setAttribute("aria-hidden", "true"), + r + ); + } + return ( + Object(o.__extends)(n, t), + Object.defineProperty(n.prototype, "inline", { + get: function() { + return this._inline; + }, + set: function(t) { + this._inline = sf(t); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "fontSet", { + get: function() { + return this._fontSet; + }, + set: function(t) { + this._fontSet = this._cleanupFontValue(t); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "fontIcon", { + get: function() { + return this._fontIcon; + }, + set: function(t) { + this._fontIcon = this._cleanupFontValue(t); + }, + enumerable: !0, + configurable: !0 + }), + (n.prototype._splitIconName = function(t) { + if (!t) return ["", ""]; + var n = t.split(":"); + switch (n.length) { + case 1: + return ["", n[0]]; + case 2: + return n; + default: + throw Error('Invalid icon name: "' + t + '"'); + } + }), + (n.prototype.ngOnChanges = function(t) { + var n = this, + e = t.svgIcon; + if (e) + if (this.svgIcon) { + var o = this._splitIconName(this.svgIcon); + this._iconRegistry + .getNamedSvgIcon(o[1], o[0]) + .pipe(Yc(1)) + .subscribe( + function(t) { + return n._setSvgElement(t); + }, + function(t) { + return console.log( + "Error retrieving icon: " + t.message + ); + } + ); + } else e.previousValue && this._clearSvgElement(); + this._usingFontIcon() && this._updateFontIconClasses(); + }), + (n.prototype.ngOnInit = function() { + this._usingFontIcon() && this._updateFontIconClasses(); + }), + (n.prototype.ngAfterViewChecked = function() { + var t = this._elementsWithExternalReferences; + if (t && this._location && t.size) { + var n = this._location.getPathname(); + n !== this._previousPath && + ((this._previousPath = n), this._prependPathToReferences(n)); + } + }), + (n.prototype.ngOnDestroy = function() { + this._elementsWithExternalReferences && + this._elementsWithExternalReferences.clear(); + }), + (n.prototype._usingFontIcon = function() { + return !this.svgIcon; + }), + (n.prototype._setSvgElement = function(t) { + this._clearSvgElement(); + for ( + var n = t.querySelectorAll("style"), e = 0; + e < n.length; + e++ + ) + n[e].textContent += " "; + if (this._location) { + var o = this._location.getPathname(); + (this._previousPath = o), + this._cacheChildrenWithExternalReferences(t), + this._prependPathToReferences(o); + } + this._elementRef.nativeElement.appendChild(t); + }), + (n.prototype._clearSvgElement = function() { + var t = this._elementRef.nativeElement, + n = t.childNodes.length; + for ( + this._elementsWithExternalReferences && + this._elementsWithExternalReferences.clear(); + n--; + + ) { + var e = t.childNodes[n]; + (1 === e.nodeType && "svg" !== e.nodeName.toLowerCase()) || + t.removeChild(e); + } + }), + (n.prototype._updateFontIconClasses = function() { + if (this._usingFontIcon()) { + var t = this._elementRef.nativeElement, + n = this.fontSet + ? this._iconRegistry.classNameForFontAlias(this.fontSet) + : this._iconRegistry.getDefaultFontSetClass(); + n != this._previousFontSetClass && + (this._previousFontSetClass && + t.classList.remove(this._previousFontSetClass), + n && t.classList.add(n), + (this._previousFontSetClass = n)), + this.fontIcon != this._previousFontIconClass && + (this._previousFontIconClass && + t.classList.remove(this._previousFontIconClass), + this.fontIcon && t.classList.add(this.fontIcon), + (this._previousFontIconClass = this.fontIcon)); + } + }), + (n.prototype._cleanupFontValue = function(t) { + return "string" == typeof t ? t.trim().split(" ")[0] : t; + }), + (n.prototype._prependPathToReferences = function(t) { + var n = this._elementsWithExternalReferences; + n && + n.forEach(function(n, e) { + n.forEach(function(n) { + e.setAttribute(n.name, "url('" + t + "#" + n.value + "')"); + }); + }); + }), + (n.prototype._cacheChildrenWithExternalReferences = function(t) { + for ( + var n = t.querySelectorAll(Vh), + e = (this._elementsWithExternalReferences = + this._elementsWithExternalReferences || new Map()), + o = function(t) { + Bh.forEach(function(o) { + var a = n[t], + r = a.getAttribute(o), + i = r ? r.match(Hh) : null; + if (i) { + var l = e.get(a); + l || e.set(a, (l = [])), + l.push({ name: o, value: i[1] }); + } + }); + }, + a = 0; + a < n.length; + a++ + ) + o(a); + }), + n + ); + })(jh), + qh = (function() { + return function() {}; + })(), + Kh = So({ + encapsulation: 2, + styles: [ + ".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1,1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}" + ], + data: {} + }); + function Yh(t) { + return Di(2, [wi(null, 0)], null, null); + } + var Wh = "accent", + Gh = [ + "mat-button", + "mat-flat-button", + "mat-icon-button", + "mat-raised-button", + "mat-stroked-button", + "mat-mini-fab", + "mat-fab" + ], + Zh = (function(t) { + function n(n, e, o) { + var a = t.call(this, n) || this; + (a._focusMonitor = e), + (a._animationMode = o), + (a.isRoundButton = a._hasHostAttributes( + "mat-fab", + "mat-mini-fab" + )), + (a.isIconButton = a._hasHostAttributes("mat-icon-button")); + for (var r = 0, i = Gh; r < i.length; r++) { + var l = i[r]; + a._hasHostAttributes(l) && n.nativeElement.classList.add(l); + } + return ( + a._focusMonitor.monitor(a._elementRef, !0), + a.isRoundButton && (a.color = Wh), + a + ); + } + return ( + Object(o.__extends)(n, t), + (n.prototype.ngOnDestroy = function() { + this._focusMonitor.stopMonitoring(this._elementRef); + }), + (n.prototype.focus = function() { + this._getHostElement().focus(); + }), + (n.prototype._getHostElement = function() { + return this._elementRef.nativeElement; + }), + (n.prototype._isRippleDisabled = function() { + return this.disableRipple || this.disabled; + }), + (n.prototype._hasHostAttributes = function() { + for (var t = this, n = [], e = 0; e < arguments.length; e++) + n[e] = arguments[e]; + return n.some(function(n) { + return t._getHostElement().hasAttribute(n); + }); + }), + n + ); + })( + th( + $f( + nh( + (function() { + return function(t) { + this._elementRef = t; + }; + })() + ) + ) + ) + ), + Qh = (function() { + return function() {}; + })(), + Xh = (function() { + return function() {}; + })(), + Jh = (function() { + return function() {}; + })(), + $h = "*"; + function tb(t, n) { + return void 0 === n && (n = null), { type: 2, steps: t, options: n }; + } + function nb(t) { + return { type: 6, styles: t, offset: null }; + } + function eb(t) { + Promise.resolve(null).then(t); + } + var ob = (function() { + function t(t, n) { + void 0 === t && (t = 0), + void 0 === n && (n = 0), + (this._onDoneFns = []), + (this._onStartFns = []), + (this._onDestroyFns = []), + (this._started = !1), + (this._destroyed = !1), + (this._finished = !1), + (this.parentPlayer = null), + (this.totalTime = t + n); + } + return ( + (t.prototype._onFinish = function() { + this._finished || + ((this._finished = !0), + this._onDoneFns.forEach(function(t) { + return t(); + }), + (this._onDoneFns = [])); + }), + (t.prototype.onStart = function(t) { + this._onStartFns.push(t); + }), + (t.prototype.onDone = function(t) { + this._onDoneFns.push(t); + }), + (t.prototype.onDestroy = function(t) { + this._onDestroyFns.push(t); + }), + (t.prototype.hasStarted = function() { + return this._started; + }), + (t.prototype.init = function() {}), + (t.prototype.play = function() { + this.hasStarted() || (this._onStart(), this.triggerMicrotask()), + (this._started = !0); + }), + (t.prototype.triggerMicrotask = function() { + var t = this; + eb(function() { + return t._onFinish(); + }); + }), + (t.prototype._onStart = function() { + this._onStartFns.forEach(function(t) { + return t(); + }), + (this._onStartFns = []); + }), + (t.prototype.pause = function() {}), + (t.prototype.restart = function() {}), + (t.prototype.finish = function() { + this._onFinish(); + }), + (t.prototype.destroy = function() { + this._destroyed || + ((this._destroyed = !0), + this.hasStarted() || this._onStart(), + this.finish(), + this._onDestroyFns.forEach(function(t) { + return t(); + }), + (this._onDestroyFns = [])); + }), + (t.prototype.reset = function() {}), + (t.prototype.setPosition = function(t) {}), + (t.prototype.getPosition = function() { + return 0; + }), + (t.prototype.triggerCallback = function(t) { + var n = "start" == t ? this._onStartFns : this._onDoneFns; + n.forEach(function(t) { + return t(); + }), + (n.length = 0); + }), + t + ); + })(), + ab = (function() { + function t(t) { + var n = this; + (this._onDoneFns = []), + (this._onStartFns = []), + (this._finished = !1), + (this._started = !1), + (this._destroyed = !1), + (this._onDestroyFns = []), + (this.parentPlayer = null), + (this.totalTime = 0), + (this.players = t); + var e = 0, + o = 0, + a = 0, + r = this.players.length; + 0 == r + ? eb(function() { + return n._onFinish(); + }) + : this.players.forEach(function(t) { + t.onDone(function() { + ++e == r && n._onFinish(); + }), + t.onDestroy(function() { + ++o == r && n._onDestroy(); + }), + t.onStart(function() { + ++a == r && n._onStart(); + }); + }), + (this.totalTime = this.players.reduce(function(t, n) { + return Math.max(t, n.totalTime); + }, 0)); + } + return ( + (t.prototype._onFinish = function() { + this._finished || + ((this._finished = !0), + this._onDoneFns.forEach(function(t) { + return t(); + }), + (this._onDoneFns = [])); + }), + (t.prototype.init = function() { + this.players.forEach(function(t) { + return t.init(); + }); + }), + (t.prototype.onStart = function(t) { + this._onStartFns.push(t); + }), + (t.prototype._onStart = function() { + this.hasStarted() || + ((this._started = !0), + this._onStartFns.forEach(function(t) { + return t(); + }), + (this._onStartFns = [])); + }), + (t.prototype.onDone = function(t) { + this._onDoneFns.push(t); + }), + (t.prototype.onDestroy = function(t) { + this._onDestroyFns.push(t); + }), + (t.prototype.hasStarted = function() { + return this._started; + }), + (t.prototype.play = function() { + this.parentPlayer || this.init(), + this._onStart(), + this.players.forEach(function(t) { + return t.play(); + }); + }), + (t.prototype.pause = function() { + this.players.forEach(function(t) { + return t.pause(); + }); + }), + (t.prototype.restart = function() { + this.players.forEach(function(t) { + return t.restart(); + }); + }), + (t.prototype.finish = function() { + this._onFinish(), + this.players.forEach(function(t) { + return t.finish(); + }); + }), + (t.prototype.destroy = function() { + this._onDestroy(); + }), + (t.prototype._onDestroy = 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 = [])); + }), + (t.prototype.reset = function() { + this.players.forEach(function(t) { + return t.reset(); + }), + (this._destroyed = !1), + (this._finished = !1), + (this._started = !1); + }), + (t.prototype.setPosition = function(t) { + var n = t * this.totalTime; + this.players.forEach(function(t) { + var e = t.totalTime ? Math.min(1, n / t.totalTime) : 1; + t.setPosition(e); + }); + }), + (t.prototype.getPosition = function() { + var t = 0; + return ( + this.players.forEach(function(n) { + var e = n.getPosition(); + t = Math.min(e, t); + }), + t + ); + }), + (t.prototype.beforeDestroy = function() { + this.players.forEach(function(t) { + t.beforeDestroy && t.beforeDestroy(); + }); + }), + (t.prototype.triggerCallback = function(t) { + var n = "start" == t ? this._onStartFns : this._onDoneFns; + n.forEach(function(t) { + return t(); + }), + (n.length = 0); + }), + t + ); + })(), + rb = "!"; + function ib() { + return "undefined" != typeof process; + } + function lb(t) { + switch (t.length) { + case 0: + return new ob(); + case 1: + return t[0]; + default: + return new ab(t); + } + } + function sb(t, n, e, o, a, r) { + void 0 === a && (a = {}), void 0 === r && (r = {}); + var i = [], + l = [], + s = -1, + c = null; + if ( + (o.forEach(function(t) { + var e = t.offset, + o = e == s, + u = (o && c) || {}; + Object.keys(t).forEach(function(e) { + var o = e, + l = t[e]; + if ("offset" !== e) + switch (((o = n.normalizePropertyName(o, i)), l)) { + case rb: + l = a[e]; + break; + case $h: + l = r[e]; + break; + default: + l = n.normalizeStyleValue(e, o, l, i); + } + u[o] = l; + }), + o || l.push(u), + (c = u), + (s = e); + }), + i.length) + ) + throw new Error( + "Unable to animate due to the following errors:\n - " + + i.join("\n - ") + ); + return l; + } + function cb(t, n, e, o) { + switch (n) { + case "start": + t.onStart(function() { + return o(e && ub(e, "start", t)); + }); + break; + case "done": + t.onDone(function() { + return o(e && ub(e, "done", t)); + }); + break; + case "destroy": + t.onDestroy(function() { + return o(e && ub(e, "destroy", t)); + }); + } + } + function ub(t, n, e) { + var o = e.totalTime, + a = db( + t.element, + t.triggerName, + t.fromState, + t.toState, + n || t.phaseName, + null == o ? t.totalTime : o, + !!e.disabled + ), + r = t._data; + return null != r && (a._data = r), a; + } + function db(t, n, e, o, a, r, i) { + return ( + void 0 === a && (a = ""), + void 0 === r && (r = 0), + { + element: t, + triggerName: n, + fromState: e, + toState: o, + phaseName: a, + totalTime: r, + disabled: !!i + } + ); + } + function pb(t, n, e) { + var o; + return ( + t instanceof Map + ? (o = t.get(n)) || t.set(n, (o = e)) + : (o = t[n]) || (o = t[n] = e), + o + ); + } + function mb(t) { + var n = t.indexOf(":"); + return [t.substring(1, n), t.substr(n + 1)]; + } + var gb = function(t, n) { + return !1; + }, + fb = function(t, n) { + return !1; + }, + hb = function(t, n, e) { + return []; + }, + bb = ib(); + (bb || "undefined" != typeof Element) && + ((gb = function(t, n) { + return t.contains(n); + }), + (fb = (function() { + if (bb || Element.prototype.matches) + return function(t, n) { + return t.matches(n); + }; + var t = Element.prototype, + n = + t.matchesSelector || + t.mozMatchesSelector || + t.msMatchesSelector || + t.oMatchesSelector || + t.webkitMatchesSelector; + return n + ? function(t, e) { + return n.apply(t, [e]); + } + : fb; + })()), + (hb = function(t, n, e) { + var a = []; + if (e) a.push.apply(a, Object(o.__spread)(t.querySelectorAll(n))); + else { + var r = t.querySelector(n); + r && a.push(r); + } + return a; + })); + var _b = null, + yb = !1; + function Cb(t) { + _b || + ((_b = ("undefined" != typeof document ? document.body : null) || {}), + (yb = !!_b.style && "WebkitAppearance" in _b.style)); + var n = !0; + return ( + _b.style && + !(function(t) { + return "ebkit" == t.substring(1, 6); + })(t) && + !(n = t in _b.style) && + yb && + (n = + "Webkit" + t.charAt(0).toUpperCase() + t.substr(1) in _b.style), + n + ); + } + var vb = fb, + Ob = gb, + Pb = hb; + function Mb(t) { + var n = {}; + return ( + Object.keys(t).forEach(function(e) { + var o = e.replace(/([a-z])([A-Z])/g, "$1-$2"); + n[o] = t[e]; + }), + n + ); + } + var xb = (function() { + function t() {} + return ( + (t.prototype.validateStyleProperty = function(t) { + return Cb(t); + }), + (t.prototype.matchesElement = function(t, n) { + return vb(t, n); + }), + (t.prototype.containsElement = function(t, n) { + return Ob(t, n); + }), + (t.prototype.query = function(t, n, e) { + return Pb(t, n, e); + }), + (t.prototype.computeStyle = function(t, n, e) { + return e || ""; + }), + (t.prototype.animate = function(t, n, e, o, a, r, i) { + return void 0 === r && (r = []), new ob(e, o); + }), + t + ); + })(), + kb = (function() { + function t() {} + return (t.NOOP = new xb()), t; + })(), + wb = 1e3; + function Sb(t) { + if ("number" == typeof t) return t; + var n = t.match(/^(-?[\.\d]+)(m?s)/); + return !n || n.length < 2 ? 0 : Eb(parseFloat(n[1]), n[2]); + } + function Eb(t, n) { + switch (n) { + case "s": + return t * wb; + default: + return t; + } + } + function Ib(t, n, e) { + return t.hasOwnProperty("duration") + ? t + : (function(t, n, e) { + var o, + a = 0, + r = ""; + if ("string" == typeof t) { + var i = t.match( + /^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i + ); + if (null === i) + return ( + n.push('The provided timing value "' + t + '" is invalid.'), + { duration: 0, delay: 0, easing: "" } + ); + o = Eb(parseFloat(i[1]), i[2]); + var l = i[3]; + null != l && (a = Eb(parseFloat(l), i[4])); + var s = i[5]; + s && (r = s); + } else o = t; + if (!e) { + var c = !1, + u = n.length; + o < 0 && + (n.push( + "Duration values below 0 are not allowed for this animation step." + ), + (c = !0)), + a < 0 && + (n.push( + "Delay values below 0 are not allowed for this animation step." + ), + (c = !0)), + c && + n.splice( + u, + 0, + 'The provided timing value "' + t + '" is invalid.' + ); + } + return { duration: o, delay: a, easing: r }; + })(t, n, e); + } + function Ab(t, n) { + return ( + void 0 === n && (n = {}), + Object.keys(t).forEach(function(e) { + n[e] = t[e]; + }), + n + ); + } + function Tb(t, n, e) { + if ((void 0 === e && (e = {}), n)) for (var o in t) e[o] = t[o]; + else Ab(t, e); + return e; + } + function Rb(t, n, e) { + return e ? n + ":" + e + ";" : ""; + } + function Db(t) { + for (var n = "", e = 0; e < t.style.length; e++) + n += Rb(0, (o = t.style.item(e)), t.style.getPropertyValue(o)); + for (var o in t.style) + t.style.hasOwnProperty(o) && + !o.startsWith("_") && + (n += Rb( + 0, + o.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(), + t.style[o] + )); + t.setAttribute("style", n); + } + function Nb(t, n, e) { + t.style && + (Object.keys(n).forEach(function(o) { + var a = Ub(o); + e && !e.hasOwnProperty(o) && (e[o] = t.style[a]), + (t.style[a] = n[o]); + }), + ib() && Db(t)); + } + function zb(t, n) { + t.style && + (Object.keys(n).forEach(function(n) { + var e = Ub(n); + t.style[e] = ""; + }), + ib() && Db(t)); + } + function Lb(t) { + return Array.isArray(t) ? (1 == t.length ? t[0] : tb(t)) : t; + } + var jb = new RegExp("{{\\s*(.+?)\\s*}}", "g"); + function Fb(t) { + var n = []; + if ("string" == typeof t) { + for (var e = t.toString(), o = void 0; (o = jb.exec(e)); ) + n.push(o[1]); + jb.lastIndex = 0; + } + return n; + } + function Bb(t, n, e) { + var o = t.toString(), + a = o.replace(jb, function(t, o) { + var a = n[o]; + return ( + n.hasOwnProperty(o) || + (e.push("Please provide a value for the animation param " + o), + (a = "")), + a.toString() + ); + }); + return a == o ? t : a; + } + function Vb(t) { + for (var n = [], e = t.next(); !e.done; ) + n.push(e.value), (e = t.next()); + return n; + } + var Hb = /-+([a-z0-9])/g; + function Ub(t) { + return t.replace(Hb, function() { + for (var t = [], n = 0; n < arguments.length; n++) + t[n] = arguments[n]; + return t[1].toUpperCase(); + }); + } + function qb(t, n) { + return 0 === t || 0 === n; + } + function Kb(t, n, e) { + var o = Object.keys(e); + if (o.length && n.length) { + var a = n[0], + r = []; + if ( + (o.forEach(function(t) { + a.hasOwnProperty(t) || r.push(t), (a[t] = e[t]); + }), + r.length) + ) + for ( + var i = function() { + var e = n[l]; + r.forEach(function(n) { + e[n] = Wb(t, n); + }); + }, + l = 1; + l < n.length; + l++ + ) + i(); + } + return n; + } + function Yb(t, n, e) { + switch (n.type) { + case 7: + return t.visitTrigger(n, e); + case 0: + return t.visitState(n, e); + case 1: + return t.visitTransition(n, e); + case 2: + return t.visitSequence(n, e); + case 3: + return t.visitGroup(n, e); + case 4: + return t.visitAnimate(n, e); + case 5: + return t.visitKeyframes(n, e); + case 6: + return t.visitStyle(n, e); + case 8: + return t.visitReference(n, e); + case 9: + return t.visitAnimateChild(n, e); + case 10: + return t.visitAnimateRef(n, e); + case 11: + return t.visitQuery(n, e); + case 12: + return t.visitStagger(n, e); + default: + throw new Error( + "Unable to resolve animation metadata node #" + n.type + ); + } + } + function Wb(t, n) { + return window.getComputedStyle(t)[n]; + } + var Gb = "*", + Zb = new Set(["true", "1"]), + Qb = new Set(["false", "0"]); + function Xb(t, n) { + var e = Zb.has(t) || Qb.has(t), + o = Zb.has(n) || Qb.has(n); + return function(a, r) { + var i = t == Gb || t == a, + l = n == Gb || n == r; + return ( + !i && e && "boolean" == typeof a && (i = a ? Zb.has(t) : Qb.has(t)), + !l && o && "boolean" == typeof r && (l = r ? Zb.has(n) : Qb.has(n)), + i && l + ); + }; + } + var Jb = new RegExp("s*:selfs*,?", "g"); + function $b(t, n, e) { + return new t_(t).build(n, e); + } + var t_ = (function() { + function t(t) { + this._driver = t; + } + return ( + (t.prototype.build = function(t, n) { + var e = new n_(n); + return this._resetContextStyleTimingState(e), Yb(this, Lb(t), e); + }), + (t.prototype._resetContextStyleTimingState = function(t) { + (t.currentQuerySelector = ""), + (t.collectedStyles = {}), + (t.collectedStyles[""] = {}), + (t.currentTime = 0); + }), + (t.prototype.visitTrigger = function(t, n) { + var e = this, + o = (n.queryCount = 0), + a = (n.depCount = 0), + r = [], + i = []; + return ( + "@" == t.name.charAt(0) && + n.errors.push( + "animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))" + ), + t.definitions.forEach(function(t) { + if ((e._resetContextStyleTimingState(n), 0 == t.type)) { + var l = t, + s = l.name; + s + .toString() + .split(/\s*,\s*/) + .forEach(function(t) { + (l.name = t), r.push(e.visitState(l, n)); + }), + (l.name = s); + } else if (1 == t.type) { + var c = e.visitTransition(t, n); + (o += c.queryCount), (a += c.depCount), i.push(c); + } else + n.errors.push( + "only state() and transition() definitions can sit inside of a trigger()" + ); + }), + { + type: 7, + name: t.name, + states: r, + transitions: i, + queryCount: o, + depCount: a, + options: null + } + ); + }), + (t.prototype.visitState = function(t, n) { + var e = this.visitStyle(t.styles, n), + o = (t.options && t.options.params) || null; + if (e.containsDynamicStyles) { + var a = new Set(), + r = o || {}; + if ( + (e.styles.forEach(function(t) { + if (e_(t)) { + var n = t; + Object.keys(n).forEach(function(t) { + Fb(n[t]).forEach(function(t) { + r.hasOwnProperty(t) || a.add(t); + }); + }); + } + }), + a.size) + ) { + var i = Vb(a.values()); + n.errors.push( + 'state("' + + t.name + + '", ...) must define default values for all the following style substitutions: ' + + i.join(", ") + ); + } + } + return { + type: 0, + name: t.name, + style: e, + options: o ? { params: o } : null + }; + }), + (t.prototype.visitTransition = function(t, n) { + (n.queryCount = 0), (n.depCount = 0); + var e, + o, + a, + r = Yb(this, Lb(t.animation), n); + return { + type: 1, + matchers: + ((e = t.expr), + (o = n.errors), + (a = []), + "string" == typeof e + ? e.split(/\s*,\s*/).forEach(function(t) { + return (function(t, n, e) { + if (":" == t[0]) { + var o = (function(t, n) { + switch (t) { + case ":enter": + return "void => *"; + case ":leave": + return "* => void"; + case ":increment": + return function(t, n) { + return parseFloat(n) > parseFloat(t); + }; + case ":decrement": + return function(t, n) { + return parseFloat(n) < parseFloat(t); + }; + default: + return ( + n.push( + 'The transition alias value "' + + t + + '" is not supported' + ), + "* => *" + ); + } + })(t, e); + if ("function" == typeof o) return void n.push(o); + t = o; + } + var a = t.match( + /^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/ + ); + if (null == a || a.length < 4) + return ( + e.push( + 'The provided transition expression "' + + t + + '" is not supported' + ), + n + ); + var r = a[1], + i = a[2], + l = a[3]; + n.push(Xb(r, l)), + "<" != i[0] || + (r == Gb && l == Gb) || + n.push(Xb(l, r)); + })(t, a, o); + }) + : a.push(e), + a), + animation: r, + queryCount: n.queryCount, + depCount: n.depCount, + options: o_(t.options) + }; + }), + (t.prototype.visitSequence = function(t, n) { + var e = this; + return { + type: 2, + steps: t.steps.map(function(t) { + return Yb(e, t, n); + }), + options: o_(t.options) + }; + }), + (t.prototype.visitGroup = function(t, n) { + var e = this, + o = n.currentTime, + a = 0, + r = t.steps.map(function(t) { + n.currentTime = o; + var r = Yb(e, t, n); + return (a = Math.max(a, n.currentTime)), r; + }); + return ( + (n.currentTime = a), + { type: 3, steps: r, options: o_(t.options) } + ); + }), + (t.prototype.visitAnimate = function(t, n) { + var e, + o = (function(t, n) { + var e = null; + if (t.hasOwnProperty("duration")) e = t; + else if ("number" == typeof t) + return a_(Ib(t, n).duration, 0, ""); + var o = t; + if ( + o.split(/\s+/).some(function(t) { + return "{" == t.charAt(0) && "{" == t.charAt(1); + }) + ) { + var a = a_(0, 0, ""); + return (a.dynamic = !0), (a.strValue = o), a; + } + return a_((e = e || Ib(o, n)).duration, e.delay, e.easing); + })(t.timings, n.errors); + n.currentAnimateTimings = o; + var a = t.styles ? t.styles : nb({}); + if (5 == a.type) e = this.visitKeyframes(a, n); + else { + var r = t.styles, + i = !1; + if (!r) { + i = !0; + var l = {}; + o.easing && (l.easing = o.easing), (r = nb(l)); + } + n.currentTime += o.duration + o.delay; + var s = this.visitStyle(r, n); + (s.isEmptyStep = i), (e = s); + } + return ( + (n.currentAnimateTimings = null), + { type: 4, timings: o, style: e, options: null } + ); + }), + (t.prototype.visitStyle = function(t, n) { + var e = this._makeStyleAst(t, n); + return this._validateStyleAst(e, n), e; + }), + (t.prototype._makeStyleAst = function(t, n) { + var e = []; + Array.isArray(t.styles) + ? t.styles.forEach(function(t) { + "string" == typeof t + ? t == $h + ? e.push(t) + : n.errors.push( + "The provided style string value " + + t + + " is not allowed." + ) + : e.push(t); + }) + : e.push(t.styles); + var o = !1, + a = null; + return ( + e.forEach(function(t) { + if (e_(t)) { + var n = t, + e = n.easing; + if ((e && ((a = e), delete n.easing), !o)) + for (var r in n) + if (n[r].toString().indexOf("{{") >= 0) { + o = !0; + break; + } + } + }), + { + type: 6, + styles: e, + easing: a, + offset: t.offset, + containsDynamicStyles: o, + options: null + } + ); + }), + (t.prototype._validateStyleAst = function(t, n) { + var e = this, + o = n.currentAnimateTimings, + a = n.currentTime, + r = n.currentTime; + o && r > 0 && (r -= o.duration + o.delay), + t.styles.forEach(function(t) { + "string" != typeof t && + Object.keys(t).forEach(function(o) { + if (e._driver.validateStyleProperty(o)) { + var i, + l, + s, + c = n.collectedStyles[n.currentQuerySelector], + u = c[o], + d = !0; + u && + (r != a && + r >= u.startTime && + a <= u.endTime && + (n.errors.push( + 'The CSS property "' + + o + + '" that exists between the times of "' + + u.startTime + + 'ms" and "' + + u.endTime + + 'ms" is also being animated in a parallel animation between the times of "' + + r + + 'ms" and "' + + a + + 'ms"' + ), + (d = !1)), + (r = u.startTime)), + d && (c[o] = { startTime: r, endTime: a }), + n.options && + ((i = n.errors), + (l = n.options.params || {}), + (s = Fb(t[o])).length && + s.forEach(function(t) { + l.hasOwnProperty(t) || + i.push( + "Unable to resolve the local animation param " + + t + + " in the given list of values" + ); + })); + } else + n.errors.push( + 'The provided animation property "' + + o + + '" is not a supported CSS property for animations' + ); + }); + }); + }), + (t.prototype.visitKeyframes = function(t, n) { + var e = this, + o = { type: 5, styles: [], options: null }; + if (!n.currentAnimateTimings) + return ( + n.errors.push( + "keyframes() must be placed inside of a call to animate()" + ), + o + ); + var a = 0, + r = [], + i = !1, + l = !1, + s = 0, + c = t.steps.map(function(t) { + var o = e._makeStyleAst(t, n), + c = + null != o.offset + ? o.offset + : (function(t) { + if ("string" == typeof t) return null; + var n = null; + if (Array.isArray(t)) + t.forEach(function(t) { + if (e_(t) && t.hasOwnProperty("offset")) { + var e = t; + (n = parseFloat(e.offset)), delete e.offset; + } + }); + else if (e_(t) && t.hasOwnProperty("offset")) { + var e = t; + (n = parseFloat(e.offset)), delete e.offset; + } + return n; + })(o.styles), + u = 0; + return ( + null != c && (a++, (u = o.offset = c)), + (l = l || u < 0 || u > 1), + (i = i || u < s), + (s = u), + r.push(u), + o + ); + }); + l && + n.errors.push( + "Please ensure that all keyframe offsets are between 0 and 1" + ), + i && + n.errors.push( + "Please ensure that all keyframe offsets are in order" + ); + var u = t.steps.length, + d = 0; + a > 0 && a < u + ? n.errors.push( + "Not all style() steps within the declared keyframes() contain offsets" + ) + : 0 == a && (d = 1 / (u - 1)); + var p = u - 1, + m = n.currentTime, + g = n.currentAnimateTimings, + f = g.duration; + return ( + c.forEach(function(t, a) { + var i = d > 0 ? (a == p ? 1 : d * a) : r[a], + l = i * f; + (n.currentTime = m + g.delay + l), + (g.duration = l), + e._validateStyleAst(t, n), + (t.offset = i), + o.styles.push(t); + }), + o + ); + }), + (t.prototype.visitReference = function(t, n) { + return { + type: 8, + animation: Yb(this, Lb(t.animation), n), + options: o_(t.options) + }; + }), + (t.prototype.visitAnimateChild = function(t, n) { + return n.depCount++, { type: 9, options: o_(t.options) }; + }), + (t.prototype.visitAnimateRef = function(t, n) { + return { + type: 10, + animation: this.visitReference(t.animation, n), + options: o_(t.options) + }; + }), + (t.prototype.visitQuery = function(t, n) { + var e = n.currentQuerySelector, + a = t.options || {}; + n.queryCount++, (n.currentQuery = t); + var r = Object(o.__read)( + (function(t) { + var n = !!t.split(/\s*,\s*/).find(function(t) { + return ":self" == t; + }); + return ( + n && (t = t.replace(Jb, "")), + [ + (t = t + .replace(/@\*/g, ".ng-trigger") + .replace(/@\w+/g, function(t) { + return ".ng-trigger-" + t.substr(1); + }) + .replace(/:animating/g, ".ng-animating")), + n + ] + ); + })(t.selector), + 2 + ), + i = r[0], + l = r[1]; + (n.currentQuerySelector = e.length ? e + " " + i : i), + pb(n.collectedStyles, n.currentQuerySelector, {}); + var s = Yb(this, Lb(t.animation), n); + return ( + (n.currentQuery = null), + (n.currentQuerySelector = e), + { + type: 11, + selector: i, + limit: a.limit || 0, + optional: !!a.optional, + includeSelf: l, + animation: s, + originalSelector: t.selector, + options: o_(t.options) + } + ); + }), + (t.prototype.visitStagger = function(t, n) { + n.currentQuery || + n.errors.push("stagger() can only be used inside of query()"); + var e = + "full" === t.timings + ? { duration: 0, delay: 0, easing: "full" } + : Ib(t.timings, n.errors, !0); + return { + type: 12, + animation: Yb(this, Lb(t.animation), n), + timings: e, + options: null + }; + }), + t + ); + })(), + n_ = (function() { + return function(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 e_(t) { + return !Array.isArray(t) && "object" == typeof t; + } + function o_(t) { + var n; + return ( + t + ? (t = Ab(t)).params && (t.params = (n = t.params) ? Ab(n) : null) + : (t = {}), + t + ); + } + function a_(t, n, e) { + return { duration: t, delay: n, easing: e }; + } + function r_(t, n, e, o, a, r, i, l) { + return ( + void 0 === i && (i = null), + void 0 === l && (l = !1), + { + type: 1, + element: t, + keyframes: n, + preStyleProps: e, + postStyleProps: o, + duration: a, + delay: r, + totalTime: a + r, + easing: i, + subTimeline: l + } + ); + } + var i_ = (function() { + function t() { + this._map = new Map(); + } + return ( + (t.prototype.consume = function(t) { + var n = this._map.get(t); + return n ? this._map.delete(t) : (n = []), n; + }), + (t.prototype.append = function(t, n) { + var e = this._map.get(t); + e || this._map.set(t, (e = [])), + e.push.apply(e, Object(o.__spread)(n)); + }), + (t.prototype.has = function(t) { + return this._map.has(t); + }), + (t.prototype.clear = function() { + this._map.clear(); + }), + t + ); + })(), + l_ = new RegExp(":enter", "g"), + s_ = new RegExp(":leave", "g"); + function c_(t, n, e, o, a, r, i, l, s, c) { + return ( + void 0 === r && (r = {}), + void 0 === i && (i = {}), + void 0 === c && (c = []), + new u_().buildKeyframes(t, n, e, o, a, r, i, l, s, c) + ); + } + var u_ = (function() { + function t() {} + return ( + (t.prototype.buildKeyframes = function( + t, + n, + e, + o, + a, + r, + i, + l, + s, + c + ) { + void 0 === c && (c = []), (s = s || new i_()); + var u = new p_(t, n, s, o, a, c, []); + (u.options = l), + u.currentTimeline.setStyles([r], null, u.errors, l), + Yb(this, e, u); + var d = u.timelines.filter(function(t) { + return t.containsAnimation(); + }); + if (d.length && Object.keys(i).length) { + var p = d[d.length - 1]; + p.allowOnlyTimelineStyles() || + p.setStyles([i], null, u.errors, l); + } + return d.length + ? d.map(function(t) { + return t.buildKeyframes(); + }) + : [r_(n, [], [], [], 0, 0, "", !1)]; + }), + (t.prototype.visitTrigger = function(t, n) {}), + (t.prototype.visitState = function(t, n) {}), + (t.prototype.visitTransition = function(t, n) {}), + (t.prototype.visitAnimateChild = function(t, n) { + var e = n.subInstructions.consume(n.element); + if (e) { + var o = n.createSubContext(t.options), + a = n.currentTimeline.currentTime, + r = this._visitSubInstructions(e, o, o.options); + a != r && n.transformIntoNewTimeline(r); + } + n.previousNode = t; + }), + (t.prototype.visitAnimateRef = function(t, n) { + var e = n.createSubContext(t.options); + e.transformIntoNewTimeline(), + this.visitReference(t.animation, e), + n.transformIntoNewTimeline(e.currentTimeline.currentTime), + (n.previousNode = t); + }), + (t.prototype._visitSubInstructions = function(t, n, e) { + var o = n.currentTimeline.currentTime, + a = null != e.duration ? Sb(e.duration) : null, + r = null != e.delay ? Sb(e.delay) : null; + return ( + 0 !== a && + t.forEach(function(t) { + var e = n.appendInstructionToTimeline(t, a, r); + o = Math.max(o, e.duration + e.delay); + }), + o + ); + }), + (t.prototype.visitReference = function(t, n) { + n.updateOptions(t.options, !0), + Yb(this, t.animation, n), + (n.previousNode = t); + }), + (t.prototype.visitSequence = function(t, n) { + var e = this, + o = n.subContextCount, + a = n, + r = t.options; + if ( + r && + (r.params || r.delay) && + ((a = n.createSubContext(r)).transformIntoNewTimeline(), + null != r.delay) + ) { + 6 == a.previousNode.type && + (a.currentTimeline.snapshotCurrentStyles(), + (a.previousNode = d_)); + var i = Sb(r.delay); + a.delayNextStep(i); + } + t.steps.length && + (t.steps.forEach(function(t) { + return Yb(e, t, a); + }), + a.currentTimeline.applyStylesToKeyframe(), + a.subContextCount > o && a.transformIntoNewTimeline()), + (n.previousNode = t); + }), + (t.prototype.visitGroup = function(t, n) { + var e = this, + o = [], + a = n.currentTimeline.currentTime, + r = t.options && t.options.delay ? Sb(t.options.delay) : 0; + t.steps.forEach(function(i) { + var l = n.createSubContext(t.options); + r && l.delayNextStep(r), + Yb(e, i, l), + (a = Math.max(a, l.currentTimeline.currentTime)), + o.push(l.currentTimeline); + }), + o.forEach(function(t) { + return n.currentTimeline.mergeTimelineCollectedStyles(t); + }), + n.transformIntoNewTimeline(a), + (n.previousNode = t); + }), + (t.prototype._visitTiming = function(t, n) { + if (t.dynamic) { + var e = t.strValue; + return Ib(n.params ? Bb(e, n.params, n.errors) : e, n.errors); + } + return { duration: t.duration, delay: t.delay, easing: t.easing }; + }), + (t.prototype.visitAnimate = function(t, n) { + var e = (n.currentAnimateTimings = this._visitTiming( + t.timings, + n + )), + o = n.currentTimeline; + e.delay && (n.incrementTime(e.delay), o.snapshotCurrentStyles()); + var a = t.style; + 5 == a.type + ? this.visitKeyframes(a, n) + : (n.incrementTime(e.duration), + this.visitStyle(a, n), + o.applyStylesToKeyframe()), + (n.currentAnimateTimings = null), + (n.previousNode = t); + }), + (t.prototype.visitStyle = function(t, n) { + var e = n.currentTimeline, + o = n.currentAnimateTimings; + !o && e.getCurrentStyleProperties().length && e.forwardFrame(); + var a = (o && o.easing) || t.easing; + t.isEmptyStep + ? e.applyEmptyStep(a) + : e.setStyles(t.styles, a, n.errors, n.options), + (n.previousNode = t); + }), + (t.prototype.visitKeyframes = function(t, n) { + var e = n.currentAnimateTimings, + o = n.currentTimeline.duration, + a = e.duration, + r = n.createSubContext().currentTimeline; + (r.easing = e.easing), + t.styles.forEach(function(t) { + r.forwardTime((t.offset || 0) * a), + r.setStyles(t.styles, t.easing, n.errors, n.options), + r.applyStylesToKeyframe(); + }), + n.currentTimeline.mergeTimelineCollectedStyles(r), + n.transformIntoNewTimeline(o + a), + (n.previousNode = t); + }), + (t.prototype.visitQuery = function(t, n) { + var e = this, + o = n.currentTimeline.currentTime, + a = t.options || {}, + r = a.delay ? Sb(a.delay) : 0; + r && + (6 === n.previousNode.type || + (0 == o && + n.currentTimeline.getCurrentStyleProperties().length)) && + (n.currentTimeline.snapshotCurrentStyles(), + (n.previousNode = d_)); + var i = o, + l = n.invokeQuery( + t.selector, + t.originalSelector, + t.limit, + t.includeSelf, + !!a.optional, + n.errors + ); + n.currentQueryTotal = l.length; + var s = null; + l.forEach(function(o, a) { + n.currentQueryIndex = a; + var l = n.createSubContext(t.options, o); + r && l.delayNextStep(r), + o === n.element && (s = l.currentTimeline), + Yb(e, t.animation, l), + l.currentTimeline.applyStylesToKeyframe(), + (i = Math.max(i, l.currentTimeline.currentTime)); + }), + (n.currentQueryIndex = 0), + (n.currentQueryTotal = 0), + n.transformIntoNewTimeline(i), + s && + (n.currentTimeline.mergeTimelineCollectedStyles(s), + n.currentTimeline.snapshotCurrentStyles()), + (n.previousNode = t); + }), + (t.prototype.visitStagger = function(t, n) { + var e = n.parentContext, + o = n.currentTimeline, + a = t.timings, + r = Math.abs(a.duration), + i = r * (n.currentQueryTotal - 1), + l = r * n.currentQueryIndex; + switch (a.duration < 0 ? "reverse" : a.easing) { + case "reverse": + l = i - l; + break; + case "full": + l = e.currentStaggerTime; + } + var s = n.currentTimeline; + l && s.delayNextStep(l); + var c = s.currentTime; + Yb(this, t.animation, n), + (n.previousNode = t), + (e.currentStaggerTime = + o.currentTime - + c + + (o.startTime - e.currentTimeline.startTime)); + }), + t + ); + })(), + d_ = {}, + p_ = (function() { + function t(t, n, e, o, a, r, i, l) { + (this._driver = t), + (this.element = n), + (this.subInstructions = e), + (this._enterClassName = o), + (this._leaveClassName = a), + (this.errors = r), + (this.timelines = i), + (this.parentContext = null), + (this.currentAnimateTimings = null), + (this.previousNode = d_), + (this.subContextCount = 0), + (this.options = {}), + (this.currentQueryIndex = 0), + (this.currentQueryTotal = 0), + (this.currentStaggerTime = 0), + (this.currentTimeline = l || new m_(this._driver, n, 0)), + i.push(this.currentTimeline); + } + return ( + Object.defineProperty(t.prototype, "params", { + get: function() { + return this.options.params; + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.updateOptions = function(t, n) { + var e = this; + if (t) { + var o = t, + a = this.options; + null != o.duration && (a.duration = Sb(o.duration)), + null != o.delay && (a.delay = Sb(o.delay)); + var r = o.params; + if (r) { + var i = a.params; + i || (i = this.options.params = {}), + Object.keys(r).forEach(function(t) { + (n && i.hasOwnProperty(t)) || + (i[t] = Bb(r[t], i, e.errors)); + }); + } + } + }), + (t.prototype._copyOptions = function() { + var t = {}; + if (this.options) { + var n = this.options.params; + if (n) { + var e = (t.params = {}); + Object.keys(n).forEach(function(t) { + e[t] = n[t]; + }); + } + } + return t; + }), + (t.prototype.createSubContext = function(n, e, o) { + void 0 === n && (n = null); + var a = e || this.element, + r = new t( + this._driver, + a, + this.subInstructions, + this._enterClassName, + this._leaveClassName, + this.errors, + this.timelines, + this.currentTimeline.fork(a, o || 0) + ); + return ( + (r.previousNode = this.previousNode), + (r.currentAnimateTimings = this.currentAnimateTimings), + (r.options = this._copyOptions()), + r.updateOptions(n), + (r.currentQueryIndex = this.currentQueryIndex), + (r.currentQueryTotal = this.currentQueryTotal), + (r.parentContext = this), + this.subContextCount++, + r + ); + }), + (t.prototype.transformIntoNewTimeline = function(t) { + return ( + (this.previousNode = d_), + (this.currentTimeline = this.currentTimeline.fork( + this.element, + t + )), + this.timelines.push(this.currentTimeline), + this.currentTimeline + ); + }), + (t.prototype.appendInstructionToTimeline = function(t, n, e) { + var o = { + duration: null != n ? n : t.duration, + delay: + this.currentTimeline.currentTime + + (null != e ? e : 0) + + t.delay, + easing: "" + }, + a = new g_( + this._driver, + t.element, + t.keyframes, + t.preStyleProps, + t.postStyleProps, + o, + t.stretchStartingKeyframe + ); + return this.timelines.push(a), o; + }), + (t.prototype.incrementTime = function(t) { + this.currentTimeline.forwardTime( + this.currentTimeline.duration + t + ); + }), + (t.prototype.delayNextStep = function(t) { + t > 0 && this.currentTimeline.delayNextStep(t); + }), + (t.prototype.invokeQuery = function(t, n, e, a, r, i) { + var l = []; + if ((a && l.push(this.element), t.length > 0)) { + t = (t = t.replace(l_, "." + this._enterClassName)).replace( + s_, + "." + this._leaveClassName + ); + var s = this._driver.query(this.element, t, 1 != e); + 0 !== e && + (s = e < 0 ? s.slice(s.length + e, s.length) : s.slice(0, e)), + l.push.apply(l, Object(o.__spread)(s)); + } + return ( + r || + 0 != l.length || + i.push( + '`query("' + + n + + '")` returned zero elements. (Use `query("' + + n + + '", { optional: true })` if you wish to allow this.)' + ), + l + ); + }), + t + ); + })(), + m_ = (function() { + function t(t, n, e, o) { + (this._driver = t), + (this.element = n), + (this.startTime = e), + (this._elementTimelineStylesLookup = o), + (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 ( + (t.prototype.containsAnimation = function() { + switch (this._keyframes.size) { + case 0: + return !1; + case 1: + return this.getCurrentStyleProperties().length > 0; + default: + return !0; + } + }), + (t.prototype.getCurrentStyleProperties = function() { + return Object.keys(this._currentKeyframe); + }), + Object.defineProperty(t.prototype, "currentTime", { + get: function() { + return this.startTime + this.duration; + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.delayNextStep = function(t) { + var n = + 1 == this._keyframes.size && + Object.keys(this._pendingStyles).length; + this.duration || n + ? (this.forwardTime(this.currentTime + t), + n && this.snapshotCurrentStyles()) + : (this.startTime += t); + }), + (t.prototype.fork = function(n, e) { + return ( + this.applyStylesToKeyframe(), + new t( + this._driver, + n, + e || this.currentTime, + this._elementTimelineStylesLookup + ) + ); + }), + (t.prototype._loadKeyframe = 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)); + }), + (t.prototype.forwardFrame = function() { + (this.duration += 1), this._loadKeyframe(); + }), + (t.prototype.forwardTime = function(t) { + this.applyStylesToKeyframe(), + (this.duration = t), + this._loadKeyframe(); + }), + (t.prototype._updateStyle = function(t, n) { + (this._localTimelineStyles[t] = n), + (this._globalTimelineStyles[t] = n), + (this._styleSummary[t] = { time: this.currentTime, value: n }); + }), + (t.prototype.allowOnlyTimelineStyles = function() { + return this._currentEmptyStepKeyframe !== this._currentKeyframe; + }), + (t.prototype.applyEmptyStep = function(t) { + var n = this; + t && (this._previousKeyframe.easing = t), + Object.keys(this._globalTimelineStyles).forEach(function(t) { + (n._backFill[t] = n._globalTimelineStyles[t] || $h), + (n._currentKeyframe[t] = $h); + }), + (this._currentEmptyStepKeyframe = this._currentKeyframe); + }), + (t.prototype.setStyles = function(t, n, e, o) { + var a = this; + n && (this._previousKeyframe.easing = n); + var r = (o && o.params) || {}, + i = (function(t, n) { + var e, + o = {}; + return ( + t.forEach(function(t) { + "*" === t + ? (e = e || Object.keys(n)).forEach(function(t) { + o[t] = $h; + }) + : Tb(t, !1, o); + }), + o + ); + })(t, this._globalTimelineStyles); + Object.keys(i).forEach(function(t) { + var n = Bb(i[t], r, e); + (a._pendingStyles[t] = n), + a._localTimelineStyles.hasOwnProperty(t) || + (a._backFill[t] = a._globalTimelineStyles.hasOwnProperty(t) + ? a._globalTimelineStyles[t] + : $h), + a._updateStyle(t, n); + }); + }), + (t.prototype.applyStylesToKeyframe = function() { + var t = this, + n = this._pendingStyles, + e = Object.keys(n); + 0 != e.length && + ((this._pendingStyles = {}), + e.forEach(function(e) { + t._currentKeyframe[e] = n[e]; + }), + Object.keys(this._localTimelineStyles).forEach(function(n) { + t._currentKeyframe.hasOwnProperty(n) || + (t._currentKeyframe[n] = t._localTimelineStyles[n]); + })); + }), + (t.prototype.snapshotCurrentStyles = function() { + var t = this; + Object.keys(this._localTimelineStyles).forEach(function(n) { + var e = t._localTimelineStyles[n]; + (t._pendingStyles[n] = e), t._updateStyle(n, e); + }); + }), + (t.prototype.getFinalKeyframe = function() { + return this._keyframes.get(this.duration); + }), + Object.defineProperty(t.prototype, "properties", { + get: function() { + var t = []; + for (var n in this._currentKeyframe) t.push(n); + return t; + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.mergeTimelineCollectedStyles = function(t) { + var n = this; + Object.keys(t._styleSummary).forEach(function(e) { + var o = n._styleSummary[e], + a = t._styleSummary[e]; + (!o || a.time > o.time) && n._updateStyle(e, a.value); + }); + }), + (t.prototype.buildKeyframes = function() { + var t = this; + this.applyStylesToKeyframe(); + var n = new Set(), + e = new Set(), + o = 1 === this._keyframes.size && 0 === this.duration, + a = []; + this._keyframes.forEach(function(r, i) { + var l = Tb(r, !0); + Object.keys(l).forEach(function(t) { + var o = l[t]; + o == rb ? n.add(t) : o == $h && e.add(t); + }), + o || (l.offset = i / t.duration), + a.push(l); + }); + var r = n.size ? Vb(n.values()) : [], + i = e.size ? Vb(e.values()) : []; + if (o) { + var l = a[0], + s = Ab(l); + (l.offset = 0), (s.offset = 1), (a = [l, s]); + } + return r_( + this.element, + a, + r, + i, + this.duration, + this.startTime, + this.easing, + !1 + ); + }), + t + ); + })(), + g_ = (function(t) { + function n(n, e, o, a, r, i, l) { + void 0 === l && (l = !1); + var s = t.call(this, n, e, i.delay) || this; + return ( + (s.element = e), + (s.keyframes = o), + (s.preStyleProps = a), + (s.postStyleProps = r), + (s._stretchStartingKeyframe = l), + (s.timings = { + duration: i.duration, + delay: i.delay, + easing: i.easing + }), + s + ); + } + return ( + Object(o.__extends)(n, t), + (n.prototype.containsAnimation = function() { + return this.keyframes.length > 1; + }), + (n.prototype.buildKeyframes = function() { + var t = this.keyframes, + n = this.timings, + e = n.delay, + o = n.duration, + a = n.easing; + if (this._stretchStartingKeyframe && e) { + var r = [], + i = o + e, + l = e / i, + s = Tb(t[0], !1); + (s.offset = 0), r.push(s); + var c = Tb(t[0], !1); + (c.offset = f_(l)), r.push(c); + for (var u = t.length - 1, d = 1; d <= u; d++) { + var p = Tb(t[d], !1); + (p.offset = f_((e + p.offset * o) / i)), r.push(p); + } + (o = i), (e = 0), (a = ""), (t = r); + } + return r_( + this.element, + t, + this.preStyleProps, + this.postStyleProps, + o, + e, + a, + !0 + ); + }), + n + ); + })(m_); + function f_(t, n) { + void 0 === n && (n = 3); + var e = Math.pow(10, n - 1); + return Math.round(t * e) / e; + } + var h_ = (function() { + return function() {}; + })(), + b_ = (function(t) { + function n() { + return (null !== t && t.apply(this, arguments)) || this; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.normalizePropertyName = function(t, n) { + return Ub(t); + }), + (n.prototype.normalizeStyleValue = function(t, n, e, o) { + var a = "", + r = e.toString().trim(); + if (__[n] && 0 !== e && "0" !== e) + if ("number" == typeof e) a = "px"; + else { + var i = e.match(/^[+-]?[\d\.]+([a-z]*)$/); + i && + 0 == i[1].length && + o.push( + "Please provide a CSS unit value for " + t + ":" + e + ); + } + return r + a; + }), + n + ); + })(h_), + __ = (function() { + return ( + (t = "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( + "," + )), + (n = {}), + t.forEach(function(t) { + return (n[t] = !0); + }), + n + ); + var t, n; + })(); + function y_(t, n, e, o, a, r, i, l, s, c, u, d, p) { + return { + type: 0, + element: t, + triggerName: n, + isRemovalTransition: a, + fromState: e, + fromStyles: r, + toState: o, + toStyles: i, + timelines: l, + queriedElements: s, + preStyleProps: c, + postStyleProps: u, + totalTime: d, + errors: p + }; + } + var C_ = {}, + v_ = (function() { + function t(t, n, e) { + (this._triggerName = t), (this.ast = n), (this._stateStyles = e); + } + return ( + (t.prototype.match = function(t, n, e, o) { + return (function(t, n, e, o, a) { + return t.some(function(t) { + return t(n, e, o, a); + }); + })(this.ast.matchers, t, n, e, o); + }), + (t.prototype.buildStyles = function(t, n, e) { + var o = this._stateStyles["*"], + a = this._stateStyles[t], + r = o ? o.buildStyles(n, e) : {}; + return a ? a.buildStyles(n, e) : r; + }), + (t.prototype.build = function(t, n, e, a, r, i, l, s, c, u) { + var d = [], + p = (this.ast.options && this.ast.options.params) || C_, + m = this.buildStyles(e, (l && l.params) || C_, d), + g = (s && s.params) || C_, + f = this.buildStyles(a, g, d), + h = new Set(), + b = new Map(), + _ = new Map(), + y = "void" === a, + C = { params: Object(o.__assign)({}, p, g) }, + v = u ? [] : c_(t, n, this.ast.animation, r, i, m, f, C, c, d), + O = 0; + if ( + (v.forEach(function(t) { + O = Math.max(t.duration + t.delay, O); + }), + d.length) + ) + return y_( + n, + this._triggerName, + e, + a, + y, + m, + f, + [], + [], + b, + _, + O, + d + ); + v.forEach(function(t) { + var e = t.element, + o = pb(b, e, {}); + t.preStyleProps.forEach(function(t) { + return (o[t] = !0); + }); + var a = pb(_, e, {}); + t.postStyleProps.forEach(function(t) { + return (a[t] = !0); + }), + e !== n && h.add(e); + }); + var P = Vb(h.values()); + return y_(n, this._triggerName, e, a, y, m, f, v, P, b, _, O); + }), + t + ); + })(), + O_ = (function() { + function t(t, n) { + (this.styles = t), (this.defaultParams = n); + } + return ( + (t.prototype.buildStyles = function(t, n) { + var e = {}, + o = Ab(this.defaultParams); + return ( + Object.keys(t).forEach(function(n) { + var e = t[n]; + null != e && (o[n] = e); + }), + this.styles.styles.forEach(function(t) { + if ("string" != typeof t) { + var a = t; + Object.keys(a).forEach(function(t) { + var r = a[t]; + r.length > 1 && (r = Bb(r, o, n)), (e[t] = r); + }); + } + }), + e + ); + }), + t + ); + })(), + P_ = (function() { + function t(t, n) { + var e = this; + (this.name = t), + (this.ast = n), + (this.transitionFactories = []), + (this.states = {}), + n.states.forEach(function(t) { + e.states[t.name] = new O_( + t.style, + (t.options && t.options.params) || {} + ); + }), + M_(this.states, "true", "1"), + M_(this.states, "false", "0"), + n.transitions.forEach(function(n) { + e.transitionFactories.push(new v_(t, n, e.states)); + }), + (this.fallbackTransition = new v_( + t, + { + type: 1, + animation: { type: 2, steps: [], options: null }, + matchers: [ + function(t, n) { + return !0; + } + ], + options: null, + queryCount: 0, + depCount: 0 + }, + this.states + )); + } + return ( + Object.defineProperty(t.prototype, "containsQueries", { + get: function() { + return this.ast.queryCount > 0; + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.matchTransition = function(t, n, e, o) { + return ( + this.transitionFactories.find(function(a) { + return a.match(t, n, e, o); + }) || null + ); + }), + (t.prototype.matchStyles = function(t, n, e) { + return this.fallbackTransition.buildStyles(t, n, e); + }), + t + ); + })(); + function M_(t, n, e) { + t.hasOwnProperty(n) + ? t.hasOwnProperty(e) || (t[e] = t[n]) + : t.hasOwnProperty(e) && (t[n] = t[e]); + } + var x_ = new i_(), + k_ = (function() { + function t(t, n, e) { + (this.bodyNode = t), + (this._driver = n), + (this._normalizer = e), + (this._animations = {}), + (this._playersById = {}), + (this.players = []); + } + return ( + (t.prototype.register = function(t, n) { + var e = [], + o = $b(this._driver, n, e); + if (e.length) + throw new Error( + "Unable to build the animation due to the following errors: " + + e.join("\n") + ); + this._animations[t] = o; + }), + (t.prototype._buildPlayer = function(t, n, e) { + var o = t.element, + a = sb(0, this._normalizer, 0, t.keyframes, n, e); + return this._driver.animate( + o, + a, + t.duration, + t.delay, + t.easing, + [], + !0 + ); + }), + (t.prototype.create = function(t, n, e) { + var o = this; + void 0 === e && (e = {}); + var a, + r = [], + i = this._animations[t], + l = new Map(); + if ( + (i + ? (a = c_( + this._driver, + n, + i, + "ng-enter", + "ng-leave", + {}, + {}, + e, + x_, + r + )).forEach(function(t) { + var n = pb(l, t.element, {}); + t.postStyleProps.forEach(function(t) { + return (n[t] = null); + }); + }) + : (r.push( + "The requested animation doesn't exist or has already been destroyed" + ), + (a = [])), + r.length) + ) + throw new Error( + "Unable to create the animation due to the following errors: " + + r.join("\n") + ); + l.forEach(function(t, n) { + Object.keys(t).forEach(function(e) { + t[e] = o._driver.computeStyle(n, e, $h); + }); + }); + var s = lb( + a.map(function(t) { + var n = l.get(t.element); + return o._buildPlayer(t, {}, n); + }) + ); + return ( + (this._playersById[t] = s), + s.onDestroy(function() { + return o.destroy(t); + }), + this.players.push(s), + s + ); + }), + (t.prototype.destroy = function(t) { + var n = this._getPlayer(t); + n.destroy(), delete this._playersById[t]; + var e = this.players.indexOf(n); + e >= 0 && this.players.splice(e, 1); + }), + (t.prototype._getPlayer = function(t) { + var n = this._playersById[t]; + if (!n) + throw new Error( + "Unable to find the timeline player referenced by " + t + ); + return n; + }), + (t.prototype.listen = function(t, n, e, o) { + var a = db(n, "", "", ""); + return cb(this._getPlayer(t), e, a, o), function() {}; + }), + (t.prototype.command = function(t, n, e, o) { + if ("register" != e) + if ("create" != e) { + var a = this._getPlayer(t); + switch (e) { + case "play": + a.play(); + break; + case "pause": + a.pause(); + break; + case "reset": + a.reset(); + break; + case "restart": + a.restart(); + break; + case "finish": + a.finish(); + break; + case "init": + a.init(); + break; + case "setPosition": + a.setPosition(parseFloat(o[0])); + break; + case "destroy": + this.destroy(t); + } + } else this.create(t, n, o[0] || {}); + else this.register(t, o[0]); + }), + t + ); + })(), + w_ = [], + S_ = { + namespaceId: "", + setForRemoval: !1, + setForMove: !1, + hasAnimation: !1, + removedBeforeQueried: !1 + }, + E_ = { + namespaceId: "", + setForMove: !1, + setForRemoval: !1, + hasAnimation: !1, + removedBeforeQueried: !0 + }, + I_ = "__ng_removed", + A_ = (function() { + function t(t, n) { + void 0 === n && (n = ""), (this.namespaceId = n); + var e = t && t.hasOwnProperty("value"); + if ( + ((this.value = (function(t) { + return null != t ? t : null; + })(e ? t.value : t)), + e) + ) { + var o = Ab(t); + delete o.value, (this.options = o); + } else this.options = {}; + this.options.params || (this.options.params = {}); + } + return ( + Object.defineProperty(t.prototype, "params", { + get: function() { + return this.options.params; + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.absorbOptions = function(t) { + var n = t.params; + if (n) { + var e = this.options.params; + Object.keys(n).forEach(function(t) { + null == e[t] && (e[t] = n[t]); + }); + } + }), + t + ); + })(), + T_ = new A_("void"), + R_ = (function() { + function t(t, n, e) { + (this.id = t), + (this.hostElement = n), + (this._engine = e), + (this.players = []), + (this._triggers = {}), + (this._queue = []), + (this._elementListeners = new Map()), + (this._hostClassName = "ng-tns-" + t), + V_(n, this._hostClassName); + } + return ( + (t.prototype.listen = function(t, n, e, o) { + var a, + r = this; + if (!this._triggers.hasOwnProperty(n)) + throw new Error( + 'Unable to listen on the animation trigger event "' + + e + + '" because the animation trigger "' + + n + + "\" doesn't exist!" + ); + if (null == e || 0 == e.length) + throw new Error( + 'Unable to listen on the animation trigger "' + + n + + '" because the provided event is undefined!' + ); + if ("start" != (a = e) && "done" != a) + throw new Error( + 'The provided animation trigger event "' + + e + + '" for the animation trigger "' + + n + + '" is not supported!' + ); + var i = pb(this._elementListeners, t, []), + l = { name: n, phase: e, callback: o }; + i.push(l); + var s = pb(this._engine.statesByElement, t, {}); + return ( + s.hasOwnProperty(n) || + (V_(t, "ng-trigger"), V_(t, "ng-trigger-" + n), (s[n] = T_)), + function() { + r._engine.afterFlush(function() { + var t = i.indexOf(l); + t >= 0 && i.splice(t, 1), r._triggers[n] || delete s[n]; + }); + } + ); + }), + (t.prototype.register = function(t, n) { + return !this._triggers[t] && ((this._triggers[t] = n), !0); + }), + (t.prototype._getTrigger = function(t) { + var n = this._triggers[t]; + if (!n) + throw new Error( + 'The provided animation trigger "' + + t + + '" has not been registered!' + ); + return n; + }), + (t.prototype.trigger = function(t, n, e, o) { + var a = this; + void 0 === o && (o = !0); + var r = this._getTrigger(n), + i = new N_(this.id, n, t), + l = this._engine.statesByElement.get(t); + l || + (V_(t, "ng-trigger"), + V_(t, "ng-trigger-" + n), + this._engine.statesByElement.set(t, (l = {}))); + var s = l[n], + c = new A_(e, this.id); + if ( + (!(e && e.hasOwnProperty("value")) && + s && + c.absorbOptions(s.options), + (l[n] = c), + s || (s = T_), + "void" === c.value || s.value !== c.value) + ) { + var u = pb(this._engine.playersByElement, t, []); + u.forEach(function(t) { + t.namespaceId == a.id && + t.triggerName == n && + t.queued && + t.destroy(); + }); + var d = r.matchTransition(s.value, c.value, t, c.params), + p = !1; + if (!d) { + if (!o) return; + (d = r.fallbackTransition), (p = !0); + } + return ( + this._engine.totalQueuedPlayers++, + this._queue.push({ + element: t, + triggerName: n, + transition: d, + fromState: s, + toState: c, + player: i, + isFallbackTransition: p + }), + p || + (V_(t, "ng-animate-queued"), + i.onStart(function() { + H_(t, "ng-animate-queued"); + })), + i.onDone(function() { + var n = a.players.indexOf(i); + n >= 0 && a.players.splice(n, 1); + var e = a._engine.playersByElement.get(t); + if (e) { + var o = e.indexOf(i); + o >= 0 && e.splice(o, 1); + } + }), + this.players.push(i), + u.push(i), + i + ); + } + if ( + !(function(t, n) { + var e = Object.keys(t), + o = Object.keys(n); + if (e.length != o.length) return !1; + for (var a = 0; a < e.length; a++) { + var r = e[a]; + if (!n.hasOwnProperty(r) || t[r] !== n[r]) return !1; + } + return !0; + })(s.params, c.params) + ) { + var m = [], + g = r.matchStyles(s.value, s.params, m), + f = r.matchStyles(c.value, c.params, m); + m.length + ? this._engine.reportError(m) + : this._engine.afterFlush(function() { + zb(t, g), Nb(t, f); + }); + } + }), + (t.prototype.deregister = function(t) { + var n = this; + delete this._triggers[t], + this._engine.statesByElement.forEach(function(n, e) { + delete n[t]; + }), + this._elementListeners.forEach(function(e, o) { + n._elementListeners.set( + o, + e.filter(function(n) { + return n.name != t; + }) + ); + }); + }), + (t.prototype.clearElementCache = function(t) { + this._engine.statesByElement.delete(t), + this._elementListeners.delete(t); + var n = this._engine.playersByElement.get(t); + n && + (n.forEach(function(t) { + return t.destroy(); + }), + this._engine.playersByElement.delete(t)); + }), + (t.prototype._signalRemovalForInnerTriggers = function(t, n, e) { + var o = this; + void 0 === e && (e = !1), + this._engine.driver + .query(t, ".ng-trigger", !0) + .forEach(function(t) { + if (!t[I_]) { + var e = o._engine.fetchNamespacesByElement(t); + e.size + ? e.forEach(function(e) { + return e.triggerLeaveAnimation(t, n, !1, !0); + }) + : o.clearElementCache(t); + } + }); + }), + (t.prototype.triggerLeaveAnimation = function(t, n, e, o) { + var a = this, + r = this._engine.statesByElement.get(t); + if (r) { + var i = []; + if ( + (Object.keys(r).forEach(function(n) { + if (a._triggers[n]) { + var e = a.trigger(t, n, "void", o); + e && i.push(e); + } + }), + i.length) + ) + return ( + this._engine.markElementAsRemoved(this.id, t, !0, n), + e && + lb(i).onDone(function() { + return a._engine.processLeaveNode(t); + }), + !0 + ); + } + return !1; + }), + (t.prototype.prepareLeaveAnimationListeners = function(t) { + var n = this, + e = this._elementListeners.get(t); + if (e) { + var o = new Set(); + e.forEach(function(e) { + var a = e.name; + if (!o.has(a)) { + o.add(a); + var r = n._triggers[a].fallbackTransition, + i = n._engine.statesByElement.get(t)[a] || T_, + l = new A_("void"), + s = new N_(n.id, a, t); + n._engine.totalQueuedPlayers++, + n._queue.push({ + element: t, + triggerName: a, + transition: r, + fromState: i, + toState: l, + player: s, + isFallbackTransition: !0 + }); + } + }); + } + }), + (t.prototype.removeNode = function(t, n) { + var e = this, + o = this._engine; + if ( + (t.childElementCount && + this._signalRemovalForInnerTriggers(t, n, !0), + !this.triggerLeaveAnimation(t, n, !0)) + ) { + var a = !1; + if (o.totalAnimations) { + var r = o.players.length + ? o.playersByQueriedElement.get(t) + : []; + if (r && r.length) a = !0; + else + for (var i = t; (i = i.parentNode); ) + if (o.statesByElement.get(i)) { + a = !0; + break; + } + } + this.prepareLeaveAnimationListeners(t), + a + ? o.markElementAsRemoved(this.id, t, !1, n) + : (o.afterFlush(function() { + return e.clearElementCache(t); + }), + o.destroyInnerAnimations(t), + o._onRemovalComplete(t, n)); + } + }), + (t.prototype.insertNode = function(t, n) { + V_(t, this._hostClassName); + }), + (t.prototype.drainQueuedTransitions = function(t) { + var n = this, + e = []; + return ( + this._queue.forEach(function(o) { + var a = o.player; + if (!a.destroyed) { + var r = o.element, + i = n._elementListeners.get(r); + i && + i.forEach(function(n) { + if (n.name == o.triggerName) { + var e = db( + r, + o.triggerName, + o.fromState.value, + o.toState.value + ); + (e._data = t), cb(o.player, n.phase, e, n.callback); + } + }), + a.markedForDestroy + ? n._engine.afterFlush(function() { + a.destroy(); + }) + : e.push(o); + } + }), + (this._queue = []), + e.sort(function(t, e) { + var o = t.transition.ast.depCount, + a = e.transition.ast.depCount; + return 0 == o || 0 == a + ? o - a + : n._engine.driver.containsElement(t.element, e.element) + ? 1 + : -1; + }) + ); + }), + (t.prototype.destroy = function(t) { + this.players.forEach(function(t) { + return t.destroy(); + }), + this._signalRemovalForInnerTriggers(this.hostElement, t); + }), + (t.prototype.elementContainsData = function(t) { + var n = !1; + return ( + this._elementListeners.has(t) && (n = !0), + !!this._queue.find(function(n) { + return n.element === t; + }) || n + ); + }), + t + ); + })(), + D_ = (function() { + function t(t, n, e) { + (this.bodyNode = t), + (this.driver = n), + (this._normalizer = e), + (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 = function(t, n) {}); + } + return ( + (t.prototype._onRemovalComplete = function(t, n) { + this.onRemovalComplete(t, n); + }), + Object.defineProperty(t.prototype, "queuedPlayers", { + get: function() { + var t = []; + return ( + this._namespaceList.forEach(function(n) { + n.players.forEach(function(n) { + n.queued && t.push(n); + }); + }), + t + ); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.createNamespace = function(t, n) { + var e = new R_(t, n, this); + return ( + n.parentNode + ? this._balanceNamespaceList(e, n) + : (this.newHostElements.set(n, e), + this.collectEnterElement(n)), + (this._namespaceLookup[t] = e) + ); + }), + (t.prototype._balanceNamespaceList = function(t, n) { + var e = this._namespaceList.length - 1; + if (e >= 0) { + for (var o = !1, a = e; a >= 0; a--) + if ( + this.driver.containsElement( + this._namespaceList[a].hostElement, + n + ) + ) { + this._namespaceList.splice(a + 1, 0, t), (o = !0); + break; + } + o || this._namespaceList.splice(0, 0, t); + } else this._namespaceList.push(t); + return this.namespacesByHostElement.set(n, t), t; + }), + (t.prototype.register = function(t, n) { + var e = this._namespaceLookup[t]; + return e || (e = this.createNamespace(t, n)), e; + }), + (t.prototype.registerTrigger = function(t, n, e) { + var o = this._namespaceLookup[t]; + o && o.register(n, e) && this.totalAnimations++; + }), + (t.prototype.destroy = function(t, n) { + var e = this; + if (t) { + var o = this._fetchNamespace(t); + this.afterFlush(function() { + e.namespacesByHostElement.delete(o.hostElement), + delete e._namespaceLookup[t]; + var n = e._namespaceList.indexOf(o); + n >= 0 && e._namespaceList.splice(n, 1); + }), + this.afterFlushAnimationsDone(function() { + return o.destroy(n); + }); + } + }), + (t.prototype._fetchNamespace = function(t) { + return this._namespaceLookup[t]; + }), + (t.prototype.fetchNamespacesByElement = function(t) { + var n = new Set(), + e = this.statesByElement.get(t); + if (e) + for (var o = Object.keys(e), a = 0; a < o.length; a++) { + var r = e[o[a]].namespaceId; + if (r) { + var i = this._fetchNamespace(r); + i && n.add(i); + } + } + return n; + }), + (t.prototype.trigger = function(t, n, e, o) { + if (z_(n)) { + var a = this._fetchNamespace(t); + if (a) return a.trigger(n, e, o), !0; + } + return !1; + }), + (t.prototype.insertNode = function(t, n, e, o) { + if (z_(n)) { + var a = n[I_]; + if (a && a.setForRemoval) { + (a.setForRemoval = !1), (a.setForMove = !0); + var r = this.collectedLeaveElements.indexOf(n); + r >= 0 && this.collectedLeaveElements.splice(r, 1); + } + if (t) { + var i = this._fetchNamespace(t); + i && i.insertNode(n, e); + } + o && this.collectEnterElement(n); + } + }), + (t.prototype.collectEnterElement = function(t) { + this.collectedEnterElements.push(t); + }), + (t.prototype.markElementAsDisabled = function(t, n) { + n + ? this.disabledNodes.has(t) || + (this.disabledNodes.add(t), V_(t, "ng-animate-disabled")) + : this.disabledNodes.has(t) && + (this.disabledNodes.delete(t), H_(t, "ng-animate-disabled")); + }), + (t.prototype.removeNode = function(t, n, e, o) { + if (z_(n)) { + var a = t ? this._fetchNamespace(t) : null; + if ( + (a + ? a.removeNode(n, o) + : this.markElementAsRemoved(t, n, !1, o), + e) + ) { + var r = this.namespacesByHostElement.get(n); + r && r.id !== t && r.removeNode(n, o); + } + } else this._onRemovalComplete(n, o); + }), + (t.prototype.markElementAsRemoved = function(t, n, e, o) { + this.collectedLeaveElements.push(n), + (n[I_] = { + namespaceId: t, + setForRemoval: o, + hasAnimation: e, + removedBeforeQueried: !1 + }); + }), + (t.prototype.listen = function(t, n, e, o, a) { + return z_(n) + ? this._fetchNamespace(t).listen(n, e, o, a) + : function() {}; + }), + (t.prototype._buildInstruction = function(t, n, e, o, a) { + return t.transition.build( + this.driver, + t.element, + t.fromState.value, + t.toState.value, + e, + o, + t.fromState.options, + t.toState.options, + n, + a + ); + }), + (t.prototype.destroyInnerAnimations = function(t) { + var n = this, + e = this.driver.query(t, ".ng-trigger", !0); + e.forEach(function(t) { + return n.destroyActiveAnimationsForElement(t); + }), + 0 != this.playersByQueriedElement.size && + (e = this.driver.query(t, ".ng-animating", !0)).forEach( + function(t) { + return n.finishActiveQueriedAnimationOnElement(t); + } + ); + }), + (t.prototype.destroyActiveAnimationsForElement = function(t) { + var n = this.playersByElement.get(t); + n && + n.forEach(function(t) { + t.queued ? (t.markedForDestroy = !0) : t.destroy(); + }); + }), + (t.prototype.finishActiveQueriedAnimationOnElement = function(t) { + var n = this.playersByQueriedElement.get(t); + n && + n.forEach(function(t) { + return t.finish(); + }); + }), + (t.prototype.whenRenderingDone = function() { + var t = this; + return new Promise(function(n) { + if (t.players.length) + return lb(t.players).onDone(function() { + return n(); + }); + n(); + }); + }), + (t.prototype.processLeaveNode = function(t) { + var n = this, + e = t[I_]; + if (e && e.setForRemoval) { + if (((t[I_] = S_), e.namespaceId)) { + this.destroyInnerAnimations(t); + var o = this._fetchNamespace(e.namespaceId); + o && o.clearElementCache(t); + } + this._onRemovalComplete(t, e.setForRemoval); + } + this.driver.matchesElement(t, ".ng-animate-disabled") && + this.markElementAsDisabled(t, !1), + this.driver + .query(t, ".ng-animate-disabled", !0) + .forEach(function(t) { + n.markElementAsDisabled(t, !1); + }); + }), + (t.prototype.flush = function(t) { + var n = this; + void 0 === t && (t = -1); + var e = []; + if ( + (this.newHostElements.size && + (this.newHostElements.forEach(function(t, e) { + return n._balanceNamespaceList(t, e); + }), + this.newHostElements.clear()), + this.totalAnimations && this.collectedEnterElements.length) + ) + for (var o = 0; o < this.collectedEnterElements.length; o++) + V_(this.collectedEnterElements[o], "ng-star-inserted"); + if ( + this._namespaceList.length && + (this.totalQueuedPlayers || this.collectedLeaveElements.length) + ) { + var a = []; + try { + e = this._flushAnimations(a, t); + } finally { + for (o = 0; o < a.length; o++) a[o](); + } + } else + for (o = 0; o < this.collectedLeaveElements.length; o++) + this.processLeaveNode(this.collectedLeaveElements[o]); + if ( + ((this.totalQueuedPlayers = 0), + (this.collectedEnterElements.length = 0), + (this.collectedLeaveElements.length = 0), + this._flushFns.forEach(function(t) { + return t(); + }), + (this._flushFns = []), + this._whenQuietFns.length) + ) { + var r = this._whenQuietFns; + (this._whenQuietFns = []), + e.length + ? lb(e).onDone(function() { + r.forEach(function(t) { + return t(); + }); + }) + : r.forEach(function(t) { + return t(); + }); + } + }), + (t.prototype.reportError = function(t) { + throw new Error( + "Unable to process animations due to the following failed trigger transitions\n " + + t.join("\n") + ); + }), + (t.prototype._flushAnimations = function(t, n) { + var e = this, + a = new i_(), + r = [], + i = new Map(), + l = [], + s = new Map(), + c = new Map(), + u = new Map(), + d = new Set(); + this.disabledNodes.forEach(function(t) { + d.add(t); + for ( + var n = e.driver.query(t, ".ng-animate-queued", !0), o = 0; + o < n.length; + o++ + ) + d.add(n[o]); + }); + var p = this.bodyNode, + m = Array.from(this.statesByElement.keys()), + g = F_(m, this.collectedEnterElements), + f = new Map(), + h = 0; + g.forEach(function(t, n) { + var e = "ng-enter" + h++; + f.set(n, e), + t.forEach(function(t) { + return V_(t, e); + }); + }); + for ( + var b = [], _ = new Set(), y = new Set(), C = 0; + C < this.collectedLeaveElements.length; + C++ + ) + (L = (z = this.collectedLeaveElements[C])[I_]) && + L.setForRemoval && + (b.push(z), + _.add(z), + L.hasAnimation + ? this.driver + .query(z, ".ng-star-inserted", !0) + .forEach(function(t) { + return _.add(t); + }) + : y.add(z)); + var v = new Map(), + O = F_(m, Array.from(_)); + O.forEach(function(t, n) { + var e = "ng-leave" + h++; + v.set(n, e), + t.forEach(function(t) { + return V_(t, e); + }); + }), + t.push(function() { + g.forEach(function(t, n) { + var e = f.get(n); + t.forEach(function(t) { + return H_(t, e); + }); + }), + O.forEach(function(t, n) { + var e = v.get(n); + t.forEach(function(t) { + return H_(t, e); + }); + }), + b.forEach(function(t) { + e.processLeaveNode(t); + }); + }); + for ( + var P = [], M = [], x = this._namespaceList.length - 1; + x >= 0; + x-- + ) + this._namespaceList[x] + .drainQueuedTransitions(n) + .forEach(function(t) { + var n = t.player, + o = t.element; + if ((P.push(n), e.collectedEnterElements.length)) { + var i = o[I_]; + if (i && i.setForMove) return void n.destroy(); + } + var d = !p || !e.driver.containsElement(p, o), + m = v.get(o), + g = f.get(o), + h = e._buildInstruction(t, a, g, m, d); + if (h.errors && h.errors.length) M.push(h); + else { + if (d) + return ( + n.onStart(function() { + return zb(o, h.fromStyles); + }), + n.onDestroy(function() { + return Nb(o, h.toStyles); + }), + void r.push(n) + ); + if (t.isFallbackTransition) + return ( + n.onStart(function() { + return zb(o, h.fromStyles); + }), + n.onDestroy(function() { + return Nb(o, h.toStyles); + }), + void r.push(n) + ); + h.timelines.forEach(function(t) { + return (t.stretchStartingKeyframe = !0); + }), + a.append(o, h.timelines), + l.push({ instruction: h, player: n, element: o }), + h.queriedElements.forEach(function(t) { + return pb(s, t, []).push(n); + }), + h.preStyleProps.forEach(function(t, n) { + var e = Object.keys(t); + if (e.length) { + var o = c.get(n); + o || c.set(n, (o = new Set())), + e.forEach(function(t) { + return o.add(t); + }); + } + }), + h.postStyleProps.forEach(function(t, n) { + var e = Object.keys(t), + o = u.get(n); + o || u.set(n, (o = new Set())), + e.forEach(function(t) { + return o.add(t); + }); + }); + } + }); + if (M.length) { + var k = []; + M.forEach(function(t) { + k.push("@" + t.triggerName + " has failed due to:\n"), + t.errors.forEach(function(t) { + return k.push("- " + t + "\n"); + }); + }), + P.forEach(function(t) { + return t.destroy(); + }), + this.reportError(k); + } + var w = new Map(), + S = new Map(); + l.forEach(function(t) { + var n = t.element; + a.has(n) && + (S.set(n, n), + e._beforeAnimationBuild( + t.player.namespaceId, + t.instruction, + w + )); + }), + r.forEach(function(t) { + var n = t.element; + e._getPreviousPlayers( + n, + !1, + t.namespaceId, + t.triggerName, + null + ).forEach(function(t) { + pb(w, n, []).push(t), t.destroy(); + }); + }); + var E = b.filter(function(t) { + return q_(t, c, u); + }), + I = new Map(); + j_(I, this.driver, y, u, $h).forEach(function(t) { + q_(t, c, u) && E.push(t); + }); + var A = new Map(); + g.forEach(function(t, n) { + j_(A, e.driver, new Set(t), c, rb); + }), + E.forEach(function(t) { + var n = I.get(t), + e = A.get(t); + I.set(t, Object(o.__assign)({}, n, e)); + }); + var T = [], + R = [], + D = {}; + l.forEach(function(t) { + var n = t.element, + o = t.player, + l = t.instruction; + if (a.has(n)) { + if (d.has(n)) + return ( + o.onDestroy(function() { + return Nb(n, l.toStyles); + }), + (o.disabled = !0), + o.overrideTotalTime(l.totalTime), + void r.push(o) + ); + var s = D; + if (S.size > 1) { + for (var c = n, u = []; (c = c.parentNode); ) { + var p = S.get(c); + if (p) { + s = p; + break; + } + u.push(c); + } + u.forEach(function(t) { + return S.set(t, s); + }); + } + var m = e._buildAnimation(o.namespaceId, l, w, i, A, I); + if ((o.setRealPlayer(m), s === D)) T.push(o); + else { + var g = e.playersByElement.get(s); + g && g.length && (o.parentPlayer = lb(g)), r.push(o); + } + } else + zb(n, l.fromStyles), + o.onDestroy(function() { + return Nb(n, l.toStyles); + }), + R.push(o), + d.has(n) && r.push(o); + }), + R.forEach(function(t) { + var n = i.get(t.element); + if (n && n.length) { + var e = lb(n); + t.setRealPlayer(e); + } + }), + r.forEach(function(t) { + t.parentPlayer + ? t.syncPlayerEvents(t.parentPlayer) + : t.destroy(); + }); + for (var N = 0; N < b.length; N++) { + var z, + L = (z = b[N])[I_]; + if ((H_(z, "ng-leave"), !L || !L.hasAnimation)) { + var j = []; + if (s.size) { + var F = s.get(z); + F && F.length && j.push.apply(j, Object(o.__spread)(F)); + for ( + var B = this.driver.query(z, ".ng-animating", !0), V = 0; + V < B.length; + V++ + ) { + var H = s.get(B[V]); + H && H.length && j.push.apply(j, Object(o.__spread)(H)); + } + } + var U = j.filter(function(t) { + return !t.destroyed; + }); + U.length ? U_(this, z, U) : this.processLeaveNode(z); + } + } + return ( + (b.length = 0), + T.forEach(function(t) { + e.players.push(t), + t.onDone(function() { + t.destroy(); + var n = e.players.indexOf(t); + e.players.splice(n, 1); + }), + t.play(); + }), + T + ); + }), + (t.prototype.elementContainsData = function(t, n) { + var e = !1, + o = n[I_]; + return ( + o && o.setForRemoval && (e = !0), + this.playersByElement.has(n) && (e = !0), + this.playersByQueriedElement.has(n) && (e = !0), + this.statesByElement.has(n) && (e = !0), + this._fetchNamespace(t).elementContainsData(n) || e + ); + }), + (t.prototype.afterFlush = function(t) { + this._flushFns.push(t); + }), + (t.prototype.afterFlushAnimationsDone = function(t) { + this._whenQuietFns.push(t); + }), + (t.prototype._getPreviousPlayers = function(t, n, e, o, a) { + var r = []; + if (n) { + var i = this.playersByQueriedElement.get(t); + i && (r = i); + } else { + var l = this.playersByElement.get(t); + if (l) { + var s = !a || "void" == a; + l.forEach(function(t) { + t.queued || ((s || t.triggerName == o) && r.push(t)); + }); + } + } + return ( + (e || o) && + (r = r.filter(function(t) { + return !( + (e && e != t.namespaceId) || + (o && o != t.triggerName) + ); + })), + r + ); + }), + (t.prototype._beforeAnimationBuild = function(t, n, e) { + var a, + r, + i = n.element, + l = n.isRemovalTransition ? void 0 : t, + s = n.isRemovalTransition ? void 0 : n.triggerName, + c = function(t) { + var o = t.element, + a = o !== i, + r = pb(e, o, []); + u._getPreviousPlayers(o, a, l, s, n.toState).forEach(function( + t + ) { + var n = t.getRealPlayer(); + n.beforeDestroy && n.beforeDestroy(), + t.destroy(), + r.push(t); + }); + }, + u = this; + try { + for ( + var d = Object(o.__values)(n.timelines), p = d.next(); + !p.done; + p = d.next() + ) + c(p.value); + } catch (m) { + a = { error: m }; + } finally { + try { + p && !p.done && (r = d.return) && r.call(d); + } finally { + if (a) throw a.error; + } + } + zb(i, n.fromStyles); + }), + (t.prototype._buildAnimation = function(t, n, e, o, a, r) { + var i = this, + l = n.triggerName, + s = n.element, + c = [], + u = new Set(), + d = new Set(), + p = n.timelines.map(function(n) { + var p = n.element; + u.add(p); + var m = p[I_]; + if (m && m.removedBeforeQueried) + return new ob(n.duration, n.delay); + var g, + f, + h = p !== s, + b = ((g = (e.get(p) || w_).map(function(t) { + return t.getRealPlayer(); + })), + (f = []), + (function t(n, e) { + for (var o = 0; o < n.length; o++) { + var a = n[o]; + a instanceof ab ? t(a.players, e) : e.push(a); + } + })(g, f), + f).filter(function(t) { + return !!t.element && t.element === p; + }), + _ = a.get(p), + y = r.get(p), + C = sb(0, i._normalizer, 0, n.keyframes, _, y), + v = i._buildPlayer(n, C, b); + if ((n.subTimeline && o && d.add(p), h)) { + var O = new N_(t, l, p); + O.setRealPlayer(v), c.push(O); + } + return v; + }); + c.forEach(function(t) { + pb(i.playersByQueriedElement, t.element, []).push(t), + t.onDone(function() { + return (function(t, n, e) { + var o; + if (t instanceof Map) { + if ((o = t.get(n))) { + if (o.length) { + var a = o.indexOf(e); + o.splice(a, 1); + } + 0 == o.length && t.delete(n); + } + } else (o = t[n]) && (o.length && ((a = o.indexOf(e)), o.splice(a, 1)), 0 == o.length && delete t[n]); + return o; + })(i.playersByQueriedElement, t.element, t); + }); + }), + u.forEach(function(t) { + return V_(t, "ng-animating"); + }); + var m = lb(p); + return ( + m.onDestroy(function() { + u.forEach(function(t) { + return H_(t, "ng-animating"); + }), + Nb(s, n.toStyles); + }), + d.forEach(function(t) { + pb(o, t, []).push(m); + }), + m + ); + }), + (t.prototype._buildPlayer = function(t, n, e) { + return n.length > 0 + ? this.driver.animate( + t.element, + n, + t.duration, + t.delay, + t.easing, + e + ) + : new ob(t.duration, t.delay); + }), + t + ); + })(), + N_ = (function() { + function t(t, n, e) { + (this.namespaceId = t), + (this.triggerName = n), + (this.element = e), + (this._player = new ob()), + (this._containsRealPlayer = !1), + (this._queuedCallbacks = {}), + (this.destroyed = !1), + (this.markedForDestroy = !1), + (this.disabled = !1), + (this.queued = !0), + (this.totalTime = 0); + } + return ( + (t.prototype.setRealPlayer = function(t) { + var n = this; + this._containsRealPlayer || + ((this._player = t), + Object.keys(this._queuedCallbacks).forEach(function(e) { + n._queuedCallbacks[e].forEach(function(n) { + return cb(t, e, void 0, n); + }); + }), + (this._queuedCallbacks = {}), + (this._containsRealPlayer = !0), + this.overrideTotalTime(t.totalTime), + (this.queued = !1)); + }), + (t.prototype.getRealPlayer = function() { + return this._player; + }), + (t.prototype.overrideTotalTime = function(t) { + this.totalTime = t; + }), + (t.prototype.syncPlayerEvents = function(t) { + var n = this, + e = this._player; + e.triggerCallback && + t.onStart(function() { + return e.triggerCallback("start"); + }), + t.onDone(function() { + return n.finish(); + }), + t.onDestroy(function() { + return n.destroy(); + }); + }), + (t.prototype._queueEvent = function(t, n) { + pb(this._queuedCallbacks, t, []).push(n); + }), + (t.prototype.onDone = function(t) { + this.queued && this._queueEvent("done", t), + this._player.onDone(t); + }), + (t.prototype.onStart = function(t) { + this.queued && this._queueEvent("start", t), + this._player.onStart(t); + }), + (t.prototype.onDestroy = function(t) { + this.queued && this._queueEvent("destroy", t), + this._player.onDestroy(t); + }), + (t.prototype.init = function() { + this._player.init(); + }), + (t.prototype.hasStarted = function() { + return !this.queued && this._player.hasStarted(); + }), + (t.prototype.play = function() { + !this.queued && this._player.play(); + }), + (t.prototype.pause = function() { + !this.queued && this._player.pause(); + }), + (t.prototype.restart = function() { + !this.queued && this._player.restart(); + }), + (t.prototype.finish = function() { + this._player.finish(); + }), + (t.prototype.destroy = function() { + (this.destroyed = !0), this._player.destroy(); + }), + (t.prototype.reset = function() { + !this.queued && this._player.reset(); + }), + (t.prototype.setPosition = function(t) { + this.queued || this._player.setPosition(t); + }), + (t.prototype.getPosition = function() { + return this.queued ? 0 : this._player.getPosition(); + }), + (t.prototype.triggerCallback = function(t) { + var n = this._player; + n.triggerCallback && n.triggerCallback(t); + }), + t + ); + })(); + function z_(t) { + return t && 1 === t.nodeType; + } + function L_(t, n) { + var e = t.style.display; + return (t.style.display = null != n ? n : "none"), e; + } + function j_(t, n, e, o, a) { + var r = []; + e.forEach(function(t) { + return r.push(L_(t)); + }); + var i = []; + o.forEach(function(e, o) { + var r = {}; + e.forEach(function(t) { + var e = (r[t] = n.computeStyle(o, t, a)); + (e && 0 != e.length) || ((o[I_] = E_), i.push(o)); + }), + t.set(o, r); + }); + var l = 0; + return ( + e.forEach(function(t) { + return L_(t, r[l++]); + }), + i + ); + } + function F_(t, n) { + var e = new Map(); + if ( + (t.forEach(function(t) { + return e.set(t, []); + }), + 0 == n.length) + ) + return e; + var o = new Set(n), + a = new Map(); + return ( + n.forEach(function(t) { + var n = (function t(n) { + if (!n) return 1; + var r = a.get(n); + if (r) return r; + var i = n.parentNode; + return (r = e.has(i) ? i : o.has(i) ? 1 : t(i)), a.set(n, r), r; + })(t); + 1 !== n && e.get(n).push(t); + }), + e + ); + } + var B_ = "$$classes"; + function V_(t, n) { + if (t.classList) t.classList.add(n); + else { + var e = t[B_]; + e || (e = t[B_] = {}), (e[n] = !0); + } + } + function H_(t, n) { + if (t.classList) t.classList.remove(n); + else { + var e = t[B_]; + e && delete e[n]; + } + } + function U_(t, n, e) { + lb(e).onDone(function() { + return t.processLeaveNode(n); + }); + } + function q_(t, n, e) { + var o = e.get(t); + if (!o) return !1; + var a = n.get(t); + return ( + a + ? o.forEach(function(t) { + return a.add(t); + }) + : n.set(t, o), + e.delete(t), + !0 + ); + } + var K_ = (function() { + function t(t, n, e) { + var o = this; + (this.bodyNode = t), + (this._driver = n), + (this._triggerCache = {}), + (this.onRemovalComplete = function(t, n) {}), + (this._transitionEngine = new D_(t, n, e)), + (this._timelineEngine = new k_(t, n, e)), + (this._transitionEngine.onRemovalComplete = function(t, n) { + return o.onRemovalComplete(t, n); + }); + } + return ( + (t.prototype.registerTrigger = function(t, n, e, o, a) { + var r = t + "-" + o, + i = this._triggerCache[r]; + if (!i) { + var l = [], + s = $b(this._driver, a, l); + if (l.length) + throw new Error( + 'The animation trigger "' + + o + + '" has failed to build due to the following errors:\n - ' + + l.join("\n - ") + ); + (i = (function(t, n) { + return new P_(t, n); + })(o, s)), + (this._triggerCache[r] = i); + } + this._transitionEngine.registerTrigger(n, o, i); + }), + (t.prototype.register = function(t, n) { + this._transitionEngine.register(t, n); + }), + (t.prototype.destroy = function(t, n) { + this._transitionEngine.destroy(t, n); + }), + (t.prototype.onInsert = function(t, n, e, o) { + this._transitionEngine.insertNode(t, n, e, o); + }), + (t.prototype.onRemove = function(t, n, e, o) { + this._transitionEngine.removeNode(t, n, o || !1, e); + }), + (t.prototype.disableAnimations = function(t, n) { + this._transitionEngine.markElementAsDisabled(t, n); + }), + (t.prototype.process = function(t, n, e, a) { + if ("@" == e.charAt(0)) { + var r = Object(o.__read)(mb(e), 2); + this._timelineEngine.command(r[0], n, r[1], a); + } else this._transitionEngine.trigger(t, n, e, a); + }), + (t.prototype.listen = function(t, n, e, a, r) { + if ("@" == e.charAt(0)) { + var i = Object(o.__read)(mb(e), 2); + return this._timelineEngine.listen(i[0], n, i[1], r); + } + return this._transitionEngine.listen(t, n, e, a, r); + }), + (t.prototype.flush = function(t) { + void 0 === t && (t = -1), this._transitionEngine.flush(t); + }), + Object.defineProperty(t.prototype, "players", { + get: function() { + return this._transitionEngine.players.concat( + this._timelineEngine.players + ); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.whenRenderingDone = function() { + return this._transitionEngine.whenRenderingDone(); + }), + t + ); + })(); + function Y_(t, n) { + var e = null, + o = null; + return ( + Array.isArray(n) && n.length + ? ((e = G_(n[0])), n.length > 1 && (o = G_(n[n.length - 1]))) + : n && (e = G_(n)), + e || o ? new W_(t, e, o) : null + ); + } + var W_ = (function() { + function t(n, e, o) { + (this._element = n), + (this._startStyles = e), + (this._endStyles = o), + (this._state = 0); + var a = t.initialStylesByElement.get(n); + a || t.initialStylesByElement.set(n, (a = {})), + (this._initialStyles = a); + } + return ( + (t.prototype.start = function() { + this._state < 1 && + (this._startStyles && + Nb(this._element, this._startStyles, this._initialStyles), + (this._state = 1)); + }), + (t.prototype.finish = function() { + this.start(), + this._state < 2 && + (Nb(this._element, this._initialStyles), + this._endStyles && + (Nb(this._element, this._endStyles), + (this._endStyles = null)), + (this._state = 1)); + }), + (t.prototype.destroy = function() { + this.finish(), + this._state < 3 && + (t.initialStylesByElement.delete(this._element), + this._startStyles && + (zb(this._element, this._startStyles), + (this._endStyles = null)), + this._endStyles && + (zb(this._element, this._endStyles), + (this._endStyles = null)), + Nb(this._element, this._initialStyles), + (this._state = 3)); + }), + (t.initialStylesByElement = new WeakMap()), + t + ); + })(); + function G_(t) { + for (var n = null, e = Object.keys(t), o = 0; o < e.length; o++) { + var a = e[o]; + Z_(a) && ((n = n || {})[a] = t[a]); + } + return n; + } + function Z_(t) { + return "display" === t || "position" === t; + } + var Q_ = "animation", + X_ = "animationend", + J_ = (function() { + function t(t, n, e, o, a, r, i) { + var l = this; + (this._element = t), + (this._name = n), + (this._duration = e), + (this._delay = o), + (this._easing = a), + (this._fillMode = r), + (this._onDoneFn = i), + (this._finished = !1), + (this._destroyed = !1), + (this._startTime = 0), + (this._position = 0), + (this._eventFn = function(t) { + return l._handleCallback(t); + }); + } + return ( + (t.prototype.apply = function() { + var t, n, e; + (n = + this._duration + + "ms " + + this._easing + + " " + + this._delay + + "ms 1 normal " + + this._fillMode + + " " + + this._name), + (e = ay((t = this._element), "").trim()).length && + ((function(t, n) { + for (var e = 0; e < t.length; e++) "," === t.charAt(e) && 0; + })(e), + (n = e + ", " + n)), + oy(t, "", n), + ey(this._element, this._eventFn, !1), + (this._startTime = Date.now()); + }), + (t.prototype.pause = function() { + $_(this._element, this._name, "paused"); + }), + (t.prototype.resume = function() { + $_(this._element, this._name, "running"); + }), + (t.prototype.setPosition = function(t) { + var n = ty(this._element, this._name); + (this._position = t * this._duration), + oy(this._element, "Delay", "-" + this._position + "ms", n); + }), + (t.prototype.getPosition = function() { + return this._position; + }), + (t.prototype._handleCallback = function(t) { + var n = t._ngTestManualTimestamp || Date.now(), + e = 1e3 * parseFloat(t.elapsedTime.toFixed(3)); + t.animationName == this._name && + Math.max(n - this._startTime, 0) >= this._delay && + e >= this._duration && + this.finish(); + }), + (t.prototype.finish = function() { + this._finished || + ((this._finished = !0), + this._onDoneFn(), + ey(this._element, this._eventFn, !0)); + }), + (t.prototype.destroy = function() { + var t, n, e, o; + this._destroyed || + ((this._destroyed = !0), + this.finish(), + (n = this._name), + (o = ny((e = ay((t = this._element), "").split(",")), n)) >= + 0 && (e.splice(o, 1), oy(t, "", e.join(",")))); + }), + t + ); + })(); + function $_(t, n, e) { + oy(t, "PlayState", e, ty(t, n)); + } + function ty(t, n) { + var e = ay(t, ""); + return e.indexOf(",") > 0 ? ny(e.split(","), n) : ny([e], n); + } + function ny(t, n) { + for (var e = 0; e < t.length; e++) if (t[e].indexOf(n) >= 0) return e; + return -1; + } + function ey(t, n, e) { + e ? t.removeEventListener(X_, n) : t.addEventListener(X_, n); + } + function oy(t, n, e, o) { + var a = Q_ + n; + if (null != o) { + var r = t.style[a]; + if (r.length) { + var i = r.split(","); + (i[o] = e), (e = i.join(",")); + } + } + t.style[a] = e; + } + function ay(t, n) { + return t.style[Q_ + n]; + } + var ry = "linear", + iy = (function() { + function t(t, n, e, o, a, r, i, l) { + (this.element = t), + (this.keyframes = n), + (this.animationName = e), + (this._duration = o), + (this._delay = a), + (this._finalStyles = i), + (this._specialStyles = l), + (this._onDoneFns = []), + (this._onStartFns = []), + (this._onDestroyFns = []), + (this._started = !1), + (this.currentSnapshot = {}), + (this._state = 0), + (this.easing = r || ry), + (this.totalTime = o + a), + this._buildStyler(); + } + return ( + (t.prototype.onStart = function(t) { + this._onStartFns.push(t); + }), + (t.prototype.onDone = function(t) { + this._onDoneFns.push(t); + }), + (t.prototype.onDestroy = function(t) { + this._onDestroyFns.push(t); + }), + (t.prototype.destroy = 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 = [])); + }), + (t.prototype._flushDoneFns = function() { + this._onDoneFns.forEach(function(t) { + return t(); + }), + (this._onDoneFns = []); + }), + (t.prototype._flushStartFns = function() { + this._onStartFns.forEach(function(t) { + return t(); + }), + (this._onStartFns = []); + }), + (t.prototype.finish = function() { + this.init(), + this._state >= 3 || + ((this._state = 3), + this._styler.finish(), + this._flushStartFns(), + this._specialStyles && this._specialStyles.finish(), + this._flushDoneFns()); + }), + (t.prototype.setPosition = function(t) { + this._styler.setPosition(t); + }), + (t.prototype.getPosition = function() { + return this._styler.getPosition(); + }), + (t.prototype.hasStarted = function() { + return this._state >= 2; + }), + (t.prototype.init = function() { + this._state >= 1 || + ((this._state = 1), + this._styler.apply(), + this._delay && this._styler.pause()); + }), + (t.prototype.play = function() { + this.init(), + this.hasStarted() || + (this._flushStartFns(), + (this._state = 2), + this._specialStyles && this._specialStyles.start()), + this._styler.resume(); + }), + (t.prototype.pause = function() { + this.init(), this._styler.pause(); + }), + (t.prototype.restart = function() { + this.reset(), this.play(); + }), + (t.prototype.reset = function() { + this._styler.destroy(), this._buildStyler(), this._styler.apply(); + }), + (t.prototype._buildStyler = function() { + var t = this; + this._styler = new J_( + this.element, + this.animationName, + this._duration, + this._delay, + this.easing, + "forwards", + function() { + return t.finish(); + } + ); + }), + (t.prototype.triggerCallback = function(t) { + var n = "start" == t ? this._onStartFns : this._onDoneFns; + n.forEach(function(t) { + return t(); + }), + (n.length = 0); + }), + (t.prototype.beforeDestroy = function() { + var t = this; + this.init(); + var n = {}; + if (this.hasStarted()) { + var e = this._state >= 3; + Object.keys(this._finalStyles).forEach(function(o) { + "offset" != o && + (n[o] = e ? t._finalStyles[o] : Wb(t.element, o)); + }); + } + this.currentSnapshot = n; + }), + t + ); + })(), + ly = (function(t) { + function n(n, e) { + var o = t.call(this) || this; + return ( + (o.element = n), + (o._startingStyles = {}), + (o.__initialized = !1), + (o._styles = Mb(e)), + o + ); + } + return ( + Object(o.__extends)(n, t), + (n.prototype.init = function() { + var n = this; + !this.__initialized && + this._startingStyles && + ((this.__initialized = !0), + Object.keys(this._styles).forEach(function(t) { + n._startingStyles[t] = n.element.style[t]; + }), + t.prototype.init.call(this)); + }), + (n.prototype.play = function() { + var n = this; + this._startingStyles && + (this.init(), + Object.keys(this._styles).forEach(function(t) { + return n.element.style.setProperty(t, n._styles[t]); + }), + t.prototype.play.call(this)); + }), + (n.prototype.destroy = function() { + var n = this; + this._startingStyles && + (Object.keys(this._startingStyles).forEach(function(t) { + var e = n._startingStyles[t]; + e + ? n.element.style.setProperty(t, e) + : n.element.style.removeProperty(t); + }), + (this._startingStyles = null), + t.prototype.destroy.call(this)); + }), + n + ); + })(ob), + sy = (function() { + function t() { + (this._count = 0), + (this._head = document.querySelector("head")), + (this._warningIssued = !1); + } + return ( + (t.prototype.validateStyleProperty = function(t) { + return Cb(t); + }), + (t.prototype.matchesElement = function(t, n) { + return vb(t, n); + }), + (t.prototype.containsElement = function(t, n) { + return Ob(t, n); + }), + (t.prototype.query = function(t, n, e) { + return Pb(t, n, e); + }), + (t.prototype.computeStyle = function(t, n, e) { + return window.getComputedStyle(t)[n]; + }), + (t.prototype.buildKeyframeElement = function(t, n, e) { + e = e.map(function(t) { + return Mb(t); + }); + var o = "@keyframes " + n + " {\n", + a = ""; + e.forEach(function(t) { + a = " "; + var n = parseFloat(t.offset); + (o += "" + a + 100 * n + "% {\n"), + (a += " "), + Object.keys(t).forEach(function(n) { + var e = t[n]; + switch (n) { + case "offset": + return; + case "easing": + return void ( + e && + (o += a + "animation-timing-function: " + e + ";\n") + ); + default: + return void (o += "" + a + n + ": " + e + ";\n"); + } + }), + (o += a + "}\n"); + }), + (o += "}\n"); + var r = document.createElement("style"); + return (r.innerHTML = o), r; + }), + (t.prototype.animate = function(t, n, e, o, a, r, i) { + void 0 === r && (r = []), i && this._notifyFaultyScrubber(); + var l = r.filter(function(t) { + return t instanceof iy; + }), + s = {}; + qb(e, o) && + l.forEach(function(t) { + var n = t.currentSnapshot; + Object.keys(n).forEach(function(t) { + return (s[t] = n[t]); + }); + }); + var c = (function(t) { + var n = {}; + return ( + t && + (Array.isArray(t) ? t : [t]).forEach(function(t) { + Object.keys(t).forEach(function(e) { + "offset" != e && "easing" != e && (n[e] = t[e]); + }); + }), + n + ); + })((n = Kb(t, n, s))); + if (0 == e) return new ly(t, c); + var u = "gen_css_kf_" + this._count++, + d = this.buildKeyframeElement(t, u, n); + document.querySelector("head").appendChild(d); + var p = Y_(t, n), + m = new iy(t, n, u, e, o, a, c, p); + return ( + m.onDestroy(function() { + var t; + (t = d).parentNode.removeChild(t); + }), + m + ); + }), + (t.prototype._notifyFaultyScrubber = function() { + this._warningIssued || + (console.warn( + "@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n", + " visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill." + ), + (this._warningIssued = !0)); + }), + t + ); + })(), + cy = (function() { + function t(t, n, e, o) { + (this.element = t), + (this.keyframes = n), + (this.options = e), + (this._specialStyles = o), + (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 = e.duration), + (this._delay = e.delay || 0), + (this.time = this._duration + this._delay); + } + return ( + (t.prototype._onFinish = function() { + this._finished || + ((this._finished = !0), + this._onDoneFns.forEach(function(t) { + return t(); + }), + (this._onDoneFns = [])); + }), + (t.prototype.init = function() { + this._buildPlayer(), this._preparePlayerBeforeStart(); + }), + (t.prototype._buildPlayer = function() { + var t = this; + if (!this._initialized) { + this._initialized = !0; + var n = this.keyframes; + (this.domPlayer = this._triggerWebAnimation( + this.element, + n, + this.options + )), + (this._finalKeyframe = n.length ? n[n.length - 1] : {}), + this.domPlayer.addEventListener("finish", function() { + return t._onFinish(); + }); + } + }), + (t.prototype._preparePlayerBeforeStart = function() { + this._delay + ? this._resetDomPlayerState() + : this.domPlayer.pause(); + }), + (t.prototype._triggerWebAnimation = function(t, n, e) { + return t.animate(n, e); + }), + (t.prototype.onStart = function(t) { + this._onStartFns.push(t); + }), + (t.prototype.onDone = function(t) { + this._onDoneFns.push(t); + }), + (t.prototype.onDestroy = function(t) { + this._onDestroyFns.push(t); + }), + (t.prototype.play = 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(); + }), + (t.prototype.pause = function() { + this.init(), this.domPlayer.pause(); + }), + (t.prototype.finish = function() { + this.init(), + this._specialStyles && this._specialStyles.finish(), + this._onFinish(), + this.domPlayer.finish(); + }), + (t.prototype.reset = function() { + this._resetDomPlayerState(), + (this._destroyed = !1), + (this._finished = !1), + (this._started = !1); + }), + (t.prototype._resetDomPlayerState = function() { + this.domPlayer && this.domPlayer.cancel(); + }), + (t.prototype.restart = function() { + this.reset(), this.play(); + }), + (t.prototype.hasStarted = function() { + return this._started; + }), + (t.prototype.destroy = function() { + this._destroyed || + ((this._destroyed = !0), + this._resetDomPlayerState(), + this._onFinish(), + this._specialStyles && this._specialStyles.destroy(), + this._onDestroyFns.forEach(function(t) { + return t(); + }), + (this._onDestroyFns = [])); + }), + (t.prototype.setPosition = function(t) { + this.domPlayer.currentTime = t * this.time; + }), + (t.prototype.getPosition = function() { + return this.domPlayer.currentTime / this.time; + }), + Object.defineProperty(t.prototype, "totalTime", { + get: function() { + return this._delay + this._duration; + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.beforeDestroy = function() { + var t = this, + n = {}; + this.hasStarted() && + Object.keys(this._finalKeyframe).forEach(function(e) { + "offset" != e && + (n[e] = t._finished + ? t._finalKeyframe[e] + : Wb(t.element, e)); + }), + (this.currentSnapshot = n); + }), + (t.prototype.triggerCallback = function(t) { + var n = "start" == t ? this._onStartFns : this._onDoneFns; + n.forEach(function(t) { + return t(); + }), + (n.length = 0); + }), + t + ); + })(), + uy = (function() { + function t() { + (this._isNativeImpl = /\{\s*\[native\s+code\]\s*\}/.test( + dy().toString() + )), + (this._cssKeyframesDriver = new sy()); + } + return ( + (t.prototype.validateStyleProperty = function(t) { + return Cb(t); + }), + (t.prototype.matchesElement = function(t, n) { + return vb(t, n); + }), + (t.prototype.containsElement = function(t, n) { + return Ob(t, n); + }), + (t.prototype.query = function(t, n, e) { + return Pb(t, n, e); + }), + (t.prototype.computeStyle = function(t, n, e) { + return window.getComputedStyle(t)[n]; + }), + (t.prototype.overrideWebAnimationsSupport = function(t) { + this._isNativeImpl = t; + }), + (t.prototype.animate = function(t, n, e, o, a, r, i) { + if ((void 0 === r && (r = []), !i && !this._isNativeImpl)) + return this._cssKeyframesDriver.animate(t, n, e, o, a, r); + var l = { + duration: e, + delay: o, + fill: 0 == o ? "both" : "forwards" + }; + a && (l.easing = a); + var s = {}, + c = r.filter(function(t) { + return t instanceof cy; + }); + qb(e, o) && + c.forEach(function(t) { + var n = t.currentSnapshot; + Object.keys(n).forEach(function(t) { + return (s[t] = n[t]); + }); + }); + var u = Y_( + t, + (n = Kb( + t, + (n = n.map(function(t) { + return Tb(t, !1); + })), + s + )) + ); + return new cy(t, n, l, u); + }), + t + ); + })(); + function dy() { + return ( + ("undefined" != typeof window && + void 0 !== window.document && + Element.prototype.animate) || + {} + ); + } + var py = (function(t) { + function n(n, e) { + var o = t.call(this) || this; + return ( + (o._nextAnimationId = 0), + (o._renderer = n.createRenderer(e.body, { + id: "0", + encapsulation: An.None, + styles: [], + data: { animation: [] } + })), + o + ); + } + return ( + Object(o.__extends)(n, t), + (n.prototype.build = function(t) { + var n = this._nextAnimationId.toString(); + this._nextAnimationId++; + var e = Array.isArray(t) ? tb(t) : t; + return ( + fy(this._renderer, null, n, "register", [e]), + new my(n, this._renderer) + ); + }), + n + ); + })(Xh), + my = (function(t) { + function n(n, e) { + var o = t.call(this) || this; + return (o._id = n), (o._renderer = e), o; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.create = function(t, n) { + return new gy(this._id, t, n || {}, this._renderer); + }), + n + ); + })(Jh), + gy = (function() { + function t(t, n, e, o) { + (this.id = t), + (this.element = n), + (this._renderer = o), + (this.parentPlayer = null), + (this._started = !1), + (this.totalTime = 0), + this._command("create", e); + } + return ( + (t.prototype._listen = function(t, n) { + return this._renderer.listen( + this.element, + "@@" + this.id + ":" + t, + n + ); + }), + (t.prototype._command = function(t) { + for (var n = [], e = 1; e < arguments.length; e++) + n[e - 1] = arguments[e]; + return fy(this._renderer, this.element, this.id, t, n); + }), + (t.prototype.onDone = function(t) { + this._listen("done", t); + }), + (t.prototype.onStart = function(t) { + this._listen("start", t); + }), + (t.prototype.onDestroy = function(t) { + this._listen("destroy", t); + }), + (t.prototype.init = function() { + this._command("init"); + }), + (t.prototype.hasStarted = function() { + return this._started; + }), + (t.prototype.play = function() { + this._command("play"), (this._started = !0); + }), + (t.prototype.pause = function() { + this._command("pause"); + }), + (t.prototype.restart = function() { + this._command("restart"); + }), + (t.prototype.finish = function() { + this._command("finish"); + }), + (t.prototype.destroy = function() { + this._command("destroy"); + }), + (t.prototype.reset = function() { + this._command("reset"); + }), + (t.prototype.setPosition = function(t) { + this._command("setPosition", t); + }), + (t.prototype.getPosition = function() { + return 0; + }), + t + ); + })(); + function fy(t, n, e, o, a) { + return t.setProperty(n, "@@" + e + ":" + o, a); + } + var hy = (function() { + function t(t, n, e) { + (this.delegate = t), + (this.engine = n), + (this._zone = e), + (this._currentId = 0), + (this._microtaskId = 1), + (this._animationCallbacksBuffer = []), + (this._rendererCache = new Map()), + (this._cdRecurDepth = 0), + (this.promise = Promise.resolve(0)), + (n.onRemovalComplete = function(t, n) { + n && n.parentNode(t) && n.removeChild(t.parentNode, t); + }); + } + return ( + (t.prototype.createRenderer = function(t, n) { + var e = this, + o = this.delegate.createRenderer(t, n); + if (!(t && n && n.data && n.data.animation)) { + var a = this._rendererCache.get(o); + return ( + a || + ((a = new by("", o, this.engine)), + this._rendererCache.set(o, a)), + a + ); + } + var r = n.id, + i = n.id + "-" + this._currentId; + return ( + this._currentId++, + this.engine.register(i, t), + n.data.animation.forEach(function(n) { + return e.engine.registerTrigger(r, i, t, n.name, n); + }), + new _y(this, i, o, this.engine) + ); + }), + (t.prototype.begin = function() { + this._cdRecurDepth++, + this.delegate.begin && this.delegate.begin(); + }), + (t.prototype._scheduleCountTask = function() { + var t = this; + this.promise.then(function() { + t._microtaskId++; + }); + }), + (t.prototype.scheduleListenerCallback = function(t, n, e) { + var a = this; + t >= 0 && t < this._microtaskId + ? this._zone.run(function() { + return n(e); + }) + : (0 == this._animationCallbacksBuffer.length && + Promise.resolve(null).then(function() { + a._zone.run(function() { + a._animationCallbacksBuffer.forEach(function(t) { + var n = Object(o.__read)(t, 2); + (0, n[0])(n[1]); + }), + (a._animationCallbacksBuffer = []); + }); + }), + this._animationCallbacksBuffer.push([n, e])); + }), + (t.prototype.end = function() { + var t = this; + this._cdRecurDepth--, + 0 == this._cdRecurDepth && + this._zone.runOutsideAngular(function() { + t._scheduleCountTask(), t.engine.flush(t._microtaskId); + }), + this.delegate.end && this.delegate.end(); + }), + (t.prototype.whenRenderingDone = function() { + return this.engine.whenRenderingDone(); + }), + t + ); + })(), + by = (function() { + function t(t, n, e) { + (this.namespaceId = t), + (this.delegate = n), + (this.engine = e), + (this.destroyNode = this.delegate.destroyNode + ? function(t) { + return n.destroyNode(t); + } + : null); + } + return ( + Object.defineProperty(t.prototype, "data", { + get: function() { + return this.delegate.data; + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.destroy = function() { + this.engine.destroy(this.namespaceId, this.delegate), + this.delegate.destroy(); + }), + (t.prototype.createElement = function(t, n) { + return this.delegate.createElement(t, n); + }), + (t.prototype.createComment = function(t) { + return this.delegate.createComment(t); + }), + (t.prototype.createText = function(t) { + return this.delegate.createText(t); + }), + (t.prototype.appendChild = function(t, n) { + this.delegate.appendChild(t, n), + this.engine.onInsert(this.namespaceId, n, t, !1); + }), + (t.prototype.insertBefore = function(t, n, e) { + this.delegate.insertBefore(t, n, e), + this.engine.onInsert(this.namespaceId, n, t, !0); + }), + (t.prototype.removeChild = function(t, n, e) { + this.engine.onRemove(this.namespaceId, n, this.delegate, e); + }), + (t.prototype.selectRootElement = function(t, n) { + return this.delegate.selectRootElement(t, n); + }), + (t.prototype.parentNode = function(t) { + return this.delegate.parentNode(t); + }), + (t.prototype.nextSibling = function(t) { + return this.delegate.nextSibling(t); + }), + (t.prototype.setAttribute = function(t, n, e, o) { + this.delegate.setAttribute(t, n, e, o); + }), + (t.prototype.removeAttribute = function(t, n, e) { + this.delegate.removeAttribute(t, n, e); + }), + (t.prototype.addClass = function(t, n) { + this.delegate.addClass(t, n); + }), + (t.prototype.removeClass = function(t, n) { + this.delegate.removeClass(t, n); + }), + (t.prototype.setStyle = function(t, n, e, o) { + this.delegate.setStyle(t, n, e, o); + }), + (t.prototype.removeStyle = function(t, n, e) { + this.delegate.removeStyle(t, n, e); + }), + (t.prototype.setProperty = function(t, n, e) { + "@" == n.charAt(0) && "@.disabled" == n + ? this.disableAnimations(t, !!e) + : this.delegate.setProperty(t, n, e); + }), + (t.prototype.setValue = function(t, n) { + this.delegate.setValue(t, n); + }), + (t.prototype.listen = function(t, n, e) { + return this.delegate.listen(t, n, e); + }), + (t.prototype.disableAnimations = function(t, n) { + this.engine.disableAnimations(t, n); + }), + t + ); + })(), + _y = (function(t) { + function n(n, e, o, a) { + var r = t.call(this, e, o, a) || this; + return (r.factory = n), (r.namespaceId = e), r; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.setProperty = function(t, n, e) { + "@" == n.charAt(0) + ? "." == n.charAt(1) && "@.disabled" == n + ? this.disableAnimations(t, (e = void 0 === e || !!e)) + : this.engine.process(this.namespaceId, t, n.substr(1), e) + : this.delegate.setProperty(t, n, e); + }), + (n.prototype.listen = function(t, n, e) { + var a, + r, + i, + l = this; + if ("@" == n.charAt(0)) { + var s = (function(t) { + switch (t) { + case "body": + return document.body; + case "document": + return document; + case "window": + return window; + default: + return t; + } + })(t), + c = n.substr(1), + u = ""; + return ( + "@" != c.charAt(0) && + ((c = (a = Object(o.__read)( + ((r = c), + (i = r.indexOf(".")), + [r.substring(0, i), r.substr(i + 1)]), + 2 + ))[0]), + (u = a[1])), + this.engine.listen(this.namespaceId, s, c, u, function(t) { + l.factory.scheduleListenerCallback(t._data || -1, e, t); + }) + ); + } + return this.delegate.listen(t, n, e); + }), + n + ); + })(by), + yy = (function(t) { + function n(n, e, o) { + return t.call(this, n.body, e, o) || this; + } + return Object(o.__extends)(n, t), n; + })(K_); + function Cy() { + return "function" == typeof dy() ? new uy() : new sy(); + } + function vy() { + return new b_(); + } + function Oy(t, n, e) { + return new hy(t, n, e); + } + var Py = new Ut("AnimationModuleType"), + My = (function() { + return function() {}; + })(), + xy = So({ + encapsulation: 2, + styles: [ + ".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media (hover:none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-flat-button,.mat-icon-button,.mat-stroked-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-flat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-focus-overlay,.mat-stroked-button .mat-button-ripple.mat-ripple{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button .mat-icon,.mat-icon-button i{line-height:24px}.mat-button-focus-overlay,.mat-button-ripple.mat-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity .2s cubic-bezier(.35,0,.25,1),background-color .2s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}@media (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:#fff}}@media (-ms-high-contrast:black-on-white){.mat-button-focus-overlay{background-color:#000}}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}@media (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}" + ], + data: {} + }); + function ky(t) { + return Di( + 2, + [ + Oi(671088640, 1, { ripple: 0 }), + (t()(), + bi( + 1, + 0, + null, + null, + 1, + "span", + [["class", "mat-button-wrapper"]], + null, + null, + null, + null, + null + )), + wi(null, 0), + (t()(), + bi( + 3, + 0, + null, + null, + 1, + "div", + [["class", "mat-button-ripple mat-ripple"], ["matRipple", ""]], + [ + [2, "mat-button-ripple-round", null], + [2, "mat-ripple-unbounded", null] + ], + null, + null, + null, + null + )), + Ba( + 4, + 212992, + [[1, 4]], + 0, + yh, + [Ne, Dr, ff, [2, _h], [2, Py]], + { + centered: [0, "centered"], + disabled: [1, "disabled"], + trigger: [2, "trigger"] + }, + null + ), + (t()(), + bi( + 5, + 0, + null, + null, + 0, + "div", + [["class", "mat-button-focus-overlay"]], + null, + null, + null, + null, + null + )) + ], + function(t, n) { + var e = n.component; + t( + n, + 4, + 0, + e.isIconButton, + e._isRippleDisabled(), + e._getHostElement() + ); + }, + function(t, n) { + var e = n.component; + t(n, 3, 0, e.isRoundButton || e.isIconButton, wa(n, 4).unbounded); + } + ); + } + var wy = (function() { + function t(t) { + (this.elRef = t), + (this.wasClicked = !1), + (this.element = t.nativeElement), + this.element.addEventListener("click", this.onClick.bind(this)), + this.element.addEventListener( + "touchstart", + this.onTouchStart.bind(this) + ); + } + return ( + (t.prototype.onClick = function() { + this.wasClicked = !0; + }), + (t.prototype.onTouchStart = function(t) { + var n = this; + t.stopPropagation(), + (this.wasClicked = !1), + setTimeout(function() { + n.wasClicked || (n.element.click(), (n.wasClicked = !0)); + }, 300); + }), + t + ); + })(), + Sy = (function() { + function t(t, n, e) { + (this.beatOnApi = t), (this.msgSvc = n), (this.router = e); + } + return ( + (t.prototype.ngOnInit = function() { + var t = this; + this.msgSvc.setupMessage.subscribe(function(n) { + switch (n.SetupEvent) { + case ug.Step1Complete: + t.router.navigateByUrl("/setupstep2"); + break; + case ug.Step2Complete: + t.router.navigateByUrl("/setupstep3"); + break; + case ug.Step3Complete: + t.router.navigateByUrl("/"); + } + }); + }), + t + ); + })(), + Ey = So({ + encapsulation: 0, + styles: [ + [ + '.mat-badge-content[_ngcontent-%COMP%]{font-weight:600;font-size:12px;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:9px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:24px}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 11.62px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 9.38px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,"Helvetica Neue",sans-serif}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,"Helvetica Neue",sans-serif;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34375em) scale(.75);transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34374em) scale(.75);transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28121em) scale(.75);transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59375em) scale(.75);transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59374em) scale(.75);transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59375em) scale(.75);transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59374em) scale(.75);transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:16px;color:#fff}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif;color:rgba(255,255,255,.7)}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,-webkit-transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1),-webkit-transform 0s cubic-bezier(0,0,.2,1);-webkit-transform:scale(0);transform:scale(0)}@media (-ms-high-contrast:active){.mat-ripple-element[_ngcontent-%COMP%]{display:none}}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-start{}@-webkit-keyframes cdk-text-field-autofill-end{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation-name:cdk-text-field-autofill-start;animation-name:cdk-text-field-autofill-start}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation-name:cdk-text-field-autofill-end;animation-name:cdk-text-field-autofill-end}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{height:auto!important;overflow:hidden!important;padding:2px 0!important;box-sizing:content-box!important}.mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple):not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:focus:not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:hover:not(.mat-option-disabled){background:rgba(255,255,255,.04)}.mat-option.mat-active[_ngcontent-%COMP%]{background:rgba(255,255,255,.04);color:#fff}.mat-option.mat-option-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-primary[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ad2c2c}.mat-accent[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#216bad}.mat-warn[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ff5722}.mat-optgroup-disabled[_ngcontent-%COMP%] .mat-optgroup-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-pseudo-checkbox[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-pseudo-checkbox[_ngcontent-%COMP%]::after{color:#303030}.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{color:#686868}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%], .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#216bad}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ad2c2c}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ff5722}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{background:#686868}.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-app-background[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-theme-loaded-marker[_ngcontent-%COMP%]{display:none}.mat-autocomplete-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-autocomplete-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover){background:#424242}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#fff}@media (-ms-high-contrast:active){.mat-badge-content[_ngcontent-%COMP%]{outline:solid 1px;border-radius:0}.mat-checkbox-disabled[_ngcontent-%COMP%]{opacity:.5}}.mat-badge-accent[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-badge-warn[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ff5722}.mat-badge[_ngcontent-%COMP%]{position:relative}.mat-badge-hidden[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{display:none}.mat-badge-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#6e6e6e;color:rgba(255,255,255,.5)}.mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ad2c2c;position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out;-webkit-transform:scale(.6);transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.mat-badge-content._mat-animation-noopable[_ngcontent-%COMP%], .ng-animate-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{transition:none}.mat-badge-content.mat-badge-active[_ngcontent-%COMP%]{-webkit-transform:none;transform:none}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:16px;height:16px;line-height:16px}.mat-badge-small.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-8px}.mat-badge-small.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-8px}.mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-16px}.mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-8px}.mat-badge-medium[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-11px}.mat-badge-medium.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-11px}.mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-22px}.mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-11px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:28px;height:28px;line-height:28px}.mat-badge-large.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-14px}.mat-badge-large.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-14px}.mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-28px}.mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-14px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{color:inherit;background:0 0}.mat-button.mat-primary[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-button[disabled][disabled][_ngcontent-%COMP%], .mat-icon-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-icon-button[disabled][disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-stroked-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ff5722}.mat-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:transparent}.mat-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{opacity:.1;background-color:currentColor}.mat-button-focus-overlay[_ngcontent-%COMP%]{background:#fff}.mat-stroked-button[_ngcontent-%COMP%]:not([disabled]){border-color:rgba(255,255,255,.12)}.mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%]{color:#fff;background-color:#424242}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{color:#fff}.mat-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-fab[disabled][disabled][_ngcontent-%COMP%], .mat-flat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-flat-button[disabled][disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-mini-fab[disabled][disabled][_ngcontent-%COMP%], .mat-raised-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-raised-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:rgba(255,255,255,.12)}.mat-fab.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-flat-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-stroked-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-raised-button[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-button-toggle-group[_ngcontent-%COMP%], .mat-button-toggle-standalone[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%], .mat-button-toggle-standalone.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{box-shadow:none;border:1px solid rgba(255,255,255,.12)}.mat-button-toggle[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-button-toggle[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff;background:#424242}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:#fff}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12)}[dir=rtl][_ngcontent-%COMP%] .mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:none;border-top:1px solid rgba(255,255,255,.12)}.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#212121;color:rgba(255,255,255,.7)}.mat-button-toggle-checked.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff}.mat-button-toggle-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:#000}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{background:#424242}.mat-button-toggle-disabled.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#424242}.mat-card[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-card[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-card.mat-card-flat[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-card-subtitle[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-checkbox-frame[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-checkbox-checkmark[_ngcontent-%COMP%]{fill:#303030}.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#303030!important}@media (-ms-high-contrast:black-on-white){.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#000!important}}.mat-checkbox-mixedmark[_ngcontent-%COMP%]{background-color:#303030}.mat-checkbox-checked.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-checkbox-checked.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#216bad}.mat-checkbox-checked.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ff5722}.mat-checkbox-disabled.mat-checkbox-checked[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-disabled.mat-checkbox-indeterminate[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%]:not(.mat-checkbox-checked) .mat-checkbox-frame[_ngcontent-%COMP%]{border-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}@media (-ms-high-contrast:active){.mat-checkbox-background[_ngcontent-%COMP%]{background:0 0}}.mat-checkbox[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%]{background:#ad2c2c}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%]{background:#216bad}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%]{background:#ff5722}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]{background-color:#616161;color:#fff}.mat-chip.mat-standard-chip[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled) .mat-chip-remove[_ngcontent-%COMP%]:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled[_ngcontent-%COMP%]{opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]::after{background:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-table[_ngcontent-%COMP%]{background:#424242}.mat-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%], .mat-table-sticky[_ngcontent-%COMP%], [mat-footer-row][_ngcontent-%COMP%], [mat-header-row][_ngcontent-%COMP%], [mat-row][_ngcontent-%COMP%], mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%]{background:inherit}mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%], td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{border-bottom-color:rgba(255,255,255,.12)}.mat-header-cell[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{color:#fff}.mat-calendar-arrow[_ngcontent-%COMP%]{border-top-color:#fff}.mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-next-button[_ngcontent-%COMP%], .mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-previous-button[_ngcontent-%COMP%], .mat-datepicker-toggle[_ngcontent-%COMP%]{color:#fff}.mat-calendar-table-header[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-calendar-table-header-divider[_ngcontent-%COMP%]::after{background:rgba(255,255,255,.12)}.mat-calendar-body-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-calendar-body-cell-content[_ngcontent-%COMP%]{color:#fff;border-color:transparent}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){color:rgba(255,255,255,.5)}.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .cdk-program-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .mat-calendar-body-cell[_ngcontent-%COMP%]:not(.mat-calendar-body-disabled):hover > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){background-color:rgba(255,255,255,.04)}.mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.5)}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.3)}.mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.4)}.mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#424242;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.4)}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.4)}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content-touch[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-datepicker-toggle-active[_ngcontent-%COMP%]{color:#ad2c2c}.mat-datepicker-toggle-active.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-datepicker-toggle-active.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-dialog-container[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-divider[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-divider-vertical[_ngcontent-%COMP%]{border-right-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-expansion-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-action-row[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-keyboard-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-program-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]):hover{background:rgba(255,255,255,.04)}@media (hover:none){.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header[_ngcontent-%COMP%]:hover{background:#424242}}.mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:#fff}.mat-expansion-indicator[_ngcontent-%COMP%]::after, .mat-expansion-panel-header-description[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%], .mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:inherit}.mat-form-field-label[_ngcontent-%COMP%], .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-focused[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#fff}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid) .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ad2c2c}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#216bad}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#ff5722}.mat-error[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.25em;background-color:rgba(255,255,255,.7)}.mat-form-field-appearance-legacy.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7)}.mat-form-field-appearance-standard.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.05)}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:transparent}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#fff}.mat-form-field-appearance-outline.mat-focused[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field-appearance-outline.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-appearance-outline.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.15)}.mat-icon.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-icon.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-icon.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-type-mat-native-select[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:rgba(255,255,255,.7)}.mat-form-field-type-mat-native-select.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-input-element[_ngcontent-%COMP%]:disabled{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]{caret-color:#ad2c2c}.mat-input-element[_ngcontent-%COMP%]::-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-moz-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-webkit-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]{color:rgba(0,0,0,.87)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]:disabled{color:rgba(0,0,0,.38)}.mat-accent[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#216bad}.mat-form-field-invalid[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#ff5722}.mat-form-field-type-mat-native-select.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ff5722}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%], .mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{color:#fff}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500;color:rgba(255,255,255,.7)}.mat-list-item-disabled[_ngcontent-%COMP%]{background-color:#000}.mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover, .mat-list-option[_ngcontent-%COMP%]:focus, .mat-list-option[_ngcontent-%COMP%]:hover, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover{background:rgba(255,255,255,.04)}.mat-menu-panel[_ngcontent-%COMP%]{background:#424242}.mat-menu-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-menu-item[_ngcontent-%COMP%]{background:0 0;color:#fff}.mat-menu-item[disabled][_ngcontent-%COMP%], .mat-menu-item[disabled][_ngcontent-%COMP%]::after{color:rgba(255,255,255,.5)}.mat-menu-item[_ngcontent-%COMP%] .mat-icon-no-color[_ngcontent-%COMP%], .mat-menu-item-submenu-trigger[_ngcontent-%COMP%]::after{color:#fff}.mat-menu-item-highlighted[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-keyboard-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-program-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item[_ngcontent-%COMP%]:hover:not([disabled]){background:rgba(255,255,255,.04)}.mat-paginator[_ngcontent-%COMP%]{background:#424242}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-paginator-decrement[_ngcontent-%COMP%], .mat-paginator-increment[_ngcontent-%COMP%]{border-top:2px solid #fff;border-right:2px solid #fff}.mat-paginator-first[_ngcontent-%COMP%], .mat-paginator-last[_ngcontent-%COMP%]{border-top:2px solid #fff}.mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-decrement[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-first[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-increment[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-last[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-progress-bar-background[_ngcontent-%COMP%]{fill:#e6c0c0}.mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#e6c0c0}.mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ad2c2c}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#216bad}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ff5722}.mat-progress-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ad2c2c}.mat-progress-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#216bad}.mat-progress-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ff5722}.mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ad2c2c}.mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#216bad}.mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#216bad}.mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ff5722}.mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ff5722}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-label-content[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-radio-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-select-value[_ngcontent-%COMP%]{color:#fff}.mat-select-disabled[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%], .mat-select-placeholder[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-select-panel[_ngcontent-%COMP%]{background:#424242}.mat-select-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-select-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple){background:rgba(255,255,255,.12)}.mat-form-field.mat-focused.mat-primary[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#216bad}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-invalid[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-form-field.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-disabled[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-drawer-container[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-drawer[_ngcontent-%COMP%]{background-color:#424242;color:#fff}.mat-drawer.mat-drawer-push[_ngcontent-%COMP%]{background-color:#424242}.mat-drawer[_ngcontent-%COMP%]:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-drawer-side[_ngcontent-%COMP%]{border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%] .mat-drawer-side[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12);border-right:none}[dir=rtl][_ngcontent-%COMP%] .mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-backdrop.mat-drawer-shown[_ngcontent-%COMP%]{background-color:rgba(189,189,189,.6)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.54)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.54)}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.54)}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle[_ngcontent-%COMP%]:not(.mat-checked) .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-slide-toggle-thumb[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#bdbdbd}.mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#216bad}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ff5722}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.2)}.cdk-focused[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%] .mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:#fff}.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing) .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3);background-color:transparent}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-has-ticks[_ngcontent-%COMP%] .mat-slider-wrapper[_ngcontent-%COMP%]::after{border-color:rgba(255,255,255,.7)}.mat-slider-horizontal[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to right,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-slider-vertical[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to bottom,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused[_ngcontent-%COMP%], .mat-step-header.cdk-program-focused[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%]:hover{background-color:rgba(255,255,255,.04)}@media (hover:none){.mat-step-header[_ngcontent-%COMP%]:hover{background:0 0}}.mat-step-header[_ngcontent-%COMP%] .mat-step-label[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-optional[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7);color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-selected[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-edit[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-error[_ngcontent-%COMP%]{background-color:transparent;color:#ff5722}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-active[_ngcontent-%COMP%]{color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-error[_ngcontent-%COMP%]{color:#ff5722}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{background-color:#424242}.mat-stepper-vertical-line[_ngcontent-%COMP%]::before{border-left-color:rgba(255,255,255,.12)}.mat-horizontal-stepper-header[_ngcontent-%COMP%]::after, .mat-horizontal-stepper-header[_ngcontent-%COMP%]::before, .mat-stepper-horizontal-line[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-sort-header-arrow[_ngcontent-%COMP%]{color:#c6c6c6}.mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[_ngcontent-%COMP%]{border-bottom:1px solid rgba(255,255,255,.12)}.mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-nav-bar[_ngcontent-%COMP%]{border-top:1px solid rgba(255,255,255,.12);border-bottom:none}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-tab-group[class*=mat-background-][_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[class*=mat-background-][_ngcontent-%COMP%]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-toolbar[_ngcontent-%COMP%]{background:#212121;color:#fff}.mat-toolbar.mat-primary[_ngcontent-%COMP%]{background:#ad2c2c;color:#fff}.mat-toolbar.mat-accent[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-toolbar.mat-warn[_ngcontent-%COMP%]{background:#ff5722;color:#fff}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:currentColor}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%]{color:inherit}.mat-toolbar[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:currentColor}.mat-tooltip[_ngcontent-%COMP%]{background:rgba(97,97,97,.9)}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;background:#424242}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px;color:#fff}.mat-snack-bar-container[_ngcontent-%COMP%]{color:rgba(0,0,0,.87);background:#fafafa;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-simple-snackbar-action[_ngcontent-%COMP%]{color:inherit}.setup-icon[_ngcontent-%COMP%]{font-size:40px}' + ] + ], + data: {} + }); + function Iy(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 37, + "mat-card", + [["class", "setup-card mat-card"]], + null, + null, + null, + Mh, + Ph + )), + Ba(1, 49152, null, 0, nf, [], null, null), + (t()(), + bi( + 2, + 0, + null, + 0, + 12, + "mat-card-header", + [["class", "mat-card-header"]], + null, + null, + null, + kh, + xh + )), + Ba(3, 49152, null, 0, ef, [], null, null), + (t()(), + bi( + 4, + 0, + null, + 0, + 4, + "div", + [["class", "mat-card-avatar"], ["mat-card-avatar", ""]], + null, + null, + null, + null, + null + )), + Ba(5, 16384, null, 0, tf, [], null, null), + (t()(), + bi( + 6, + 0, + null, + null, + 2, + "mat-icon", + [ + ["aria-hidden", "false"], + ["class", "setup-icon mat-icon notranslate"], + ["role", "img"] + ], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + Yh, + Kh + )), + Ba( + 7, + 9158656, + null, + 0, + Uh, + [Ne, Nh, [8, "false"], [2, Fh]], + null, + null + ), + (t()(), Ai(-1, 0, ["update"])), + (t()(), + bi( + 9, + 0, + null, + 1, + 2, + "mat-card-title", + [["class", "mat-card-title"]], + null, + null, + null, + null, + null + )), + Ba(10, 16384, null, 0, Xg, [], null, null), + (t()(), Ai(-1, null, ["Setup"])), + (t()(), + bi( + 12, + 0, + null, + 1, + 2, + "mat-card-subtitle", + [["class", "mat-card-subtitle"]], + null, + null, + null, + null, + null + )), + Ba(13, 16384, null, 0, Jg, [], null, null), + (t()(), Ai(-1, null, ["Introduction"])), + (t()(), + bi( + 15, + 0, + null, + 0, + 12, + "mat-card-content", + [["class", "mat-card-content"]], + null, + null, + null, + null, + null + )), + Ba(16, 16384, null, 0, Qg, [], null, null), + (t()(), + bi(17, 0, null, null, 1, "h4", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["Welcome to Beat On!"])), + (t()(), + bi(19, 0, null, null, 1, "p", [], null, null, null, null, null)), + (t()(), + Ai(-1, null, [ + "Beat On will modify and reinstall your copy of Beat Saber so that it can support custom songs and some additional modifications. After the modifications to Beat Saber during the setup process, Beat On will allow you to download songs on the Quest from this app, upload songs from your computer, manage custom playlists from the Quest or your computer's browser and install some types of other modifications." + ])), + (t()(), + bi(21, 0, null, null, 1, "h4", [], null, null, null, null, null)), + (t()(), + Ai(-1, null, [ + "This version of Beat On is intended for Beat Saber version 1.1.0!" + ])), + (t()(), + bi(23, 0, null, null, 1, "p", [], null, null, null, null, null)), + (t()(), + Ai(-1, null, [ + "It is remotely possible that it may work with future versions of Beat Saber without modification, however it is highly likely that if a new version of Beat Saber has been released, this will result in a Beat Saber that doesn't work and you will need to wait for an update to Beat On." + ])), + (t()(), + bi(25, 0, null, null, 0, "br", [], null, null, null, null, null)), + (t()(), + bi( + 26, + 0, + null, + null, + 1, + "p", + [["style", "color: orangered"]], + null, + null, + null, + null, + null + )), + (t()(), + Ai(-1, null, [ + "If at any point you have problems with Beat Saber or Beat On, uninstalling Beat Saber (either through Beat On or another tool like adb) and reinstalling Beat Saber from the Oculus Store will revert Beat Saber back to normal." + ])), + (t()(), + bi( + 28, + 0, + null, + 0, + 9, + "mat-card-actions", + [["class", "mat-card-actions"]], + [[2, "mat-card-actions-align-end", null]], + null, + null, + null, + null + )), + Ba(29, 16384, null, 0, $g, [], null, null), + (t()(), + bi( + 30, + 0, + null, + null, + 7, + "button", + [ + ["color", "accent"], + ["fast-click", ""], + ["mat-raised-button", ""], + ["routerLink", "/setupstep1"], + ["routerLinkActive", "active"] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && (o = !1 !== wa(t, 31).onClick() && o), o + ); + }, + ky, + xy + )), + Ba( + 31, + 16384, + [[1, 4]], + 0, + zm, + [Nm, xp, [8, null], Be, Ne], + { routerLink: [0, "routerLink"] }, + null + ), + Ba( + 32, + 1720320, + null, + 2, + Fm, + [Nm, Ne, Be, [2, zm], [2, Lm]], + { routerLinkActive: [0, "routerLinkActive"] }, + null + ), + Oi(603979776, 1, { links: 1 }), + Oi(603979776, 2, { linksWithHrefs: 1 }), + Ba( + 35, + 180224, + null, + 0, + Zh, + [Ne, Gf, [2, Py]], + { color: [0, "color"] }, + null + ), + Ba(36, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, 0, ["Continue"])) + ], + function(t, n) { + t(n, 7, 0), + t(n, 31, 0, "/setupstep1"), + t(n, 32, 0, "active"), + t(n, 35, 0, "accent"); + }, + function(t, n) { + t( + n, + 6, + 0, + wa(n, 7).inline, + "primary" !== wa(n, 7).color && + "accent" !== wa(n, 7).color && + "warn" !== wa(n, 7).color + ), + t(n, 28, 0, "end" === wa(n, 29).align), + t( + n, + 30, + 0, + wa(n, 35).disabled || null, + "NoopAnimations" === wa(n, 35)._animationMode + ); + } + ); + } + function Ay(t) { + return Di( + 0, + [ + (t()(), + bi(0, 0, null, null, 1, "app-setup", [], null, null, null, Iy, Ey)), + Ba(1, 114688, null, 0, Sy, [yc, pg, Nm], null, null) + ], + function(t, n) { + t(n, 1, 0); + }, + null + ); + } + var Ty = ha("app-setup", Sy, Ay, {}, {}, []), + Ry = (function() { + function t(t, n) { + (this.beatOnApi = t), (this.dialog = n); + } + return ( + (t.prototype.ngOnInit = function() {}), + (t.prototype.clickBegin = function() { + var t = this.dialog.open(Ig, { + width: "450px", + height: "350px", + disableClose: !0, + data: { mainText: "Please wait..." } + }); + this.beatOnApi.installModStep1().subscribe(function(n) { + t.close(); + }); + }), + t + ); + })(); + function Dy() { + throw Error("Host already has a portal attached"); + } + var Ny = (function() { + function t() {} + return ( + (t.prototype.attach = function(t) { + return ( + null == t && + (function() { + throw Error( + "Attempting to attach a portal to a null PortalOutlet" + ); + })(), + t.hasAttached() && Dy(), + (this._attachedHost = t), + t.attach(this) + ); + }), + (t.prototype.detach = function() { + var t = this._attachedHost; + null == t + ? (function() { + throw Error( + "Attempting to detach a portal that is not attached to a host" + ); + })() + : ((this._attachedHost = null), t.detach()); + }), + Object.defineProperty(t.prototype, "isAttached", { + get: function() { + return null != this._attachedHost; + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.setAttachedHost = function(t) { + this._attachedHost = t; + }), + t + ); + })(), + zy = (function(t) { + function n(n, e, o, a) { + var r = t.call(this) || this; + return ( + (r.component = n), + (r.viewContainerRef = e), + (r.injector = o), + (r.componentFactoryResolver = a), + r + ); + } + return Object(o.__extends)(n, t), n; + })(Ny), + Ly = (function(t) { + function n(n, e, o) { + var a = t.call(this) || this; + return ( + (a.templateRef = n), (a.viewContainerRef = e), (a.context = o), a + ); + } + return ( + Object(o.__extends)(n, t), + Object.defineProperty(n.prototype, "origin", { + get: function() { + return this.templateRef.elementRef; + }, + enumerable: !0, + configurable: !0 + }), + (n.prototype.attach = function(n, e) { + return ( + void 0 === e && (e = this.context), + (this.context = e), + t.prototype.attach.call(this, n) + ); + }), + (n.prototype.detach = function() { + return (this.context = void 0), t.prototype.detach.call(this); + }), + n + ); + })(Ny), + jy = (function() { + function t() { + this._isDisposed = !1; + } + return ( + (t.prototype.hasAttached = function() { + return !!this._attachedPortal; + }), + (t.prototype.attach = function(t) { + return ( + t || + (function() { + throw Error("Must provide a portal to attach"); + })(), + this.hasAttached() && Dy(), + this._isDisposed && + (function() { + throw Error("This PortalOutlet has already been disposed"); + })(), + t instanceof zy + ? ((this._attachedPortal = t), this.attachComponentPortal(t)) + : t instanceof Ly + ? ((this._attachedPortal = t), this.attachTemplatePortal(t)) + : void (function() { + throw Error( + "Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal." + ); + })() + ); + }), + (t.prototype.detach = function() { + this._attachedPortal && + (this._attachedPortal.setAttachedHost(null), + (this._attachedPortal = null)), + this._invokeDisposeFn(); + }), + (t.prototype.dispose = function() { + this.hasAttached() && this.detach(), + this._invokeDisposeFn(), + (this._isDisposed = !0); + }), + (t.prototype.setDisposeFn = function(t) { + this._disposeFn = t; + }), + (t.prototype._invokeDisposeFn = function() { + this._disposeFn && (this._disposeFn(), (this._disposeFn = null)); + }), + t + ); + })(), + Fy = (function(t) { + function n(n, e, o, a) { + var r = t.call(this) || this; + return ( + (r.outletElement = n), + (r._componentFactoryResolver = e), + (r._appRef = o), + (r._defaultInjector = a), + r + ); + } + return ( + Object(o.__extends)(n, t), + (n.prototype.attachComponentPortal = function(t) { + var n, + e = this, + o = ( + t.componentFactoryResolver || this._componentFactoryResolver + ).resolveComponentFactory(t.component); + return ( + t.viewContainerRef + ? ((n = t.viewContainerRef.createComponent( + o, + t.viewContainerRef.length, + t.injector || t.viewContainerRef.injector + )), + this.setDisposeFn(function() { + return n.destroy(); + })) + : ((n = o.create(t.injector || this._defaultInjector)), + this._appRef.attachView(n.hostView), + this.setDisposeFn(function() { + e._appRef.detachView(n.hostView), n.destroy(); + })), + this.outletElement.appendChild(this._getComponentRootNode(n)), + n + ); + }), + (n.prototype.attachTemplatePortal = function(t) { + var n = this, + e = t.viewContainerRef, + o = e.createEmbeddedView(t.templateRef, t.context); + return ( + o.detectChanges(), + o.rootNodes.forEach(function(t) { + return n.outletElement.appendChild(t); + }), + this.setDisposeFn(function() { + var t = e.indexOf(o); + -1 !== t && e.remove(t); + }), + o + ); + }), + (n.prototype.dispose = function() { + t.prototype.dispose.call(this), + null != this.outletElement.parentNode && + this.outletElement.parentNode.removeChild(this.outletElement); + }), + (n.prototype._getComponentRootNode = function(t) { + return t.hostView.rootNodes[0]; + }), + n + ); + })(jy), + By = (function(t) { + function n(n, e) { + var o = t.call(this) || this; + return ( + (o._componentFactoryResolver = n), + (o._viewContainerRef = e), + (o._isInitialized = !1), + (o.attached = new ar()), + o + ); + } + return ( + Object(o.__extends)(n, t), + Object.defineProperty(n.prototype, "portal", { + get: function() { + return this._attachedPortal; + }, + set: function(n) { + (!this.hasAttached() || n || this._isInitialized) && + (this.hasAttached() && t.prototype.detach.call(this), + n && t.prototype.attach.call(this, n), + (this._attachedPortal = n)); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "attachedRef", { + get: function() { + return this._attachedRef; + }, + enumerable: !0, + configurable: !0 + }), + (n.prototype.ngOnInit = function() { + this._isInitialized = !0; + }), + (n.prototype.ngOnDestroy = function() { + t.prototype.dispose.call(this), + (this._attachedPortal = null), + (this._attachedRef = null); + }), + (n.prototype.attachComponentPortal = function(n) { + n.setAttachedHost(this); + var e = + null != n.viewContainerRef + ? n.viewContainerRef + : this._viewContainerRef, + o = ( + n.componentFactoryResolver || this._componentFactoryResolver + ).resolveComponentFactory(n.component), + a = e.createComponent(o, e.length, n.injector || e.injector); + return ( + t.prototype.setDisposeFn.call(this, function() { + return a.destroy(); + }), + (this._attachedPortal = n), + (this._attachedRef = a), + this.attached.emit(a), + a + ); + }), + (n.prototype.attachTemplatePortal = function(n) { + var e = this; + n.setAttachedHost(this); + var o = this._viewContainerRef.createEmbeddedView( + n.templateRef, + n.context + ); + return ( + t.prototype.setDisposeFn.call(this, function() { + return e._viewContainerRef.clear(); + }), + (this._attachedPortal = n), + (this._attachedRef = o), + this.attached.emit(o), + o + ); + }), + n + ); + })(jy), + Vy = (function() { + return function() {}; + })(), + Hy = (function() { + function t(t, n) { + (this._parentInjector = t), (this._customTokens = n); + } + return ( + (t.prototype.get = function(t, n) { + var e = this._customTokens.get(t); + return void 0 !== e ? e : this._parentInjector.get(t, n); + }), + t + ); + })(); + function Uy(t, n, e, o) { + return ( + i(e) && ((o = e), (e = void 0)), + o + ? Uy(t, n, e).pipe( + U(function(t) { + return a(t) ? o.apply(void 0, t) : o(t); + }) + ) + : new O(function(o) { + !(function t(n, e, o, a, r) { + var i; + if ( + (function(t) { + return ( + t && + "function" == typeof t.addEventListener && + "function" == typeof t.removeEventListener + ); + })(n) + ) { + var l = n; + n.addEventListener(e, o, r), + (i = function() { + return l.removeEventListener(e, o, r); + }); + } else if ( + (function(t) { + return ( + t && + "function" == typeof t.on && + "function" == typeof t.off + ); + })(n) + ) { + var s = n; + n.on(e, o), + (i = function() { + return s.off(e, o); + }); + } else if ( + (function(t) { + return ( + t && + "function" == typeof t.addListener && + "function" == typeof t.removeListener + ); + })(n) + ) { + var c = n; + n.addListener(e, o), + (i = function() { + return c.removeListener(e, o); + }); + } else { + if (!n || !n.length) + throw new TypeError("Invalid event target"); + for (var u = 0, d = n.length; u < d; u++) + t(n[u], e, o, a, r); + } + a.add(i); + })( + t, + n, + function(t) { + o.next( + arguments.length > 1 + ? Array.prototype.slice.call(arguments) + : t + ); + }, + o, + e + ); + }) + ); + } + var qy = (function(t) { + function n(n, e) { + var o = t.call(this, n, e) || this; + return (o.scheduler = n), (o.work = e), o; + } + return ( + o.__extends(n, t), + (n.prototype.requestAsyncId = function(n, e, o) { + return ( + void 0 === o && (o = 0), + null !== o && o > 0 + ? t.prototype.requestAsyncId.call(this, n, e, o) + : (n.actions.push(this), + n.scheduled || + (n.scheduled = requestAnimationFrame(function() { + return n.flush(null); + }))) + ); + }), + (n.prototype.recycleAsyncId = function(n, e, o) { + if ( + (void 0 === o && (o = 0), + (null !== o && o > 0) || (null === o && this.delay > 0)) + ) + return t.prototype.recycleAsyncId.call(this, n, e, o); + 0 === n.actions.length && + (cancelAnimationFrame(e), (n.scheduled = void 0)); + }), + n + ); + })(wf), + Ky = new ((function(t) { + function n() { + return (null !== t && t.apply(this, arguments)) || this; + } + return ( + o.__extends(n, t), + (n.prototype.flush = function(t) { + (this.active = !0), (this.scheduled = void 0); + var n, + e = this.actions, + o = -1, + a = e.length; + t = t || e.shift(); + do { + if ((n = t.execute(t.state, t.delay))) break; + } while (++o < a && (t = e.shift())); + if (((this.active = !1), n)) { + for (; ++o < a && (t = e.shift()); ) t.unsubscribe(); + throw n; + } + }), + n + ); + })(Ef))(qy), + Yy = 1, + Wy = {}, + Gy = (function(t) { + function n(n, e) { + var o = t.call(this, n, e) || this; + return (o.scheduler = n), (o.work = e), o; + } + return ( + o.__extends(n, t), + (n.prototype.requestAsyncId = function(n, e, o) { + return ( + void 0 === o && (o = 0), + null !== o && o > 0 + ? t.prototype.requestAsyncId.call(this, n, e, o) + : (n.actions.push(this), + n.scheduled || + (n.scheduled = + ((a = n.flush.bind(n, null)), + (r = Yy++), + (Wy[r] = a), + Promise.resolve().then(function() { + return (function(t) { + var n = Wy[t]; + n && n(); + })(r); + }), + r))) + ); + var a, r; + }), + (n.prototype.recycleAsyncId = function(n, e, o) { + if ( + (void 0 === o && (o = 0), + (null !== o && o > 0) || (null === o && this.delay > 0)) + ) + return t.prototype.recycleAsyncId.call(this, n, e, o); + 0 === n.actions.length && (delete Wy[e], (n.scheduled = void 0)); + }), + n + ); + })(wf), + Zy = new ((function(t) { + function n() { + return (null !== t && t.apply(this, arguments)) || this; + } + return ( + o.__extends(n, t), + (n.prototype.flush = function(t) { + (this.active = !0), (this.scheduled = void 0); + var n, + e = this.actions, + o = -1, + a = e.length; + t = t || e.shift(); + do { + if ((n = t.execute(t.state, t.delay))) break; + } while (++o < a && (t = e.shift())); + if (((this.active = !1), n)) { + for (; ++o < a && (t = e.shift()); ) t.unsubscribe(); + throw n; + } + }), + n + ); + })(Ef))(Gy), + Qy = (function() { + function t(t, n) { + (this.compare = t), (this.keySelector = n); + } + return ( + (t.prototype.call = function(t, n) { + return n.subscribe(new Xy(t, this.compare, this.keySelector)); + }), + t + ); + })(), + Xy = (function(t) { + function n(n, e, o) { + var a = t.call(this, n) || this; + return ( + (a.keySelector = o), + (a.hasKey = !1), + "function" == typeof e && (a.compare = e), + a + ); + } + return ( + o.__extends(n, t), + (n.prototype.compare = function(t, n) { + return t === n; + }), + (n.prototype._next = function(t) { + var n; + try { + var e = this.keySelector; + n = e ? e(t) : t; + } catch (a) { + return this.destination.error(a); + } + var o = !1; + if (this.hasKey) + try { + o = (0, this.compare)(this.key, n); + } catch (a) { + return this.destination.error(a); + } + else this.hasKey = !0; + o || ((this.key = n), this.destination.next(t)); + }), + n + ); + })(h), + Jy = (function() { + function t(t) { + this.durationSelector = t; + } + return ( + (t.prototype.call = function(t, n) { + return n.subscribe(new $y(t, this.durationSelector)); + }), + t + ); + })(), + $y = (function(t) { + function n(n, e) { + var o = t.call(this, n) || this; + return (o.durationSelector = e), (o.hasValue = !1), o; + } + return ( + o.__extends(n, t), + (n.prototype._next = function(t) { + if (((this.value = t), (this.hasValue = !0), !this.throttled)) { + var n = void 0; + try { + n = (0, this.durationSelector)(t); + } catch (o) { + return this.destination.error(o); + } + var e = V(this, n); + !e || e.closed + ? this.clearThrottle() + : this.add((this.throttled = e)); + } + }), + (n.prototype.clearThrottle = function() { + var t = this.value, + n = this.hasValue, + e = this.throttled; + e && (this.remove(e), (this.throttled = null), e.unsubscribe()), + n && + ((this.value = null), + (this.hasValue = !1), + this.destination.next(t)); + }), + (n.prototype.notifyNext = function(t, n, e, o) { + this.clearThrottle(); + }), + (n.prototype.notifyComplete = function() { + this.clearThrottle(); + }), + n + ); + })(H); + function tC(t) { + return !a(t) && t - parseFloat(t) + 1 >= 0; + } + function nC(t) { + var n = t.index, + e = t.period, + o = t.subscriber; + if ((o.next(n), !o.closed)) { + if (-1 === e) return o.complete(); + (t.index = n + 1), this.schedule(t, e); + } + } + function eC(t, n) { + return ( + void 0 === n && (n = If), + (e = function() { + return (function(t, n, e) { + void 0 === t && (t = 0); + var o = -1; + return ( + tC(n) ? (o = Number(n) < 1 ? 1 : Number(n)) : I(n) && (e = n), + I(e) || (e = If), + new O(function(n) { + var a = tC(t) ? t : +t - e.now(); + return e.schedule(nC, a, { + index: 0, + period: o, + subscriber: n + }); + }) + ); + })(t, n); + }), + function(t) { + return t.lift(new Jy(e)); + } + ); + var e; + } + function oC(t) { + return function(n) { + return n.lift(new rC(t)); + }; + } + var aC, + rC = (function() { + function t(t) { + this.notifier = t; + } + return ( + (t.prototype.call = function(t, n) { + var e = new iC(t), + o = V(e, this.notifier); + return o && !e.seenValue ? (e.add(o), n.subscribe(e)) : e; + }), + t + ); + })(), + iC = (function(t) { + function n(n) { + var e = t.call(this, n) || this; + return (e.seenValue = !1), e; + } + return ( + o.__extends(n, t), + (n.prototype.notifyNext = function(t, n, e, o, a) { + (this.seenValue = !0), this.complete(); + }), + (n.prototype.notifyComplete = function() {}), + n + ); + })(H), + lC = (function() { + function t() {} + return ( + (t.prototype.call = function(t, n) { + return n.subscribe(new sC(t)); + }), + t + ); + })(), + sC = (function(t) { + function n(n) { + var e = t.call(this, n) || this; + return (e.hasPrev = !1), e; + } + return ( + o.__extends(n, t), + (n.prototype._next = function(t) { + this.hasPrev + ? this.destination.next([this.prev, t]) + : (this.hasPrev = !0), + (this.prev = t); + }), + n + ); + })(h), + cC = (function(t) { + function n(n, e) { + var o = t.call(this, n, e) || this; + return (o.scheduler = n), (o.work = e), o; + } + return ( + o.__extends(n, t), + (n.prototype.schedule = function(n, e) { + return ( + void 0 === e && (e = 0), + e > 0 + ? t.prototype.schedule.call(this, n, e) + : ((this.delay = e), + (this.state = n), + this.scheduler.flush(this), + this) + ); + }), + (n.prototype.execute = function(n, e) { + return e > 0 || this.closed + ? t.prototype.execute.call(this, n, e) + : this._execute(n, e); + }), + (n.prototype.requestAsyncId = function(n, e, o) { + return ( + void 0 === o && (o = 0), + (null !== o && o > 0) || (null === o && this.delay > 0) + ? t.prototype.requestAsyncId.call(this, n, e, o) + : n.flush(this) + ); + }), + n + ); + })(wf), + uC = new ((function(t) { + function n() { + return (null !== t && t.apply(this, arguments)) || this; + } + return o.__extends(n, t), n; + })(Ef))(cC); + aC || (aC = {}); + var dC = (function() { + function t(t, n, e) { + (this.kind = t), + (this.value = n), + (this.error = e), + (this.hasValue = "N" === t); + } + return ( + (t.prototype.observe = function(t) { + switch (this.kind) { + case "N": + return t.next && t.next(this.value); + case "E": + return t.error && t.error(this.error); + case "C": + return t.complete && t.complete(); + } + }), + (t.prototype.do = function(t, n, e) { + switch (this.kind) { + case "N": + return t && t(this.value); + case "E": + return n && n(this.error); + case "C": + return e && e(); + } + }), + (t.prototype.accept = function(t, n, e) { + return t && "function" == typeof t.next + ? this.observe(t) + : this.do(t, n, e); + }), + (t.prototype.toObservable = function() { + switch (this.kind) { + case "N": + return Wl(this.value); + case "E": + return wh(this.error); + case "C": + return Kl(); + } + throw new Error("unexpected notification kind value"); + }), + (t.createNext = function(n) { + return void 0 !== n + ? new t("N", n) + : t.undefinedValueNotification; + }), + (t.createError = function(n) { + return new t("E", void 0, n); + }), + (t.createComplete = function() { + return t.completeNotification; + }), + (t.completeNotification = new t("C")), + (t.undefinedValueNotification = new t("N", void 0)), + t + ); + })(), + pC = (function(t) { + function n(n, e, o) { + void 0 === o && (o = 0); + var a = t.call(this, n) || this; + return (a.scheduler = e), (a.delay = o), a; + } + return ( + o.__extends(n, t), + (n.dispatch = function(t) { + t.notification.observe(t.destination), this.unsubscribe(); + }), + (n.prototype.scheduleMessage = function(t) { + this.destination.add( + this.scheduler.schedule( + n.dispatch, + this.delay, + new mC(t, this.destination) + ) + ); + }), + (n.prototype._next = function(t) { + this.scheduleMessage(dC.createNext(t)); + }), + (n.prototype._error = function(t) { + this.scheduleMessage(dC.createError(t)), this.unsubscribe(); + }), + (n.prototype._complete = function() { + this.scheduleMessage(dC.createComplete()), this.unsubscribe(); + }), + n + ); + })(h), + mC = (function() { + return function(t, n) { + (this.notification = t), (this.destination = n); + }; + })(), + gC = (function(t) { + function n(n, e, o) { + void 0 === n && (n = Number.POSITIVE_INFINITY), + void 0 === e && (e = Number.POSITIVE_INFINITY); + var a = t.call(this) || this; + return ( + (a.scheduler = o), + (a._events = []), + (a._infiniteTimeWindow = !1), + (a._bufferSize = n < 1 ? 1 : n), + (a._windowTime = e < 1 ? 1 : e), + e === Number.POSITIVE_INFINITY + ? ((a._infiniteTimeWindow = !0), + (a.next = a.nextInfiniteTimeWindow)) + : (a.next = a.nextTimeWindow), + a + ); + } + return ( + o.__extends(n, t), + (n.prototype.nextInfiniteTimeWindow = function(n) { + var e = this._events; + e.push(n), + e.length > this._bufferSize && e.shift(), + t.prototype.next.call(this, n); + }), + (n.prototype.nextTimeWindow = function(n) { + this._events.push(new fC(this._getNow(), n)), + this._trimBufferThenGetEvents(), + t.prototype.next.call(this, n); + }), + (n.prototype._subscribe = function(t) { + var n, + e = this._infiniteTimeWindow, + o = e ? this._events : this._trimBufferThenGetEvents(), + a = this.scheduler, + r = o.length; + if (this.closed) throw new x(); + if ( + (this.isStopped || this.hasError + ? (n = c.EMPTY) + : (this.observers.push(t), (n = new k(this, t))), + a && t.add((t = new pC(t, a))), + e) + ) + for (var i = 0; i < r && !t.closed; i++) t.next(o[i]); + else for (i = 0; i < r && !t.closed; i++) t.next(o[i].value); + return ( + this.hasError + ? t.error(this.thrownError) + : this.isStopped && t.complete(), + n + ); + }), + (n.prototype._getNow = function() { + return (this.scheduler || uC).now(); + }), + (n.prototype._trimBufferThenGetEvents = function() { + for ( + var t = this._getNow(), + n = this._bufferSize, + e = this._windowTime, + o = this._events, + a = o.length, + r = 0; + r < a && !(t - o[r].time < e); + + ) + r++; + return ( + a > n && (r = Math.max(r, a - n)), r > 0 && o.splice(0, r), o + ); + }), + n + ); + })(S), + fC = (function() { + return function(t, n) { + (this.time = t), (this.value = n); + }; + })(), + hC = (function(t) { + function n(n) { + var e = t.call(this) || this; + return (e._data = n), e; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.connect = function() { + return this._data instanceof O ? this._data : Wl(this._data); + }), + (n.prototype.disconnect = function() {}), + n + ); + })( + (function() { + return function() {}; + })() + ), + bC = (function() { + function t(t, n, e) { + var o = this; + void 0 === t && (t = !1), + void 0 === e && (e = !0), + (this._multiple = t), + (this._emitChanges = e), + (this._selection = new Set()), + (this._deselectedToEmit = []), + (this._selectedToEmit = []), + (this.changed = new S()), + (this.onChange = this.changed), + n && + n.length && + (t + ? n.forEach(function(t) { + return o._markSelected(t); + }) + : this._markSelected(n[0]), + (this._selectedToEmit.length = 0)); + } + return ( + Object.defineProperty(t.prototype, "selected", { + get: function() { + return ( + this._selected || + (this._selected = Array.from(this._selection.values())), + this._selected + ); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.select = function() { + for (var t = this, n = [], e = 0; e < arguments.length; e++) + n[e] = arguments[e]; + this._verifyValueAssignment(n), + n.forEach(function(n) { + return t._markSelected(n); + }), + this._emitChangeEvent(); + }), + (t.prototype.deselect = function() { + for (var t = this, n = [], e = 0; e < arguments.length; e++) + n[e] = arguments[e]; + this._verifyValueAssignment(n), + n.forEach(function(n) { + return t._unmarkSelected(n); + }), + this._emitChangeEvent(); + }), + (t.prototype.toggle = function(t) { + this.isSelected(t) ? this.deselect(t) : this.select(t); + }), + (t.prototype.clear = function() { + this._unmarkAll(), this._emitChangeEvent(); + }), + (t.prototype.isSelected = function(t) { + return this._selection.has(t); + }), + (t.prototype.isEmpty = function() { + return 0 === this._selection.size; + }), + (t.prototype.hasValue = function() { + return !this.isEmpty(); + }), + (t.prototype.sort = function(t) { + this._multiple && this.selected && this._selected.sort(t); + }), + (t.prototype.isMultipleSelection = function() { + return this._multiple; + }), + (t.prototype._emitChangeEvent = function() { + (this._selected = null), + (this._selectedToEmit.length || + this._deselectedToEmit.length) && + (this.changed.next({ + source: this, + added: this._selectedToEmit, + removed: this._deselectedToEmit + }), + (this._deselectedToEmit = []), + (this._selectedToEmit = [])); + }), + (t.prototype._markSelected = function(t) { + this.isSelected(t) || + (this._multiple || this._unmarkAll(), + this._selection.add(t), + this._emitChanges && this._selectedToEmit.push(t)); + }), + (t.prototype._unmarkSelected = function(t) { + this.isSelected(t) && + (this._selection.delete(t), + this._emitChanges && this._deselectedToEmit.push(t)); + }), + (t.prototype._unmarkAll = function() { + var t = this; + this.isEmpty() || + this._selection.forEach(function(n) { + return t._unmarkSelected(n); + }); + }), + (t.prototype._verifyValueAssignment = function(t) { + if (t.length > 1 && !this._multiple) + throw Error( + "Cannot pass multiple values into SelectionModel with single-value mode." + ); + }), + t + ); + })(), + _C = new Ut("VIRTUAL_SCROLL_STRATEGY"), + yC = (function() { + function t(t, n, e) { + (this._scrolledIndexChange = new S()), + (this.scrolledIndexChange = this._scrolledIndexChange.pipe( + function(t) { + return t.lift(new Qy(void 0, void 0)); + } + )), + (this._viewport = null), + (this._itemSize = t), + (this._minBufferPx = n), + (this._maxBufferPx = e); + } + return ( + (t.prototype.attach = function(t) { + (this._viewport = t), + this._updateTotalContentSize(), + this._updateRenderedRange(); + }), + (t.prototype.detach = function() { + this._scrolledIndexChange.complete(), (this._viewport = null); + }), + (t.prototype.updateItemAndBufferSize = function(t, n, e) { + if (e < n) + throw Error( + "CDK virtual scroll: maxBufferPx must be greater than or equal to minBufferPx" + ); + (this._itemSize = t), + (this._minBufferPx = n), + (this._maxBufferPx = e), + this._updateTotalContentSize(), + this._updateRenderedRange(); + }), + (t.prototype.onContentScrolled = function() { + this._updateRenderedRange(); + }), + (t.prototype.onDataLengthChanged = function() { + this._updateTotalContentSize(), this._updateRenderedRange(); + }), + (t.prototype.onContentRendered = function() {}), + (t.prototype.onRenderedOffsetChanged = function() {}), + (t.prototype.scrollToIndex = function(t, n) { + this._viewport && + this._viewport.scrollToOffset(t * this._itemSize, n); + }), + (t.prototype._updateTotalContentSize = function() { + this._viewport && + this._viewport.setTotalContentSize( + this._viewport.getDataLength() * this._itemSize + ); + }), + (t.prototype._updateRenderedRange = function() { + if (this._viewport) { + var t = this._viewport.measureScrollOffset(), + n = t / this._itemSize, + e = this._viewport.getRenderedRange(), + o = { start: e.start, end: e.end }, + a = this._viewport.getViewportSize(), + r = this._viewport.getDataLength(), + i = t - o.start * this._itemSize; + if (i < this._minBufferPx && 0 != o.start) { + var l = Math.ceil((this._maxBufferPx - i) / this._itemSize); + (o.start = Math.max(0, o.start - l)), + (o.end = Math.min( + r, + Math.ceil(n + (a + this._minBufferPx) / this._itemSize) + )); + } else { + var s = o.end * this._itemSize - (t + a); + if (s < this._minBufferPx && o.end != r) { + var c = Math.ceil((this._maxBufferPx - s) / this._itemSize); + c > 0 && + ((o.end = Math.min(r, o.end + c)), + (o.start = Math.max( + 0, + Math.floor(n - this._minBufferPx / this._itemSize) + ))); + } + } + this._viewport.setRenderedRange(o), + this._viewport.setRenderedContentOffset( + this._itemSize * o.start + ), + this._scrolledIndexChange.next(Math.floor(n)); + } + }), + t + ); + })(); + function CC(t) { + return t._scrollStrategy; + } + var vC = (function() { + function t() { + (this._itemSize = 20), + (this._minBufferPx = 100), + (this._maxBufferPx = 200), + (this._scrollStrategy = new yC( + this.itemSize, + this.minBufferPx, + this.maxBufferPx + )); + } + return ( + Object.defineProperty(t.prototype, "itemSize", { + get: function() { + return this._itemSize; + }, + set: function(t) { + this._itemSize = cf(t); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "minBufferPx", { + get: function() { + return this._minBufferPx; + }, + set: function(t) { + this._minBufferPx = cf(t); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "maxBufferPx", { + get: function() { + return this._maxBufferPx; + }, + set: function(t) { + this._maxBufferPx = cf(t); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.ngOnChanges = function() { + this._scrollStrategy.updateItemAndBufferSize( + this.itemSize, + this.minBufferPx, + this.maxBufferPx + ); + }), + t + ); + })(), + OC = (function() { + function t(t, n) { + (this._ngZone = t), + (this._platform = n), + (this._scrolled = new S()), + (this._globalSubscription = null), + (this._scrolledCount = 0), + (this.scrollContainers = new Map()); + } + return ( + (t.prototype.register = function(t) { + var n = this; + this.scrollContainers.has(t) || + this.scrollContainers.set( + t, + t.elementScrolled().subscribe(function() { + return n._scrolled.next(t); + }) + ); + }), + (t.prototype.deregister = function(t) { + var n = this.scrollContainers.get(t); + n && (n.unsubscribe(), this.scrollContainers.delete(t)); + }), + (t.prototype.scrolled = function(t) { + var n = this; + return ( + void 0 === t && (t = 20), + this._platform.isBrowser + ? new O(function(e) { + n._globalSubscription || n._addGlobalListener(); + var o = + t > 0 + ? n._scrolled.pipe(eC(t)).subscribe(e) + : n._scrolled.subscribe(e); + return ( + n._scrolledCount++, + function() { + o.unsubscribe(), + n._scrolledCount--, + n._scrolledCount || n._removeGlobalListener(); + } + ); + }) + : Wl() + ); + }), + (t.prototype.ngOnDestroy = function() { + var t = this; + this._removeGlobalListener(), + this.scrollContainers.forEach(function(n, e) { + return t.deregister(e); + }), + this._scrolled.complete(); + }), + (t.prototype.ancestorScrolled = function(t, n) { + var e = this.getAncestorScrollContainers(t); + return this.scrolled(n).pipe( + Zl(function(t) { + return !t || e.indexOf(t) > -1; + }) + ); + }), + (t.prototype.getAncestorScrollContainers = function(t) { + var n = this, + e = []; + return ( + this.scrollContainers.forEach(function(o, a) { + n._scrollableContainsElement(a, t) && e.push(a); + }), + e + ); + }), + (t.prototype._scrollableContainsElement = function(t, n) { + var e = n.nativeElement, + o = t.getElementRef().nativeElement; + do { + if (e == o) return !0; + } while ((e = e.parentElement)); + return !1; + }), + (t.prototype._addGlobalListener = function() { + var t = this; + this._globalSubscription = this._ngZone.runOutsideAngular( + function() { + return Uy(window.document, "scroll").subscribe(function() { + return t._scrolled.next(); + }); + } + ); + }), + (t.prototype._removeGlobalListener = function() { + this._globalSubscription && + (this._globalSubscription.unsubscribe(), + (this._globalSubscription = null)); + }), + (t.ngInjectableDef = yt({ + factory: function() { + return new t(Tt(Dr), Tt(ff)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + PC = (function() { + function t(t, n, e, o) { + var a = this; + (this.elementRef = t), + (this.scrollDispatcher = n), + (this.ngZone = e), + (this.dir = o), + (this._destroyed = new S()), + (this._elementScrolled = new O(function(t) { + return a.ngZone.runOutsideAngular(function() { + return Uy(a.elementRef.nativeElement, "scroll") + .pipe(oC(a._destroyed)) + .subscribe(t); + }); + })); + } + return ( + (t.prototype.ngOnInit = function() { + this.scrollDispatcher.register(this); + }), + (t.prototype.ngOnDestroy = function() { + this.scrollDispatcher.deregister(this), + this._destroyed.next(), + this._destroyed.complete(); + }), + (t.prototype.elementScrolled = function() { + return this._elementScrolled; + }), + (t.prototype.getElementRef = function() { + return this.elementRef; + }), + (t.prototype.scrollTo = function(t) { + var n = this.elementRef.nativeElement, + e = this.dir && "rtl" == this.dir.value; + (t.left = null == t.left ? (e ? t.end : t.start) : t.left), + (t.right = null == t.right ? (e ? t.start : t.end) : t.right), + null != t.bottom && + (t.top = n.scrollHeight - n.clientHeight - t.bottom), + e && Of() != vf.NORMAL + ? (null != t.left && + (t.right = n.scrollWidth - n.clientWidth - t.left), + Of() == vf.INVERTED + ? (t.left = t.right) + : Of() == vf.NEGATED && + (t.left = t.right ? -t.right : t.right)) + : null != t.right && + (t.left = n.scrollWidth - n.clientWidth - t.right), + this._applyScrollToOptions(t); + }), + (t.prototype._applyScrollToOptions = function(t) { + var n = this.elementRef.nativeElement; + "object" == typeof document && + "scrollBehavior" in document.documentElement.style + ? n.scrollTo(t) + : (null != t.top && (n.scrollTop = t.top), + null != t.left && (n.scrollLeft = t.left)); + }), + (t.prototype.measureScrollOffset = function(t) { + var n = this.elementRef.nativeElement; + if ("top" == t) return n.scrollTop; + if ("bottom" == t) + return n.scrollHeight - n.clientHeight - n.scrollTop; + var e = this.dir && "rtl" == this.dir.value; + return ( + "start" == t + ? (t = e ? "right" : "left") + : "end" == t && (t = e ? "left" : "right"), + e && Of() == vf.INVERTED + ? "left" == t + ? n.scrollWidth - n.clientWidth - n.scrollLeft + : n.scrollLeft + : e && Of() == vf.NEGATED + ? "left" == t + ? n.scrollLeft + n.scrollWidth - n.clientWidth + : -n.scrollLeft + : "left" == t + ? n.scrollLeft + : n.scrollWidth - n.clientWidth - n.scrollLeft + ); + }), + t + ); + })(), + MC = "undefined" != typeof requestAnimationFrame ? Ky : Zy, + xC = (function(t) { + function n(n, e, o, a, r, i) { + var l = t.call(this, n, i, o, r) || this; + if ( + ((l.elementRef = n), + (l._changeDetectorRef = e), + (l._scrollStrategy = a), + (l._detachedSubject = new S()), + (l._renderedRangeSubject = new S()), + (l.orientation = "vertical"), + (l.scrolledIndexChange = new O(function(t) { + return l._scrollStrategy.scrolledIndexChange.subscribe(function( + n + ) { + return Promise.resolve().then(function() { + return l.ngZone.run(function() { + return t.next(n); + }); + }); + }); + })), + (l.renderedRangeStream = l._renderedRangeSubject.asObservable()), + (l._totalContentSizeTransform = ""), + (l._totalContentSize = 0), + (l._renderedRange = { start: 0, end: 0 }), + (l._dataLength = 0), + (l._viewportSize = 0), + (l._renderedContentOffset = 0), + (l._renderedContentOffsetNeedsRewrite = !1), + (l._isChangeDetectionPending = !1), + (l._runAfterChangeDetection = []), + !a) + ) + throw Error( + 'Error: cdk-virtual-scroll-viewport requires the "itemSize" property to be set.' + ); + return l; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.ngOnInit = function() { + var n = this; + t.prototype.ngOnInit.call(this), + this.ngZone.runOutsideAngular(function() { + return Promise.resolve().then(function() { + n._measureViewportSize(), + n._scrollStrategy.attach(n), + n + .elementScrolled() + .pipe( + nu(null), + eC(0, MC) + ) + .subscribe(function() { + return n._scrollStrategy.onContentScrolled(); + }), + n._markChangeDetectionNeeded(); + }); + }); + }), + (n.prototype.ngOnDestroy = function() { + this.detach(), + this._scrollStrategy.detach(), + this._renderedRangeSubject.complete(), + this._detachedSubject.complete(), + t.prototype.ngOnDestroy.call(this); + }), + (n.prototype.attach = function(t) { + var n = this; + if (this._forOf) + throw Error("CdkVirtualScrollViewport is already attached."); + this.ngZone.runOutsideAngular(function() { + (n._forOf = t), + n._forOf.dataStream + .pipe(oC(n._detachedSubject)) + .subscribe(function(t) { + var e = t.length; + e !== n._dataLength && + ((n._dataLength = e), + n._scrollStrategy.onDataLengthChanged()), + n._doChangeDetection(); + }); + }); + }), + (n.prototype.detach = function() { + (this._forOf = null), this._detachedSubject.next(); + }), + (n.prototype.getDataLength = function() { + return this._dataLength; + }), + (n.prototype.getViewportSize = function() { + return this._viewportSize; + }), + (n.prototype.getRenderedRange = function() { + return this._renderedRange; + }), + (n.prototype.setTotalContentSize = function(t) { + this._totalContentSize !== t && + ((this._totalContentSize = t), + (this._totalContentSizeTransform = + "scale" + + ("horizontal" == this.orientation ? "X" : "Y") + + "(" + + this._totalContentSize + + ")"), + this._markChangeDetectionNeeded()); + }), + (n.prototype.setRenderedRange = function(t) { + var n, + e, + o = this; + ((n = this._renderedRange).start != (e = t).start || + n.end != e.end) && + (this._renderedRangeSubject.next((this._renderedRange = t)), + this._markChangeDetectionNeeded(function() { + return o._scrollStrategy.onContentRendered(); + })); + }), + (n.prototype.getOffsetToRenderedContentStart = function() { + return this._renderedContentOffsetNeedsRewrite + ? null + : this._renderedContentOffset; + }), + (n.prototype.setRenderedContentOffset = function(t, n) { + var e = this; + void 0 === n && (n = "to-start"); + var o = "horizontal" == this.orientation, + a = o ? "X" : "Y", + r = + "translate" + + a + + "(" + + Number( + (o && this.dir && "rtl" == this.dir.value ? -1 : 1) * t + ) + + "px)"; + (this._renderedContentOffset = t), + "to-end" === n && + ((r += " translate" + a + "(-100%)"), + (this._renderedContentOffsetNeedsRewrite = !0)), + this._renderedContentTransform != r && + ((this._renderedContentTransform = r), + this._markChangeDetectionNeeded(function() { + e._renderedContentOffsetNeedsRewrite + ? ((e._renderedContentOffset -= e.measureRenderedContentSize()), + (e._renderedContentOffsetNeedsRewrite = !1), + e.setRenderedContentOffset(e._renderedContentOffset)) + : e._scrollStrategy.onRenderedOffsetChanged(); + })); + }), + (n.prototype.scrollToOffset = function(t, n) { + void 0 === n && (n = "auto"); + var e = { behavior: n }; + "horizontal" === this.orientation ? (e.start = t) : (e.top = t), + this.scrollTo(e); + }), + (n.prototype.scrollToIndex = function(t, n) { + void 0 === n && (n = "auto"), + this._scrollStrategy.scrollToIndex(t, n); + }), + (n.prototype.measureScrollOffset = function(n) { + return t.prototype.measureScrollOffset.call( + this, + n || ("horizontal" === this.orientation ? "start" : "top") + ); + }), + (n.prototype.measureRenderedContentSize = function() { + var t = this._contentWrapper.nativeElement; + return "horizontal" === this.orientation + ? t.offsetWidth + : t.offsetHeight; + }), + (n.prototype.measureRangeSize = function(t) { + return this._forOf + ? this._forOf.measureRangeSize(t, this.orientation) + : 0; + }), + (n.prototype.checkViewportSize = function() { + this._measureViewportSize(), + this._scrollStrategy.onDataLengthChanged(); + }), + (n.prototype._measureViewportSize = function() { + var t = this.elementRef.nativeElement; + this._viewportSize = + "horizontal" === this.orientation + ? t.clientWidth + : t.clientHeight; + }), + (n.prototype._markChangeDetectionNeeded = function(t) { + var n = this; + t && this._runAfterChangeDetection.push(t), + this._isChangeDetectionPending || + ((this._isChangeDetectionPending = !0), + this.ngZone.runOutsideAngular(function() { + return Promise.resolve().then(function() { + n._doChangeDetection(); + }); + })); + }), + (n.prototype._doChangeDetection = function() { + var t = this; + (this._isChangeDetectionPending = !1), + this.ngZone.run(function() { + return t._changeDetectorRef.markForCheck(); + }), + (this._contentWrapper.nativeElement.style.transform = this._renderedContentTransform); + var n = this._runAfterChangeDetection; + this._runAfterChangeDetection = []; + for (var e = 0, o = n; e < o.length; e++) (0, o[e])(); + }), + n + ); + })(PC); + function kC(t, n) { + if (!n.getBoundingClientRect) return 0; + var e = n.getBoundingClientRect(); + return "horizontal" == t ? e.width : e.height; + } + var wC = (function() { + function t(t, n, e, o, a) { + var r, + i = this; + (this._viewContainerRef = t), + (this._template = n), + (this._differs = e), + (this._viewport = o), + (this.viewChange = new S()), + (this._dataSourceChanges = new S()), + (this.cdkVirtualForTemplateCacheSize = 20), + (this.dataStream = this._dataSourceChanges.pipe( + nu(null), + function(t) { + return t.lift(new lC()); + }, + Jc(function(t) { + return i._changeDataSource(t[0], t[1]); + }), + (1, + (r = { + bufferSize: 1, + windowTime: void 0, + refCount: !1, + scheduler: void 0 + }), + function(t) { + return t.lift( + ((i = + void 0 === (a = (n = r).bufferSize) + ? Number.POSITIVE_INFINITY + : a), + (s = + void 0 === (l = n.windowTime) + ? Number.POSITIVE_INFINITY + : l), + (c = n.refCount), + (u = n.scheduler), + (d = 0), + (p = !1), + (m = !1), + function(t) { + d++, + (e && !p) || + ((p = !1), + (e = new gC(i, s, u)), + (o = t.subscribe({ + next: function(t) { + e.next(t); + }, + error: function(t) { + (p = !0), e.error(t); + }, + complete: function() { + (m = !0), e.complete(); + } + }))); + var n = e.subscribe(this); + this.add(function() { + d--, + n.unsubscribe(), + o && + !m && + c && + 0 === d && + (o.unsubscribe(), (o = void 0), (e = void 0)); + }); + }) + ); + var n, e, o, a, i, l, s, c, u, d, p, m; + }) + )), + (this._differ = null), + (this._templateCache = []), + (this._needsUpdate = !1), + (this._destroyed = new S()), + this.dataStream.subscribe(function(t) { + (i._data = t), i._onRenderedDataChange(); + }), + this._viewport.renderedRangeStream + .pipe(oC(this._destroyed)) + .subscribe(function(t) { + (i._renderedRange = t), + a.run(function() { + return i.viewChange.next(i._renderedRange); + }), + i._onRenderedDataChange(); + }), + this._viewport.attach(this); + } + return ( + Object.defineProperty(t.prototype, "cdkVirtualForOf", { + get: function() { + return this._cdkVirtualForOf; + }, + set: function(t) { + this._cdkVirtualForOf = t; + var n = (function(t) { + return t && "function" == typeof t.connect; + })(t) + ? t + : new hC( + t instanceof O ? t : Array.prototype.slice.call(t || []) + ); + this._dataSourceChanges.next(n); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "cdkVirtualForTrackBy", { + get: function() { + return this._cdkVirtualForTrackBy; + }, + set: function(t) { + var n = this; + (this._needsUpdate = !0), + (this._cdkVirtualForTrackBy = t + ? function(e, o) { + return t( + e + (n._renderedRange ? n._renderedRange.start : 0), + o + ); + } + : void 0); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "cdkVirtualForTemplate", { + set: function(t) { + t && ((this._needsUpdate = !0), (this._template = t)); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.measureRangeSize = function(t, n) { + if (t.start >= t.end) return 0; + if ( + t.start < this._renderedRange.start || + t.end > this._renderedRange.end + ) + throw Error( + "Error: attempted to measure an item that isn't rendered." + ); + for ( + var e = t.start - this._renderedRange.start, + o = 0, + a = t.end - t.start; + a--; + + ) + for ( + var r = this._viewContainerRef.get(a + e), + i = r ? r.rootNodes.length : 0; + i--; + + ) + o += kC(n, r.rootNodes[i]); + return o; + }), + (t.prototype.ngDoCheck = function() { + if (this._differ && this._needsUpdate) { + var t = this._differ.diff(this._renderedItems); + t ? this._applyChanges(t) : this._updateContext(), + (this._needsUpdate = !1); + } + }), + (t.prototype.ngOnDestroy = function() { + this._viewport.detach(), + this._dataSourceChanges.next(), + this._dataSourceChanges.complete(), + this.viewChange.complete(), + this._destroyed.next(), + this._destroyed.complete(); + for (var t = 0, n = this._templateCache; t < n.length; t++) + n[t].destroy(); + }), + (t.prototype._onRenderedDataChange = function() { + this._renderedRange && + ((this._renderedItems = this._data.slice( + this._renderedRange.start, + this._renderedRange.end + )), + this._differ || + (this._differ = this._differs + .find(this._renderedItems) + .create(this.cdkVirtualForTrackBy)), + (this._needsUpdate = !0)); + }), + (t.prototype._changeDataSource = function(t, n) { + return ( + t && t.disconnect(this), + (this._needsUpdate = !0), + n ? n.connect(this) : Wl() + ); + }), + (t.prototype._updateContext = function() { + for ( + var t = this._data.length, n = this._viewContainerRef.length; + n--; + + ) { + var e = this._viewContainerRef.get(n); + (e.context.index = this._renderedRange.start + n), + (e.context.count = t), + this._updateComputedContextProperties(e.context), + e.detectChanges(); + } + }), + (t.prototype._applyChanges = function(t) { + var n = this; + t.forEachOperation(function(t, e, o) { + if (null == t.previousIndex) + (a = n._insertViewForNewItem(o)).context.$implicit = t.item; + else if (null == o) n._cacheView(n._detachView(e)); + else { + var a = n._viewContainerRef.get(e); + n._viewContainerRef.move(a, o), + (a.context.$implicit = t.item); + } + }), + t.forEachIdentityChange(function(t) { + n._viewContainerRef.get(t.currentIndex).context.$implicit = + t.item; + }); + for ( + var e = this._data.length, o = this._viewContainerRef.length; + o--; + + ) { + var a = this._viewContainerRef.get(o); + (a.context.index = this._renderedRange.start + o), + (a.context.count = e), + this._updateComputedContextProperties(a.context); + } + }), + (t.prototype._cacheView = function(t) { + if ( + this._templateCache.length < this.cdkVirtualForTemplateCacheSize + ) + this._templateCache.push(t); + else { + var n = this._viewContainerRef.indexOf(t); + -1 === n ? t.destroy() : this._viewContainerRef.remove(n); + } + }), + (t.prototype._insertViewForNewItem = function(t) { + return ( + this._insertViewFromCache(t) || this._createEmbeddedViewAt(t) + ); + }), + (t.prototype._updateComputedContextProperties = function(t) { + (t.first = 0 === t.index), + (t.last = t.index === t.count - 1), + (t.even = t.index % 2 == 0), + (t.odd = !t.even); + }), + (t.prototype._createEmbeddedViewAt = function(t) { + return this._viewContainerRef.createEmbeddedView( + this._template, + { + $implicit: null, + cdkVirtualForOf: this._cdkVirtualForOf, + index: -1, + count: -1, + first: !1, + last: !1, + odd: !1, + even: !1 + }, + t + ); + }), + (t.prototype._insertViewFromCache = function(t) { + var n = this._templateCache.pop(); + return n && this._viewContainerRef.insert(n, t), n || null; + }), + (t.prototype._detachView = function(t) { + return this._viewContainerRef.detach(t); + }), + t + ); + })(), + SC = (function() { + return function() {}; + })(), + EC = (function() { + return function() {}; + })(), + IC = (function() { + function t(t, n) { + var e = this; + (this._platform = t), + n.runOutsideAngular(function() { + (e._change = t.isBrowser + ? $(Uy(window, "resize"), Uy(window, "orientationchange")) + : Wl()), + (e._invalidateCache = e.change().subscribe(function() { + return e._updateViewportSize(); + })); + }); + } + return ( + (t.prototype.ngOnDestroy = function() { + this._invalidateCache.unsubscribe(); + }), + (t.prototype.getViewportSize = function() { + this._viewportSize || this._updateViewportSize(); + var t = { + width: this._viewportSize.width, + height: this._viewportSize.height + }; + return this._platform.isBrowser || (this._viewportSize = null), t; + }), + (t.prototype.getViewportRect = function() { + var t = this.getViewportScrollPosition(), + n = this.getViewportSize(), + e = n.width, + o = n.height; + return { + top: t.top, + left: t.left, + bottom: t.top + o, + right: t.left + e, + height: o, + width: e + }; + }), + (t.prototype.getViewportScrollPosition = function() { + if (!this._platform.isBrowser) return { top: 0, left: 0 }; + var t = document.documentElement, + n = t.getBoundingClientRect(); + return { + top: + -n.top || + document.body.scrollTop || + window.scrollY || + t.scrollTop || + 0, + left: + -n.left || + document.body.scrollLeft || + window.scrollX || + t.scrollLeft || + 0 + }; + }), + (t.prototype.change = function(t) { + return ( + void 0 === t && (t = 20), + t > 0 ? this._change.pipe(eC(t)) : this._change + ); + }), + (t.prototype._updateViewportSize = function() { + this._viewportSize = this._platform.isBrowser + ? { width: window.innerWidth, height: window.innerHeight } + : { width: 0, height: 0 }; + }), + (t.ngInjectableDef = yt({ + factory: function() { + return new t(Tt(ff), Tt(Dr)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + AC = (function() { + function t(t, n) { + (this._viewportRuler = t), + (this._previousHTMLStyles = { top: "", left: "" }), + (this._isEnabled = !1), + (this._document = n); + } + return ( + (t.prototype.attach = function() {}), + (t.prototype.enable = function() { + if (this._canBeEnabled()) { + var t = this._document.documentElement; + (this._previousScrollPosition = this._viewportRuler.getViewportScrollPosition()), + (this._previousHTMLStyles.left = t.style.left || ""), + (this._previousHTMLStyles.top = t.style.top || ""), + (t.style.left = df(-this._previousScrollPosition.left)), + (t.style.top = df(-this._previousScrollPosition.top)), + t.classList.add("cdk-global-scrollblock"), + (this._isEnabled = !0); + } + }), + (t.prototype.disable = function() { + if (this._isEnabled) { + var t = this._document.documentElement, + n = t.style, + e = this._document.body.style, + o = n.scrollBehavior || "", + a = e.scrollBehavior || ""; + (this._isEnabled = !1), + (n.left = this._previousHTMLStyles.left), + (n.top = this._previousHTMLStyles.top), + t.classList.remove("cdk-global-scrollblock"), + (n.scrollBehavior = e.scrollBehavior = "auto"), + window.scroll( + this._previousScrollPosition.left, + this._previousScrollPosition.top + ), + (n.scrollBehavior = o), + (e.scrollBehavior = a); + } + }), + (t.prototype._canBeEnabled = function() { + if ( + this._document.documentElement.classList.contains( + "cdk-global-scrollblock" + ) || + this._isEnabled + ) + return !1; + var t = this._document.body, + n = this._viewportRuler.getViewportSize(); + return t.scrollHeight > n.height || t.scrollWidth > n.width; + }), + t + ); + })(); + function TC() { + return Error("Scroll strategy has already been attached."); + } + var RC = (function() { + function t(t, n, e, o) { + var a = this; + (this._scrollDispatcher = t), + (this._ngZone = n), + (this._viewportRuler = e), + (this._config = o), + (this._scrollSubscription = null), + (this._detach = function() { + a.disable(), + a._overlayRef.hasAttached() && + a._ngZone.run(function() { + return a._overlayRef.detach(); + }); + }); + } + return ( + (t.prototype.attach = function(t) { + if (this._overlayRef) throw TC(); + this._overlayRef = t; + }), + (t.prototype.enable = function() { + var t = this; + if (!this._scrollSubscription) { + var n = this._scrollDispatcher.scrolled(0); + this._config && + this._config.threshold && + this._config.threshold > 1 + ? ((this._initialScrollPosition = this._viewportRuler.getViewportScrollPosition().top), + (this._scrollSubscription = n.subscribe(function() { + var n = t._viewportRuler.getViewportScrollPosition().top; + Math.abs(n - t._initialScrollPosition) > + t._config.threshold + ? t._detach() + : t._overlayRef.updatePosition(); + }))) + : (this._scrollSubscription = n.subscribe(this._detach)); + } + }), + (t.prototype.disable = function() { + this._scrollSubscription && + (this._scrollSubscription.unsubscribe(), + (this._scrollSubscription = null)); + }), + (t.prototype.detach = function() { + this.disable(), (this._overlayRef = null); + }), + t + ); + })(), + DC = (function() { + function t() {} + return ( + (t.prototype.enable = function() {}), + (t.prototype.disable = function() {}), + (t.prototype.attach = function() {}), + t + ); + })(); + function NC(t, n) { + return n.some(function(n) { + return ( + t.bottom < n.top || + t.top > n.bottom || + t.right < n.left || + t.left > n.right + ); + }); + } + function zC(t, n) { + return n.some(function(n) { + return ( + t.top < n.top || + t.bottom > n.bottom || + t.left < n.left || + t.right > n.right + ); + }); + } + var LC = (function() { + function t(t, n, e, o) { + (this._scrollDispatcher = t), + (this._viewportRuler = n), + (this._ngZone = e), + (this._config = o), + (this._scrollSubscription = null); + } + return ( + (t.prototype.attach = function(t) { + if (this._overlayRef) throw TC(); + this._overlayRef = t; + }), + (t.prototype.enable = function() { + var t = this; + this._scrollSubscription || + (this._scrollSubscription = this._scrollDispatcher + .scrolled(this._config ? this._config.scrollThrottle : 0) + .subscribe(function() { + if ( + (t._overlayRef.updatePosition(), + t._config && t._config.autoClose) + ) { + var n = t._overlayRef.overlayElement.getBoundingClientRect(), + e = t._viewportRuler.getViewportSize(), + o = e.width, + a = e.height; + NC(n, [ + { + width: o, + height: a, + bottom: a, + right: o, + top: 0, + left: 0 + } + ]) && + (t.disable(), + t._ngZone.run(function() { + return t._overlayRef.detach(); + })); + } + })); + }), + (t.prototype.disable = function() { + this._scrollSubscription && + (this._scrollSubscription.unsubscribe(), + (this._scrollSubscription = null)); + }), + (t.prototype.detach = function() { + this.disable(), (this._overlayRef = null); + }), + t + ); + })(), + jC = (function() { + function t(t, n, e, o) { + var a = this; + (this._scrollDispatcher = t), + (this._viewportRuler = n), + (this._ngZone = e), + (this.noop = function() { + return new DC(); + }), + (this.close = function(t) { + return new RC( + a._scrollDispatcher, + a._ngZone, + a._viewportRuler, + t + ); + }), + (this.block = function() { + return new AC(a._viewportRuler, a._document); + }), + (this.reposition = function(t) { + return new LC( + a._scrollDispatcher, + a._viewportRuler, + a._ngZone, + t + ); + }), + (this._document = o); + } + return ( + (t.ngInjectableDef = yt({ + factory: function() { + return new t(Tt(OC), Tt(IC), Tt(Dr), Tt(Ds)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + FC = (function() { + return function(t) { + var n = this; + (this.scrollStrategy = new DC()), + (this.panelClass = ""), + (this.hasBackdrop = !1), + (this.backdropClass = "cdk-overlay-dark-backdrop"), + (this.disposeOnNavigation = !1), + t && + Object.keys(t).forEach(function(e) { + void 0 !== t[e] && (n[e] = t[e]); + }); + }; + })(), + BC = (function() { + return function(t, n, e, o, a) { + (this.offsetX = e), + (this.offsetY = o), + (this.panelClass = a), + (this.originX = t.originX), + (this.originY = t.originY), + (this.overlayX = n.overlayX), + (this.overlayY = n.overlayY); + }; + })(), + VC = (function() { + return function(t, n) { + (this.connectionPair = t), (this.scrollableViewProperties = n); + }; + })(); + function HC(t, n) { + if ("top" !== n && "bottom" !== n && "center" !== n) + throw Error( + "ConnectedPosition: Invalid " + + t + + ' "' + + n + + '". Expected "top", "bottom" or "center".' + ); + } + function UC(t, n) { + if ("start" !== n && "end" !== n && "center" !== n) + throw Error( + "ConnectedPosition: Invalid " + + t + + ' "' + + n + + '". Expected "start", "end" or "center".' + ); + } + var qC = (function() { + function t(t) { + var n = this; + (this._attachedOverlays = []), + (this._keydownListener = function(t) { + for (var e = n._attachedOverlays, o = e.length - 1; o > -1; o--) + if (e[o]._keydownEventSubscriptions > 0) { + e[o]._keydownEvents.next(t); + break; + } + }), + (this._document = t); + } + return ( + (t.prototype.ngOnDestroy = function() { + this._detach(); + }), + (t.prototype.add = function(t) { + this.remove(t), + this._isAttached || + (this._document.body.addEventListener( + "keydown", + this._keydownListener + ), + (this._isAttached = !0)), + this._attachedOverlays.push(t); + }), + (t.prototype.remove = function(t) { + var n = this._attachedOverlays.indexOf(t); + n > -1 && this._attachedOverlays.splice(n, 1), + 0 === this._attachedOverlays.length && this._detach(); + }), + (t.prototype._detach = function() { + this._isAttached && + (this._document.body.removeEventListener( + "keydown", + this._keydownListener + ), + (this._isAttached = !1)); + }), + (t.ngInjectableDef = yt({ + factory: function() { + return new t(Tt(Ds)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + KC = (function() { + function t(t) { + this._document = t; + } + return ( + (t.prototype.ngOnDestroy = function() { + this._containerElement && + this._containerElement.parentNode && + this._containerElement.parentNode.removeChild( + this._containerElement + ); + }), + (t.prototype.getContainerElement = function() { + return ( + this._containerElement || this._createContainer(), + this._containerElement + ); + }), + (t.prototype._createContainer = function() { + var t = this._document.createElement("div"); + t.classList.add("cdk-overlay-container"), + this._document.body.appendChild(t), + (this._containerElement = t); + }), + (t.ngInjectableDef = yt({ + factory: function() { + return new t(Tt(Ds)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + YC = (function() { + function t(t, n, e, o, a, r, i, l) { + var s = this; + (this._portalOutlet = t), + (this._host = n), + (this._pane = e), + (this._config = o), + (this._ngZone = a), + (this._keyboardDispatcher = r), + (this._document = i), + (this._location = l), + (this._backdropElement = null), + (this._backdropClick = new S()), + (this._attachments = new S()), + (this._detachments = new S()), + (this._locationChanges = c.EMPTY), + (this._keydownEventsObservable = new O(function(t) { + var n = s._keydownEvents.subscribe(t); + return ( + s._keydownEventSubscriptions++, + function() { + n.unsubscribe(), s._keydownEventSubscriptions--; + } + ); + })), + (this._keydownEvents = new S()), + (this._keydownEventSubscriptions = 0), + o.scrollStrategy && + ((this._scrollStrategy = o.scrollStrategy), + this._scrollStrategy.attach(this)), + (this._positionStrategy = o.positionStrategy); + } + return ( + Object.defineProperty(t.prototype, "overlayElement", { + get: function() { + return this._pane; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "backdropElement", { + get: function() { + return this._backdropElement; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "hostElement", { + get: function() { + return this._host; + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.attach = function(t) { + var n = this, + e = this._portalOutlet.attach(t); + return ( + this._positionStrategy && this._positionStrategy.attach(this), + !this._host.parentElement && + this._previousHostParent && + this._previousHostParent.appendChild(this._host), + this._updateStackingOrder(), + this._updateElementSize(), + this._updateElementDirection(), + this._scrollStrategy && this._scrollStrategy.enable(), + this._ngZone.onStable + .asObservable() + .pipe(Yc(1)) + .subscribe(function() { + n.hasAttached() && n.updatePosition(); + }), + this._togglePointerEvents(!0), + this._config.hasBackdrop && this._attachBackdrop(), + this._config.panelClass && + this._toggleClasses(this._pane, this._config.panelClass, !0), + this._attachments.next(), + this._keyboardDispatcher.add(this), + this._config.disposeOnNavigation && + this._location && + (this._locationChanges = this._location.subscribe(function() { + return n.dispose(); + })), + e + ); + }), + (t.prototype.detach = function() { + if (this.hasAttached()) { + this.detachBackdrop(), + this._togglePointerEvents(!1), + this._positionStrategy && + this._positionStrategy.detach && + this._positionStrategy.detach(), + this._scrollStrategy && this._scrollStrategy.disable(); + var t = this._portalOutlet.detach(); + return ( + this._detachments.next(), + this._keyboardDispatcher.remove(this), + this._detachContentWhenStable(), + this._locationChanges.unsubscribe(), + t + ); + } + }), + (t.prototype.dispose = function() { + var t = this.hasAttached(); + this._positionStrategy && this._positionStrategy.dispose(), + this._disposeScrollStrategy(), + this.detachBackdrop(), + this._locationChanges.unsubscribe(), + this._keyboardDispatcher.remove(this), + this._portalOutlet.dispose(), + this._attachments.complete(), + this._backdropClick.complete(), + this._keydownEvents.complete(), + this._host && + this._host.parentNode && + (this._host.parentNode.removeChild(this._host), + (this._host = null)), + (this._previousHostParent = this._pane = null), + t && this._detachments.next(), + this._detachments.complete(); + }), + (t.prototype.hasAttached = function() { + return this._portalOutlet.hasAttached(); + }), + (t.prototype.backdropClick = function() { + return this._backdropClick.asObservable(); + }), + (t.prototype.attachments = function() { + return this._attachments.asObservable(); + }), + (t.prototype.detachments = function() { + return this._detachments.asObservable(); + }), + (t.prototype.keydownEvents = function() { + return this._keydownEventsObservable; + }), + (t.prototype.getConfig = function() { + return this._config; + }), + (t.prototype.updatePosition = function() { + this._positionStrategy && this._positionStrategy.apply(); + }), + (t.prototype.updatePositionStrategy = function(t) { + t !== this._positionStrategy && + (this._positionStrategy && this._positionStrategy.dispose(), + (this._positionStrategy = t), + this.hasAttached() && (t.attach(this), this.updatePosition())); + }), + (t.prototype.updateSize = function(t) { + (this._config = Object(o.__assign)({}, this._config, t)), + this._updateElementSize(); + }), + (t.prototype.setDirection = function(t) { + (this._config = Object(o.__assign)({}, this._config, { + direction: t + })), + this._updateElementDirection(); + }), + (t.prototype.addPanelClass = function(t) { + this._pane && this._toggleClasses(this._pane, t, !0); + }), + (t.prototype.removePanelClass = function(t) { + this._pane && this._toggleClasses(this._pane, t, !1); + }), + (t.prototype.getDirection = function() { + var t = this._config.direction; + return t ? ("string" == typeof t ? t : t.value) : "ltr"; + }), + (t.prototype.updateScrollStrategy = function(t) { + t !== this._scrollStrategy && + (this._disposeScrollStrategy(), + (this._scrollStrategy = t), + this.hasAttached() && (t.attach(this), t.enable())); + }), + (t.prototype._updateElementDirection = function() { + this._host.setAttribute("dir", this.getDirection()); + }), + (t.prototype._updateElementSize = function() { + var t = this._pane.style; + (t.width = df(this._config.width)), + (t.height = df(this._config.height)), + (t.minWidth = df(this._config.minWidth)), + (t.minHeight = df(this._config.minHeight)), + (t.maxWidth = df(this._config.maxWidth)), + (t.maxHeight = df(this._config.maxHeight)); + }), + (t.prototype._togglePointerEvents = function(t) { + this._pane.style.pointerEvents = t ? "auto" : "none"; + }), + (t.prototype._attachBackdrop = function() { + var t = this; + (this._backdropElement = this._document.createElement("div")), + this._backdropElement.classList.add("cdk-overlay-backdrop"), + this._config.backdropClass && + this._toggleClasses( + this._backdropElement, + this._config.backdropClass, + !0 + ), + this._host.parentElement.insertBefore( + this._backdropElement, + this._host + ), + this._backdropElement.addEventListener("click", function(n) { + return t._backdropClick.next(n); + }), + "undefined" != typeof requestAnimationFrame + ? this._ngZone.runOutsideAngular(function() { + requestAnimationFrame(function() { + t._backdropElement && + t._backdropElement.classList.add( + "cdk-overlay-backdrop-showing" + ); + }); + }) + : this._backdropElement.classList.add( + "cdk-overlay-backdrop-showing" + ); + }), + (t.prototype._updateStackingOrder = function() { + this._host.nextSibling && + this._host.parentNode.appendChild(this._host); + }), + (t.prototype.detachBackdrop = function() { + var t = this, + n = this._backdropElement; + if (n) { + var e, + o = function() { + n && n.parentNode && n.parentNode.removeChild(n), + t._backdropElement == n && (t._backdropElement = null), + t._config.backdropClass && + t._toggleClasses(n, t._config.backdropClass, !1), + clearTimeout(e); + }; + n.classList.remove("cdk-overlay-backdrop-showing"), + this._ngZone.runOutsideAngular(function() { + n.addEventListener("transitionend", o); + }), + (n.style.pointerEvents = "none"), + (e = this._ngZone.runOutsideAngular(function() { + return setTimeout(o, 500); + })); + } + }), + (t.prototype._toggleClasses = function(t, n, e) { + var o = t.classList; + uf(n).forEach(function(t) { + e ? o.add(t) : o.remove(t); + }); + }), + (t.prototype._detachContentWhenStable = function() { + var t = this; + this._ngZone.runOutsideAngular(function() { + var n = t._ngZone.onStable + .asObservable() + .pipe(oC($(t._attachments, t._detachments))) + .subscribe(function() { + (t._pane && t._host && 0 !== t._pane.children.length) || + (t._pane && + t._config.panelClass && + t._toggleClasses(t._pane, t._config.panelClass, !1), + t._host && + t._host.parentElement && + ((t._previousHostParent = t._host.parentElement), + t._previousHostParent.removeChild(t._host)), + n.unsubscribe()); + }); + }); + }), + (t.prototype._disposeScrollStrategy = function() { + var t = this._scrollStrategy; + t && (t.disable(), t.detach && t.detach()); + }), + t + ); + })(), + WC = (function() { + function t(t, n, e, o, a) { + (this._viewportRuler = n), + (this._document = e), + (this._platform = o), + (this._overlayContainer = a), + (this._lastBoundingBoxSize = { width: 0, height: 0 }), + (this._isPushed = !1), + (this._canPush = !0), + (this._growAfterOpen = !1), + (this._hasFlexibleDimensions = !0), + (this._positionLocked = !1), + (this._viewportMargin = 0), + (this._scrollables = []), + (this._preferredPositions = []), + (this._positionChanges = new S()), + (this._resizeSubscription = c.EMPTY), + (this._offsetX = 0), + (this._offsetY = 0), + (this._appliedPanelClasses = []), + (this.positionChanges = this._positionChanges.asObservable()), + this.setOrigin(t); + } + return ( + Object.defineProperty(t.prototype, "positions", { + get: function() { + return this._preferredPositions; + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.attach = function(t) { + var n = this; + if (this._overlayRef && t !== this._overlayRef) + throw Error( + "This position strategy is already attached to an overlay" + ); + this._validatePositions(), + t.hostElement.classList.add( + "cdk-overlay-connected-position-bounding-box" + ), + (this._overlayRef = t), + (this._boundingBox = t.hostElement), + (this._pane = t.overlayElement), + (this._isDisposed = !1), + (this._isInitialRender = !0), + (this._lastPosition = null), + this._resizeSubscription.unsubscribe(), + (this._resizeSubscription = this._viewportRuler + .change() + .subscribe(function() { + (n._isInitialRender = !0), n.apply(); + })); + }), + (t.prototype.apply = function() { + if (!this._isDisposed && this._platform.isBrowser) + if ( + !this._isInitialRender && + this._positionLocked && + this._lastPosition + ) + this.reapplyLastPosition(); + else { + this._clearPanelClasses(), + this._resetOverlayElementStyles(), + this._resetBoundingBoxStyles(), + (this._viewportRect = this._getNarrowedViewportRect()), + (this._originRect = this._getOriginRect()), + (this._overlayRect = this._pane.getBoundingClientRect()); + for ( + var t, + n = this._originRect, + e = this._overlayRect, + o = this._viewportRect, + a = [], + r = 0, + i = this._preferredPositions; + r < i.length; + r++ + ) { + var l = i[r], + s = this._getOriginPoint(n, l), + c = this._getOverlayPoint(s, e, l), + u = this._getOverlayFit(c, e, o, l); + if (u.isCompletelyWithinViewport) + return ( + (this._isPushed = !1), void this._applyPosition(l, s) + ); + this._canFitWithFlexibleDimensions(u, c, o) + ? a.push({ + position: l, + origin: s, + overlayRect: e, + boundingBoxRect: this._calculateBoundingBoxRect(s, l) + }) + : (!t || t.overlayFit.visibleArea < u.visibleArea) && + (t = { + overlayFit: u, + overlayPoint: c, + originPoint: s, + position: l, + overlayRect: e + }); + } + if (a.length) { + for ( + var d = null, p = -1, m = 0, g = a; + m < g.length; + m++ + ) { + var f = g[m], + h = + f.boundingBoxRect.width * + f.boundingBoxRect.height * + (f.position.weight || 1); + h > p && ((p = h), (d = f)); + } + return ( + (this._isPushed = !1), + void this._applyPosition(d.position, d.origin) + ); + } + if (this._canPush) + return ( + (this._isPushed = !0), + void this._applyPosition(t.position, t.originPoint) + ); + this._applyPosition(t.position, t.originPoint); + } + }), + (t.prototype.detach = function() { + this._clearPanelClasses(), + (this._lastPosition = null), + (this._previousPushAmount = null), + this._resizeSubscription.unsubscribe(); + }), + (t.prototype.dispose = function() { + this._isDisposed || + (this._boundingBox && + GC(this._boundingBox.style, { + top: "", + left: "", + right: "", + bottom: "", + height: "", + width: "", + alignItems: "", + justifyContent: "" + }), + this._pane && this._resetOverlayElementStyles(), + this._overlayRef && + this._overlayRef.hostElement.classList.remove( + "cdk-overlay-connected-position-bounding-box" + ), + this.detach(), + this._positionChanges.complete(), + (this._overlayRef = this._boundingBox = null), + (this._isDisposed = !0)); + }), + (t.prototype.reapplyLastPosition = function() { + if ( + !this._isDisposed && + (!this._platform || this._platform.isBrowser) + ) { + (this._originRect = this._getOriginRect()), + (this._overlayRect = this._pane.getBoundingClientRect()), + (this._viewportRect = this._getNarrowedViewportRect()); + var t = this._lastPosition || this._preferredPositions[0], + n = this._getOriginPoint(this._originRect, t); + this._applyPosition(t, n); + } + }), + (t.prototype.withScrollableContainers = function(t) { + return (this._scrollables = t), this; + }), + (t.prototype.withPositions = function(t) { + return ( + (this._preferredPositions = t), + -1 === t.indexOf(this._lastPosition) && + (this._lastPosition = null), + this._validatePositions(), + this + ); + }), + (t.prototype.withViewportMargin = function(t) { + return (this._viewportMargin = t), this; + }), + (t.prototype.withFlexibleDimensions = function(t) { + return ( + void 0 === t && (t = !0), + (this._hasFlexibleDimensions = t), + this + ); + }), + (t.prototype.withGrowAfterOpen = function(t) { + return void 0 === t && (t = !0), (this._growAfterOpen = t), this; + }), + (t.prototype.withPush = function(t) { + return void 0 === t && (t = !0), (this._canPush = t), this; + }), + (t.prototype.withLockedPosition = function(t) { + return void 0 === t && (t = !0), (this._positionLocked = t), this; + }), + (t.prototype.setOrigin = function(t) { + return (this._origin = t), this; + }), + (t.prototype.withDefaultOffsetX = function(t) { + return (this._offsetX = t), this; + }), + (t.prototype.withDefaultOffsetY = function(t) { + return (this._offsetY = t), this; + }), + (t.prototype.withTransformOriginOn = function(t) { + return (this._transformOriginSelector = t), this; + }), + (t.prototype._getOriginPoint = function(t, n) { + var e; + if ("center" == n.originX) e = t.left + t.width / 2; + else { + var o = this._isRtl() ? t.right : t.left, + a = this._isRtl() ? t.left : t.right; + e = "start" == n.originX ? o : a; + } + return { + x: e, + y: + "center" == n.originY + ? t.top + t.height / 2 + : "top" == n.originY + ? t.top + : t.bottom + }; + }), + (t.prototype._getOverlayPoint = function(t, n, e) { + var o; + return ( + (o = + "center" == e.overlayX + ? -n.width / 2 + : "start" === e.overlayX + ? this._isRtl() + ? -n.width + : 0 + : this._isRtl() + ? 0 + : -n.width), + { + x: t.x + o, + y: + t.y + + ("center" == e.overlayY + ? -n.height / 2 + : "top" == e.overlayY + ? 0 + : -n.height) + } + ); + }), + (t.prototype._getOverlayFit = function(t, n, e, o) { + var a = t.x, + r = t.y, + i = this._getOffset(o, "x"), + l = this._getOffset(o, "y"); + i && (a += i), l && (r += l); + var s = 0 - r, + c = r + n.height - e.height, + u = this._subtractOverflows( + n.width, + 0 - a, + a + n.width - e.width + ), + d = this._subtractOverflows(n.height, s, c), + p = u * d; + return { + visibleArea: p, + isCompletelyWithinViewport: n.width * n.height === p, + fitsInViewportVertically: d === n.height, + fitsInViewportHorizontally: u == n.width + }; + }), + (t.prototype._canFitWithFlexibleDimensions = function(t, n, e) { + if (this._hasFlexibleDimensions) { + var o = e.bottom - n.y, + a = e.right - n.x, + r = this._overlayRef.getConfig().minHeight, + i = this._overlayRef.getConfig().minWidth; + return ( + (t.fitsInViewportVertically || (null != r && r <= o)) && + (t.fitsInViewportHorizontally || (null != i && i <= a)) + ); + } + }), + (t.prototype._pushOverlayOnScreen = function(t, n, e) { + if (this._previousPushAmount && this._positionLocked) + return { + x: t.x + this._previousPushAmount.x, + y: t.y + this._previousPushAmount.y + }; + var o, + a, + r = this._viewportRect, + i = Math.max(t.x + n.width - r.right, 0), + l = Math.max(t.y + n.height - r.bottom, 0), + s = Math.max(r.top - e.top - t.y, 0), + c = Math.max(r.left - e.left - t.x, 0); + return ( + (this._previousPushAmount = { + x: (o = + n.width <= r.width + ? c || -i + : t.x < this._viewportMargin + ? r.left - e.left - t.x + : 0), + y: (a = + n.height <= r.height + ? s || -l + : t.y < this._viewportMargin + ? r.top - e.top - t.y + : 0) + }), + { x: t.x + o, y: t.y + a } + ); + }), + (t.prototype._applyPosition = function(t, n) { + if ( + (this._setTransformOrigin(t), + this._setOverlayElementStyles(n, t), + this._setBoundingBoxStyles(n, t), + t.panelClass && this._addPanelClasses(t.panelClass), + (this._lastPosition = t), + this._positionChanges.observers.length) + ) { + var e = this._getScrollVisibility(), + o = new VC(t, e); + this._positionChanges.next(o); + } + this._isInitialRender = !1; + }), + (t.prototype._setTransformOrigin = function(t) { + if (this._transformOriginSelector) { + var n, + e = this._boundingBox.querySelectorAll( + this._transformOriginSelector + ), + o = t.overlayY; + n = + "center" === t.overlayX + ? "center" + : this._isRtl() + ? "start" === t.overlayX + ? "right" + : "left" + : "start" === t.overlayX + ? "left" + : "right"; + for (var a = 0; a < e.length; a++) + e[a].style.transformOrigin = n + " " + o; + } + }), + (t.prototype._calculateBoundingBoxRect = function(t, n) { + var e, + o, + a, + r, + i, + l, + s = this._viewportRect, + c = this._isRtl(); + if ("top" === n.overlayY) + e = s.height - (o = t.y) + this._viewportMargin; + else if ("bottom" === n.overlayY) + e = + s.height - + (a = s.height - t.y + 2 * this._viewportMargin) + + this._viewportMargin; + else { + var u = Math.min(s.bottom - t.y + s.top, t.y), + d = this._lastBoundingBoxSize.height; + (o = t.y - u), + (e = 2 * u) > d && + !this._isInitialRender && + !this._growAfterOpen && + (o = t.y - d / 2); + } + if (("end" === n.overlayX && !c) || ("start" === n.overlayX && c)) + (l = s.right - t.x + this._viewportMargin), (r = t.x - s.left); + else if ( + ("start" === n.overlayX && !c) || + ("end" === n.overlayX && c) + ) + (i = t.x), (r = s.right - t.x); + else { + u = Math.min(s.right - t.x + s.left, t.x); + var p = this._lastBoundingBoxSize.width; + (i = t.x - u), + (r = 2 * u) > p && + !this._isInitialRender && + !this._growAfterOpen && + (i = t.x - p / 2); + } + return { + top: o, + left: i, + bottom: a, + right: l, + width: r, + height: e + }; + }), + (t.prototype._setBoundingBoxStyles = function(t, n) { + var e = this._calculateBoundingBoxRect(t, n); + this._isInitialRender || + this._growAfterOpen || + ((e.height = Math.min( + e.height, + this._lastBoundingBoxSize.height + )), + (e.width = Math.min(e.width, this._lastBoundingBoxSize.width))); + var o = {}; + if (this._hasExactPosition()) + (o.top = o.left = "0"), + (o.bottom = o.right = ""), + (o.width = o.height = "100%"); + else { + var a = this._overlayRef.getConfig().maxHeight, + r = this._overlayRef.getConfig().maxWidth; + (o.height = df(e.height)), + (o.top = df(e.top)), + (o.bottom = df(e.bottom)), + (o.width = df(e.width)), + (o.left = df(e.left)), + (o.right = df(e.right)), + (o.alignItems = + "center" === n.overlayX + ? "center" + : "end" === n.overlayX + ? "flex-end" + : "flex-start"), + (o.justifyContent = + "center" === n.overlayY + ? "center" + : "bottom" === n.overlayY + ? "flex-end" + : "flex-start"), + a && (o.maxHeight = df(a)), + r && (o.maxWidth = df(r)); + } + (this._lastBoundingBoxSize = e), GC(this._boundingBox.style, o); + }), + (t.prototype._resetBoundingBoxStyles = function() { + GC(this._boundingBox.style, { + top: "0", + left: "0", + right: "0", + bottom: "0", + height: "", + width: "", + alignItems: "", + justifyContent: "" + }); + }), + (t.prototype._resetOverlayElementStyles = function() { + GC(this._pane.style, { + top: "", + left: "", + bottom: "", + right: "", + position: "", + transform: "" + }); + }), + (t.prototype._setOverlayElementStyles = function(t, n) { + var e = {}; + if (this._hasExactPosition()) { + var o = this._viewportRuler.getViewportScrollPosition(); + GC(e, this._getExactOverlayY(n, t, o)), + GC(e, this._getExactOverlayX(n, t, o)); + } else e.position = "static"; + var a = "", + r = this._getOffset(n, "x"), + i = this._getOffset(n, "y"); + r && (a += "translateX(" + r + "px) "), + i && (a += "translateY(" + i + "px)"), + (e.transform = a.trim()), + this._hasFlexibleDimensions && + this._overlayRef.getConfig().maxHeight && + (e.maxHeight = ""), + this._hasFlexibleDimensions && + this._overlayRef.getConfig().maxWidth && + (e.maxWidth = ""), + GC(this._pane.style, e); + }), + (t.prototype._getExactOverlayY = function(t, n, e) { + var o = { top: null, bottom: null }, + a = this._getOverlayPoint(n, this._overlayRect, t); + this._isPushed && + (a = this._pushOverlayOnScreen(a, this._overlayRect, e)); + var r = this._overlayContainer + .getContainerElement() + .getBoundingClientRect().top; + return ( + (a.y -= r), + "bottom" === t.overlayY + ? (o.bottom = + this._document.documentElement.clientHeight - + (a.y + this._overlayRect.height) + + "px") + : (o.top = df(a.y)), + o + ); + }), + (t.prototype._getExactOverlayX = function(t, n, e) { + var o = { left: null, right: null }, + a = this._getOverlayPoint(n, this._overlayRect, t); + return ( + this._isPushed && + (a = this._pushOverlayOnScreen(a, this._overlayRect, e)), + "right" == + (this._isRtl() + ? "end" === t.overlayX + ? "left" + : "right" + : "end" === t.overlayX + ? "right" + : "left") + ? (o.right = + this._document.documentElement.clientWidth - + (a.x + this._overlayRect.width) + + "px") + : (o.left = df(a.x)), + o + ); + }), + (t.prototype._getScrollVisibility = function() { + var t = this._getOriginRect(), + n = this._pane.getBoundingClientRect(), + e = this._scrollables.map(function(t) { + return t + .getElementRef() + .nativeElement.getBoundingClientRect(); + }); + return { + isOriginClipped: zC(t, e), + isOriginOutsideView: NC(t, e), + isOverlayClipped: zC(n, e), + isOverlayOutsideView: NC(n, e) + }; + }), + (t.prototype._subtractOverflows = function(t) { + for (var n = [], e = 1; e < arguments.length; e++) + n[e - 1] = arguments[e]; + return n.reduce(function(t, n) { + return t - Math.max(n, 0); + }, t); + }), + (t.prototype._getNarrowedViewportRect = function() { + var t = this._document.documentElement.clientWidth, + n = this._document.documentElement.clientHeight, + e = this._viewportRuler.getViewportScrollPosition(); + return { + top: e.top + this._viewportMargin, + left: e.left + this._viewportMargin, + right: e.left + t - this._viewportMargin, + bottom: e.top + n - this._viewportMargin, + width: t - 2 * this._viewportMargin, + height: n - 2 * this._viewportMargin + }; + }), + (t.prototype._isRtl = function() { + return "rtl" === this._overlayRef.getDirection(); + }), + (t.prototype._hasExactPosition = function() { + return !this._hasFlexibleDimensions || this._isPushed; + }), + (t.prototype._getOffset = function(t, n) { + return "x" === n + ? null == t.offsetX + ? this._offsetX + : t.offsetX + : null == t.offsetY + ? this._offsetY + : t.offsetY; + }), + (t.prototype._validatePositions = function() { + if (!this._preferredPositions.length) + throw Error( + "FlexibleConnectedPositionStrategy: At least one position is required." + ); + this._preferredPositions.forEach(function(t) { + UC("originX", t.originX), + HC("originY", t.originY), + UC("overlayX", t.overlayX), + HC("overlayY", t.overlayY); + }); + }), + (t.prototype._addPanelClasses = function(t) { + var n = this; + this._pane && + uf(t).forEach(function(t) { + "" !== t && + -1 === n._appliedPanelClasses.indexOf(t) && + (n._appliedPanelClasses.push(t), n._pane.classList.add(t)); + }); + }), + (t.prototype._clearPanelClasses = function() { + var t = this; + this._pane && + (this._appliedPanelClasses.forEach(function(n) { + t._pane.classList.remove(n); + }), + (this._appliedPanelClasses = [])); + }), + (t.prototype._getOriginRect = function() { + var t = this._origin; + return t instanceof Ne + ? t.nativeElement.getBoundingClientRect() + : t instanceof HTMLElement + ? t.getBoundingClientRect() + : { + top: t.y, + bottom: t.y, + left: t.x, + right: t.x, + height: 0, + width: 0 + }; + }), + t + ); + })(); + function GC(t, n) { + for (var e in n) n.hasOwnProperty(e) && (t[e] = n[e]); + return t; + } + var ZC = (function() { + function t(t, n, e, o, a, r, i) { + (this._preferredPositions = []), + (this._positionStrategy = new WC(e, o, a, r, i) + .withFlexibleDimensions(!1) + .withPush(!1) + .withViewportMargin(0)), + this.withFallbackPosition(t, n); + } + return ( + Object.defineProperty(t.prototype, "_isRtl", { + get: function() { + return "rtl" === this._overlayRef.getDirection(); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "onPositionChange", { + get: function() { + return this._positionStrategy.positionChanges; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "positions", { + get: function() { + return this._preferredPositions; + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.attach = function(t) { + (this._overlayRef = t), + this._positionStrategy.attach(t), + this._direction && + (t.setDirection(this._direction), (this._direction = null)); + }), + (t.prototype.dispose = function() { + this._positionStrategy.dispose(); + }), + (t.prototype.detach = function() { + this._positionStrategy.detach(); + }), + (t.prototype.apply = function() { + this._positionStrategy.apply(); + }), + (t.prototype.recalculateLastPosition = function() { + this._positionStrategy.reapplyLastPosition(); + }), + (t.prototype.withScrollableContainers = function(t) { + this._positionStrategy.withScrollableContainers(t); + }), + (t.prototype.withFallbackPosition = function(t, n, e, o) { + var a = new BC(t, n, e, o); + return ( + this._preferredPositions.push(a), + this._positionStrategy.withPositions(this._preferredPositions), + this + ); + }), + (t.prototype.withDirection = function(t) { + return ( + this._overlayRef + ? this._overlayRef.setDirection(t) + : (this._direction = t), + this + ); + }), + (t.prototype.withOffsetX = function(t) { + return this._positionStrategy.withDefaultOffsetX(t), this; + }), + (t.prototype.withOffsetY = function(t) { + return this._positionStrategy.withDefaultOffsetY(t), this; + }), + (t.prototype.withLockedPosition = function(t) { + return this._positionStrategy.withLockedPosition(t), this; + }), + (t.prototype.withPositions = function(t) { + return ( + (this._preferredPositions = t.slice()), + this._positionStrategy.withPositions(this._preferredPositions), + this + ); + }), + (t.prototype.setOrigin = function(t) { + return this._positionStrategy.setOrigin(t), this; + }), + t + ); + })(), + QC = (function() { + function t() { + (this._cssPosition = "static"), + (this._topOffset = ""), + (this._bottomOffset = ""), + (this._leftOffset = ""), + (this._rightOffset = ""), + (this._alignItems = ""), + (this._justifyContent = ""), + (this._width = ""), + (this._height = ""); + } + return ( + (t.prototype.attach = function(t) { + var n = t.getConfig(); + (this._overlayRef = t), + this._width && !n.width && t.updateSize({ width: this._width }), + this._height && + !n.height && + t.updateSize({ height: this._height }), + t.hostElement.classList.add("cdk-global-overlay-wrapper"), + (this._isDisposed = !1); + }), + (t.prototype.top = function(t) { + return ( + void 0 === t && (t = ""), + (this._bottomOffset = ""), + (this._topOffset = t), + (this._alignItems = "flex-start"), + this + ); + }), + (t.prototype.left = function(t) { + return ( + void 0 === t && (t = ""), + (this._rightOffset = ""), + (this._leftOffset = t), + (this._justifyContent = "flex-start"), + this + ); + }), + (t.prototype.bottom = function(t) { + return ( + void 0 === t && (t = ""), + (this._topOffset = ""), + (this._bottomOffset = t), + (this._alignItems = "flex-end"), + this + ); + }), + (t.prototype.right = function(t) { + return ( + void 0 === t && (t = ""), + (this._leftOffset = ""), + (this._rightOffset = t), + (this._justifyContent = "flex-end"), + this + ); + }), + (t.prototype.width = function(t) { + return ( + void 0 === t && (t = ""), + this._overlayRef + ? this._overlayRef.updateSize({ width: t }) + : (this._width = t), + this + ); + }), + (t.prototype.height = function(t) { + return ( + void 0 === t && (t = ""), + this._overlayRef + ? this._overlayRef.updateSize({ height: t }) + : (this._height = t), + this + ); + }), + (t.prototype.centerHorizontally = function(t) { + return ( + void 0 === t && (t = ""), + this.left(t), + (this._justifyContent = "center"), + this + ); + }), + (t.prototype.centerVertically = function(t) { + return ( + void 0 === t && (t = ""), + this.top(t), + (this._alignItems = "center"), + this + ); + }), + (t.prototype.apply = function() { + if (this._overlayRef && this._overlayRef.hasAttached()) { + var t = this._overlayRef.overlayElement.style, + n = this._overlayRef.hostElement.style, + e = this._overlayRef.getConfig(); + (t.position = this._cssPosition), + (t.marginLeft = "100%" === e.width ? "0" : this._leftOffset), + (t.marginTop = "100%" === e.height ? "0" : this._topOffset), + (t.marginBottom = this._bottomOffset), + (t.marginRight = this._rightOffset), + "100%" === e.width + ? (n.justifyContent = "flex-start") + : "center" === this._justifyContent + ? (n.justifyContent = "center") + : "rtl" === this._overlayRef.getConfig().direction + ? "flex-start" === this._justifyContent + ? (n.justifyContent = "flex-end") + : "flex-end" === this._justifyContent && + (n.justifyContent = "flex-start") + : (n.justifyContent = this._justifyContent), + (n.alignItems = + "100%" === e.height ? "flex-start" : this._alignItems); + } + }), + (t.prototype.dispose = function() { + if (!this._isDisposed && this._overlayRef) { + var t = this._overlayRef.overlayElement.style, + n = this._overlayRef.hostElement, + e = n.style; + n.classList.remove("cdk-global-overlay-wrapper"), + (e.justifyContent = e.alignItems = t.marginTop = t.marginBottom = t.marginLeft = t.marginRight = t.position = + ""), + (this._overlayRef = null), + (this._isDisposed = !0); + } + }), + t + ); + })(), + XC = (function() { + function t(t, n, e, o) { + (this._viewportRuler = t), + (this._document = n), + (this._platform = e), + (this._overlayContainer = o); + } + return ( + (t.prototype.global = function() { + return new QC(); + }), + (t.prototype.connectedTo = function(t, n, e) { + return new ZC( + n, + e, + t, + this._viewportRuler, + this._document, + this._platform, + this._overlayContainer + ); + }), + (t.prototype.flexibleConnectedTo = function(t) { + return new WC( + t, + this._viewportRuler, + this._document, + this._platform, + this._overlayContainer + ); + }), + (t.ngInjectableDef = yt({ + factory: function() { + return new t(Tt(IC), Tt(Ds), Tt(ff), Tt(KC)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + JC = 0, + $C = (function() { + function t(t, n, e, o, a, r, i, l, s, c) { + (this.scrollStrategies = t), + (this._overlayContainer = n), + (this._componentFactoryResolver = e), + (this._positionBuilder = o), + (this._keyboardDispatcher = a), + (this._injector = r), + (this._ngZone = i), + (this._document = l), + (this._directionality = s), + (this._location = c); + } + return ( + (t.prototype.create = function(t) { + var n = this._createHostElement(), + e = this._createPaneElement(n), + o = this._createPortalOutlet(e), + a = new FC(t); + return ( + (a.direction = a.direction || this._directionality.value), + new YC( + o, + n, + e, + a, + this._ngZone, + this._keyboardDispatcher, + this._document, + this._location + ) + ); + }), + (t.prototype.position = function() { + return this._positionBuilder; + }), + (t.prototype._createPaneElement = function(t) { + var n = this._document.createElement("div"); + return ( + (n.id = "cdk-overlay-" + JC++), + n.classList.add("cdk-overlay-pane"), + t.appendChild(n), + n + ); + }), + (t.prototype._createHostElement = function() { + var t = this._document.createElement("div"); + return ( + this._overlayContainer.getContainerElement().appendChild(t), t + ); + }), + (t.prototype._createPortalOutlet = function(t) { + return ( + this._appRef || (this._appRef = this._injector.get(Xr)), + new Fy( + t, + this._componentFactoryResolver, + this._appRef, + this._injector + ) + ); + }), + t + ); + })(), + tv = new Ut("cdk-connected-overlay-scroll-strategy"); + function nv(t) { + return function() { + return t.scrollStrategies.reposition(); + }; + } + var ev = (function() { + return function() {}; + })(), + ov = (function() { + return function() { + (this.role = "dialog"), + (this.panelClass = ""), + (this.hasBackdrop = !0), + (this.backdropClass = ""), + (this.disableClose = !1), + (this.width = ""), + (this.height = ""), + (this.maxWidth = "80vw"), + (this.data = null), + (this.ariaDescribedBy = null), + (this.ariaLabelledBy = null), + (this.ariaLabel = null), + (this.autoFocus = !0), + (this.restoreFocus = !0), + (this.closeOnNavigation = !0); + }; + })(); + function av() { + throw Error( + "Attempting to attach dialog content after content is already attached" + ); + } + var rv = (function(t) { + function n(n, e, o, a, r) { + var i = t.call(this) || this; + return ( + (i._elementRef = n), + (i._focusTrapFactory = e), + (i._changeDetectorRef = o), + (i._document = a), + (i._config = r), + (i._elementFocusedBeforeDialogWasOpened = null), + (i._state = "enter"), + (i._animationStateChanged = new ar()), + (i._ariaLabelledBy = r.ariaLabelledBy || null), + i + ); + } + return ( + Object(o.__extends)(n, t), + (n.prototype.attachComponentPortal = function(t) { + return ( + this._portalOutlet.hasAttached() && av(), + this._savePreviouslyFocusedElement(), + this._portalOutlet.attachComponentPortal(t) + ); + }), + (n.prototype.attachTemplatePortal = function(t) { + return ( + this._portalOutlet.hasAttached() && av(), + this._savePreviouslyFocusedElement(), + this._portalOutlet.attachTemplatePortal(t) + ); + }), + (n.prototype._trapFocus = function() { + this._focusTrap || + (this._focusTrap = this._focusTrapFactory.create( + this._elementRef.nativeElement + )), + this._config.autoFocus && + this._focusTrap.focusInitialElementWhenReady(); + }), + (n.prototype._restoreFocus = function() { + var t = this._elementFocusedBeforeDialogWasOpened; + this._config.restoreFocus && + t && + "function" == typeof t.focus && + t.focus(), + this._focusTrap && this._focusTrap.destroy(); + }), + (n.prototype._savePreviouslyFocusedElement = function() { + var t = this; + this._document && + ((this._elementFocusedBeforeDialogWasOpened = this._document.activeElement), + this._elementRef.nativeElement.focus && + Promise.resolve().then(function() { + return t._elementRef.nativeElement.focus(); + })); + }), + (n.prototype._onAnimationDone = function(t) { + "enter" === t.toState + ? this._trapFocus() + : "exit" === t.toState && this._restoreFocus(), + this._animationStateChanged.emit(t); + }), + (n.prototype._onAnimationStart = function(t) { + this._animationStateChanged.emit(t); + }), + (n.prototype._startExitAnimation = function() { + (this._state = "exit"), this._changeDetectorRef.markForCheck(); + }), + n + ); + })(jy), + iv = 0, + lv = (function() { + function t(t, n, e, o) { + var a = this; + void 0 === o && (o = "mat-dialog-" + iv++), + (this._overlayRef = t), + (this._containerInstance = n), + (this.id = o), + (this.disableClose = this._containerInstance._config.disableClose), + (this._afterOpened = new S()), + (this._afterClosed = new S()), + (this._beforeClosed = new S()), + (n._id = o), + n._animationStateChanged + .pipe( + Zl(function(t) { + return "done" === t.phaseName && "enter" === t.toState; + }), + Yc(1) + ) + .subscribe(function() { + a._afterOpened.next(), a._afterOpened.complete(); + }), + n._animationStateChanged + .pipe( + Zl(function(t) { + return "done" === t.phaseName && "exit" === t.toState; + }), + Yc(1) + ) + .subscribe(function() { + return a._overlayRef.dispose(); + }), + t.detachments().subscribe(function() { + a._beforeClosed.next(a._result), + a._beforeClosed.complete(), + a._afterClosed.next(a._result), + a._afterClosed.complete(), + (a.componentInstance = null), + a._overlayRef.dispose(); + }), + t + .keydownEvents() + .pipe( + Zl(function(t) { + return t.keyCode === Mf && !a.disableClose && !kf(t); + }) + ) + .subscribe(function(t) { + t.preventDefault(), a.close(); + }); + } + return ( + (t.prototype.close = function(t) { + var n = this; + (this._result = t), + this._containerInstance._animationStateChanged + .pipe( + Zl(function(t) { + return "start" === t.phaseName; + }), + Yc(1) + ) + .subscribe(function() { + n._beforeClosed.next(t), + n._beforeClosed.complete(), + n._overlayRef.detachBackdrop(); + }), + this._containerInstance._startExitAnimation(); + }), + (t.prototype.afterOpened = function() { + return this._afterOpened.asObservable(); + }), + (t.prototype.afterClosed = function() { + return this._afterClosed.asObservable(); + }), + (t.prototype.beforeClosed = function() { + return this._beforeClosed.asObservable(); + }), + (t.prototype.backdropClick = function() { + return this._overlayRef.backdropClick(); + }), + (t.prototype.keydownEvents = function() { + return this._overlayRef.keydownEvents(); + }), + (t.prototype.updatePosition = function(t) { + var n = this._getPositionStrategy(); + return ( + t && (t.left || t.right) + ? t.left + ? n.left(t.left) + : n.right(t.right) + : n.centerHorizontally(), + t && (t.top || t.bottom) + ? t.top + ? n.top(t.top) + : n.bottom(t.bottom) + : n.centerVertically(), + this._overlayRef.updatePosition(), + this + ); + }), + (t.prototype.updateSize = function(t, n) { + return ( + void 0 === t && (t = ""), + void 0 === n && (n = ""), + this._getPositionStrategy() + .width(t) + .height(n), + this._overlayRef.updatePosition(), + this + ); + }), + (t.prototype.addPanelClass = function(t) { + return this._overlayRef.addPanelClass(t), this; + }), + (t.prototype.removePanelClass = function(t) { + return this._overlayRef.removePanelClass(t), this; + }), + (t.prototype.afterOpen = function() { + return this.afterOpened(); + }), + (t.prototype.beforeClose = function() { + return this.beforeClosed(); + }), + (t.prototype._getPositionStrategy = function() { + return this._overlayRef.getConfig().positionStrategy; + }), + t + ); + })(), + sv = new Ut("MatDialogData"), + cv = new Ut("mat-dialog-default-options"), + uv = new Ut("mat-dialog-scroll-strategy"); + function dv(t) { + return function() { + return t.scrollStrategies.block(); + }; + } + var pv = (function() { + function t(t, n, e, o, a, r, i) { + var l = this; + (this._overlay = t), + (this._injector = n), + (this._location = e), + (this._defaultOptions = o), + (this._parentDialog = r), + (this._overlayContainer = i), + (this._openDialogsAtThisLevel = []), + (this._afterAllClosedAtThisLevel = new S()), + (this._afterOpenedAtThisLevel = new S()), + (this._ariaHiddenElements = new Map()), + (this.afterAllClosed = wc(function() { + return l.openDialogs.length + ? l._afterAllClosed + : l._afterAllClosed.pipe(nu(void 0)); + })), + (this._scrollStrategy = a); + } + return ( + Object.defineProperty(t.prototype, "openDialogs", { + get: function() { + return this._parentDialog + ? this._parentDialog.openDialogs + : this._openDialogsAtThisLevel; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "afterOpened", { + get: function() { + return this._parentDialog + ? this._parentDialog.afterOpened + : this._afterOpenedAtThisLevel; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "afterOpen", { + get: function() { + return this.afterOpened; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "_afterAllClosed", { + get: function() { + var t = this._parentDialog; + return t ? t._afterAllClosed : this._afterAllClosedAtThisLevel; + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.open = function(t, n) { + var e = this; + if ( + (n = (function(t, n) { + return Object(o.__assign)({}, n, t); + })(n, this._defaultOptions || new ov())).id && + this.getDialogById(n.id) + ) + throw Error( + 'Dialog with id "' + + n.id + + '" exists already. The dialog id must be unique.' + ); + var a = this._createOverlay(n), + r = this._attachDialogContainer(a, n), + i = this._attachDialogContent(t, r, a, n); + return ( + this.openDialogs.length || + this._hideNonDialogContentFromAssistiveTechnology(), + this.openDialogs.push(i), + i.afterClosed().subscribe(function() { + return e._removeOpenDialog(i); + }), + this.afterOpened.next(i), + i + ); + }), + (t.prototype.closeAll = function() { + this._closeDialogs(this.openDialogs); + }), + (t.prototype.getDialogById = function(t) { + return this.openDialogs.find(function(n) { + return n.id === t; + }); + }), + (t.prototype.ngOnDestroy = function() { + this._closeDialogs(this._openDialogsAtThisLevel), + this._afterAllClosedAtThisLevel.complete(), + this._afterOpenedAtThisLevel.complete(); + }), + (t.prototype._createOverlay = function(t) { + var n = this._getOverlayConfig(t); + return this._overlay.create(n); + }), + (t.prototype._getOverlayConfig = function(t) { + var n = new FC({ + positionStrategy: this._overlay.position().global(), + scrollStrategy: t.scrollStrategy || this._scrollStrategy(), + panelClass: t.panelClass, + hasBackdrop: t.hasBackdrop, + direction: t.direction, + minWidth: t.minWidth, + minHeight: t.minHeight, + maxWidth: t.maxWidth, + maxHeight: t.maxHeight, + disposeOnNavigation: t.closeOnNavigation + }); + return t.backdropClass && (n.backdropClass = t.backdropClass), n; + }), + (t.prototype._attachDialogContainer = function(t, n) { + var e = new Hy( + (n && n.viewContainerRef && n.viewContainerRef.injector) || + this._injector, + new WeakMap([[ov, n]]) + ), + o = new zy(rv, n.viewContainerRef, e); + return t.attach(o).instance; + }), + (t.prototype._attachDialogContent = function(t, n, e, o) { + var a = new lv(e, n, this._location, o.id); + if ( + (o.hasBackdrop && + e.backdropClick().subscribe(function() { + a.disableClose || a.close(); + }), + t instanceof io) + ) + n.attachTemplatePortal( + new Ly(t, null, { $implicit: o.data, dialogRef: a }) + ); + else { + var r = this._createInjector(o, a, n), + i = n.attachComponentPortal(new zy(t, void 0, r)); + a.componentInstance = i.instance; + } + return ( + a.updateSize(o.width, o.height).updatePosition(o.position), a + ); + }), + (t.prototype._createInjector = function(t, n, e) { + var o = t && t.viewContainerRef && t.viewContainerRef.injector, + a = new WeakMap([[rv, e], [sv, t.data], [lv, n]]); + return ( + !t.direction || + (o && o.get(rf, null)) || + a.set(rf, { value: t.direction, change: Wl() }), + new Hy(o || this._injector, a) + ); + }), + (t.prototype._removeOpenDialog = function(t) { + var n = this.openDialogs.indexOf(t); + n > -1 && + (this.openDialogs.splice(n, 1), + this.openDialogs.length || + (this._ariaHiddenElements.forEach(function(t, n) { + t + ? n.setAttribute("aria-hidden", t) + : n.removeAttribute("aria-hidden"); + }), + this._ariaHiddenElements.clear(), + this._afterAllClosed.next())); + }), + (t.prototype._hideNonDialogContentFromAssistiveTechnology = function() { + var t = this._overlayContainer.getContainerElement(); + if (t.parentElement) + for ( + var n = t.parentElement.children, e = n.length - 1; + e > -1; + e-- + ) { + var o = n[e]; + o === t || + "SCRIPT" === o.nodeName || + "STYLE" === o.nodeName || + o.hasAttribute("aria-live") || + (this._ariaHiddenElements.set( + o, + o.getAttribute("aria-hidden") + ), + o.setAttribute("aria-hidden", "true")); + } + }), + (t.prototype._closeDialogs = function(t) { + for (var n = t.length; n--; ) t[n].close(); + }), + t + ); + })(), + mv = (function() { + return function() {}; + })(), + gv = So({ + encapsulation: 0, + styles: [[".setup-icon[_ngcontent-%COMP%]{font-size:40px}"]], + data: {} + }); + function fv(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 23, + "mat-card", + [["class", "setup-card mat-card"]], + null, + null, + null, + Mh, + Ph + )), + Ba(1, 49152, null, 0, nf, [], null, null), + (t()(), + bi( + 2, + 0, + null, + 0, + 12, + "mat-card-header", + [["class", "mat-card-header"]], + null, + null, + null, + kh, + xh + )), + Ba(3, 49152, null, 0, ef, [], null, null), + (t()(), + bi( + 4, + 0, + null, + 0, + 4, + "div", + [["class", "mat-card-avatar"], ["mat-card-avatar", ""]], + null, + null, + null, + null, + null + )), + Ba(5, 16384, null, 0, tf, [], null, null), + (t()(), + bi( + 6, + 0, + null, + null, + 2, + "mat-icon", + [ + ["aria-hidden", "false"], + ["class", "setup-icon mat-icon notranslate"], + ["role", "img"] + ], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + Yh, + Kh + )), + Ba( + 7, + 9158656, + null, + 0, + Uh, + [Ne, Nh, [8, "false"], [2, Fh]], + null, + null + ), + (t()(), Ai(-1, 0, ["update"])), + (t()(), + bi( + 9, + 0, + null, + 1, + 2, + "mat-card-title", + [["class", "mat-card-title"]], + null, + null, + null, + null, + null + )), + Ba(10, 16384, null, 0, Xg, [], null, null), + (t()(), Ai(-1, null, ["Setup"])), + (t()(), + bi( + 12, + 0, + null, + 1, + 2, + "mat-card-subtitle", + [["class", "mat-card-subtitle"]], + null, + null, + null, + null, + null + )), + Ba(13, 16384, null, 0, Jg, [], null, null), + (t()(), Ai(-1, null, ["Step 1"])), + (t()(), + bi( + 15, + 0, + null, + 0, + 2, + "mat-card-content", + [["class", "mat-card-content"]], + null, + null, + null, + null, + null + )), + Ba(16, 16384, null, 0, Qg, [], null, null), + (t()(), + Ai(-1, null, [ + " Beat On will now uninstall Beat Saber to prepare for modding process to add custom levels to Beat Saber " + ])), + (t()(), + bi( + 18, + 0, + null, + 0, + 5, + "mat-card-actions", + [["class", "mat-card-actions"]], + [[2, "mat-card-actions-align-end", null]], + null, + null, + null, + null + )), + Ba(19, 16384, null, 0, $g, [], null, null), + (t()(), + bi( + 20, + 0, + null, + null, + 3, + "button", + [ + ["color", "accent"], + ["fast-click", ""], + ["mat-raised-button", ""] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && (o = !1 !== t.component.clickBegin() && o), o + ); + }, + ky, + xy + )), + Ba( + 21, + 180224, + null, + 0, + Zh, + [Ne, Gf, [2, Py]], + { color: [0, "color"] }, + null + ), + Ba(22, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, 0, ["Uninstall Beat Saber"])) + ], + function(t, n) { + t(n, 7, 0), t(n, 21, 0, "accent"); + }, + function(t, n) { + t( + n, + 6, + 0, + wa(n, 7).inline, + "primary" !== wa(n, 7).color && + "accent" !== wa(n, 7).color && + "warn" !== wa(n, 7).color + ), + t(n, 18, 0, "end" === wa(n, 19).align), + t( + n, + 20, + 0, + wa(n, 21).disabled || null, + "NoopAnimations" === wa(n, 21)._animationMode + ); + } + ); + } + function hv(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "app-setup-step1", + [], + null, + null, + null, + fv, + gv + )), + Ba(1, 114688, null, 0, Ry, [yc, pv], null, null) + ], + function(t, n) { + t(n, 1, 0); + }, + null + ); + } + var bv = ha("app-setup-step1", Ry, hv, {}, {}, []), + _v = (function() { + function t(t, n) { + (this.beatOnApi = t), (this.dialog = n); + } + return ( + (t.prototype.ngOnInit = function() {}), + (t.prototype.clickBegin = function() { + var t = this.dialog.open(Ig, { + width: "450px", + height: "350px", + disableClose: !0, + data: { mainText: "Please wait..." } + }); + this.beatOnApi.installModStep2().subscribe(function(n) { + t.close(); + }); + }), + t + ); + })(), + yv = So({ encapsulation: 0, styles: [[""]], data: {} }); + function Cv(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 23, + "mat-card", + [["class", "setup-card mat-card"]], + null, + null, + null, + Mh, + Ph + )), + Ba(1, 49152, null, 0, nf, [], null, null), + (t()(), + bi( + 2, + 0, + null, + 0, + 12, + "mat-card-header", + [["class", "mat-card-header"]], + null, + null, + null, + kh, + xh + )), + Ba(3, 49152, null, 0, ef, [], null, null), + (t()(), + bi( + 4, + 0, + null, + 0, + 4, + "div", + [["class", "mat-card-avatar"], ["mat-card-avatar", ""]], + null, + null, + null, + null, + null + )), + Ba(5, 16384, null, 0, tf, [], null, null), + (t()(), + bi( + 6, + 0, + null, + null, + 2, + "mat-icon", + [ + ["aria-hidden", "false"], + ["class", "setup-icon mat-icon notranslate"], + ["role", "img"] + ], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + Yh, + Kh + )), + Ba( + 7, + 9158656, + null, + 0, + Uh, + [Ne, Nh, [8, "false"], [2, Fh]], + null, + null + ), + (t()(), Ai(-1, 0, ["update"])), + (t()(), + bi( + 9, + 0, + null, + 1, + 2, + "mat-card-title", + [["class", "mat-card-title"]], + null, + null, + null, + null, + null + )), + Ba(10, 16384, null, 0, Xg, [], null, null), + (t()(), Ai(-1, null, ["Setup"])), + (t()(), + bi( + 12, + 0, + null, + 1, + 2, + "mat-card-subtitle", + [["class", "mat-card-subtitle"]], + null, + null, + null, + null, + null + )), + Ba(13, 16384, null, 0, Jg, [], null, null), + (t()(), Ai(-1, null, ["Step 2"])), + (t()(), + bi( + 15, + 0, + null, + 0, + 2, + "mat-card-content", + [["class", "mat-card-content"]], + null, + null, + null, + null, + null + )), + Ba(16, 16384, null, 0, Qg, [], null, null), + (t()(), + Ai(-1, null, [ + " Beat On will now patch Beat Saber to allow the ability to add custom levels and custom playlists. This also adds the requirement for Beat Saber to have permissions to external storage. " + ])), + (t()(), + bi( + 18, + 0, + null, + 0, + 5, + "mat-card-actions", + [["class", "mat-card-actions"]], + [[2, "mat-card-actions-align-end", null]], + null, + null, + null, + null + )), + Ba(19, 16384, null, 0, $g, [], null, null), + (t()(), + bi( + 20, + 0, + null, + null, + 3, + "button", + [ + ["color", "accent"], + ["fast-click", ""], + ["mat-raised-button", ""] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && (o = !1 !== t.component.clickBegin() && o), o + ); + }, + ky, + xy + )), + Ba( + 21, + 180224, + null, + 0, + Zh, + [Ne, Gf, [2, Py]], + { color: [0, "color"] }, + null + ), + Ba(22, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, 0, ["Patch Beat Saber"])) + ], + function(t, n) { + t(n, 7, 0), t(n, 21, 0, "accent"); + }, + function(t, n) { + t( + n, + 6, + 0, + wa(n, 7).inline, + "primary" !== wa(n, 7).color && + "accent" !== wa(n, 7).color && + "warn" !== wa(n, 7).color + ), + t(n, 18, 0, "end" === wa(n, 19).align), + t( + n, + 20, + 0, + wa(n, 21).disabled || null, + "NoopAnimations" === wa(n, 21)._animationMode + ); + } + ); + } + function vv(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "app-setup-step2", + [], + null, + null, + null, + Cv, + yv + )), + Ba(1, 114688, null, 0, _v, [yc, pv], null, null) + ], + function(t, n) { + t(n, 1, 0); + }, + null + ); + } + var Ov = ha("app-setup-step2", _v, vv, {}, {}, []), + Pv = (function() { + function t(t, n, e) { + (this.beatOnApi = t), (this.dialog = n), (this.router = e); + } + return ( + (t.prototype.ngOnInit = function() {}), + (t.prototype.clickBegin = function() { + var t = this, + n = this.dialog.open(Ig, { + width: "450px", + height: "350px", + disableClose: !0, + data: { mainText: "Please wait..." } + }); + this.beatOnApi.installModStep3().subscribe(function(e) { + n.close(); + var o = 0, + a = function() { + ++o > 10 + ? t.router.navigateByUrl("/") + : t.beatOnApi.getModStatus().subscribe(function(n) { + "ModInstalled" != n.CurrentStatus + ? setTimeout(a, 5e3) + : t.router.navigateByUrl("/"); + }); + }; + setTimeout(a, 5e3); + }); + }), + t + ); + })(), + Mv = So({ encapsulation: 0, styles: [[""]], data: {} }); + function xv(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 36, + "mat-card", + [["class", "setup-card mat-card"]], + null, + null, + null, + Mh, + Ph + )), + Ba(1, 49152, null, 0, nf, [], null, null), + (t()(), + bi( + 2, + 0, + null, + 0, + 12, + "mat-card-header", + [["class", "mat-card-header"]], + null, + null, + null, + kh, + xh + )), + Ba(3, 49152, null, 0, ef, [], null, null), + (t()(), + bi( + 4, + 0, + null, + 0, + 4, + "div", + [["class", "mat-card-avatar"], ["mat-card-avatar", ""]], + null, + null, + null, + null, + null + )), + Ba(5, 16384, null, 0, tf, [], null, null), + (t()(), + bi( + 6, + 0, + null, + null, + 2, + "mat-icon", + [ + ["aria-hidden", "false"], + ["class", "setup-icon mat-icon notranslate"], + ["role", "img"] + ], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + Yh, + Kh + )), + Ba( + 7, + 9158656, + null, + 0, + Uh, + [Ne, Nh, [8, "false"], [2, Fh]], + null, + null + ), + (t()(), Ai(-1, 0, ["update"])), + (t()(), + bi( + 9, + 0, + null, + 1, + 2, + "mat-card-title", + [["class", "mat-card-title"]], + null, + null, + null, + null, + null + )), + Ba(10, 16384, null, 0, Xg, [], null, null), + (t()(), Ai(-1, null, ["Setup"])), + (t()(), + bi( + 12, + 0, + null, + 1, + 2, + "mat-card-subtitle", + [["class", "mat-card-subtitle"]], + null, + null, + null, + null, + null + )), + Ba(13, 16384, null, 0, Jg, [], null, null), + (t()(), Ai(-1, null, ["Step 3"])), + (t()(), + bi( + 15, + 0, + null, + 0, + 15, + "mat-card-content", + [["class", "mat-card-content"]], + null, + null, + null, + null, + null + )), + Ba(16, 16384, null, 0, Qg, [], null, null), + (t()(), + bi(17, 0, null, null, 1, "p", [], null, null, null, null, null)), + (t()(), + Ai(-1, null, [ + "Beat On will now reinstall modded Beat Saber. Upon launching Beat Saber you will be prompted to allow Beat Saber permissions to access external storage. This will only happen once." + ])), + (t()(), + bi(19, 0, null, null, 1, "p", [], null, null, null, null, null)), + (t()(), + Ai(-1, null, [ + 'If you do not already have untrusted sources enabled, you may be prompted to "allow untrusted sources" and will be directed to the settings page where you will need to turn on the option.' + ])), + (t()(), + bi( + 21, + 0, + null, + null, + 1, + "h2", + [["style", "color: red"]], + null, + null, + null, + null, + null + )), + (t()(), Ai(-1, null, ["IMPORTANT"])), + (t()(), + bi(23, 0, null, null, 7, "ul", [], null, null, null, null, null)), + (t()(), + bi(24, 0, null, null, 4, "li", [], null, null, null, null, null)), + (t()(), + Ai(-1, null, ["After installation has completed, choose the "])), + (t()(), + bi( + 26, + 0, + null, + null, + 1, + "b", + [["style", "color: green"]], + null, + null, + null, + null, + null + )), + (t()(), Ai(-1, null, ["DONE"])), + (t()(), + Ai(-1, null, [ + " button. Do not press the OPEN button, Beat Saber will not launch from here." + ])), + (t()(), + bi(29, 0, null, null, 1, "li", [], null, null, null, null, null)), + (t()(), + Ai(-1, null, [ + 'When the modded APK gets installed, it will probably tell you that you don\'t have "untrusted sources" enabled and will offer to take you to the settings page. Go to the settings page, and turn on the switch for allowing untrusted sources, then you can continue installing the modded APK.' + ])), + (t()(), + bi( + 31, + 0, + null, + 0, + 5, + "mat-card-actions", + [["class", "mat-card-actions"]], + [[2, "mat-card-actions-align-end", null]], + null, + null, + null, + null + )), + Ba(32, 16384, null, 0, $g, [], null, null), + (t()(), + bi( + 33, + 0, + null, + null, + 3, + "button", + [ + ["color", "accent"], + ["fast-click", ""], + ["mat-raised-button", ""] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && (o = !1 !== t.component.clickBegin() && o), o + ); + }, + ky, + xy + )), + Ba( + 34, + 180224, + null, + 0, + Zh, + [Ne, Gf, [2, Py]], + { color: [0, "color"] }, + null + ), + Ba(35, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, 0, ["Install Modded Beat Saber"])) + ], + function(t, n) { + t(n, 7, 0), t(n, 34, 0, "accent"); + }, + function(t, n) { + t( + n, + 6, + 0, + wa(n, 7).inline, + "primary" !== wa(n, 7).color && + "accent" !== wa(n, 7).color && + "warn" !== wa(n, 7).color + ), + t(n, 31, 0, "end" === wa(n, 32).align), + t( + n, + 33, + 0, + wa(n, 34).disabled || null, + "NoopAnimations" === wa(n, 34)._animationMode + ); + } + ); + } + function kv(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "app-setup-step3", + [], + null, + null, + null, + xv, + Mv + )), + Ba(1, 114688, null, 0, Pv, [yc, pv, Nm], null, null) + ], + function(t, n) { + t(n, 1, 0); + }, + null + ); + } + var wv = ha("app-setup-step3", Pv, kv, {}, {}, []), + Sv = new Ut("MatInkBarPositioner", { + providedIn: "root", + factory: function() { + return function(t) { + return { + left: t ? (t.offsetLeft || 0) + "px" : "0", + width: t ? (t.offsetWidth || 0) + "px" : "0" + }; + }; + } + }), + Ev = (function() { + function t(t, n, e) { + (this._elementRef = t), + (this._ngZone = n), + (this._inkBarPositioner = e); + } + return ( + (t.prototype.alignToElement = function(t) { + var n = this; + this.show(), + "undefined" != typeof requestAnimationFrame + ? this._ngZone.runOutsideAngular(function() { + requestAnimationFrame(function() { + return n._setStyles(t); + }); + }) + : this._setStyles(t); + }), + (t.prototype.show = function() { + this._elementRef.nativeElement.style.visibility = "visible"; + }), + (t.prototype.hide = function() { + this._elementRef.nativeElement.style.visibility = "hidden"; + }), + (t.prototype._setStyles = function(t) { + var n = this._inkBarPositioner(t), + e = this._elementRef.nativeElement; + (e.style.left = n.left), (e.style.width = n.width); + }), + t + ); + })(), + Iv = (function(t) { + function n(n, e, o, a, r) { + var i = t.call(this, n) || this; + return ( + (i._dir = e), + (i._ngZone = o), + (i._changeDetectorRef = a), + (i._viewportRuler = r), + (i._onDestroy = new S()), + i + ); + } + return ( + Object(o.__extends)(n, t), + Object.defineProperty(n.prototype, "backgroundColor", { + get: function() { + return this._backgroundColor; + }, + set: function(t) { + var n = this._elementRef.nativeElement; + n.classList.remove("mat-background-" + this.backgroundColor), + t && n.classList.add("mat-background-" + t), + (this._backgroundColor = t); + }, + enumerable: !0, + configurable: !0 + }), + (n.prototype.updateActiveLink = function(t) { + (this._activeLinkChanged = !!t), + this._changeDetectorRef.markForCheck(); + }), + (n.prototype.ngAfterContentInit = function() { + var t = this; + this._ngZone.runOutsideAngular(function() { + return $( + t._dir ? t._dir.change : Wl(null), + t._viewportRuler.change(10) + ) + .pipe(oC(t._onDestroy)) + .subscribe(function() { + return t._alignInkBar(); + }); + }); + }), + (n.prototype.ngAfterContentChecked = function() { + if (this._activeLinkChanged) { + var t = this._tabLinks.find(function(t) { + return t.active; + }); + (this._activeLinkElement = t ? t._elementRef : null), + this._alignInkBar(), + (this._activeLinkChanged = !1); + } + }), + (n.prototype.ngOnDestroy = function() { + this._onDestroy.next(), this._onDestroy.complete(); + }), + (n.prototype._alignInkBar = function() { + this._activeLinkElement + ? (this._inkBar.show(), + this._inkBar.alignToElement( + this._activeLinkElement.nativeElement + )) + : this._inkBar.hide(); + }), + n + ); + })( + nh( + th( + (function() { + return function(t) { + this._elementRef = t; + }; + })(), + "primary" + ) + ) + ), + Av = (function(t) { + function n(n, e, o, a, r, i, l) { + var s = t.call(this) || this; + return ( + (s._tabNavBar = n), + (s._elementRef = e), + (s._focusMonitor = l), + (s._isActive = !1), + (s._tabLinkRipple = new bh(s, o, e, a)), + s._tabLinkRipple.setupTriggerEvents(e.nativeElement), + (s.rippleConfig = r || {}), + (s.tabIndex = parseInt(i) || 0), + l.monitor(e), + s + ); + } + return ( + Object(o.__extends)(n, t), + Object.defineProperty(n.prototype, "active", { + get: function() { + return this._isActive; + }, + set: function(t) { + t !== this._isActive && + ((this._isActive = t), + this._tabNavBar.updateActiveLink(this._elementRef)); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "rippleDisabled", { + get: function() { + return ( + this.disabled || + this.disableRipple || + this._tabNavBar.disableRipple || + !!this.rippleConfig.disabled + ); + }, + enumerable: !0, + configurable: !0 + }), + (n.prototype.ngOnDestroy = function() { + this._tabLinkRipple._removeTriggerEvents(), + this._focusMonitor.stopMonitoring(this._elementRef); + }), + n + ); + })( + eh( + nh( + $f( + (function() { + return function() {}; + })() + ) + ) + ) + ), + Tv = (function() { + return function() {}; + })(), + Rv = (function() { + return function() {}; + })(), + Dv = (function() { + function t(t, n, e, o, a) { + void 0 === t && (t = !1), + void 0 === n && (n = "all"), + void 0 === e && (e = ""), + void 0 === o && (o = ""), + void 0 === a && (a = 0), + (this.matches = t), + (this.mediaQuery = n), + (this.mqAlias = e), + (this.suffix = o), + (this.priority = a), + (this.property = ""); + } + return ( + (t.prototype.clone = function() { + return new t( + this.matches, + this.mediaQuery, + this.mqAlias, + this.suffix + ); + }), + t + ); + })(), + Nv = (function() { + function t() { + this.stylesheet = new Map(); + } + return ( + (t.prototype.addStyleToElement = function(t, n, e) { + var o = this.stylesheet.get(t); + o ? o.set(n, e) : this.stylesheet.set(t, new Map([[n, e]])); + }), + (t.prototype.clearStyles = function() { + this.stylesheet.clear(); + }), + (t.prototype.getStyleForElement = function(t, n) { + var e = this.stylesheet.get(t), + o = ""; + if (e) { + var a = e.get(n); + ("number" != typeof a && "string" != typeof a) || (o = a + ""); + } + return o; + }), + (t.ngInjectableDef = Ct({ + factory: function() { + return new t(); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + zv = { + addFlexToParent: !0, + addOrientationBps: !1, + disableDefaultBps: !1, + disableVendorPrefixes: !1, + serverLoaded: !1, + useColumnBasisZero: !0, + printWithBreakpoints: [], + mediaTriggerAutoRestore: !0, + ssrObserveBreakpoints: [] + }, + Lv = new Ut("Flex Layout token, config options for the library", { + providedIn: "root", + factory: function() { + return zv; + } + }), + jv = new Ut("FlexLayoutServerLoaded", { + providedIn: "root", + factory: function() { + return !1; + } + }), + Fv = new Ut( + "Flex Layout token, collect all breakpoints into one provider", + { + providedIn: "root", + factory: function() { + return null; + } + } + ); + function Bv(t, n) { + return ( + (t = t ? t.clone() : new Dv()), + n && + ((t.mqAlias = n.alias), + (t.mediaQuery = n.mediaQuery), + (t.suffix = n.suffix), + (t.priority = n.priority)), + t + ); + } + var Vv = ["row", "column", "row-reverse", "column-reverse"]; + function Hv(t) { + if (t) + switch (t.toLowerCase()) { + case "reverse": + case "wrap-reverse": + case "reverse-wrap": + t = "wrap-reverse"; + break; + case "no": + case "none": + case "nowrap": + t = "nowrap"; + break; + default: + t = "wrap"; + } + return t; + } + var Uv = (function() { + function t(t, n, e, o) { + (this.elementRef = t), + (this.styleBuilder = n), + (this.styler = e), + (this.marshal = o), + (this.DIRECTIVE_KEY = ""), + (this.inputs = []), + (this.mru = {}), + (this.destroySubject = new S()), + (this.styleCache = new Map()); + } + return ( + Object.defineProperty(t.prototype, "parentElement", { + get: function() { + return this.elementRef.nativeElement.parentElement; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "nativeElement", { + get: function() { + return this.elementRef.nativeElement; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "activatedValue", { + get: function() { + return this.marshal.getValue( + this.nativeElement, + this.DIRECTIVE_KEY + ); + }, + set: function(t) { + this.marshal.setValue( + this.nativeElement, + this.DIRECTIVE_KEY, + t, + this.marshal.activatedAlias + ); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.ngOnChanges = function(t) { + var n = this; + Object.keys(t).forEach(function(e) { + if (-1 !== n.inputs.indexOf(e)) { + var o = e + .split(".") + .slice(1) + .join("."); + n.setValue(t[e].currentValue, o); + } + }); + }), + (t.prototype.ngOnDestroy = function() { + this.destroySubject.next(), + this.destroySubject.complete(), + this.marshal.releaseElement(this.nativeElement); + }), + (t.prototype.init = function(t) { + void 0 === t && (t = []), + this.marshal.init( + this.elementRef.nativeElement, + this.DIRECTIVE_KEY, + this.updateWithValue.bind(this), + this.clearStyles.bind(this), + t + ); + }), + (t.prototype.addStyles = function(t, n) { + var e = this.styleBuilder, + a = e.shouldCache, + r = this.styleCache.get(t); + (r && a) || + ((r = e.buildStyles(t, n)), a && this.styleCache.set(t, r)), + (this.mru = Object(o.__assign)({}, r)), + this.applyStyleToElement(r), + e.sideEffect(t, r, n); + }), + (t.prototype.clearStyles = function() { + var t = this; + Object.keys(this.mru).forEach(function(n) { + t.mru[n] = ""; + }), + this.applyStyleToElement(this.mru), + (this.mru = {}); + }), + (t.prototype.triggerUpdate = function() { + this.marshal.triggerUpdate( + this.nativeElement, + this.DIRECTIVE_KEY + ); + }), + (t.prototype.getFlexFlowDirection = function(t, n) { + if ((void 0 === n && (n = !1), t)) { + var e = this.styler.getFlowDirection(t), + o = e[0]; + if (!e[1] && n) { + var a = (function(t) { + var n, + e, + o = (function(t) { + var n = (t = t ? t.toLowerCase() : "").split(" "), + e = n[0], + o = n[1], + a = n[2]; + return ( + Vv.find(function(t) { + return t === e; + }) || (e = Vv[0]), + "inline" === o && + ((o = "inline" !== a ? a : ""), (a = "inline")), + [e, Hv(o), !!a] + ); + })(t); + return ( + void 0 === (n = o[1]) && (n = null), + void 0 === (e = o[2]) && (e = !1), + { + display: e ? "inline-flex" : "flex", + "box-sizing": "border-box", + "flex-direction": o[0], + "flex-wrap": n || null + } + ); + })(o); + this.styler.applyStyleToElements(a, [t]); + } + return o.trim(); + } + return "row"; + }), + (t.prototype.applyStyleToElement = function(t, n, e) { + void 0 === e && (e = this.nativeElement), + this.styler.applyStyleToElement(e, t, n); + }), + (t.prototype.setValue = function(t, n) { + this.marshal.setValue( + this.nativeElement, + this.DIRECTIVE_KEY, + t, + n + ); + }), + (t.prototype.updateWithValue = function(t) { + this.addStyles(t); + }), + t + ); + })(), + qv = [ + { + alias: "xs", + mediaQuery: "screen and (min-width: 0px) and (max-width: 599.99px)", + priority: 1e3 + }, + { + alias: "sm", + mediaQuery: + "screen and (min-width: 600px) and (max-width: 959.99px)", + priority: 900 + }, + { + alias: "md", + mediaQuery: + "screen and (min-width: 960px) and (max-width: 1279.99px)", + priority: 800 + }, + { + alias: "lg", + mediaQuery: + "screen and (min-width: 1280px) and (max-width: 1919.99px)", + priority: 700 + }, + { + alias: "xl", + mediaQuery: + "screen and (min-width: 1920px) and (max-width: 4999.99px)", + priority: 600 + }, + { + alias: "lt-sm", + overlapping: !0, + mediaQuery: "screen and (max-width: 599.99px)", + priority: 950 + }, + { + alias: "lt-md", + overlapping: !0, + mediaQuery: "screen and (max-width: 959.99px)", + priority: 850 + }, + { + alias: "lt-lg", + overlapping: !0, + mediaQuery: "screen and (max-width: 1279.99px)", + priority: 750 + }, + { + alias: "lt-xl", + overlapping: !0, + priority: 650, + mediaQuery: "screen and (max-width: 1919.99px)" + }, + { + alias: "gt-xs", + overlapping: !0, + mediaQuery: "screen and (min-width: 600px)", + priority: -950 + }, + { + alias: "gt-sm", + overlapping: !0, + mediaQuery: "screen and (min-width: 960px)", + priority: -850 + }, + { + alias: "gt-md", + overlapping: !0, + mediaQuery: "screen and (min-width: 1280px)", + priority: -750 + }, + { + alias: "gt-lg", + overlapping: !0, + mediaQuery: "screen and (min-width: 1920px)", + priority: -650 + } + ], + Kv = "(orientation: portrait) and (max-width: 599.99px)", + Yv = + "(orientation: portrait) and (min-width: 600px) and (max-width: 839.99px)", + Wv = + "(orientation: landscape) and (min-width: 960px) and (max-width: 1279.99px)", + Gv = "(orientation: portrait) and (min-width: 840px)", + Zv = "(orientation: landscape) and (min-width: 1280px)", + Qv = { + HANDSET: Kv + ", (orientation: landscape) and (max-width: 959.99px)", + TABLET: Yv + " , " + Wv, + WEB: Gv + ", " + Zv + " ", + HANDSET_PORTRAIT: "" + Kv, + TABLET_PORTRAIT: Yv + " ", + WEB_PORTRAIT: "" + Gv, + HANDSET_LANDSCAPE: + "(orientation: landscape) and (max-width: 959.99px)]", + TABLET_LANDSCAPE: "" + Wv, + WEB_LANDSCAPE: "" + Zv + }, + Xv = [ + { alias: "handset", priority: 2e3, mediaQuery: Qv.HANDSET }, + { + alias: "handset.landscape", + priority: 2e3, + mediaQuery: Qv.HANDSET_LANDSCAPE + }, + { + alias: "handset.portrait", + priority: 2e3, + mediaQuery: Qv.HANDSET_PORTRAIT + }, + { alias: "tablet", priority: 2100, mediaQuery: Qv.TABLET }, + { alias: "tablet.landscape", priority: 2100, mediaQuery: Qv.TABLET }, + { + alias: "tablet.portrait", + priority: 2100, + mediaQuery: Qv.TABLET_PORTRAIT + }, + { alias: "web", priority: 2200, mediaQuery: Qv.WEB, overlapping: !0 }, + { + alias: "web.landscape", + priority: 2200, + mediaQuery: Qv.WEB_LANDSCAPE, + overlapping: !0 + }, + { + alias: "web.portrait", + priority: 2200, + mediaQuery: Qv.WEB_PORTRAIT, + overlapping: !0 + } + ], + Jv = /(\.|-|_)/g; + function $v(t) { + var n = t.length > 0 ? t.charAt(0) : "", + e = t.length > 1 ? t.slice(1) : ""; + return n.toUpperCase() + e; + } + var tO = new Ut("Token (@angular/flex-layout) Breakpoints", { + providedIn: "root", + factory: function() { + var t = Rt(Fv), + n = Rt(Lv), + e = [].concat.apply( + [], + (t || []).map(function(t) { + return Array.isArray(t) ? t : [t]; + }) + ); + return (function(t, n) { + void 0 === n && (n = []); + var e, + o = {}; + return ( + t.forEach(function(t) { + o[t.alias] = t; + }), + n.forEach(function(t) { + o[t.alias] + ? (function(t) { + for (var n = [], e = 1; e < arguments.length; e++) + n[e - 1] = arguments[e]; + if (null == t) + throw TypeError( + "Cannot convert undefined or null to object" + ); + for (var o = 0, a = n; o < a.length; o++) { + var r = a[o]; + if (null != r) + for (var i in r) r.hasOwnProperty(i) && (t[i] = r[i]); + } + })(o[t.alias], t) + : (o[t.alias] = t); + }), + (e = Object.keys(o).map(function(t) { + return o[t]; + })).forEach(function(t) { + t.suffix || + ((t.suffix = t.alias + .replace(Jv, "|") + .split("|") + .map($v) + .join("")), + (t.overlapping = !!t.overlapping)); + }), + e + ); + })( + (n.disableDefaultBps ? [] : qv).concat( + n.addOrientationBps ? Xv : [] + ), + e + ); + } + }); + function nO(t, n) { + return ((n && n.priority) || 0) - ((t && t.priority) || 0); + } + function eO(t, n) { + return (t.priority || 0) - (n.priority || 0); + } + var oO = (function() { + function t(t) { + (this.findByMap = new Map()), (this.items = t.slice().sort(eO)); + } + return ( + (t.prototype.findByAlias = function(t) { + return t + ? this.findWithPredicate(t, function(n) { + return n.alias == t; + }) + : null; + }), + (t.prototype.findByQuery = function(t) { + return this.findWithPredicate(t, function(n) { + return n.mediaQuery == t; + }); + }), + Object.defineProperty(t.prototype, "overlappings", { + get: function() { + return this.items.filter(function(t) { + return 1 == t.overlapping; + }); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "aliases", { + get: function() { + return this.items.map(function(t) { + return t.alias; + }); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "suffixes", { + get: function() { + return this.items.map(function(t) { + return t.suffix ? t.suffix : ""; + }); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.findWithPredicate = function(t, n) { + var e = this.findByMap.get(t); + return ( + e || + ((e = this.items.find(n) || null), this.findByMap.set(t, e)), + e || null + ); + }), + (t.ngInjectableDef = Ct({ + factory: function() { + return new t(Rt(tO)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + aO = (function() { + function t(t, n, e) { + (this._zone = t), + (this._platformId = n), + (this._document = e), + (this.source = new Cc(new Dv(!0))), + (this.registry = new Map()), + (this._observable$ = this.source.asObservable()); + } + return ( + Object.defineProperty(t.prototype, "activations", { + get: function() { + var t = []; + return ( + this.registry.forEach(function(n, e) { + n.matches && t.push(e); + }), + t + ); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.isActive = function(t) { + var n = this.registry.get(t); + return !!n && n.matches; + }), + (t.prototype.observe = function(t, n) { + var e = this; + if ((void 0 === n && (n = !1), t && t.length)) { + var o = this._observable$.pipe( + Zl(function(e) { + return !n || t.indexOf(e.mediaQuery) > -1; + }) + ); + return $( + new O(function(n) { + var o = e.registerQuery(t); + if (o.length) { + var a = o.pop(); + o.forEach(function(t) { + n.next(t); + }), + e.source.next(a); + } + n.complete(); + }), + o + ); + } + return this._observable$; + }), + (t.prototype.registerQuery = function(t) { + var n = this, + e = Array.isArray(t) ? t : [t], + o = []; + return ( + (function(t, n) { + var e = t.filter(function(t) { + return !rO[t]; + }); + if (e.length > 0) { + var o = e.join(", "); + try { + var a = n.createElement("style"); + a.setAttribute("type", "text/css"), + a.styleSheet || + a.appendChild( + n.createTextNode( + "\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media " + + o + + " {.fx-query-test{ }}\n" + ) + ), + n.head.appendChild(a), + e.forEach(function(t) { + return (rO[t] = a); + }); + } catch (r) { + console.error(r); + } + } + })(e, this._document), + e.forEach(function(t) { + var e = n.registry.get(t); + e || + ((e = n.buildMQL(t)).addListener(function(e) { + n._zone.run(function() { + return n.source.next(new Dv(e.matches, t)); + }); + }), + n.registry.set(t, e)), + e.matches && o.push(new Dv(!0, t)); + }), + o + ); + }), + (t.prototype.buildMQL = function(t) { + return (function(t, n) { + return n && window.matchMedia("all").addListener + ? window.matchMedia(t) + : { + matches: "all" === t || "" === t, + media: t, + addListener: function() {}, + removeListener: function() {} + }; + })(t, Ls(this._platformId)); + }), + (t.ngInjectableDef = Ct({ + factory: function() { + return new t(Rt(Dr), Rt(fr), Rt(Ds)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + rO = {}, + iO = { alias: "print", mediaQuery: "print", priority: 1e3 }, + lO = (function() { + function t(t, n) { + (this.breakpoints = t), + (this.layoutConfig = n), + (this.isPrinting = !1), + (this.queue = new sO()), + (this.deactivations = []); + } + return ( + (t.prototype.withPrintQuery = function(t) { + return t.concat(["print"]); + }), + (t.prototype.isPrintEvent = function(t) { + return t.mediaQuery.startsWith("print"); + }), + Object.defineProperty(t.prototype, "printAlias", { + get: function() { + return this.layoutConfig.printWithBreakpoints || []; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "printBreakPoints", { + get: function() { + var t = this; + return this.printAlias + .map(function(n) { + return t.breakpoints.findByAlias(n); + }) + .filter(function(t) { + return null !== t; + }); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.getEventBreakpoints = function(t) { + var n = this.breakpoints.findByQuery(t.mediaQuery); + return (n + ? this.printBreakPoints.concat([n]) + : this.printBreakPoints + ).sort(nO); + }), + (t.prototype.updateEvent = function(t) { + var n = this.breakpoints.findByQuery(t.mediaQuery); + return ( + this.isPrintEvent(t) && + ((n = this.getEventBreakpoints(t)[0]), + (t.mediaQuery = n ? n.mediaQuery : "")), + Bv(t, n) + ); + }), + (t.prototype.interceptEvents = function(t) { + var n = this; + return function(e) { + n.isPrintEvent(e) + ? e.matches && !n.isPrinting + ? (n.startPrinting(t, n.getEventBreakpoints(e)), + t.updateStyles()) + : !e.matches && + n.isPrinting && + (n.stopPrinting(t), t.updateStyles()) + : n.collectActivations(e); + }; + }), + (t.prototype.blockPropagation = function() { + var t = this; + return function(n) { + return !(t.isPrinting || t.isPrintEvent(n)); + }; + }), + (t.prototype.startPrinting = function(t, n) { + (this.isPrinting = !0), + (t.activatedBreakpoints = this.queue.addPrintBreakpoints(n)); + }), + (t.prototype.stopPrinting = function(t) { + (t.activatedBreakpoints = this.deactivations), + (this.deactivations = []), + this.queue.clear(), + (this.isPrinting = !1); + }), + (t.prototype.collectActivations = function(t) { + if (!this.isPrinting) + if (t.matches) this.deactivations = []; + else { + var n = this.breakpoints.findByQuery(t.mediaQuery); + n && + (this.deactivations.push(n), this.deactivations.sort(nO)); + } + }), + (t.ngInjectableDef = Ct({ + factory: function() { + return new t(Rt(oO), Rt(Lv)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + sO = (function() { + function t() { + this.printBreakpoints = []; + } + return ( + (t.prototype.addPrintBreakpoints = function(t) { + var n = this; + return ( + t.push(iO), + t.sort(nO), + t.forEach(function(t) { + return n.addBreakpoint(t); + }), + this.printBreakpoints + ); + }), + (t.prototype.addBreakpoint = function(t) { + t && + void 0 === + this.printBreakpoints.find(function(n) { + return n.mediaQuery === t.mediaQuery; + }) && + (this.printBreakpoints = (function(t) { + return !!t && t.mediaQuery.startsWith("print"); + })(t) + ? [t].concat(this.printBreakpoints) + : this.printBreakpoints.concat([t])); + }), + (t.prototype.clear = function() { + this.printBreakpoints = []; + }), + t + ); + })(); + function cO(t) { + for (var n in t) { + var e = t[n] || ""; + switch (n) { + case "display": + t.display = + "flex" === e + ? ["-webkit-flex", "flex"] + : "inline-flex" === e + ? ["-webkit-inline-flex", "inline-flex"] + : e; + break; + case "align-items": + case "align-self": + case "align-content": + case "flex": + case "flex-basis": + case "flex-flow": + case "flex-grow": + case "flex-shrink": + case "flex-wrap": + case "justify-content": + t["-webkit-" + n] = e; + break; + case "flex-direction": + (t["-webkit-flex-direction"] = e = e || "row"), + (t["flex-direction"] = e); + break; + case "order": + t.order = t["-webkit-" + n] = isNaN(+e) ? "0" : e; + } + } + return t; + } + var uO = (function() { + function t(t, n, e, o) { + (this._serverStylesheet = t), + (this._serverModuleLoaded = n), + (this._platformId = e), + (this.layoutConfig = o); + } + return ( + (t.prototype.applyStyleToElement = function(t, n, e) { + void 0 === e && (e = null); + var o = {}; + "string" == typeof n && ((o[n] = e), (n = o)), + (o = this.layoutConfig.disableVendorPrefixes ? n : cO(n)), + this._applyMultiValueStyleToElement(o, t); + }), + (t.prototype.applyStyleToElements = function(t, n) { + var e = this; + void 0 === n && (n = []); + var o = this.layoutConfig.disableVendorPrefixes ? t : cO(t); + n.forEach(function(t) { + e._applyMultiValueStyleToElement(o, t); + }); + }), + (t.prototype.getFlowDirection = function(t) { + var n = this.lookupStyle(t, "flex-direction"); + return [ + n || "row", + this.lookupInlineStyle(t, "flex-direction") || + (js(this._platformId) && this._serverModuleLoaded) + ? n + : "" + ]; + }), + (t.prototype.lookupAttributeValue = function(t, n) { + return t.getAttribute(n) || ""; + }), + (t.prototype.lookupInlineStyle = function(t, n) { + return Ls(this._platformId) + ? t.style.getPropertyValue(n) + : this._getServerStyle(t, n); + }), + (t.prototype.lookupStyle = function(t, n, e) { + void 0 === e && (e = !1); + var o = ""; + return ( + t && + ((o = this.lookupInlineStyle(t, n)) || + (Ls(this._platformId) + ? e || (o = getComputedStyle(t).getPropertyValue(n)) + : this._serverModuleLoaded && + (o = this._serverStylesheet.getStyleForElement(t, n)))), + o ? o.trim() : "" + ); + }), + (t.prototype._applyMultiValueStyleToElement = function(t, n) { + var e = this; + Object.keys(t) + .sort() + .forEach(function(o) { + var a = t[o], + r = Array.isArray(a) ? a : [a]; + r.sort(); + for (var i = 0, l = r; i < l.length; i++) { + var s = l[i]; + (s = s ? s + "" : ""), + Ls(e._platformId) || !e._serverModuleLoaded + ? Ls(e._platformId) + ? n.style.setProperty(o, s) + : e._setServerStyle(n, o, s) + : e._serverStylesheet.addStyleToElement(n, o, s); + } + }); + }), + (t.prototype._setServerStyle = function(t, n, e) { + n = n.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(); + var o = this._readStyleAttribute(t); + (o[n] = e || ""), this._writeStyleAttribute(t, o); + }), + (t.prototype._getServerStyle = function(t, n) { + return this._readStyleAttribute(t)[n] || ""; + }), + (t.prototype._readStyleAttribute = function(t) { + var n = {}, + e = t.getAttribute("style"); + if (e) + for (var o = e.split(/;+/g), a = 0; a < o.length; a++) { + var r = o[a].trim(); + if (r.length > 0) { + var i = r.indexOf(":"); + if (-1 === i) throw new Error("Invalid CSS style: " + r); + n[r.substr(0, i).trim()] = r.substr(i + 1).trim(); + } + } + return n; + }), + (t.prototype._writeStyleAttribute = function(t, n) { + var e = ""; + for (var o in n) n[o] && (e += o + ":" + n[o] + ";"); + t.setAttribute("style", e); + }), + (t.ngInjectableDef = Ct({ + factory: function() { + return new t(Rt(Nv, 8), Rt(jv, 8), Rt(fr), Rt(Lv)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + dO = (function() { + function t() { + this.shouldCache = !0; + } + return (t.prototype.sideEffect = function(t, n, e) {}), t; + })(); + function pO(t, n, e) { + void 0 === n && (n = "1"), void 0 === e && (e = "1"); + var o = [n, e, t], + a = t.indexOf("calc"); + if (a > 0) + (o[2] = mO(t.substring(a).trim())), + 2 == + (r = t + .substr(0, a) + .trim() + .split(" ")).length && ((o[0] = r[0]), (o[1] = r[1])); + else if (0 == a) o[2] = mO(t.trim()); + else { + var r; + o = 3 === (r = t.split(" ")).length ? r : [n, e, t]; + } + return o; + } + function mO(t) { + return t.replace(/[\s]/g, "").replace(/[\/\*\+\-]/g, " $& "); + } + var gO = (function() { + function t(t, n, e) { + (this.matchMedia = t), + (this.breakpoints = n), + (this.hook = e), + (this.activatedBreakpoints = []), + (this.elementMap = new Map()), + (this.elementKeyMap = new WeakMap()), + (this.watcherMap = new WeakMap()), + (this.updateMap = new WeakMap()), + (this.clearMap = new WeakMap()), + (this.subject = new S()), + this.observeActivations(); + } + return ( + Object.defineProperty(t.prototype, "activatedAlias", { + get: function() { + return this.activatedBreakpoints[0] + ? this.activatedBreakpoints[0].alias + : ""; + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.onMediaChange = function(t) { + var n = this.findByQuery(t.mediaQuery); + n && + ((t = Bv(t, n)).matches && + -1 === this.activatedBreakpoints.indexOf(n) + ? (this.activatedBreakpoints.push(n), + this.activatedBreakpoints.sort(nO), + this.updateStyles()) + : t.matches || + -1 === this.activatedBreakpoints.indexOf(n) || + (this.activatedBreakpoints.splice( + this.activatedBreakpoints.indexOf(n), + 1 + ), + this.activatedBreakpoints.sort(nO), + this.updateStyles())); + }), + (t.prototype.init = function(t, n, e, o, a) { + void 0 === a && (a = []), + fO(this.updateMap, t, n, e), + fO(this.clearMap, t, n, o), + this.buildElementKeyMap(t, n), + this.watchExtraTriggers(t, n, a); + }), + (t.prototype.getValue = function(t, n, e) { + var o = this.elementMap.get(t); + if (o) { + var a = void 0 !== e ? o.get(e) : this.getActivatedValues(o, n); + if (a) return a.get(n); + } + }), + (t.prototype.hasValue = function(t, n) { + var e = this.elementMap.get(t); + if (e) { + var o = this.getActivatedValues(e, n); + if (o) return void 0 !== o.get(n) || !1; + } + return !1; + }), + (t.prototype.setValue = function(t, n, e, o) { + var a = this.elementMap.get(t); + if (a) { + var r = (a.get(o) || new Map()).set(n, e); + a.set(o, r), this.elementMap.set(t, a); + } else + (a = new Map().set(o, new Map().set(n, e))), + this.elementMap.set(t, a); + var i = this.getValue(t, n); + void 0 !== i && this.updateElement(t, n, i); + }), + (t.prototype.trackValue = function(t, n) { + return this.subject.asObservable().pipe( + Zl(function(e) { + return e.element === t && e.key === n; + }) + ); + }), + (t.prototype.updateStyles = function() { + var t = this; + this.elementMap.forEach(function(n, e) { + var o = new Set(t.elementKeyMap.get(e)), + a = t.getActivatedValues(n); + a && + a.forEach(function(n, a) { + t.updateElement(e, a, n), o.delete(a); + }), + o.forEach(function(o) { + if ((a = t.getActivatedValues(n, o))) { + var r = a.get(o); + t.updateElement(e, o, r); + } else t.clearElement(e, o); + }); + }); + }), + (t.prototype.clearElement = function(t, n) { + var e = this.clearMap.get(t); + if (e) { + var o = e.get(n); + o && (o(), this.subject.next({ element: t, key: n, value: "" })); + } + }), + (t.prototype.updateElement = function(t, n, e) { + var o = this.updateMap.get(t); + if (o) { + var a = o.get(n); + a && (a(e), this.subject.next({ element: t, key: n, value: e })); + } + }), + (t.prototype.releaseElement = function(t) { + var n = this.watcherMap.get(t); + n && + (n.forEach(function(t) { + return t.unsubscribe(); + }), + this.watcherMap.delete(t)); + var e = this.elementMap.get(t); + e && + (e.forEach(function(t, n) { + return e.delete(n); + }), + this.elementMap.delete(t)); + }), + (t.prototype.triggerUpdate = function(t, n) { + var e = this, + o = this.elementMap.get(t); + if (o) { + var a = this.getActivatedValues(o, n); + a && + (n + ? this.updateElement(t, n, a.get(n)) + : a.forEach(function(n, o) { + return e.updateElement(t, o, n); + })); + } + }), + (t.prototype.buildElementKeyMap = function(t, n) { + var e = this.elementKeyMap.get(t); + e || ((e = new Set()), this.elementKeyMap.set(t, e)), e.add(n); + }), + (t.prototype.watchExtraTriggers = function(t, n, e) { + var o = this; + if (e && e.length) { + var a = this.watcherMap.get(t); + if ( + (a || ((a = new Map()), this.watcherMap.set(t, a)), !a.get(n)) + ) { + var r = $.apply(void 0, e).subscribe(function() { + var e = o.getValue(t, n); + o.updateElement(t, n, e); + }); + a.set(n, r); + } + } + }), + (t.prototype.findByQuery = function(t) { + return this.breakpoints.findByQuery(t); + }), + (t.prototype.getActivatedValues = function(t, n) { + for (var e = 0; e < this.activatedBreakpoints.length; e++) { + var o = t.get(this.activatedBreakpoints[e].alias); + if (o && (void 0 === n || o.has(n))) return o; + } + var a = t.get(""); + return void 0 === n || (a && a.has(n)) ? a : void 0; + }), + (t.prototype.observeActivations = function() { + var t = this.breakpoints.items.map(function(t) { + return t.mediaQuery; + }); + this.matchMedia + .observe(this.hook.withPrintQuery(t)) + .pipe( + Dc(this.hook.interceptEvents(this)), + Zl(this.hook.blockPropagation()) + ) + .subscribe(this.onMediaChange.bind(this)); + }), + (t.ngInjectableDef = Ct({ + factory: function() { + return new t(Rt(aO), Rt(oO), Rt(lO)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(); + function fO(t, n, e, o) { + if (void 0 !== o) { + var a = t.get(n); + a || ((a = new Map()), t.set(n, a)), a.set(e, o); + } + } + var hO = "inline", + bO = ["row", "column", "row-reverse", "column-reverse"]; + function _O(t) { + var n = (t = t ? t.toLowerCase() : "").split(" "), + e = n[0], + o = n[1], + a = n[2]; + return ( + bO.find(function(t) { + return t === e; + }) || (e = bO[0]), + o === hO && ((o = a !== hO ? a : ""), (a = hO)), + [e, CO(o), !!a] + ); + } + function yO(t) { + return _O(t)[0].indexOf("row") > -1; + } + function CO(t) { + if (t) + switch (t.toLowerCase()) { + case "reverse": + case "wrap-reverse": + case "reverse-wrap": + t = "wrap-reverse"; + break; + case "no": + case "none": + case "nowrap": + t = "nowrap"; + break; + default: + t = "wrap"; + } + return t; + } + var vO = (function(t) { + function n() { + return (null !== t && t.apply(this, arguments)) || this; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.buildStyles = function(t) { + return ( + void 0 === (n = (o = _O(t))[1]) && (n = null), + void 0 === (e = o[2]) && (e = !1), + { + display: e ? "inline-flex" : "flex", + "box-sizing": "border-box", + "flex-direction": o[0], + "flex-wrap": n || null + } + ); + var n, e, o; + }), + (n.ngInjectableDef = Ct({ + factory: function() { + return new n(); + }, + token: n, + providedIn: "root" + })), + n + ); + })(dO), + OO = [ + "fxLayout", + "fxLayout.xs", + "fxLayout.sm", + "fxLayout.md", + "fxLayout.lg", + "fxLayout.xl", + "fxLayout.lt-sm", + "fxLayout.lt-md", + "fxLayout.lt-lg", + "fxLayout.lt-xl", + "fxLayout.gt-xs", + "fxLayout.gt-sm", + "fxLayout.gt-md", + "fxLayout.gt-lg" + ], + PO = (function(t) { + function n() { + var n = (null !== t && t.apply(this, arguments)) || this; + return (n.inputs = OO), n; + } + return Object(o.__extends)(n, t), n; + })( + (function(t) { + function n(n, e, o, a) { + var r = t.call(this, n, o, e, a) || this; + return ( + (r.elRef = n), + (r.styleUtils = e), + (r.styleBuilder = o), + (r.marshal = a), + (r.DIRECTIVE_KEY = "layout"), + (r.styleCache = MO), + r.init(), + r + ); + } + return Object(o.__extends)(n, t), n; + })(Uv) + ), + MO = new Map(); + function xO(t) { + for (var n = [], e = 1; e < arguments.length; e++) + n[e - 1] = arguments[e]; + if (null == t) + throw TypeError("Cannot convert undefined or null to object"); + for (var o = 0, a = n; o < a.length; o++) { + var r = a[o]; + if (null != r) for (var i in r) r.hasOwnProperty(i) && (t[i] = r[i]); + } + return t; + } + var kO = (function(t) { + function n(n) { + var e = t.call(this) || this; + return (e.layoutConfig = n), e; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.buildStyles = function(t, n) { + var e = t.split(" "), + o = e[0], + a = e[1], + r = e.slice(2).join(" "), + i = n.direction.indexOf("column") > -1 ? "column" : "row", + l = yO(i) ? "max-width" : "max-height", + s = yO(i) ? "min-width" : "min-height", + c = String(r).indexOf("calc") > -1, + u = c || "auto" === r, + d = String(r).indexOf("%") > -1 && !c, + p = + String(r).indexOf("px") > -1 || + String(r).indexOf("rem") > -1 || + String(r).indexOf("em") > -1 || + String(r).indexOf("vw") > -1 || + String(r).indexOf("vh") > -1, + m = c || p; + a = "0" == a ? 0 : a; + var g = !(o = "0" == o ? 0 : o) && !a, + f = {}, + h = { + "max-width": null, + "max-height": null, + "min-width": null, + "min-height": null + }; + switch (r || "") { + case "": + r = + "row" === i + ? "0%" + : !1 !== this.layoutConfig.useColumnBasisZero + ? "0.000000001px" + : "auto"; + break; + case "initial": + case "nogrow": + (o = 0), (r = "auto"); + break; + case "grow": + r = "100%"; + break; + case "noshrink": + (a = 0), (r = "auto"); + break; + case "auto": + break; + case "none": + (o = 0), (a = 0), (r = "auto"); + break; + default: + m || d || isNaN(r) || (r += "%"), + "0%" === r && (m = !0), + "0px" === r && (r = "0%"), + (f = xO( + h, + c + ? { + "flex-grow": o, + "flex-shrink": a, + "flex-basis": m ? r : "100%" + } + : { flex: o + " " + a + " " + (m ? r : "100%") } + )); + } + return ( + f.flex || + f["flex-grow"] || + (f = xO( + h, + c + ? { "flex-grow": o, "flex-shrink": a, "flex-basis": r } + : { flex: o + " " + a + " " + r } + )), + "0%" !== r && + "0px" !== r && + "0.000000001px" !== r && + "auto" !== r && + ((f[s] = g || (m && o) ? r : null), + (f[l] = g || (!u && a) ? r : null)), + f[s] || f[l] + ? n.hasWrap && + (f[c ? "flex-basis" : "flex"] = f[l] + ? c + ? f[l] + : o + " " + a + " " + f[l] + : c + ? f[s] + : o + " " + a + " " + f[s]) + : (f = xO( + h, + c + ? { "flex-grow": o, "flex-shrink": a, "flex-basis": r } + : { flex: o + " " + a + " " + r } + )), + xO(f, { "box-sizing": "border-box" }) + ); + }), + (n.ngInjectableDef = Ct({ + factory: function() { + return new n(Rt(Lv)); + }, + token: n, + providedIn: "root" + })), + n + ); + })(dO), + wO = [ + "fxFlex", + "fxFlex.xs", + "fxFlex.sm", + "fxFlex.md", + "fxFlex.lg", + "fxFlex.xl", + "fxFlex.lt-sm", + "fxFlex.lt-md", + "fxFlex.lt-lg", + "fxFlex.lt-xl", + "fxFlex.gt-xs", + "fxFlex.gt-sm", + "fxFlex.gt-md", + "fxFlex.gt-lg" + ], + SO = (function(t) { + function n() { + var n = (null !== t && t.apply(this, arguments)) || this; + return (n.inputs = wO), n; + } + return Object(o.__extends)(n, t), n; + })( + (function(t) { + function n(n, e, o, a, r) { + var i = t.call(this, n, a, e, r) || this; + return ( + (i.elRef = n), + (i.styleUtils = e), + (i.layoutConfig = o), + (i.styleBuilder = a), + (i.marshal = r), + (i.DIRECTIVE_KEY = "flex"), + (i.direction = ""), + (i.wrap = !1), + (i.flexGrow = "1"), + (i.flexShrink = "1"), + i.init(), + i.parentElement && + (i.marshal + .trackValue(i.parentElement, "layout") + .pipe(oC(i.destroySubject)) + .subscribe(i.onLayoutChange.bind(i)), + i.marshal + .trackValue(i.nativeElement, "layout-align") + .pipe(oC(i.destroySubject)) + .subscribe(i.triggerReflow.bind(i))), + i + ); + } + return ( + Object(o.__extends)(n, t), + Object.defineProperty(n.prototype, "shrink", { + get: function() { + return this.flexShrink; + }, + set: function(t) { + (this.flexShrink = t || "1"), this.triggerReflow(); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "grow", { + get: function() { + return this.flexGrow; + }, + set: function(t) { + (this.flexGrow = t || "1"), this.triggerReflow(); + }, + enumerable: !0, + configurable: !0 + }), + (n.prototype.onLayoutChange = function(t) { + var n = t.value.split(" "); + (this.direction = n[0]), + (this.wrap = void 0 !== n[1] && "wrap" === n[1]), + this.triggerUpdate(); + }), + (n.prototype.updateWithValue = function(t) { + this.direction || + (this.direction = this.getFlexFlowDirection( + this.parentElement, + !1 !== this.layoutConfig.addFlexToParent + )); + var n = this.direction, + e = n.startsWith("row"), + o = this.wrap; + e && o + ? (this.styleCache = AO) + : e && !o + ? (this.styleCache = EO) + : !e && o + ? (this.styleCache = TO) + : e || o || (this.styleCache = IO); + var a = pO( + String(t).replace(";", ""), + this.flexGrow, + this.flexShrink + ); + this.addStyles(a.join(" "), { direction: n, hasWrap: o }); + }), + (n.prototype.triggerReflow = function() { + var t = this.activatedValue; + if (void 0 !== t) { + var n = pO(t, this.flexGrow, this.flexShrink); + this.marshal.updateElement( + this.nativeElement, + this.DIRECTIVE_KEY, + n.join(" ") + ); + } + }), + n + ); + })(Uv) + ), + EO = new Map(), + IO = new Map(), + AO = new Map(), + TO = new Map(), + RO = { + margin: 0, + width: "100%", + height: "100%", + "min-width": "100%", + "min-height": "100%" + }, + DO = (function(t) { + function n() { + return (null !== t && t.apply(this, arguments)) || this; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.buildStyles = function(t) { + return RO; + }), + (n.ngInjectableDef = Ct({ + factory: function() { + return new n(); + }, + token: n, + providedIn: "root" + })), + n + ); + })(dO), + NO = (function(t) { + function n(n, e, o, a) { + var r = t.call(this, n, o, e, a) || this; + return ( + (r.elRef = n), + (r.styleUtils = e), + (r.styleBuilder = o), + (r.marshal = a), + (r.styleCache = zO), + r.addStyles(""), + r + ); + } + return Object(o.__extends)(n, t), n; + })(Uv), + zO = new Map(), + LO = (function() { + return function() {}; + })(), + jO = (function() { + function t() {} + return ( + (t.prototype.create = function(t) { + return "undefined" == typeof MutationObserver + ? null + : new MutationObserver(t); + }), + (t.ngInjectableDef = yt({ + factory: function() { + return new t(); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + FO = (function() { + function t(t) { + (this._mutationObserverFactory = t), + (this._observedElements = new Map()); + } + return ( + (t.prototype.ngOnDestroy = function() { + var t = this; + this._observedElements.forEach(function(n, e) { + return t._cleanupObserver(e); + }); + }), + (t.prototype.observe = function(t) { + var n = this, + e = pf(t); + return new O(function(t) { + var o = n._observeElement(e).subscribe(t); + return function() { + o.unsubscribe(), n._unobserveElement(e); + }; + }); + }), + (t.prototype._observeElement = function(t) { + if (this._observedElements.has(t)) + this._observedElements.get(t).count++; + else { + var n = new S(), + e = this._mutationObserverFactory.create(function(t) { + return n.next(t); + }); + e && + e.observe(t, { + characterData: !0, + childList: !0, + subtree: !0 + }), + this._observedElements.set(t, { + observer: e, + stream: n, + count: 1 + }); + } + return this._observedElements.get(t).stream; + }), + (t.prototype._unobserveElement = function(t) { + this._observedElements.has(t) && + (this._observedElements.get(t).count--, + this._observedElements.get(t).count || + this._cleanupObserver(t)); + }), + (t.prototype._cleanupObserver = function(t) { + if (this._observedElements.has(t)) { + var n = this._observedElements.get(t), + e = n.observer, + o = n.stream; + e && e.disconnect(), + o.complete(), + this._observedElements.delete(t); + } + }), + (t.ngInjectableDef = yt({ + factory: function() { + return new t(Tt(jO)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + BO = (function() { + function t(t, n, e) { + (this._contentObserver = t), + (this._elementRef = n), + (this._ngZone = e), + (this.event = new ar()), + (this._disabled = !1), + (this._currentSubscription = null); + } + return ( + Object.defineProperty(t.prototype, "disabled", { + get: function() { + return this._disabled; + }, + set: function(t) { + (this._disabled = sf(t)), + this._disabled ? this._unsubscribe() : this._subscribe(); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "debounce", { + get: function() { + return this._debounce; + }, + set: function(t) { + (this._debounce = cf(t)), this._subscribe(); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.ngAfterContentInit = function() { + this._currentSubscription || this.disabled || this._subscribe(); + }), + (t.prototype.ngOnDestroy = function() { + this._unsubscribe(); + }), + (t.prototype._subscribe = function() { + var t = this; + this._unsubscribe(); + var n = this._contentObserver.observe(this._elementRef); + this._ngZone.runOutsideAngular(function() { + t._currentSubscription = (t.debounce + ? n.pipe(Af(t.debounce)) + : n + ).subscribe(t.event); + }); + }), + (t.prototype._unsubscribe = function() { + this._currentSubscription && + this._currentSubscription.unsubscribe(); + }), + t + ); + })(), + VO = (function() { + return function() {}; + })(), + HO = So({ + encapsulation: 2, + styles: [ + ".mat-tab-nav-bar{overflow:hidden;position:relative;flex-shrink:0}.mat-tab-links{position:relative;display:flex}[mat-align-tabs=center] .mat-tab-links{justify-content:center}[mat-align-tabs=end] .mat-tab-links{justify-content:flex-end}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:transparent}.mat-tab-link:focus{outline:0}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}@media (-ms-high-contrast:active){.mat-tab-link:focus{outline:dotted 2px}}.mat-tab-link.mat-tab-disabled{cursor:default}@media (-ms-high-contrast:active){.mat-tab-link.mat-tab-disabled{opacity:.5}}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (-ms-high-contrast:active){.mat-tab-link{opacity:1}}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}@media (max-width:599px){.mat-tab-link{min-width:72px}}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:.5s cubic-bezier(.35,0,.25,1)}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}@media (-ms-high-contrast:active){.mat-ink-bar{outline:solid 2px;height:0}}" + ], + data: {} + }); + function UO(t) { + return Di( + 2, + [ + Oi(402653184, 1, { _inkBar: 0 }), + (t()(), + bi( + 1, + 0, + null, + null, + 4, + "div", + [["class", "mat-tab-links"]], + null, + [[null, "cdkObserveContent"]], + function(t, n, e) { + var o = !0; + return ( + "cdkObserveContent" === n && + (o = !1 !== t.component._alignInkBar() && o), + o + ); + }, + null, + null + )), + Ba(2, 1196032, null, 0, BO, [FO, Ne, Dr], null, { + event: "cdkObserveContent" + }), + wi(null, 0), + (t()(), + bi( + 4, + 0, + null, + null, + 1, + "mat-ink-bar", + [["class", "mat-ink-bar"]], + null, + null, + null, + null, + null + )), + Ba(5, 16384, [[1, 4]], 0, Ev, [Ne, Dr, Sv], null, null) + ], + null, + null + ); + } + var qO = (function() { + function t(t, n, e, o) { + (this.beatOnApi = t), + (this.dialog = n), + (this.router = e), + (this.configSvc = o), + (this.activeLinkIndex = -1), + (this.navLinks = []), + (this.testHtml = ""); + } + return ( + (t.prototype.tabMouseDown = function(t) { + this.activeLinkIndex = t.index; + }), + (t.prototype.clickStuff = function() {}), + (t.prototype.ngOnInit = function() { + this.configSvc.refreshConfig(); + var t = window.isQuestHosted(); + t + ? console.log( + "Hosted in Beat On on the quest, showing browser rather than upload." + ) + : console.log( + "Not hosted on the quest in Beat On, showing upload rather than browser." + ), + this.navLinks.push({ + label: "Playlists", + path: "./playlists", + index: 0 + }), + this.navLinks.push( + t + ? { label: "Browser", path: "./browser", index: 1 } + : { label: "Upload", path: "./upload", index: 1 } + ), + this.navLinks.push({ + label: "SyncSaber", + path: "./sync-saber", + index: 1 + }), + this.navLinks.push({ label: "Mods", path: "./mods", index: 3 }), + this.navLinks.push({ + label: "Tools", + path: "./tools", + index: 2 + }), + this.navLinks.push({ + label: "Credits", + path: "./credits", + index: 2 + }); + }), + (t.prototype.getState = function(t) { + return t.activatedRoute.snapshot.routeConfig.path; + }), + t + ); + })(), + KO = So({ + encapsulation: 0, + styles: [ + [ + "app-main[_ngcontent-%COMP%]{height:100%}.tabNav[_ngcontent-%COMP%]{min-height:48px;height:48px}" + ] + ], + data: { + animation: [ + { + type: 7, + name: "routerTransition", + definitions: [ + { + type: 1, + expr: "* => playlists", + animation: [ + { + type: 11, + selector: ":enter, :leave", + animation: { + type: 6, + styles: { position: "fixed", width: "100%" }, + offset: null + }, + options: { optional: !0 } + }, + { + type: 3, + steps: [ + { + type: 11, + selector: ":enter", + animation: [ + { + type: 6, + styles: { transform: "translateX(-100%)" }, + offset: null + }, + { + type: 4, + styles: { + type: 6, + styles: { transform: "translateX(0%)" }, + offset: null + }, + timings: "0.5s ease-in-out" + } + ], + options: { optional: !0 } + }, + { + type: 11, + selector: ":leave", + animation: [ + { + type: 6, + styles: { transform: "translateX(0%)" }, + offset: null + }, + { + type: 4, + styles: { + type: 6, + styles: { transform: "translateX(100%)" }, + offset: null + }, + timings: "0.5s ease-in-out" + } + ], + options: { optional: !0 } + } + ], + options: null + } + ], + options: null + }, + { + type: 1, + expr: "* => browser", + animation: [ + { + type: 3, + steps: [ + { + type: 11, + selector: ":enter, :leave", + animation: { + type: 6, + styles: { position: "fixed", width: "100%" }, + offset: null + }, + options: { optional: !0 } + }, + { + type: 11, + selector: ":enter", + animation: [ + { + type: 6, + styles: { transform: "translateX(100%)" }, + offset: null + }, + { + type: 4, + styles: { + type: 6, + styles: { transform: "translateX(0%)" }, + offset: null + }, + timings: "0.5s ease-in-out" + } + ], + options: { optional: !0 } + }, + { + type: 11, + selector: ":leave", + animation: [ + { + type: 6, + styles: { transform: "translateX(0%)" }, + offset: null + }, + { + type: 4, + styles: { + type: 6, + styles: { transform: "translateX(-100%)" }, + offset: null + }, + timings: "0.5s ease-in-out" + } + ], + options: { optional: !0 } + } + ], + options: null + } + ], + options: null + } + ], + options: {} + } + ] + } + }); + function YO(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 7, + "a", + [ + ["class", "mat-tab-link"], + ["fast-click", ""], + ["mat-tab-link", ""], + ["routerLinkActive", ""] + ], + [ + [1, "target", 0], + [8, "href", 4], + [1, "aria-current", 0], + [1, "aria-disabled", 0], + [1, "tabIndex", 0], + [2, "mat-tab-disabled", null], + [2, "mat-tab-label-active", null] + ], + [[null, "click"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "click" === n && + (o = + !1 !== + wa(t, 1).onClick( + e.button, + e.ctrlKey, + e.metaKey, + e.shiftKey + ) && o), + "click" === n && (o = !1 !== a.clickStuff() && o), + o + ); + }, + null, + null + )), + Ba( + 1, + 671744, + [[3, 4]], + 0, + Lm, + [Nm, xp, ts], + { routerLink: [0, "routerLink"] }, + null + ), + Ba( + 2, + 1720320, + [["rla", 4]], + 2, + Fm, + [Nm, Ne, Be, [2, zm], [2, Lm]], + { routerLinkActive: [0, "routerLinkActive"] }, + null + ), + Oi(603979776, 2, { links: 1 }), + Oi(603979776, 3, { linksWithHrefs: 1 }), + Ba( + 5, + 147456, + [[1, 4]], + 0, + Av, + [Iv, Ne, Dr, ff, [2, _h], [8, null], Gf], + { active: [0, "active"] }, + null + ), + Ba(6, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(7, null, [" ", " "])) + ], + function(t, n) { + t(n, 1, 0, n.context.$implicit.path), + t(n, 2, 0, ""), + t(n, 5, 0, wa(n, 2).isActive); + }, + function(t, n) { + t( + n, + 0, + 0, + wa(n, 1).target, + wa(n, 1).href, + wa(n, 5).active, + wa(n, 5).disabled.toString(), + wa(n, 5).tabIndex, + wa(n, 5).disabled, + wa(n, 5).active + ), + t(n, 7, 0, n.context.$implicit.label); + } + ); + } + function WO(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 12, + "div", + [["fxLayout", "column"], ["style", "height: 100%"]], + null, + null, + null, + null, + null + )), + Ba( + 1, + 671744, + null, + 0, + PO, + [Ne, uO, [2, vO], gO], + { fxLayout: [0, "fxLayout"] }, + null + ), + (t()(), + bi( + 2, + 0, + null, + null, + 5, + "nav", + [ + ["class", "tabNav mat-tab-nav-bar"], + ["fxLayout", "row"], + ["mat-tab-nav-bar", ""] + ], + null, + null, + null, + UO, + HO + )), + Ba(3, 3325952, null, 1, Iv, [Ne, [2, rf], Dr, no, IC], null, null), + Oi(603979776, 1, { _tabLinks: 1 }), + Ba( + 5, + 671744, + null, + 0, + PO, + [Ne, uO, [2, vO], gO], + { fxLayout: [0, "fxLayout"] }, + null + ), + (t()(), hi(16777216, null, 0, 1, null, YO)), + Ba( + 7, + 278528, + null, + 0, + _s, + [so, io, $e], + { ngForOf: [0, "ngForOf"] }, + null + ), + (t()(), + bi( + 8, + 0, + null, + null, + 4, + "div", + [ + ["class", "fullheight"], + ["fxLayout", "column"], + ["id", "mainContentDiv"] + ], + null, + null, + null, + null, + null + )), + Ba( + 9, + 671744, + null, + 0, + PO, + [Ne, uO, [2, vO], gO], + { fxLayout: [0, "fxLayout"] }, + null + ), + (t()(), + bi( + 10, + 16777216, + null, + null, + 2, + "router-outlet", + [["fxLayout", "column"]], + null, + null, + null, + null, + null + )), + Ba( + 11, + 212992, + [["o", 4]], + 0, + Hm, + [Vm, so, Ee, [8, null], no], + null, + null + ), + Ba( + 12, + 671744, + null, + 0, + PO, + [Ne, uO, [2, vO], gO], + { fxLayout: [0, "fxLayout"] }, + null + ) + ], + function(t, n) { + var e = n.component; + t(n, 1, 0, "column"), + t(n, 5, 0, "row"), + t(n, 7, 0, e.navLinks), + t(n, 9, 0, "column"), + t(n, 11, 0), + t(n, 12, 0, "column"); + }, + null + ); + } + function GO(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "app-main", + [["class", "fullheight"]], + null, + null, + null, + WO, + KO + )), + Ba(1, 114688, null, 0, qO, [yc, pv, Nm, Sg], null, null) + ], + function(t, n) { + t(n, 1, 0); + }, + null + ); + } + var ZO, + QO = ha("app-main", qO, GO, {}, {}, []), + XO = new Set(), + JO = (function() { + function t(t) { + (this._platform = t), + (this._matchMedia = + this._platform.isBrowser && window.matchMedia + ? window.matchMedia.bind(window) + : $O); + } + return ( + (t.prototype.matchMedia = function(t) { + return ( + this._platform.WEBKIT && + (function(t) { + if (!XO.has(t)) + try { + ZO || + ((ZO = document.createElement("style")).setAttribute( + "type", + "text/css" + ), + document.head.appendChild(ZO)), + ZO.sheet && + (ZO.sheet.insertRule( + "@media " + t + " {.fx-query-test{ }}", + 0 + ), + XO.add(t)); + } catch (n) { + console.error(n); + } + })(t), + this._matchMedia(t) + ); + }), + (t.ngInjectableDef = yt({ + factory: function() { + return new t(Tt(ff)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(); + function $O(t) { + return { + matches: "all" === t || "" === t, + media: t, + addListener: function() {}, + removeListener: function() {} + }; + } + var tP = (function() { + function t(t, n) { + (this._mediaMatcher = t), + (this._zone = n), + (this._queries = new Map()), + (this._destroySubject = new S()); + } + return ( + (t.prototype.ngOnDestroy = function() { + this._destroySubject.next(), this._destroySubject.complete(); + }), + (t.prototype.isMatched = function(t) { + var n = this; + return nP(uf(t)).some(function(t) { + return n._registerQuery(t).mql.matches; + }); + }), + (t.prototype.observe = function(t) { + var n = this; + return Mc( + nP(uf(t)).map(function(t) { + return n._registerQuery(t).observable; + }) + ).pipe( + Af(0, Zy), + U(function(t) { + var n = { matches: !1, breakpoints: {} }; + return ( + t.forEach(function(t) { + (n.matches = n.matches || t.matches), + (n.breakpoints[t.query] = t.matches); + }), + n + ); + }) + ); + }), + (t.prototype._registerQuery = function(t) { + var n = this; + if (this._queries.has(t)) return this._queries.get(t); + var e = this._mediaMatcher.matchMedia(t), + o = { + observable: new O(function(t) { + var o = function(e) { + return n._zone.run(function() { + return t.next(e); + }); + }; + return ( + e.addListener(o), + function() { + e.removeListener(o); + } + ); + }).pipe( + nu(e), + U(function(n) { + return { query: t, matches: n.matches }; + }), + oC(this._destroySubject) + ), + mql: e + }; + return this._queries.set(t, o), o; + }), + (t.ngInjectableDef = yt({ + factory: function() { + return new t(Tt(JO), Tt(Dr)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(); + function nP(t) { + return t + .map(function(t) { + return t.split(","); + }) + .reduce(function(t, n) { + return t.concat(n); + }) + .map(function(t) { + return t.trim(); + }); + } + var eP = { + XSmall: "(max-width: 599.99px)", + Small: "(min-width: 600px) and (max-width: 959.99px)", + Medium: "(min-width: 960px) and (max-width: 1279.99px)", + Large: "(min-width: 1280px) and (max-width: 1919.99px)", + XLarge: "(min-width: 1920px)", + Handset: + "(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)", + Tablet: + "(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)", + Web: + "(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)", + HandsetPortrait: "(max-width: 599.99px) and (orientation: portrait)", + TabletPortrait: + "(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait)", + WebPortrait: "(min-width: 840px) and (orientation: portrait)", + HandsetLandscape: + "(max-width: 959.99px) and (orientation: landscape)", + TabletLandscape: + "(min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)", + WebLandscape: "(min-width: 1280px) and (orientation: landscape)" + }, + oP = 20; + function aP(t) { + return Error('Tooltip position "' + t + '" is invalid.'); + } + var rP = new Ut("mat-tooltip-scroll-strategy"); + function iP(t) { + return function() { + return t.scrollStrategies.reposition({ scrollThrottle: oP }); + }; + } + var lP = new Ut("mat-tooltip-default-options", { + providedIn: "root", + factory: function() { + return { showDelay: 0, hideDelay: 0, touchendHideDelay: 1500 }; + } + }), + sP = (function() { + function t(t, n, e, o, a, r, i, l, s, c, u, d) { + var p = this; + (this._overlay = t), + (this._elementRef = n), + (this._scrollDispatcher = e), + (this._viewContainerRef = o), + (this._ngZone = a), + (this._ariaDescriber = i), + (this._focusMonitor = l), + (this._dir = c), + (this._defaultOptions = u), + (this._position = "below"), + (this._disabled = !1), + (this.showDelay = this._defaultOptions.showDelay), + (this.hideDelay = this._defaultOptions.hideDelay), + (this._message = ""), + (this._manualListeners = new Map()), + (this._destroyed = new S()), + (this._scrollStrategy = s); + var m = n.nativeElement, + g = "undefined" == typeof window || window.Hammer || d; + r.IOS || r.ANDROID + ? g || + this._manualListeners.set("touchstart", function() { + return p.show(); + }) + : this._manualListeners + .set("mouseenter", function() { + return p.show(); + }) + .set("mouseleave", function() { + return p.hide(); + }), + this._manualListeners.forEach(function(t, n) { + return m.addEventListener(n, t); + }), + l + .monitor(n) + .pipe(oC(this._destroyed)) + .subscribe(function(t) { + t + ? "keyboard" === t && + a.run(function() { + return p.show(); + }) + : a.run(function() { + return p.hide(0); + }); + }), + u && u.position && (this.position = u.position); + } + return ( + Object.defineProperty(t.prototype, "position", { + get: function() { + return this._position; + }, + set: function(t) { + t !== this._position && + ((this._position = t), + this._overlayRef && + (this._updatePosition(), + this._tooltipInstance && this._tooltipInstance.show(0), + this._overlayRef.updatePosition())); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "disabled", { + get: function() { + return this._disabled; + }, + set: function(t) { + (this._disabled = sf(t)), this._disabled && this.hide(0); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "message", { + get: function() { + return this._message; + }, + set: function(t) { + this._ariaDescriber.removeDescription( + this._elementRef.nativeElement, + this._message + ), + (this._message = null != t ? ("" + t).trim() : ""), + !this._message && this._isTooltipVisible() + ? this.hide(0) + : (this._updateTooltipMessage(), + this._ariaDescriber.describe( + this._elementRef.nativeElement, + this.message + )); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "tooltipClass", { + get: function() { + return this._tooltipClass; + }, + set: function(t) { + (this._tooltipClass = t), + this._tooltipInstance && + this._setTooltipClass(this._tooltipClass); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.ngOnInit = function() { + var t = this._elementRef.nativeElement, + n = t.style; + ("INPUT" !== t.nodeName && "TEXTAREA" !== t.nodeName) || + (n.webkitUserSelect = n.userSelect = n.msUserSelect = ""), + t.draggable && + "none" === n.webkitUserDrag && + (n.webkitUserDrag = ""); + }), + (t.prototype.ngOnDestroy = function() { + var t = this; + this._overlayRef && + (this._overlayRef.dispose(), (this._tooltipInstance = null)), + this._manualListeners.forEach(function(n, e) { + t._elementRef.nativeElement.removeEventListener(e, n); + }), + this._manualListeners.clear(), + this._destroyed.next(), + this._destroyed.complete(), + this._ariaDescriber.removeDescription( + this._elementRef.nativeElement, + this.message + ), + this._focusMonitor.stopMonitoring(this._elementRef); + }), + (t.prototype.show = function(t) { + var n = this; + if ( + (void 0 === t && (t = this.showDelay), + !this.disabled && + this.message && + (!this._isTooltipVisible() || + this._tooltipInstance._showTimeoutId || + this._tooltipInstance._hideTimeoutId)) + ) { + var e = this._createOverlay(); + this._detach(), + (this._portal = + this._portal || new zy(cP, this._viewContainerRef)), + (this._tooltipInstance = e.attach(this._portal).instance), + this._tooltipInstance + .afterHidden() + .pipe(oC(this._destroyed)) + .subscribe(function() { + return n._detach(); + }), + this._setTooltipClass(this._tooltipClass), + this._updateTooltipMessage(), + this._tooltipInstance.show(t); + } + }), + (t.prototype.hide = function(t) { + void 0 === t && (t = this.hideDelay), + this._tooltipInstance && this._tooltipInstance.hide(t); + }), + (t.prototype.toggle = function() { + this._isTooltipVisible() ? this.hide() : this.show(); + }), + (t.prototype._isTooltipVisible = function() { + return ( + !!this._tooltipInstance && this._tooltipInstance.isVisible() + ); + }), + (t.prototype._handleKeydown = function(t) { + this._isTooltipVisible() && + t.keyCode === Mf && + !kf(t) && + (t.preventDefault(), t.stopPropagation(), this.hide(0)); + }), + (t.prototype._handleTouchend = function() { + this.hide(this._defaultOptions.touchendHideDelay); + }), + (t.prototype._createOverlay = function() { + var t = this; + if (this._overlayRef) return this._overlayRef; + var n = this._scrollDispatcher.getAncestorScrollContainers( + this._elementRef + ), + e = this._overlay + .position() + .flexibleConnectedTo(this._elementRef) + .withTransformOriginOn(".mat-tooltip") + .withFlexibleDimensions(!1) + .withViewportMargin(8) + .withScrollableContainers(n); + return ( + e.positionChanges + .pipe(oC(this._destroyed)) + .subscribe(function(n) { + t._tooltipInstance && + n.scrollableViewProperties.isOverlayClipped && + t._tooltipInstance.isVisible() && + t._ngZone.run(function() { + return t.hide(0); + }); + }), + (this._overlayRef = this._overlay.create({ + direction: this._dir, + positionStrategy: e, + panelClass: "mat-tooltip-panel", + scrollStrategy: this._scrollStrategy() + })), + this._updatePosition(), + this._overlayRef + .detachments() + .pipe(oC(this._destroyed)) + .subscribe(function() { + return t._detach(); + }), + this._overlayRef + ); + }), + (t.prototype._detach = function() { + this._overlayRef && + this._overlayRef.hasAttached() && + this._overlayRef.detach(), + (this._tooltipInstance = null); + }), + (t.prototype._updatePosition = function() { + var t = this._overlayRef.getConfig().positionStrategy, + n = this._getOrigin(), + e = this._getOverlayPosition(); + t.withPositions([ + Object(o.__assign)({}, n.main, e.main), + Object(o.__assign)({}, n.fallback, e.fallback) + ]); + }), + (t.prototype._getOrigin = function() { + var t, + n = !this._dir || "ltr" == this._dir.value, + e = this.position; + if ("above" == e || "below" == e) + t = { + originX: "center", + originY: "above" == e ? "top" : "bottom" + }; + else if ( + "before" == e || + ("left" == e && n) || + ("right" == e && !n) + ) + t = { originX: "start", originY: "center" }; + else { + if ( + !("after" == e || ("right" == e && n) || ("left" == e && !n)) + ) + throw aP(e); + t = { originX: "end", originY: "center" }; + } + var o = this._invertPosition(t.originX, t.originY); + return { main: t, fallback: { originX: o.x, originY: o.y } }; + }), + (t.prototype._getOverlayPosition = function() { + var t, + n = !this._dir || "ltr" == this._dir.value, + e = this.position; + if ("above" == e) t = { overlayX: "center", overlayY: "bottom" }; + else if ("below" == e) + t = { overlayX: "center", overlayY: "top" }; + else if ( + "before" == e || + ("left" == e && n) || + ("right" == e && !n) + ) + t = { overlayX: "end", overlayY: "center" }; + else { + if ( + !("after" == e || ("right" == e && n) || ("left" == e && !n)) + ) + throw aP(e); + t = { overlayX: "start", overlayY: "center" }; + } + var o = this._invertPosition(t.overlayX, t.overlayY); + return { main: t, fallback: { overlayX: o.x, overlayY: o.y } }; + }), + (t.prototype._updateTooltipMessage = function() { + var t = this; + this._tooltipInstance && + ((this._tooltipInstance.message = this.message), + this._tooltipInstance._markForCheck(), + this._ngZone.onMicrotaskEmpty + .asObservable() + .pipe( + Yc(1), + oC(this._destroyed) + ) + .subscribe(function() { + t._tooltipInstance && t._overlayRef.updatePosition(); + })); + }), + (t.prototype._setTooltipClass = function(t) { + this._tooltipInstance && + ((this._tooltipInstance.tooltipClass = t), + this._tooltipInstance._markForCheck()); + }), + (t.prototype._invertPosition = function(t, n) { + return ( + "above" === this.position || "below" === this.position + ? "top" === n + ? (n = "bottom") + : "bottom" === n && (n = "top") + : "end" === t + ? (t = "start") + : "start" === t && (t = "end"), + { x: t, y: n } + ); + }), + t + ); + })(), + cP = (function() { + function t(t, n) { + (this._changeDetectorRef = t), + (this._breakpointObserver = n), + (this._visibility = "initial"), + (this._closeOnInteraction = !1), + (this._onHide = new S()), + (this._isHandset = this._breakpointObserver.observe(eP.Handset)); + } + return ( + (t.prototype.show = function(t) { + var n = this; + this._hideTimeoutId && + (clearTimeout(this._hideTimeoutId), + (this._hideTimeoutId = null)), + (this._closeOnInteraction = !0), + (this._showTimeoutId = setTimeout(function() { + (n._visibility = "visible"), + (n._showTimeoutId = null), + n._markForCheck(); + }, t)); + }), + (t.prototype.hide = function(t) { + var n = this; + this._showTimeoutId && + (clearTimeout(this._showTimeoutId), + (this._showTimeoutId = null)), + (this._hideTimeoutId = setTimeout(function() { + (n._visibility = "hidden"), + (n._hideTimeoutId = null), + n._markForCheck(); + }, t)); + }), + (t.prototype.afterHidden = function() { + return this._onHide.asObservable(); + }), + (t.prototype.isVisible = function() { + return "visible" === this._visibility; + }), + (t.prototype.ngOnDestroy = function() { + this._onHide.complete(); + }), + (t.prototype._animationStart = function() { + this._closeOnInteraction = !1; + }), + (t.prototype._animationDone = function(t) { + var n = t.toState; + "hidden" !== n || this.isVisible() || this._onHide.next(), + ("visible" !== n && "hidden" !== n) || + (this._closeOnInteraction = !0); + }), + (t.prototype._handleBodyInteraction = function() { + this._closeOnInteraction && this.hide(0); + }), + (t.prototype._markForCheck = function() { + this._changeDetectorRef.markForCheck(); + }), + t + ); + })(), + uP = (function() { + return function() {}; + })(); + function dP(t, n) { + for (var e in n) n.hasOwnProperty(e) && (t[e] = n[e]); + return t; + } + function pP(t, n) { + var e = n ? "" : "none"; + dP(t.style, { + touchAction: n ? "" : "none", + webkitUserDrag: n ? "" : "none", + webkitTapHighlightColor: n ? "" : "transparent", + userSelect: e, + msUserSelect: e, + webkitUserSelect: e, + MozUserSelect: e + }); + } + function mP(t) { + var n = t.toLowerCase().indexOf("ms") > -1 ? 1 : 1e3; + return parseFloat(t) * n; + } + function gP(t, n) { + return t + .getPropertyValue(n) + .split(",") + .map(function(t) { + return t.trim(); + }); + } + var fP = yf({ passive: !0 }), + hP = yf({ passive: !1 }), + bP = (function() { + function t(t, n, e, o, a, r) { + var i = this; + (this._config = n), + (this._document = e), + (this._ngZone = o), + (this._viewportRuler = a), + (this._dragDropRegistry = r), + (this._passiveTransform = { x: 0, y: 0 }), + (this._activeTransform = { x: 0, y: 0 }), + (this._moveEvents = new S()), + (this._pointerMoveSubscription = c.EMPTY), + (this._pointerUpSubscription = c.EMPTY), + (this._boundaryElement = null), + (this._nativeInteractionsEnabled = !0), + (this._handles = []), + (this._disabledHandles = new Set()), + (this._direction = "ltr"), + (this.dragStartDelay = 0), + (this._disabled = !1), + (this.beforeStarted = new S()), + (this.started = new S()), + (this.released = new S()), + (this.ended = new S()), + (this.entered = new S()), + (this.exited = new S()), + (this.dropped = new S()), + (this.moved = this._moveEvents.asObservable()), + (this._pointerDown = function(t) { + if ((i.beforeStarted.next(), i._handles.length)) { + var n = i._handles.find(function(n) { + var e = t.target; + return !!e && (e === n || n.contains(e)); + }); + !n || + i._disabledHandles.has(n) || + i.disabled || + i._initializeDragSequence(n, t); + } else + i.disabled || i._initializeDragSequence(i._rootElement, t); + }), + (this._pointerMove = function(t) { + if (i._hasStartedDragging) { + i._boundaryElement && + ((i._previewRect && + (i._previewRect.width || i._previewRect.height)) || + (i._previewRect = ( + i._preview || i._rootElement + ).getBoundingClientRect())); + var n = i._getConstrainedPointerPosition(t); + if ( + ((i._hasMoved = !0), + t.preventDefault(), + i._updatePointerDirectionDelta(n), + i._dropContainer) + ) + i._updateActiveDropContainer(n); + else { + var e = i._activeTransform; + (e.x = + n.x - i._pickupPositionOnPage.x + i._passiveTransform.x), + (e.y = + n.y - + i._pickupPositionOnPage.y + + i._passiveTransform.y), + i._applyRootElementTransform(e.x, e.y), + "undefined" != typeof SVGElement && + i._rootElement instanceof SVGElement && + i._rootElement.setAttribute( + "transform", + "translate(" + e.x + " " + e.y + ")" + ); + } + i._moveEvents.observers.length && + i._ngZone.run(function() { + i._moveEvents.next({ + source: i, + pointerPosition: n, + event: t, + distance: i._getDragDistance(n), + delta: i._pointerDirectionDelta + }); + }); + } else { + var o = i._getPointerPositionOnPage(t); + Math.abs(o.x - i._pickupPositionOnPage.x) + + Math.abs(o.y - i._pickupPositionOnPage.y) >= + i._config.dragStartThreshold && + Date.now() >= i._dragStartTime + (i.dragStartDelay || 0) && + ((i._dropContainer && i._dropContainer.isDragging()) || + ((i._hasStartedDragging = !0), + i._ngZone.run(function() { + return i._startDragSequence(t); + }))); + } + }), + (this._pointerUp = function(t) { + if ( + i._dragDropRegistry.isDragging(i) && + (i._removeSubscriptions(), + i._dragDropRegistry.stopDragging(i), + i._handles && + (i._rootElement.style.webkitTapHighlightColor = + i._rootElementTapHighlight), + i._hasStartedDragging) + ) { + if ((i.released.next({ source: i }), !i._dropContainer)) + return ( + (i._passiveTransform.x = i._activeTransform.x), + (i._passiveTransform.y = i._activeTransform.y), + i._ngZone.run(function() { + i.ended.next({ + source: i, + distance: i._getDragDistance( + i._getPointerPositionOnPage(t) + ) + }); + }), + void i._dragDropRegistry.stopDragging(i) + ); + i._animatePreviewToPlaceholder().then(function() { + i._cleanupDragArtifacts(t), + i._dragDropRegistry.stopDragging(i); + }); + } + }), + this.withRootElement(t), + r.registerDragItem(this); + } + return ( + Object.defineProperty(t.prototype, "disabled", { + get: function() { + return ( + this._disabled || + !(!this._dropContainer || !this._dropContainer.disabled) + ); + }, + set: function(t) { + var n = sf(t); + n !== this._disabled && + ((this._disabled = n), this._toggleNativeDragInteractions()); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.getPlaceholderElement = function() { + return this._placeholder; + }), + (t.prototype.getRootElement = function() { + return this._rootElement; + }), + (t.prototype.withHandles = function(t) { + return ( + (this._handles = t.map(function(t) { + return pf(t); + })), + this._handles.forEach(function(t) { + return pP(t, !1); + }), + this._toggleNativeDragInteractions(), + this + ); + }), + (t.prototype.withPreviewTemplate = function(t) { + return (this._previewTemplate = t), this; + }), + (t.prototype.withPlaceholderTemplate = function(t) { + return (this._placeholderTemplate = t), this; + }), + (t.prototype.withRootElement = function(t) { + var n = pf(t); + return ( + n !== this._rootElement && + (this._rootElement && + this._removeRootElementListeners(this._rootElement), + n.addEventListener("mousedown", this._pointerDown, hP), + n.addEventListener("touchstart", this._pointerDown, fP), + (this._initialTransform = void 0), + (this._rootElement = n)), + this + ); + }), + (t.prototype.withBoundaryElement = function(t) { + return (this._boundaryElement = t ? pf(t) : null), this; + }), + (t.prototype.dispose = function() { + this._removeRootElementListeners(this._rootElement), + this.isDragging() && vP(this._rootElement), + this._destroyPreview(), + this._destroyPlaceholder(), + this._dragDropRegistry.removeDragItem(this), + this._removeSubscriptions(), + this.beforeStarted.complete(), + this.started.complete(), + this.released.complete(), + this.ended.complete(), + this.entered.complete(), + this.exited.complete(), + this.dropped.complete(), + this._moveEvents.complete(), + (this._handles = []), + this._disabledHandles.clear(), + (this._dropContainer = void 0), + (this._boundaryElement = this._rootElement = this._placeholderTemplate = this._previewTemplate = this._nextSibling = null); + }), + (t.prototype.isDragging = function() { + return ( + this._hasStartedDragging && + this._dragDropRegistry.isDragging(this) + ); + }), + (t.prototype.reset = function() { + (this._rootElement.style.transform = + this._initialTransform || ""), + (this._activeTransform = { x: 0, y: 0 }), + (this._passiveTransform = { x: 0, y: 0 }); + }), + (t.prototype.disableHandle = function(t) { + this._handles.indexOf(t) > -1 && this._disabledHandles.add(t); + }), + (t.prototype.enableHandle = function(t) { + this._disabledHandles.delete(t); + }), + (t.prototype.withDirection = function(t) { + return (this._direction = t), this; + }), + (t.prototype._withDropContainer = function(t) { + this._dropContainer = t; + }), + (t.prototype.getFreeDragPosition = function() { + return { + x: this._passiveTransform.x, + y: this._passiveTransform.y + }; + }), + (t.prototype.setFreeDragPosition = function(t) { + return ( + (this._activeTransform = { x: 0, y: 0 }), + (this._passiveTransform.x = t.x), + (this._passiveTransform.y = t.y), + this._dropContainer || + this._applyRootElementTransform(t.x, t.y), + this + ); + }), + (t.prototype._removeSubscriptions = function() { + this._pointerMoveSubscription.unsubscribe(), + this._pointerUpSubscription.unsubscribe(); + }), + (t.prototype._destroyPreview = function() { + this._preview && vP(this._preview), + this._previewRef && this._previewRef.destroy(), + (this._preview = this._previewRef = null); + }), + (t.prototype._destroyPlaceholder = function() { + this._placeholder && vP(this._placeholder), + this._placeholderRef && this._placeholderRef.destroy(), + (this._placeholder = this._placeholderRef = null); + }), + (t.prototype._startDragSequence = function(t) { + if ( + (this.started.next({ source: this }), + OP(t) && (this._lastTouchEventTime = Date.now()), + this._dropContainer) + ) { + var n = this._rootElement; + this._nextSibling = n.nextSibling; + var e = (this._preview = this._createPreviewElement()), + o = (this._placeholder = this._createPlaceholderElement()); + (n.style.display = "none"), + this._document.body.appendChild( + n.parentNode.replaceChild(o, n) + ), + ((a = this._document), + a.fullscreenElement || + a.webkitFullscreenElement || + a.mozFullScreenElement || + a.msFullscreenElement || + a.body).appendChild(e), + this._dropContainer.start(); + } + var a; + }), + (t.prototype._initializeDragSequence = function(t, n) { + n.stopPropagation(); + var e = this.isDragging(), + o = OP(n), + a = !o && 0 !== n.button, + r = this._rootElement, + i = + !o && + this._lastTouchEventTime && + this._lastTouchEventTime + 800 > Date.now(); + if ( + (n.target && + n.target.draggable && + "mousedown" === n.type && + n.preventDefault(), + !(e || a || i)) + ) { + this._handles.length && + ((this._rootElementTapHighlight = + r.style.webkitTapHighlightColor), + (r.style.webkitTapHighlightColor = "transparent")), + this._toggleNativeDragInteractions(), + (this._hasStartedDragging = this._hasMoved = !1), + (this._initialContainer = this._dropContainer), + this._removeSubscriptions(), + (this._pointerMoveSubscription = this._dragDropRegistry.pointerMove.subscribe( + this._pointerMove + )), + (this._pointerUpSubscription = this._dragDropRegistry.pointerUp.subscribe( + this._pointerUp + )), + (this._scrollPosition = this._viewportRuler.getViewportScrollPosition()), + this._boundaryElement && + (this._boundaryRect = this._boundaryElement.getBoundingClientRect()), + (this._pickupPositionInElement = + this._previewTemplate && this._previewTemplate.template + ? { x: 0, y: 0 } + : this._getPointerPositionInElement(t, n)); + var l = (this._pickupPositionOnPage = this._getPointerPositionOnPage( + n + )); + (this._pointerDirectionDelta = { x: 0, y: 0 }), + (this._pointerPositionAtLastDirectionChange = { + x: l.x, + y: l.y + }), + (this._dragStartTime = Date.now()), + this._dragDropRegistry.startDragging(this, n); + } + }), + (t.prototype._cleanupDragArtifacts = function(t) { + var n = this; + (this._rootElement.style.display = ""), + this._nextSibling + ? this._nextSibling.parentNode.insertBefore( + this._rootElement, + this._nextSibling + ) + : pf(this._initialContainer.element).appendChild( + this._rootElement + ), + this._destroyPreview(), + this._destroyPlaceholder(), + (this._boundaryRect = this._previewRect = void 0), + this._ngZone.run(function() { + var e = n._dropContainer, + o = e.getItemIndex(n), + a = n._getPointerPositionOnPage(t), + r = n._getDragDistance(n._getPointerPositionOnPage(t)), + i = e._isOverContainer(a.x, a.y); + n.ended.next({ source: n, distance: r }), + n.dropped.next({ + item: n, + currentIndex: o, + previousIndex: n._initialContainer.getItemIndex(n), + container: e, + previousContainer: n._initialContainer, + isPointerOverContainer: i, + distance: r + }), + e.drop(n, o, n._initialContainer, i, r), + (n._dropContainer = n._initialContainer); + }); + }), + (t.prototype._updateActiveDropContainer = function(t) { + var n = this, + e = t.x, + o = t.y, + a = this._initialContainer._getSiblingContainerFromPosition( + this, + e, + o + ); + !a && + this._dropContainer !== this._initialContainer && + this._initialContainer._isOverContainer(e, o) && + (a = this._initialContainer), + a && + a !== this._dropContainer && + this._ngZone.run(function() { + n.exited.next({ item: n, container: n._dropContainer }), + n._dropContainer.exit(n), + (n._dropContainer = a), + n._dropContainer.enter(n, e, o), + n.entered.next({ + item: n, + container: a, + currentIndex: a.getItemIndex(n) + }); + }), + this._dropContainer._sortItem( + this, + e, + o, + this._pointerDirectionDelta + ), + (this._preview.style.transform = _P( + e - this._pickupPositionInElement.x, + o - this._pickupPositionInElement.y + )); + }), + (t.prototype._createPreviewElement = function() { + var t, + n = this._previewTemplate, + e = n ? n.template : null; + if (e) { + var o = n.viewContainer.createEmbeddedView(e, n.context); + (t = o.rootNodes[0]), + (this._previewRef = o), + (t.style.transform = _P( + this._pickupPositionOnPage.x, + this._pickupPositionOnPage.y + )); + } else { + var a = this._rootElement, + r = a.getBoundingClientRect(); + ((t = yP(a)).style.width = r.width + "px"), + (t.style.height = r.height + "px"), + (t.style.transform = _P(r.left, r.top)); + } + return ( + dP(t.style, { + pointerEvents: "none", + position: "fixed", + top: "0", + left: "0", + zIndex: "1000" + }), + pP(t, !1), + t.classList.add("cdk-drag-preview"), + t.setAttribute("dir", this._direction), + t + ); + }), + (t.prototype._animatePreviewToPlaceholder = function() { + var t = this; + if (!this._hasMoved) return Promise.resolve(); + var n = this._placeholder.getBoundingClientRect(); + this._preview.classList.add("cdk-drag-animating"), + (this._preview.style.transform = _P(n.left, n.top)); + var e = (function(t) { + var n = getComputedStyle(t), + e = gP(n, "transition-property"), + o = e.find(function(t) { + return "transform" === t || "all" === t; + }); + if (!o) return 0; + var a = e.indexOf(o), + r = gP(n, "transition-duration"), + i = gP(n, "transition-delay"); + return mP(r[a]) + mP(i[a]); + })(this._preview); + return 0 === e + ? Promise.resolve() + : this._ngZone.runOutsideAngular(function() { + return new Promise(function(n) { + var o = function(e) { + (!e || + (e.target === t._preview && + "transform" === e.propertyName)) && + (t._preview.removeEventListener("transitionend", o), + n(), + clearTimeout(a)); + }, + a = setTimeout(o, 1.5 * e); + t._preview.addEventListener("transitionend", o); + }); + }); + }), + (t.prototype._createPlaceholderElement = function() { + var t, + n = this._placeholderTemplate, + e = n ? n.template : null; + return ( + e + ? ((this._placeholderRef = n.viewContainer.createEmbeddedView( + e, + n.context + )), + (t = this._placeholderRef.rootNodes[0])) + : (t = yP(this._rootElement)), + t.classList.add("cdk-drag-placeholder"), + t + ); + }), + (t.prototype._getPointerPositionInElement = function(t, n) { + var e = this._rootElement.getBoundingClientRect(), + o = t === this._rootElement ? null : t, + a = o ? o.getBoundingClientRect() : e, + r = OP(n) ? n.targetTouches[0] : n; + return { + x: + a.left - + e.left + + (r.pageX - a.left - this._scrollPosition.left), + y: a.top - e.top + (r.pageY - a.top - this._scrollPosition.top) + }; + }), + (t.prototype._getPointerPositionOnPage = function(t) { + var n = OP(t) ? t.touches[0] || t.changedTouches[0] : t; + return { + x: n.pageX - this._scrollPosition.left, + y: n.pageY - this._scrollPosition.top + }; + }), + (t.prototype._getConstrainedPointerPosition = function(t) { + var n = this._getPointerPositionOnPage(t), + e = this.constrainPosition ? this.constrainPosition(n) : n, + o = this._dropContainer ? this._dropContainer.lockAxis : null; + if ( + ("x" === this.lockAxis || "x" === o + ? (e.y = this._pickupPositionOnPage.y) + : ("y" !== this.lockAxis && "y" !== o) || + (e.x = this._pickupPositionOnPage.x), + this._boundaryRect) + ) { + var a = this._pickupPositionInElement, + r = a.x, + i = a.y, + l = this._boundaryRect, + s = this._previewRect, + c = l.top + i, + u = l.bottom - (s.height - i); + (e.x = CP(e.x, l.left + r, l.right - (s.width - r))), + (e.y = CP(e.y, c, u)); + } + return e; + }), + (t.prototype._updatePointerDirectionDelta = function(t) { + var n = t.x, + e = t.y, + o = this._pointerDirectionDelta, + a = this._pointerPositionAtLastDirectionChange, + r = Math.abs(n - a.x), + i = Math.abs(e - a.y); + return ( + r > this._config.pointerDirectionChangeThreshold && + ((o.x = n > a.x ? 1 : -1), (a.x = n)), + i > this._config.pointerDirectionChangeThreshold && + ((o.y = e > a.y ? 1 : -1), (a.y = e)), + o + ); + }), + (t.prototype._toggleNativeDragInteractions = function() { + if (this._rootElement && this._handles) { + var t = this.disabled || this._handles.length > 0; + t !== this._nativeInteractionsEnabled && + ((this._nativeInteractionsEnabled = t), + pP(this._rootElement, t)); + } + }), + (t.prototype._removeRootElementListeners = function(t) { + t.removeEventListener("mousedown", this._pointerDown, hP), + t.removeEventListener("touchstart", this._pointerDown, fP); + }), + (t.prototype._applyRootElementTransform = function(t, n) { + var e = _P(t, n); + null == this._initialTransform && + (this._initialTransform = + this._rootElement.style.transform || ""), + (this._rootElement.style.transform = this._initialTransform + ? e + " " + this._initialTransform + : e); + }), + (t.prototype._getDragDistance = function(t) { + var n = this._pickupPositionOnPage; + return n ? { x: t.x - n.x, y: t.y - n.y } : { x: 0, y: 0 }; + }), + t + ); + })(); + function _P(t, n) { + return ( + "translate3d(" + Math.round(t) + "px, " + Math.round(n) + "px, 0)" + ); + } + function yP(t) { + var n = t.cloneNode(!0), + e = n.querySelectorAll("[id]"), + o = t.querySelectorAll("canvas"); + n.removeAttribute("id"); + for (var a = 0; a < e.length; a++) e[a].removeAttribute("id"); + if (o.length) { + var r = n.querySelectorAll("canvas"); + for (a = 0; a < o.length; a++) { + var i = r[a].getContext("2d"); + i && i.drawImage(o[a], 0, 0); + } + } + return n; + } + function CP(t, n, e) { + return Math.max(n, Math.min(e, t)); + } + function vP(t) { + t && t.parentNode && t.parentNode.removeChild(t); + } + function OP(t) { + return t.type.startsWith("touch"); + } + function PP(t, n) { + return Math.max(0, Math.min(n, t)); + } + var MP = 0, + xP = (function() { + function t(t, n, e) { + (this._dragDropRegistry = n), + (this.id = "cdk-drop-list-ref-" + MP++), + (this.disabled = !1), + (this.sortingDisabled = !0), + (this.enterPredicate = function() { + return !0; + }), + (this.beforeStarted = new S()), + (this.entered = new S()), + (this.exited = new S()), + (this.dropped = new S()), + (this.sorted = new S()), + (this._isDragging = !1), + (this._itemPositions = []), + (this._previousSwap = { drag: null, delta: 0 }), + (this._siblings = []), + (this._orientation = "vertical"), + (this._activeSiblings = new Set()), + (this._direction = "ltr"), + n.registerDropContainer(this), + (this._document = e), + (this.element = t instanceof Ne ? t.nativeElement : t); + } + return ( + (t.prototype.dispose = function() { + this.beforeStarted.complete(), + this.entered.complete(), + this.exited.complete(), + this.dropped.complete(), + this.sorted.complete(), + this._activeSiblings.clear(), + this._dragDropRegistry.removeDropContainer(this); + }), + (t.prototype.isDragging = function() { + return this._isDragging; + }), + (t.prototype.start = function() { + var t = this; + this.beforeStarted.next(), + (this._isDragging = !0), + this._cacheItems(), + this._siblings.forEach(function(n) { + return n._startReceiving(t); + }); + }), + (t.prototype.enter = function(t, n, e) { + this.start(); + var o = this.sortingDisabled ? this._draggables.indexOf(t) : -1; + -1 === o && (o = this._getItemIndexFromPointerPosition(t, n, e)); + var a = this._activeDraggables, + r = a.indexOf(t), + i = t.getPlaceholderElement(), + l = a[o]; + if ( + (l === t && (l = a[o + 1]), + r > -1 && a.splice(r, 1), + l && !this._dragDropRegistry.isDragging(l)) + ) { + var s = l.getRootElement(); + s.parentElement.insertBefore(i, s), a.splice(o, 0, t); + } else pf(this.element).appendChild(i), a.push(t); + (i.style.transform = ""), + this._cacheItemPositions(), + this.entered.next({ + item: t, + container: this, + currentIndex: this.getItemIndex(t) + }); + }), + (t.prototype.exit = function(t) { + this._reset(), this.exited.next({ item: t, container: this }); + }), + (t.prototype.drop = function(t, n, e, o, a) { + void 0 === a && (a = { x: 0, y: 0 }), + this._reset(), + this.dropped.next({ + item: t, + currentIndex: n, + previousIndex: e.getItemIndex(t), + container: this, + previousContainer: e, + isPointerOverContainer: o, + distance: a + }); + }), + (t.prototype.withItems = function(t) { + var n = this; + return ( + (this._draggables = t), + t.forEach(function(t) { + return t._withDropContainer(n); + }), + this.isDragging() && this._cacheItems(), + this + ); + }), + (t.prototype.withDirection = function(t) { + return (this._direction = t), this; + }), + (t.prototype.connectedTo = function(t) { + return (this._siblings = t.slice()), this; + }), + (t.prototype.withOrientation = function(t) { + return (this._orientation = t), this; + }), + (t.prototype.getItemIndex = function(t) { + return this._isDragging + ? wP( + "horizontal" === this._orientation && + "rtl" === this._direction + ? this._itemPositions.slice().reverse() + : this._itemPositions, + function(n) { + return n.drag === t; + } + ) + : this._draggables.indexOf(t); + }), + (t.prototype.isReceiving = function() { + return this._activeSiblings.size > 0; + }), + (t.prototype._sortItem = function(t, n, e, o) { + if ( + !this.sortingDisabled && + this._isPointerNearDropContainer(n, e) + ) { + var a = this._itemPositions, + r = this._getItemIndexFromPointerPosition(t, n, e, o); + if (!(-1 === r && a.length > 0)) { + var i = "horizontal" === this._orientation, + l = wP(a, function(n) { + return n.drag === t; + }), + s = a[r], + c = a[l].clientRect, + u = s.clientRect, + d = l > r ? 1 : -1; + (this._previousSwap.drag = s.drag), + (this._previousSwap.delta = i ? o.x : o.y); + var p = this._getItemOffsetPx(c, u, d), + m = this._getSiblingOffsetPx(l, a, d), + g = a.slice(); + !(function(t, n, e) { + var o = PP(l, t.length - 1), + a = PP(e, t.length - 1); + if (o !== a) { + for ( + var r = t[o], i = a < o ? -1 : 1, s = o; + s !== a; + s += i + ) + t[s] = t[s + i]; + t[a] = r; + } + })(a, 0, r), + this.sorted.next({ + previousIndex: l, + currentIndex: r, + container: this, + item: t + }), + a.forEach(function(n, e) { + if (g[e] !== n) { + var o = n.drag === t, + a = o ? p : m, + r = o + ? t.getPlaceholderElement() + : n.drag.getRootElement(); + (n.offset += a), + i + ? ((r.style.transform = + "translate3d(" + + Math.round(n.offset) + + "px, 0, 0)"), + kP(n.clientRect, 0, a)) + : ((r.style.transform = + "translate3d(0, " + + Math.round(n.offset) + + "px, 0)"), + kP(n.clientRect, a, 0)); + } + }); + } + } + }), + (t.prototype._cacheOwnPosition = function() { + this._clientRect = pf(this.element).getBoundingClientRect(); + }), + (t.prototype._cacheItemPositions = function() { + var t = this, + n = "horizontal" === this._orientation; + this._itemPositions = this._activeDraggables + .map(function(n) { + var e = (t._dragDropRegistry.isDragging(n) + ? n.getPlaceholderElement() + : n.getRootElement() + ).getBoundingClientRect(); + return { + drag: n, + offset: 0, + clientRect: { + top: e.top, + right: e.right, + bottom: e.bottom, + left: e.left, + width: e.width, + height: e.height + } + }; + }) + .sort(function(t, e) { + return n + ? t.clientRect.left - e.clientRect.left + : t.clientRect.top - e.clientRect.top; + }); + }), + (t.prototype._reset = function() { + var t = this; + (this._isDragging = !1), + this._activeDraggables.forEach(function(t) { + return (t.getRootElement().style.transform = ""); + }), + this._siblings.forEach(function(n) { + return n._stopReceiving(t); + }), + (this._activeDraggables = []), + (this._itemPositions = []), + (this._previousSwap.drag = null), + (this._previousSwap.delta = 0); + }), + (t.prototype._getSiblingOffsetPx = function(t, n, e) { + var o = "horizontal" === this._orientation, + a = n[t].clientRect, + r = n[t + -1 * e], + i = a[o ? "width" : "height"] * e; + if (r) { + var l = o ? "left" : "top", + s = o ? "right" : "bottom"; + -1 === e + ? (i -= r.clientRect[l] - a[s]) + : (i += a[l] - r.clientRect[s]); + } + return i; + }), + (t.prototype._isPointerNearDropContainer = function(t, n) { + var e = this._clientRect, + o = 0.05 * e.width, + a = 0.05 * e.height; + return ( + n > e.top - a && + n < e.bottom + a && + t > e.left - o && + t < e.right + o + ); + }), + (t.prototype._getItemOffsetPx = function(t, n, e) { + var o = "horizontal" === this._orientation, + a = o ? n.left - t.left : n.top - t.top; + return ( + -1 === e && (a += o ? n.width - t.width : n.height - t.height), + a + ); + }), + (t.prototype._getItemIndexFromPointerPosition = function( + t, + n, + e, + o + ) { + var a = this, + r = "horizontal" === this._orientation; + return wP(this._itemPositions, function(i, l, s) { + var c = i.drag, + u = i.clientRect; + return c === t + ? s.length < 2 + : (!o || + c !== a._previousSwap.drag || + (r ? o.x : o.y) !== a._previousSwap.delta) && + (r + ? n >= Math.floor(u.left) && n <= Math.floor(u.right) + : e >= Math.floor(u.top) && e <= Math.floor(u.bottom)); + }); + }), + (t.prototype._cacheItems = function() { + (this._activeDraggables = this._draggables.slice()), + this._cacheItemPositions(), + this._cacheOwnPosition(); + }), + (t.prototype._isOverContainer = function(t, n) { + return SP(this._clientRect, t, n); + }), + (t.prototype._getSiblingContainerFromPosition = function(t, n, e) { + return this._siblings.find(function(o) { + return o._canReceive(t, n, e); + }); + }), + (t.prototype._canReceive = function(t, n, e) { + if (!this.enterPredicate(t, this) || !SP(this._clientRect, n, e)) + return !1; + var o = this._document.elementFromPoint(n, e); + if (!o) return !1; + var a = pf(this.element); + return o === a || a.contains(o); + }), + (t.prototype._startReceiving = function(t) { + var n = this._activeSiblings; + n.has(t) || (n.add(t), this._cacheOwnPosition()); + }), + (t.prototype._stopReceiving = function(t) { + this._activeSiblings.delete(t); + }), + t + ); + })(); + function kP(t, n, e) { + (t.top += n), + (t.bottom = t.top + t.height), + (t.left += e), + (t.right = t.left + t.width); + } + function wP(t, n) { + for (var e = 0; e < t.length; e++) if (n(t[e], e, t)) return e; + return -1; + } + function SP(t, n, e) { + return e >= t.top && e <= t.bottom && n >= t.left && n <= t.right; + } + var EP = yf({ passive: !1, capture: !0 }), + IP = (function() { + function t(t, n) { + var e = this; + (this._ngZone = t), + (this._dropInstances = new Set()), + (this._dragInstances = new Set()), + (this._activeDragInstances = new Set()), + (this._globalListeners = new Map()), + (this.pointerMove = new S()), + (this.pointerUp = new S()), + (this._preventDefaultWhileDragging = function(t) { + e._activeDragInstances.size && t.preventDefault(); + }), + (this._document = n); + } + return ( + (t.prototype.registerDropContainer = function(t) { + if (!this._dropInstances.has(t)) { + if (this.getDropContainer(t.id)) + throw Error( + 'Drop instance with id "' + + t.id + + '" has already been registered.' + ); + this._dropInstances.add(t); + } + }), + (t.prototype.registerDragItem = function(t) { + var n = this; + this._dragInstances.add(t), + 1 === this._dragInstances.size && + this._ngZone.runOutsideAngular(function() { + n._document.addEventListener( + "touchmove", + n._preventDefaultWhileDragging, + EP + ); + }); + }), + (t.prototype.removeDropContainer = function(t) { + this._dropInstances.delete(t); + }), + (t.prototype.removeDragItem = function(t) { + this._dragInstances.delete(t), + this.stopDragging(t), + 0 === this._dragInstances.size && + this._document.removeEventListener( + "touchmove", + this._preventDefaultWhileDragging, + EP + ); + }), + (t.prototype.startDragging = function(t, n) { + var e = this; + if ( + !this._activeDragInstances.has(t) && + (this._activeDragInstances.add(t), + 1 === this._activeDragInstances.size) + ) { + var o = n.type.startsWith("touch"), + a = o ? "touchend" : "mouseup"; + this._globalListeners + .set(o ? "touchmove" : "mousemove", { + handler: function(t) { + return e.pointerMove.next(t); + }, + options: EP + }) + .set(a, { + handler: function(t) { + return e.pointerUp.next(t); + }, + options: !0 + }) + .set("selectstart", { + handler: this._preventDefaultWhileDragging, + options: EP + }), + o || + this._globalListeners.set("wheel", { + handler: this._preventDefaultWhileDragging, + options: EP + }), + this._ngZone.runOutsideAngular(function() { + e._globalListeners.forEach(function(t, n) { + e._document.addEventListener(n, t.handler, t.options); + }); + }); + } + }), + (t.prototype.stopDragging = function(t) { + this._activeDragInstances.delete(t), + 0 === this._activeDragInstances.size && + this._clearGlobalListeners(); + }), + (t.prototype.isDragging = function(t) { + return this._activeDragInstances.has(t); + }), + (t.prototype.getDropContainer = function(t) { + return Array.from(this._dropInstances).find(function(n) { + return n.id === t; + }); + }), + (t.prototype.ngOnDestroy = function() { + var t = this; + this._dragInstances.forEach(function(n) { + return t.removeDragItem(n); + }), + this._dropInstances.forEach(function(n) { + return t.removeDropContainer(n); + }), + this._clearGlobalListeners(), + this.pointerMove.complete(), + this.pointerUp.complete(); + }), + (t.prototype._clearGlobalListeners = function() { + var t = this; + this._globalListeners.forEach(function(n, e) { + t._document.removeEventListener(e, n.handler, n.options); + }), + this._globalListeners.clear(); + }), + (t.ngInjectableDef = yt({ + factory: function() { + return new t(Tt(Dr), Tt(Ds)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + AP = { dragStartThreshold: 5, pointerDirectionChangeThreshold: 5 }, + TP = (function() { + function t(t, n, e, o) { + (this._document = t), + (this._ngZone = n), + (this._viewportRuler = e), + (this._dragDropRegistry = o); + } + return ( + (t.prototype.createDrag = function(t, n) { + return ( + void 0 === n && (n = AP), + new bP( + t, + n, + this._document, + this._ngZone, + this._viewportRuler, + this._dragDropRegistry + ) + ); + }), + (t.prototype.createDropList = function(t) { + return new xP(t, this._dragDropRegistry, this._document); + }), + (t.ngInjectableDef = yt({ + factory: function() { + return new t(Tt(Ds), Tt(Dr), Tt(IC), Tt(IP)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + RP = new Ut("CDK_DROP_LIST"), + DP = new Ut("CDK_DRAG_PARENT"), + NP = (function() { + function t(t, n) { + (this.element = t), + (this._stateChanges = new S()), + (this._disabled = !1), + (this._parentDrag = n), + pP(t.nativeElement, !1); + } + return ( + Object.defineProperty(t.prototype, "disabled", { + get: function() { + return this._disabled; + }, + set: function(t) { + (this._disabled = sf(t)), this._stateChanges.next(this); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.ngOnDestroy = function() { + this._stateChanges.complete(); + }), + t + ); + })(), + zP = new Ut("CDK_DRAG_CONFIG", { + providedIn: "root", + factory: function() { + return { + dragStartThreshold: 5, + pointerDirectionChangeThreshold: 5 + }; + } + }), + LP = (function() { + function t(t, n, e, o, a, r, i, l, s) { + var c = this; + (this.element = t), + (this.dropContainer = n), + (this._document = e), + (this._ngZone = o), + (this._viewContainerRef = a), + (this._dir = i), + (this._changeDetectorRef = s), + (this._destroyed = new S()), + (this.dragStartDelay = 0), + (this._disabled = !1), + (this.started = new ar()), + (this.released = new ar()), + (this.ended = new ar()), + (this.entered = new ar()), + (this.exited = new ar()), + (this.dropped = new ar()), + (this.moved = new O(function(t) { + var n = c._dragRef.moved + .pipe( + U(function(t) { + return { + source: c, + pointerPosition: t.pointerPosition, + event: t.event, + delta: t.delta, + distance: t.distance + }; + }) + ) + .subscribe(t); + return function() { + n.unsubscribe(); + }; + })), + (this._dragRef = l.createDrag(t, r)), + (this._dragRef.data = this), + this._syncInputs(this._dragRef), + this._handleEvents(this._dragRef); + } + return ( + Object.defineProperty(t.prototype, "boundaryElementSelector", { + get: function() { + return "string" == typeof this.boundaryElement + ? this.boundaryElement + : void 0; + }, + set: function(t) { + this.boundaryElement = t; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "disabled", { + get: function() { + return ( + this._disabled || + (this.dropContainer && this.dropContainer.disabled) + ); + }, + set: function(t) { + (this._disabled = sf(t)), + (this._dragRef.disabled = this._disabled); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.getPlaceholderElement = function() { + return this._dragRef.getPlaceholderElement(); + }), + (t.prototype.getRootElement = function() { + return this._dragRef.getRootElement(); + }), + (t.prototype.reset = function() { + this._dragRef.reset(); + }), + (t.prototype.getFreeDragPosition = function() { + return this._dragRef.getFreeDragPosition(); + }), + (t.prototype.ngAfterViewInit = function() { + var t = this; + this._ngZone.onStable + .asObservable() + .pipe( + Yc(1), + oC(this._destroyed) + ) + .subscribe(function() { + t._updateRootElement(), + t._handles.changes + .pipe( + nu(t._handles), + Dc(function(n) { + var e = n + .filter(function(n) { + return n._parentDrag === t; + }) + .map(function(t) { + return t.element; + }); + t._dragRef.withHandles(e); + }), + Jc(function(t) { + return $.apply( + void 0, + t.map(function(t) { + return t._stateChanges; + }) + ); + }), + oC(t._destroyed) + ) + .subscribe(function(n) { + var e = t._dragRef, + o = n.element.nativeElement; + n.disabled ? e.disableHandle(o) : e.enableHandle(o); + }), + t.freeDragPosition && + t._dragRef.setFreeDragPosition(t.freeDragPosition); + }); + }), + (t.prototype.ngOnChanges = function(t) { + var n = t.rootElementSelector, + e = t.freeDragPosition; + n && !n.firstChange && this._updateRootElement(), + e && + !e.firstChange && + this.freeDragPosition && + this._dragRef.setFreeDragPosition(this.freeDragPosition); + }), + (t.prototype.ngOnDestroy = function() { + this._destroyed.next(), + this._destroyed.complete(), + this._dragRef.dispose(); + }), + (t.prototype._updateRootElement = function() { + var t = this.element.nativeElement, + n = this.rootElementSelector + ? jP(t, this.rootElementSelector) + : t; + if (n && n.nodeType !== this._document.ELEMENT_NODE) + throw Error( + 'cdkDrag must be attached to an element node. Currently attached to "' + + n.nodeName + + '".' + ); + this._dragRef.withRootElement(n || t); + }), + (t.prototype._getBoundaryElement = function() { + var t = this.boundaryElement; + if (!t) return null; + if ("string" == typeof t) + return jP(this.element.nativeElement, t); + var n = pf(t); + if (Fn() && !n.contains(this.element.nativeElement)) + throw Error( + "Draggable element is not inside of the node passed into cdkDragBoundary." + ); + return n; + }), + (t.prototype._syncInputs = function(t) { + var n = this; + t.beforeStarted.subscribe(function() { + if (!t.isDragging()) { + var e = n._dir, + o = n._placeholderTemplate + ? { + template: n._placeholderTemplate.templateRef, + context: n._placeholderTemplate.data, + viewContainer: n._viewContainerRef + } + : null, + a = n._previewTemplate + ? { + template: n._previewTemplate.templateRef, + context: n._previewTemplate.data, + viewContainer: n._viewContainerRef + } + : null; + (t.disabled = n.disabled), + (t.lockAxis = n.lockAxis), + (t.dragStartDelay = cf(n.dragStartDelay)), + (t.constrainPosition = n.constrainPosition), + t + .withBoundaryElement(n._getBoundaryElement()) + .withPlaceholderTemplate(o) + .withPreviewTemplate(a), + e && t.withDirection(e.value); + } + }); + }), + (t.prototype._handleEvents = function(t) { + var n = this; + t.started.subscribe(function() { + n.started.emit({ source: n }), + n._changeDetectorRef.markForCheck(); + }), + t.released.subscribe(function() { + n.released.emit({ source: n }); + }), + t.ended.subscribe(function(t) { + n.ended.emit({ source: n, distance: t.distance }), + n._changeDetectorRef.markForCheck(); + }), + t.entered.subscribe(function(t) { + n.entered.emit({ + container: t.container.data, + item: n, + currentIndex: t.currentIndex + }); + }), + t.exited.subscribe(function(t) { + n.exited.emit({ container: t.container.data, item: n }); + }), + t.dropped.subscribe(function(t) { + n.dropped.emit({ + previousIndex: t.previousIndex, + currentIndex: t.currentIndex, + previousContainer: t.previousContainer.data, + container: t.container.data, + isPointerOverContainer: t.isPointerOverContainer, + item: n, + distance: t.distance + }); + }); + }), + t + ); + })(); + function jP(t, n) { + for (var e = t.parentElement; e; ) { + if (e.matches ? e.matches(n) : e.msMatchesSelector(n)) return e; + e = e.parentElement; + } + return null; + } + var FP = (function() { + function t() { + (this._items = new Set()), (this._disabled = !1); + } + return ( + Object.defineProperty(t.prototype, "disabled", { + get: function() { + return this._disabled; + }, + set: function(t) { + this._disabled = sf(t); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.ngOnDestroy = function() { + this._items.clear(); + }), + t + ); + })(), + BP = 0, + VP = (function() { + function t(n, e, o, a, r) { + var i = this; + (this.element = n), + (this._changeDetectorRef = o), + (this._dir = a), + (this._group = r), + (this._destroyed = new S()), + (this.connectedTo = []), + (this.orientation = "vertical"), + (this.id = "cdk-drop-list-" + BP++), + (this._disabled = !1), + (this._sortingDisabled = !1), + (this.enterPredicate = function() { + return !0; + }), + (this.dropped = new ar()), + (this.entered = new ar()), + (this.exited = new ar()), + (this.sorted = new ar()), + (this._dropListRef = e.createDropList(n)), + (this._dropListRef.data = this), + (this._dropListRef.enterPredicate = function(t, n) { + return i.enterPredicate(t.data, n.data); + }), + this._syncInputs(this._dropListRef), + this._handleEvents(this._dropListRef), + t._dropLists.push(this), + r && r._items.add(this); + } + return ( + Object.defineProperty(t.prototype, "disabled", { + get: function() { + return ( + this._disabled || (!!this._group && this._group.disabled) + ); + }, + set: function(t) { + this._disabled = sf(t); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "sortingDisabled", { + get: function() { + return this._sortingDisabled; + }, + set: function(t) { + this._sortingDisabled = sf(t); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.ngAfterContentInit = function() { + var t = this; + this._draggables.changes + .pipe( + nu(this._draggables), + oC(this._destroyed) + ) + .subscribe(function(n) { + t._dropListRef.withItems( + n.map(function(t) { + return t._dragRef; + }) + ); + }); + }), + (t.prototype.ngOnDestroy = function() { + var n = t._dropLists.indexOf(this); + n > -1 && t._dropLists.splice(n, 1), + this._group && this._group._items.delete(this), + this._dropListRef.dispose(), + this._destroyed.next(), + this._destroyed.complete(); + }), + (t.prototype.start = function() { + this._dropListRef.start(); + }), + (t.prototype.drop = function(t, n, e, o) { + this._dropListRef.drop(t._dragRef, n, e._dropListRef, o); + }), + (t.prototype.enter = function(t, n, e) { + this._dropListRef.enter(t._dragRef, n, e); + }), + (t.prototype.exit = function(t) { + this._dropListRef.exit(t._dragRef); + }), + (t.prototype.getItemIndex = function(t) { + return this._dropListRef.getItemIndex(t._dragRef); + }), + (t.prototype._sortItem = function(t, n, e, o) { + return this._dropListRef._sortItem(t._dragRef, n, e, o); + }), + (t.prototype._getSiblingContainerFromPosition = function(t, n, e) { + var o = this._dropListRef._getSiblingContainerFromPosition( + t._dragRef, + n, + e + ); + return o ? o.data : null; + }), + (t.prototype._isOverContainer = function(t, n) { + return this._dropListRef._isOverContainer(t, n); + }), + (t.prototype._syncInputs = function(n) { + var e = this; + this._dir && + this._dir.change + .pipe( + nu(this._dir.value), + oC(this._destroyed) + ) + .subscribe(function(t) { + return n.withDirection(t); + }), + n.beforeStarted.subscribe(function() { + var o = uf(e.connectedTo).map(function(n) { + return "string" == typeof n + ? t._dropLists.find(function(t) { + return t.id === n; + }) + : n; + }); + e._group && + e._group._items.forEach(function(t) { + -1 === o.indexOf(t) && o.push(t); + }), + (n.disabled = e.disabled), + (n.lockAxis = e.lockAxis), + (n.sortingDisabled = e.sortingDisabled), + n + .connectedTo( + o + .filter(function(t) { + return t && t !== e; + }) + .map(function(t) { + return t._dropListRef; + }) + ) + .withOrientation(e.orientation); + }); + }), + (t.prototype._handleEvents = function(t) { + var n = this; + t.beforeStarted.subscribe(function() { + n._changeDetectorRef.markForCheck(); + }), + t.entered.subscribe(function(t) { + n.entered.emit({ + container: n, + item: t.item.data, + currentIndex: t.currentIndex + }); + }), + t.exited.subscribe(function(t) { + n.exited.emit({ container: n, item: t.item.data }), + n._changeDetectorRef.markForCheck(); + }), + t.sorted.subscribe(function(t) { + n.sorted.emit({ + previousIndex: t.previousIndex, + currentIndex: t.currentIndex, + container: n, + item: t.item.data + }); + }), + t.dropped.subscribe(function(t) { + n.dropped.emit({ + previousIndex: t.previousIndex, + currentIndex: t.currentIndex, + previousContainer: t.previousContainer.data, + container: t.container.data, + item: t.item.data, + isPointerOverContainer: t.isPointerOverContainer, + distance: t.distance + }), + n._changeDetectorRef.markForCheck(); + }); + }), + (t._dropLists = []), + t + ); + })(), + HP = (function() { + return function() {}; + })(); + function UP(t, n) { + void 0 === n && (n = If); + var e, + o = + (e = t) instanceof Date && !isNaN(+e) ? +t - n.now() : Math.abs(t); + return function(t) { + return t.lift(new qP(o, n)); + }; + } + var qP = (function() { + function t(t, n) { + (this.delay = t), (this.scheduler = n); + } + return ( + (t.prototype.call = function(t, n) { + return n.subscribe(new KP(t, this.delay, this.scheduler)); + }), + t + ); + })(), + KP = (function(t) { + function n(n, e, o) { + var a = t.call(this, n) || this; + return ( + (a.delay = e), + (a.scheduler = o), + (a.queue = []), + (a.active = !1), + (a.errored = !1), + a + ); + } + return ( + o.__extends(n, t), + (n.dispatch = function(t) { + for ( + var n = t.source, + e = n.queue, + o = t.scheduler, + a = t.destination; + e.length > 0 && e[0].time - o.now() <= 0; + + ) + e.shift().notification.observe(a); + if (e.length > 0) { + var r = Math.max(0, e[0].time - o.now()); + this.schedule(t, r); + } else this.unsubscribe(), (n.active = !1); + }), + (n.prototype._schedule = function(t) { + (this.active = !0), + this.destination.add( + t.schedule(n.dispatch, this.delay, { + source: this, + destination: this.destination, + scheduler: t + }) + ); + }), + (n.prototype.scheduleNotification = function(t) { + if (!0 !== this.errored) { + var n = this.scheduler, + e = new YP(n.now() + this.delay, t); + this.queue.push(e), !1 === this.active && this._schedule(n); + } + }), + (n.prototype._next = function(t) { + this.scheduleNotification(dC.createNext(t)); + }), + (n.prototype._error = function(t) { + (this.errored = !0), + (this.queue = []), + this.destination.error(t), + this.unsubscribe(); + }), + (n.prototype._complete = function() { + this.scheduleNotification(dC.createComplete()), + this.unsubscribe(); + }), + n + ); + })(h), + YP = (function() { + return function(t, n) { + (this.time = t), (this.notification = n); + }; + })(), + WP = new Ut("MAT_MENU_PANEL"), + GP = (function(t) { + function n(n, e, o, a) { + var r = t.call(this) || this; + return ( + (r._elementRef = n), + (r._focusMonitor = o), + (r._parentMenu = a), + (r.role = "menuitem"), + (r._hovered = new S()), + (r._highlighted = !1), + (r._triggersSubmenu = !1), + o && o.monitor(r._elementRef, !1), + a && a.addItem && a.addItem(r), + (r._document = e), + r + ); + } + return ( + Object(o.__extends)(n, t), + (n.prototype.focus = function(t) { + void 0 === t && (t = "program"), + this._focusMonitor + ? this._focusMonitor.focusVia(this._getHostElement(), t) + : this._getHostElement().focus(); + }), + (n.prototype.ngOnDestroy = function() { + this._focusMonitor && + this._focusMonitor.stopMonitoring(this._elementRef), + this._parentMenu && + this._parentMenu.removeItem && + this._parentMenu.removeItem(this), + this._hovered.complete(); + }), + (n.prototype._getTabIndex = function() { + return this.disabled ? "-1" : "0"; + }), + (n.prototype._getHostElement = function() { + return this._elementRef.nativeElement; + }), + (n.prototype._checkDisabled = function(t) { + this.disabled && (t.preventDefault(), t.stopPropagation()); + }), + (n.prototype._handleMouseEnter = function() { + this._hovered.next(this); + }), + (n.prototype.getLabel = function() { + var t = this._elementRef.nativeElement, + n = this._document ? this._document.TEXT_NODE : 3, + e = ""; + if (t.childNodes) + for (var o = t.childNodes.length, a = 0; a < o; a++) + t.childNodes[a].nodeType === n && + (e += t.childNodes[a].textContent); + return e.trim(); + }), + n + ); + })( + nh( + $f( + (function() { + return function() {}; + })() + ) + ) + ), + ZP = new Ut("mat-menu-default-options", { + providedIn: "root", + factory: function() { + return { + overlapTrigger: !1, + xPosition: "after", + yPosition: "below", + backdropClass: "cdk-overlay-transparent-backdrop" + }; + } + }), + QP = (function(t) { + function n() { + return (null !== t && t.apply(this, arguments)) || this; + } + return Object(o.__extends)(n, t), n; + })( + (function() { + function t(t, n, e) { + (this._elementRef = t), + (this._ngZone = n), + (this._defaultOptions = e), + (this._xPosition = this._defaultOptions.xPosition), + (this._yPosition = this._defaultOptions.yPosition), + (this._items = []), + (this._itemChanges = new S()), + (this._tabSubscription = c.EMPTY), + (this._classList = {}), + (this._panelAnimationState = "void"), + (this._animationDone = new S()), + (this.backdropClass = this._defaultOptions.backdropClass), + (this._overlapTrigger = this._defaultOptions.overlapTrigger), + (this._hasBackdrop = this._defaultOptions.hasBackdrop), + (this.closed = new ar()), + (this.close = this.closed); + } + return ( + Object.defineProperty(t.prototype, "xPosition", { + get: function() { + return this._xPosition; + }, + set: function(t) { + "before" !== t && + "after" !== t && + (function() { + throw Error( + 'xPosition value must be either \'before\' or after\'.\n Example: ' + ); + })(), + (this._xPosition = t), + this.setPositionClasses(); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "yPosition", { + get: function() { + return this._yPosition; + }, + set: function(t) { + "above" !== t && + "below" !== t && + (function() { + throw Error( + 'yPosition value must be either \'above\' or below\'.\n Example: ' + ); + })(), + (this._yPosition = t), + this.setPositionClasses(); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "overlapTrigger", { + get: function() { + return this._overlapTrigger; + }, + set: function(t) { + this._overlapTrigger = sf(t); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "hasBackdrop", { + get: function() { + return this._hasBackdrop; + }, + set: function(t) { + this._hasBackdrop = sf(t); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "panelClass", { + set: function(t) { + var n = this, + e = this._previousPanelClass; + e && + e.length && + e.split(" ").forEach(function(t) { + n._classList[t] = !1; + }), + (this._previousPanelClass = t), + t && + t.length && + (t.split(" ").forEach(function(t) { + n._classList[t] = !0; + }), + (this._elementRef.nativeElement.className = "")); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "classList", { + get: function() { + return this.panelClass; + }, + set: function(t) { + this.panelClass = t; + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.ngOnInit = function() { + this.setPositionClasses(); + }), + (t.prototype.ngAfterContentInit = function() { + var t = this; + (this._keyManager = new Bf(this._items) + .withWrap() + .withTypeAhead()), + (this._tabSubscription = this._keyManager.tabOut.subscribe( + function() { + return t.closed.emit("tab"); + } + )); + }), + (t.prototype.ngOnDestroy = function() { + this._tabSubscription.unsubscribe(), this.closed.complete(); + }), + (t.prototype._hovered = function() { + return this._itemChanges.pipe( + nu(this._items), + Jc(function(t) { + return $.apply( + void 0, + t.map(function(t) { + return t._hovered; + }) + ); + }) + ); + }), + (t.prototype._handleKeydown = function(t) { + var n = t.keyCode, + e = this._keyManager; + switch (n) { + case Mf: + kf(t) || (t.preventDefault(), this.closed.emit("keydown")); + break; + case 37: + this.parentMenu && + "ltr" === this.direction && + this.closed.emit("keydown"); + break; + case 39: + this.parentMenu && + "rtl" === this.direction && + this.closed.emit("keydown"); + break; + case 36: + case 35: + kf(t) || + (36 === n + ? e.setFirstItemActive() + : e.setLastItemActive(), + t.preventDefault()); + break; + default: + (38 !== n && 40 !== n) || e.setFocusOrigin("keyboard"), + e.onKeydown(t); + } + }), + (t.prototype.focusFirstItem = function(t) { + var n = this; + void 0 === t && (t = "program"), + this.lazyContent + ? this._ngZone.onStable + .asObservable() + .pipe(Yc(1)) + .subscribe(function() { + return n._keyManager + .setFocusOrigin(t) + .setFirstItemActive(); + }) + : this._keyManager.setFocusOrigin(t).setFirstItemActive(); + }), + (t.prototype.resetActiveItem = function() { + this._keyManager.setActiveItem(-1); + }), + (t.prototype.setElevation = function(t) { + var n = "mat-elevation-z" + (4 + t), + e = Object.keys(this._classList).find(function(t) { + return t.startsWith("mat-elevation-z"); + }); + (e && e !== this._previousElevation) || + (this._previousElevation && + (this._classList[this._previousElevation] = !1), + (this._classList[n] = !0), + (this._previousElevation = n)); + }), + (t.prototype.addItem = function(t) { + -1 === this._items.indexOf(t) && + (this._items.push(t), this._itemChanges.next(this._items)); + }), + (t.prototype.removeItem = function(t) { + var n = this._items.indexOf(t); + this._items.indexOf(t) > -1 && + (this._items.splice(n, 1), + this._itemChanges.next(this._items)); + }), + (t.prototype.setPositionClasses = function(t, n) { + void 0 === t && (t = this.xPosition), + void 0 === n && (n = this.yPosition); + var e = this._classList; + (e["mat-menu-before"] = "before" === t), + (e["mat-menu-after"] = "after" === t), + (e["mat-menu-above"] = "above" === n), + (e["mat-menu-below"] = "below" === n); + }), + (t.prototype._startAnimation = function() { + this._panelAnimationState = "enter"; + }), + (t.prototype._resetAnimation = function() { + this._panelAnimationState = "void"; + }), + (t.prototype._onAnimationDone = function(t) { + this._animationDone.next(t), (this._isAnimating = !1); + }), + (t.prototype._onAnimationStart = function(t) { + (this._isAnimating = !0), + "enter" === t.toState && + 0 === this._keyManager.activeItemIndex && + (t.element.scrollTop = 0); + }), + t + ); + })() + ), + XP = (function(t) { + function n(n, e, o) { + return t.call(this, n, e, o) || this; + } + return Object(o.__extends)(n, t), n; + })(QP), + JP = new Ut("mat-menu-scroll-strategy"); + function $P(t) { + return function() { + return t.scrollStrategies.reposition(); + }; + } + var tM = yf({ passive: !0 }), + nM = (function() { + function t(t, n, e, o, a, r, i, l) { + var s = this; + (this._overlay = t), + (this._element = n), + (this._viewContainerRef = e), + (this._parentMenu = a), + (this._menuItemInstance = r), + (this._dir = i), + (this._focusMonitor = l), + (this._overlayRef = null), + (this._menuOpen = !1), + (this._closingActionsSubscription = c.EMPTY), + (this._hoverSubscription = c.EMPTY), + (this._menuCloseSubscription = c.EMPTY), + (this._handleTouchStart = function() { + return (s._openedBy = "touch"); + }), + (this._openedBy = null), + (this.restoreFocus = !0), + (this.menuOpened = new ar()), + (this.onMenuOpen = this.menuOpened), + (this.menuClosed = new ar()), + (this.onMenuClose = this.menuClosed), + n.nativeElement.addEventListener( + "touchstart", + this._handleTouchStart, + tM + ), + r && (r._triggersSubmenu = this.triggersSubmenu()), + (this._scrollStrategy = o); + } + return ( + Object.defineProperty(t.prototype, "_deprecatedMatMenuTriggerFor", { + get: function() { + return this.menu; + }, + set: function(t) { + this.menu = t; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "menu", { + get: function() { + return this._menu; + }, + set: function(t) { + var n = this; + t !== this._menu && + ((this._menu = t), + this._menuCloseSubscription.unsubscribe(), + t && + (this._menuCloseSubscription = t.close + .asObservable() + .subscribe(function(t) { + n._destroyMenu(), + ("click" !== t && "tab" !== t) || + !n._parentMenu || + n._parentMenu.closed.emit(t); + }))); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.ngAfterContentInit = function() { + this._checkMenu(), this._handleHover(); + }), + (t.prototype.ngOnDestroy = function() { + this._overlayRef && + (this._overlayRef.dispose(), (this._overlayRef = null)), + this._element.nativeElement.removeEventListener( + "touchstart", + this._handleTouchStart, + tM + ), + this._menuCloseSubscription.unsubscribe(), + this._closingActionsSubscription.unsubscribe(), + this._hoverSubscription.unsubscribe(); + }), + Object.defineProperty(t.prototype, "menuOpen", { + get: function() { + return this._menuOpen; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "dir", { + get: function() { + return this._dir && "rtl" === this._dir.value ? "rtl" : "ltr"; + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.triggersSubmenu = function() { + return !(!this._menuItemInstance || !this._parentMenu); + }), + (t.prototype.toggleMenu = function() { + return this._menuOpen ? this.closeMenu() : this.openMenu(); + }), + (t.prototype.openMenu = function() { + var t = this; + if (!this._menuOpen) { + this._checkMenu(); + var n = this._createOverlay(), + e = n.getConfig(); + this._setPosition(e.positionStrategy), + (e.hasBackdrop = + null == this.menu.hasBackdrop + ? !this.triggersSubmenu() + : this.menu.hasBackdrop), + n.attach(this._getPortal()), + this.menu.lazyContent && + this.menu.lazyContent.attach(this.menuData), + (this._closingActionsSubscription = this._menuClosingActions().subscribe( + function() { + return t.closeMenu(); + } + )), + this._initMenu(), + this.menu instanceof QP && this.menu._startAnimation(); + } + }), + (t.prototype.closeMenu = function() { + this.menu.close.emit(); + }), + (t.prototype.focus = function(t) { + void 0 === t && (t = "program"), + this._focusMonitor + ? this._focusMonitor.focusVia(this._element, t) + : this._element.nativeElement.focus(); + }), + (t.prototype._destroyMenu = function() { + var t = this; + if (this._overlayRef && this.menuOpen) { + var n = this.menu; + this._closingActionsSubscription.unsubscribe(), + this._overlayRef.detach(), + n instanceof QP + ? (n._resetAnimation(), + n.lazyContent + ? n._animationDone + .pipe( + Zl(function(t) { + return "void" === t.toState; + }), + Yc(1), + oC(n.lazyContent._attached) + ) + .subscribe({ + next: function() { + return n.lazyContent.detach(); + }, + complete: function() { + return t._resetMenu(); + } + }) + : this._resetMenu()) + : (this._resetMenu(), + n.lazyContent && n.lazyContent.detach()); + } + }), + (t.prototype._initMenu = function() { + (this.menu.parentMenu = this.triggersSubmenu() + ? this._parentMenu + : void 0), + (this.menu.direction = this.dir), + this._setMenuElevation(), + this._setIsMenuOpen(!0), + this.menu.focusFirstItem(this._openedBy || "program"); + }), + (t.prototype._setMenuElevation = function() { + if (this.menu.setElevation) { + for (var t = 0, n = this.menu.parentMenu; n; ) + t++, (n = n.parentMenu); + this.menu.setElevation(t); + } + }), + (t.prototype._resetMenu = function() { + this._setIsMenuOpen(!1), + this.restoreFocus && + (this._openedBy + ? this.triggersSubmenu() || this.focus(this._openedBy) + : this.focus()), + (this._openedBy = null); + }), + (t.prototype._setIsMenuOpen = function(t) { + (this._menuOpen = t), + this._menuOpen + ? this.menuOpened.emit() + : this.menuClosed.emit(), + this.triggersSubmenu() && + (this._menuItemInstance._highlighted = t); + }), + (t.prototype._checkMenu = function() { + this.menu || + (function() { + throw Error( + 'matMenuTriggerFor: must pass in an mat-menu instance.\n\n Example:\n \n ' + ); + })(); + }), + (t.prototype._createOverlay = function() { + if (!this._overlayRef) { + var t = this._getOverlayConfig(); + this._subscribeToPositions(t.positionStrategy), + (this._overlayRef = this._overlay.create(t)), + this._overlayRef.keydownEvents().subscribe(); + } + return this._overlayRef; + }), + (t.prototype._getOverlayConfig = function() { + return new FC({ + positionStrategy: this._overlay + .position() + .flexibleConnectedTo(this._element) + .withLockedPosition() + .withTransformOriginOn( + ".mat-menu-panel, .mat-mdc-menu-panel" + ), + backdropClass: + this.menu.backdropClass || "cdk-overlay-transparent-backdrop", + scrollStrategy: this._scrollStrategy(), + direction: this._dir + }); + }), + (t.prototype._subscribeToPositions = function(t) { + var n = this; + this.menu.setPositionClasses && + t.positionChanges.subscribe(function(t) { + n.menu.setPositionClasses( + "start" === t.connectionPair.overlayX ? "after" : "before", + "top" === t.connectionPair.overlayY ? "below" : "above" + ); + }); + }), + (t.prototype._setPosition = function(t) { + var n = + "before" === this.menu.xPosition + ? ["end", "start"] + : ["start", "end"], + e = n[0], + o = n[1], + a = + "above" === this.menu.yPosition + ? ["bottom", "top"] + : ["top", "bottom"], + r = a[0], + i = a[1], + l = [r, i], + s = l[0], + c = l[1], + u = [e, o], + d = u[0], + p = u[1], + m = 0; + this.triggersSubmenu() + ? ((p = e = "before" === this.menu.xPosition ? "start" : "end"), + (o = d = "end" === e ? "start" : "end"), + (m = "bottom" === r ? 8 : -8)) + : this.menu.overlapTrigger || + ((s = "top" === r ? "bottom" : "top"), + (c = "top" === i ? "bottom" : "top")), + t.withPositions([ + { + originX: e, + originY: s, + overlayX: d, + overlayY: r, + offsetY: m + }, + { + originX: o, + originY: s, + overlayX: p, + overlayY: r, + offsetY: m + }, + { + originX: e, + originY: c, + overlayX: d, + overlayY: i, + offsetY: -m + }, + { + originX: o, + originY: c, + overlayX: p, + overlayY: i, + offsetY: -m + } + ]); + }), + (t.prototype._menuClosingActions = function() { + var t = this, + n = this._overlayRef.backdropClick(), + e = this._overlayRef.detachments(); + return $( + n, + this._parentMenu ? this._parentMenu.closed : Wl(), + this._parentMenu + ? this._parentMenu._hovered().pipe( + Zl(function(n) { + return n !== t._menuItemInstance; + }), + Zl(function() { + return t._menuOpen; + }) + ) + : Wl(), + e + ); + }), + (t.prototype._handleMousedown = function(t) { + Zf(t) || + ((this._openedBy = 0 === t.button ? "mouse" : null), + this.triggersSubmenu() && t.preventDefault()); + }), + (t.prototype._handleKeydown = function(t) { + var n = t.keyCode; + this.triggersSubmenu() && + ((39 === n && "ltr" === this.dir) || + (37 === n && "rtl" === this.dir)) && + this.openMenu(); + }), + (t.prototype._handleClick = function(t) { + this.triggersSubmenu() + ? (t.stopPropagation(), this.openMenu()) + : this.toggleMenu(); + }), + (t.prototype._handleHover = function() { + var t = this; + this.triggersSubmenu() && + (this._hoverSubscription = this._parentMenu + ._hovered() + .pipe( + Zl(function(n) { + return n === t._menuItemInstance && !n.disabled; + }), + UP(0, Zy) + ) + .subscribe(function() { + (t._openedBy = "mouse"), + t.menu instanceof QP && t.menu._isAnimating + ? t.menu._animationDone + .pipe( + Yc(1), + UP(0, Zy), + oC(t._parentMenu._hovered()) + ) + .subscribe(function() { + return t.openMenu(); + }) + : t.openMenu(); + })); + }), + (t.prototype._getPortal = function() { + return ( + (this._portal && + this._portal.templateRef === this.menu.templateRef) || + (this._portal = new Ly( + this.menu.templateRef, + this._viewContainerRef + )), + this._portal + ); + }), + t + ); + })(), + eM = (function() { + return function() {}; + })(), + oM = (function() { + return function() {}; + })(), + aM = So({ + encapsulation: 2, + styles: [ + ".mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}@media (-ms-high-contrast:active){.mat-menu-panel{outline:solid 1px}}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}@media (-ms-high-contrast:active){.mat-menu-item-highlighted,.mat-menu-item.cdk-keyboard-focused,.mat-menu-item.cdk-program-focused{outline:dotted 1px}}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:'';display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}" + ], + data: { + animation: [ + { + type: 7, + name: "transformMenu", + definitions: [ + { + type: 0, + name: "void", + styles: { + type: 6, + styles: { opacity: 0, transform: "scale(0.8)" }, + offset: null + }, + options: void 0 + }, + { + type: 1, + expr: "void => enter", + animation: { + type: 3, + steps: [ + { + type: 11, + selector: ".mat-menu-content, .mat-mdc-menu-content", + animation: { + type: 4, + styles: { + type: 6, + styles: { opacity: 1 }, + offset: null + }, + timings: "100ms linear" + }, + options: null + }, + { + type: 4, + styles: { + type: 6, + styles: { transform: "scale(1)" }, + offset: null + }, + timings: "120ms cubic-bezier(0, 0, 0.2, 1)" + } + ], + options: null + }, + options: null + }, + { + type: 1, + expr: "* => void", + animation: { + type: 4, + styles: { type: 6, styles: { opacity: 0 }, offset: null }, + timings: "100ms 25ms linear" + }, + options: null + } + ], + options: {} + }, + { + type: 7, + name: "fadeInItems", + definitions: [ + { + type: 0, + name: "showing", + styles: { type: 6, styles: { opacity: 1 }, offset: null }, + options: void 0 + }, + { + type: 1, + expr: "void => *", + animation: [ + { type: 6, styles: { opacity: 0 }, offset: null }, + { + type: 4, + styles: null, + timings: "400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)" + } + ], + options: null + } + ], + options: {} + } + ] + } + }); + function rM(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 4, + "div", + [ + ["class", "mat-menu-panel"], + ["role", "menu"], + ["tabindex", "-1"] + ], + [[24, "@transformMenu", 0]], + [ + [null, "keydown"], + [null, "click"], + [null, "@transformMenu.start"], + [null, "@transformMenu.done"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "keydown" === n && (o = !1 !== a._handleKeydown(e) && o), + "click" === n && (o = !1 !== a.closed.emit("click") && o), + "@transformMenu.start" === n && + (o = !1 !== a._onAnimationStart(e) && o), + "@transformMenu.done" === n && + (o = !1 !== a._onAnimationDone(e) && o), + o + ); + }, + null, + null + )), + Ha(512, null, gs, fs, [$e, to, Ne, Be]), + Ba( + 2, + 278528, + null, + 0, + hs, + [gs], + { klass: [0, "klass"], ngClass: [1, "ngClass"] }, + null + ), + (t()(), + bi( + 3, + 0, + null, + null, + 1, + "div", + [["class", "mat-menu-content"]], + null, + null, + null, + null, + null + )), + wi(null, 0) + ], + function(t, n) { + t(n, 2, 0, "mat-menu-panel", n.component._classList); + }, + function(t, n) { + t(n, 0, 0, n.component._panelAnimationState); + } + ); + } + function iM(t) { + return Di( + 2, + [ + Oi(671088640, 1, { templateRef: 0 }), + (t()(), hi(0, [[1, 2]], null, 0, null, rM)) + ], + null, + null + ); + } + var lM = So({ encapsulation: 2, styles: [], data: {} }); + function sM(t) { + return Di( + 2, + [ + wi(null, 0), + (t()(), + bi( + 1, + 0, + null, + null, + 1, + "div", + [["class", "mat-menu-ripple mat-ripple"], ["matRipple", ""]], + [[2, "mat-ripple-unbounded", null]], + null, + null, + null, + null + )), + Ba( + 2, + 212992, + null, + 0, + yh, + [Ne, Dr, ff, [2, _h], [2, Py]], + { disabled: [0, "disabled"], trigger: [1, "trigger"] }, + null + ) + ], + function(t, n) { + var e = n.component; + t(n, 2, 0, e.disableRipple || e.disabled, e._getHostElement()); + }, + function(t, n) { + t(n, 1, 0, wa(n, 2).unbounded); + } + ); + } + var cM = [ + "ngClass", + "ngClass.xs", + "ngClass.sm", + "ngClass.md", + "ngClass.lg", + "ngClass.xl", + "ngClass.lt-sm", + "ngClass.lt-md", + "ngClass.lt-lg", + "ngClass.lt-xl", + "ngClass.gt-xs", + "ngClass.gt-sm", + "ngClass.gt-md", + "ngClass.gt-lg" + ], + uM = (function(t) { + function n() { + var n = (null !== t && t.apply(this, arguments)) || this; + return (n.inputs = cM), n; + } + return Object(o.__extends)(n, t), n; + })( + (function(t) { + function n(n, e, o, a, r, i, l) { + var s = t.call(this, n, null, e, o) || this; + return ( + (s.elementRef = n), + (s.styler = e), + (s.marshal = o), + (s.iterableDiffers = a), + (s.keyValueDiffers = r), + (s.renderer = i), + (s.ngClassInstance = l), + (s.DIRECTIVE_KEY = "ngClass"), + s.ngClassInstance || + (s.ngClassInstance = new hs( + s.iterableDiffers, + s.keyValueDiffers, + s.elementRef, + s.renderer + )), + s.init(), + s.setValue("", ""), + s + ); + } + return ( + Object(o.__extends)(n, t), + Object.defineProperty(n.prototype, "klass", { + set: function(t) { + (this.ngClassInstance.klass = t), this.setValue(t, ""); + }, + enumerable: !0, + configurable: !0 + }), + (n.prototype.updateWithValue = function(t) { + (this.ngClassInstance.ngClass = t), + this.ngClassInstance.ngDoCheck(); + }), + (n.prototype.ngDoCheck = function() { + this.ngClassInstance.ngDoCheck(); + }), + n + ); + })(Uv) + ), + dM = (function() { + return function(t, n, e) { + void 0 === e && (e = !0), + (this.key = t), + (this.value = n), + (this.key = e ? t.replace(/['"]/g, "").trim() : t.trim()), + (this.value = e ? n.replace(/['"]/g, "").trim() : n.trim()), + (this.value = this.value.replace(/;/, "")); + }; + })(); + function pM(t) { + var n = typeof t; + return "object" === n + ? t.constructor === Array + ? "array" + : t.constructor === Set + ? "set" + : "object" + : n; + } + function mM(t) { + var n = t.split(":"), + e = n[0], + o = n.slice(1); + return new dM(e, o.join(":")); + } + function gM(t, n) { + return n.key && (t[n.key] = n.value), t; + } + var fM = [ + "ngStyle", + "ngStyle.xs", + "ngStyle.sm", + "ngStyle.md", + "ngStyle.lg", + "ngStyle.xl", + "ngStyle.lt-sm", + "ngStyle.lt-md", + "ngStyle.lt-lg", + "ngStyle.lt-xl", + "ngStyle.gt-xs", + "ngStyle.gt-sm", + "ngStyle.gt-md", + "ngStyle.gt-lg" + ], + hM = (function(t) { + function n() { + var n = (null !== t && t.apply(this, arguments)) || this; + return (n.inputs = fM), n; + } + return Object(o.__extends)(n, t), n; + })( + (function(t) { + function n(n, e, o, a, r, i, l, s, c) { + var u = t.call(this, n, null, e, o) || this; + (u.elementRef = n), + (u.styler = e), + (u.marshal = o), + (u.keyValueDiffers = a), + (u.renderer = r), + (u.sanitizer = i), + (u.ngStyleInstance = l), + (u.DIRECTIVE_KEY = "ngStyle"), + u.ngStyleInstance || + (u.ngStyleInstance = new Ss( + u.keyValueDiffers, + u.elementRef, + u.renderer + )), + u.init(); + var d = u.nativeElement.getAttribute("style") || ""; + return ( + (u.fallbackStyles = u.buildStyleMap(d)), + (u.isServer = s && js(c)), + u + ); + } + return ( + Object(o.__extends)(n, t), + (n.prototype.updateWithValue = function(t) { + var n = this.buildStyleMap(t); + (this.ngStyleInstance.ngStyle = Object(o.__assign)( + {}, + this.fallbackStyles, + n + )), + this.isServer && this.applyStyleToElement(n), + this.ngStyleInstance.ngDoCheck(); + }), + (n.prototype.clearStyles = function() { + (this.ngStyleInstance.ngStyle = this.fallbackStyles), + this.ngStyleInstance.ngDoCheck(); + }), + (n.prototype.buildStyleMap = function(t) { + var n, + e = this, + o = function(t) { + return e.sanitizer.sanitize(le.STYLE, t) || ""; + }; + if (t) + switch (pM(t)) { + case "string": + return bM( + (void 0 === n && (n = ";"), + String(t) + .trim() + .split(n) + .map(function(t) { + return t.trim(); + }) + .filter(function(t) { + return "" !== t; + })), + o + ); + case "array": + return bM(t, o); + case "set": + default: + return (function(t, n) { + var e = []; + return ( + "set" === pM(t) + ? t.forEach(function(t) { + return e.push(t); + }) + : Object.keys(t).forEach(function(n) { + e.push(n + ":" + t[n]); + }), + (function(t, n) { + return e + .map(mM) + .filter(function(t) { + return !!t; + }) + .map(function(t) { + return n && (t.value = n(t.value)), t; + }) + .reduce(gM, {}); + })(0, n) + ); + })(t, o); + } + return {}; + }), + (n.prototype.ngDoCheck = function() { + this.ngStyleInstance.ngDoCheck(); + }), + n + ); + })(Uv) + ); + function bM(t, n) { + return t + .map(mM) + .filter(function(t) { + return !!t; + }) + .map(function(t) { + return n && (t.value = n(t.value)), t; + }) + .reduce(gM, {}); + } + var _M = (function() { + return function() {}; + })(), + yM = So({ + encapsulation: 2, + styles: [ + "cdk-virtual-scroll-viewport{display:block;position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:0}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:0}.cdk-virtual-scroll-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0}[dir=rtl] .cdk-virtual-scroll-spacer{right:0;left:auto;transform-origin:100% 0}" + ], + data: {} + }); + function CM(t) { + return Di( + 2, + [ + Oi(402653184, 1, { _contentWrapper: 0 }), + (t()(), + bi( + 1, + 0, + [[1, 0], ["contentWrapper", 1]], + null, + 1, + "div", + [["class", "cdk-virtual-scroll-content-wrapper"]], + null, + null, + null, + null, + null + )), + wi(null, 0), + (t()(), + bi( + 3, + 0, + null, + null, + 0, + "div", + [["class", "cdk-virtual-scroll-spacer"]], + [[4, "transform", null]], + null, + null, + null, + null + )) + ], + null, + function(t, n) { + t(n, 3, 0, n.component._totalContentSizeTransform); + } + ); + } + var vM = (function() { + function t(t) { + (this.viewportComponent = t), (this.destroy$ = new S()); + } + return ( + (t.prototype.ngOnInit = function() { + var t = this; + Uy(window, "resize") + .pipe( + Af(10), + oC(this.destroy$) + ) + .subscribe(function() { + return t.viewportComponent.checkViewportSize(); + }); + }), + (t.prototype.ngOnDestroy = function() { + this.destroy$.next(), this.destroy$.complete(); + }), + t + ); + })(), + OM = new Ut("NgValueAccessor"), + PM = (function() { + function t(t, n) { + (this._renderer = t), + (this._elementRef = n), + (this.onChange = function(t) {}), + (this.onTouched = function() {}); + } + return ( + (t.prototype.writeValue = function(t) { + this._renderer.setProperty( + this._elementRef.nativeElement, + "checked", + t + ); + }), + (t.prototype.registerOnChange = function(t) { + this.onChange = t; + }), + (t.prototype.registerOnTouched = function(t) { + this.onTouched = t; + }), + (t.prototype.setDisabledState = function(t) { + this._renderer.setProperty( + this._elementRef.nativeElement, + "disabled", + t + ); + }), + t + ); + })(), + MM = new Ut("CompositionEventMode"), + xM = (function() { + function t(t, n, e) { + var o; + (this._renderer = t), + (this._elementRef = n), + (this._compositionMode = e), + (this.onChange = function(t) {}), + (this.onTouched = function() {}), + (this._composing = !1), + null == this._compositionMode && + (this._compositionMode = + ((o = cu() ? cu().getUserAgent() : ""), + !/android (\d+)/.test(o.toLowerCase()))); + } + return ( + (t.prototype.writeValue = function(t) { + this._renderer.setProperty( + this._elementRef.nativeElement, + "value", + null == t ? "" : t + ); + }), + (t.prototype.registerOnChange = function(t) { + this.onChange = t; + }), + (t.prototype.registerOnTouched = function(t) { + this.onTouched = t; + }), + (t.prototype.setDisabledState = function(t) { + this._renderer.setProperty( + this._elementRef.nativeElement, + "disabled", + t + ); + }), + (t.prototype._handleInput = function(t) { + (!this._compositionMode || + (this._compositionMode && !this._composing)) && + this.onChange(t); + }), + (t.prototype._compositionStart = function() { + this._composing = !0; + }), + (t.prototype._compositionEnd = function(t) { + (this._composing = !1), this._compositionMode && this.onChange(t); + }), + t + ); + })(), + kM = (function() { + function t() {} + return ( + Object.defineProperty(t.prototype, "value", { + get: function() { + return this.control ? this.control.value : null; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "valid", { + get: function() { + return this.control ? this.control.valid : null; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "invalid", { + get: function() { + return this.control ? this.control.invalid : null; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "pending", { + get: function() { + return this.control ? this.control.pending : null; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "disabled", { + get: function() { + return this.control ? this.control.disabled : null; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "enabled", { + get: function() { + return this.control ? this.control.enabled : null; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "errors", { + get: function() { + return this.control ? this.control.errors : null; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "pristine", { + get: function() { + return this.control ? this.control.pristine : null; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "dirty", { + get: function() { + return this.control ? this.control.dirty : null; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "touched", { + get: function() { + return this.control ? this.control.touched : null; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "status", { + get: function() { + return this.control ? this.control.status : null; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "untouched", { + get: function() { + return this.control ? this.control.untouched : null; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "statusChanges", { + get: function() { + return this.control ? this.control.statusChanges : null; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "valueChanges", { + get: function() { + return this.control ? this.control.valueChanges : null; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "path", { + get: function() { + return null; + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.reset = function(t) { + void 0 === t && (t = void 0), + this.control && this.control.reset(t); + }), + (t.prototype.hasError = function(t, n) { + return !!this.control && this.control.hasError(t, n); + }), + (t.prototype.getError = function(t, n) { + return this.control ? this.control.getError(t, n) : null; + }), + t + ); + })(), + wM = (function(t) { + function n() { + return (null !== t && t.apply(this, arguments)) || this; + } + return ( + Object(o.__extends)(n, t), + Object.defineProperty(n.prototype, "formDirective", { + get: function() { + return null; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "path", { + get: function() { + return null; + }, + enumerable: !0, + configurable: !0 + }), + n + ); + })(kM); + function SM() { + throw new Error("unimplemented"); + } + var EM = (function(t) { + function n() { + var n = (null !== t && t.apply(this, arguments)) || this; + return ( + (n._parent = null), + (n.name = null), + (n.valueAccessor = null), + (n._rawValidators = []), + (n._rawAsyncValidators = []), + n + ); + } + return ( + Object(o.__extends)(n, t), + Object.defineProperty(n.prototype, "validator", { + get: function() { + return SM(); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "asyncValidator", { + get: function() { + return SM(); + }, + enumerable: !0, + configurable: !0 + }), + n + ); + })(kM), + IM = (function(t) { + function n(n) { + return t.call(this, n) || this; + } + return Object(o.__extends)(n, t), n; + })( + (function() { + function t(t) { + this._cd = t; + } + return ( + Object.defineProperty(t.prototype, "ngClassUntouched", { + get: function() { + return !!this._cd.control && this._cd.control.untouched; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "ngClassTouched", { + get: function() { + return !!this._cd.control && this._cd.control.touched; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "ngClassPristine", { + get: function() { + return !!this._cd.control && this._cd.control.pristine; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "ngClassDirty", { + get: function() { + return !!this._cd.control && this._cd.control.dirty; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "ngClassValid", { + get: function() { + return !!this._cd.control && this._cd.control.valid; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "ngClassInvalid", { + get: function() { + return !!this._cd.control && this._cd.control.invalid; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "ngClassPending", { + get: function() { + return !!this._cd.control && this._cd.control.pending; + }, + enumerable: !0, + configurable: !0 + }), + t + ); + })() + ); + function AM(t) { + return null == t || 0 === t.length; + } + var TM = /^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[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])?)*$/, + RM = (function() { + function t() {} + return ( + (t.min = function(t) { + return function(n) { + if (AM(n.value) || AM(t)) return null; + var e = parseFloat(n.value); + return !isNaN(e) && e < t + ? { min: { min: t, actual: n.value } } + : null; + }; + }), + (t.max = function(t) { + return function(n) { + if (AM(n.value) || AM(t)) return null; + var e = parseFloat(n.value); + return !isNaN(e) && e > t + ? { max: { max: t, actual: n.value } } + : null; + }; + }), + (t.required = function(t) { + return AM(t.value) ? { required: !0 } : null; + }), + (t.requiredTrue = function(t) { + return !0 === t.value ? null : { required: !0 }; + }), + (t.email = function(t) { + return AM(t.value) + ? null + : TM.test(t.value) + ? null + : { email: !0 }; + }), + (t.minLength = function(t) { + return function(n) { + if (AM(n.value)) return null; + var e = n.value ? n.value.length : 0; + return e < t + ? { minlength: { requiredLength: t, actualLength: e } } + : null; + }; + }), + (t.maxLength = function(t) { + return function(n) { + var e = n.value ? n.value.length : 0; + return e > t + ? { maxlength: { requiredLength: t, actualLength: e } } + : null; + }; + }), + (t.pattern = function(n) { + return n + ? ("string" == typeof n + ? ((o = ""), + "^" !== n.charAt(0) && (o += "^"), + (o += n), + "$" !== n.charAt(n.length - 1) && (o += "$"), + (e = new RegExp(o))) + : ((o = n.toString()), (e = n)), + function(t) { + if (AM(t.value)) return null; + var n = t.value; + return e.test(n) + ? null + : { pattern: { requiredPattern: o, actualValue: n } }; + }) + : t.nullValidator; + var e, o; + }), + (t.nullValidator = function(t) { + return null; + }), + (t.compose = function(t) { + if (!t) return null; + var n = t.filter(DM); + return 0 == n.length + ? null + : function(t) { + return zM( + (function(t, e) { + return n.map(function(n) { + return n(t); + }); + })(t) + ); + }; + }), + (t.composeAsync = function(t) { + if (!t) return null; + var n = t.filter(DM); + return 0 == n.length + ? null + : function(t) { + return Eh( + (function(t, e) { + return n.map(function(n) { + return n(t); + }); + })(t).map(NM) + ).pipe(U(zM)); + }; + }), + t + ); + })(); + function DM(t) { + return null != t; + } + function NM(t) { + var n = me(t) ? W(t) : t; + if (!ge(n)) + throw new Error( + "Expected validator to return Promise or Observable." + ); + return n; + } + function zM(t) { + var n = t.reduce(function(t, n) { + return null != n ? Object(o.__assign)({}, t, n) : t; + }, {}); + return 0 === Object.keys(n).length ? null : n; + } + function LM(t) { + return t.validate + ? function(n) { + return t.validate(n); + } + : t; + } + function jM(t) { + return t.validate + ? function(n) { + return t.validate(n); + } + : t; + } + var FM = (function() { + function t(t, n) { + (this._renderer = t), + (this._elementRef = n), + (this.onChange = function(t) {}), + (this.onTouched = function() {}); + } + return ( + (t.prototype.writeValue = function(t) { + this._renderer.setProperty( + this._elementRef.nativeElement, + "value", + null == t ? "" : t + ); + }), + (t.prototype.registerOnChange = function(t) { + this.onChange = function(n) { + t("" == n ? null : parseFloat(n)); + }; + }), + (t.prototype.registerOnTouched = function(t) { + this.onTouched = t; + }), + (t.prototype.setDisabledState = function(t) { + this._renderer.setProperty( + this._elementRef.nativeElement, + "disabled", + t + ); + }), + t + ); + })(), + BM = (function() { + function t() { + this._accessors = []; + } + return ( + (t.prototype.add = function(t, n) { + this._accessors.push([t, n]); + }), + (t.prototype.remove = function(t) { + for (var n = this._accessors.length - 1; n >= 0; --n) + if (this._accessors[n][1] === t) + return void this._accessors.splice(n, 1); + }), + (t.prototype.select = function(t) { + var n = this; + this._accessors.forEach(function(e) { + n._isSameGroup(e, t) && e[1] !== t && e[1].fireUncheck(t.value); + }); + }), + (t.prototype._isSameGroup = function(t, n) { + return ( + !!t[0].control && + t[0]._parent === n._control._parent && + t[1].name === n.name + ); + }), + t + ); + })(), + VM = (function() { + function t(t, n, e, o) { + (this._renderer = t), + (this._elementRef = n), + (this._registry = e), + (this._injector = o), + (this.onChange = function() {}), + (this.onTouched = function() {}); + } + return ( + (t.prototype.ngOnInit = function() { + (this._control = this._injector.get(EM)), + this._checkName(), + this._registry.add(this._control, this); + }), + (t.prototype.ngOnDestroy = function() { + this._registry.remove(this); + }), + (t.prototype.writeValue = function(t) { + (this._state = t === this.value), + this._renderer.setProperty( + this._elementRef.nativeElement, + "checked", + this._state + ); + }), + (t.prototype.registerOnChange = function(t) { + var n = this; + (this._fn = t), + (this.onChange = function() { + t(n.value), n._registry.select(n); + }); + }), + (t.prototype.fireUncheck = function(t) { + this.writeValue(t); + }), + (t.prototype.registerOnTouched = function(t) { + this.onTouched = t; + }), + (t.prototype.setDisabledState = function(t) { + this._renderer.setProperty( + this._elementRef.nativeElement, + "disabled", + t + ); + }), + (t.prototype._checkName = function() { + this.name && + this.formControlName && + this.name !== this.formControlName && + this._throwNameError(), + !this.name && + this.formControlName && + (this.name = this.formControlName); + }), + (t.prototype._throwNameError = function() { + throw new Error( + '\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex:

\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });', + qM = + '\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });', + KM = + '\n
\n
\n \n
\n
', + YM = (function() { + function t() {} + return ( + (t.controlParentException = function() { + throw new Error( + "formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n " + + UM + ); + }), + (t.ngModelGroupException = function() { + throw new Error( + 'formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n ' + + qM + + "\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n " + + KM + ); + }), + (t.missingFormException = function() { + throw new Error( + "formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n " + + UM + ); + }), + (t.groupParentException = function() { + throw new Error( + "formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n " + + qM + ); + }), + (t.arrayParentException = function() { + throw new Error( + 'formArrayName must be used with a parent formGroup directive. You\'ll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n \n
\n
\n
\n \n
\n
\n
\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });' + ); + }), + (t.disabledAttrWarning = function() { + console.warn( + "\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n " + ); + }), + (t.ngModelWarning = function(t) { + console.warn( + "\n It looks like you're using ngModel on the same form field as " + + t + + ". \n Support for using the ngModel input property and ngModelChange event with \n reactive form directives has been deprecated in Angular v6 and will be removed \n in Angular v7.\n \n For more information on this, see our API docs here:\n https://angular.io/api/forms/" + + ("formControl" === t + ? "FormControlDirective" + : "FormControlName") + + "#use-with-ngmodel\n " + ); + }), + t + ); + })(); + function WM(t, n) { + return Object(o.__spread)(n.path, [t]); + } + function GM(t, n) { + t || JM(n, "Cannot find control with"), + n.valueAccessor || JM(n, "No value accessor for form control with"), + (t.validator = RM.compose([t.validator, n.validator])), + (t.asyncValidator = RM.composeAsync([ + t.asyncValidator, + n.asyncValidator + ])), + n.valueAccessor.writeValue(t.value), + (function(t, n) { + n.valueAccessor.registerOnChange(function(e) { + (t._pendingValue = e), + (t._pendingChange = !0), + (t._pendingDirty = !0), + "change" === t.updateOn && ZM(t, n); + }); + })(t, n), + (function(t, n) { + t.registerOnChange(function(t, e) { + n.valueAccessor.writeValue(t), e && n.viewToModelUpdate(t); + }); + })(t, n), + (function(t, n) { + n.valueAccessor.registerOnTouched(function() { + (t._pendingTouched = !0), + "blur" === t.updateOn && t._pendingChange && ZM(t, n), + "submit" !== t.updateOn && t.markAsTouched(); + }); + })(t, n), + n.valueAccessor.setDisabledState && + t.registerOnDisabledChange(function(t) { + n.valueAccessor.setDisabledState(t); + }), + n._rawValidators.forEach(function(n) { + n.registerOnValidatorChange && + n.registerOnValidatorChange(function() { + return t.updateValueAndValidity(); + }); + }), + n._rawAsyncValidators.forEach(function(n) { + n.registerOnValidatorChange && + n.registerOnValidatorChange(function() { + return t.updateValueAndValidity(); + }); + }); + } + function ZM(t, n) { + t._pendingDirty && t.markAsDirty(), + t.setValue(t._pendingValue, { emitModelToViewChange: !1 }), + n.viewToModelUpdate(t._pendingValue), + (t._pendingChange = !1); + } + function QM(t, n) { + null == t && JM(n, "Cannot find control with"), + (t.validator = RM.compose([t.validator, n.validator])), + (t.asyncValidator = RM.composeAsync([ + t.asyncValidator, + n.asyncValidator + ])); + } + function XM(t) { + return JM( + t, + "There is no FormControl instance attached to form control element with" + ); + } + function JM(t, n) { + var e; + throw ((e = + t.path.length > 1 + ? "path: '" + t.path.join(" -> ") + "'" + : t.path[0] + ? "name: '" + t.path + "'" + : "unspecified name attribute"), + new Error(n + " " + e)); + } + function $M(t) { + return null != t ? RM.compose(t.map(LM)) : null; + } + function tx(t) { + return null != t ? RM.composeAsync(t.map(jM)) : null; + } + var nx = [ + PM, + HM, + FM, + (function() { + function t(t, n) { + (this._renderer = t), + (this._elementRef = n), + (this._optionMap = new Map()), + (this._idCounter = 0), + (this.onChange = function(t) {}), + (this.onTouched = function() {}), + (this._compareWith = be); + } + return ( + Object.defineProperty(t.prototype, "compareWith", { + set: function(t) { + if ("function" != typeof t) + throw new Error( + "compareWith must be a function, but received " + + JSON.stringify(t) + ); + this._compareWith = t; + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.writeValue = function(t) { + this.value = t; + var n = this._getOptionId(t); + null == n && + this._renderer.setProperty( + this._elementRef.nativeElement, + "selectedIndex", + -1 + ); + var e = (function(t, n) { + return null == t + ? "" + n + : (n && "object" == typeof n && (n = "Object"), + (t + ": " + n).slice(0, 50)); + })(n, t); + this._renderer.setProperty( + this._elementRef.nativeElement, + "value", + e + ); + }), + (t.prototype.registerOnChange = function(t) { + var n = this; + this.onChange = function(e) { + (n.value = n._getOptionValue(e)), t(n.value); + }; + }), + (t.prototype.registerOnTouched = function(t) { + this.onTouched = t; + }), + (t.prototype.setDisabledState = function(t) { + this._renderer.setProperty( + this._elementRef.nativeElement, + "disabled", + t + ); + }), + (t.prototype._registerOption = function() { + return (this._idCounter++).toString(); + }), + (t.prototype._getOptionId = function(t) { + var n, e; + try { + for ( + var a = Object(o.__values)( + Array.from(this._optionMap.keys()) + ), + r = a.next(); + !r.done; + r = a.next() + ) { + var i = r.value; + if (this._compareWith(this._optionMap.get(i), t)) return i; + } + } catch (l) { + n = { error: l }; + } finally { + try { + r && !r.done && (e = a.return) && e.call(a); + } finally { + if (n) throw n.error; + } + } + return null; + }), + (t.prototype._getOptionValue = function(t) { + var n = (function(t) { + return t.split(":")[0]; + })(t); + return this._optionMap.has(n) ? this._optionMap.get(n) : t; + }), + t + ); + })(), + (function() { + function t(t, n) { + (this._renderer = t), + (this._elementRef = n), + (this._optionMap = new Map()), + (this._idCounter = 0), + (this.onChange = function(t) {}), + (this.onTouched = function() {}), + (this._compareWith = be); + } + return ( + Object.defineProperty(t.prototype, "compareWith", { + set: function(t) { + if ("function" != typeof t) + throw new Error( + "compareWith must be a function, but received " + + JSON.stringify(t) + ); + this._compareWith = t; + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.writeValue = function(t) { + var n, + e = this; + if (((this.value = t), Array.isArray(t))) { + var o = t.map(function(t) { + return e._getOptionId(t); + }); + n = function(t, n) { + t._setSelected(o.indexOf(n.toString()) > -1); + }; + } else + n = function(t, n) { + t._setSelected(!1); + }; + this._optionMap.forEach(n); + }), + (t.prototype.registerOnChange = function(t) { + var n = this; + this.onChange = function(e) { + var o = []; + if (e.hasOwnProperty("selectedOptions")) + for (var a = e.selectedOptions, r = 0; r < a.length; r++) { + var i = a.item(r), + l = n._getOptionValue(i.value); + o.push(l); + } + else + for (a = e.options, r = 0; r < a.length; r++) + (i = a.item(r)).selected && + ((l = n._getOptionValue(i.value)), o.push(l)); + (n.value = o), t(o); + }; + }), + (t.prototype.registerOnTouched = function(t) { + this.onTouched = t; + }), + (t.prototype.setDisabledState = function(t) { + this._renderer.setProperty( + this._elementRef.nativeElement, + "disabled", + t + ); + }), + (t.prototype._registerOption = function(t) { + var n = (this._idCounter++).toString(); + return this._optionMap.set(n, t), n; + }), + (t.prototype._getOptionId = function(t) { + var n, e; + try { + for ( + var a = Object(o.__values)( + Array.from(this._optionMap.keys()) + ), + r = a.next(); + !r.done; + r = a.next() + ) { + var i = r.value; + if (this._compareWith(this._optionMap.get(i)._value, t)) + return i; + } + } catch (l) { + n = { error: l }; + } finally { + try { + r && !r.done && (e = a.return) && e.call(a); + } finally { + if (n) throw n.error; + } + } + return null; + }), + (t.prototype._getOptionValue = function(t) { + var n = (function(t) { + return t.split(":")[0]; + })(t); + return this._optionMap.has(n) ? this._optionMap.get(n)._value : t; + }), + t + ); + })(), + VM + ]; + function ex(t, n) { + t._syncPendingControls(), + n.forEach(function(t) { + var n = t.control; + "submit" === n.updateOn && + n._pendingChange && + (t.viewToModelUpdate(n._pendingValue), (n._pendingChange = !1)); + }); + } + function ox(t, n) { + var e = t.indexOf(n); + e > -1 && t.splice(e, 1); + } + function ax(t) { + var n = ix(t) ? t.validators : t; + return Array.isArray(n) ? $M(n) : n || null; + } + function rx(t, n) { + var e = ix(n) ? n.asyncValidators : t; + return Array.isArray(e) ? tx(e) : e || null; + } + function ix(t) { + return null != t && !Array.isArray(t) && "object" == typeof t; + } + var lx = (function() { + function t(t, n) { + (this.validator = t), + (this.asyncValidator = n), + (this._onCollectionChange = function() {}), + (this.pristine = !0), + (this.touched = !1), + (this._onDisabledChange = []); + } + return ( + Object.defineProperty(t.prototype, "parent", { + get: function() { + return this._parent; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "valid", { + get: function() { + return "VALID" === this.status; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "invalid", { + get: function() { + return "INVALID" === this.status; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "pending", { + get: function() { + return "PENDING" == this.status; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "disabled", { + get: function() { + return "DISABLED" === this.status; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "enabled", { + get: function() { + return "DISABLED" !== this.status; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "dirty", { + get: function() { + return !this.pristine; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "untouched", { + get: function() { + return !this.touched; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "updateOn", { + get: function() { + return this._updateOn + ? this._updateOn + : this.parent + ? this.parent.updateOn + : "change"; + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.setValidators = function(t) { + this.validator = ax(t); + }), + (t.prototype.setAsyncValidators = function(t) { + this.asyncValidator = rx(t); + }), + (t.prototype.clearValidators = function() { + this.validator = null; + }), + (t.prototype.clearAsyncValidators = function() { + this.asyncValidator = null; + }), + (t.prototype.markAsTouched = function(t) { + void 0 === t && (t = {}), + (this.touched = !0), + this._parent && !t.onlySelf && this._parent.markAsTouched(t); + }), + (t.prototype.markAllAsTouched = function() { + this.markAsTouched({ onlySelf: !0 }), + this._forEachChild(function(t) { + return t.markAllAsTouched(); + }); + }), + (t.prototype.markAsUntouched = function(t) { + void 0 === t && (t = {}), + (this.touched = !1), + (this._pendingTouched = !1), + this._forEachChild(function(t) { + t.markAsUntouched({ onlySelf: !0 }); + }), + this._parent && !t.onlySelf && this._parent._updateTouched(t); + }), + (t.prototype.markAsDirty = function(t) { + void 0 === t && (t = {}), + (this.pristine = !1), + this._parent && !t.onlySelf && this._parent.markAsDirty(t); + }), + (t.prototype.markAsPristine = function(t) { + void 0 === t && (t = {}), + (this.pristine = !0), + (this._pendingDirty = !1), + this._forEachChild(function(t) { + t.markAsPristine({ onlySelf: !0 }); + }), + this._parent && !t.onlySelf && this._parent._updatePristine(t); + }), + (t.prototype.markAsPending = function(t) { + void 0 === t && (t = {}), + (this.status = "PENDING"), + !1 !== t.emitEvent && this.statusChanges.emit(this.status), + this._parent && !t.onlySelf && this._parent.markAsPending(t); + }), + (t.prototype.disable = function(t) { + void 0 === t && (t = {}); + var n = this._parentMarkedDirty(t.onlySelf); + (this.status = "DISABLED"), + (this.errors = null), + this._forEachChild(function(n) { + n.disable(Object(o.__assign)({}, t, { onlySelf: !0 })); + }), + this._updateValue(), + !1 !== t.emitEvent && + (this.valueChanges.emit(this.value), + this.statusChanges.emit(this.status)), + this._updateAncestors( + Object(o.__assign)({}, t, { skipPristineCheck: n }) + ), + this._onDisabledChange.forEach(function(t) { + return t(!0); + }); + }), + (t.prototype.enable = function(t) { + void 0 === t && (t = {}); + var n = this._parentMarkedDirty(t.onlySelf); + (this.status = "VALID"), + this._forEachChild(function(n) { + n.enable(Object(o.__assign)({}, t, { onlySelf: !0 })); + }), + this.updateValueAndValidity({ + onlySelf: !0, + emitEvent: t.emitEvent + }), + this._updateAncestors( + Object(o.__assign)({}, t, { skipPristineCheck: n }) + ), + this._onDisabledChange.forEach(function(t) { + return t(!1); + }); + }), + (t.prototype._updateAncestors = function(t) { + this._parent && + !t.onlySelf && + (this._parent.updateValueAndValidity(t), + t.skipPristineCheck || this._parent._updatePristine(), + this._parent._updateTouched()); + }), + (t.prototype.setParent = function(t) { + this._parent = t; + }), + (t.prototype.updateValueAndValidity = function(t) { + void 0 === t && (t = {}), + this._setInitialStatus(), + this._updateValue(), + this.enabled && + (this._cancelExistingSubscription(), + (this.errors = this._runValidator()), + (this.status = this._calculateStatus()), + ("VALID" !== this.status && "PENDING" !== this.status) || + 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); + }), + (t.prototype._updateTreeValidity = function(t) { + void 0 === t && (t = { emitEvent: !0 }), + this._forEachChild(function(n) { + return n._updateTreeValidity(t); + }), + this.updateValueAndValidity({ + onlySelf: !0, + emitEvent: t.emitEvent + }); + }), + (t.prototype._setInitialStatus = function() { + this.status = this._allControlsDisabled() ? "DISABLED" : "VALID"; + }), + (t.prototype._runValidator = function() { + return this.validator ? this.validator(this) : null; + }), + (t.prototype._runAsyncValidator = function(t) { + var n = this; + if (this.asyncValidator) { + this.status = "PENDING"; + var e = NM(this.asyncValidator(this)); + this._asyncValidationSubscription = e.subscribe(function(e) { + return n.setErrors(e, { emitEvent: t }); + }); + } + }), + (t.prototype._cancelExistingSubscription = function() { + this._asyncValidationSubscription && + this._asyncValidationSubscription.unsubscribe(); + }), + (t.prototype.setErrors = function(t, n) { + void 0 === n && (n = {}), + (this.errors = t), + this._updateControlsErrors(!1 !== n.emitEvent); + }), + (t.prototype.get = function(t) { + return (function(t, n, e) { + return null == n + ? null + : (n instanceof Array || (n = n.split(".")), + n instanceof Array && 0 === n.length + ? null + : n.reduce(function(t, n) { + return t instanceof cx + ? t.controls.hasOwnProperty(n) + ? t.controls[n] + : null + : (t instanceof ux && t.at(n)) || null; + }, t)); + })(this, t); + }), + (t.prototype.getError = function(t, n) { + var e = n ? this.get(n) : this; + return e && e.errors ? e.errors[t] : null; + }), + (t.prototype.hasError = function(t, n) { + return !!this.getError(t, n); + }), + Object.defineProperty(t.prototype, "root", { + get: function() { + for (var t = this; t._parent; ) t = t._parent; + return t; + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype._updateControlsErrors = function(t) { + (this.status = this._calculateStatus()), + t && this.statusChanges.emit(this.status), + this._parent && this._parent._updateControlsErrors(t); + }), + (t.prototype._initObservables = function() { + (this.valueChanges = new ar()), (this.statusChanges = new ar()); + }), + (t.prototype._calculateStatus = function() { + return this._allControlsDisabled() + ? "DISABLED" + : this.errors + ? "INVALID" + : this._anyControlsHaveStatus("PENDING") + ? "PENDING" + : this._anyControlsHaveStatus("INVALID") + ? "INVALID" + : "VALID"; + }), + (t.prototype._anyControlsHaveStatus = function(t) { + return this._anyControls(function(n) { + return n.status === t; + }); + }), + (t.prototype._anyControlsDirty = function() { + return this._anyControls(function(t) { + return t.dirty; + }); + }), + (t.prototype._anyControlsTouched = function() { + return this._anyControls(function(t) { + return t.touched; + }); + }), + (t.prototype._updatePristine = function(t) { + void 0 === t && (t = {}), + (this.pristine = !this._anyControlsDirty()), + this._parent && !t.onlySelf && this._parent._updatePristine(t); + }), + (t.prototype._updateTouched = function(t) { + void 0 === t && (t = {}), + (this.touched = this._anyControlsTouched()), + this._parent && !t.onlySelf && this._parent._updateTouched(t); + }), + (t.prototype._isBoxedValue = function(t) { + return ( + "object" == typeof t && + null !== t && + 2 === Object.keys(t).length && + "value" in t && + "disabled" in t + ); + }), + (t.prototype._registerOnCollectionChange = function(t) { + this._onCollectionChange = t; + }), + (t.prototype._setUpdateStrategy = function(t) { + ix(t) && null != t.updateOn && (this._updateOn = t.updateOn); + }), + (t.prototype._parentMarkedDirty = function(t) { + return ( + !t && + this._parent && + this._parent.dirty && + !this._parent._anyControlsDirty() + ); + }), + t + ); + })(), + sx = (function(t) { + function n(n, e, o) { + void 0 === n && (n = null); + var a = t.call(this, ax(e), rx(o, e)) || this; + return ( + (a._onChange = []), + a._applyFormState(n), + a._setUpdateStrategy(e), + a.updateValueAndValidity({ onlySelf: !0, emitEvent: !1 }), + a._initObservables(), + a + ); + } + return ( + Object(o.__extends)(n, t), + (n.prototype.setValue = function(t, n) { + var e = this; + void 0 === n && (n = {}), + (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); + }), + (n.prototype.patchValue = function(t, n) { + void 0 === n && (n = {}), this.setValue(t, n); + }), + (n.prototype.reset = function(t, n) { + void 0 === t && (t = null), + void 0 === n && (n = {}), + this._applyFormState(t), + this.markAsPristine(n), + this.markAsUntouched(n), + this.setValue(this.value, n), + (this._pendingChange = !1); + }), + (n.prototype._updateValue = function() {}), + (n.prototype._anyControls = function(t) { + return !1; + }), + (n.prototype._allControlsDisabled = function() { + return this.disabled; + }), + (n.prototype.registerOnChange = function(t) { + this._onChange.push(t); + }), + (n.prototype._clearChangeFns = function() { + (this._onChange = []), + (this._onDisabledChange = []), + (this._onCollectionChange = function() {}); + }), + (n.prototype.registerOnDisabledChange = function(t) { + this._onDisabledChange.push(t); + }), + (n.prototype._forEachChild = function(t) {}), + (n.prototype._syncPendingControls = function() { + return !( + "submit" !== this.updateOn || + (this._pendingDirty && this.markAsDirty(), + this._pendingTouched && this.markAsTouched(), + !this._pendingChange) || + (this.setValue(this._pendingValue, { + onlySelf: !0, + emitModelToViewChange: !1 + }), + 0) + ); + }), + (n.prototype._applyFormState = 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 + ); + })(lx), + cx = (function(t) { + function n(n, e, o) { + var a = t.call(this, ax(e), rx(o, e)) || this; + return ( + (a.controls = n), + a._initObservables(), + a._setUpdateStrategy(e), + a._setUpControls(), + a.updateValueAndValidity({ onlySelf: !0, emitEvent: !1 }), + a + ); + } + return ( + Object(o.__extends)(n, t), + (n.prototype.registerControl = function(t, n) { + return this.controls[t] + ? this.controls[t] + : ((this.controls[t] = n), + n.setParent(this), + n._registerOnCollectionChange(this._onCollectionChange), + n); + }), + (n.prototype.addControl = function(t, n) { + this.registerControl(t, n), + this.updateValueAndValidity(), + this._onCollectionChange(); + }), + (n.prototype.removeControl = function(t) { + this.controls[t] && + this.controls[t]._registerOnCollectionChange(function() {}), + delete this.controls[t], + this.updateValueAndValidity(), + this._onCollectionChange(); + }), + (n.prototype.setControl = function(t, n) { + this.controls[t] && + this.controls[t]._registerOnCollectionChange(function() {}), + delete this.controls[t], + n && this.registerControl(t, n), + this.updateValueAndValidity(), + this._onCollectionChange(); + }), + (n.prototype.contains = function(t) { + return ( + this.controls.hasOwnProperty(t) && this.controls[t].enabled + ); + }), + (n.prototype.setValue = function(t, n) { + var e = this; + void 0 === n && (n = {}), + this._checkAllValuesPresent(t), + Object.keys(t).forEach(function(o) { + e._throwIfControlMissing(o), + e.controls[o].setValue(t[o], { + onlySelf: !0, + emitEvent: n.emitEvent + }); + }), + this.updateValueAndValidity(n); + }), + (n.prototype.patchValue = function(t, n) { + var e = this; + void 0 === n && (n = {}), + Object.keys(t).forEach(function(o) { + e.controls[o] && + e.controls[o].patchValue(t[o], { + onlySelf: !0, + emitEvent: n.emitEvent + }); + }), + this.updateValueAndValidity(n); + }), + (n.prototype.reset = function(t, n) { + void 0 === t && (t = {}), + void 0 === n && (n = {}), + this._forEachChild(function(e, o) { + e.reset(t[o], { onlySelf: !0, emitEvent: n.emitEvent }); + }), + this._updatePristine(n), + this._updateTouched(n), + this.updateValueAndValidity(n); + }), + (n.prototype.getRawValue = function() { + return this._reduceChildren({}, function(t, n, e) { + return (t[e] = n instanceof sx ? n.value : n.getRawValue()), t; + }); + }), + (n.prototype._syncPendingControls = function() { + var t = this._reduceChildren(!1, function(t, n) { + return !!n._syncPendingControls() || t; + }); + return t && this.updateValueAndValidity({ onlySelf: !0 }), t; + }), + (n.prototype._throwIfControlMissing = 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: " + t + "." + ); + }), + (n.prototype._forEachChild = function(t) { + var n = this; + Object.keys(this.controls).forEach(function(e) { + return t(n.controls[e], e); + }); + }), + (n.prototype._setUpControls = function() { + var t = this; + this._forEachChild(function(n) { + n.setParent(t), + n._registerOnCollectionChange(t._onCollectionChange); + }); + }), + (n.prototype._updateValue = function() { + this.value = this._reduceValue(); + }), + (n.prototype._anyControls = function(t) { + var n = this, + e = !1; + return ( + this._forEachChild(function(o, a) { + e = e || (n.contains(a) && t(o)); + }), + e + ); + }), + (n.prototype._reduceValue = function() { + var t = this; + return this._reduceChildren({}, function(n, e, o) { + return (e.enabled || t.disabled) && (n[o] = e.value), n; + }); + }), + (n.prototype._reduceChildren = function(t, n) { + var e = t; + return ( + this._forEachChild(function(t, o) { + e = n(e, t, o); + }), + e + ); + }), + (n.prototype._allControlsDisabled = function() { + var t, n; + try { + for ( + var e = Object(o.__values)(Object.keys(this.controls)), + a = e.next(); + !a.done; + a = e.next() + ) + if (this.controls[a.value].enabled) return !1; + } catch (r) { + t = { error: r }; + } finally { + try { + a && !a.done && (n = e.return) && n.call(e); + } finally { + if (t) throw t.error; + } + } + return Object.keys(this.controls).length > 0 || this.disabled; + }), + (n.prototype._checkAllValuesPresent = function(t) { + this._forEachChild(function(n, e) { + if (void 0 === t[e]) + throw new Error( + "Must supply a value for form control with name: '" + + e + + "'." + ); + }); + }), + n + ); + })(lx), + ux = (function(t) { + function n(n, e, o) { + var a = t.call(this, ax(e), rx(o, e)) || this; + return ( + (a.controls = n), + a._initObservables(), + a._setUpdateStrategy(e), + a._setUpControls(), + a.updateValueAndValidity({ onlySelf: !0, emitEvent: !1 }), + a + ); + } + return ( + Object(o.__extends)(n, t), + (n.prototype.at = function(t) { + return this.controls[t]; + }), + (n.prototype.push = function(t) { + this.controls.push(t), + this._registerControl(t), + this.updateValueAndValidity(), + this._onCollectionChange(); + }), + (n.prototype.insert = function(t, n) { + this.controls.splice(t, 0, n), + this._registerControl(n), + this.updateValueAndValidity(); + }), + (n.prototype.removeAt = function(t) { + this.controls[t] && + this.controls[t]._registerOnCollectionChange(function() {}), + this.controls.splice(t, 1), + this.updateValueAndValidity(); + }), + (n.prototype.setControl = function(t, n) { + this.controls[t] && + this.controls[t]._registerOnCollectionChange(function() {}), + this.controls.splice(t, 1), + n && (this.controls.splice(t, 0, n), this._registerControl(n)), + this.updateValueAndValidity(), + this._onCollectionChange(); + }), + Object.defineProperty(n.prototype, "length", { + get: function() { + return this.controls.length; + }, + enumerable: !0, + configurable: !0 + }), + (n.prototype.setValue = function(t, n) { + var e = this; + void 0 === n && (n = {}), + this._checkAllValuesPresent(t), + t.forEach(function(t, o) { + e._throwIfControlMissing(o), + e + .at(o) + .setValue(t, { onlySelf: !0, emitEvent: n.emitEvent }); + }), + this.updateValueAndValidity(n); + }), + (n.prototype.patchValue = function(t, n) { + var e = this; + void 0 === n && (n = {}), + t.forEach(function(t, o) { + e.at(o) && + e + .at(o) + .patchValue(t, { onlySelf: !0, emitEvent: n.emitEvent }); + }), + this.updateValueAndValidity(n); + }), + (n.prototype.reset = function(t, n) { + void 0 === t && (t = []), + void 0 === n && (n = {}), + this._forEachChild(function(e, o) { + e.reset(t[o], { onlySelf: !0, emitEvent: n.emitEvent }); + }), + this._updatePristine(n), + this._updateTouched(n), + this.updateValueAndValidity(n); + }), + (n.prototype.getRawValue = function() { + return this.controls.map(function(t) { + return t instanceof sx ? t.value : t.getRawValue(); + }); + }), + (n.prototype.clear = function() { + this.controls.length < 1 || + (this._forEachChild(function(t) { + return t._registerOnCollectionChange(function() {}); + }), + this.controls.splice(0), + this.updateValueAndValidity()); + }), + (n.prototype._syncPendingControls = function() { + var t = this.controls.reduce(function(t, n) { + return !!n._syncPendingControls() || t; + }, !1); + return t && this.updateValueAndValidity({ onlySelf: !0 }), t; + }), + (n.prototype._throwIfControlMissing = 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 " + t); + }), + (n.prototype._forEachChild = function(t) { + this.controls.forEach(function(n, e) { + t(n, e); + }); + }), + (n.prototype._updateValue = function() { + var t = this; + this.value = this.controls + .filter(function(n) { + return n.enabled || t.disabled; + }) + .map(function(t) { + return t.value; + }); + }), + (n.prototype._anyControls = function(t) { + return this.controls.some(function(n) { + return n.enabled && t(n); + }); + }), + (n.prototype._setUpControls = function() { + var t = this; + this._forEachChild(function(n) { + return t._registerControl(n); + }); + }), + (n.prototype._checkAllValuesPresent = function(t) { + this._forEachChild(function(n, e) { + if (void 0 === t[e]) + throw new Error( + "Must supply a value for form control at index: " + e + "." + ); + }); + }), + (n.prototype._allControlsDisabled = function() { + var t, n; + try { + for ( + var e = Object(o.__values)(this.controls), a = e.next(); + !a.done; + a = e.next() + ) + if (a.value.enabled) return !1; + } catch (r) { + t = { error: r }; + } finally { + try { + a && !a.done && (n = e.return) && n.call(e); + } finally { + if (t) throw t.error; + } + } + return this.controls.length > 0 || this.disabled; + }), + (n.prototype._registerControl = function(t) { + t.setParent(this), + t._registerOnCollectionChange(this._onCollectionChange); + }), + n + ); + })(lx), + dx = (function() { + return Promise.resolve(null); + })(), + px = (function(t) { + function n(n, e) { + var o = t.call(this) || this; + return ( + (o.submitted = !1), + (o._directives = []), + (o.ngSubmit = new ar()), + (o.form = new cx({}, $M(n), tx(e))), + o + ); + } + return ( + Object(o.__extends)(n, t), + (n.prototype.ngAfterViewInit = function() { + this._setUpdateStrategy(); + }), + Object.defineProperty(n.prototype, "formDirective", { + get: function() { + return this; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "control", { + get: function() { + return this.form; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "path", { + get: function() { + return []; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "controls", { + get: function() { + return this.form.controls; + }, + enumerable: !0, + configurable: !0 + }), + (n.prototype.addControl = function(t) { + var n = this; + dx.then(function() { + var e = n._findContainer(t.path); + (t.control = e.registerControl(t.name, t.control)), + GM(t.control, t), + t.control.updateValueAndValidity({ emitEvent: !1 }), + n._directives.push(t); + }); + }), + (n.prototype.getControl = function(t) { + return this.form.get(t.path); + }), + (n.prototype.removeControl = function(t) { + var n = this; + dx.then(function() { + var e = n._findContainer(t.path); + e && e.removeControl(t.name), ox(n._directives, t); + }); + }), + (n.prototype.addFormGroup = function(t) { + var n = this; + dx.then(function() { + var e = n._findContainer(t.path), + o = new cx({}); + QM(o, t), + e.registerControl(t.name, o), + o.updateValueAndValidity({ emitEvent: !1 }); + }); + }), + (n.prototype.removeFormGroup = function(t) { + var n = this; + dx.then(function() { + var e = n._findContainer(t.path); + e && e.removeControl(t.name); + }); + }), + (n.prototype.getFormGroup = function(t) { + return this.form.get(t.path); + }), + (n.prototype.updateModel = function(t, n) { + var e = this; + dx.then(function() { + e.form.get(t.path).setValue(n); + }); + }), + (n.prototype.setValue = function(t) { + this.control.setValue(t); + }), + (n.prototype.onSubmit = function(t) { + return ( + (this.submitted = !0), + ex(this.form, this._directives), + this.ngSubmit.emit(t), + !1 + ); + }), + (n.prototype.onReset = function() { + this.resetForm(); + }), + (n.prototype.resetForm = function(t) { + void 0 === t && (t = void 0), + this.form.reset(t), + (this.submitted = !1); + }), + (n.prototype._setUpdateStrategy = function() { + this.options && + null != this.options.updateOn && + (this.form._updateOn = this.options.updateOn); + }), + (n.prototype._findContainer = function(t) { + return t.pop(), t.length ? this.form.get(t) : this.form; + }), + n + ); + })(wM), + mx = (function() { + function t() {} + return ( + (t.modelParentException = function() { + throw new Error( + '\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n ' + + UM + + '\n\n Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n Example:\n\n \n
\n \n \n
\n ' + ); + }), + (t.formGroupNameException = function() { + throw new Error( + "\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n " + + qM + + "\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n " + + KM + ); + }), + (t.missingNameException = function() { + throw new Error( + 'If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: \n Example 2: ' + ); + }), + (t.modelGroupParentException = function() { + throw new Error( + "\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n " + + qM + + "\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n " + + KM + ); + }), + (t.ngFormWarning = function() { + console.warn( + "\n It looks like you're using 'ngForm'.\n\n Support for using the 'ngForm' element selector has been deprecated in Angular v6 and will be removed\n in Angular v9.\n\n Use 'ng-form' instead.\n\n Before:\n \n\n After:\n \n " + ); + }), + t + ); + })(), + gx = new Ut("NgFormSelectorWarning"), + fx = (function(t) { + function n() { + return (null !== t && t.apply(this, arguments)) || this; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.ngOnInit = function() { + this._checkParentType(), this.formDirective.addFormGroup(this); + }), + (n.prototype.ngOnDestroy = function() { + this.formDirective && this.formDirective.removeFormGroup(this); + }), + Object.defineProperty(n.prototype, "control", { + get: function() { + return this.formDirective.getFormGroup(this); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "path", { + get: function() { + return WM(this.name, this._parent); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "formDirective", { + get: function() { + return this._parent ? this._parent.formDirective : null; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "validator", { + get: function() { + return $M(this._validators); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "asyncValidator", { + get: function() { + return tx(this._asyncValidators); + }, + enumerable: !0, + configurable: !0 + }), + (n.prototype._checkParentType = function() {}), + n + ); + })(wM), + hx = (function(t) { + function n(n, e, o) { + var a = t.call(this) || this; + return ( + (a._parent = n), (a._validators = e), (a._asyncValidators = o), a + ); + } + var e; + return ( + Object(o.__extends)(n, t), + (e = n), + (n.prototype._checkParentType = function() { + this._parent instanceof e || + this._parent instanceof px || + mx.modelGroupParentException(); + }), + n + ); + })(fx), + bx = (function() { + return Promise.resolve(null); + })(), + _x = (function(t) { + function n(n, e, o, a) { + var r = t.call(this) || this; + return ( + (r.control = new sx()), + (r._registered = !1), + (r.update = new ar()), + (r._parent = n), + (r._rawValidators = e || []), + (r._rawAsyncValidators = o || []), + (r.valueAccessor = (function(t, n) { + if (!n) return null; + Array.isArray(n) || + JM( + t, + "Value accessor was not provided as an array for form control with" + ); + var e = void 0, + o = void 0, + a = void 0; + return ( + n.forEach(function(n) { + var r; + n.constructor === xM + ? (e = n) + : ((r = n), + nx.some(function(t) { + return r.constructor === t; + }) + ? (o && + JM( + t, + "More than one built-in value accessor matches form control with" + ), + (o = n)) + : (a && + JM( + t, + "More than one custom value accessor matches form control with" + ), + (a = n))); + }), + a || + o || + e || + (JM(t, "No valid value accessor for form control with"), + null) + ); + })(r, a)), + r + ); + } + return ( + Object(o.__extends)(n, t), + (n.prototype.ngOnChanges = function(t) { + this._checkForErrors(), + this._registered || this._setUpControl(), + "isDisabled" in t && this._updateDisabled(t), + (function(t, n) { + if (!t.hasOwnProperty("model")) return !1; + var e = t.model; + return !!e.isFirstChange() || !be(n, e.currentValue); + })(t, this.viewModel) && + (this._updateValue(this.model), + (this.viewModel = this.model)); + }), + (n.prototype.ngOnDestroy = function() { + this.formDirective && this.formDirective.removeControl(this); + }), + Object.defineProperty(n.prototype, "path", { + get: function() { + return this._parent ? WM(this.name, this._parent) : [this.name]; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "formDirective", { + get: function() { + return this._parent ? this._parent.formDirective : null; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "validator", { + get: function() { + return $M(this._rawValidators); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "asyncValidator", { + get: function() { + return tx(this._rawAsyncValidators); + }, + enumerable: !0, + configurable: !0 + }), + (n.prototype.viewToModelUpdate = function(t) { + (this.viewModel = t), this.update.emit(t); + }), + (n.prototype._setUpControl = function() { + this._setUpdateStrategy(), + this._isStandalone() + ? this._setUpStandalone() + : this.formDirective.addControl(this), + (this._registered = !0); + }), + (n.prototype._setUpdateStrategy = function() { + this.options && + null != this.options.updateOn && + (this.control._updateOn = this.options.updateOn); + }), + (n.prototype._isStandalone = function() { + return ( + !this._parent || !(!this.options || !this.options.standalone) + ); + }), + (n.prototype._setUpStandalone = function() { + GM(this.control, this), + this.control.updateValueAndValidity({ emitEvent: !1 }); + }), + (n.prototype._checkForErrors = function() { + this._isStandalone() || this._checkParentType(), + this._checkName(); + }), + (n.prototype._checkParentType = function() { + !(this._parent instanceof hx) && this._parent instanceof fx + ? mx.formGroupNameException() + : this._parent instanceof hx || + this._parent instanceof px || + mx.modelParentException(); + }), + (n.prototype._checkName = function() { + this.options && + this.options.name && + (this.name = this.options.name), + this._isStandalone() || this.name || mx.missingNameException(); + }), + (n.prototype._updateValue = function(t) { + var n = this; + bx.then(function() { + n.control.setValue(t, { emitViewToModelChange: !1 }); + }); + }), + (n.prototype._updateDisabled = function(t) { + var n = this, + e = t.isDisabled.currentValue, + o = "" === e || (e && "false" !== e); + bx.then(function() { + o && !n.control.disabled + ? n.control.disable() + : !o && n.control.disabled && n.control.enable(); + }); + }), + n + ); + })(EM), + yx = new Ut("NgModelWithFormControlWarning"), + Cx = (function(t) { + function n(n, e) { + var o = t.call(this) || this; + return ( + (o._validators = n), + (o._asyncValidators = e), + (o.submitted = !1), + (o.directives = []), + (o.form = null), + (o.ngSubmit = new ar()), + o + ); + } + return ( + Object(o.__extends)(n, t), + (n.prototype.ngOnChanges = function(t) { + this._checkFormPresent(), + t.hasOwnProperty("form") && + (this._updateValidators(), + this._updateDomValue(), + this._updateRegistrations()); + }), + Object.defineProperty(n.prototype, "formDirective", { + get: function() { + return this; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "control", { + get: function() { + return this.form; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "path", { + get: function() { + return []; + }, + enumerable: !0, + configurable: !0 + }), + (n.prototype.addControl = function(t) { + var n = this.form.get(t.path); + return ( + GM(n, t), + n.updateValueAndValidity({ emitEvent: !1 }), + this.directives.push(t), + n + ); + }), + (n.prototype.getControl = function(t) { + return this.form.get(t.path); + }), + (n.prototype.removeControl = function(t) { + ox(this.directives, t); + }), + (n.prototype.addFormGroup = function(t) { + var n = this.form.get(t.path); + QM(n, t), n.updateValueAndValidity({ emitEvent: !1 }); + }), + (n.prototype.removeFormGroup = function(t) {}), + (n.prototype.getFormGroup = function(t) { + return this.form.get(t.path); + }), + (n.prototype.addFormArray = function(t) { + var n = this.form.get(t.path); + QM(n, t), n.updateValueAndValidity({ emitEvent: !1 }); + }), + (n.prototype.removeFormArray = function(t) {}), + (n.prototype.getFormArray = function(t) { + return this.form.get(t.path); + }), + (n.prototype.updateModel = function(t, n) { + this.form.get(t.path).setValue(n); + }), + (n.prototype.onSubmit = function(t) { + return ( + (this.submitted = !0), + ex(this.form, this.directives), + this.ngSubmit.emit(t), + !1 + ); + }), + (n.prototype.onReset = function() { + this.resetForm(); + }), + (n.prototype.resetForm = function(t) { + void 0 === t && (t = void 0), + this.form.reset(t), + (this.submitted = !1); + }), + (n.prototype._updateDomValue = function() { + var t = this; + this.directives.forEach(function(n) { + var e = t.form.get(n.path); + n.control !== e && + ((function(t, n) { + n.valueAccessor.registerOnChange(function() { + return XM(n); + }), + n.valueAccessor.registerOnTouched(function() { + return XM(n); + }), + n._rawValidators.forEach(function(t) { + t.registerOnValidatorChange && + t.registerOnValidatorChange(null); + }), + n._rawAsyncValidators.forEach(function(t) { + t.registerOnValidatorChange && + t.registerOnValidatorChange(null); + }), + t && t._clearChangeFns(); + })(n.control, n), + e && GM(e, n), + (n.control = e)); + }), + this.form._updateTreeValidity({ emitEvent: !1 }); + }), + (n.prototype._updateRegistrations = function() { + var t = this; + this.form._registerOnCollectionChange(function() { + return t._updateDomValue(); + }), + this._oldForm && + this._oldForm._registerOnCollectionChange(function() {}), + (this._oldForm = this.form); + }), + (n.prototype._updateValidators = function() { + var t = $M(this._validators); + this.form.validator = RM.compose([this.form.validator, t]); + var n = tx(this._asyncValidators); + this.form.asyncValidator = RM.composeAsync([ + this.form.asyncValidator, + n + ]); + }), + (n.prototype._checkFormPresent = function() { + this.form || YM.missingFormException(); + }), + n + ); + })(wM), + vx = (function() { + return function() {}; + })(), + Ox = (function() { + function t() {} + return ( + (t.prototype.group = function(t, n) { + void 0 === n && (n = null); + var e = this._reduceControls(t), + o = null, + a = null, + r = void 0; + return ( + null != n && + ((function(t) { + return ( + void 0 !== t.asyncValidators || + void 0 !== t.validators || + void 0 !== t.updateOn + ); + })(n) + ? ((o = null != n.validators ? n.validators : null), + (a = + null != n.asyncValidators ? n.asyncValidators : null), + (r = null != n.updateOn ? n.updateOn : void 0)) + : ((o = null != n.validator ? n.validator : null), + (a = + null != n.asyncValidator ? n.asyncValidator : null))), + new cx(e, { asyncValidators: a, updateOn: r, validators: o }) + ); + }), + (t.prototype.control = function(t, n, e) { + return new sx(t, n, e); + }), + (t.prototype.array = function(t, n, e) { + var o = this, + a = t.map(function(t) { + return o._createControl(t); + }); + return new ux(a, n, e); + }), + (t.prototype._reduceControls = function(t) { + var n = this, + e = {}; + return ( + Object.keys(t).forEach(function(o) { + e[o] = n._createControl(t[o]); + }), + e + ); + }), + (t.prototype._createControl = function(t) { + return t instanceof sx || t instanceof cx || t instanceof ux + ? t + : Array.isArray(t) + ? this.control( + t[0], + t.length > 1 ? t[1] : null, + t.length > 2 ? t[2] : null + ) + : this.control(t); + }), + t + ); + })(), + Px = (function() { + function t() {} + var n; + return ( + (n = t), + (t.withConfig = function(t) { + return { + ngModule: n, + providers: [ + { provide: gx, useValue: t.warnOnDeprecatedNgFormSelector } + ] + }; + }), + t + ); + })(), + Mx = (function() { + function t() {} + var n; + return ( + (n = t), + (t.withConfig = function(t) { + return { + ngModule: n, + providers: [ + { provide: yx, useValue: t.warnOnNgModelWithFormControl } + ] + }; + }), + t + ); + })(), + xx = new Ut("mat-checkbox-click-action"), + kx = 0, + wx = (function() { + var t = { Init: 0, Checked: 1, Unchecked: 2, Indeterminate: 3 }; + return ( + (t[t.Init] = "Init"), + (t[t.Checked] = "Checked"), + (t[t.Unchecked] = "Unchecked"), + (t[t.Indeterminate] = "Indeterminate"), + t + ); + })(), + Sx = (function() { + return function() {}; + })(), + Ex = (function(t) { + function n(n, e, o, a, r, i, l) { + var s = t.call(this, n) || this; + return ( + (s._changeDetectorRef = e), + (s._focusMonitor = o), + (s._ngZone = a), + (s._clickAction = i), + (s._animationMode = l), + (s.ariaLabel = ""), + (s.ariaLabelledby = null), + (s._uniqueId = "mat-checkbox-" + ++kx), + (s.id = s._uniqueId), + (s.labelPosition = "after"), + (s.name = null), + (s.change = new ar()), + (s.indeterminateChange = new ar()), + (s._onTouched = function() {}), + (s._currentAnimationClass = ""), + (s._currentCheckState = wx.Init), + (s._controlValueAccessorChangeFn = function() {}), + (s._checked = !1), + (s._disabled = !1), + (s._indeterminate = !1), + (s.tabIndex = parseInt(r) || 0), + s._focusMonitor.monitor(n, !0).subscribe(function(t) { + t || + Promise.resolve().then(function() { + s._onTouched(), e.markForCheck(); + }); + }), + s + ); + } + return ( + Object(o.__extends)(n, t), + Object.defineProperty(n.prototype, "inputId", { + get: function() { + return (this.id || this._uniqueId) + "-input"; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "required", { + get: function() { + return this._required; + }, + set: function(t) { + this._required = sf(t); + }, + enumerable: !0, + configurable: !0 + }), + (n.prototype.ngAfterViewChecked = function() {}), + (n.prototype.ngOnDestroy = function() { + this._focusMonitor.stopMonitoring(this._elementRef); + }), + Object.defineProperty(n.prototype, "checked", { + get: function() { + return this._checked; + }, + set: function(t) { + t != this.checked && + ((this._checked = t), this._changeDetectorRef.markForCheck()); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "disabled", { + get: function() { + return this._disabled; + }, + set: function(t) { + var n = sf(t); + n !== this.disabled && + ((this._disabled = n), + this._changeDetectorRef.markForCheck()); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "indeterminate", { + get: function() { + return this._indeterminate; + }, + set: function(t) { + var n = t != this._indeterminate; + (this._indeterminate = t), + n && + (this._transitionCheckState( + this._indeterminate + ? wx.Indeterminate + : this.checked + ? wx.Checked + : wx.Unchecked + ), + this.indeterminateChange.emit(this._indeterminate)); + }, + enumerable: !0, + configurable: !0 + }), + (n.prototype._isRippleDisabled = function() { + return this.disableRipple || this.disabled; + }), + (n.prototype._onLabelTextChange = function() { + this._changeDetectorRef.detectChanges(); + }), + (n.prototype.writeValue = function(t) { + this.checked = !!t; + }), + (n.prototype.registerOnChange = function(t) { + this._controlValueAccessorChangeFn = t; + }), + (n.prototype.registerOnTouched = function(t) { + this._onTouched = t; + }), + (n.prototype.setDisabledState = function(t) { + this.disabled = t; + }), + (n.prototype._getAriaChecked = function() { + return this.checked + ? "true" + : this.indeterminate + ? "mixed" + : "false"; + }), + (n.prototype._transitionCheckState = function(t) { + var n = this._currentCheckState, + e = this._elementRef.nativeElement; + if ( + n !== t && + (this._currentAnimationClass.length > 0 && + e.classList.remove(this._currentAnimationClass), + (this._currentAnimationClass = this._getAnimationClassForCheckStateTransition( + n, + t + )), + (this._currentCheckState = t), + this._currentAnimationClass.length > 0) + ) { + e.classList.add(this._currentAnimationClass); + var o = this._currentAnimationClass; + this._ngZone.runOutsideAngular(function() { + setTimeout(function() { + e.classList.remove(o); + }, 1e3); + }); + } + }), + (n.prototype._emitChangeEvent = function() { + var t = new Sx(); + (t.source = this), + (t.checked = this.checked), + this._controlValueAccessorChangeFn(this.checked), + this.change.emit(t); + }), + (n.prototype.toggle = function() { + this.checked = !this.checked; + }), + (n.prototype._onInputClick = function(t) { + var n = this; + t.stopPropagation(), + this.disabled || "noop" === this._clickAction + ? this.disabled || + "noop" !== this._clickAction || + ((this._inputElement.nativeElement.checked = this.checked), + (this._inputElement.nativeElement.indeterminate = this.indeterminate)) + : (this.indeterminate && + "check" !== this._clickAction && + Promise.resolve().then(function() { + (n._indeterminate = !1), + n.indeterminateChange.emit(n._indeterminate); + }), + this.toggle(), + this._transitionCheckState( + this._checked ? wx.Checked : wx.Unchecked + ), + this._emitChangeEvent()); + }), + (n.prototype.focus = function() { + this._focusMonitor.focusVia(this._inputElement, "keyboard"); + }), + (n.prototype._onInteractionEvent = function(t) { + t.stopPropagation(); + }), + (n.prototype._getAnimationClassForCheckStateTransition = function( + t, + n + ) { + if ("NoopAnimations" === this._animationMode) return ""; + var e = ""; + switch (t) { + case wx.Init: + if (n === wx.Checked) e = "unchecked-checked"; + else { + if (n != wx.Indeterminate) return ""; + e = "unchecked-indeterminate"; + } + break; + case wx.Unchecked: + e = + n === wx.Checked + ? "unchecked-checked" + : "unchecked-indeterminate"; + break; + case wx.Checked: + e = + n === wx.Unchecked + ? "checked-unchecked" + : "checked-indeterminate"; + break; + case wx.Indeterminate: + e = + n === wx.Checked + ? "indeterminate-checked" + : "indeterminate-unchecked"; + } + return "mat-checkbox-anim-" + e; + }), + n + ); + })( + eh( + th( + nh( + $f( + (function() { + return function(t) { + this._elementRef = t; + }; + })() + ) + ), + "accent" + ) + ) + ), + Ix = (function() { + return function() {}; + })(), + Ax = (function() { + return function() {}; + })(), + Tx = So({ + encapsulation: 2, + styles: [ + "@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.91026}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0,0,0,1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(.4,0,1,1);stroke-dashoffset:0}to{stroke-dashoffset:-22.91026}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0,0,.2,.1);opacity:1;transform:rotate(0)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(.14,0,0,1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0,0,.2,.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(.14,0,0,1);opacity:1;transform:rotate(0)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}100%,32.8%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0,0,.2,.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}@media (-ms-high-contrast:active){.mat-checkbox.cdk-keyboard-focused .mat-checkbox-frame{border-style:dotted}}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0,0,.2,.1),opacity 90ms cubic-bezier(0,0,.2,.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.mat-checkbox-persistent-ripple{width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media (hover:none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.91026;stroke-dasharray:22.91026;stroke-width:2.13333px}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0);border-radius:2px}@media (-ms-high-contrast:active){.mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0s mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0s mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0s mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0s mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0s mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:.5s linear 0s mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:.5s linear 0s mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:.3s linear 0s mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}" + ], + data: {} + }); + function Rx(t) { + return Di( + 2, + [ + Oi(671088640, 1, { _inputElement: 0 }), + Oi(671088640, 2, { ripple: 0 }), + (t()(), + bi( + 2, + 0, + [["label", 1]], + null, + 16, + "label", + [["class", "mat-checkbox-layout"]], + [[1, "for", 0]], + null, + null, + null, + null + )), + (t()(), + bi( + 3, + 0, + null, + null, + 10, + "div", + [["class", "mat-checkbox-inner-container"]], + [[2, "mat-checkbox-inner-container-no-side-margin", null]], + null, + null, + null, + null + )), + (t()(), + bi( + 4, + 0, + [[1, 0], ["input", 1]], + null, + 0, + "input", + [ + ["class", "mat-checkbox-input cdk-visually-hidden"], + ["type", "checkbox"] + ], + [ + [8, "id", 0], + [8, "required", 0], + [8, "checked", 0], + [1, "value", 0], + [8, "disabled", 0], + [1, "name", 0], + [8, "tabIndex", 0], + [8, "indeterminate", 0], + [1, "aria-label", 0], + [1, "aria-labelledby", 0], + [1, "aria-checked", 0] + ], + [[null, "change"], [null, "click"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "change" === n && (o = !1 !== a._onInteractionEvent(e) && o), + "click" === n && (o = !1 !== a._onInputClick(e) && o), + o + ); + }, + null, + null + )), + (t()(), + bi( + 5, + 0, + null, + null, + 3, + "div", + [["class", "mat-checkbox-ripple mat-ripple"], ["matRipple", ""]], + [[2, "mat-ripple-unbounded", null]], + null, + null, + null, + null + )), + Ba( + 6, + 212992, + [[2, 4]], + 0, + yh, + [Ne, Dr, ff, [2, _h], [2, Py]], + { + centered: [0, "centered"], + radius: [1, "radius"], + animation: [2, "animation"], + disabled: [3, "disabled"], + trigger: [4, "trigger"] + }, + null + ), + Ei(7, { enterDuration: 0 }), + (t()(), + bi( + 8, + 0, + null, + null, + 0, + "div", + [["class", "mat-ripple-element mat-checkbox-persistent-ripple"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 9, + 0, + null, + null, + 0, + "div", + [["class", "mat-checkbox-frame"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 10, + 0, + null, + null, + 3, + "div", + [["class", "mat-checkbox-background"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 11, + 0, + null, + null, + 1, + ":svg:svg", + [ + [":xml:space", "preserve"], + ["class", "mat-checkbox-checkmark"], + ["focusable", "false"], + ["version", "1.1"], + ["viewBox", "0 0 24 24"] + ], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 12, + 0, + null, + null, + 0, + ":svg:path", + [ + ["class", "mat-checkbox-checkmark-path"], + ["d", "M4.1,12.7 9,17.6 20.3,6.3"], + ["fill", "none"], + ["stroke", "white"] + ], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 13, + 0, + null, + null, + 0, + "div", + [["class", "mat-checkbox-mixedmark"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 14, + 0, + [["checkboxLabel", 1]], + null, + 4, + "span", + [["class", "mat-checkbox-label"]], + null, + [[null, "cdkObserveContent"]], + function(t, n, e) { + var o = !0; + return ( + "cdkObserveContent" === n && + (o = !1 !== t.component._onLabelTextChange() && o), + o + ); + }, + null, + null + )), + Ba(15, 1196032, null, 0, BO, [FO, Ne, Dr], null, { + event: "cdkObserveContent" + }), + (t()(), + bi( + 16, + 0, + null, + null, + 1, + "span", + [["style", "display:none"]], + null, + null, + null, + null, + null + )), + (t()(), Ai(-1, null, ["\xa0"])), + wi(null, 0) + ], + function(t, n) { + var e = n.component, + o = t(n, 7, 0, 150); + t(n, 6, 0, !0, 20, o, e._isRippleDisabled(), wa(n, 2)); + }, + function(t, n) { + var e = n.component; + t(n, 2, 0, e.inputId), + t( + n, + 3, + 0, + !wa(n, 14).textContent || !wa(n, 14).textContent.trim() + ), + t(n, 4, 1, [ + e.inputId, + e.required, + e.checked, + e.value, + e.disabled, + e.name, + e.tabIndex, + e.indeterminate, + e.ariaLabel || null, + e.ariaLabelledby, + e._getAriaChecked() + ]), + t(n, 5, 0, wa(n, 6).unbounded); + } + ); + } + var Dx = e("zB/H"), + Nx = (function() { + return function() { + this.MessageID = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace( + /[xy]/g, + function(t) { + var n = (16 * Math.random()) | 0; + return ("x" == t ? n : (3 & n) | 8).toString(16); + } + ); + }; + })(), + zx = (function(t) { + return ( + (t[(t.SetupEvent = "SetupEvent")] = "SetupEvent"), + (t[(t.Toast = "Toast")] = "Toast"), + (t[(t.DownloadStatus = "DownloadStatus")] = "DownloadStatus"), + (t[(t.ConfigChange = "ConfigChange")] = "ConfigChange"), + (t[(t.DeleteSong = "DeleteSong")] = "DeleteSong"), + (t[(t.MoveSongToPlaylist = "MoveSongToPlaylist")] = + "MoveSongToPlaylist"), + (t[(t.DeletePlaylist = "DeletePlaylist")] = "DeletePlaylist"), + (t[(t.AddOrUpdatePlaylist = "AddOrUpdatePlaylist")] = + "AddOrUpdatePlaylist"), + (t[(t.OpStatus = "OpStatus")] = "OpStatus"), + (t[(t.GetOps = "GetOps")] = "GetOps"), + (t[(t.SortPlaylist = "SortPlaylist")] = "SortPlaylist"), + (t[(t.AutoCreatePlaylists = "AutoCreatePlaylists")] = + "AutoCreatePlaylists"), + (t[(t.SetModStatus = "SetModStatus")] = "SetModStatus"), + (t[(t.ActionResponse = "ActionResponse")] = "ActionResponse"), + (t[(t.MoveSongInPlaylist = "MoveSongInPlaylist")] = + "MoveSongInPlaylist"), + (t[(t.MovePlaylist = "MovePlaylist")] = "MovePlaylist"), + (t[(t.DeleteMod = "DeleteMod")] = "DeleteMod"), + (t[(t.ChangeColor = "ChangeColor")] = "ChangeColor"), + (t[(t.SetBeastSaberUsername = "SetBeastSaberUsername")] = + "SetBeastSaberUsername"), + (t[(t.UpdateFeedReader = "UpdateFeedReader")] = "UpdateFeedReader"), + (t[(t.SyncSaberSync = "SyncSaberSync")] = "SyncSaberSync"), + (t[(t.StopDownloads = "StopDownloads")] = "StopDownloads"), + t + ); + })({}), + Lx = (function(t) { + function n() { + var n = t.call(this) || this; + return (n.Type = zx.SortPlaylist), n; + } + return o.__extends(n, t), n; + })(Nx), + jx = (function(t) { + function n() { + var n = t.call(this) || this; + return (n.Type = zx.MoveSongInPlaylist), n; + } + return o.__extends(n, t), n; + })(Nx), + Fx = (function(t) { + function n() { + var n = t.call(this) || this; + return (n.Type = zx.MoveSongToPlaylist), n; + } + return o.__extends(n, t), n; + })(Nx), + Bx = (function(t) { + function n() { + var n = t.call(this) || this; + return (n.Type = zx.MovePlaylist), n; + } + return o.__extends(n, t), n; + })(Nx), + Vx = (function(t) { + function n() { + var n = t.call(this) || this; + return (n.Type = zx.DeleteSong), n; + } + return o.__extends(n, t), n; + })(Nx), + Hx = (function(t) { + function n() { + var n = t.call(this) || this; + return (n.Type = zx.DeletePlaylist), n; + } + return o.__extends(n, t), n; + })(Nx), + Ux = (function() { + function t(t, n) { + (this.dialogRef = t), (this.api = n), (this.images = []); + } + return ( + (t.prototype.ngOnInit = function() { + var t = this; + this.api.getImages().subscribe(function(n) { + t.images = n; + }); + }), + (t.prototype.getImgUrl = function(t) { + return ( + "url(" + + Hl.API_ENDPOINT + + "/host/mod/image?filename=" + + encodeURIComponent(t) + + ")" + ); + }), + (t.prototype.pickImage = function(t) { + var n = this; + this.api.getImageBlob(t).subscribe(function(t) { + var e = new FileReader(); + (e.onload = function(t) { + n.dialogRef.close(e.result); + }), + e.readAsDataURL(t); + }); + }), + (t.prototype.clickCancel = function() { + this.dialogRef.close(null); + }), + (t.ngInjectableDef = yt({ + factory: function() { + return new t(Tt(lv), Tt(yc)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + qx = (function() { + function t(t, n, e, o) { + (this.appInt = t), + (this.dialogRef = n), + (this.data = e), + (this.dialog = o); + var a = encodeURIComponent(e.playlist.PlaylistID); + (a = a.replace("(", "%28").replace(")", "%29")), + (this.currentCover = + Hl.API_ENDPOINT + + "/host/beatsaber/playlist/cover?playlistid=" + + a); + } + return ( + (t.prototype.getCover = function() { + return "url(" + this.currentCover + ")"; + }), + (t.prototype.onQuest = function() { + return this.appInt.isAppLoaded(); + }), + (t.prototype.makeAutoID = function(t) { + return null != t && t.replace(" ", "").length + ? "Playlist ID (" + + t + .replace(/[^a-z0-9]/gim, "") + .replace(/\s+/g, "") + .replace(" ", "") + + ")" + + new Date().getTime() + : "Playlist ID"; + }), + (t.prototype.loadCover = function(t) { + var n = this; + if (0 != t.length) { + var e = t[0], + o = new FileReader(); + (o.onload = function(t) { + (n.currentCover = o.result), + (n.data.playlist.CoverImageBytes = n.currentCover.substring( + n.currentCover.indexOf(";base64,") + 8 + )); + }), + o.readAsDataURL(e); + } else console.log("No file selected!"); + }), + (t.prototype.clickSave = function() { + if ( + !(this.data.playlist.PlaylistName.replace(" ", "").length < 1) + ) { + if ( + !this.data.playlist.PlaylistID || + this.data.playlist.PlaylistID.replace(" ", "").length < 1 + ) { + if (!this.data.isNew) return; + (this.data.playlist.PlaylistID = + this.data.playlist.PlaylistName.replace(/[^a-z0-9]/gim, "") + .replace(/\s+/g, "") + .replace(" ", "") + new Date().getTime()), + (this.data.playlist.SongList = []); + } + this.dialogRef.close(this.data); + } + }), + (t.prototype.clickCancel = function() { + (this.data = null), this.dialogRef.close(); + }), + (t.prototype.clickDelete = function() { + this.dialogRef.close({ + playlist: this.data.playlist, + deletePlaylist: !0 + }); + }), + (t.prototype.questClick = function() { + var t = this; + this.dialog + .open(Ux, { width: "500px", height: "500px", disableClose: !0 }) + .afterClosed() + .subscribe(function(n) { + n && + ((t.currentCover = n), + (t.data.playlist.CoverImageBytes = t.currentCover.substring( + t.currentCover.indexOf(";base64,") + 8 + ))); + }); + }), + (t.prototype.ngOnInit = function() {}), + (t.ngInjectableDef = yt({ + factory: function() { + return new t(Tt(Eg), Tt(lv), Tt(sv), Tt(pv)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + Kx = (function(t) { + function n() { + var n = t.call(this) || this; + return (n.Type = zx.AddOrUpdatePlaylist), n; + } + return o.__extends(n, t), n; + })(Nx), + Yx = e("ds6q"), + Wx = (function(t) { + function n() { + var n = t.call(this) || this; + return ( + (n.Type = zx.AutoCreatePlaylists), + (n.RemoveEmptyPlaylists = !0), + n + ); + } + return o.__extends(n, t), n; + })(Nx), + Gx = (function(t) { + return ( + (t[(t.Up = "Up")] = "Up"), + (t[(t.Down = "Down")] = "Down"), + (t[(t.Left = "Left")] = "Left"), + (t[(t.Right = "Right")] = "Right"), + (t[(t.Center = "Center")] = "Center"), + t + ); + })({}), + Zx = (function() { + function t(t) { + this.sanitizer = t; + } + return ( + (t.prototype.transform = function(t) { + var n = t + .map(function(t) { + return t.PlaylistID; + }) + .indexOf("CustomSongs"); + if (n > -1) { + var e = t.slice(0); + return e.splice(n, 1), e; + } + return t; + }), + (t.ngInjectableDef = yt({ + factory: function() { + return new t(Tt(id)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + Qx = (function() { + function t(t) { + this.sanitizer = t; + } + return ( + (t.prototype.transform = function(t) { + var n = t + .map(function(t) { + return t.PlaylistID; + }) + .indexOf("CustomSongs"); + return n > -1 ? [t[n]] : []; + }), + (t.ngInjectableDef = yt({ + factory: function() { + return new t(Tt(id)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + Xx = (function() { + function t(t, n) { + (this.dialogRef = t), (this.data = n); + } + return ( + (t.prototype.ngOnInit = function() {}), + (t.prototype.clickButton1 = function() { + this.dialogRef.close(1); + }), + (t.prototype.clickCancel = function() { + this.dialogRef.close(-1); + }), + (t.ngInjectableDef = yt({ + factory: function() { + return new t(Tt(lv), Tt(sv)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + Jx = (function() { + function t(t, n, e, o, a, r) { + var i = this; + (this.dialog = t), + (this.configSvc = n), + (this.msgSvc = e), + (this.integrationService = o), + (this.nocustomsongs = a), + (this.onlycustomsongs = r), + (this.defaultImage = "assets/default-pack-cover.png"), + (this.BAG = "SONGS"), + (this.subs = new Dx.Subscription()), + (this.updateHack = 0), + (this.SCROLL_ACCEL_INCREMENT = 50), + (this.SCROLL_ACCEL_DELAY_MS = 350), + (this.scrollAccel = 0), + (this.scrollLastTime = 0), + (this.updateSearchResult = new Yx.Subject()), + this.subs.add( + this.integrationService.appButtonPressed.subscribe(function(t) { + (i.scrollAccel = + i.scrollLastButton == t.button && + new Date().getTime() - i.scrollLastTime <= + i.SCROLL_ACCEL_DELAY_MS + ? i.scrollAccel + i.SCROLL_ACCEL_INCREMENT + : 0), + (i.scrollLastButton = t.button), + (i.scrollLastTime = new Date().getTime()); + var n, + e = function(n) { + var e = { left: 0 }; + t.button == Gx.Down + ? ((e.bottom = + n.measureScrollOffset("bottom") - + (300 + i.scrollAccel)), + e.bottom < 0 && (e.bottom = 0), + n.scrollTo(e)) + : t.button == Gx.Up && + ((e.top = + n.measureScrollOffset("top") - + (300 + i.scrollAccel)), + e.top < 0 && (e.top = 0), + n.scrollTo(e)); + }; + i.song_container && + ((n = i.song_container.elementRef.nativeElement.getBoundingClientRect()), + t.x >= n.left && + t.x <= n.right && + t.y >= n.top && + t.y <= n.bottom) + ? e(i.song_container) + : i.pack_container && + ((n = i.pack_container.nativeElement.getBoundingClientRect()), + t.x >= n.left && + t.x <= n.right && + t.y >= n.top && + t.y <= n.bottom) + ? (function(n) { + if (t.button == Gx.Down) + n.scrollTop < n.scrollHeight - n.offsetHeight && + ((e = + n.scrollHeight - n.offsetHeight - n.scrollTop) > + 300 && (e = 300), + n.scrollTo( + n.scrollLeft, + n.scrollTop + e + i.scrollAccel + )); + else if (t.button == Gx.Up) { + var e; + n.scrollTop > 0 && + ((e = n.scrollTop) > 300 && (e = 300), + n.scrollTo( + n.scrollLeft, + n.scrollTop - (e + i.scrollAccel) + )); + } + })(i.pack_container.nativeElement) + : i.pack_song_container && + ((n = i.pack_song_container.elementRef.nativeElement.getBoundingClientRect()), + t.x >= n.left && + t.x <= n.right && + t.y >= n.top && + t.y <= n.bottom) && + e(i.pack_song_container); + }) + ); + } + return ( + (t.prototype.ngOnDestroy = function() { + this.subs.unsubscribe(); + }), + (t.prototype.ngOnInit = function() { + this.configSvc + .getConfig() + .subscribe(this.handleConfig.bind(this)), + this.configSvc.configUpdated.subscribe( + this.handleConfig.bind(this) + ); + }), + (t.prototype.ngAfterViewInit = function() {}), + (t.prototype.hasSelected = function() { + return this.songs.filter(function(t) { + return t.Selected; + }).length; + }), + (t.prototype.dragMove = function(t) { + this.lastDragPointer = t.pointerPosition; + }), + (t.prototype.handleConfig = function(t) { + (this.config = t), + (this.packs = this.nocustomsongs.transform(t.Config.Playlists)); + var n = this.onlycustomsongs.transform(t.Config.Playlists); + if (n.length < 1) { + var e = { + SongList: [], + PlaylistID: "CustomSongs", + PlaylistName: "Custom Songs" + }, + o = new Kx(); + (o.Playlist = e), + this.msgSvc.sendClientMessage(o), + (this.songsPack = e); + } else this.songsPack = n[0]; + this.songs = this.songsPack.SongList; + }), + (t.prototype.drop = function(t) { + var n, + e, + o = this, + a = t.container.element.nativeElement, + r = t.item.element.nativeElement; + this.pack_container && + this.pack_container.id == t.container.element.id && + r.dataset.song_id + ? (this.pack_container && + t.container.element.nativeElement === + this.pack_container.nativeElement && + (n = (e = function(t) { + return null == t + ? null + : t.attributes["data-playlist_id"] + ? t.attributes["data-playlist_id"].value + : t.id == a.id + ? void 0 + : null == t.parentElement + ? null + : e(t.parentElement); + })( + document.elementFromPoint( + this.lastDragPointer.x, + this.lastDragPointer.y + ) + )), + null == n && (n = this.packs[t.currentIndex].PlaylistID)) + : (n = a.dataset.playlist_id); + var i = t.currentIndex; + if ( + this.selectedPlaylist || + a !== this.pack_container.nativeElement || + r.dataset.song_id + ) { + var l, + s = this.song_container.getRenderedRange(); + this.pack_song_container && + (l = this.pack_song_container.getRenderedRange()); + var c, + u, + d = r.dataset.song_id, + p = t.currentIndex; + if ( + (t.container.element.nativeElement === + this.song_container.elementRef.nativeElement + ? ((u = "songs"), (i = t.currentIndex + s.start)) + : this.pack_song_container && + t.container.element.nativeElement === + this.pack_song_container.elementRef.nativeElement + ? ((u = "packsongs"), (i = t.currentIndex + l.start)) + : this.pack_container && + t.container.element.nativeElement == + this.pack_container.nativeElement && + (u = "pack"), + t.previousContainer.element.nativeElement == + this.song_container.elementRef.nativeElement + ? ((c = "songs"), (p += s.start)) + : this.pack_song_container && + t.previousContainer.element.nativeElement == + this.pack_song_container.elementRef.nativeElement + ? ((c = "packsongs"), (p += l.start)) + : this.pack_container && + t.previousContainer.element.nativeElement == + this.pack_container.nativeElement && + (c = "pack"), + "songs" == c && "pack" == u) + ) { + var m = this.packs.find(function(t) { + return t.PlaylistID == n; + }); + i = m ? m.SongList.length : 0; + } + if ( + (console.log( + "drop moving songid from " + + c + + " at index " + + p + + " to " + + u + + " (playlist ID " + + n + + ") at index " + + i + ), + "pack" == c && "songs" == u) + ) { + var g = i; + t.item.data.SongList.forEach(function(t) { + var e = new Fx(); + (e.ToPlaylistID = n), + (e.SongID = t.SongID), + (e.Index = g), + o.msgSvc.sendClientMessage(e), + (g += 1); + }), + this.removePlaylist(t.item.data.PlaylistID); + } else + c == u + ? (((f = new jx()).SongID = d), + (f.Index = i), + this.msgSvc.sendClientMessage(f)) + : (((f = new Fx()).ToPlaylistID = n), + (f.SongID = d), + (f.Index = i), + this.msgSvc.sendClientMessage(f)), + t.previousContainer.data.splice(p, 1), + t.container.data.splice(i, 0, t.item.data); + } else { + var f, + h = this.config.Config.Playlists.findIndex(function(t) { + return t.PlaylistID == o.songsPack.PlaylistID; + }); + h > -1 && i > h && (i += 1), + ((f = new Bx()).PlaylistID = r.dataset.playlist_id), + (f.Index = i), + this.msgSvc.sendClientMessage(f); + } + }), + (t.prototype.addSelected = function(t) { + var n = this, + e = this.songs.filter(function(t) { + return t.Selected; + }); + e.forEach(function(e) { + var o = new Fx(); + (o.ToPlaylistID = t.PlaylistID), + (o.SongID = e.SongID), + n.msgSvc.sendClientMessage(o); + }), + (t.SongList = t.SongList.concat(e)), + this.songs.forEach(function(t) { + return (t.Selected = !1); + }), + (this.checkboxChecked = !1); + }), + (t.prototype.getBackground = function(t) { + var n = encodeURIComponent(t); + return ( + (n = n.replace("(", "%28").replace(")", "%29")), + Hl.API_ENDPOINT + "/host/beatsaber/song/cover?songid=" + n + ); + }), + (t.prototype.updateImages = function(t) { + var n = this; + setTimeout(function() { + return n.updateSearchResult.next(); + }, t); + }), + (t.prototype.getPackBackground = function(t) { + var n = encodeURIComponent(t); + return ( + (n = n.replace("(", "%28").replace(")", "%29")), + Hl.API_ENDPOINT + + "/host/beatsaber/playlist/cover?playlistid=" + + n + + "&updateCount=" + + this.updateHack + ); + }), + (t.prototype.sortAuthor = function(t) { + this.sortPack(t, Ul.LevelAuthor); + }), + (t.prototype.sortDifficulty = function(t) { + this.sortPack(t, Ul.MaxDifficulty); + }), + (t.prototype.sortName = function(t) { + this.sortPack(t, Ul.Name); + }), + (t.prototype.sortPack = function(t, n) { + this.reverseSortToggle = !this.reverseSortToggle; + var e = new Lx(); + (e.PlaylistID = t), + (e.SortMode = n), + (e.Reverse = this.reverseSortToggle), + this.msgSvc.sendClientMessage(e); + }), + (t.prototype.addEditPlaylist = function(t) { + var n = this; + this.dialog + .open(qx, { + width: "450px", + height: "320px", + disableClose: !0, + data: { + playlist: t + ? { + PlaylistID: t.PlaylistID, + PlaylistName: t.PlaylistName + } + : {}, + isNew: !t + } + }) + .afterClosed() + .subscribe(function(t) { + return n.dialogClosed(t); + }); + }), + (t.prototype.deletePlaylist = function(t) { + var n = this; + t.SongList.length + ? this.dialog + .open(Xx, { + width: "450px", + height: "200px", + disableClose: !0, + data: { + title: "Delete " + t.PlaylistName + "?", + subTitle: + "Are you sure you want to delete this playlist" + + (t.SongList.length + ? " and all " + t.SongList.length + " songs on it?" + : "?"), + button1Text: "Yes" + } + }) + .afterClosed() + .subscribe(function(e) { + 1 == e && n.removePlaylist(t.PlaylistID); + }) + : this.removePlaylist(t.PlaylistID); + }), + (t.prototype.dialogClosed = function(t) { + var n = this; + null != t && + (!0 === t.deletePlaylist + ? this.removePlaylist(t.playlist.PlaylistID) + : t.isNew + ? this.configSvc.getConfig().subscribe(function(e) { + e.Config.Playlists.push(t.playlist); + var o = new Kx(); + (o.Playlist = t.playlist), n.msgSvc.sendClientMessage(o); + }) + : this.configSvc.getConfig().subscribe(function(e) { + var o = null; + if ( + (e.Config.Playlists.forEach(function(n) { + n.PlaylistID == t.playlist.PlaylistID && + ((o = n), + t.playlist.CoverImageBytes && + t.playlist.CoverImageBytes.length > 50 && + (o.CoverImageBytes = t.playlist.CoverImageBytes), + (o.PlaylistName = t.playlist.PlaylistName)); + }), + o) + ) { + var a, + r = new Kx(); + (r.Playlist = o), + n.msgSvc.sendClientMessage(r), + (a = n.msgSvc.configChangeMessage.subscribe(function( + t + ) { + a.unsubscribe(), + (n.updateHack = new Date().getTime()); + })); + } + })); + }), + (t.prototype.removePlaylist = function(t) { + var n = new Hx(); + (n.PlaylistID = t), this.msgSvc.sendClientMessage(n); + }), + (t.prototype.removeSong = function(t) { + var n = new Vx(); + (n.SongID = t), this.msgSvc.sendClientMessage(n); + }), + (t.prototype.removeSongFromPack = function(t, n) { + var e = new Fx(); + (e.ToPlaylistID = "CustomSongs"), + (e.SongID = t.SongID), + (e.Index = this.songs.length), + this.msgSvc.sendClientMessage(e), + this.songs.push(t), + (n.SongList = n.SongList.filter(function(n) { + return n !== t; + })); + }), + (t.prototype.selectAll = function() { + var t = this; + (this.selectAllToggle = !this.selectAllToggle), + (this.checkboxChecked = !0), + this.songs.forEach(function(n) { + n.Selected = t.selectAllToggle; + }); + }), + (t.prototype.autoSortName = function(t) { + var n = new Wx(); + (n.MaxPerNamePlaylist = t), + (n.SortMode = Ul.Name), + this.msgSvc.sendClientMessage(n); + }), + (t.prototype.autoSortDifficulty = function() { + var t = new Wx(); + (t.MaxPerNamePlaylist = 5), + (t.SortMode = Ul.MaxDifficulty), + this.msgSvc.sendClientMessage(t); + }), + (t.prototype.openPack = function() {}), + t + ); + })(), + $x = So({ + encapsulation: 0, + styles: [ + [ + '@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28121em) scale(.75);transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}@-webkit-keyframes cdk-text-field-autofill-start{}@-webkit-keyframes cdk-text-field-autofill-end{}.mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-option[_ngcontent-%COMP%]{color:#fff}.mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple):not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:focus:not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:hover:not(.mat-option-disabled){background:rgba(255,255,255,.04)}.mat-option.mat-active[_ngcontent-%COMP%]{background:rgba(255,255,255,.04);color:#fff}.mat-option.mat-option-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-primary[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ad2c2c}.mat-accent[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#216bad}.mat-warn[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ff5722}.mat-optgroup-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-optgroup-disabled[_ngcontent-%COMP%] .mat-optgroup-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-pseudo-checkbox[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-pseudo-checkbox[_ngcontent-%COMP%]::after{color:#303030}.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{color:#686868}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%], .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#216bad}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ad2c2c}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ff5722}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{background:#686868}.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-app-background[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-theme-loaded-marker[_ngcontent-%COMP%]{display:none}.mat-autocomplete-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-autocomplete-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover){background:#424242}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#fff}@media (-ms-high-contrast:active){.mat-badge-content[_ngcontent-%COMP%]{outline:solid 1px;border-radius:0}.mat-checkbox-disabled[_ngcontent-%COMP%]{opacity:.5}}.mat-badge-accent[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-badge-warn[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ff5722}.mat-badge[_ngcontent-%COMP%]{position:relative}.mat-badge-hidden[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{display:none}.mat-badge-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#6e6e6e;color:rgba(255,255,255,.5)}.mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ad2c2c;position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out;-webkit-transform:scale(.6);transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;font-weight:600;font-size:12px;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-badge-content._mat-animation-noopable[_ngcontent-%COMP%], .ng-animate-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{transition:none}.mat-badge-content.mat-badge-active[_ngcontent-%COMP%]{-webkit-transform:none;transform:none}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:16px;height:16px;line-height:16px;font-size:9px}.mat-badge-small.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-8px}.mat-badge-small.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-8px}.mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-16px}.mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-8px}.mat-badge-medium[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-11px}.mat-badge-medium.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-11px}.mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-22px}.mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-11px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:28px;height:28px;line-height:28px;font-size:24px}.mat-badge-large.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-14px}.mat-badge-large.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-14px}.mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-28px}.mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-14px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{color:inherit;background:0 0}.mat-button.mat-primary[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-button[disabled][disabled][_ngcontent-%COMP%], .mat-icon-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-icon-button[disabled][disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-stroked-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ff5722}.mat-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:transparent}.mat-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{opacity:.1;background-color:currentColor}.mat-button-focus-overlay[_ngcontent-%COMP%]{background:#fff}.mat-stroked-button[_ngcontent-%COMP%]:not([disabled]){border-color:rgba(255,255,255,.12)}.mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%]{color:#fff;background-color:#424242}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{color:#fff}.mat-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-fab[disabled][disabled][_ngcontent-%COMP%], .mat-flat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-flat-button[disabled][disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-mini-fab[disabled][disabled][_ngcontent-%COMP%], .mat-raised-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-raised-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:rgba(255,255,255,.12)}.mat-fab.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-flat-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-stroked-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-raised-button[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-button-toggle-group[_ngcontent-%COMP%], .mat-button-toggle-standalone[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%], .mat-button-toggle-standalone.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{box-shadow:none;border:1px solid rgba(255,255,255,.12)}.mat-button-toggle[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-button-toggle[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff;background:#424242}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:#fff}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12)}[dir=rtl][_ngcontent-%COMP%] .mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:none;border-top:1px solid rgba(255,255,255,.12)}.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#212121;color:rgba(255,255,255,.7)}.mat-button-toggle-checked.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff}.mat-button-toggle-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:#000}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{background:#424242}.mat-button-toggle-disabled.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#424242}.mat-card[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-card[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-card.mat-card-flat[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-card-subtitle[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-checkbox-frame[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-checkbox-checkmark[_ngcontent-%COMP%]{fill:#303030}.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#303030!important}@media (-ms-high-contrast:black-on-white){.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#000!important}}.mat-checkbox-mixedmark[_ngcontent-%COMP%]{background-color:#303030}.mat-checkbox-checked.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-checkbox-checked.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#216bad}.mat-checkbox-checked.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ff5722}.mat-checkbox-disabled.mat-checkbox-checked[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-disabled.mat-checkbox-indeterminate[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%]:not(.mat-checkbox-checked) .mat-checkbox-frame[_ngcontent-%COMP%]{border-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}@media (-ms-high-contrast:active){.mat-checkbox-background[_ngcontent-%COMP%]{background:0 0}.mat-ripple-element[_ngcontent-%COMP%]{display:none}}.mat-checkbox[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%]{background:#ad2c2c}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%]{background:#216bad}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%]{background:#ff5722}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]{background-color:#616161;color:#fff}.mat-chip.mat-standard-chip[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled) .mat-chip-remove[_ngcontent-%COMP%]:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled[_ngcontent-%COMP%]{opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]::after{background:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-table[_ngcontent-%COMP%]{background:#424242}.mat-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%], .mat-table-sticky[_ngcontent-%COMP%], [mat-footer-row][_ngcontent-%COMP%], [mat-header-row][_ngcontent-%COMP%], [mat-row][_ngcontent-%COMP%], mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%]{background:inherit}mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%], td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{border-bottom-color:rgba(255,255,255,.12)}.mat-header-cell[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{color:#fff}.mat-calendar-arrow[_ngcontent-%COMP%]{border-top-color:#fff}.mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-next-button[_ngcontent-%COMP%], .mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-previous-button[_ngcontent-%COMP%], .mat-datepicker-toggle[_ngcontent-%COMP%]{color:#fff}.mat-calendar-table-header[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-calendar-table-header-divider[_ngcontent-%COMP%]::after{background:rgba(255,255,255,.12)}.mat-calendar-body-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-calendar-body-cell-content[_ngcontent-%COMP%]{color:#fff;border-color:transparent}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){color:rgba(255,255,255,.5)}.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .cdk-program-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .mat-calendar-body-cell[_ngcontent-%COMP%]:not(.mat-calendar-body-disabled):hover > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){background-color:rgba(255,255,255,.04)}.mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.5)}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.3)}.mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.4)}.mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#424242;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.4)}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.4)}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content-touch[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-datepicker-toggle-active[_ngcontent-%COMP%]{color:#ad2c2c}.mat-datepicker-toggle-active.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-datepicker-toggle-active.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-dialog-container[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-divider[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-divider-vertical[_ngcontent-%COMP%]{border-right-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-expansion-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-action-row[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-keyboard-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-program-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]):hover{background:rgba(255,255,255,.04)}@media (hover:none){.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header[_ngcontent-%COMP%]:hover{background:#424242}}.mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:#fff}.mat-expansion-indicator[_ngcontent-%COMP%]::after, .mat-expansion-panel-header-description[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%], .mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:inherit}.mat-form-field-label[_ngcontent-%COMP%], .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-focused[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#fff}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid) .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ad2c2c}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#216bad}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#ff5722}.mat-error[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7);bottom:1.25em}.mat-form-field-appearance-legacy.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7)}.mat-form-field-appearance-standard.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.05)}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:transparent}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#fff}.mat-form-field-appearance-outline.mat-focused[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field-appearance-outline.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-appearance-outline.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.15)}.mat-icon.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-icon.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-icon.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-type-mat-native-select[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:rgba(255,255,255,.7)}.mat-form-field-type-mat-native-select.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-input-element[_ngcontent-%COMP%]:disabled{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]{caret-color:#ad2c2c}.mat-input-element[_ngcontent-%COMP%]::-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-moz-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-webkit-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]{color:rgba(0,0,0,.87)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]:disabled{color:rgba(0,0,0,.38)}.mat-accent[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#216bad}.mat-form-field-invalid[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#ff5722}.mat-form-field-type-mat-native-select.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ff5722}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%], .mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{color:#fff}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-list-item-disabled[_ngcontent-%COMP%]{background-color:#000}.mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover, .mat-list-option[_ngcontent-%COMP%]:focus, .mat-list-option[_ngcontent-%COMP%]:hover, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover{background:rgba(255,255,255,.04)}.mat-menu-panel[_ngcontent-%COMP%]{background:#424242}.mat-menu-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-menu-item[_ngcontent-%COMP%]{background:0 0;color:#fff}.mat-menu-item[disabled][_ngcontent-%COMP%], .mat-menu-item[disabled][_ngcontent-%COMP%]::after{color:rgba(255,255,255,.5)}.mat-menu-item[_ngcontent-%COMP%] .mat-icon-no-color[_ngcontent-%COMP%], .mat-menu-item-submenu-trigger[_ngcontent-%COMP%]::after{color:#fff}.mat-menu-item-highlighted[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-keyboard-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-program-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item[_ngcontent-%COMP%]:hover:not([disabled]){background:rgba(255,255,255,.04)}.mat-paginator[_ngcontent-%COMP%]{background:#424242}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-paginator-decrement[_ngcontent-%COMP%], .mat-paginator-increment[_ngcontent-%COMP%]{border-top:2px solid #fff;border-right:2px solid #fff}.mat-paginator-first[_ngcontent-%COMP%], .mat-paginator-last[_ngcontent-%COMP%]{border-top:2px solid #fff}.mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-decrement[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-first[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-increment[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-last[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-progress-bar-background[_ngcontent-%COMP%]{fill:#e6c0c0}.mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#e6c0c0}.mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ad2c2c}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#216bad}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ff5722}.mat-progress-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ad2c2c}.mat-progress-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#216bad}.mat-progress-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ff5722}.mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ad2c2c}.mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#216bad}.mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#216bad}.mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ff5722}.mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ff5722}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-label-content[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-radio-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-select-value[_ngcontent-%COMP%]{color:#fff}.mat-select-disabled[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%], .mat-select-placeholder[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-select-panel[_ngcontent-%COMP%]{background:#424242}.mat-select-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-select-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple){background:rgba(255,255,255,.12)}.mat-form-field.mat-focused.mat-primary[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#216bad}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-invalid[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-form-field.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-disabled[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-drawer-container[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-drawer[_ngcontent-%COMP%]{background-color:#424242;color:#fff}.mat-drawer.mat-drawer-push[_ngcontent-%COMP%]{background-color:#424242}.mat-drawer[_ngcontent-%COMP%]:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-drawer-side[_ngcontent-%COMP%]{border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%] .mat-drawer-side[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12);border-right:none}[dir=rtl][_ngcontent-%COMP%] .mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-backdrop.mat-drawer-shown[_ngcontent-%COMP%]{background-color:rgba(189,189,189,.6)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.54)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.54)}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.54)}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle[_ngcontent-%COMP%]:not(.mat-checked) .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-slide-toggle-thumb[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#bdbdbd}.mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#216bad}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ff5722}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.2)}.cdk-focused[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%] .mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:#fff}.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing) .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3);background-color:transparent}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-has-ticks[_ngcontent-%COMP%] .mat-slider-wrapper[_ngcontent-%COMP%]::after{border-color:rgba(255,255,255,.7)}.mat-slider-horizontal[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to right,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-slider-vertical[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to bottom,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused[_ngcontent-%COMP%], .mat-step-header.cdk-program-focused[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%]:hover{background-color:rgba(255,255,255,.04)}@media (hover:none){.mat-step-header[_ngcontent-%COMP%]:hover{background:0 0}}.mat-step-header[_ngcontent-%COMP%] .mat-step-label[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-optional[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7);color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-selected[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-edit[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-error[_ngcontent-%COMP%]{background-color:transparent;color:#ff5722}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-active[_ngcontent-%COMP%]{color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-error[_ngcontent-%COMP%]{color:#ff5722}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{background-color:#424242}.mat-stepper-vertical-line[_ngcontent-%COMP%]::before{border-left-color:rgba(255,255,255,.12)}.mat-horizontal-stepper-header[_ngcontent-%COMP%]::after, .mat-horizontal-stepper-header[_ngcontent-%COMP%]::before, .mat-stepper-horizontal-line[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-sort-header-arrow[_ngcontent-%COMP%]{color:#c6c6c6}.mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[_ngcontent-%COMP%]{border-bottom:1px solid rgba(255,255,255,.12)}.mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-nav-bar[_ngcontent-%COMP%]{border-top:1px solid rgba(255,255,255,.12);border-bottom:none}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-tab-group[class*=mat-background-][_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[class*=mat-background-][_ngcontent-%COMP%]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-toolbar[_ngcontent-%COMP%]{background:#212121;color:#fff}.mat-toolbar.mat-primary[_ngcontent-%COMP%]{background:#ad2c2c;color:#fff}.mat-toolbar.mat-accent[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-toolbar.mat-warn[_ngcontent-%COMP%]{background:#ff5722;color:#fff}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:currentColor}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%]{color:inherit}.mat-toolbar[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:currentColor}.mat-tooltip[_ngcontent-%COMP%]{background:rgba(97,97,97,.9)}.mat-tree[_ngcontent-%COMP%]{background:#424242}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{color:#fff}.mat-snack-bar-container[_ngcontent-%COMP%]{color:rgba(0,0,0,.87);background:#fafafa;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 11.62px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 9.38px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,"Helvetica Neue",sans-serif}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,"Helvetica Neue",sans-serif;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34373em) scale(.75);transform:translateY(-1.34373em) scale(.75);width:133.3333533333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34372em) scale(.75);transform:translateY(-1.34372em) scale(.75);width:133.3333633333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00106px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00106px);-ms-transform:translateY(-1.28119em) scale(.75);width:133.3333933333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00107px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00107px);-ms-transform:translateY(-1.28118em) scale(.75);width:133.3334033333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00108px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00108px);-ms-transform:translateY(-1.28117em) scale(.75);width:133.3334133333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28116em) scale(.75);transform:translateY(-1.28116em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28115em) scale(.75);transform:translateY(-1.28115em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28114em) scale(.75);transform:translateY(-1.28114em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59373em) scale(.75);transform:translateY(-.59373em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59372em) scale(.75);transform:translateY(-.59372em) scale(.75);width:133.3333633333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59373em) scale(.75);transform:translateY(-1.59373em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59372em) scale(.75);transform:translateY(-1.59372em) scale(.75);width:133.3333633333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{color:inherit;line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,-webkit-transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1),-webkit-transform 0s cubic-bezier(0,0,.2,1);-webkit-transform:scale(0);transform:scale(0)}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation-name:cdk-text-field-autofill-start;animation-name:cdk-text-field-autofill-start}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation-name:cdk-text-field-autofill-end;animation-name:cdk-text-field-autofill-end}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{height:auto!important;overflow:hidden!important;padding:2px 0!important;box-sizing:content-box!important}.packs-left[_ngcontent-%COMP%], .packs-right[_ngcontent-%COMP%]{display:block;float:left;width:100%;height:100%}.packs-right[_ngcontent-%COMP%]{width:100%}.right[_ngcontent-%COMP%]{float:right}.left[_ngcontent-%COMP%]{float:left}button.right[_ngcontent-%COMP%]{margin-left:15px}.drag-playlist[_ngcontent-%COMP%]{margin-top:-15px}.left-col[_ngcontent-%COMP%], .right-col[_ngcontent-%COMP%]{width:calc(50% - 15px);display:inline-block;height:100%;margin-left:10px;margin-right:5px;vertical-align:top}.right-col[_ngcontent-%COMP%]{margin-left:5px;margin-right:10px}.outer-container[_ngcontent-%COMP%]{height:calc(100% - 10px);overflow:hidden;margin-top:-10px;color:#fff}.collection-song[_ngcontent-%COMP%]{line-height:2rem;padding:10px;margin:0;border-bottom:1px solid #e0e0e0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;max-width:100%;position:relative;min-height:50px}.collection-song[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%]{height:65px;padding-left:72px;position:relative}.collection-song[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:16px;vertical-align:middle;display:inline-block}.collection-song[_ngcontent-%COMP%]:last-child{border-bottom:initial}.edit-main-playlist[_ngcontent-%COMP%]{margin-left:10px;font-size:24px}.pack-song-container[_ngcontent-%COMP%] .collection-song[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%]{display:none}.song-container[_ngcontent-%COMP%] .collection-song[_ngcontent-%COMP%]:last-child{border-bottom:1px solid #e0e0e0}.handle[_ngcontent-%COMP%]{touch-action:none;cursor:pointer}.packOuter[_ngcontent-%COMP%]{color:#fff;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-bottom:1px solid #fff;height:38px;padding-top:20px}.packOuter[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-left:15px}.playlistInner[_ngcontent-%COMP%]{color:#fff;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin-top:29px;margin-bottom:23px}.collection-song.avatar[_ngcontent-%COMP%] [_ngcontent-%COMP%]:not(.circle-clipper) > .circle[_ngcontent-%COMP%], .collection-song.avatar[_ngcontent-%COMP%]:not(.circle-clipper) > .circle[_ngcontent-%COMP%]{float:left;width:42px;height:42px;overflow:hidden;display:inline-block;vertical-align:middle}.main-pack-image[_ngcontent-%COMP%], .pack-image[_ngcontent-%COMP%]{width:48px;height:48px;overflow:hidden;display:block;float:left}.pack-image[_ngcontent-%COMP%]{margin-left:7px;margin-top:-15px}.main-pack-image[_ngcontent-%COMP%]{margin-top:15px;margin-right:12px}.select-song[_ngcontent-%COMP%]{margin-top:15px;margin-right:10px;color:#d3d3d3}.drag-indicator[_ngcontent-%COMP%]{font-size:2rem;line-height:3rem;vertical-align:middle}.drag-indicator.handle[_ngcontent-%COMP%]{float:left}.truncate[_ngcontent-%COMP%]{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gu-mirror[_ngcontent-%COMP%]{position:fixed!important;margin:0!important;z-index:9999!important;opacity:.8;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";filter:alpha(opacity=80)}.collection[_ngcontent-%COMP%]{color:#fff}.gu-hide[_ngcontent-%COMP%]{display:none!important}.gu-unselectable[_ngcontent-%COMP%]{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.gu-transit[_ngcontent-%COMP%]{opacity:.2;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";filter:alpha(opacity=20)}.cursor[_ngcontent-%COMP%]{cursor:pointer}.collection[_ngcontent-%COMP%] li[_ngcontent-%COMP%], .collection-song[_ngcontent-%COMP%]{list-style-type:none;color:#fff}.add-to-drag[_ngcontent-%COMP%]{width:100%;padding:1em;border:2px dashed #3f3f3f;text-align:center;box-sizing:border-box}.side-packs[_ngcontent-%COMP%]{height:100%}.side-packs-fixed[_ngcontent-%COMP%]{position:fixed;width:40%;height:100%}.delete-pack[_ngcontent-%COMP%]{display:none}.sort-songs[_ngcontent-%COMP%]{float:right}.no-margin-top[_ngcontent-%COMP%]{margin-top:0}.song-handle-backer[_ngcontent-%COMP%]{width:110px;height:calc(100% - 16px);position:absolute;left:0;top:8px;z-index:99}.pack-handle-backer[_ngcontent-%COMP%]{position:relative;width:0;height:0}.pack-handle-backer[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{width:100px;position:absolute;left:5px;top:0;margin-top:-20px;height:56px}.pack-container[_ngcontent-%COMP%], .song-container[_ngcontent-%COMP%]{height:calc(100% - 75px);overflow:auto;border:1px solid #cfcfcf;border-right:0 solid #cfcfcf!important;border-left:1px solid #cfcfcf!important;scroll-behavior:smooth}.material-icons.right.cursor[_ngcontent-%COMP%]{margin-right:3px;margin-top:-5px}.name[_ngcontent-%COMP%], .name-top[_ngcontent-%COMP%]{padding-left:1.2em!important;font-size:14px}.songpackname[_ngcontent-%COMP%]{overflow:ellipsis;white-space:nowrap;display:inline-block;max-width:calc(100% - 370px);margin-top:4px;margin-bottom:-4px}.name-top[_ngcontent-%COMP%]{padding-top:2px}.playlists-label-top[_ngcontent-%COMP%]{padding-top:10px;padding-left:5px}.playlists-label-top[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-top:-9px}.song-container[_ngcontent-%COMP%]{height:calc(100% - 75px);background:rgba(255,255,255,.36);padding-left:0;max-width:100%}.pack-container[_ngcontent-%COMP%]{background:rgba(255,255,255,.2)}.pack-container[_ngcontent-%COMP%] .collection-song.cdk-drag-placeholder[_ngcontent-%COMP%]{padding:0;margin:0;height:0!important;width:0!important;overflow:hidden;min-height:0}.pack-song-container-outer[_ngcontent-%COMP%]{border-top:1px solid #e0e0e0;height:100%;overflow-y:scroll;overflow-x:hidden}.pack-container[_ngcontent-%COMP%] > li.collection-song[_ngcontent-%COMP%], div.collection-song[_ngcontent-%COMP%], div.packOuter[_ngcontent-%COMP%]{-webkit-transform:none!important;transform:none!important}.add-to-pack[_ngcontent-%COMP%]{padding:1em;width:100%;border:3px dashed #a9a9a9;text-align:center}.show-pack[_ngcontent-%COMP%]{margin-right:.5em}.pack-song-container[_ngcontent-%COMP%]{padding-left:10px;padding-right:10px;background:rgba(255,255,255,.2);height:calc(100% - 76px);scroll-behavior:smooth}.pack-song-container.cdk-drop-list-dragging[_ngcontent-%COMP%] .example-box[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1),-webkit-transform 250ms cubic-bezier(0,0,.2,1)}.pack-song-container-outer[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{-webkit-margin-before:0;margin-block-start:0}.song-sort[_ngcontent-%COMP%]{margin-top:15px;margin-right:20px;vertical-align:middle}.song-sort[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{padding-left:15px}.hide-this[_ngcontent-%COMP%]{padding:0;margin:0;border:0 solid #fff;height:0}.description[_ngcontent-%COMP%]{margin-top:-10px;font-size:.8rem;font-style:italic;margin-bottom:0}.playlist-check[_ngcontent-%COMP%]{-webkit-animation:.4s bigEntry;animation:.4s bigEntry}@-webkit-keyframes bigEntry{0%{-webkit-transform:scale(.2);transform:scale(.2);text-shadow:1px 1px 5px #ad2c2c,-1px 1px 5px #ad2c2c,1px -1px 5px #ad2c2c,-1px -1px 5px #ad2c2c}50%{-webkit-transform:scale(1.5);transform:scale(1.5);text-shadow:3px 3px 10px #ad2c2c,-3px 3px 10px #ad2c2c,3px -3px 10px #ad2c2c,-3px -3px 10px #ad2c2c}100%{-webkit-transform:scale(1);transform:scale(1);text-shadow:5px 5px 15px rgba(173,44,44,0),-5px 5px 15px rgba(173,44,44,0),5px -5px 15px rgba(173,44,44,0),-5px -5px 15px rgba(173,44,44,0)}}@keyframes bigEntry{0%{-webkit-transform:scale(.2);transform:scale(.2);text-shadow:1px 1px 5px #ad2c2c,-1px 1px 5px #ad2c2c,1px -1px 5px #ad2c2c,-1px -1px 5px #ad2c2c}50%{-webkit-transform:scale(1.5);transform:scale(1.5);text-shadow:3px 3px 10px #ad2c2c,-3px 3px 10px #ad2c2c,3px -3px 10px #ad2c2c,-3px -3px 10px #ad2c2c}100%{-webkit-transform:scale(1);transform:scale(1);text-shadow:5px 5px 15px rgba(173,44,44,0),-5px 5px 15px rgba(173,44,44,0),5px -5px 15px rgba(173,44,44,0),-5px -5px 15px rgba(173,44,44,0)}}' + ] + ], + data: { + animation: [ + { + type: 7, + name: "winkout", + definitions: [ + { + type: 1, + expr: ":leave", + animation: [ + { + type: 6, + styles: { transform: "scale(1)" }, + offset: null + }, + { + type: 4, + styles: { + type: 6, + styles: { transform: "scale(0)" }, + offset: null + }, + timings: "0.1s" + } + ], + options: null + } + ], + options: {} + } + ] + } + }); + function tk(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 16777216, + null, + null, + 3, + "i", + [ + ["class", "material-icons right cursor playlist-check"], + ["fast-click", ""], + ["matTooltip", "Copy Selected Songs into this pack"], + ["matTooltipPosition", "below"] + ], + [[24, "@winkout", 0]], + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "longpress" === n && (o = !1 !== wa(t, 1).show() && o), + "keydown" === n && + (o = !1 !== wa(t, 1)._handleKeydown(e) && o), + "touchend" === n && + (o = !1 !== wa(t, 1)._handleTouchend() && o), + "click" === n && + (a.addSelected(t.parent.context.$implicit), + (o = !1 !== e.stopPropagation() && o)), + o + ); + }, + null, + null + )), + Ba( + 1, + 212992, + null, + 0, + sP, + [$C, Ne, OC, so, Dr, ff, Ff, Gf, rP, [2, rf], [2, lP], [2, td]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Ba(2, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, null, ["done_all"])), + (t()(), hi(0, null, null, 0)) + ], + function(t, n) { + t(n, 1, 0, "below", "Copy Selected Songs into this pack"); + }, + function(t, n) { + t(n, 0, 0, void 0); + } + ); + } + function nk(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 16777216, + null, + null, + 28, + "div", + [["cdkDrag", ""], ["class", "packOuter cdk-drag"]], + [ + [1, "data-playlist_id", 0], + [2, "cdk-drag-disabled", null], + [2, "cdk-drag-dragging", null] + ], + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && + (o = + !1 !== + (t.component.selectedPlaylist = t.context.$implicit) && + o), + o + ); + }, + null, + null + )), + Ba( + 1, + 4866048, + [[10, 4]], + 3, + LP, + [Ne, [3, RP], Ds, Dr, so, zP, [2, rf], TP, no], + { data: [0, "data"] }, + null + ), + Oi(603979776, 11, { _handles: 1 }), + Oi(603979776, 12, { _previewTemplate: 0 }), + Oi(603979776, 13, { _placeholderTemplate: 0 }), + Ha(2048, null, DP, null, [LP]), + (t()(), + bi( + 6, + 0, + null, + null, + 2, + "div", + [ + ["cdkDragHandle", ""], + ["class", "pack-handle-backer cdk-drag-handle"] + ], + null, + null, + null, + null, + null + )), + Ba(7, 147456, [[11, 4]], 0, NP, [Ne, [2, DP]], null, null), + (t()(), + bi( + 8, + 0, + null, + null, + 0, + "div", + [["class", "handle pack-handle-backer"]], + null, + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && + ((t.component.selectedPlaylist = t.context.$implicit), + (o = !1 !== e.stopPropagation() && o)), + o + ); + }, + null, + null + )), + (t()(), + bi( + 9, + 16777216, + null, + null, + 3, + "i", + [ + ["class", "material-icons cursor orange-text right"], + ["fast-click", ""], + ["matTooltip", "Remove playlist"], + ["matTooltipPosition", "below"] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "longpress" === n && (o = !1 !== wa(t, 10).show() && o), + "keydown" === n && + (o = !1 !== wa(t, 10)._handleKeydown(e) && o), + "touchend" === n && + (o = !1 !== wa(t, 10)._handleTouchend() && o), + "click" === n && + (a.deletePlaylist(t.context.$implicit), + (o = !1 !== e.stopPropagation() && o)), + o + ); + }, + null, + null + )), + Ba( + 10, + 212992, + null, + 0, + sP, + [$C, Ne, OC, so, Dr, ff, Ff, Gf, rP, [2, rf], [2, lP], [2, td]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Ba(11, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, null, ["close"])), + (t()(), + bi( + 13, + 16777216, + null, + null, + 3, + "i", + [ + ["class", "material-icons right cursor"], + ["fast-click", ""], + ["matTooltip", "Edit Playlist"], + ["matTooltipPosition", "below"] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "longpress" === n && (o = !1 !== wa(t, 14).show() && o), + "keydown" === n && + (o = !1 !== wa(t, 14)._handleKeydown(e) && o), + "touchend" === n && + (o = !1 !== wa(t, 14)._handleTouchend() && o), + "click" === n && + (a.addEditPlaylist(t.context.$implicit), + (o = !1 !== e.stopPropagation() && o)), + o + ); + }, + null, + null + )), + Ba( + 14, + 212992, + null, + 0, + sP, + [$C, Ne, OC, so, Dr, ff, Ff, Gf, rP, [2, rf], [2, lP], [2, td]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Ba(15, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, null, ["edit"])), + (t()(), hi(16777216, null, null, 1, null, tk)), + Ba(18, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), + bi( + 19, + 0, + null, + null, + 0, + "img", + [["class", "pack-image handle"]], + [[8, "src", 4]], + null, + null, + null, + null + )), + (t()(), + bi( + 20, + 16777216, + null, + null, + 2, + "i", + [ + [ + "class", + "material-icons cursor grey-text drag-indicator left drag-playlist handle" + ], + ["matTooltip", "Drag this playlist to re-order"], + ["matTooltipPosition", "below"] + ], + null, + [[null, "longpress"], [null, "keydown"], [null, "touchend"]], + function(t, n, e) { + var o = !0; + return ( + "longpress" === n && (o = !1 !== wa(t, 21).show() && o), + "keydown" === n && + (o = !1 !== wa(t, 21)._handleKeydown(e) && o), + "touchend" === n && + (o = !1 !== wa(t, 21)._handleTouchend() && o), + o + ); + }, + null, + null + )), + Ba( + 21, + 212992, + null, + 0, + sP, + [$C, Ne, OC, so, Dr, ff, Ff, Gf, rP, [2, rf], [2, lP], [2, td]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + (t()(), Ai(-1, null, ["more_vert"])), + (t()(), + bi( + 23, + 16777216, + null, + null, + 3, + "i", + [ + ["class", "material-icons right show-pack cursor"], + ["fast-click", ""], + ["matTooltip", "Open this playlist"], + ["matTooltipPosition", "below"] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "longpress" === n && (o = !1 !== wa(t, 24).show() && o), + "keydown" === n && + (o = !1 !== wa(t, 24)._handleKeydown(e) && o), + "touchend" === n && + (o = !1 !== wa(t, 24)._handleTouchend() && o), + "click" === n && + ((a.selectedPlaylist = t.context.$implicit), + (o = !1 !== e.stopPropagation() && o)), + o + ); + }, + null, + null + )), + Ba( + 24, + 212992, + null, + 0, + sP, + [$C, Ne, OC, so, Dr, ff, Ff, Gf, rP, [2, rf], [2, lP], [2, td]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Ba(25, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, null, [" navigate_next "])), + (t()(), + bi( + 27, + 0, + null, + null, + 1, + "div", + [["class", "cursor name truncate"]], + null, + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && + ((t.component.selectedPlaylist = t.context.$implicit), + (o = !1 !== e.stopPropagation() && o)), + o + ); + }, + null, + null + )), + (t()(), Ai(28, null, ["", ""])), + (t()(), hi(0, null, null, 0)) + ], + function(t, n) { + var e = n.component; + t(n, 1, 0, n.context.$implicit), + t(n, 10, 0, "below", "Remove playlist"), + t(n, 14, 0, "below", "Edit Playlist"), + t(n, 18, 0, e.hasSelected()), + t(n, 21, 0, "below", "Drag this playlist to re-order"), + t(n, 24, 0, "below", "Open this playlist"); + }, + function(t, n) { + var e = n.component; + t( + n, + 0, + 0, + n.context.$implicit.PlaylistID, + wa(n, 1).disabled, + wa(n, 1)._dragRef.isDragging() + ), + t( + n, + 19, + 0, + na( + 1, + "", + e.getPackBackground(n.context.$implicit.PlaylistID), + "" + ) + ), + t(n, 28, 0, n.context.$implicit.PlaylistName); + } + ); + } + function ek(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 67, + "div", + [["class", "left-col"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 1, + 0, + null, + null, + 66, + "div", + [["class", "packs-left side-packs"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 2, + 0, + null, + null, + 53, + "h4", + [["class", "playlists-label-top"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 3, + 16777216, + null, + null, + 6, + "button", + [ + ["class", "right"], + ["color", "primary"], + ["fast-click", ""], + ["mat-flat-button", ""], + ["matTooltip", "Add playlist"], + ["matTooltipPosition", "below"] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "longpress" === n && (o = !1 !== wa(t, 5).show() && o), + "keydown" === n && + (o = !1 !== wa(t, 5)._handleKeydown(e) && o), + "touchend" === n && + (o = !1 !== wa(t, 5)._handleTouchend() && o), + "click" === n && (o = !1 !== a.addEditPlaylist() && o), + o + ); + }, + ky, + xy + )), + Ba( + 4, + 180224, + null, + 0, + Zh, + [Ne, Gf, [2, Py]], + { color: [0, "color"] }, + null + ), + Ba( + 5, + 212992, + null, + 0, + sP, + [$C, Ne, OC, so, Dr, ff, Ff, Gf, rP, [2, rf], [2, lP], [2, td]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Ba(6, 16384, null, 0, wy, [Ne], null, null), + (t()(), + bi( + 7, + 0, + null, + 0, + 2, + "mat-icon", + [["class", "mat-icon notranslate"], ["role", "img"]], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + Yh, + Kh + )), + Ba( + 8, + 9158656, + null, + 0, + Uh, + [Ne, Nh, [8, null], [2, Fh]], + null, + null + ), + (t()(), Ai(-1, 0, ["playlist_add"])), + (t()(), + bi( + 10, + 16777216, + null, + null, + 7, + "button", + [ + ["aria-haspopup", "true"], + ["class", "right"], + ["color", "accent"], + ["fast-click", ""], + ["mat-button", ""], + ["mat-raised-button", ""], + ["matTooltip", "Auto Sort into Playlists"] + ], + [ + [1, "disabled", 0], + [2, "_mat-animation-noopable", null], + [1, "aria-expanded", 0] + ], + [ + [null, "mousedown"], + [null, "keydown"], + [null, "click"], + [null, "longpress"], + [null, "touchend"] + ], + function(t, n, e) { + var o = !0; + return ( + "mousedown" === n && + (o = !1 !== wa(t, 12)._handleMousedown(e) && o), + "keydown" === n && + (o = !1 !== wa(t, 12)._handleKeydown(e) && o), + "click" === n && (o = !1 !== wa(t, 12)._handleClick(e) && o), + "longpress" === n && (o = !1 !== wa(t, 13).show() && o), + "keydown" === n && + (o = !1 !== wa(t, 13)._handleKeydown(e) && o), + "touchend" === n && + (o = !1 !== wa(t, 13)._handleTouchend() && o), + o + ); + }, + ky, + xy + )), + Ba( + 11, + 180224, + null, + 0, + Zh, + [Ne, Gf, [2, Py]], + { color: [0, "color"] }, + null + ), + Ba( + 12, + 1196032, + null, + 0, + nM, + [$C, Ne, so, JP, [2, QP], [8, null], [2, rf], Gf], + { menu: [0, "menu"] }, + null + ), + Ba( + 13, + 212992, + null, + 0, + sP, + [$C, Ne, OC, so, Dr, ff, Ff, Gf, rP, [2, rf], [2, lP], [2, td]], + { message: [0, "message"] }, + null + ), + Ba(14, 16384, null, 0, wy, [Ne], null, null), + (t()(), + bi( + 15, + 0, + null, + 0, + 2, + "mat-icon", + [["class", "mat-icon notranslate"], ["role", "img"]], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + Yh, + Kh + )), + Ba( + 16, + 9158656, + null, + 0, + Uh, + [Ne, Nh, [8, null], [2, Fh]], + null, + null + ), + (t()(), Ai(-1, 0, ["sort"])), + (t()(), + bi( + 18, + 0, + null, + null, + 14, + "mat-menu", + [], + null, + null, + null, + iM, + aM + )), + Ba(19, 1294336, [["menu", 4]], 2, XP, [Ne, Dr, ZP], null, null), + Oi(603979776, 6, { items: 1 }), + Oi(603979776, 7, { lazyContent: 0 }), + Ha(2048, null, QP, null, [XP]), + Ha(2048, null, WP, null, [QP]), + (t()(), + bi( + 24, + 16777216, + null, + 0, + 4, + "button", + [ + ["aria-haspopup", "true"], + ["class", "mat-menu-item"], + ["fast-click", ""], + ["mat-menu-item", ""] + ], + [ + [1, "role", 0], + [2, "mat-menu-item-highlighted", null], + [2, "mat-menu-item-submenu-trigger", null], + [1, "tabindex", 0], + [1, "aria-disabled", 0], + [1, "disabled", 0], + [1, "aria-expanded", 0] + ], + [ + [null, "click"], + [null, "mouseenter"], + [null, "mousedown"], + [null, "keydown"] + ], + function(t, n, e) { + var o = !0; + return ( + "click" === n && + (o = !1 !== wa(t, 25)._checkDisabled(e) && o), + "mouseenter" === n && + (o = !1 !== wa(t, 25)._handleMouseEnter() && o), + "mousedown" === n && + (o = !1 !== wa(t, 26)._handleMousedown(e) && o), + "keydown" === n && + (o = !1 !== wa(t, 26)._handleKeydown(e) && o), + "click" === n && (o = !1 !== wa(t, 26)._handleClick(e) && o), + o + ); + }, + sM, + lM + )), + Ba(25, 180224, [[6, 4]], 0, GP, [Ne, Ds, Gf, [2, WP]], null, null), + Ba( + 26, + 1196032, + null, + 0, + nM, + [$C, Ne, so, JP, [2, QP], [6, GP], [2, rf], Gf], + { menu: [0, "menu"] }, + null + ), + Ba(27, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, 0, ["Sort into New Playlists by Name"])), + (t()(), + bi( + 29, + 0, + null, + 0, + 3, + "button", + [ + ["class", "mat-menu-item"], + ["fast-click", ""], + ["mat-menu-item", ""] + ], + [ + [1, "role", 0], + [2, "mat-menu-item-highlighted", null], + [2, "mat-menu-item-submenu-trigger", null], + [1, "tabindex", 0], + [1, "aria-disabled", 0], + [1, "disabled", 0] + ], + [[null, "click"], [null, "mouseenter"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "click" === n && + (o = !1 !== wa(t, 30)._checkDisabled(e) && o), + "mouseenter" === n && + (o = !1 !== wa(t, 30)._handleMouseEnter() && o), + "click" === n && (o = !1 !== a.autoSortDifficulty() && o), + o + ); + }, + sM, + lM + )), + Ba(30, 180224, [[6, 4]], 0, GP, [Ne, Ds, Gf, [2, WP]], null, null), + Ba(31, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, 0, ["Sort into New Playlists by Difficulty"])), + (t()(), + bi( + 33, + 0, + null, + null, + 21, + "mat-menu", + [], + null, + null, + null, + iM, + aM + )), + Ba( + 34, + 1294336, + [["subMenuNameCount", 4]], + 2, + XP, + [Ne, Dr, ZP], + null, + null + ), + Oi(603979776, 8, { items: 1 }), + Oi(603979776, 9, { lazyContent: 0 }), + Ha(2048, null, QP, null, [XP]), + Ha(2048, null, WP, null, [QP]), + (t()(), + bi( + 39, + 0, + null, + 0, + 3, + "button", + [ + ["class", "mat-menu-item"], + ["fast-click", ""], + ["mat-menu-item", ""] + ], + [ + [1, "role", 0], + [2, "mat-menu-item-highlighted", null], + [2, "mat-menu-item-submenu-trigger", null], + [1, "tabindex", 0], + [1, "aria-disabled", 0], + [1, "disabled", 0] + ], + [[null, "click"], [null, "mouseenter"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "click" === n && + (o = !1 !== wa(t, 40)._checkDisabled(e) && o), + "mouseenter" === n && + (o = !1 !== wa(t, 40)._handleMouseEnter() && o), + "click" === n && (o = !1 !== a.autoSortName(10) && o), + o + ); + }, + sM, + lM + )), + Ba(40, 180224, [[8, 4]], 0, GP, [Ne, Ds, Gf, [2, WP]], null, null), + Ba(41, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, 0, ["10 Per Playlist"])), + (t()(), + bi( + 43, + 0, + null, + 0, + 3, + "button", + [ + ["class", "mat-menu-item"], + ["fast-click", ""], + ["mat-menu-item", ""] + ], + [ + [1, "role", 0], + [2, "mat-menu-item-highlighted", null], + [2, "mat-menu-item-submenu-trigger", null], + [1, "tabindex", 0], + [1, "aria-disabled", 0], + [1, "disabled", 0] + ], + [[null, "click"], [null, "mouseenter"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "click" === n && + (o = !1 !== wa(t, 44)._checkDisabled(e) && o), + "mouseenter" === n && + (o = !1 !== wa(t, 44)._handleMouseEnter() && o), + "click" === n && (o = !1 !== a.autoSortName(20) && o), + o + ); + }, + sM, + lM + )), + Ba(44, 180224, [[8, 4]], 0, GP, [Ne, Ds, Gf, [2, WP]], null, null), + Ba(45, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, 0, ["20 Per Playlist"])), + (t()(), + bi( + 47, + 0, + null, + 0, + 3, + "button", + [ + ["class", "mat-menu-item"], + ["fast-click", ""], + ["mat-menu-item", ""] + ], + [ + [1, "role", 0], + [2, "mat-menu-item-highlighted", null], + [2, "mat-menu-item-submenu-trigger", null], + [1, "tabindex", 0], + [1, "aria-disabled", 0], + [1, "disabled", 0] + ], + [[null, "click"], [null, "mouseenter"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "click" === n && + (o = !1 !== wa(t, 48)._checkDisabled(e) && o), + "mouseenter" === n && + (o = !1 !== wa(t, 48)._handleMouseEnter() && o), + "click" === n && (o = !1 !== a.autoSortName(50) && o), + o + ); + }, + sM, + lM + )), + Ba(48, 180224, [[8, 4]], 0, GP, [Ne, Ds, Gf, [2, WP]], null, null), + Ba(49, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, 0, ["50 Per Playlist"])), + (t()(), + bi( + 51, + 0, + null, + 0, + 3, + "button", + [ + ["class", "mat-menu-item"], + ["fast-click", ""], + ["mat-menu-item", ""] + ], + [ + [1, "role", 0], + [2, "mat-menu-item-highlighted", null], + [2, "mat-menu-item-submenu-trigger", null], + [1, "tabindex", 0], + [1, "aria-disabled", 0], + [1, "disabled", 0] + ], + [[null, "click"], [null, "mouseenter"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "click" === n && + (o = !1 !== wa(t, 52)._checkDisabled(e) && o), + "mouseenter" === n && + (o = !1 !== wa(t, 52)._handleMouseEnter() && o), + "click" === n && (o = !1 !== a.autoSortName(100) && o), + o + ); + }, + sM, + lM + )), + Ba(52, 180224, [[8, 4]], 0, GP, [Ne, Ds, Gf, [2, WP]], null, null), + Ba(53, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, 0, ["100 Per Playlist"])), + (t()(), Ai(-1, null, [" My Playlists "])), + (t()(), + bi( + 56, + 0, + [[3, 0], ["pack_container", 1]], + null, + 11, + "div", + [["cdkDropList", ""], ["class", "pack-container cdk-drop-list"]], + [ + [8, "id", 0], + [2, "cdk-drop-list-disabled", null], + [2, "cdk-drop-list-dragging", null], + [2, "cdk-drop-list-receiving", null] + ], + [[null, "cdkDropListDropped"]], + function(t, n, e) { + var o = !0; + return ( + "cdkDropListDropped" === n && + (o = !1 !== t.component.drop(e) && o), + o + ); + }, + null, + null + )), + Ha(6144, null, RP, null, [VP]), + Ha(512, null, gs, fs, [$e, to, Ne, Be]), + Ba( + 59, + 278528, + null, + 0, + hs, + [gs], + { klass: [0, "klass"], ngClass: [1, "ngClass"] }, + null + ), + Ei(60, { "hide-scroll-bar": 0 }), + Ba( + 61, + 933888, + null, + 0, + uM, + [Ne, uO, gO, $e, to, Be, [6, hs]], + { ngClass: [0, "ngClass"], klass: [1, "klass"] }, + null + ), + Ei(62, { "hide-scroll-bar": 0 }), + Ba( + 63, + 1196032, + null, + 1, + VP, + [Ne, TP, no, [2, rf], [3, FP]], + { data: [0, "data"] }, + { dropped: "cdkDropListDropped" } + ), + Oi(603979776, 10, { _draggables: 1 }), + Ha(256, null, FP, void 0, []), + (t()(), hi(16777216, null, null, 1, null, nk)), + Ba( + 67, + 278528, + null, + 0, + _s, + [so, io, $e], + { ngForOf: [0, "ngForOf"] }, + null + ) + ], + function(t, n) { + var e = n.component; + t(n, 4, 0, "primary"), + t(n, 5, 0, "below", "Add playlist"), + t(n, 8, 0), + t(n, 11, 0, "accent"), + t(n, 12, 0, wa(n, 19)), + t(n, 13, 0, "Auto Sort into Playlists"), + t(n, 16, 0), + t(n, 19, 0), + t(n, 26, 0, wa(n, 34)), + t(n, 34, 0); + var o = t(n, 60, 0, e.integrationService.isAppLoaded()); + t(n, 59, 0, "pack-container", o); + var a = t(n, 62, 0, e.integrationService.isAppLoaded()); + t(n, 61, 0, a, "pack-container"), + t(n, 63, 0, e.packs), + t(n, 67, 0, e.packs); + }, + function(t, n) { + t( + n, + 3, + 0, + wa(n, 4).disabled || null, + "NoopAnimations" === wa(n, 4)._animationMode + ), + t( + n, + 7, + 0, + wa(n, 8).inline, + "primary" !== wa(n, 8).color && + "accent" !== wa(n, 8).color && + "warn" !== wa(n, 8).color + ), + t( + n, + 10, + 0, + wa(n, 11).disabled || null, + "NoopAnimations" === wa(n, 11)._animationMode, + wa(n, 12).menuOpen || null + ), + t( + n, + 15, + 0, + wa(n, 16).inline, + "primary" !== wa(n, 16).color && + "accent" !== wa(n, 16).color && + "warn" !== wa(n, 16).color + ), + t( + n, + 24, + 0, + wa(n, 25).role, + wa(n, 25)._highlighted, + wa(n, 25)._triggersSubmenu, + wa(n, 25)._getTabIndex(), + wa(n, 25).disabled.toString(), + wa(n, 25).disabled || null, + wa(n, 26).menuOpen || null + ), + t( + n, + 29, + 0, + wa(n, 30).role, + wa(n, 30)._highlighted, + wa(n, 30)._triggersSubmenu, + wa(n, 30)._getTabIndex(), + wa(n, 30).disabled.toString(), + wa(n, 30).disabled || null + ), + t( + n, + 39, + 0, + wa(n, 40).role, + wa(n, 40)._highlighted, + wa(n, 40)._triggersSubmenu, + wa(n, 40)._getTabIndex(), + wa(n, 40).disabled.toString(), + wa(n, 40).disabled || null + ), + t( + n, + 43, + 0, + wa(n, 44).role, + wa(n, 44)._highlighted, + wa(n, 44)._triggersSubmenu, + wa(n, 44)._getTabIndex(), + wa(n, 44).disabled.toString(), + wa(n, 44).disabled || null + ), + t( + n, + 47, + 0, + wa(n, 48).role, + wa(n, 48)._highlighted, + wa(n, 48)._triggersSubmenu, + wa(n, 48)._getTabIndex(), + wa(n, 48).disabled.toString(), + wa(n, 48).disabled || null + ), + t( + n, + 51, + 0, + wa(n, 52).role, + wa(n, 52)._highlighted, + wa(n, 52)._triggersSubmenu, + wa(n, 52)._getTabIndex(), + wa(n, 52).disabled.toString(), + wa(n, 52).disabled || null + ), + t( + n, + 56, + 0, + wa(n, 63).id, + wa(n, 63).disabled, + wa(n, 63)._dropListRef.isDragging(), + wa(n, 63)._dropListRef.isReceiving() + ); + } + ); + } + function ok(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 16777216, + null, + null, + 3, + "i", + [ + ["class", "material-icons right cursor playlist-check"], + ["fast-click", ""], + ["matTooltip", "Copy Selected Songs into this pack"], + ["matTooltipPosition", "below"] + ], + [[24, "@winkout", 0]], + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "longpress" === n && (o = !1 !== wa(t, 1).show() && o), + "keydown" === n && + (o = !1 !== wa(t, 1)._handleKeydown(e) && o), + "touchend" === n && + (o = !1 !== wa(t, 1)._handleTouchend() && o), + "click" === n && + (o = !1 !== a.addSelected(a.selectedPlaylist) && o), + o + ); + }, + null, + null + )), + Ba( + 1, + 212992, + null, + 0, + sP, + [$C, Ne, OC, so, Dr, ff, Ff, Gf, rP, [2, rf], [2, lP], [2, td]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Ba(2, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, null, ["done_all"])), + (t()(), hi(0, null, null, 0)) + ], + function(t, n) { + t(n, 1, 0, "below", "Copy Selected Songs into this pack"); + }, + function(t, n) { + t(n, 0, 0, void 0); + } + ); + } + function ak(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 16777216, + null, + null, + 29, + "li", + [["cdkDrag", ""], ["class", "collection-song avatar cdk-drag"]], + [ + [1, "data-song_id", 0], + [2, "cdk-drag-disabled", null], + [2, "cdk-drag-dragging", null] + ], + [[null, "cdkDragMoved"]], + function(t, n, e) { + var o = !0; + return ( + "cdkDragMoved" === n && + (o = !1 !== t.component.dragMove(e) && o), + o + ); + }, + null, + null + )), + Ba( + 1, + 4866048, + [[14, 4]], + 3, + LP, + [Ne, [3, RP], Ds, Dr, so, zP, [2, rf], TP, no], + { data: [0, "data"] }, + { moved: "cdkDragMoved" } + ), + Oi(603979776, 15, { _handles: 1 }), + Oi(603979776, 16, { _previewTemplate: 0 }), + Oi(603979776, 17, { _placeholderTemplate: 0 }), + Ha(2048, null, DP, null, [LP]), + (t()(), + bi( + 6, + 0, + null, + null, + 1, + "div", + [ + ["cdkDragHandle", ""], + ["class", "handle song-handle-backer cdk-drag-handle"] + ], + null, + null, + null, + null, + null + )), + Ba(7, 147456, [[15, 4]], 0, NP, [Ne, [2, DP]], null, null), + (t()(), + bi( + 8, + 16777216, + null, + null, + 3, + "i", + [ + [ + "class", + "material-icons cursor orange-text drag-indicator right" + ], + ["fast-click", ""], + ["matTooltip", "Remove song from playlist"], + ["matTooltipPosition", "below"] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "longpress" === n && (o = !1 !== wa(t, 9).show() && o), + "keydown" === n && + (o = !1 !== wa(t, 9)._handleKeydown(e) && o), + "touchend" === n && + (o = !1 !== wa(t, 9)._handleTouchend() && o), + "click" === n && + (o = + !1 !== + a.removeSongFromPack( + t.context.$implicit, + a.selectedPlaylist + ) && o), + o + ); + }, + null, + null + )), + Ba( + 9, + 212992, + null, + 0, + sP, + [$C, Ne, OC, so, Dr, ff, Ff, Gf, rP, [2, rf], [2, lP], [2, td]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Ba(10, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, null, ["close"])), + (t()(), + bi( + 12, + 0, + null, + null, + 0, + "img", + [["alt", ""], ["class", "circle red handle"]], + [[8, "src", 4]], + null, + null, + null, + null + )), + (t()(), + bi( + 13, + 16777216, + null, + null, + 2, + "i", + [ + [ + "class", + "material-icons cursor grey-text drag-indicator handle" + ], + ["matTooltip", "Drag this song to reorder"], + ["matTooltipPosition", "below"] + ], + null, + [[null, "longpress"], [null, "keydown"], [null, "touchend"]], + function(t, n, e) { + var o = !0; + return ( + "longpress" === n && (o = !1 !== wa(t, 14).show() && o), + "keydown" === n && + (o = !1 !== wa(t, 14)._handleKeydown(e) && o), + "touchend" === n && + (o = !1 !== wa(t, 14)._handleTouchend() && o), + o + ); + }, + null, + null + )), + Ba( + 14, + 212992, + null, + 0, + sP, + [$C, Ne, OC, so, Dr, ff, Ff, Gf, rP, [2, rf], [2, lP], [2, td]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + (t()(), Ai(-1, null, ["more_vert"])), + (t()(), + bi( + 16, + 0, + null, + null, + 6, + "span", + [["class", "title truncate"]], + null, + null, + null, + null, + null + )), + Ha(512, null, ks, ws, [Ne, to, Be]), + Ba( + 18, + 278528, + null, + 0, + Ss, + [ks], + { ngStyle: [0, "ngStyle"] }, + null + ), + Ei(19, { width: 0 }), + Ba( + 20, + 933888, + null, + 0, + hM, + [Ne, uO, gO, to, Be, id, [6, Ss], [2, jv], fr], + { ngStyle: [0, "ngStyle"] }, + null + ), + Ei(21, { width: 0 }), + (t()(), Ai(22, null, ["", ""])), + (t()(), + bi( + 23, + 0, + null, + null, + 6, + "p", + [["class", "description truncate"]], + null, + null, + null, + null, + null + )), + Ha(512, null, ks, ws, [Ne, to, Be]), + Ba( + 25, + 278528, + null, + 0, + Ss, + [ks], + { ngStyle: [0, "ngStyle"] }, + null + ), + Ei(26, { width: 0 }), + Ba( + 27, + 933888, + null, + 0, + hM, + [Ne, uO, gO, to, Be, id, [6, Ss], [2, jv], fr], + { ngStyle: [0, "ngStyle"] }, + null + ), + Ei(28, { width: 0 }), + (t()(), Ai(29, null, ["", "", "", ""])), + (t()(), hi(0, null, null, 0)) + ], + function(t, n) { + var e = n.component; + t(n, 1, 0, n.context.$implicit), + t(n, 9, 0, "below", "Remove song from playlist"), + t(n, 14, 0, "below", "Drag this song to reorder"); + var o = t( + n, + 19, + 0, + e.checkboxChecked ? "calc(100% - 250px)" : "calc(100% - 150px)" + ); + t(n, 18, 0, o); + var a = t( + n, + 21, + 0, + e.checkboxChecked ? "calc(100% - 250px)" : "calc(100% - 150px)" + ); + t(n, 20, 0, a); + var r = t( + n, + 26, + 0, + e.checkboxChecked ? "calc(100% - 250px)" : "calc(100% - 150px)" + ); + t(n, 25, 0, r); + var i = t( + n, + 28, + 0, + e.checkboxChecked ? "calc(100% - 250px)" : "calc(100% - 150px)" + ); + t(n, 27, 0, i); + }, + function(t, n) { + var e = n.component; + t( + n, + 0, + 0, + n.context.$implicit.SongID, + wa(n, 1).disabled, + wa(n, 1)._dragRef.isDragging() + ), + t( + n, + 12, + 0, + na(1, "", e.getBackground(n.context.$implicit.SongID), "") + ), + t(n, 22, 0, n.context.$implicit.SongName), + t( + n, + 29, + 0, + n.context.$implicit.LevelAuthorName + ? "Level Author: " + n.context.$implicit.LevelAuthorName + : "", + n.context.$implicit.SongAuthorName + ? " - Song Author: " + n.context.$implicit.SongAuthorName + : "", + n.context.$implicit.SongName + ? " - " + n.context.$implicit.SongName + : "" + ); + } + ); + } + function rk(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 44, + "div", + [["class", "left-col"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 1, + 0, + null, + null, + 28, + "div", + [["class", "playlistInner"]], + [[1, "data-playlist_id", 0]], + null, + null, + null, + null + )), + (t()(), + bi( + 2, + 0, + null, + null, + 2, + "div", + [ + ["cdkDragHandle", ""], + ["class", "pack-handle-backer cdk-drag-handle"] + ], + null, + null, + null, + null, + null + )), + Ba(3, 147456, null, 0, NP, [Ne, [2, DP]], null, null), + (t()(), + bi( + 4, + 0, + null, + null, + 0, + "div", + [["class", "handle pack-handle-backer"]], + null, + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && + (o = !1 !== (t.component.selectedPlaylist = null) && o), + o + ); + }, + null, + null + )), + (t()(), + bi( + 5, + 16777216, + null, + null, + 3, + "i", + [ + ["class", "material-icons show-pack cursor left"], + ["fast-click", ""], + ["matTooltip", "Back to playlists"], + ["matTooltipPosition", "below"] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "longpress" === n && (o = !1 !== wa(t, 6).show() && o), + "keydown" === n && + (o = !1 !== wa(t, 6)._handleKeydown(e) && o), + "touchend" === n && + (o = !1 !== wa(t, 6)._handleTouchend() && o), + "click" === n && + (o = !1 !== (a.selectedPlaylist = null) && o), + o + ); + }, + null, + null + )), + Ba( + 6, + 212992, + null, + 0, + sP, + [$C, Ne, OC, so, Dr, ff, Ff, Gf, rP, [2, rf], [2, lP], [2, td]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Ba(7, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, null, [" navigate_before "])), + (t()(), + bi( + 9, + 16777216, + null, + null, + 3, + "i", + [ + ["class", "material-icons right cursor"], + ["fast-click", ""], + ["matTooltip", "Sort By Difficulty"], + ["matTooltipPosition", "below"] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "longpress" === n && (o = !1 !== wa(t, 10).show() && o), + "keydown" === n && + (o = !1 !== wa(t, 10)._handleKeydown(e) && o), + "touchend" === n && + (o = !1 !== wa(t, 10)._handleTouchend() && o), + "click" === n && + (o = + !1 !== a.sortDifficulty(a.selectedPlaylist.PlaylistID) && + o), + o + ); + }, + null, + null + )), + Ba( + 10, + 212992, + null, + 0, + sP, + [$C, Ne, OC, so, Dr, ff, Ff, Gf, rP, [2, rf], [2, lP], [2, td]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Ba(11, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, null, ["fitness_center"])), + (t()(), + bi( + 13, + 16777216, + null, + null, + 3, + "i", + [ + ["class", "material-icons right cursor"], + ["fast-click", ""], + ["matTooltip", "Sort By Author"], + ["matTooltipPosition", "below"] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "longpress" === n && (o = !1 !== wa(t, 14).show() && o), + "keydown" === n && + (o = !1 !== wa(t, 14)._handleKeydown(e) && o), + "touchend" === n && + (o = !1 !== wa(t, 14)._handleTouchend() && o), + "click" === n && + (o = + !1 !== a.sortAuthor(a.selectedPlaylist.PlaylistID) && o), + o + ); + }, + null, + null + )), + Ba( + 14, + 212992, + null, + 0, + sP, + [$C, Ne, OC, so, Dr, ff, Ff, Gf, rP, [2, rf], [2, lP], [2, td]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Ba(15, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, null, ["face"])), + (t()(), + bi( + 17, + 16777216, + null, + null, + 3, + "i", + [ + ["class", "material-icons right cursor"], + ["fast-click", ""], + ["matTooltip", "Sort Alphabetically"], + ["matTooltipPosition", "below"] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "longpress" === n && (o = !1 !== wa(t, 18).show() && o), + "keydown" === n && + (o = !1 !== wa(t, 18)._handleKeydown(e) && o), + "touchend" === n && + (o = !1 !== wa(t, 18)._handleTouchend() && o), + "click" === n && + (o = !1 !== a.sortName(a.selectedPlaylist.PlaylistID) && o), + o + ); + }, + null, + null + )), + Ba( + 18, + 212992, + null, + 0, + sP, + [$C, Ne, OC, so, Dr, ff, Ff, Gf, rP, [2, rf], [2, lP], [2, td]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Ba(19, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, null, ["sort"])), + (t()(), + bi( + 21, + 16777216, + null, + null, + 3, + "i", + [ + ["class", "material-icons right cursor"], + ["fast-click", ""], + ["matTooltip", "Edit Playlist"], + ["matTooltipPosition", "below"] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "longpress" === n && (o = !1 !== wa(t, 22).show() && o), + "keydown" === n && + (o = !1 !== wa(t, 22)._handleKeydown(e) && o), + "touchend" === n && + (o = !1 !== wa(t, 22)._handleTouchend() && o), + "click" === n && + (o = !1 !== a.addEditPlaylist(a.selectedPlaylist) && o), + o + ); + }, + null, + null + )), + Ba( + 22, + 212992, + null, + 0, + sP, + [$C, Ne, OC, so, Dr, ff, Ff, Gf, rP, [2, rf], [2, lP], [2, td]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Ba(23, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, null, ["edit"])), + (t()(), hi(16777216, null, null, 1, null, ok)), + Ba(26, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), + bi( + 27, + 0, + null, + null, + 0, + "img", + [["class", "pack-image handle"]], + [[8, "src", 4]], + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && + (o = !1 !== (t.component.selectedPlaylist = null) && o), + o + ); + }, + null, + null + )), + (t()(), + bi( + 28, + 0, + null, + null, + 1, + "h4", + [["class", "name-top truncate"]], + null, + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && + (o = !1 !== (t.component.selectedPlaylist = null) && o), + o + ); + }, + null, + null + )), + (t()(), Ai(29, null, ["", ""])), + (t()(), + bi( + 30, + 0, + null, + null, + 14, + "div", + [["class", "pack-song-container-outer"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 31, + 0, + null, + null, + 13, + "cdk-virtual-scroll-viewport", + [ + ["cdkDropList", ""], + [ + "class", + "collection pack-song-container cdk-virtual-scroll-viewport cdk-drop-list" + ] + ], + [ + [1, "data-playlist_id", 0], + [2, "cdk-virtual-scroll-orientation-horizontal", null], + [2, "cdk-virtual-scroll-orientation-vertical", null], + [8, "id", 0], + [2, "cdk-drop-list-disabled", null], + [2, "cdk-drop-list-dragging", null], + [2, "cdk-drop-list-receiving", null] + ], + [[null, "cdkDropListDropped"]], + function(t, n, e) { + var o = !0; + return ( + "cdkDropListDropped" === n && + (o = !1 !== t.component.drop(e) && o), + o + ); + }, + CM, + yM + )), + Ha(6144, null, RP, null, [VP]), + Ha(6144, null, PC, null, [xC]), + Ba( + 34, + 540672, + null, + 0, + vC, + [], + { itemSize: [0, "itemSize"] }, + null + ), + Ha(1024, null, _C, CC, [vC]), + Ba( + 36, + 245760, + [[2, 4], ["pack_song_container", 4]], + 0, + xC, + [Ne, no, Dr, [2, _C], [2, rf], OC], + null, + null + ), + Ba( + 37, + 1196032, + null, + 1, + VP, + [Ne, TP, no, [2, rf], [3, FP]], + { data: [0, "data"] }, + { dropped: "cdkDropListDropped" } + ), + Oi(603979776, 14, { _draggables: 1 }), + Ba(39, 212992, null, 0, vM, [[4, xC]], null, null), + Ha(256, null, FP, void 0, []), + (t()(), hi(16777216, null, 0, 1, null, ak)), + Ba( + 42, + 409600, + null, + 0, + wC, + [so, io, $e, [1, xC], Dr], + { cdkVirtualForOf: [0, "cdkVirtualForOf"] }, + null + ), + (t()(), + bi( + 43, + 0, + null, + 0, + 1, + "li", + [["class", "add-to-drag"]], + null, + null, + null, + null, + null + )), + (t()(), Ai(-1, null, ["Drop song here to add!"])) + ], + function(t, n) { + var e = n.component; + t(n, 6, 0, "below", "Back to playlists"), + t(n, 10, 0, "below", "Sort By Difficulty"), + t(n, 14, 0, "below", "Sort By Author"), + t(n, 18, 0, "below", "Sort Alphabetically"), + t(n, 22, 0, "below", "Edit Playlist"), + t(n, 26, 0, e.hasSelected()), + t(n, 34, 0, 86), + t(n, 36, 0), + t(n, 37, 0, e.selectedPlaylist.SongList), + t(n, 39, 0), + t(n, 42, 0, e.selectedPlaylist.SongList); + }, + function(t, n) { + var e = n.component; + t(n, 1, 0, e.selectedPlaylist.PlaylistID), + t( + n, + 27, + 0, + na( + 1, + "", + e.getPackBackground(e.selectedPlaylist.PlaylistID), + "" + ) + ), + t(n, 29, 0, e.selectedPlaylist.PlaylistName), + t( + n, + 31, + 0, + e.selectedPlaylist.PlaylistID, + "horizontal" === wa(n, 36).orientation, + "horizontal" !== wa(n, 36).orientation, + wa(n, 37).id, + wa(n, 37).disabled, + wa(n, 37)._dropListRef.isDragging(), + wa(n, 37)._dropListRef.isReceiving() + ); + } + ); + } + function ik(t) { + return Di(0, [(t()(), hi(0, null, null, 0))], null, null); + } + function lk(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 6, + "mat-checkbox", + [ + ["class", "right select-song mat-checkbox"], + ["color", "primary"] + ], + [ + [8, "id", 0], + [1, "tabindex", 0], + [2, "mat-checkbox-indeterminate", null], + [2, "mat-checkbox-checked", null], + [2, "mat-checkbox-disabled", null], + [2, "mat-checkbox-label-before", null], + [2, "_mat-animation-noopable", null], + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null] + ], + [[null, "ngModelChange"]], + function(t, n, e) { + var o = !0; + return ( + "ngModelChange" === n && + (o = !1 !== (t.parent.context.$implicit.Selected = e) && o), + o + ); + }, + Rx, + Tx + )), + Ba( + 1, + 8568832, + null, + 0, + Ex, + [Ne, no, Gf, Dr, [8, null], [2, xx], [2, Py]], + { color: [0, "color"] }, + null + ), + Ha( + 1024, + null, + OM, + function(t) { + return [t]; + }, + [Ex] + ), + Ba( + 3, + 671744, + null, + 0, + _x, + [[8, null], [8, null], [8, null], [6, OM]], + { model: [0, "model"] }, + { update: "ngModelChange" } + ), + Ha(2048, null, EM, null, [_x]), + Ba(5, 16384, null, 0, IM, [[4, EM]], null, null), + (t()(), Ai(-1, 0, ["Select Song"])) + ], + function(t, n) { + t(n, 1, 0, "primary"), + t(n, 3, 0, n.parent.context.$implicit.Selected); + }, + function(t, n) { + t(n, 0, 1, [ + wa(n, 1).id, + null, + wa(n, 1).indeterminate, + wa(n, 1).checked, + wa(n, 1).disabled, + "before" == wa(n, 1).labelPosition, + "NoopAnimations" === wa(n, 1)._animationMode, + wa(n, 5).ngClassUntouched, + wa(n, 5).ngClassTouched, + wa(n, 5).ngClassPristine, + wa(n, 5).ngClassDirty, + wa(n, 5).ngClassValid, + wa(n, 5).ngClassInvalid, + wa(n, 5).ngClassPending + ]); + } + ); + } + function sk(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 16777216, + null, + null, + 31, + "li", + [["cdkDrag", ""], ["class", "collection-song avatar cdk-drag"]], + [ + [1, "data-song_id", 0], + [2, "cdk-drag-disabled", null], + [2, "cdk-drag-dragging", null] + ], + [[null, "cdkDragMoved"]], + function(t, n, e) { + var o = !0; + return ( + "cdkDragMoved" === n && + (o = !1 !== t.component.dragMove(e) && o), + o + ); + }, + null, + null + )), + Ba( + 1, + 4866048, + [[18, 4]], + 3, + LP, + [Ne, [3, RP], Ds, Dr, so, zP, [2, rf], TP, no], + { data: [0, "data"] }, + { moved: "cdkDragMoved" } + ), + Oi(603979776, 19, { _handles: 1 }), + Oi(603979776, 20, { _previewTemplate: 0 }), + Oi(603979776, 21, { _placeholderTemplate: 0 }), + Ha(2048, null, DP, null, [LP]), + (t()(), + bi( + 6, + 0, + null, + null, + 1, + "div", + [ + ["cdkDragHandle", ""], + ["class", "handle song-handle-backer cdk-drag-handle"] + ], + null, + null, + null, + null, + null + )), + Ba(7, 147456, [[19, 4]], 0, NP, [Ne, [2, DP]], null, null), + (t()(), + bi( + 8, + 16777216, + null, + null, + 3, + "i", + [ + [ + "class", + "material-icons cursor orange-text drag-indicator right" + ], + ["fast-click", ""], + ["matTooltip", "Delete this song."], + ["matTooltipPosition", "below"] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "longpress" === n && (o = !1 !== wa(t, 9).show() && o), + "keydown" === n && + (o = !1 !== wa(t, 9)._handleKeydown(e) && o), + "touchend" === n && + (o = !1 !== wa(t, 9)._handleTouchend() && o), + "click" === n && + (o = !1 !== a.removeSong(t.context.$implicit.SongID) && o), + o + ); + }, + null, + null + )), + Ba( + 9, + 212992, + null, + 0, + sP, + [$C, Ne, OC, so, Dr, ff, Ff, Gf, rP, [2, rf], [2, lP], [2, td]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Ba(10, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, null, ["close"])), + (t()(), hi(16777216, null, null, 1, null, lk)), + Ba(13, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), + bi( + 14, + 0, + null, + null, + 0, + "img", + [ + ["alt", ""], + ["class", "circle red handle"], + ["onerror", "this.src = 'assets/default-pack-cover.png'"] + ], + [[8, "src", 4]], + null, + null, + null, + null + )), + (t()(), + bi( + 15, + 16777216, + null, + null, + 2, + "i", + [ + [ + "class", + "material-icons cursor grey-text drag-indicator handle" + ], + ["matTooltip", "Drag this song to a playlist."], + ["matTooltipPosition", "below"] + ], + null, + [[null, "longpress"], [null, "keydown"], [null, "touchend"]], + function(t, n, e) { + var o = !0; + return ( + "longpress" === n && (o = !1 !== wa(t, 16).show() && o), + "keydown" === n && + (o = !1 !== wa(t, 16)._handleKeydown(e) && o), + "touchend" === n && + (o = !1 !== wa(t, 16)._handleTouchend() && o), + o + ); + }, + null, + null + )), + Ba( + 16, + 212992, + null, + 0, + sP, + [$C, Ne, OC, so, Dr, ff, Ff, Gf, rP, [2, rf], [2, lP], [2, td]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + (t()(), Ai(-1, null, ["more_vert"])), + (t()(), + bi( + 18, + 0, + null, + null, + 6, + "span", + [["class", "title truncate"]], + null, + null, + null, + null, + null + )), + Ha(512, null, ks, ws, [Ne, to, Be]), + Ba( + 20, + 278528, + null, + 0, + Ss, + [ks], + { ngStyle: [0, "ngStyle"] }, + null + ), + Ei(21, { width: 0 }), + Ba( + 22, + 933888, + null, + 0, + hM, + [Ne, uO, gO, to, Be, id, [6, Ss], [2, jv], fr], + { ngStyle: [0, "ngStyle"] }, + null + ), + Ei(23, { width: 0 }), + (t()(), Ai(24, null, ["", ""])), + (t()(), + bi( + 25, + 0, + null, + null, + 6, + "p", + [["class", "description truncate"]], + null, + null, + null, + null, + null + )), + Ha(512, null, ks, ws, [Ne, to, Be]), + Ba( + 27, + 278528, + null, + 0, + Ss, + [ks], + { ngStyle: [0, "ngStyle"] }, + null + ), + Ei(28, { width: 0 }), + Ba( + 29, + 933888, + null, + 0, + hM, + [Ne, uO, gO, to, Be, id, [6, Ss], [2, jv], fr], + { ngStyle: [0, "ngStyle"] }, + null + ), + Ei(30, { width: 0 }), + (t()(), Ai(31, null, ["", "", "", ""])), + (t()(), hi(0, null, null, 0)) + ], + function(t, n) { + var e = n.component; + t(n, 1, 0, n.context.$implicit), + t(n, 9, 0, "below", "Delete this song."), + t(n, 13, 0, e.checkboxChecked), + t(n, 16, 0, "below", "Drag this song to a playlist."); + var o = t( + n, + 21, + 0, + e.checkboxChecked ? "calc(100% - 250px)" : "calc(100% - 150px)" + ); + t(n, 20, 0, o); + var a = t( + n, + 23, + 0, + e.checkboxChecked ? "calc(100% - 250px)" : "calc(100% - 150px)" + ); + t(n, 22, 0, a); + var r = t( + n, + 28, + 0, + e.checkboxChecked ? "calc(100% - 250px)" : "calc(100% - 150px)" + ); + t(n, 27, 0, r); + var i = t( + n, + 30, + 0, + e.checkboxChecked ? "calc(100% - 250px)" : "calc(100% - 150px)" + ); + t(n, 29, 0, i); + }, + function(t, n) { + var e = n.component; + t( + n, + 0, + 0, + n.context.$implicit.SongID, + wa(n, 1).disabled, + wa(n, 1)._dragRef.isDragging() + ), + t( + n, + 14, + 0, + na(1, "", e.getBackground(n.context.$implicit.SongID), "") + ), + t(n, 24, 0, n.context.$implicit.SongName), + t( + n, + 31, + 0, + n.context.$implicit.LevelAuthorName + ? "Level Author: " + n.context.$implicit.LevelAuthorName + : "", + n.context.$implicit.SongAuthorName + ? " - Song Author: " + n.context.$implicit.SongAuthorName + : "", + n.context.$implicit.SongName + ? " - " + n.context.$implicit.SongName + : "" + ); + } + ); + } + function ck(t) { + return Di( + 0, + [ + Oi(671088640, 1, { song_container: 0 }), + Oi(671088640, 2, { pack_song_container: 0 }), + Oi(671088640, 3, { pack_container: 0 }), + Oi(671088640, 4, { mirror_holder: 0 }), + Oi(402653184, 5, { empty: 0 }), + (t()(), + bi( + 5, + 0, + null, + null, + 57, + "span", + [["cdkDropListGroup", ""]], + null, + null, + null, + null, + null + )), + Ba(6, 147456, null, 0, FP, [], null, null), + (t()(), + bi( + 7, + 0, + null, + null, + 55, + "div", + [["class", "outer-container"]], + null, + null, + null, + null, + null + )), + (t()(), hi(16777216, null, null, 1, null, ek)), + Ba(9, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, null, 1, null, rk)), + Ba(11, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(0, [[5, 2], ["empty", 2]], null, 0, null, ik)), + (t()(), + bi( + 13, + 0, + null, + null, + 49, + "div", + [["class", "right-col"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 14, + 0, + null, + null, + 48, + "div", + [["class", "packs-right"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 15, + 0, + null, + null, + 0, + "img", + [["class", "main-pack-image"]], + [[8, "src", 4]], + null, + null, + null, + null + )), + (t()(), + bi(16, 0, null, null, 27, "h4", [], null, null, null, null, null)), + (t()(), + bi( + 17, + 0, + null, + null, + 20, + "div", + [["class", "right song-sort"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 18, + 16777216, + null, + null, + 3, + "i", + [ + ["class", "material-icons right cursor"], + ["fast-click", ""], + ["matTooltip", "Sort By Difficulty"], + ["matTooltipPosition", "below"] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "longpress" === n && (o = !1 !== wa(t, 19).show() && o), + "keydown" === n && + (o = !1 !== wa(t, 19)._handleKeydown(e) && o), + "touchend" === n && + (o = !1 !== wa(t, 19)._handleTouchend() && o), + "click" === n && + (o = !1 !== a.sortDifficulty("CustomSongs") && o), + o + ); + }, + null, + null + )), + Ba( + 19, + 212992, + null, + 0, + sP, + [$C, Ne, OC, so, Dr, ff, Ff, Gf, rP, [2, rf], [2, lP], [2, td]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Ba(20, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, null, ["fitness_center"])), + (t()(), + bi( + 22, + 16777216, + null, + null, + 3, + "i", + [ + ["class", "material-icons right cursor"], + ["fast-click", ""], + ["matTooltip", "Sort By Author"], + ["matTooltipPosition", "below"] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "longpress" === n && (o = !1 !== wa(t, 23).show() && o), + "keydown" === n && + (o = !1 !== wa(t, 23)._handleKeydown(e) && o), + "touchend" === n && + (o = !1 !== wa(t, 23)._handleTouchend() && o), + "click" === n && + (o = !1 !== a.sortAuthor("CustomSongs") && o), + o + ); + }, + null, + null + )), + Ba( + 23, + 212992, + null, + 0, + sP, + [$C, Ne, OC, so, Dr, ff, Ff, Gf, rP, [2, rf], [2, lP], [2, td]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Ba(24, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, null, ["face"])), + (t()(), + bi( + 26, + 16777216, + null, + null, + 3, + "i", + [ + ["class", "material-icons right cursor"], + ["fast-click", ""], + ["matTooltip", "Sort Alphabetically"], + ["matTooltipPosition", "below"] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "longpress" === n && (o = !1 !== wa(t, 27).show() && o), + "keydown" === n && + (o = !1 !== wa(t, 27)._handleKeydown(e) && o), + "touchend" === n && + (o = !1 !== wa(t, 27)._handleTouchend() && o), + "click" === n && (o = !1 !== a.sortName("CustomSongs") && o), + o + ); + }, + null, + null + )), + Ba( + 27, + 212992, + null, + 0, + sP, + [$C, Ne, OC, so, Dr, ff, Ff, Gf, rP, [2, rf], [2, lP], [2, td]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Ba(28, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, null, ["sort"])), + (t()(), + bi( + 30, + 16777216, + null, + null, + 3, + "i", + [ + ["class", "material-icons right cursor"], + ["fast-click", ""], + ["matTooltip", "Select multiple songs to add to a pack"], + ["matTooltipPosition", "below"] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "longpress" === n && (o = !1 !== wa(t, 31).show() && o), + "keydown" === n && + (o = !1 !== wa(t, 31)._handleKeydown(e) && o), + "touchend" === n && + (o = !1 !== wa(t, 31)._handleTouchend() && o), + "click" === n && + (o = 0 != (a.checkboxChecked = !a.checkboxChecked) && o), + o + ); + }, + null, + null + )), + Ba( + 31, + 212992, + null, + 0, + sP, + [$C, Ne, OC, so, Dr, ff, Ff, Gf, rP, [2, rf], [2, lP], [2, td]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Ba(32, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, null, ["check_box"])), + (t()(), + bi( + 34, + 16777216, + null, + null, + 3, + "i", + [ + ["class", "material-icons right cursor"], + ["fast-click", ""], + ["matTooltip", "Select all / Deselect all"], + ["matTooltipPosition", "below"] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "longpress" === n && (o = !1 !== wa(t, 35).show() && o), + "keydown" === n && + (o = !1 !== wa(t, 35)._handleKeydown(e) && o), + "touchend" === n && + (o = !1 !== wa(t, 35)._handleTouchend() && o), + "click" === n && (o = !1 !== a.selectAll() && o), + o + ); + }, + null, + null + )), + Ba( + 35, + 212992, + null, + 0, + sP, + [$C, Ne, OC, so, Dr, ff, Ff, Gf, rP, [2, rf], [2, lP], [2, td]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Ba(36, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, null, ["done_all"])), + (t()(), + bi( + 38, + 0, + null, + null, + 1, + "div", + [["class", "truncate songpackname"]], + null, + null, + null, + null, + null + )), + (t()(), Ai(39, null, ["", ""])), + (t()(), + bi( + 40, + 16777216, + null, + null, + 3, + "i", + [ + ["class", "material-icons cursor edit-main-playlist"], + ["fast-click", ""], + ["matTooltip", "Edit Playlist"], + ["matTooltipPosition", "below"] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "longpress" === n && (o = !1 !== wa(t, 41).show() && o), + "keydown" === n && + (o = !1 !== wa(t, 41)._handleKeydown(e) && o), + "touchend" === n && + (o = !1 !== wa(t, 41)._handleTouchend() && o), + "click" === n && + (o = !1 !== a.addEditPlaylist(a.songsPack) && o), + o + ); + }, + null, + null + )), + Ba( + 41, + 212992, + null, + 0, + sP, + [$C, Ne, OC, so, Dr, ff, Ff, Gf, rP, [2, rf], [2, lP], [2, td]], + { position: [0, "position"], message: [1, "message"] }, + null + ), + Ba(42, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, null, ["edit"])), + (t()(), + bi( + 44, + 0, + null, + null, + 18, + "cdk-virtual-scroll-viewport", + [ + ["cdkDropList", ""], + [ + "class", + "collection song-container cdk-virtual-scroll-viewport cdk-drop-list" + ] + ], + [ + [1, "data-playlist_id", 0], + [2, "cdk-virtual-scroll-orientation-horizontal", null], + [2, "cdk-virtual-scroll-orientation-vertical", null], + [8, "id", 0], + [2, "cdk-drop-list-disabled", null], + [2, "cdk-drop-list-dragging", null], + [2, "cdk-drop-list-receiving", null] + ], + [[null, "cdkDropListDropped"]], + function(t, n, e) { + var o = !0; + return ( + "cdkDropListDropped" === n && + (o = !1 !== t.component.drop(e) && o), + o + ); + }, + CM, + yM + )), + Ha(6144, null, RP, null, [VP]), + Ha(6144, null, PC, null, [xC]), + Ha(512, null, gs, fs, [$e, to, Ne, Be]), + Ba( + 48, + 278528, + null, + 0, + hs, + [gs], + { klass: [0, "klass"], ngClass: [1, "ngClass"] }, + null + ), + Ei(49, { "hide-scroll-bar": 0 }), + Ba( + 50, + 540672, + null, + 0, + vC, + [], + { itemSize: [0, "itemSize"] }, + null + ), + Ha(1024, null, _C, CC, [vC]), + Ba( + 52, + 245760, + [[1, 4], ["song_container", 4]], + 0, + xC, + [Ne, no, Dr, [2, _C], [2, rf], OC], + null, + null + ), + Ba( + 53, + 933888, + null, + 0, + uM, + [Ne, uO, gO, $e, to, Be, [6, hs]], + { ngClass: [0, "ngClass"], klass: [1, "klass"] }, + null + ), + Ei(54, { "hide-scroll-bar": 0 }), + Ba( + 55, + 1196032, + null, + 1, + VP, + [Ne, TP, no, [2, rf], [3, FP]], + { data: [0, "data"] }, + { dropped: "cdkDropListDropped" } + ), + Oi(603979776, 18, { _draggables: 1 }), + Ba(57, 212992, null, 0, vM, [[4, xC]], null, null), + Ha(256, null, FP, void 0, []), + (t()(), hi(16777216, null, 0, 1, null, sk)), + Ba( + 60, + 409600, + null, + 0, + wC, + [so, io, $e, [1, xC], Dr], + { cdkVirtualForOf: [0, "cdkVirtualForOf"] }, + null + ), + (t()(), + bi( + 61, + 0, + null, + 0, + 1, + "li", + [["class", "add-to-drag"]], + null, + null, + null, + null, + null + )), + (t()(), Ai(-1, null, ["Drop song here to add!"])), + (t()(), + bi( + 63, + 0, + [[4, 0], ["mirror_holder", 1]], + null, + 0, + "ul", + [["class", "collection hide-this"]], + null, + null, + null, + null, + null + )) + ], + function(t, n) { + var e = n.component; + t(n, 9, 0, !e.selectedPlaylist), + t(n, 11, 0, e.selectedPlaylist), + t(n, 19, 0, "below", "Sort By Difficulty"), + t(n, 23, 0, "below", "Sort By Author"), + t(n, 27, 0, "below", "Sort Alphabetically"), + t(n, 31, 0, "below", "Select multiple songs to add to a pack"), + t(n, 35, 0, "below", "Select all / Deselect all"), + t(n, 41, 0, "below", "Edit Playlist"); + var o = t(n, 49, 0, e.integrationService.isAppLoaded()); + t(n, 48, 0, "collection song-container", o), + t(n, 50, 0, 86), + t(n, 52, 0); + var a = t(n, 54, 0, e.integrationService.isAppLoaded()); + t(n, 53, 0, a, "collection song-container"), + t(n, 55, 0, e.songs), + t(n, 57, 0), + t(n, 60, 0, e.songs); + }, + function(t, n) { + var e = n.component; + t( + n, + 15, + 0, + na(1, "", e.getPackBackground(e.songsPack.PlaylistID), "") + ), + t(n, 39, 0, e.songsPack.PlaylistName), + t( + n, + 44, + 0, + "CustomSongs", + "horizontal" === wa(n, 52).orientation, + "horizontal" !== wa(n, 52).orientation, + wa(n, 55).id, + wa(n, 55).disabled, + wa(n, 55)._dropListRef.isDragging(), + wa(n, 55)._dropListRef.isReceiving() + ); + } + ); + } + var uk = (function() { + function t(t, n, e) { + (this.beatOnApi = t), + (this.configSvc = n), + (this.msgSvc = e), + (this.selectedPlaylist = {}); + } + return ( + (t.prototype.ngOnInit = function() { + this.configSvc + .getConfig() + .subscribe(this.handleConfig.bind(this)), + this.configSvc.configUpdated.subscribe( + this.handleConfig.bind(this) + ); + }), + (t.prototype.selectedPlaylistChanged = function(t) { + this.selectedPlaylist = t; + }), + (t.prototype.saveTempConfig = function() { + this.hasLastConfig = !!this.config; + var t = []; + return ( + this.config && + this.config.Playlists && + (t = this.config.Playlists.map(function(t) { + return { PlaylistID: t.PlaylistID, IsOpen: t.IsOpen }; + })), + t + ); + }), + (t.prototype.restoreTempConfig = function(t) { + this.config && + this.config.Playlists && + (this.config.Playlists.forEach(function(n) { + var e = t.filter(function(t) { + return t.PlaylistID == n.PlaylistID; + }); + e.length && (n.IsOpen = e[0].IsOpen); + }), + (t = this.config.Playlists.map(function(t) { + return { PlaylistID: t.PlaylistID, IsOpen: t.IsOpen }; + }))); + }), + (t.prototype.handleConfig = function(t) { + var n = this.saveTempConfig(); + (this.config = t.Config), + this.restoreTempConfig(n), + this.setupPlaylists(); + }), + (t.prototype.setupPlaylists = function() { + var t = this; + this.songManager && + this.songManager.selectedPlaylist && + this.config.Playlists.forEach(function(n) { + n.PlaylistID === t.songManager.selectedPlaylist.PlaylistID && + (t.songManager.selectedPlaylist = n); + }); + var n = this.config.Playlists.map(function(t) { + return t.PlaylistID; + }).indexOf("CustomSongs"); + this.customPlaylist = + n > -1 + ? this.config.Playlists[n] + : { + CoverArtFilename: null, + PlaylistID: "", + PlaylistName: "", + SongList: [], + CoverImageBytes: null + }; + }), + t + ); + })(), + dk = So({ + encapsulation: 0, + styles: [ + [ + ".container[_ngcontent-%COMP%]{display:flex;width:100%;height:93%}" + ] + ], + data: {} + }); + function pk(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "app-song-pack-manager", + [], + null, + null, + null, + ck, + $x + )), + Ba( + 1, + 4440064, + [[1, 4], ["songManager", 4]], + 0, + Jx, + [pv, Sg, pg, Eg, Zx, Qx], + null, + null + ) + ], + function(t, n) { + t(n, 1, 0); + }, + null + ); + } + function mk(t) { + return Di( + 0, + [ + Oi(671088640, 1, { songManager: 0 }), + (t()(), hi(16777216, null, null, 1, null, pk)), + Ba(2, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null) + ], + function(t, n) { + var e = n.component; + t(n, 2, 0, e.config && e.customPlaylist); + }, + null + ); + } + function gk(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "app-main-playlists", + [["class", "fullheight"]], + null, + null, + null, + mk, + dk + )), + Ba(1, 114688, null, 0, uk, [yc, Sg, pg], null, null) + ], + function(t, n) { + t(n, 1, 0); + }, + null + ); + } + var fk = ha("app-main-playlists", uk, gk, {}, {}, []), + hk = (function() { + function t(t) { + this.sanitizer = t; + } + return ( + (t.prototype.transform = function(t) { + return this.sanitizer.bypassSecurityTrustResourceUrl(t); + }), + t + ); + })(), + bk = (function() { + function t(t, n) { + var e = this; + (this.toolbarEvents = t), + (this.appIntegration = n), + (this.browserUrl = "https://www.bsaber.com"), + (this.hideIframe = !1), + t.backClicked.subscribe(function() { + e.appIntegration.isAppLoaded() + ? n.browserGoBack() + : window.history.back(); + }), + t.refreshClicked.subscribe(function() { + e.appIntegration.isAppLoaded() + ? n.refreshBrowser() + : (e.browser.nativeElement.src = e.browserUrl); + }), + t.navigate.subscribe(function(t) { + e.appIntegration.isAppLoaded() + ? n.navigateBrowser(t) + : (e.browserUrl = t); + }); + } + return ( + (t.prototype.ngOnInit = function() { + console.log("trying to show browser"), + this.appIntegration.isAppLoaded() && + ((this.hideIframe = !0), + this.appIntegration.showBrowser(), + this.appIntegration.navigateBrowser(this.browserUrl)); + }), + (t.prototype.ngOnDestroy = function() { + console.log("trying to hide browser"), + this.appIntegration.isAppLoaded() && + this.appIntegration.hideBrowser(); + }), + (t.prototype.iframeLoaded = function(t) { + console.log("iframe has loaded " + t.src); + }), + t + ); + })(), + _k = So({ + encapsulation: 0, + styles: [ + [ + "iframe[_ngcontent-%COMP%]{display:block;width:100%;height:100%;border:none}" + ] + ], + data: {} + }); + function yk(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + [[1, 0], ["browser", 1]], + null, + 2, + "iframe", + [["fxFlexFill", ""]], + [[8, "src", 5]], + [[null, "load"]], + function(t, n, e) { + var o = !0, + a = t.component; + return "load" === n && (o = !1 !== a.iframeLoaded(a) && o), o; + }, + null, + null + )), + Ba(1, 671744, null, 0, NO, [Ne, uO, DO, gO], null, null), + Ii(128, 2, new Array(2)) + ], + null, + function(t, n) { + var e = n.component, + o = xo(n, 0, 0, t(n, 2, 0, wa(n.parent, 0), e.browserUrl)); + t(n, 0, 0, o); + } + ); + } + function Ck(t) { + return Di( + 0, + [ + Va(0, hk, [id]), + Oi(671088640, 1, { browser: 0 }), + (t()(), hi(16777216, null, null, 1, null, yk)), + Ba(3, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null) + ], + function(t, n) { + t(n, 3, 0, !n.component.hideIframe); + }, + null + ); + } + function vk(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "app-main-browser", + [["class", "fullheight"]], + null, + null, + null, + Ck, + _k + )), + Ba(1, 245760, null, 0, bk, [Tg, Eg], null, null) + ], + function(t, n) { + t(n, 1, 0); + }, + null + ); + } + var Ok = ha("app-main-browser", bk, vk, {}, {}, []), + Pk = (function() { + function t(t, n, e) { + (this.beatOnApi = t), (this.dialog = n), (this.router = e); + } + return ( + (t.prototype.clickUninstallBeatSaber = function() { + var t = this, + n = this.dialog.open(Ig, { + width: "450px", + height: "350px", + disableClose: !0, + data: { mainText: "Please wait..." } + }); + this.beatOnApi.uninstallBeatSaber().subscribe( + function(e) { + n.close(), t.router.navigateByUrl("/"); + }, + function(t) { + n.close(); + } + ); + }), + (t.prototype.clickResetAssets = function() { + var t = this.dialog.open(Ig, { + width: "450px", + height: "350px", + disableClose: !0, + data: { mainText: "Please wait..." } + }); + this.beatOnApi.resetAssets().subscribe( + function(n) { + t.close(), + window.dispatchEvent( + new MessageEvent("host-message", { + data: { + ToastType: cg.Info, + Timeout: 3e3, + Title: "Assets reset.", + Message: "" + } + }) + ); + }, + function(n) { + t.close(), + window.dispatchEvent( + new MessageEvent("host-message", { + data: { + ToastType: cg.Error, + Timeout: 8e3, + Title: "Error resetting assets!", + Message: n + } + }) + ); + } + ); + }), + (t.prototype.clickQuickFix = function() { + var t = this; + this.beatOnApi + .postLogs("unknown") + .subscribe(function(t) {}, function(t) {}); + var n = this.dialog.open(Ig, { + width: "450px", + height: "350px", + disableClose: !0, + data: { mainText: "Resetting assets..." } + }); + this.beatOnApi.resetAssets().subscribe( + function(e) { + n.close(); + var o = t.dialog.open(Ig, { + width: "450px", + height: "350px", + disableClose: !0, + data: { mainText: "Loading Songs Folder. Please wait..." } + }); + t.beatOnApi.reloadSongsFromFolders().subscribe( + function(n) { + o.close(), + t.beatOnApi + .restoreCommittedConfig() + .subscribe(function(t) {}); + }, + function(t) { + o.close(); + } + ); + }, + function(t) { + n.close(); + } + ); + }), + (t.prototype.clickQuit = function() { + this.beatOnApi.quitBeatOn().subscribe(function(t) {}); + }), + (t.prototype.clickLoadLastConfig = function() { + this.beatOnApi.restoreCommittedConfig().subscribe(function(t) {}); + }), + (t.prototype.clickUploadLogs = function() { + var t = this.dialog.open(Ig, { + width: "450px", + height: "350px", + disableClose: !0, + data: { mainText: "Please wait..." } + }); + this.beatOnApi.postLogs("unknown").subscribe( + function(n) { + t.close(); + }, + function(n) { + t.close(); + } + ); + }), + (t.prototype.clickReloadSongsFolder = function() { + var t = this.dialog.open(Ig, { + width: "450px", + height: "350px", + disableClose: !0, + data: { mainText: "Loading Songs Folder. Please wait..." } + }); + this.beatOnApi.reloadSongsFromFolders().subscribe( + function(n) { + t.close(); + }, + function(n) { + t.close(), + window.dispatchEvent( + new MessageEvent("host-message", { + data: { + ToastType: cg.Error, + Timeout: 8e3, + Title: "Error reloading songs folder!", + Message: n + } + }) + ); + } + ); + }), + (t.prototype.getBackupStatus = function() { + return this.modStatus + ? this.modStatus.HasGoodBackup + ? "Good" + : this.modStatus.HasHalfAssBackup + ? "Not ideal" + : "NO BACKUP! Mods won't uninstall!" + : "unknown"; + }), + (t.prototype.getVersion = function() { + return this.modStatus && this.modStatus.BeatOnVersion + ? this.modStatus.BeatOnVersion + : "unknown"; + }), + (t.prototype.ngOnInit = function() { + var t = this; + this.beatOnApi.getNetInfo().subscribe(function(n) { + t.netInfo = n; + }), + this.beatOnApi.getModStatus().subscribe(function(n) { + t.modStatus = n; + }); + }), + t + ); + })(), + Mk = So({ + encapsulation: 0, + styles: [ + [ + '@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28121em) scale(.75);transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}@-webkit-keyframes cdk-text-field-autofill-start{}@-webkit-keyframes cdk-text-field-autofill-end{}.mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-option[_ngcontent-%COMP%]{color:#fff}.mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple):not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:focus:not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:hover:not(.mat-option-disabled){background:rgba(255,255,255,.04)}.mat-option.mat-active[_ngcontent-%COMP%]{background:rgba(255,255,255,.04);color:#fff}.mat-option.mat-option-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-primary[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ad2c2c}.mat-accent[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#216bad}.mat-warn[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ff5722}.mat-optgroup-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-optgroup-disabled[_ngcontent-%COMP%] .mat-optgroup-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-pseudo-checkbox[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-pseudo-checkbox[_ngcontent-%COMP%]::after{color:#303030}.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{color:#686868}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%], .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#216bad}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ad2c2c}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ff5722}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{background:#686868}.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-app-background[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-theme-loaded-marker[_ngcontent-%COMP%]{display:none}.mat-autocomplete-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-autocomplete-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover){background:#424242}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#fff}@media (-ms-high-contrast:active){.mat-badge-content[_ngcontent-%COMP%]{outline:solid 1px;border-radius:0}.mat-checkbox-disabled[_ngcontent-%COMP%]{opacity:.5}}.mat-badge-accent[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-badge-warn[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ff5722}.mat-badge[_ngcontent-%COMP%]{position:relative}.mat-badge-hidden[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{display:none}.mat-badge-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#6e6e6e;color:rgba(255,255,255,.5)}.mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ad2c2c;position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out;-webkit-transform:scale(.6);transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;font-weight:600;font-size:12px;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-badge-content._mat-animation-noopable[_ngcontent-%COMP%], .ng-animate-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{transition:none}.mat-badge-content.mat-badge-active[_ngcontent-%COMP%]{-webkit-transform:none;transform:none}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:16px;height:16px;line-height:16px;font-size:9px}.mat-badge-small.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-8px}.mat-badge-small.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-8px}.mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-16px}.mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-8px}.mat-badge-medium[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-11px}.mat-badge-medium.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-11px}.mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-22px}.mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-11px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:28px;height:28px;line-height:28px;font-size:24px}.mat-badge-large.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-14px}.mat-badge-large.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-14px}.mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-28px}.mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-14px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{color:inherit;background:0 0}.mat-button.mat-primary[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-button[disabled][disabled][_ngcontent-%COMP%], .mat-icon-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-icon-button[disabled][disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-stroked-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ff5722}.mat-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:transparent}.mat-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{opacity:.1;background-color:currentColor}.mat-button-focus-overlay[_ngcontent-%COMP%]{background:#fff}.mat-stroked-button[_ngcontent-%COMP%]:not([disabled]){border-color:rgba(255,255,255,.12)}.mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%]{color:#fff;background-color:#424242}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{color:#fff}.mat-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-fab[disabled][disabled][_ngcontent-%COMP%], .mat-flat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-flat-button[disabled][disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-mini-fab[disabled][disabled][_ngcontent-%COMP%], .mat-raised-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-raised-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:rgba(255,255,255,.12)}.mat-fab.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-flat-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-stroked-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-raised-button[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-button-toggle-group[_ngcontent-%COMP%], .mat-button-toggle-standalone[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%], .mat-button-toggle-standalone.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{box-shadow:none;border:1px solid rgba(255,255,255,.12)}.mat-button-toggle[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-button-toggle[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff;background:#424242}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:#fff}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12)}[dir=rtl][_ngcontent-%COMP%] .mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:none;border-top:1px solid rgba(255,255,255,.12)}.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#212121;color:rgba(255,255,255,.7)}.mat-button-toggle-checked.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff}.mat-button-toggle-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:#000}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{background:#424242}.mat-button-toggle-disabled.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#424242}.mat-card[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-card[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-card.mat-card-flat[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-card-subtitle[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-checkbox-frame[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-checkbox-checkmark[_ngcontent-%COMP%]{fill:#303030}.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#303030!important}@media (-ms-high-contrast:black-on-white){.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#000!important}}.mat-checkbox-mixedmark[_ngcontent-%COMP%]{background-color:#303030}.mat-checkbox-checked.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-checkbox-checked.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#216bad}.mat-checkbox-checked.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ff5722}.mat-checkbox-disabled.mat-checkbox-checked[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-disabled.mat-checkbox-indeterminate[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%]:not(.mat-checkbox-checked) .mat-checkbox-frame[_ngcontent-%COMP%]{border-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}@media (-ms-high-contrast:active){.mat-checkbox-background[_ngcontent-%COMP%]{background:0 0}.mat-ripple-element[_ngcontent-%COMP%]{display:none}}.mat-checkbox[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%]{background:#ad2c2c}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%]{background:#216bad}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%]{background:#ff5722}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]{background-color:#616161;color:#fff}.mat-chip.mat-standard-chip[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled) .mat-chip-remove[_ngcontent-%COMP%]:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled[_ngcontent-%COMP%]{opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]::after{background:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-table[_ngcontent-%COMP%]{background:#424242}.mat-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%], .mat-table-sticky[_ngcontent-%COMP%], [mat-footer-row][_ngcontent-%COMP%], [mat-header-row][_ngcontent-%COMP%], [mat-row][_ngcontent-%COMP%], mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%]{background:inherit}mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%], td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{border-bottom-color:rgba(255,255,255,.12)}.mat-header-cell[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{color:#fff}.mat-calendar-arrow[_ngcontent-%COMP%]{border-top-color:#fff}.mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-next-button[_ngcontent-%COMP%], .mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-previous-button[_ngcontent-%COMP%], .mat-datepicker-toggle[_ngcontent-%COMP%]{color:#fff}.mat-calendar-table-header[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-calendar-table-header-divider[_ngcontent-%COMP%]::after{background:rgba(255,255,255,.12)}.mat-calendar-body-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-calendar-body-cell-content[_ngcontent-%COMP%]{color:#fff;border-color:transparent}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){color:rgba(255,255,255,.5)}.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .cdk-program-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .mat-calendar-body-cell[_ngcontent-%COMP%]:not(.mat-calendar-body-disabled):hover > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){background-color:rgba(255,255,255,.04)}.mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.5)}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.3)}.mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.4)}.mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#424242;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.4)}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.4)}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content-touch[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-datepicker-toggle-active[_ngcontent-%COMP%]{color:#ad2c2c}.mat-datepicker-toggle-active.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-datepicker-toggle-active.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-dialog-container[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-divider[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-divider-vertical[_ngcontent-%COMP%]{border-right-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-expansion-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-action-row[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-keyboard-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-program-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]):hover{background:rgba(255,255,255,.04)}@media (hover:none){.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header[_ngcontent-%COMP%]:hover{background:#424242}}.mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:#fff}.mat-expansion-indicator[_ngcontent-%COMP%]::after, .mat-expansion-panel-header-description[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%], .mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:inherit}.mat-form-field-label[_ngcontent-%COMP%], .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-focused[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#fff}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid) .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ad2c2c}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#216bad}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#ff5722}.mat-error[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7);bottom:1.25em}.mat-form-field-appearance-legacy.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7)}.mat-form-field-appearance-standard.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.05)}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:transparent}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#fff}.mat-form-field-appearance-outline.mat-focused[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field-appearance-outline.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-appearance-outline.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.15)}.mat-icon.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-icon.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-icon.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-type-mat-native-select[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:rgba(255,255,255,.7)}.mat-form-field-type-mat-native-select.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-input-element[_ngcontent-%COMP%]:disabled{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]{caret-color:#ad2c2c}.mat-input-element[_ngcontent-%COMP%]::-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-moz-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-webkit-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]{color:rgba(0,0,0,.87)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]:disabled{color:rgba(0,0,0,.38)}.mat-accent[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#216bad}.mat-form-field-invalid[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#ff5722}.mat-form-field-type-mat-native-select.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ff5722}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%], .mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{color:#fff}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-list-item-disabled[_ngcontent-%COMP%]{background-color:#000}.mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover, .mat-list-option[_ngcontent-%COMP%]:focus, .mat-list-option[_ngcontent-%COMP%]:hover, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover{background:rgba(255,255,255,.04)}.mat-menu-panel[_ngcontent-%COMP%]{background:#424242}.mat-menu-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-menu-item[_ngcontent-%COMP%]{background:0 0;color:#fff}.mat-menu-item[disabled][_ngcontent-%COMP%], .mat-menu-item[disabled][_ngcontent-%COMP%]::after{color:rgba(255,255,255,.5)}.mat-menu-item[_ngcontent-%COMP%] .mat-icon-no-color[_ngcontent-%COMP%], .mat-menu-item-submenu-trigger[_ngcontent-%COMP%]::after{color:#fff}.mat-menu-item-highlighted[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-keyboard-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-program-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item[_ngcontent-%COMP%]:hover:not([disabled]){background:rgba(255,255,255,.04)}.mat-paginator[_ngcontent-%COMP%]{background:#424242}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-paginator-decrement[_ngcontent-%COMP%], .mat-paginator-increment[_ngcontent-%COMP%]{border-top:2px solid #fff;border-right:2px solid #fff}.mat-paginator-first[_ngcontent-%COMP%], .mat-paginator-last[_ngcontent-%COMP%]{border-top:2px solid #fff}.mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-decrement[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-first[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-increment[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-last[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-progress-bar-background[_ngcontent-%COMP%]{fill:#e6c0c0}.mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#e6c0c0}.mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ad2c2c}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#216bad}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ff5722}.mat-progress-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ad2c2c}.mat-progress-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#216bad}.mat-progress-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ff5722}.mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ad2c2c}.mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#216bad}.mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#216bad}.mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ff5722}.mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ff5722}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-label-content[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-radio-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-select-value[_ngcontent-%COMP%]{color:#fff}.mat-select-disabled[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%], .mat-select-placeholder[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-select-panel[_ngcontent-%COMP%]{background:#424242}.mat-select-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-select-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple){background:rgba(255,255,255,.12)}.mat-form-field.mat-focused.mat-primary[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#216bad}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-invalid[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-form-field.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-disabled[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-drawer-container[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-drawer[_ngcontent-%COMP%]{background-color:#424242;color:#fff}.mat-drawer.mat-drawer-push[_ngcontent-%COMP%]{background-color:#424242}.mat-drawer[_ngcontent-%COMP%]:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-drawer-side[_ngcontent-%COMP%]{border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%] .mat-drawer-side[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12);border-right:none}[dir=rtl][_ngcontent-%COMP%] .mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-backdrop.mat-drawer-shown[_ngcontent-%COMP%]{background-color:rgba(189,189,189,.6)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.54)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.54)}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.54)}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle[_ngcontent-%COMP%]:not(.mat-checked) .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-slide-toggle-thumb[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#bdbdbd}.mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#216bad}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ff5722}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.2)}.cdk-focused[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%] .mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:#fff}.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing) .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3);background-color:transparent}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-has-ticks[_ngcontent-%COMP%] .mat-slider-wrapper[_ngcontent-%COMP%]::after{border-color:rgba(255,255,255,.7)}.mat-slider-horizontal[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to right,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-slider-vertical[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to bottom,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused[_ngcontent-%COMP%], .mat-step-header.cdk-program-focused[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%]:hover{background-color:rgba(255,255,255,.04)}@media (hover:none){.mat-step-header[_ngcontent-%COMP%]:hover{background:0 0}}.mat-step-header[_ngcontent-%COMP%] .mat-step-label[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-optional[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7);color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-selected[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-edit[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-error[_ngcontent-%COMP%]{background-color:transparent;color:#ff5722}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-active[_ngcontent-%COMP%]{color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-error[_ngcontent-%COMP%]{color:#ff5722}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{background-color:#424242}.mat-stepper-vertical-line[_ngcontent-%COMP%]::before{border-left-color:rgba(255,255,255,.12)}.mat-horizontal-stepper-header[_ngcontent-%COMP%]::after, .mat-horizontal-stepper-header[_ngcontent-%COMP%]::before, .mat-stepper-horizontal-line[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-sort-header-arrow[_ngcontent-%COMP%]{color:#c6c6c6}.mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[_ngcontent-%COMP%]{border-bottom:1px solid rgba(255,255,255,.12)}.mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-nav-bar[_ngcontent-%COMP%]{border-top:1px solid rgba(255,255,255,.12);border-bottom:none}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-tab-group[class*=mat-background-][_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[class*=mat-background-][_ngcontent-%COMP%]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-toolbar[_ngcontent-%COMP%]{background:#212121;color:#fff}.mat-toolbar.mat-primary[_ngcontent-%COMP%]{background:#ad2c2c;color:#fff}.mat-toolbar.mat-accent[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-toolbar.mat-warn[_ngcontent-%COMP%]{background:#ff5722;color:#fff}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:currentColor}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%]{color:inherit}.mat-toolbar[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:currentColor}.mat-tooltip[_ngcontent-%COMP%]{background:rgba(97,97,97,.9)}.mat-tree[_ngcontent-%COMP%]{background:#424242}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{color:#fff}.mat-snack-bar-container[_ngcontent-%COMP%]{color:rgba(0,0,0,.87);background:#fafafa;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 11.62px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 9.38px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,"Helvetica Neue",sans-serif}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,"Helvetica Neue",sans-serif;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34373em) scale(.75);transform:translateY(-1.34373em) scale(.75);width:133.3333533333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34372em) scale(.75);transform:translateY(-1.34372em) scale(.75);width:133.3333633333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00106px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00106px);-ms-transform:translateY(-1.28119em) scale(.75);width:133.3333933333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00107px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00107px);-ms-transform:translateY(-1.28118em) scale(.75);width:133.3334033333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00108px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00108px);-ms-transform:translateY(-1.28117em) scale(.75);width:133.3334133333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28116em) scale(.75);transform:translateY(-1.28116em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28115em) scale(.75);transform:translateY(-1.28115em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28114em) scale(.75);transform:translateY(-1.28114em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59373em) scale(.75);transform:translateY(-.59373em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59372em) scale(.75);transform:translateY(-.59372em) scale(.75);width:133.3333633333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59373em) scale(.75);transform:translateY(-1.59373em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59372em) scale(.75);transform:translateY(-1.59372em) scale(.75);width:133.3333633333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{color:inherit;line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,-webkit-transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1),-webkit-transform 0s cubic-bezier(0,0,.2,1);-webkit-transform:scale(0);transform:scale(0)}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation-name:cdk-text-field-autofill-start;animation-name:cdk-text-field-autofill-start}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation-name:cdk-text-field-autofill-end;animation-name:cdk-text-field-autofill-end}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{height:auto!important;overflow:hidden!important;padding:2px 0!important;box-sizing:content-box!important}button[_ngcontent-%COMP%]{margin-left:25px}.info[_ngcontent-%COMP%]{position:absolute;right:30px;top:10px;font-size:12px;color:#ff5722;line-height:1em}.netInfo[_ngcontent-%COMP%] .url[_ngcontent-%COMP%]{font-style:normal;font-weight:700;display:inline;font-size:14px}.descrip[_ngcontent-%COMP%]{margin-left:8px}li[_ngcontent-%COMP%]{margin-bottom:8px}' + ] + ], + data: {} + }); + function xk(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "div", + [["class", "url"]], + null, + null, + null, + null, + null + )), + (t()(), Ai(1, null, ["", ""])) + ], + null, + function(t, n) { + t(n, 1, 0, n.component.netInfo.Url); + } + ); + } + function kk(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 85, + "mat-card", + [["class", "setup-card mat-card"]], + null, + null, + null, + Mh, + Ph + )), + Ba(1, 49152, null, 0, nf, [], null, null), + (t()(), + bi( + 2, + 0, + null, + 0, + 12, + "mat-card-header", + [["class", "mat-card-header"]], + null, + null, + null, + kh, + xh + )), + Ba(3, 49152, null, 0, ef, [], null, null), + (t()(), + bi( + 4, + 0, + null, + 0, + 4, + "div", + [["class", "mat-card-avatar"], ["mat-card-avatar", ""]], + null, + null, + null, + null, + null + )), + Ba(5, 16384, null, 0, tf, [], null, null), + (t()(), + bi( + 6, + 0, + null, + null, + 2, + "mat-icon", + [ + ["aria-hidden", "false"], + ["class", "setup-icon mat-icon notranslate"], + ["role", "img"] + ], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + Yh, + Kh + )), + Ba( + 7, + 9158656, + null, + 0, + Uh, + [Ne, Nh, [8, "false"], [2, Fh]], + null, + null + ), + (t()(), Ai(-1, 0, ["build"])), + (t()(), + bi( + 9, + 0, + null, + 1, + 2, + "mat-card-title", + [["class", "mat-card-title"]], + null, + null, + null, + null, + null + )), + Ba(10, 16384, null, 0, Xg, [], null, null), + (t()(), Ai(-1, null, ["Tools"])), + (t()(), + bi( + 12, + 0, + null, + 1, + 2, + "mat-card-subtitle", + [["class", "mat-card-subtitle"]], + null, + null, + null, + null, + null + )), + Ba(13, 16384, null, 0, Jg, [], null, null), + (t()(), Ai(-1, null, ["Tools and Utilities"])), + (t()(), + bi( + 15, + 0, + null, + 0, + 70, + "mat-card-content", + [["class", "mat-card-content"]], + null, + null, + null, + null, + null + )), + Ba(16, 16384, null, 0, Qg, [], null, null), + (t()(), + bi( + 17, + 0, + null, + null, + 10, + "div", + [["class", "info"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 18, + 0, + null, + null, + 3, + "span", + [["color", "primary"]], + null, + null, + null, + null, + null + )), + (t()(), Ai(-1, null, ["Accessible via browser at "])), + (t()(), hi(16777216, null, null, 1, null, xk)), + Ba(21, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), + bi(22, 0, null, null, 0, "br", [], null, null, null, null, null)), + (t()(), + bi(23, 0, null, null, 1, "span", [], null, null, null, null, null)), + (t()(), Ai(24, null, ["Version ", ""])), + (t()(), + bi(25, 0, null, null, 0, "br", [], null, null, null, null, null)), + (t()(), + bi(26, 0, null, null, 1, "span", [], null, null, null, null, null)), + (t()(), Ai(27, null, ["Backup Status: ", ""])), + (t()(), + bi( + 28, + 0, + null, + null, + 57, + "mat-card", + [["class", "mat-card"]], + null, + null, + null, + Mh, + Ph + )), + Ba(29, 49152, null, 0, nf, [], null, null), + (t()(), + bi(30, 0, null, 0, 30, "ul", [], null, null, null, null, null)), + (t()(), + bi(31, 0, null, null, 4, "li", [], null, null, null, null, null)), + (t()(), + bi(32, 0, null, null, 1, "b", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["Reset All Assets:"])), + (t()(), + bi( + 34, + 0, + null, + null, + 1, + "span", + [["class", "descrip"]], + null, + null, + null, + null, + null + )), + (t()(), + Ai(-1, null, [ + "Resets all offloaded assets files to their original state, removing any songs and asset-based mods that have been loaded. Also removes any hook mods." + ])), + (t()(), + bi(36, 0, null, null, 4, "li", [], null, null, null, null, null)), + (t()(), + bi(37, 0, null, null, 1, "b", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["Load Songs Folder:"])), + (t()(), + bi( + 39, + 0, + null, + null, + 1, + "span", + [["class", "descrip"]], + null, + null, + null, + null, + null + )), + (t()(), + Ai(-1, null, [ + "Attempt to load any new songs from folders in /sdcard/BeatOnData/CustomSongs" + ])), + (t()(), + bi(41, 0, null, null, 4, "li", [], null, null, null, null, null)), + (t()(), + bi(42, 0, null, null, 1, "b", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["Quick Fix:"])), + (t()(), + bi( + 44, + 0, + null, + null, + 1, + "span", + [["class", "descrip"]], + null, + null, + null, + null, + null + )), + (t()(), + Ai(-1, null, [ + "If you're having problems, try this button. This will reset your assets, reload your songs, then try loading the last config that you synced successfully. Also, it will upload your logs so the problem may get identifier and fixed faster." + ])), + (t()(), + bi(46, 0, null, null, 4, "li", [], null, null, null, null, null)), + (t()(), + bi(47, 0, null, null, 1, "b", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["Uninstall BS:"])), + (t()(), + bi( + 49, + 0, + null, + null, + 1, + "span", + [["class", "descrip"]], + null, + null, + null, + null, + null + )), + (t()(), + Ai(-1, null, [ + "Uninstalls whatever Beat Saber APK is currently installed. This can't be undone, Beat Saber will have to be reinstalled and re-modded." + ])), + (t()(), + bi(51, 0, null, null, 4, "li", [], null, null, null, null, null)), + (t()(), + bi(52, 0, null, null, 1, "b", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["Upload Logs:"])), + (t()(), + bi( + 54, + 0, + null, + null, + 1, + "span", + [["class", "descrip"]], + null, + null, + null, + null, + null + )), + (t()(), + Ai(-1, null, [ + "If you've just run into a problem, upload your logs to help the developers track it down." + ])), + (t()(), + bi(56, 0, null, null, 4, "li", [], null, null, null, null, null)), + (t()(), + bi(57, 0, null, null, 1, "b", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["Exit Beat On:"])), + (t()(), + bi( + 59, + 0, + null, + null, + 1, + "span", + [["class", "descrip"]], + null, + null, + null, + null, + null + )), + (t()(), + Ai(-1, null, [ + "Exits Beat On immediately and stops all background processes." + ])), + (t()(), + bi( + 61, + 0, + null, + 0, + 24, + "mat-card-actions", + [["class", "mat-card-actions"]], + [[2, "mat-card-actions-align-end", null]], + null, + null, + null, + null + )), + Ba(62, 16384, null, 0, $g, [], null, null), + (t()(), + bi( + 63, + 0, + null, + null, + 3, + "button", + [ + ["color", "accent"], + ["fast-click", ""], + ["mat-raised-button", ""] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && + (o = !1 !== t.component.clickResetAssets() && o), + o + ); + }, + ky, + xy + )), + Ba( + 64, + 180224, + null, + 0, + Zh, + [Ne, Gf, [2, Py]], + { color: [0, "color"] }, + null + ), + Ba(65, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, 0, ["Reset Assets"])), + (t()(), + bi( + 67, + 0, + null, + null, + 3, + "button", + [ + ["color", "accent"], + ["fast-click", ""], + ["mat-raised-button", ""] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && + (o = !1 !== t.component.clickReloadSongsFolder() && o), + o + ); + }, + ky, + xy + )), + Ba( + 68, + 180224, + null, + 0, + Zh, + [Ne, Gf, [2, Py]], + { color: [0, "color"] }, + null + ), + Ba(69, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, 0, ["Reload Songs Folder"])), + (t()(), + bi( + 71, + 0, + null, + null, + 3, + "button", + [ + ["color", "accent"], + ["fast-click", ""], + ["mat-raised-button", ""] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && + (o = !1 !== t.component.clickQuickFix() && o), + o + ); + }, + ky, + xy + )), + Ba( + 72, + 180224, + null, + 0, + Zh, + [Ne, Gf, [2, Py]], + { color: [0, "color"] }, + null + ), + Ba(73, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, 0, ["Quick Fix"])), + (t()(), + bi( + 75, + 0, + null, + null, + 3, + "button", + [ + ["color", "accent"], + ["fast-click", ""], + ["mat-raised-button", ""] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && + (o = !1 !== t.component.clickUploadLogs() && o), + o + ); + }, + ky, + xy + )), + Ba( + 76, + 180224, + null, + 0, + Zh, + [Ne, Gf, [2, Py]], + { color: [0, "color"] }, + null + ), + Ba(77, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, 0, ["Upload Logs"])), + (t()(), + bi( + 79, + 0, + null, + null, + 3, + "button", + [ + ["color", "accent"], + ["fast-click", ""], + ["mat-raised-button", ""] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && + (o = !1 !== t.component.clickUninstallBeatSaber() && o), + o + ); + }, + ky, + xy + )), + Ba( + 80, + 180224, + null, + 0, + Zh, + [Ne, Gf, [2, Py]], + { color: [0, "color"] }, + null + ), + Ba(81, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, 0, ["Uninstall BS"])), + (t()(), + bi( + 83, + 0, + null, + null, + 2, + "button", + [["color", "warn"], ["mat-raised-button", ""]], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && (o = !1 !== t.component.clickQuit() && o), o + ); + }, + ky, + xy + )), + Ba( + 84, + 180224, + null, + 0, + Zh, + [Ne, Gf, [2, Py]], + { color: [0, "color"] }, + null + ), + (t()(), Ai(-1, 0, ["Exit Beat On"])) + ], + function(t, n) { + var e = n.component; + t(n, 7, 0), + t(n, 21, 0, e.netInfo), + t(n, 64, 0, "accent"), + t(n, 68, 0, "accent"), + t(n, 72, 0, "accent"), + t(n, 76, 0, "accent"), + t(n, 80, 0, "accent"), + t(n, 84, 0, "warn"); + }, + function(t, n) { + var e = n.component; + t( + n, + 6, + 0, + wa(n, 7).inline, + "primary" !== wa(n, 7).color && + "accent" !== wa(n, 7).color && + "warn" !== wa(n, 7).color + ), + t(n, 24, 0, e.getVersion()), + t(n, 27, 0, e.getBackupStatus()), + t(n, 61, 0, "end" === wa(n, 62).align), + t( + n, + 63, + 0, + wa(n, 64).disabled || null, + "NoopAnimations" === wa(n, 64)._animationMode + ), + t( + n, + 67, + 0, + wa(n, 68).disabled || null, + "NoopAnimations" === wa(n, 68)._animationMode + ), + t( + n, + 71, + 0, + wa(n, 72).disabled || null, + "NoopAnimations" === wa(n, 72)._animationMode + ), + t( + n, + 75, + 0, + wa(n, 76).disabled || null, + "NoopAnimations" === wa(n, 76)._animationMode + ), + t( + n, + 79, + 0, + wa(n, 80).disabled || null, + "NoopAnimations" === wa(n, 80)._animationMode + ), + t( + n, + 83, + 0, + wa(n, 84).disabled || null, + "NoopAnimations" === wa(n, 84)._animationMode + ); + } + ); + } + function wk(t) { + return Di( + 0, + [ + (t()(), + bi(0, 0, null, null, 1, "app-tools", [], null, null, null, kk, Mk)), + Ba(1, 114688, null, 0, Pk, [yc, pv, Nm], null, null) + ], + function(t, n) { + t(n, 1, 0); + }, + null + ); + } + var Sk = ha("app-tools", Pk, wk, {}, {}, []), + Ek = (function() { + function t() { + (this.onFileDropped = new ar()), + (this.background = "#f5fcff"), + (this.opacity = "1"); + } + return ( + (t.prototype.onDragOver = function(t) { + t.preventDefault(), + t.stopPropagation(), + (this.background = "#9ecbec"), + (this.opacity = "0.8"); + }), + (t.prototype.onDragLeave = function(t) { + t.preventDefault(), + t.stopPropagation(), + (this.background = "#f5fcff"), + (this.opacity = "1"); + }), + (t.prototype.ondrop = function(t) { + t.preventDefault(), + t.stopPropagation(), + (this.background = "#f5fcff"), + (this.opacity = "1"); + var n = t.dataTransfer.files; + n.length > 0 && this.onFileDropped.emit(n); + }), + t + ); + })(), + Ik = (function() { + function t(t, n) { + (this.formBuilder = t), (this.beatOnApi = n); + } + return ( + (t.prototype.ngOnInit = function() { + this.form = this.formBuilder.group({ fileUpload: [""] }); + }), + (t.prototype.uploadFile = function(t) { + for (var n = 0; n < t.length; n++) { + var e = t[n], + o = new FormData(); + o.append("file", e), + this.beatOnApi.uploadFile(o).subscribe( + function(t) { + console.log("File uploaded"); + }, + function(t) { + console.log("Failed to upload: " + t); + } + ); + } + }), + t + ); + })(), + Ak = So({ + encapsulation: 0, + styles: [ + [ + "form[_ngcontent-%COMP%]{margin-top:100px}.uploadfilecontainer[_ngcontent-%COMP%]{background:url(upload.png) center no-repeat;height:200px;width:80%;margin:20px auto;border:2px dashed #1c8adb;border-radius:10px}.uploadfilecontainer[_ngcontent-%COMP%]:hover{cursor:pointer;background-color:#9ecbec!important;opacity:.8}.files-list[_ngcontent-%COMP%]{display:flex;justify-content:space-between;width:80%;margin:10px auto;background:#fff;border:1px dashed;border-radius:12px;padding:5px;color:#1c8adb}.files-list[_ngcontent-%COMP%] .delete-file[_ngcontent-%COMP%]{background:0 0;border:none;cursor:pointer}.files-list[_ngcontent-%COMP%] .delete-file[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:30px}" + ] + ], + data: {} + }); + function Tk(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 19, + "mat-card", + [["class", "setup-card mat-card"]], + null, + null, + null, + Mh, + Ph + )), + Ba(1, 49152, null, 0, nf, [], null, null), + (t()(), + bi( + 2, + 0, + null, + 0, + 12, + "mat-card-header", + [["class", "mat-card-header"]], + null, + null, + null, + kh, + xh + )), + Ba(3, 49152, null, 0, ef, [], null, null), + (t()(), + bi( + 4, + 0, + null, + 0, + 4, + "div", + [["class", "mat-card-avatar"], ["mat-card-avatar", ""]], + null, + null, + null, + null, + null + )), + Ba(5, 16384, null, 0, tf, [], null, null), + (t()(), + bi( + 6, + 0, + null, + null, + 2, + "mat-icon", + [ + ["aria-hidden", "false"], + ["class", "setup-icon mat-icon notranslate"], + ["role", "img"] + ], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + Yh, + Kh + )), + Ba( + 7, + 9158656, + null, + 0, + Uh, + [Ne, Nh, [8, "false"], [2, Fh]], + null, + null + ), + (t()(), Ai(-1, 0, ["cloud_upload"])), + (t()(), + bi( + 9, + 0, + null, + 1, + 2, + "mat-card-title", + [["class", "mat-card-title"]], + null, + null, + null, + null, + null + )), + Ba(10, 16384, null, 0, Xg, [], null, null), + (t()(), Ai(-1, null, ["Upload Files"])), + (t()(), + bi( + 12, + 0, + null, + 1, + 2, + "mat-card-subtitle", + [["class", "mat-card-subtitle"]], + null, + null, + null, + null, + null + )), + Ba(13, 16384, null, 0, Jg, [], null, null), + (t()(), + Ai(-1, null, [ + "Drag zip files here to upload them, or click to select a file. Currently songs and Quest-specific mods are supported." + ])), + (t()(), + bi( + 15, + 0, + null, + 0, + 4, + "mat-card-content", + [["class", "mat-card-content"]], + null, + null, + null, + null, + null + )), + Ba(16, 16384, null, 0, Qg, [], null, null), + (t()(), + bi( + 17, + 0, + null, + null, + 2, + "div", + [["appDragDrop", ""], ["class", "uploadfilecontainer"]], + [[4, "background-color", null], [4, "opacity", null]], + [ + [null, "click"], + [null, "onFileDropped"], + [null, "dragover"], + [null, "dragleave"], + [null, "drop"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "dragover" === n && (o = !1 !== wa(t, 18).onDragOver(e) && o), + "dragleave" === n && + (o = !1 !== wa(t, 18).onDragLeave(e) && o), + "drop" === n && (o = !1 !== wa(t, 18).ondrop(e) && o), + "click" === n && (o = !1 !== wa(t, 19).click() && o), + "onFileDropped" === n && (o = !1 !== a.uploadFile(e) && o), + o + ); + }, + null, + null + )), + Ba(18, 16384, null, 0, Ek, [], null, { + onFileDropped: "onFileDropped" + }), + (t()(), + bi( + 19, + 0, + [["fileInput", 1]], + null, + 0, + "input", + [["hidden", ""], ["type", "file"]], + null, + [[null, "change"]], + function(t, n, e) { + var o = !0; + return ( + "change" === n && + (o = !1 !== t.component.uploadFile(e.target.files) && o), + o + ); + }, + null, + null + )) + ], + function(t, n) { + t(n, 7, 0); + }, + function(t, n) { + t( + n, + 6, + 0, + wa(n, 7).inline, + "primary" !== wa(n, 7).color && + "accent" !== wa(n, 7).color && + "warn" !== wa(n, 7).color + ), + t(n, 17, 0, wa(n, 18).background, wa(n, 18).opacity); + } + ); + } + function Rk(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "app-remote-upload", + [], + null, + null, + null, + Tk, + Ak + )), + Ba(1, 114688, null, 0, Ik, [Ox, yc], null, null) + ], + function(t, n) { + t(n, 1, 0); + }, + null + ); + } + var Dk = ha("app-remote-upload", Ik, Rk, {}, {}, []), + Nk = (function() { + function t() {} + return (t.prototype.ngOnInit = function() {}), t; + })(), + zk = So({ + encapsulation: 0, + styles: [ + [ + ".credits[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:15px}" + ] + ], + data: {} + }); + function Lk(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 45, + "mat-card", + [["class", "mat-card"], ["fxLayout", "column"]], + null, + null, + null, + Mh, + Ph + )), + Ba(1, 49152, null, 0, nf, [], null, null), + Ba( + 2, + 671744, + null, + 0, + PO, + [Ne, uO, [2, vO], gO], + { fxLayout: [0, "fxLayout"] }, + null + ), + (t()(), + bi(3, 0, null, 0, 1, "h2", [], null, null, null, null, null)), + (t()(), + Ai(-1, null, [ + "Credits to BSMG crew in general, and in particular:" + ])), + (t()(), + bi( + 5, + 0, + null, + 0, + 40, + "ul", + [["class", "credits"]], + null, + null, + null, + null, + null + )), + (t()(), + bi(6, 0, null, null, 3, "li", [], null, null, null, null, null)), + (t()(), + bi(7, 0, null, null, 1, "b", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["Sc2ad"])), + (t()(), + Ai(-1, null, [ + ": code contributor, code reviewer, lots of work on hook mods, lots of discussion and feedback" + ])), + (t()(), + bi(10, 0, null, null, 3, "li", [], null, null, null, null, null)), + (t()(), + bi(11, 0, null, null, 1, "b", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["jakibaki"])), + (t()(), + Ai(-1, null, [ + ": beat-saber hook (making the really cool stuff possible)" + ])), + (t()(), + bi(14, 0, null, null, 3, "li", [], null, null, null, null, null)), + (t()(), + bi(15, 0, null, null, 1, "b", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["Agent42"])), + (t()(), + Ai(-1, null, [ + ": extraordinary testing and support (if it works at all, thank him)" + ])), + (t()(), + bi(18, 0, null, null, 3, "li", [], null, null, null, null, null)), + (t()(), + bi(19, 0, null, null, 1, "b", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["Yuuki"])), + (t()(), Ai(-1, null, [": code contributor, code documentarian"])), + (t()(), + bi(22, 0, null, null, 3, "li", [], null, null, null, null, null)), + (t()(), + bi(23, 0, null, null, 1, "b", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["shaneharris"])), + (t()(), + Ai(-1, null, [ + ": code contributor, advice, especially on the angular and android side of things" + ])), + (t()(), + bi(26, 0, null, null, 3, "li", [], null, null, null, null, null)), + (t()(), + bi(27, 0, null, null, 1, "b", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["elliotttate"])), + (t()(), + Ai(-1, null, [": inspiration, support and the awesome logos"])), + (t()(), + bi(30, 0, null, null, 3, "li", [], null, null, null, null, null)), + (t()(), + bi(31, 0, null, null, 1, "b", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["karldeux"])), + (t()(), Ai(-1, null, [": code contributor, project wrangler"])), + (t()(), + bi(34, 0, null, null, 3, "li", [], null, null, null, null, null)), + (t()(), + bi(35, 0, null, null, 1, "b", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["Zingabopp"])), + (t()(), Ai(-1, null, [": Sync Saber Service"])), + (t()(), + bi(38, 0, null, null, 3, "li", [], null, null, null, null, null)), + (t()(), + bi(39, 0, null, null, 1, "b", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["lolpants"])), + (t()(), Ai(-1, null, [": everything lolpants does."])), + (t()(), + bi(42, 0, null, null, 3, "li", [], null, null, null, null, null)), + (t()(), + bi(43, 0, null, null, 1, "b", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["emulamer"])), + (t()(), Ai(-1, null, [": did some stuff"])) + ], + function(t, n) { + t(n, 2, 0, "column"); + }, + null + ); + } + function jk(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "app-credits", + [], + null, + null, + null, + Lk, + zk + )), + Ba(1, 114688, null, 0, Nk, [], null, null) + ], + function(t, n) { + t(n, 1, 0); + }, + null + ); + } + var Fk = ha("app-credits", Nk, jk, {}, {}, []), + Bk = 100, + Vk = th( + (function() { + return function(t) { + this._elementRef = t; + }; + })(), + "primary" + ), + Hk = new Ut("mat-progress-spinner-default-options", { + providedIn: "root", + factory: function() { + return { diameter: Bk }; + } + }), + Uk = (function(t) { + function n(e, o, a, r, i) { + var l = t.call(this, e) || this; + (l._elementRef = e), + (l._document = a), + (l._value = 0), + (l._fallbackAnimation = !1), + (l._diameter = Bk), + (l.mode = "determinate"); + var s = n._diameters; + return ( + s.has(a.head) || s.set(a.head, new Set([Bk])), + (l._styleRoot = + (function(t, n) { + if ("undefined" != typeof window) { + var e = n.head; + if (e && (e.createShadowRoot || e.attachShadow)) { + var o = t.getRootNode ? t.getRootNode() : null; + if (o instanceof window.ShadowRoot) return o; + } + } + return null; + })(e.nativeElement, a) || a.head), + (l._fallbackAnimation = o.EDGE || o.TRIDENT), + (l._noopAnimations = + "NoopAnimations" === r && !!i && !i._forceAnimations), + i && + (i.diameter && (l.diameter = i.diameter), + i.strokeWidth && (l.strokeWidth = i.strokeWidth)), + e.nativeElement.classList.add( + "mat-progress-spinner-indeterminate" + + (l._fallbackAnimation ? "-fallback" : "") + + "-animation" + ), + l + ); + } + return ( + Object(o.__extends)(n, t), + Object.defineProperty(n.prototype, "diameter", { + get: function() { + return this._diameter; + }, + set: function(t) { + if (((this._diameter = cf(t)), !this._fallbackAnimation)) { + var e = n._diameters.get(this._styleRoot); + (e && e.has(this._diameter)) || this._attachStyleNode(); + } + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "strokeWidth", { + get: function() { + return this._strokeWidth || this.diameter / 10; + }, + set: function(t) { + this._strokeWidth = cf(t); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "value", { + get: function() { + return "determinate" === this.mode ? this._value : 0; + }, + set: function(t) { + this._value = Math.max(0, Math.min(100, cf(t))); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "_circleRadius", { + get: function() { + return (this.diameter - 10) / 2; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "_viewBox", { + get: function() { + var t = 2 * this._circleRadius + this.strokeWidth; + return "0 0 " + t + " " + t; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "_strokeCircumference", { + get: function() { + return 2 * Math.PI * this._circleRadius; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "_strokeDashOffset", { + get: function() { + return "determinate" === this.mode + ? (this._strokeCircumference * (100 - this._value)) / 100 + : this._fallbackAnimation && "indeterminate" === this.mode + ? 0.2 * this._strokeCircumference + : null; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "_circleStrokeWidth", { + get: function() { + return (this.strokeWidth / this.diameter) * 100; + }, + enumerable: !0, + configurable: !0 + }), + (n.prototype._attachStyleNode = function() { + var t = this._document.createElement("style"), + e = this._styleRoot, + o = this._diameter, + a = n._diameters, + r = a.get(e); + t.setAttribute("mat-spinner-animation", o + ""), + (t.textContent = this._getAnimationText()), + e.appendChild(t), + r || ((r = new Set()), a.set(e, r)), + r.add(o); + }), + (n.prototype._getAnimationText = function() { + return "\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n" + .replace(/START_VALUE/g, "" + 0.95 * this._strokeCircumference) + .replace(/END_VALUE/g, "" + 0.2 * this._strokeCircumference) + .replace(/DIAMETER/g, "" + this.diameter); + }), + (n._diameters = new WeakMap()), + n + ); + })(Vk), + qk = (function(t) { + function n(n, e, o, a, r) { + var i = t.call(this, n, e, o, a, r) || this; + return (i.mode = "indeterminate"), i; + } + return Object(o.__extends)(n, t), n; + })(Uk), + Kk = (function() { + return function() {}; + })(), + Yk = So({ + encapsulation: 2, + styles: [ + ".mat-progress-spinner{display:block;position:relative}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2s linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4s;animation-timing-function:cubic-bezier(.35,0,.25,1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{animation:mat-progress-spinner-stroke-rotate-fallback 10s cubic-bezier(.87,.03,.33,1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.60617px;transform:rotate(0)}12.5%{stroke-dashoffset:56.54867px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.60617px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.54867px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.60617px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.54867px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.60617px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.54867px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}" + ], + data: {} + }); + function Wk(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 0, + ":svg:circle", + [["cx", "50%"], ["cy", "50%"]], + [ + [1, "r", 0], + [4, "animation-name", null], + [4, "stroke-dashoffset", "px"], + [4, "stroke-dasharray", "px"], + [4, "stroke-width", "%"] + ], + null, + null, + null, + null + )) + ], + null, + function(t, n) { + var e = n.component; + t( + n, + 0, + 0, + e._circleRadius, + "mat-progress-spinner-stroke-rotate-" + e.diameter, + e._strokeDashOffset, + e._strokeCircumference, + e._circleStrokeWidth + ); + } + ); + } + function Gk(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 0, + ":svg:circle", + [["cx", "50%"], ["cy", "50%"]], + [ + [1, "r", 0], + [4, "stroke-dashoffset", "px"], + [4, "stroke-dasharray", "px"], + [4, "stroke-width", "%"] + ], + null, + null, + null, + null + )) + ], + null, + function(t, n) { + var e = n.component; + t( + n, + 0, + 0, + e._circleRadius, + e._strokeDashOffset, + e._strokeCircumference, + e._circleStrokeWidth + ); + } + ); + } + function Zk(t) { + return Di( + 2, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 5, + ":svg:svg", + [ + ["focusable", "false"], + ["preserveAspectRatio", "xMidYMid meet"] + ], + [[4, "width", "px"], [4, "height", "px"], [1, "viewBox", 0]], + null, + null, + null, + null + )), + Ba(1, 16384, null, 0, Ms, [], { ngSwitch: [0, "ngSwitch"] }, null), + (t()(), hi(16777216, null, null, 1, null, Wk)), + Ba( + 3, + 278528, + null, + 0, + xs, + [so, io, Ms], + { ngSwitchCase: [0, "ngSwitchCase"] }, + null + ), + (t()(), hi(16777216, null, null, 1, null, Gk)), + Ba( + 5, + 278528, + null, + 0, + xs, + [so, io, Ms], + { ngSwitchCase: [0, "ngSwitchCase"] }, + null + ) + ], + function(t, n) { + t(n, 1, 0, "indeterminate" === n.component.mode), + t(n, 3, 0, !0), + t(n, 5, 0, !1); + }, + function(t, n) { + var e = n.component; + t(n, 0, 0, e.diameter, e.diameter, e._viewBox); + } + ); + } + var Qk = So({ + encapsulation: 2, + styles: [ + ".mat-progress-spinner{display:block;position:relative}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2s linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4s;animation-timing-function:cubic-bezier(.35,0,.25,1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{animation:mat-progress-spinner-stroke-rotate-fallback 10s cubic-bezier(.87,.03,.33,1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.60617px;transform:rotate(0)}12.5%{stroke-dashoffset:56.54867px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.60617px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.54867px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.60617px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.54867px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.60617px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.54867px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}" + ], + data: {} + }); + function Xk(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 0, + ":svg:circle", + [["cx", "50%"], ["cy", "50%"]], + [ + [1, "r", 0], + [4, "animation-name", null], + [4, "stroke-dashoffset", "px"], + [4, "stroke-dasharray", "px"], + [4, "stroke-width", "%"] + ], + null, + null, + null, + null + )) + ], + null, + function(t, n) { + var e = n.component; + t( + n, + 0, + 0, + e._circleRadius, + "mat-progress-spinner-stroke-rotate-" + e.diameter, + e._strokeDashOffset, + e._strokeCircumference, + e._circleStrokeWidth + ); + } + ); + } + function Jk(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 0, + ":svg:circle", + [["cx", "50%"], ["cy", "50%"]], + [ + [1, "r", 0], + [4, "stroke-dashoffset", "px"], + [4, "stroke-dasharray", "px"], + [4, "stroke-width", "%"] + ], + null, + null, + null, + null + )) + ], + null, + function(t, n) { + var e = n.component; + t( + n, + 0, + 0, + e._circleRadius, + e._strokeDashOffset, + e._strokeCircumference, + e._circleStrokeWidth + ); + } + ); + } + function $k(t) { + return Di( + 2, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 5, + ":svg:svg", + [ + ["focusable", "false"], + ["preserveAspectRatio", "xMidYMid meet"] + ], + [[4, "width", "px"], [4, "height", "px"], [1, "viewBox", 0]], + null, + null, + null, + null + )), + Ba(1, 16384, null, 0, Ms, [], { ngSwitch: [0, "ngSwitch"] }, null), + (t()(), hi(16777216, null, null, 1, null, Xk)), + Ba( + 3, + 278528, + null, + 0, + xs, + [so, io, Ms], + { ngSwitchCase: [0, "ngSwitchCase"] }, + null + ), + (t()(), hi(16777216, null, null, 1, null, Jk)), + Ba( + 5, + 278528, + null, + 0, + xs, + [so, io, Ms], + { ngSwitchCase: [0, "ngSwitchCase"] }, + null + ) + ], + function(t, n) { + t(n, 1, 0, "indeterminate" === n.component.mode), + t(n, 3, 0, !0), + t(n, 5, 0, !1); + }, + function(t, n) { + var e = n.component; + t(n, 0, 0, e.diameter, e.diameter, e._viewBox); + } + ); + } + var tw = (function() { + function t() { + this.update = new ar(); + } + return ( + (t.prototype.ngOnInit = function() {}), + (t.prototype.down = function() { + (this.reader.MaxSongs = + this.reader.MaxSongs < 1 ? 0 : this.reader.MaxSongs - 10), + this.update.emit(); + }), + (t.prototype.up = function() { + (this.reader.MaxSongs = + this.reader.MaxSongs > 199 ? 200 : this.reader.MaxSongs + 10), + this.update.emit(); + }), + t + ); + })(), + nw = So({ + encapsulation: 0, + styles: [ + [ + ".vertical-align[_ngcontent-%COMP%], .vertical-align[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{vertical-align:middle;font-size:1.2em;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.number[_ngcontent-%COMP%]{width:28px;display:inline-block;text-align:center;margin-left:-4px}" + ] + ], + data: {} + }); + function ew(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 8, + "div", + [["class", "vertical-align"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 1, + 0, + null, + null, + 2, + "mat-icon", + [["class", "mat-icon notranslate"], ["role", "img"]], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + [[null, "click"]], + function(t, n, e) { + var o = !0; + return "click" === n && (o = !1 !== t.component.down() && o), o; + }, + Yh, + Kh + )), + Ba( + 2, + 9158656, + null, + 0, + Uh, + [Ne, Nh, [8, null], [2, Fh]], + null, + null + ), + (t()(), Ai(-1, 0, ["navigate_before"])), + (t()(), + bi( + 4, + 0, + null, + null, + 1, + "div", + [["class", "number"]], + null, + null, + null, + null, + null + )), + (t()(), Ai(5, null, ["", ""])), + (t()(), + bi( + 6, + 0, + null, + null, + 2, + "mat-icon", + [["class", "mat-icon notranslate"], ["role", "img"]], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + [[null, "click"]], + function(t, n, e) { + var o = !0; + return "click" === n && (o = !1 !== t.component.up() && o), o; + }, + Yh, + Kh + )), + Ba( + 7, + 9158656, + null, + 0, + Uh, + [Ne, Nh, [8, null], [2, Fh]], + null, + null + ), + (t()(), Ai(-1, 0, ["navigate_next"])) + ], + function(t, n) { + t(n, 2, 0), t(n, 7, 0); + }, + function(t, n) { + var e = n.component; + t( + n, + 1, + 0, + wa(n, 2).inline, + "primary" !== wa(n, 2).color && + "accent" !== wa(n, 2).color && + "warn" !== wa(n, 2).color + ), + t( + n, + 5, + 0, + 0 === e.reader.MaxSongs ? "\u221e" : e.reader.MaxSongs + ), + t( + n, + 6, + 0, + wa(n, 7).inline, + "primary" !== wa(n, 7).color && + "accent" !== wa(n, 7).color && + "warn" !== wa(n, 7).color + ); + } + ); + } + var ow = new Ut("mat-slide-toggle-default-options", { + providedIn: "root", + factory: function() { + return { disableToggleValue: !1, disableDragValue: !1 }; + } + }), + aw = 0, + rw = (function() { + return function(t, n) { + (this.source = t), (this.checked = n); + }; + })(), + iw = (function(t) { + function n(n, e, o, a, r, i, l, s) { + var c = t.call(this, n) || this; + return ( + (c._focusMonitor = e), + (c._changeDetectorRef = o), + (c._ngZone = r), + (c.defaults = i), + (c._animationMode = l), + (c._dir = s), + (c._onChange = function(t) {}), + (c._onTouched = function() {}), + (c._uniqueId = "mat-slide-toggle-" + ++aw), + (c._required = !1), + (c._checked = !1), + (c._dragging = !1), + (c.name = null), + (c.id = c._uniqueId), + (c.labelPosition = "after"), + (c.ariaLabel = null), + (c.ariaLabelledby = null), + (c.change = new ar()), + (c.toggleChange = new ar()), + (c.dragChange = new ar()), + (c.tabIndex = parseInt(a) || 0), + c + ); + } + return ( + Object(o.__extends)(n, t), + Object.defineProperty(n.prototype, "required", { + get: function() { + return this._required; + }, + set: function(t) { + this._required = sf(t); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "checked", { + get: function() { + return this._checked; + }, + set: function(t) { + (this._checked = sf(t)), this._changeDetectorRef.markForCheck(); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "inputId", { + get: function() { + return (this.id || this._uniqueId) + "-input"; + }, + enumerable: !0, + configurable: !0 + }), + (n.prototype.ngAfterContentInit = function() { + var t = this; + this._focusMonitor + .monitor(this._elementRef, !0) + .subscribe(function(n) { + n || + Promise.resolve().then(function() { + return t._onTouched(); + }); + }); + }), + (n.prototype.ngOnDestroy = function() { + this._focusMonitor.stopMonitoring(this._elementRef); + }), + (n.prototype._onChangeEvent = function(t) { + t.stopPropagation(), + this._dragging || this.toggleChange.emit(), + this._dragging || this.defaults.disableToggleValue + ? (this._inputElement.nativeElement.checked = this.checked) + : ((this.checked = this._inputElement.nativeElement.checked), + this._emitChangeEvent()); + }), + (n.prototype._onInputClick = function(t) { + t.stopPropagation(); + }), + (n.prototype.writeValue = function(t) { + this.checked = !!t; + }), + (n.prototype.registerOnChange = function(t) { + this._onChange = t; + }), + (n.prototype.registerOnTouched = function(t) { + this._onTouched = t; + }), + (n.prototype.setDisabledState = function(t) { + (this.disabled = t), this._changeDetectorRef.markForCheck(); + }), + (n.prototype.focus = function() { + this._focusMonitor.focusVia(this._inputElement, "keyboard"); + }), + (n.prototype.toggle = function() { + (this.checked = !this.checked), this._onChange(this.checked); + }), + (n.prototype._emitChangeEvent = function() { + this._onChange(this.checked), + this.change.emit(new rw(this, this.checked)); + }), + (n.prototype._getDragPercentage = function(t) { + var n = (t / this._thumbBarWidth) * 100; + return ( + this._previousChecked && (n += 100), + Math.max(0, Math.min(n, 100)) + ); + }), + (n.prototype._onDragStart = function() { + if (!this.disabled && !this._dragging) { + var t = this._thumbEl.nativeElement; + (this._thumbBarWidth = + this._thumbBarEl.nativeElement.clientWidth - t.clientWidth), + t.classList.add("mat-dragging"), + (this._previousChecked = this.checked), + (this._dragging = !0); + } + }), + (n.prototype._onDrag = function(t) { + if (this._dragging) { + var n = this._dir && "rtl" === this._dir.value ? -1 : 1; + (this._dragPercentage = this._getDragPercentage(t.deltaX * n)), + (this._thumbEl.nativeElement.style.transform = + "translate3d(" + + (this._dragPercentage / 100) * this._thumbBarWidth * n + + "px, 0, 0)"); + } + }), + (n.prototype._onDragEnd = function() { + var t = this; + if (this._dragging) { + var n = this._dragPercentage > 50; + n !== this.checked && + (this.dragChange.emit(), + this.defaults.disableDragValue || + ((this.checked = n), this._emitChangeEvent())), + this._ngZone.runOutsideAngular(function() { + return setTimeout(function() { + t._dragging && + ((t._dragging = !1), + t._thumbEl.nativeElement.classList.remove( + "mat-dragging" + ), + (t._thumbEl.nativeElement.style.transform = "")); + }); + }); + } + }), + (n.prototype._onLabelTextChange = function() { + this._changeDetectorRef.detectChanges(); + }), + n + ); + })( + eh( + th( + nh( + $f( + (function() { + return function(t) { + this._elementRef = t; + }; + })() + ) + ), + "accent" + ) + ) + ), + lw = (function() { + return function() {}; + })(), + sw = So({ + encapsulation: 2, + styles: [ + ".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px,0,0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px,0,0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}.mat-slide-toggle-bar,[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-right:8px;margin-left:0}.mat-slide-toggle-label-before .mat-slide-toggle-bar,[dir=rtl] .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0,0,0);transition:all 80ms linear;transition-property:transform;cursor:-webkit-grab;cursor:grab}.mat-slide-toggle-thumb-container.mat-dragging{transition-duration:0s}.mat-slide-toggle-thumb-container:active{cursor:-webkit-grabbing;cursor:grabbing}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media (hover:none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}@media (-ms-high-contrast:active){.mat-slide-toggle-thumb{background:#fff;border:1px solid #000}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background:#000;border:1px solid #fff}.mat-slide-toggle-bar{background:#fff}.mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:1px dotted;outline-offset:5px}}@media (-ms-high-contrast:black-on-white){.mat-slide-toggle-bar{border:1px solid #000}}" + ], + data: {} + }); + function cw(t) { + return Di( + 2, + [ + Oi(671088640, 1, { _thumbEl: 0 }), + Oi(671088640, 2, { _thumbBarEl: 0 }), + Oi(671088640, 3, { _inputElement: 0 }), + (t()(), + bi( + 3, + 0, + [["label", 1]], + null, + 13, + "label", + [["class", "mat-slide-toggle-label"]], + [[1, "for", 0]], + null, + null, + null, + null + )), + (t()(), + bi( + 4, + 0, + [[2, 0], ["toggleBar", 1]], + null, + 7, + "div", + [["class", "mat-slide-toggle-bar"]], + [[2, "mat-slide-toggle-bar-no-side-margin", null]], + null, + null, + null, + null + )), + (t()(), + bi( + 5, + 0, + [[3, 0], ["input", 1]], + null, + 0, + "input", + [ + ["class", "mat-slide-toggle-input cdk-visually-hidden"], + ["role", "switch"], + ["type", "checkbox"] + ], + [ + [8, "id", 0], + [8, "required", 0], + [8, "tabIndex", 0], + [8, "checked", 0], + [8, "disabled", 0], + [1, "name", 0], + [1, "aria-checked", 0], + [1, "aria-label", 0], + [1, "aria-labelledby", 0] + ], + [[null, "change"], [null, "click"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "change" === n && (o = !1 !== a._onChangeEvent(e) && o), + "click" === n && (o = !1 !== a._onInputClick(e) && o), + o + ); + }, + null, + null + )), + (t()(), + bi( + 6, + 0, + [[1, 0], ["thumbContainer", 1]], + null, + 5, + "div", + [["class", "mat-slide-toggle-thumb-container"]], + null, + [[null, "slidestart"], [null, "slide"], [null, "slideend"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "slidestart" === n && (o = !1 !== a._onDragStart() && o), + "slide" === n && (o = !1 !== a._onDrag(e) && o), + "slideend" === n && (o = !1 !== a._onDragEnd() && o), + o + ); + }, + null, + null + )), + (t()(), + bi( + 7, + 0, + null, + null, + 0, + "div", + [["class", "mat-slide-toggle-thumb"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 8, + 0, + null, + null, + 3, + "div", + [ + ["class", "mat-slide-toggle-ripple mat-ripple"], + ["mat-ripple", ""] + ], + [[2, "mat-ripple-unbounded", null]], + null, + null, + null, + null + )), + Ba( + 9, + 212992, + null, + 0, + yh, + [Ne, Dr, ff, [2, _h], [2, Py]], + { + centered: [0, "centered"], + radius: [1, "radius"], + animation: [2, "animation"], + disabled: [3, "disabled"], + trigger: [4, "trigger"] + }, + null + ), + Ei(10, { enterDuration: 0 }), + (t()(), + bi( + 11, + 0, + null, + null, + 0, + "div", + [ + [ + "class", + "mat-ripple-element mat-slide-toggle-persistent-ripple" + ] + ], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 12, + 0, + [["labelContent", 1]], + null, + 4, + "span", + [["class", "mat-slide-toggle-content"]], + null, + [[null, "cdkObserveContent"]], + function(t, n, e) { + var o = !0; + return ( + "cdkObserveContent" === n && + (o = !1 !== t.component._onLabelTextChange() && o), + o + ); + }, + null, + null + )), + Ba(13, 1196032, null, 0, BO, [FO, Ne, Dr], null, { + event: "cdkObserveContent" + }), + (t()(), + bi( + 14, + 0, + null, + null, + 1, + "span", + [["style", "display:none"]], + null, + null, + null, + null, + null + )), + (t()(), Ai(-1, null, ["\xa0"])), + wi(null, 0) + ], + function(t, n) { + var e = n.component, + o = t(n, 10, 0, 150); + t(n, 9, 0, !0, 20, o, e.disableRipple || e.disabled, wa(n, 3)); + }, + function(t, n) { + var e = n.component; + t(n, 3, 0, e.inputId), + t( + n, + 4, + 0, + !wa(n, 12).textContent || !wa(n, 12).textContent.trim() + ), + t( + n, + 5, + 0, + e.inputId, + e.required, + e.tabIndex, + e.checked, + e.disabled, + e.name, + e.checked.toString(), + e.ariaLabel, + e.ariaLabelledby + ), + t(n, 8, 0, wa(n, 9).unbounded); + } + ); + } + var uw = (function(t) { + function n(n, e, o, a) { + var r = t.call(this, n) || this; + return ( + (r._elementRef = n), + (r._ngZone = e), + (r._hasFocus = !1), + (r.chipListSelectable = !0), + (r._chipListMultiple = !1), + (r._selected = !1), + (r._selectable = !0), + (r._removable = !0), + (r._onFocus = new S()), + (r._onBlur = new S()), + (r.selectionChange = new ar()), + (r.destroyed = new ar()), + (r.removed = new ar()), + r._addHostClassName(), + (r._chipRipple = new bh(r, e, n, o)), + r._chipRipple.setupTriggerEvents(n.nativeElement), + (r.rippleConfig = a || {}), + r + ); + } + return ( + Object(o.__extends)(n, t), + Object.defineProperty(n.prototype, "rippleDisabled", { + get: function() { + return ( + this.disabled || + this.disableRipple || + !!this.rippleConfig.disabled + ); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "selected", { + get: function() { + return this._selected; + }, + set: function(t) { + var n = sf(t); + n !== this._selected && + ((this._selected = n), this._dispatchSelectionChange()); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "value", { + get: function() { + return null != this._value + ? this._value + : this._elementRef.nativeElement.textContent; + }, + set: function(t) { + this._value = t; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "selectable", { + get: function() { + return this._selectable && this.chipListSelectable; + }, + set: function(t) { + this._selectable = sf(t); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "removable", { + get: function() { + return this._removable; + }, + set: function(t) { + this._removable = sf(t); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "ariaSelected", { + get: function() { + return this.selectable && + (this._chipListMultiple || this.selected) + ? this.selected.toString() + : null; + }, + enumerable: !0, + configurable: !0 + }), + (n.prototype._addHostClassName = function() { + var t = this._elementRef.nativeElement; + t.hasAttribute("mat-basic-chip") || + "mat-basic-chip" === t.tagName.toLowerCase() + ? t.classList.add("mat-basic-chip") + : t.classList.add("mat-standard-chip"); + }), + (n.prototype.ngOnDestroy = function() { + this.destroyed.emit({ chip: this }), + this._chipRipple._removeTriggerEvents(); + }), + (n.prototype.select = function() { + this._selected || + ((this._selected = !0), this._dispatchSelectionChange()); + }), + (n.prototype.deselect = function() { + this._selected && + ((this._selected = !1), this._dispatchSelectionChange()); + }), + (n.prototype.selectViaInteraction = function() { + this._selected || + ((this._selected = !0), this._dispatchSelectionChange(!0)); + }), + (n.prototype.toggleSelected = function(t) { + return ( + void 0 === t && (t = !1), + (this._selected = !this.selected), + this._dispatchSelectionChange(t), + this.selected + ); + }), + (n.prototype.focus = function() { + this._hasFocus || + (this._elementRef.nativeElement.focus(), + this._onFocus.next({ chip: this })), + (this._hasFocus = !0); + }), + (n.prototype.remove = function() { + this.removable && this.removed.emit({ chip: this }); + }), + (n.prototype._handleClick = function(t) { + this.disabled ? t.preventDefault() : t.stopPropagation(); + }), + (n.prototype._handleKeydown = function(t) { + if (!this.disabled) + switch (t.keyCode) { + case 46: + case 8: + this.remove(), t.preventDefault(); + break; + case 32: + this.selectable && this.toggleSelected(!0), + t.preventDefault(); + } + }), + (n.prototype._blur = function() { + var t = this; + this._ngZone.onStable + .asObservable() + .pipe(Yc(1)) + .subscribe(function() { + t._ngZone.run(function() { + (t._hasFocus = !1), t._onBlur.next({ chip: t }); + }); + }); + }), + (n.prototype._dispatchSelectionChange = function(t) { + void 0 === t && (t = !1), + this.selectionChange.emit({ + source: this, + isUserInput: t, + selected: this._selected + }); + }), + n + ); + })( + th( + nh( + $f( + (function() { + return function(t) { + this._elementRef = t; + }; + })() + ) + ), + "primary" + ) + ), + dw = (function() { + function t(t) { + this._parentChip = t; + } + return ( + (t.prototype._handleClick = function(t) { + var n = this._parentChip; + n.removable && !n.disabled && n.remove(), t.stopPropagation(); + }), + t + ); + })(), + pw = new Ut("mat-chips-default-options"), + mw = oh( + (function() { + return function(t, n, e, o) { + (this._defaultErrorStateMatcher = t), + (this._parentForm = n), + (this._parentFormGroup = e), + (this.ngControl = o); + }; + })() + ), + gw = 0, + fw = (function() { + return function(t, n) { + (this.source = t), (this.value = n); + }; + })(), + hw = (function(t) { + function n(n, e, o, a, r, i, l) { + var s = t.call(this, i, a, r, l) || this; + return ( + (s._elementRef = n), + (s._changeDetectorRef = e), + (s._dir = o), + (s.ngControl = l), + (s.controlType = "mat-chip-list"), + (s._lastDestroyedChipIndex = null), + (s._destroyed = new S()), + (s._uid = "mat-chip-list-" + gw++), + (s._tabIndex = 0), + (s._userTabIndex = null), + (s._onTouched = function() {}), + (s._onChange = function() {}), + (s._multiple = !1), + (s._compareWith = function(t, n) { + return t === n; + }), + (s._required = !1), + (s._disabled = !1), + (s.ariaOrientation = "horizontal"), + (s._selectable = !0), + (s.change = new ar()), + (s.valueChange = new ar()), + s.ngControl && (s.ngControl.valueAccessor = s), + s + ); + } + return ( + Object(o.__extends)(n, t), + Object.defineProperty(n.prototype, "selected", { + get: function() { + return this.multiple + ? this._selectionModel.selected + : this._selectionModel.selected[0]; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "role", { + get: function() { + return this.empty ? null : "listbox"; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "multiple", { + get: function() { + return this._multiple; + }, + set: function(t) { + (this._multiple = sf(t)), this._syncChipsState(); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "compareWith", { + get: function() { + return this._compareWith; + }, + set: function(t) { + (this._compareWith = t), + this._selectionModel && this._initializeSelection(); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "value", { + get: function() { + return this._value; + }, + set: function(t) { + this.writeValue(t), (this._value = t); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "id", { + get: function() { + return this._chipInput ? this._chipInput.id : this._uid; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "required", { + get: function() { + return this._required; + }, + set: function(t) { + (this._required = sf(t)), this.stateChanges.next(); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "placeholder", { + get: function() { + return this._chipInput + ? this._chipInput.placeholder + : this._placeholder; + }, + set: function(t) { + (this._placeholder = t), this.stateChanges.next(); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "focused", { + get: function() { + return ( + (this._chipInput && this._chipInput.focused) || + this._hasFocusedChip() + ); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "empty", { + get: function() { + return ( + (!this._chipInput || this._chipInput.empty) && + 0 === this.chips.length + ); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "shouldLabelFloat", { + get: function() { + return !this.empty || this.focused; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "disabled", { + get: function() { + return this.ngControl + ? !!this.ngControl.disabled + : this._disabled; + }, + set: function(t) { + (this._disabled = sf(t)), this._syncChipsState(); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "selectable", { + get: function() { + return this._selectable; + }, + set: function(t) { + var n = this; + (this._selectable = sf(t)), + this.chips && + this.chips.forEach(function(t) { + return (t.chipListSelectable = n._selectable); + }); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "tabIndex", { + set: function(t) { + (this._userTabIndex = t), (this._tabIndex = t); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "chipSelectionChanges", { + get: function() { + return $.apply( + void 0, + this.chips.map(function(t) { + return t.selectionChange; + }) + ); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "chipFocusChanges", { + get: function() { + return $.apply( + void 0, + this.chips.map(function(t) { + return t._onFocus; + }) + ); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "chipBlurChanges", { + get: function() { + return $.apply( + void 0, + this.chips.map(function(t) { + return t._onBlur; + }) + ); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "chipRemoveChanges", { + get: function() { + return $.apply( + void 0, + this.chips.map(function(t) { + return t.destroyed; + }) + ); + }, + enumerable: !0, + configurable: !0 + }), + (n.prototype.ngAfterContentInit = function() { + var t = this; + (this._keyManager = new Bf(this.chips) + .withWrap() + .withVerticalOrientation() + .withHorizontalOrientation( + this._dir ? this._dir.value : "ltr" + )), + this._dir && + this._dir.change + .pipe(oC(this._destroyed)) + .subscribe(function(n) { + return t._keyManager.withHorizontalOrientation(n); + }), + this._keyManager.tabOut + .pipe(oC(this._destroyed)) + .subscribe(function() { + t._allowFocusEscape(); + }), + this.chips.changes + .pipe( + nu(null), + oC(this._destroyed) + ) + .subscribe(function() { + t.disabled && + Promise.resolve().then(function() { + t._syncChipsState(); + }), + t._resetChips(), + t._initializeSelection(), + t._updateTabIndex(), + t._updateFocusForDestroyedChips(), + t.stateChanges.next(); + }); + }), + (n.prototype.ngOnInit = function() { + (this._selectionModel = new bC(this.multiple, void 0, !1)), + this.stateChanges.next(); + }), + (n.prototype.ngDoCheck = function() { + this.ngControl && this.updateErrorState(); + }), + (n.prototype.ngOnDestroy = function() { + this._destroyed.next(), + this._destroyed.complete(), + this.stateChanges.complete(), + this._dropSubscriptions(); + }), + (n.prototype.registerInput = function(t) { + this._chipInput = t; + }), + (n.prototype.setDescribedByIds = function(t) { + this._ariaDescribedby = t.join(" "); + }), + (n.prototype.writeValue = function(t) { + this.chips && this._setSelectionByValue(t, !1); + }), + (n.prototype.registerOnChange = function(t) { + this._onChange = t; + }), + (n.prototype.registerOnTouched = function(t) { + this._onTouched = t; + }), + (n.prototype.setDisabledState = function(t) { + (this.disabled = t), this.stateChanges.next(); + }), + (n.prototype.onContainerClick = function(t) { + this._originatesFromChip(t) || this.focus(); + }), + (n.prototype.focus = function() { + this.disabled || + (this._chipInput && this._chipInput.focused) || + (this.chips.length > 0 + ? (this._keyManager.setFirstItemActive(), + this.stateChanges.next()) + : (this._focusInput(), this.stateChanges.next())); + }), + (n.prototype._focusInput = function() { + this._chipInput && this._chipInput.focus(); + }), + (n.prototype._keydown = function(t) { + var n = t.target; + 8 === t.keyCode && this._isInputEmpty(n) + ? (this._keyManager.setLastItemActive(), t.preventDefault()) + : n && + n.classList.contains("mat-chip") && + (36 === t.keyCode + ? (this._keyManager.setFirstItemActive(), + t.preventDefault()) + : 35 === t.keyCode + ? (this._keyManager.setLastItemActive(), t.preventDefault()) + : this._keyManager.onKeydown(t), + this.stateChanges.next()); + }), + (n.prototype._updateTabIndex = function() { + this._tabIndex = + this._userTabIndex || (0 === this.chips.length ? -1 : 0); + }), + (n.prototype._updateFocusForDestroyedChips = function() { + if (null != this._lastDestroyedChipIndex) + if (this.chips.length) { + var t = Math.min( + this._lastDestroyedChipIndex, + this.chips.length - 1 + ); + this._keyManager.setActiveItem(t); + } else this.focus(); + this._lastDestroyedChipIndex = null; + }), + (n.prototype._isValidIndex = function(t) { + return t >= 0 && t < this.chips.length; + }), + (n.prototype._isInputEmpty = function(t) { + return !(!t || "input" !== t.nodeName.toLowerCase() || t.value); + }), + (n.prototype._setSelectionByValue = function(t, n) { + var e = this; + if ( + (void 0 === n && (n = !0), + this._clearSelection(), + this.chips.forEach(function(t) { + return t.deselect(); + }), + Array.isArray(t)) + ) + t.forEach(function(t) { + return e._selectValue(t, n); + }), + this._sortValues(); + else { + var o = this._selectValue(t, n); + o && n && this._keyManager.setActiveItem(o); + } + }), + (n.prototype._selectValue = function(t, n) { + var e = this; + void 0 === n && (n = !0); + var o = this.chips.find(function(n) { + return null != n.value && e._compareWith(n.value, t); + }); + return ( + o && + (n ? o.selectViaInteraction() : o.select(), + this._selectionModel.select(o)), + o + ); + }), + (n.prototype._initializeSelection = function() { + var t = this; + Promise.resolve().then(function() { + (t.ngControl || t._value) && + (t._setSelectionByValue( + t.ngControl ? t.ngControl.value : t._value, + !1 + ), + t.stateChanges.next()); + }); + }), + (n.prototype._clearSelection = function(t) { + this._selectionModel.clear(), + this.chips.forEach(function(n) { + n !== t && n.deselect(); + }), + this.stateChanges.next(); + }), + (n.prototype._sortValues = function() { + var t = this; + this._multiple && + (this._selectionModel.clear(), + this.chips.forEach(function(n) { + n.selected && t._selectionModel.select(n); + }), + this.stateChanges.next()); + }), + (n.prototype._propagateChanges = function(t) { + var n; + (n = Array.isArray(this.selected) + ? this.selected.map(function(t) { + return t.value; + }) + : this.selected + ? this.selected.value + : t), + (this._value = n), + this.change.emit(new fw(this, n)), + this.valueChange.emit(n), + this._onChange(n), + this._changeDetectorRef.markForCheck(); + }), + (n.prototype._blur = function() { + var t = this; + this._hasFocusedChip() || this._keyManager.setActiveItem(-1), + this.disabled || + (this._chipInput + ? setTimeout(function() { + t.focused || t._markAsTouched(); + }) + : this._markAsTouched()); + }), + (n.prototype._markAsTouched = function() { + this._onTouched(), + this._changeDetectorRef.markForCheck(), + this.stateChanges.next(); + }), + (n.prototype._allowFocusEscape = function() { + var t = this; + -1 !== this._tabIndex && + ((this._tabIndex = -1), + setTimeout(function() { + (t._tabIndex = t._userTabIndex || 0), + t._changeDetectorRef.markForCheck(); + })); + }), + (n.prototype._resetChips = function() { + this._dropSubscriptions(), + this._listenToChipsFocus(), + this._listenToChipsSelection(), + this._listenToChipsRemoved(); + }), + (n.prototype._dropSubscriptions = function() { + this._chipFocusSubscription && + (this._chipFocusSubscription.unsubscribe(), + (this._chipFocusSubscription = null)), + this._chipBlurSubscription && + (this._chipBlurSubscription.unsubscribe(), + (this._chipBlurSubscription = null)), + this._chipSelectionSubscription && + (this._chipSelectionSubscription.unsubscribe(), + (this._chipSelectionSubscription = null)), + this._chipRemoveSubscription && + (this._chipRemoveSubscription.unsubscribe(), + (this._chipRemoveSubscription = null)); + }), + (n.prototype._listenToChipsSelection = function() { + var t = this; + this._chipSelectionSubscription = this.chipSelectionChanges.subscribe( + function(n) { + n.source.selected + ? t._selectionModel.select(n.source) + : t._selectionModel.deselect(n.source), + t.multiple || + t.chips.forEach(function(n) { + !t._selectionModel.isSelected(n) && + n.selected && + n.deselect(); + }), + n.isUserInput && t._propagateChanges(); + } + ); + }), + (n.prototype._listenToChipsFocus = function() { + var t = this; + (this._chipFocusSubscription = this.chipFocusChanges.subscribe( + function(n) { + var e = t.chips.toArray().indexOf(n.chip); + t._isValidIndex(e) && t._keyManager.updateActiveItemIndex(e), + t.stateChanges.next(); + } + )), + (this._chipBlurSubscription = this.chipBlurChanges.subscribe( + function() { + t._blur(), t.stateChanges.next(); + } + )); + }), + (n.prototype._listenToChipsRemoved = function() { + var t = this; + this._chipRemoveSubscription = this.chipRemoveChanges.subscribe( + function(n) { + var e = n.chip, + o = t.chips.toArray().indexOf(n.chip); + t._isValidIndex(o) && + e._hasFocus && + (t._lastDestroyedChipIndex = o); + } + ); + }), + (n.prototype._originatesFromChip = function(t) { + for ( + var n = t.target; + n && n !== this._elementRef.nativeElement; + + ) { + if (n.classList.contains("mat-chip")) return !0; + n = n.parentElement; + } + return !1; + }), + (n.prototype._hasFocusedChip = function() { + return this.chips.some(function(t) { + return t._hasFocus; + }); + }), + (n.prototype._syncChipsState = function() { + var t = this; + this.chips && + this.chips.forEach(function(n) { + (n.disabled = t._disabled), + (n._chipListMultiple = t.multiple); + }); + }), + n + ); + })(mw), + bw = 0, + _w = (function() { + function t(t, n) { + (this._elementRef = t), + (this._defaultOptions = n), + (this.focused = !1), + (this._addOnBlur = !1), + (this.separatorKeyCodes = this._defaultOptions.separatorKeyCodes), + (this.chipEnd = new ar()), + (this.placeholder = ""), + (this.id = "mat-chip-list-input-" + bw++), + (this._disabled = !1), + (this._inputElement = this._elementRef.nativeElement); + } + return ( + Object.defineProperty(t.prototype, "chipList", { + set: function(t) { + t && ((this._chipList = t), this._chipList.registerInput(this)); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "addOnBlur", { + get: function() { + return this._addOnBlur; + }, + set: function(t) { + this._addOnBlur = sf(t); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "disabled", { + get: function() { + return ( + this._disabled || (this._chipList && this._chipList.disabled) + ); + }, + set: function(t) { + this._disabled = sf(t); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "empty", { + get: function() { + return !this._inputElement.value; + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.ngOnChanges = function() { + this._chipList.stateChanges.next(); + }), + (t.prototype._keydown = function(t) { + t && + 9 === t.keyCode && + !kf(t, "shiftKey") && + this._chipList._allowFocusEscape(), + this._emitChipEnd(t); + }), + (t.prototype._blur = function() { + this.addOnBlur && this._emitChipEnd(), + (this.focused = !1), + this._chipList.focused || this._chipList._blur(), + this._chipList.stateChanges.next(); + }), + (t.prototype._focus = function() { + (this.focused = !0), this._chipList.stateChanges.next(); + }), + (t.prototype._emitChipEnd = function(t) { + !this._inputElement.value && t && this._chipList._keydown(t), + (t && !this._isSeparatorKey(t)) || + (this.chipEnd.emit({ + input: this._inputElement, + value: this._inputElement.value + }), + t && t.preventDefault()); + }), + (t.prototype._onInput = function() { + this._chipList.stateChanges.next(); + }), + (t.prototype.focus = function() { + this._inputElement.focus(); + }), + (t.prototype._isSeparatorKey = function(t) { + if (kf(t)) return !1; + var n = this.separatorKeyCodes, + e = t.keyCode; + return Array.isArray(n) ? n.indexOf(e) > -1 : n.has(e); + }), + t + ); + })(), + yw = (function() { + return function() {}; + })(), + Cw = (function() { + return function() {}; + })(); + function vw(t) { + return Error("A hint was already declared for 'align=\"" + t + "\"'."); + } + var Ow = 0, + Pw = th( + (function() { + return function(t) { + this._elementRef = t; + }; + })(), + "primary" + ), + Mw = new Ut("MAT_FORM_FIELD_DEFAULT_OPTIONS"), + xw = (function(t) { + function n(n, e, o, a, r, i, l, s) { + var c = t.call(this, n) || this; + return ( + (c._elementRef = n), + (c._changeDetectorRef = e), + (c._dir = a), + (c._defaults = r), + (c._platform = i), + (c._ngZone = l), + (c._outlineGapCalculationNeededImmediately = !1), + (c._outlineGapCalculationNeededOnStable = !1), + (c._destroyed = new S()), + (c._showAlwaysAnimate = !1), + (c._subscriptAnimationState = ""), + (c._hintLabel = ""), + (c._hintLabelId = "mat-hint-" + Ow++), + (c._labelId = "mat-form-field-label-" + Ow++), + (c._labelOptions = o || {}), + (c.floatLabel = c._labelOptions.float || "auto"), + (c._animationsEnabled = "NoopAnimations" !== s), + (c.appearance = r && r.appearance ? r.appearance : "legacy"), + c + ); + } + return ( + Object(o.__extends)(n, t), + Object.defineProperty(n.prototype, "appearance", { + get: function() { + return this._appearance; + }, + set: function(t) { + var n = this._appearance; + (this._appearance = + t || + (this._defaults && this._defaults.appearance) || + "legacy"), + "outline" === this._appearance && + n !== t && + (this._outlineGapCalculationNeededOnStable = !0); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "hideRequiredMarker", { + get: function() { + return this._hideRequiredMarker; + }, + set: function(t) { + this._hideRequiredMarker = sf(t); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "_shouldAlwaysFloat", { + get: function() { + return "always" === this.floatLabel && !this._showAlwaysAnimate; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "_canLabelFloat", { + get: function() { + return "never" !== this.floatLabel; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "hintLabel", { + get: function() { + return this._hintLabel; + }, + set: function(t) { + (this._hintLabel = t), this._processHints(); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "floatLabel", { + get: function() { + return "legacy" !== this.appearance && + "never" === this._floatLabel + ? "auto" + : this._floatLabel; + }, + set: function(t) { + t !== this._floatLabel && + ((this._floatLabel = t || this._labelOptions.float || "auto"), + this._changeDetectorRef.markForCheck()); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "_control", { + get: function() { + return ( + this._explicitFormFieldControl || + this._controlNonStatic || + this._controlStatic + ); + }, + set: function(t) { + this._explicitFormFieldControl = t; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "_labelChild", { + get: function() { + return this._labelChildNonStatic || this._labelChildStatic; + }, + enumerable: !0, + configurable: !0 + }), + (n.prototype.getConnectedOverlayOrigin = function() { + return this._connectionContainerRef || this._elementRef; + }), + (n.prototype.ngAfterContentInit = function() { + var t = this; + this._validateControlChild(); + var n = this._control; + n.controlType && + this._elementRef.nativeElement.classList.add( + "mat-form-field-type-" + n.controlType + ), + n.stateChanges.pipe(nu(null)).subscribe(function() { + t._validatePlaceholders(), + t._syncDescribedByIds(), + t._changeDetectorRef.markForCheck(); + }), + n.ngControl && + n.ngControl.valueChanges && + n.ngControl.valueChanges + .pipe(oC(this._destroyed)) + .subscribe(function() { + return t._changeDetectorRef.markForCheck(); + }), + this._ngZone.runOutsideAngular(function() { + t._ngZone.onStable + .asObservable() + .pipe(oC(t._destroyed)) + .subscribe(function() { + t._outlineGapCalculationNeededOnStable && + t.updateOutlineGap(); + }); + }), + $( + this._prefixChildren.changes, + this._suffixChildren.changes + ).subscribe(function() { + (t._outlineGapCalculationNeededOnStable = !0), + t._changeDetectorRef.markForCheck(); + }), + this._hintChildren.changes.pipe(nu(null)).subscribe(function() { + t._processHints(), t._changeDetectorRef.markForCheck(); + }), + this._errorChildren.changes + .pipe(nu(null)) + .subscribe(function() { + t._syncDescribedByIds(), + t._changeDetectorRef.markForCheck(); + }), + this._dir && + this._dir.change + .pipe(oC(this._destroyed)) + .subscribe(function() { + return t.updateOutlineGap(); + }); + }), + (n.prototype.ngAfterContentChecked = function() { + this._validateControlChild(), + this._outlineGapCalculationNeededImmediately && + this.updateOutlineGap(); + }), + (n.prototype.ngAfterViewInit = function() { + (this._subscriptAnimationState = "enter"), + this._changeDetectorRef.detectChanges(); + }), + (n.prototype.ngOnDestroy = function() { + this._destroyed.next(), this._destroyed.complete(); + }), + (n.prototype._shouldForward = function(t) { + var n = this._control ? this._control.ngControl : null; + return n && n[t]; + }), + (n.prototype._hasPlaceholder = function() { + return !!( + (this._control && this._control.placeholder) || + this._placeholderChild + ); + }), + (n.prototype._hasLabel = function() { + return !!this._labelChild; + }), + (n.prototype._shouldLabelFloat = function() { + return ( + this._canLabelFloat && + (this._control.shouldLabelFloat || this._shouldAlwaysFloat) + ); + }), + (n.prototype._hideControlPlaceholder = function() { + return ( + ("legacy" === this.appearance && !this._hasLabel()) || + (this._hasLabel() && !this._shouldLabelFloat()) + ); + }), + (n.prototype._hasFloatingLabel = function() { + return ( + this._hasLabel() || + ("legacy" === this.appearance && this._hasPlaceholder()) + ); + }), + (n.prototype._getDisplayedMessages = function() { + return this._errorChildren && + this._errorChildren.length > 0 && + this._control.errorState + ? "error" + : "hint"; + }), + (n.prototype._animateAndLockLabel = function() { + var t = this; + this._hasFloatingLabel() && + this._canLabelFloat && + (this._animationsEnabled && + ((this._showAlwaysAnimate = !0), + Uy(this._label.nativeElement, "transitionend") + .pipe(Yc(1)) + .subscribe(function() { + t._showAlwaysAnimate = !1; + })), + (this.floatLabel = "always"), + this._changeDetectorRef.markForCheck()); + }), + (n.prototype._validatePlaceholders = function() { + if (this._control.placeholder && this._placeholderChild) + throw Error( + "Placeholder attribute and child element were both specified." + ); + }), + (n.prototype._processHints = function() { + this._validateHints(), this._syncDescribedByIds(); + }), + (n.prototype._validateHints = function() { + var t, + n, + e = this; + this._hintChildren && + this._hintChildren.forEach(function(o) { + if ("start" === o.align) { + if (t || e.hintLabel) throw vw("start"); + t = o; + } else if ("end" === o.align) { + if (n) throw vw("end"); + n = o; + } + }); + }), + (n.prototype._syncDescribedByIds = function() { + if (this._control) { + var t = []; + if ("hint" === this._getDisplayedMessages()) { + var n = this._hintChildren + ? this._hintChildren.find(function(t) { + return "start" === t.align; + }) + : null, + e = this._hintChildren + ? this._hintChildren.find(function(t) { + return "end" === t.align; + }) + : null; + n + ? t.push(n.id) + : this._hintLabel && t.push(this._hintLabelId), + e && t.push(e.id); + } else + this._errorChildren && + (t = this._errorChildren.map(function(t) { + return t.id; + })); + this._control.setDescribedByIds(t); + } + }), + (n.prototype._validateControlChild = function() { + if (!this._control) + throw Error( + "mat-form-field must contain a MatFormFieldControl." + ); + }), + (n.prototype.updateOutlineGap = function() { + var t = this._label ? this._label.nativeElement : null; + if ( + "outline" === this.appearance && + t && + t.children.length && + t.textContent.trim() && + this._platform.isBrowser + ) + if ( + document.documentElement.contains( + this._elementRef.nativeElement + ) + ) { + var n = 0, + e = 0, + o = this._connectionContainerRef.nativeElement, + a = o.querySelectorAll(".mat-form-field-outline-start"), + r = o.querySelectorAll(".mat-form-field-outline-gap"); + if ( + this._label && + this._label.nativeElement.children.length + ) { + var i = o.getBoundingClientRect(); + if (0 === i.width && 0 === i.height) + return ( + (this._outlineGapCalculationNeededOnStable = !0), + void (this._outlineGapCalculationNeededImmediately = !1) + ); + for ( + var l = this._getStartEnd(i), + s = this._getStartEnd( + t.children[0].getBoundingClientRect() + ), + c = 0, + u = 0, + d = t.children; + u < d.length; + u++ + ) + c += d[u].offsetWidth; + (n = s - l - 5), (e = c > 0 ? 0.75 * c + 10 : 0); + } + for (var p = 0; p < a.length; p++) + a.item(p).style.width = n + "px"; + for (p = 0; p < r.length; p++) + r.item(p).style.width = e + "px"; + this._outlineGapCalculationNeededOnStable = this._outlineGapCalculationNeededImmediately = !1; + } else this._outlineGapCalculationNeededImmediately = !0; + }), + (n.prototype._getStartEnd = function(t) { + return this._dir && "rtl" === this._dir.value ? t.right : t.left; + }), + n + ); + })(Pw), + kw = (function() { + return function() {}; + })(), + ww = So({ + encapsulation: 2, + styles: [ + ".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}@media (-ms-high-contrast:active){.mat-form-field-infix{border-image:linear-gradient(transparent,transparent)}}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform .4s cubic-bezier(.25,.8,.25,1),color .4s cubic-bezier(.25,.8,.25,1),width .4s cubic-bezier(.25,.8,.25,1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-empty.mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scaleY(1.0001)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(.5);opacity:0;transition:background-color .3s cubic-bezier(.55,0,.55,.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:scaleX(1);transition:transform .3s cubic-bezier(.25,.8,.25,1),opacity .1s cubic-bezier(.25,.8,.25,1),background-color .3s cubic-bezier(.25,.8,.25,1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-label-wrapper .mat-icon,.mat-form-field-subscript-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}", + ".mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}@media (-ms-high-contrast:active){.mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:'';display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}@media (-ms-high-contrast:active){.mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity .6s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}", + ".mat-input-element{font:inherit;background:0 0;color:currentColor;border:none;outline:0;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=month]::after,.mat-input-element[type=time]::after,.mat-input-element[type=week]::after{content:' ';white-space:pre;width:1px}.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button,.mat-input-element::-webkit-inner-spin-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:0 0}@media (-ms-high-contrast:active){.mat-focused select.mat-input-element::-ms-value{color:inherit}}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:'';width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}", + ".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}@media (-ms-high-contrast:active){.mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}@media (-ms-high-contrast:active){.mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}@media (-ms-high-contrast:active){.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}", + ".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-start{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start{border-width:2px;transition:border-color .3s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity .1s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity .6s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline{transition:none}", + ".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}@media (-ms-high-contrast:active){.mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}@media (-ms-high-contrast:active){.mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:2px}}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}@media (-ms-high-contrast:active){.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity .6s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}" + ], + data: { + animation: [ + { + type: 7, + name: "transitionMessages", + definitions: [ + { + type: 0, + name: "enter", + styles: { + type: 6, + styles: { opacity: 1, transform: "translateY(0%)" }, + offset: null + }, + options: void 0 + }, + { + type: 1, + expr: "void => enter", + animation: [ + { + type: 6, + styles: { opacity: 0, transform: "translateY(-100%)" }, + offset: null + }, + { + type: 4, + styles: null, + timings: "300ms cubic-bezier(0.55, 0, 0.55, 0.2)" + } + ], + options: null + } + ], + options: {} + } + ] + } + }); + function Sw(t) { + return Di( + 0, + [ + (t()(), + bi(0, 0, null, null, 8, null, null, null, null, null, null, null)), + (t()(), + bi( + 1, + 0, + null, + null, + 3, + "div", + [["class", "mat-form-field-outline"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 2, + 0, + null, + null, + 0, + "div", + [["class", "mat-form-field-outline-start"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 3, + 0, + null, + null, + 0, + "div", + [["class", "mat-form-field-outline-gap"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 4, + 0, + null, + null, + 0, + "div", + [["class", "mat-form-field-outline-end"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 5, + 0, + null, + null, + 3, + "div", + [ + ["class", "mat-form-field-outline mat-form-field-outline-thick"] + ], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 6, + 0, + null, + null, + 0, + "div", + [["class", "mat-form-field-outline-start"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 7, + 0, + null, + null, + 0, + "div", + [["class", "mat-form-field-outline-gap"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 8, + 0, + null, + null, + 0, + "div", + [["class", "mat-form-field-outline-end"]], + null, + null, + null, + null, + null + )) + ], + null, + null + ); + } + function Ew(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "div", + [["class", "mat-form-field-prefix"]], + null, + null, + null, + null, + null + )), + wi(null, 0) + ], + null, + null + ); + } + function Iw(t) { + return Di( + 0, + [ + (t()(), + bi(0, 0, null, null, 2, null, null, null, null, null, null, null)), + wi(null, 2), + (t()(), Ai(2, null, ["", ""])) + ], + null, + function(t, n) { + t(n, 2, 0, n.component._control.placeholder); + } + ); + } + function Aw(t) { + return Di(0, [wi(null, 3), (t()(), hi(0, null, null, 0))], null, null); + } + function Tw(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "span", + [ + ["aria-hidden", "true"], + [ + "class", + "mat-placeholder-required mat-form-field-required-marker" + ] + ], + null, + null, + null, + null, + null + )), + (t()(), Ai(-1, null, [" *"])) + ], + null, + null + ); + } + function Rw(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + [[4, 0], ["label", 1]], + null, + 8, + "label", + [["class", "mat-form-field-label"]], + [ + [8, "id", 0], + [1, "for", 0], + [1, "aria-owns", 0], + [2, "mat-empty", null], + [2, "mat-form-field-empty", null], + [2, "mat-accent", null], + [2, "mat-warn", null] + ], + [[null, "cdkObserveContent"]], + function(t, n, e) { + var o = !0; + return ( + "cdkObserveContent" === n && + (o = !1 !== t.component.updateOutlineGap() && o), + o + ); + }, + null, + null + )), + Ba(1, 16384, null, 0, Ms, [], { ngSwitch: [0, "ngSwitch"] }, null), + Ba( + 2, + 1196032, + null, + 0, + BO, + [FO, Ne, Dr], + { disabled: [0, "disabled"] }, + { event: "cdkObserveContent" } + ), + (t()(), hi(16777216, null, null, 1, null, Iw)), + Ba( + 4, + 278528, + null, + 0, + xs, + [so, io, Ms], + { ngSwitchCase: [0, "ngSwitchCase"] }, + null + ), + (t()(), hi(16777216, null, null, 1, null, Aw)), + Ba( + 6, + 278528, + null, + 0, + xs, + [so, io, Ms], + { ngSwitchCase: [0, "ngSwitchCase"] }, + null + ), + (t()(), hi(16777216, null, null, 1, null, Tw)), + Ba(8, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null) + ], + function(t, n) { + var e = n.component; + t(n, 1, 0, e._hasLabel()), + t(n, 2, 0, "outline" != e.appearance), + t(n, 4, 0, !1), + t(n, 6, 0, !0), + t( + n, + 8, + 0, + !e.hideRequiredMarker && + e._control.required && + !e._control.disabled + ); + }, + function(t, n) { + var e = n.component; + t( + n, + 0, + 0, + e._labelId, + e._control.id, + e._control.id, + e._control.empty && !e._shouldAlwaysFloat, + e._control.empty && !e._shouldAlwaysFloat, + "accent" == e.color, + "warn" == e.color + ); + } + ); + } + function Dw(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "div", + [["class", "mat-form-field-suffix"]], + null, + null, + null, + null, + null + )), + wi(null, 4) + ], + null, + null + ); + } + function Nw(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + [[1, 0], ["underline", 1]], + null, + 1, + "div", + [["class", "mat-form-field-underline"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 1, + 0, + null, + null, + 0, + "span", + [["class", "mat-form-field-ripple"]], + [[2, "mat-accent", null], [2, "mat-warn", null]], + null, + null, + null, + null + )) + ], + null, + function(t, n) { + var e = n.component; + t(n, 1, 0, "accent" == e.color, "warn" == e.color); + } + ); + } + function zw(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "div", + [], + [[24, "@transitionMessages", 0]], + null, + null, + null, + null + )), + wi(null, 5) + ], + null, + function(t, n) { + t(n, 0, 0, n.component._subscriptAnimationState); + } + ); + } + function Lw(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "div", + [["class", "mat-hint"]], + [[8, "id", 0]], + null, + null, + null, + null + )), + (t()(), Ai(1, null, ["", ""])) + ], + null, + function(t, n) { + var e = n.component; + t(n, 0, 0, e._hintLabelId), t(n, 1, 0, e.hintLabel); + } + ); + } + function jw(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 5, + "div", + [["class", "mat-form-field-hint-wrapper"]], + [[24, "@transitionMessages", 0]], + null, + null, + null, + null + )), + (t()(), hi(16777216, null, null, 1, null, Lw)), + Ba(2, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + wi(null, 6), + (t()(), + bi( + 4, + 0, + null, + null, + 0, + "div", + [["class", "mat-form-field-hint-spacer"]], + null, + null, + null, + null, + null + )), + wi(null, 7) + ], + function(t, n) { + t(n, 2, 0, n.component.hintLabel); + }, + function(t, n) { + t(n, 0, 0, n.component._subscriptAnimationState); + } + ); + } + function Fw(t) { + return Di( + 2, + [ + Oi(671088640, 1, { underlineRef: 0 }), + Oi(402653184, 2, { _connectionContainerRef: 0 }), + Oi(671088640, 3, { _inputContainerRef: 0 }), + Oi(671088640, 4, { _label: 0 }), + (t()(), + bi( + 4, + 0, + null, + null, + 20, + "div", + [["class", "mat-form-field-wrapper"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 5, + 0, + [[2, 0], ["connectionContainer", 1]], + null, + 11, + "div", + [["class", "mat-form-field-flex"]], + null, + [[null, "click"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "click" === n && + (o = + !1 !== + (a._control.onContainerClick && + a._control.onContainerClick(e)) && o), + o + ); + }, + null, + null + )), + (t()(), hi(16777216, null, null, 1, null, Sw)), + Ba(7, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, null, 1, null, Ew)), + Ba(9, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), + bi( + 10, + 0, + [[3, 0], ["inputContainer", 1]], + null, + 4, + "div", + [["class", "mat-form-field-infix"]], + null, + null, + null, + null, + null + )), + wi(null, 1), + (t()(), + bi( + 12, + 0, + null, + null, + 2, + "span", + [["class", "mat-form-field-label-wrapper"]], + null, + null, + null, + null, + null + )), + (t()(), hi(16777216, null, null, 1, null, Rw)), + Ba(14, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, null, 1, null, Dw)), + Ba(16, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, null, 1, null, Nw)), + Ba(18, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), + bi( + 19, + 0, + null, + null, + 5, + "div", + [["class", "mat-form-field-subscript-wrapper"]], + null, + null, + null, + null, + null + )), + Ba(20, 16384, null, 0, Ms, [], { ngSwitch: [0, "ngSwitch"] }, null), + (t()(), hi(16777216, null, null, 1, null, zw)), + Ba( + 22, + 278528, + null, + 0, + xs, + [so, io, Ms], + { ngSwitchCase: [0, "ngSwitchCase"] }, + null + ), + (t()(), hi(16777216, null, null, 1, null, jw)), + Ba( + 24, + 278528, + null, + 0, + xs, + [so, io, Ms], + { ngSwitchCase: [0, "ngSwitchCase"] }, + null + ) + ], + function(t, n) { + var e = n.component; + t(n, 7, 0, "outline" == e.appearance), + t(n, 9, 0, e._prefixChildren.length), + t(n, 14, 0, e._hasFloatingLabel()), + t(n, 16, 0, e._suffixChildren.length), + t(n, 18, 0, "outline" != e.appearance), + t(n, 20, 0, e._getDisplayedMessages()), + t(n, 22, 0, "error"), + t(n, 24, 0, "hint"); + }, + null + ); + } + var Bw = yf({ passive: !0 }), + Vw = (function() { + function t(t, n) { + (this._platform = t), + (this._ngZone = n), + (this._monitoredElements = new Map()); + } + return ( + (t.prototype.monitor = function(t) { + var n = this; + if (!this._platform.isBrowser) return ql; + var e = pf(t), + o = this._monitoredElements.get(e); + if (o) return o.subject.asObservable(); + var a = new S(), + r = "cdk-text-field-autofilled", + i = function(t) { + "cdk-text-field-autofill-start" !== t.animationName || + e.classList.contains(r) + ? "cdk-text-field-autofill-end" === t.animationName && + e.classList.contains(r) && + (e.classList.remove(r), + n._ngZone.run(function() { + return a.next({ target: t.target, isAutofilled: !1 }); + })) + : (e.classList.add(r), + n._ngZone.run(function() { + return a.next({ target: t.target, isAutofilled: !0 }); + })); + }; + return ( + this._ngZone.runOutsideAngular(function() { + e.addEventListener("animationstart", i, Bw), + e.classList.add("cdk-text-field-autofill-monitored"); + }), + this._monitoredElements.set(e, { + subject: a, + unlisten: function() { + e.removeEventListener("animationstart", i, Bw); + } + }), + a.asObservable() + ); + }), + (t.prototype.stopMonitoring = function(t) { + var n = pf(t), + e = this._monitoredElements.get(n); + e && + (e.unlisten(), + e.subject.complete(), + n.classList.remove("cdk-text-field-autofill-monitored"), + n.classList.remove("cdk-text-field-autofilled"), + this._monitoredElements.delete(n)); + }), + (t.prototype.ngOnDestroy = function() { + var t = this; + this._monitoredElements.forEach(function(n, e) { + return t.stopMonitoring(e); + }); + }), + (t.ngInjectableDef = yt({ + factory: function() { + return new t(Tt(ff), Tt(Dr)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + Hw = (function() { + return function() {}; + })(), + Uw = [ + "button", + "checkbox", + "file", + "hidden", + "image", + "radio", + "range", + "reset", + "submit" + ], + qw = 0, + Kw = (function(t) { + function n(n, e, o, a, r, i, l, s, c) { + var u = t.call(this, i, a, r, o) || this; + (u._elementRef = n), + (u._platform = e), + (u.ngControl = o), + (u._autofillMonitor = s), + (u._uid = "mat-input-" + qw++), + (u._isServer = !1), + (u._isNativeSelect = !1), + (u.focused = !1), + (u.stateChanges = new S()), + (u.controlType = "mat-input"), + (u.autofilled = !1), + (u._disabled = !1), + (u._required = !1), + (u._type = "text"), + (u._readonly = !1), + (u._neverEmptyInputTypes = [ + "date", + "datetime", + "datetime-local", + "month", + "time", + "week" + ].filter(function(t) { + return _f().has(t); + })); + var d = u._elementRef.nativeElement; + return ( + (u._inputValueAccessor = l || d), + (u._previousNativeValue = u.value), + (u.id = u.id), + e.IOS && + c.runOutsideAngular(function() { + n.nativeElement.addEventListener("keyup", function(t) { + var n = t.target; + n.value || + n.selectionStart || + n.selectionEnd || + (n.setSelectionRange(1, 1), n.setSelectionRange(0, 0)); + }); + }), + (u._isServer = !u._platform.isBrowser), + (u._isNativeSelect = "select" === d.nodeName.toLowerCase()), + u._isNativeSelect && + (u.controlType = d.multiple + ? "mat-native-select-multiple" + : "mat-native-select"), + u + ); + } + return ( + Object(o.__extends)(n, t), + Object.defineProperty(n.prototype, "disabled", { + get: function() { + return this.ngControl && null !== this.ngControl.disabled + ? this.ngControl.disabled + : this._disabled; + }, + set: function(t) { + (this._disabled = sf(t)), + this.focused && + ((this.focused = !1), this.stateChanges.next()); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "id", { + get: function() { + return this._id; + }, + set: function(t) { + this._id = t || this._uid; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "required", { + get: function() { + return this._required; + }, + set: function(t) { + this._required = sf(t); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "type", { + get: function() { + return this._type; + }, + set: function(t) { + (this._type = t || "text"), + this._validateType(), + !this._isTextarea() && + _f().has(this._type) && + (this._elementRef.nativeElement.type = this._type); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "value", { + get: function() { + return this._inputValueAccessor.value; + }, + set: function(t) { + t !== this.value && + ((this._inputValueAccessor.value = t), + this.stateChanges.next()); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "readonly", { + get: function() { + return this._readonly; + }, + set: function(t) { + this._readonly = sf(t); + }, + enumerable: !0, + configurable: !0 + }), + (n.prototype.ngOnInit = function() { + var t = this; + this._platform.isBrowser && + this._autofillMonitor + .monitor(this._elementRef.nativeElement) + .subscribe(function(n) { + (t.autofilled = n.isAutofilled), t.stateChanges.next(); + }); + }), + (n.prototype.ngOnChanges = function() { + this.stateChanges.next(); + }), + (n.prototype.ngOnDestroy = function() { + this.stateChanges.complete(), + this._platform.isBrowser && + this._autofillMonitor.stopMonitoring( + this._elementRef.nativeElement + ); + }), + (n.prototype.ngDoCheck = function() { + this.ngControl && this.updateErrorState(), + this._dirtyCheckNativeValue(); + }), + (n.prototype.focus = function() { + this._elementRef.nativeElement.focus(); + }), + (n.prototype._focusChanged = function(t) { + t === this.focused || + (this.readonly && t) || + ((this.focused = t), this.stateChanges.next()); + }), + (n.prototype._onInput = function() {}), + (n.prototype._dirtyCheckNativeValue = function() { + var t = this._elementRef.nativeElement.value; + this._previousNativeValue !== t && + ((this._previousNativeValue = t), this.stateChanges.next()); + }), + (n.prototype._validateType = function() { + if (Uw.indexOf(this._type) > -1) + throw Error( + 'Input type "' + + this._type + + "\" isn't supported by matInput." + ); + }), + (n.prototype._isNeverEmpty = function() { + return this._neverEmptyInputTypes.indexOf(this._type) > -1; + }), + (n.prototype._isBadInput = function() { + var t = this._elementRef.nativeElement.validity; + return t && t.badInput; + }), + (n.prototype._isTextarea = function() { + return ( + "textarea" === + this._elementRef.nativeElement.nodeName.toLowerCase() + ); + }), + Object.defineProperty(n.prototype, "empty", { + get: function() { + return !( + this._isNeverEmpty() || + this._elementRef.nativeElement.value || + this._isBadInput() || + this.autofilled + ); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(n.prototype, "shouldLabelFloat", { + get: function() { + if (this._isNativeSelect) { + var t = this._elementRef.nativeElement, + n = t.options[0]; + return ( + this.focused || + t.multiple || + !this.empty || + !!(t.selectedIndex > -1 && n && n.label) + ); + } + return this.focused || !this.empty; + }, + enumerable: !0, + configurable: !0 + }), + (n.prototype.setDescribedByIds = function(t) { + this._ariaDescribedby = t.join(" "); + }), + (n.prototype.onContainerClick = function() { + this.focused || this.focus(); + }), + n + ); + })( + oh( + (function() { + return function(t, n, e, o) { + (this._defaultErrorStateMatcher = t), + (this._parentForm = n), + (this._parentFormGroup = e), + (this.ngControl = o); + }; + })() + ) + ), + Yw = (function() { + return function() {}; + })(), + Ww = So({ + encapsulation: 2, + styles: [ + ".mat-chip{position:relative;overflow:hidden;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0)}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(.4,0,.2,1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}.mat-standard-chip .mat-chip-remove.mat-icon{width:18px;height:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:'';pointer-events:none;transition:opacity .2s cubic-bezier(.35,0,.25,1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:0}.mat-standard-chip:focus::after{opacity:.16}@media (-ms-high-contrast:active){.mat-standard-chip{outline:solid 1px}.mat-standard-chip:focus{outline:dotted 2px}}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper .mat-standard-chip,.mat-chip-list-wrapper input.mat-input-element{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}" + ], + data: {} + }); + function Gw(t) { + return Di( + 2, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "div", + [["class", "mat-chip-list-wrapper"]], + null, + null, + null, + null, + null + )), + wi(null, 0) + ], + null, + null + ); + } + var Zw = (function(t) { + function n() { + var n = t.call(this) || this; + return (n.Type = zx.SetBeastSaberUsername), n; + } + return o.__extends(n, t), n; + })(Nx), + Qw = (function(t) { + function n() { + var n = t.call(this) || this; + return (n.Type = zx.UpdateFeedReader), n; + } + return o.__extends(n, t), n; + })(Nx), + Xw = (function(t) { + function n() { + var n = (null !== t && t.apply(this, arguments)) || this; + return (n.Type = zx.SyncSaberSync), n; + } + return o.__extends(n, t), n; + })(Nx), + Jw = (function() { + function t(t, n, e) { + (this.beatOnApi = t), + (this.configSvc = n), + (this.msgSvc = e), + (this.syncDisabled = !1), + (this.separatorKeysCodes = [Pf, xf]), + (this.feedSettingTimeouts = {}); + } + return ( + (t.prototype.ngOnInit = function() { + this.configSvc + .getConfig() + .subscribe(this.handleConfig.bind(this)), + this.configSvc.configUpdated.subscribe( + this.handleConfig.bind(this) + ); + }), + (t.prototype.setBeastSaberUsername = function() { + var t = this; + clearTimeout(this.nameUpdateTimeout), + (this.nameUpdateTimeout = setTimeout(function() { + var n = new Zw(); + (n.BeastSaberUsername = t.BeastSaberUsername), + t.msgSvc.sendClientMessage(n); + }, 750)); + }), + (t.prototype.updateFeedSetting = function(t) { + var n = this; + this.feedSettingTimeouts[t.ID] && + (clearTimeout(this.feedSettingTimeouts[t.ID]), + (this.feedSettingTimeouts[t.ID] = null)), + (this.feedSettingTimeouts[t.ID] = setTimeout(function() { + var e = new Qw(); + (e.FeedConfig = t), + (e.ID = t.ID), + n.msgSvc.sendClientMessage(e); + }, 750)); + }), + (t.prototype.clickSyncNow = function() { + var t = this, + n = new Xw(); + this.msgSvc.actionResponseMessage.subscribe(function(e) { + e.ResponseToMessageID == n.MessageID && (t.syncDisabled = !1); + }), + (this.syncDisabled = !0), + this.msgSvc.sendClientMessage(n); + }), + (t.prototype.addAuthor = function(t) { + var n = t.input, + e = t.value; + (e || "").trim() && + this.SyncService_BeatSaverAUTHOR.Authors.push(e.trim()), + n && (n.value = ""), + this.updateFeedSetting(this.SyncService_BeatSaverAUTHOR); + }), + (t.prototype.removeAuthor = function(t) { + var n = this.SyncService_BeatSaverAUTHOR.Authors.indexOf(t); + n >= 0 && this.SyncService_BeatSaverAUTHOR.Authors.splice(n, 1), + this.updateFeedSetting(this.SyncService_BeatSaverAUTHOR); + }), + (t.prototype.handleConfig = function(t) { + var n = this; + (this.BeastSaberUsername = t.SyncConfig.BeastSaberUsername), + t.SyncConfig.FeedReaders.forEach(function(t) { + switch (((t.MaxSongs = t.MaxSongs || 0), t.PlaylistID)) { + case "SyncService_BeastSaberFOLLOWING": + n.SyncService_BeastSaberFOLLOWING = t; + break; + case "SyncService_BeastSaberBOOKMARKS": + n.SyncService_BeastSaberBOOKMARKS = t; + break; + case "SyncService_BeastSaberCURATOR_RECOMMENDED": + n.SyncService_BeastSaberCURATOR_RECOMMENDED = t; + break; + case "SyncService_ScoreSaberTRENDING": + n.SyncService_ScoreSaberTRENDING = t; + break; + case "SyncService_ScoreSaberLATEST_RANKED": + n.SyncService_ScoreSaberLATEST_RANKED = t; + break; + case "SyncService_ScoreSaberTOP_PLAYED": + n.SyncService_ScoreSaberTOP_PLAYED = t; + break; + case "SyncService_ScoreSaberTOP_RANKED": + n.SyncService_ScoreSaberTOP_RANKED = t; + break; + case "SyncService_BeatSaverAUTHOR": + n.SyncService_BeatSaverAUTHOR = t; + break; + case "SyncService_BeatSaverLATEST": + n.SyncService_BeatSaverLATEST = t; + break; + case "SyncService_BeatSaverHOT": + n.SyncService_BeatSaverHOT = t; + break; + case "SyncService_BeatSaverDOWNLOADS": + n.SyncService_BeatSaverDOWNLOADS = t; + } + }); + }), + t + ); + })(), + $w = So({ + encapsulation: 0, + styles: [ + [ + ".right-select-all[_ngcontent-%COMP%]{float:right;margin-top:2.5em;margin-right:2.5em}.right-align[_ngcontent-%COMP%]{text-align:right}.left-padd-gate[_ngcontent-%COMP%]{padding-left:2em;padding-right:2em}.right[_ngcontent-%COMP%]{float:right}.enable-all[_ngcontent-%COMP%]{font-size:.5em;font-weight:400;margin-left:2em}.innerScroll[_ngcontent-%COMP%]{height:100%;overflow-x:hidden;overflow-y:scroll}.authorList[_ngcontent-%COMP%]{line-height:40px;font-size:14px}.authorList[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{margin-top:10px}.syncButton[_ngcontent-%COMP%]{position:absolute;top:5px;right:15px}.syncSpinner[_ngcontent-%COMP%]{display:inline-block;margin-top:-1px;margin-right:5px}.left-col[_ngcontent-%COMP%], .right-col[_ngcontent-%COMP%]{width:calc(50% - 15px);display:inline-block;height:100%;margin-left:10px;margin-right:5px;vertical-align:top}.outer-container[_ngcontent-%COMP%]{height:calc(100% - 10px);overflow:hidden;margin-top:-10px;color:#fff}.username-container[_ngcontent-%COMP%]{text-align:center;margin-left:50px}.input-width[_ngcontent-%COMP%]{width:400px}" + ] + ], + data: {} + }); + function tS(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "mat-spinner", + [ + ["class", "syncSpinner mat-spinner mat-progress-spinner"], + ["diameter", "18"], + ["mode", "indeterminate"], + ["role", "progressbar"] + ], + [ + [2, "_mat-animation-noopable", null], + [4, "width", "px"], + [4, "height", "px"] + ], + null, + null, + $k, + Qk + )), + Ba( + 1, + 49152, + null, + 0, + qk, + [Ne, ff, [2, Ds], [2, Py], Hk], + { diameter: [0, "diameter"] }, + null + ) + ], + function(t, n) { + t(n, 1, 0, "18"); + }, + function(t, n) { + t( + n, + 0, + 0, + wa(n, 1)._noopAnimations, + wa(n, 1).diameter, + wa(n, 1).diameter + ); + } + ); + } + function nS(t) { + return Di( + 0, + [ + (t()(), + bi(0, 0, null, null, 11, "div", [], null, null, null, null, null)), + (t()(), + bi( + 1, + 0, + null, + null, + 1, + "app-sync-saber-max-songs", + [["class", "right"]], + null, + [[null, "update"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "update" === n && + (o = + !1 !== a.updateFeedSetting(a.SyncService_BeatSaverHOT) && + o), + o + ); + }, + ew, + nw + )), + Ba( + 2, + 114688, + null, + 0, + tw, + [], + { reader: [0, "reader"] }, + { update: "update" } + ), + (t()(), + bi( + 3, + 0, + null, + null, + 6, + "mat-slide-toggle", + [["class", "mat-slide-toggle"]], + [ + [8, "id", 0], + [1, "tabindex", 0], + [2, "mat-checked", null], + [2, "mat-disabled", null], + [2, "mat-slide-toggle-label-before", null], + [2, "_mat-animation-noopable", null], + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null] + ], + [[null, "ngModelChange"], [null, "change"], [null, "focus"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "focus" === n && + (o = + !1 !== wa(t, 4)._inputElement.nativeElement.focus() && o), + "ngModelChange" === n && + (o = + !1 !== (a.SyncService_BeatSaverHOT.IsEnabled = e) && o), + "change" === n && + (o = + !1 !== a.updateFeedSetting(a.SyncService_BeatSaverHOT) && + o), + o + ); + }, + cw, + sw + )), + Ba( + 4, + 1228800, + null, + 0, + iw, + [Ne, Gf, no, [8, null], Dr, ow, [2, Py], [2, rf]], + null, + { change: "change" } + ), + Ha( + 1024, + null, + OM, + function(t) { + return [t]; + }, + [iw] + ), + Ba( + 6, + 671744, + null, + 0, + _x, + [[8, null], [8, null], [8, null], [6, OM]], + { model: [0, "model"] }, + { update: "ngModelChange" } + ), + Ha(2048, null, EM, null, [_x]), + Ba(8, 16384, null, 0, IM, [[4, EM]], null, null), + (t()(), Ai(-1, 0, [" BeatSaver's Hot "])), + (t()(), + bi(10, 0, null, null, 0, "br", [], null, null, null, null, null)), + (t()(), + bi(11, 0, null, null, 0, "br", [], null, null, null, null, null)) + ], + function(t, n) { + var e = n.component; + t(n, 2, 0, e.SyncService_BeatSaverHOT), + t(n, 6, 0, e.SyncService_BeatSaverHOT.IsEnabled); + }, + function(t, n) { + t(n, 3, 1, [ + wa(n, 4).id, + wa(n, 4).disabled ? null : -1, + wa(n, 4).checked, + wa(n, 4).disabled, + "before" == wa(n, 4).labelPosition, + "NoopAnimations" === wa(n, 4)._animationMode, + wa(n, 8).ngClassUntouched, + wa(n, 8).ngClassTouched, + wa(n, 8).ngClassPristine, + wa(n, 8).ngClassDirty, + wa(n, 8).ngClassValid, + wa(n, 8).ngClassInvalid, + wa(n, 8).ngClassPending + ]); + } + ); + } + function eS(t) { + return Di( + 0, + [ + (t()(), + bi(0, 0, null, null, 11, "div", [], null, null, null, null, null)), + (t()(), + bi( + 1, + 0, + null, + null, + 1, + "app-sync-saber-max-songs", + [["class", "right"]], + null, + [[null, "update"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "update" === n && + (o = + !1 !== + a.updateFeedSetting(a.SyncService_BeatSaverLATEST) && + o), + o + ); + }, + ew, + nw + )), + Ba( + 2, + 114688, + null, + 0, + tw, + [], + { reader: [0, "reader"] }, + { update: "update" } + ), + (t()(), + bi( + 3, + 0, + null, + null, + 6, + "mat-slide-toggle", + [["class", "mat-slide-toggle"]], + [ + [8, "id", 0], + [1, "tabindex", 0], + [2, "mat-checked", null], + [2, "mat-disabled", null], + [2, "mat-slide-toggle-label-before", null], + [2, "_mat-animation-noopable", null], + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null] + ], + [[null, "ngModelChange"], [null, "change"], [null, "focus"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "focus" === n && + (o = + !1 !== wa(t, 4)._inputElement.nativeElement.focus() && o), + "ngModelChange" === n && + (o = + !1 !== (a.SyncService_BeatSaverLATEST.IsEnabled = e) && + o), + "change" === n && + (o = + !1 !== + a.updateFeedSetting(a.SyncService_BeatSaverLATEST) && + o), + o + ); + }, + cw, + sw + )), + Ba( + 4, + 1228800, + null, + 0, + iw, + [Ne, Gf, no, [8, null], Dr, ow, [2, Py], [2, rf]], + null, + { change: "change" } + ), + Ha( + 1024, + null, + OM, + function(t) { + return [t]; + }, + [iw] + ), + Ba( + 6, + 671744, + null, + 0, + _x, + [[8, null], [8, null], [8, null], [6, OM]], + { model: [0, "model"] }, + { update: "ngModelChange" } + ), + Ha(2048, null, EM, null, [_x]), + Ba(8, 16384, null, 0, IM, [[4, EM]], null, null), + (t()(), Ai(-1, 0, [" BeatSaver's Latest "])), + (t()(), + bi(10, 0, null, null, 0, "br", [], null, null, null, null, null)), + (t()(), + bi(11, 0, null, null, 0, "br", [], null, null, null, null, null)) + ], + function(t, n) { + var e = n.component; + t(n, 2, 0, e.SyncService_BeatSaverLATEST), + t(n, 6, 0, e.SyncService_BeatSaverLATEST.IsEnabled); + }, + function(t, n) { + t(n, 3, 1, [ + wa(n, 4).id, + wa(n, 4).disabled ? null : -1, + wa(n, 4).checked, + wa(n, 4).disabled, + "before" == wa(n, 4).labelPosition, + "NoopAnimations" === wa(n, 4)._animationMode, + wa(n, 8).ngClassUntouched, + wa(n, 8).ngClassTouched, + wa(n, 8).ngClassPristine, + wa(n, 8).ngClassDirty, + wa(n, 8).ngClassValid, + wa(n, 8).ngClassInvalid, + wa(n, 8).ngClassPending + ]); + } + ); + } + function oS(t) { + return Di( + 0, + [ + (t()(), + bi(0, 0, null, null, 11, "div", [], null, null, null, null, null)), + (t()(), + bi( + 1, + 0, + null, + null, + 1, + "app-sync-saber-max-songs", + [["class", "right"]], + null, + [[null, "update"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "update" === n && + (o = + !1 !== + a.updateFeedSetting(a.SyncService_BeatSaverDOWNLOADS) && + o), + o + ); + }, + ew, + nw + )), + Ba( + 2, + 114688, + null, + 0, + tw, + [], + { reader: [0, "reader"] }, + { update: "update" } + ), + (t()(), + bi( + 3, + 0, + null, + null, + 6, + "mat-slide-toggle", + [["class", "mat-slide-toggle"]], + [ + [8, "id", 0], + [1, "tabindex", 0], + [2, "mat-checked", null], + [2, "mat-disabled", null], + [2, "mat-slide-toggle-label-before", null], + [2, "_mat-animation-noopable", null], + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null] + ], + [[null, "ngModelChange"], [null, "change"], [null, "focus"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "focus" === n && + (o = + !1 !== wa(t, 4)._inputElement.nativeElement.focus() && o), + "ngModelChange" === n && + (o = + !1 !== (a.SyncService_BeatSaverDOWNLOADS.IsEnabled = e) && + o), + "change" === n && + (o = + !1 !== + a.updateFeedSetting(a.SyncService_BeatSaverDOWNLOADS) && + o), + o + ); + }, + cw, + sw + )), + Ba( + 4, + 1228800, + null, + 0, + iw, + [Ne, Gf, no, [8, null], Dr, ow, [2, Py], [2, rf]], + null, + { change: "change" } + ), + Ha( + 1024, + null, + OM, + function(t) { + return [t]; + }, + [iw] + ), + Ba( + 6, + 671744, + null, + 0, + _x, + [[8, null], [8, null], [8, null], [6, OM]], + { model: [0, "model"] }, + { update: "ngModelChange" } + ), + Ha(2048, null, EM, null, [_x]), + Ba(8, 16384, null, 0, IM, [[4, EM]], null, null), + (t()(), Ai(-1, 0, [" BeatSaver's Songs by Download "])), + (t()(), + bi(10, 0, null, null, 0, "br", [], null, null, null, null, null)), + (t()(), + bi(11, 0, null, null, 0, "br", [], null, null, null, null, null)) + ], + function(t, n) { + var e = n.component; + t(n, 2, 0, e.SyncService_BeatSaverDOWNLOADS), + t(n, 6, 0, e.SyncService_BeatSaverDOWNLOADS.IsEnabled); + }, + function(t, n) { + t(n, 3, 1, [ + wa(n, 4).id, + wa(n, 4).disabled ? null : -1, + wa(n, 4).checked, + wa(n, 4).disabled, + "before" == wa(n, 4).labelPosition, + "NoopAnimations" === wa(n, 4)._animationMode, + wa(n, 8).ngClassUntouched, + wa(n, 8).ngClassTouched, + wa(n, 8).ngClassPristine, + wa(n, 8).ngClassDirty, + wa(n, 8).ngClassValid, + wa(n, 8).ngClassInvalid, + wa(n, 8).ngClassPending + ]); + } + ); + } + function aS(t) { + return Di( + 0, + [ + (t()(), + bi(0, 0, null, null, 11, "div", [], null, null, null, null, null)), + (t()(), + bi( + 1, + 0, + null, + null, + 1, + "app-sync-saber-max-songs", + [["class", "right"]], + null, + [[null, "update"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "update" === n && + (o = + !1 !== + a.updateFeedSetting( + a.SyncService_BeastSaberCURATOR_RECOMMENDED + ) && o), + o + ); + }, + ew, + nw + )), + Ba( + 2, + 114688, + null, + 0, + tw, + [], + { reader: [0, "reader"] }, + { update: "update" } + ), + (t()(), + bi( + 3, + 0, + null, + null, + 6, + "mat-slide-toggle", + [["class", "mat-slide-toggle"]], + [ + [8, "id", 0], + [1, "tabindex", 0], + [2, "mat-checked", null], + [2, "mat-disabled", null], + [2, "mat-slide-toggle-label-before", null], + [2, "_mat-animation-noopable", null], + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null] + ], + [[null, "ngModelChange"], [null, "change"], [null, "focus"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "focus" === n && + (o = + !1 !== wa(t, 4)._inputElement.nativeElement.focus() && o), + "ngModelChange" === n && + (o = + !1 !== + (a.SyncService_BeastSaberCURATOR_RECOMMENDED.IsEnabled = e) && + o), + "change" === n && + (o = + !1 !== + a.updateFeedSetting( + a.SyncService_BeastSaberCURATOR_RECOMMENDED + ) && o), + o + ); + }, + cw, + sw + )), + Ba( + 4, + 1228800, + null, + 0, + iw, + [Ne, Gf, no, [8, null], Dr, ow, [2, Py], [2, rf]], + null, + { change: "change" } + ), + Ha( + 1024, + null, + OM, + function(t) { + return [t]; + }, + [iw] + ), + Ba( + 6, + 671744, + null, + 0, + _x, + [[8, null], [8, null], [8, null], [6, OM]], + { model: [0, "model"] }, + { update: "ngModelChange" } + ), + Ha(2048, null, EM, null, [_x]), + Ba(8, 16384, null, 0, IM, [[4, EM]], null, null), + (t()(), Ai(-1, 0, [" BeastSaber's Curator Recommended "])), + (t()(), + bi(10, 0, null, null, 0, "br", [], null, null, null, null, null)), + (t()(), + bi(11, 0, null, null, 0, "br", [], null, null, null, null, null)) + ], + function(t, n) { + var e = n.component; + t(n, 2, 0, e.SyncService_BeastSaberCURATOR_RECOMMENDED), + t(n, 6, 0, e.SyncService_BeastSaberCURATOR_RECOMMENDED.IsEnabled); + }, + function(t, n) { + t(n, 3, 1, [ + wa(n, 4).id, + wa(n, 4).disabled ? null : -1, + wa(n, 4).checked, + wa(n, 4).disabled, + "before" == wa(n, 4).labelPosition, + "NoopAnimations" === wa(n, 4)._animationMode, + wa(n, 8).ngClassUntouched, + wa(n, 8).ngClassTouched, + wa(n, 8).ngClassPristine, + wa(n, 8).ngClassDirty, + wa(n, 8).ngClassValid, + wa(n, 8).ngClassInvalid, + wa(n, 8).ngClassPending + ]); + } + ); + } + function rS(t) { + return Di( + 0, + [ + (t()(), + bi(0, 0, null, null, 11, "div", [], null, null, null, null, null)), + (t()(), + bi( + 1, + 0, + null, + null, + 1, + "app-sync-saber-max-songs", + [["class", "right"]], + null, + [[null, "update"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "update" === n && + (o = + !1 !== + a.updateFeedSetting( + a.SyncService_ScoreSaberTOP_PLAYED + ) && o), + o + ); + }, + ew, + nw + )), + Ba( + 2, + 114688, + null, + 0, + tw, + [], + { reader: [0, "reader"] }, + { update: "update" } + ), + (t()(), + bi( + 3, + 0, + null, + null, + 6, + "mat-slide-toggle", + [["class", "mat-slide-toggle"]], + [ + [8, "id", 0], + [1, "tabindex", 0], + [2, "mat-checked", null], + [2, "mat-disabled", null], + [2, "mat-slide-toggle-label-before", null], + [2, "_mat-animation-noopable", null], + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null] + ], + [[null, "ngModelChange"], [null, "change"], [null, "focus"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "focus" === n && + (o = + !1 !== wa(t, 4)._inputElement.nativeElement.focus() && o), + "ngModelChange" === n && + (o = + !1 !== + (a.SyncService_ScoreSaberTOP_PLAYED.IsEnabled = e) && + o), + "change" === n && + (o = + !1 !== + a.updateFeedSetting( + a.SyncService_ScoreSaberTOP_PLAYED + ) && o), + o + ); + }, + cw, + sw + )), + Ba( + 4, + 1228800, + null, + 0, + iw, + [Ne, Gf, no, [8, null], Dr, ow, [2, Py], [2, rf]], + null, + { change: "change" } + ), + Ha( + 1024, + null, + OM, + function(t) { + return [t]; + }, + [iw] + ), + Ba( + 6, + 671744, + null, + 0, + _x, + [[8, null], [8, null], [8, null], [6, OM]], + { model: [0, "model"] }, + { update: "ngModelChange" } + ), + Ha(2048, null, EM, null, [_x]), + Ba(8, 16384, null, 0, IM, [[4, EM]], null, null), + (t()(), Ai(-1, 0, [" ScoreSaber's Top Played "])), + (t()(), + bi(10, 0, null, null, 0, "br", [], null, null, null, null, null)), + (t()(), + bi(11, 0, null, null, 0, "br", [], null, null, null, null, null)) + ], + function(t, n) { + var e = n.component; + t(n, 2, 0, e.SyncService_ScoreSaberTOP_PLAYED), + t(n, 6, 0, e.SyncService_ScoreSaberTOP_PLAYED.IsEnabled); + }, + function(t, n) { + t(n, 3, 1, [ + wa(n, 4).id, + wa(n, 4).disabled ? null : -1, + wa(n, 4).checked, + wa(n, 4).disabled, + "before" == wa(n, 4).labelPosition, + "NoopAnimations" === wa(n, 4)._animationMode, + wa(n, 8).ngClassUntouched, + wa(n, 8).ngClassTouched, + wa(n, 8).ngClassPristine, + wa(n, 8).ngClassDirty, + wa(n, 8).ngClassValid, + wa(n, 8).ngClassInvalid, + wa(n, 8).ngClassPending + ]); + } + ); + } + function iS(t) { + return Di( + 0, + [ + (t()(), + bi(0, 0, null, null, 9, "div", [], null, null, null, null, null)), + (t()(), + bi( + 1, + 0, + null, + null, + 1, + "app-sync-saber-max-songs", + [["class", "right"]], + null, + [[null, "update"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "update" === n && + (o = + !1 !== + a.updateFeedSetting(a.SyncService_ScoreSaberTRENDING) && + o), + o + ); + }, + ew, + nw + )), + Ba( + 2, + 114688, + null, + 0, + tw, + [], + { reader: [0, "reader"] }, + { update: "update" } + ), + (t()(), + bi( + 3, + 0, + null, + null, + 6, + "mat-slide-toggle", + [["class", "mat-slide-toggle"]], + [ + [8, "id", 0], + [1, "tabindex", 0], + [2, "mat-checked", null], + [2, "mat-disabled", null], + [2, "mat-slide-toggle-label-before", null], + [2, "_mat-animation-noopable", null], + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null] + ], + [[null, "ngModelChange"], [null, "change"], [null, "focus"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "focus" === n && + (o = + !1 !== wa(t, 4)._inputElement.nativeElement.focus() && o), + "ngModelChange" === n && + (o = + !1 !== (a.SyncService_ScoreSaberTRENDING.IsEnabled = e) && + o), + "change" === n && + (o = + !1 !== + a.updateFeedSetting(a.SyncService_ScoreSaberTRENDING) && + o), + o + ); + }, + cw, + sw + )), + Ba( + 4, + 1228800, + null, + 0, + iw, + [Ne, Gf, no, [8, null], Dr, ow, [2, Py], [2, rf]], + null, + { change: "change" } + ), + Ha( + 1024, + null, + OM, + function(t) { + return [t]; + }, + [iw] + ), + Ba( + 6, + 671744, + null, + 0, + _x, + [[8, null], [8, null], [8, null], [6, OM]], + { model: [0, "model"] }, + { update: "ngModelChange" } + ), + Ha(2048, null, EM, null, [_x]), + Ba(8, 16384, null, 0, IM, [[4, EM]], null, null), + (t()(), Ai(-1, 0, [" ScoreSaber's Trending "])) + ], + function(t, n) { + var e = n.component; + t(n, 2, 0, e.SyncService_ScoreSaberTRENDING), + t(n, 6, 0, e.SyncService_ScoreSaberTRENDING.IsEnabled); + }, + function(t, n) { + t(n, 3, 1, [ + wa(n, 4).id, + wa(n, 4).disabled ? null : -1, + wa(n, 4).checked, + wa(n, 4).disabled, + "before" == wa(n, 4).labelPosition, + "NoopAnimations" === wa(n, 4)._animationMode, + wa(n, 8).ngClassUntouched, + wa(n, 8).ngClassTouched, + wa(n, 8).ngClassPristine, + wa(n, 8).ngClassDirty, + wa(n, 8).ngClassValid, + wa(n, 8).ngClassInvalid, + wa(n, 8).ngClassPending + ]); + } + ); + } + function lS(t) { + return Di( + 0, + [ + (t()(), + bi(0, 0, null, null, 11, "div", [], null, null, null, null, null)), + (t()(), + bi( + 1, + 0, + null, + null, + 1, + "app-sync-saber-max-songs", + [["class", "right"]], + null, + [[null, "update"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "update" === n && + (o = + !1 !== + a.updateFeedSetting( + a.SyncService_ScoreSaberLATEST_RANKED + ) && o), + o + ); + }, + ew, + nw + )), + Ba( + 2, + 114688, + null, + 0, + tw, + [], + { reader: [0, "reader"] }, + { update: "update" } + ), + (t()(), + bi( + 3, + 0, + null, + null, + 6, + "mat-slide-toggle", + [["class", "mat-slide-toggle"]], + [ + [8, "id", 0], + [1, "tabindex", 0], + [2, "mat-checked", null], + [2, "mat-disabled", null], + [2, "mat-slide-toggle-label-before", null], + [2, "_mat-animation-noopable", null], + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null] + ], + [[null, "ngModelChange"], [null, "change"], [null, "focus"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "focus" === n && + (o = + !1 !== wa(t, 4)._inputElement.nativeElement.focus() && o), + "ngModelChange" === n && + (o = + !1 !== + (a.SyncService_ScoreSaberLATEST_RANKED.IsEnabled = e) && + o), + "change" === n && + (o = + !1 !== + a.updateFeedSetting( + a.SyncService_ScoreSaberLATEST_RANKED + ) && o), + o + ); + }, + cw, + sw + )), + Ba( + 4, + 1228800, + null, + 0, + iw, + [Ne, Gf, no, [8, null], Dr, ow, [2, Py], [2, rf]], + null, + { change: "change" } + ), + Ha( + 1024, + null, + OM, + function(t) { + return [t]; + }, + [iw] + ), + Ba( + 6, + 671744, + null, + 0, + _x, + [[8, null], [8, null], [8, null], [6, OM]], + { model: [0, "model"] }, + { update: "ngModelChange" } + ), + Ha(2048, null, EM, null, [_x]), + Ba(8, 16384, null, 0, IM, [[4, EM]], null, null), + (t()(), Ai(-1, 0, [" ScoreSaber's Latest "])), + (t()(), + bi(10, 0, null, null, 0, "br", [], null, null, null, null, null)), + (t()(), + bi(11, 0, null, null, 0, "br", [], null, null, null, null, null)) + ], + function(t, n) { + var e = n.component; + t(n, 2, 0, e.SyncService_ScoreSaberLATEST_RANKED), + t(n, 6, 0, e.SyncService_ScoreSaberLATEST_RANKED.IsEnabled); + }, + function(t, n) { + t(n, 3, 1, [ + wa(n, 4).id, + wa(n, 4).disabled ? null : -1, + wa(n, 4).checked, + wa(n, 4).disabled, + "before" == wa(n, 4).labelPosition, + "NoopAnimations" === wa(n, 4)._animationMode, + wa(n, 8).ngClassUntouched, + wa(n, 8).ngClassTouched, + wa(n, 8).ngClassPristine, + wa(n, 8).ngClassDirty, + wa(n, 8).ngClassValid, + wa(n, 8).ngClassInvalid, + wa(n, 8).ngClassPending + ]); + } + ); + } + function sS(t) { + return Di( + 0, + [ + (t()(), + bi(0, 0, null, null, 9, "div", [], null, null, null, null, null)), + (t()(), + bi( + 1, + 0, + null, + null, + 1, + "app-sync-saber-max-songs", + [["class", "right"]], + null, + [[null, "update"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "update" === n && + (o = + !1 !== + a.updateFeedSetting( + a.SyncService_ScoreSaberTOP_RANKED + ) && o), + o + ); + }, + ew, + nw + )), + Ba( + 2, + 114688, + null, + 0, + tw, + [], + { reader: [0, "reader"] }, + { update: "update" } + ), + (t()(), + bi( + 3, + 0, + null, + null, + 6, + "mat-slide-toggle", + [["class", "mat-slide-toggle"]], + [ + [8, "id", 0], + [1, "tabindex", 0], + [2, "mat-checked", null], + [2, "mat-disabled", null], + [2, "mat-slide-toggle-label-before", null], + [2, "_mat-animation-noopable", null], + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null] + ], + [[null, "ngModelChange"], [null, "change"], [null, "focus"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "focus" === n && + (o = + !1 !== wa(t, 4)._inputElement.nativeElement.focus() && o), + "ngModelChange" === n && + (o = + !1 !== + (a.SyncService_ScoreSaberTOP_RANKED.IsEnabled = e) && + o), + "change" === n && + (o = + !1 !== + a.updateFeedSetting( + a.SyncService_ScoreSaberTOP_RANKED + ) && o), + o + ); + }, + cw, + sw + )), + Ba( + 4, + 1228800, + null, + 0, + iw, + [Ne, Gf, no, [8, null], Dr, ow, [2, Py], [2, rf]], + null, + { change: "change" } + ), + Ha( + 1024, + null, + OM, + function(t) { + return [t]; + }, + [iw] + ), + Ba( + 6, + 671744, + null, + 0, + _x, + [[8, null], [8, null], [8, null], [6, OM]], + { model: [0, "model"] }, + { update: "ngModelChange" } + ), + Ha(2048, null, EM, null, [_x]), + Ba(8, 16384, null, 0, IM, [[4, EM]], null, null), + (t()(), Ai(-1, 0, [" ScoreSaber's Top Ranked "])) + ], + function(t, n) { + var e = n.component; + t(n, 2, 0, e.SyncService_ScoreSaberTOP_RANKED), + t(n, 6, 0, e.SyncService_ScoreSaberTOP_RANKED.IsEnabled); + }, + function(t, n) { + t(n, 3, 1, [ + wa(n, 4).id, + wa(n, 4).disabled ? null : -1, + wa(n, 4).checked, + wa(n, 4).disabled, + "before" == wa(n, 4).labelPosition, + "NoopAnimations" === wa(n, 4)._animationMode, + wa(n, 8).ngClassUntouched, + wa(n, 8).ngClassTouched, + wa(n, 8).ngClassPristine, + wa(n, 8).ngClassDirty, + wa(n, 8).ngClassValid, + wa(n, 8).ngClassInvalid, + wa(n, 8).ngClassPending + ]); + } + ); + } + function cS(t) { + return Di( + 0, + [ + (t()(), + bi(0, 0, null, null, 11, "div", [], null, null, null, null, null)), + (t()(), + bi( + 1, + 0, + null, + null, + 1, + "app-sync-saber-max-songs", + [["class", "right"]], + null, + [[null, "update"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "update" === n && + (o = + !1 !== + a.updateFeedSetting( + a.SyncService_BeastSaberFOLLOWING + ) && o), + o + ); + }, + ew, + nw + )), + Ba( + 2, + 114688, + null, + 0, + tw, + [], + { reader: [0, "reader"] }, + { update: "update" } + ), + (t()(), + bi( + 3, + 0, + null, + null, + 6, + "mat-slide-toggle", + [["class", "mat-slide-toggle"]], + [ + [8, "id", 0], + [1, "tabindex", 0], + [2, "mat-checked", null], + [2, "mat-disabled", null], + [2, "mat-slide-toggle-label-before", null], + [2, "_mat-animation-noopable", null], + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null] + ], + [[null, "ngModelChange"], [null, "change"], [null, "focus"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "focus" === n && + (o = + !1 !== wa(t, 4)._inputElement.nativeElement.focus() && o), + "ngModelChange" === n && + (o = + !1 !== + (a.SyncService_BeastSaberFOLLOWING.IsEnabled = e) && o), + "change" === n && + (o = + !1 !== + a.updateFeedSetting( + a.SyncService_BeastSaberFOLLOWING + ) && o), + o + ); + }, + cw, + sw + )), + Ba( + 4, + 1228800, + null, + 0, + iw, + [Ne, Gf, no, [8, null], Dr, ow, [2, Py], [2, rf]], + null, + { change: "change" } + ), + Ha( + 1024, + null, + OM, + function(t) { + return [t]; + }, + [iw] + ), + Ba( + 6, + 671744, + null, + 0, + _x, + [[8, null], [8, null], [8, null], [6, OM]], + { model: [0, "model"] }, + { update: "ngModelChange" } + ), + Ha(2048, null, EM, null, [_x]), + Ba(8, 16384, null, 0, IM, [[4, EM]], null, null), + (t()(), Ai(-1, 0, [" BeastSaber's Following "])), + (t()(), + bi(10, 0, null, null, 0, "br", [], null, null, null, null, null)), + (t()(), + bi(11, 0, null, null, 0, "br", [], null, null, null, null, null)) + ], + function(t, n) { + var e = n.component; + t(n, 2, 0, e.SyncService_BeastSaberFOLLOWING), + t(n, 6, 0, e.SyncService_BeastSaberFOLLOWING.IsEnabled); + }, + function(t, n) { + t(n, 3, 1, [ + wa(n, 4).id, + wa(n, 4).disabled ? null : -1, + wa(n, 4).checked, + wa(n, 4).disabled, + "before" == wa(n, 4).labelPosition, + "NoopAnimations" === wa(n, 4)._animationMode, + wa(n, 8).ngClassUntouched, + wa(n, 8).ngClassTouched, + wa(n, 8).ngClassPristine, + wa(n, 8).ngClassDirty, + wa(n, 8).ngClassValid, + wa(n, 8).ngClassInvalid, + wa(n, 8).ngClassPending + ]); + } + ); + } + function uS(t) { + return Di( + 0, + [ + (t()(), + bi(0, 0, null, null, 11, "div", [], null, null, null, null, null)), + (t()(), + bi( + 1, + 0, + null, + null, + 1, + "app-sync-saber-max-songs", + [["class", "right"]], + null, + [[null, "update"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "update" === n && + (o = + !1 !== + a.updateFeedSetting( + a.SyncService_BeastSaberBOOKMARKS + ) && o), + o + ); + }, + ew, + nw + )), + Ba( + 2, + 114688, + null, + 0, + tw, + [], + { reader: [0, "reader"] }, + { update: "update" } + ), + (t()(), + bi( + 3, + 0, + null, + null, + 6, + "mat-slide-toggle", + [["class", "mat-slide-toggle"]], + [ + [8, "id", 0], + [1, "tabindex", 0], + [2, "mat-checked", null], + [2, "mat-disabled", null], + [2, "mat-slide-toggle-label-before", null], + [2, "_mat-animation-noopable", null], + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null] + ], + [[null, "ngModelChange"], [null, "change"], [null, "focus"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "focus" === n && + (o = + !1 !== wa(t, 4)._inputElement.nativeElement.focus() && o), + "ngModelChange" === n && + (o = + !1 !== + (a.SyncService_BeastSaberBOOKMARKS.IsEnabled = e) && o), + "change" === n && + (o = + !1 !== + a.updateFeedSetting( + a.SyncService_BeastSaberBOOKMARKS + ) && o), + o + ); + }, + cw, + sw + )), + Ba( + 4, + 1228800, + null, + 0, + iw, + [Ne, Gf, no, [8, null], Dr, ow, [2, Py], [2, rf]], + null, + { change: "change" } + ), + Ha( + 1024, + null, + OM, + function(t) { + return [t]; + }, + [iw] + ), + Ba( + 6, + 671744, + null, + 0, + _x, + [[8, null], [8, null], [8, null], [6, OM]], + { model: [0, "model"] }, + { update: "ngModelChange" } + ), + Ha(2048, null, EM, null, [_x]), + Ba(8, 16384, null, 0, IM, [[4, EM]], null, null), + (t()(), Ai(-1, 0, [" BeastSaber's Bookmarks "])), + (t()(), + bi(10, 0, null, null, 0, "br", [], null, null, null, null, null)), + (t()(), + bi(11, 0, null, null, 0, "br", [], null, null, null, null, null)) + ], + function(t, n) { + var e = n.component; + t(n, 2, 0, e.SyncService_BeastSaberBOOKMARKS), + t(n, 6, 0, e.SyncService_BeastSaberBOOKMARKS.IsEnabled); + }, + function(t, n) { + t(n, 3, 1, [ + wa(n, 4).id, + wa(n, 4).disabled ? null : -1, + wa(n, 4).checked, + wa(n, 4).disabled, + "before" == wa(n, 4).labelPosition, + "NoopAnimations" === wa(n, 4)._animationMode, + wa(n, 8).ngClassUntouched, + wa(n, 8).ngClassTouched, + wa(n, 8).ngClassPristine, + wa(n, 8).ngClassDirty, + wa(n, 8).ngClassValid, + wa(n, 8).ngClassInvalid, + wa(n, 8).ngClassPending + ]); + } + ); + } + function dS(t) { + return Di( + 0, + [ + (t()(), + bi(0, 0, null, null, 9, "div", [], null, null, null, null, null)), + (t()(), + bi( + 1, + 0, + null, + null, + 1, + "app-sync-saber-max-songs", + [["class", "right"]], + null, + [[null, "update"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "update" === n && + (o = + !1 !== + a.updateFeedSetting(a.SyncService_BeatSaverAUTHOR) && + o), + o + ); + }, + ew, + nw + )), + Ba( + 2, + 114688, + null, + 0, + tw, + [], + { reader: [0, "reader"] }, + { update: "update" } + ), + (t()(), + bi( + 3, + 0, + null, + null, + 6, + "mat-slide-toggle", + [["class", "mat-slide-toggle"]], + [ + [8, "id", 0], + [1, "tabindex", 0], + [2, "mat-checked", null], + [2, "mat-disabled", null], + [2, "mat-slide-toggle-label-before", null], + [2, "_mat-animation-noopable", null], + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null] + ], + [[null, "ngModelChange"], [null, "change"], [null, "focus"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "focus" === n && + (o = + !1 !== wa(t, 4)._inputElement.nativeElement.focus() && o), + "ngModelChange" === n && + (o = + !1 !== (a.SyncService_BeatSaverAUTHOR.IsEnabled = e) && + o), + "change" === n && + (o = + !1 !== + a.updateFeedSetting(a.SyncService_BeatSaverAUTHOR) && + o), + o + ); + }, + cw, + sw + )), + Ba( + 4, + 1228800, + null, + 0, + iw, + [Ne, Gf, no, [8, null], Dr, ow, [2, Py], [2, rf]], + null, + { change: "change" } + ), + Ha( + 1024, + null, + OM, + function(t) { + return [t]; + }, + [iw] + ), + Ba( + 6, + 671744, + null, + 0, + _x, + [[8, null], [8, null], [8, null], [6, OM]], + { model: [0, "model"] }, + { update: "ngModelChange" } + ), + Ha(2048, null, EM, null, [_x]), + Ba(8, 16384, null, 0, IM, [[4, EM]], null, null), + (t()(), Ai(-1, 0, [" BeatSaver's Authors "])) + ], + function(t, n) { + var e = n.component; + t(n, 2, 0, e.SyncService_BeatSaverAUTHOR), + t(n, 6, 0, e.SyncService_BeatSaverAUTHOR.IsEnabled); + }, + function(t, n) { + t(n, 3, 1, [ + wa(n, 4).id, + wa(n, 4).disabled ? null : -1, + wa(n, 4).checked, + wa(n, 4).disabled, + "before" == wa(n, 4).labelPosition, + "NoopAnimations" === wa(n, 4)._animationMode, + wa(n, 8).ngClassUntouched, + wa(n, 8).ngClassTouched, + wa(n, 8).ngClassPristine, + wa(n, 8).ngClassDirty, + wa(n, 8).ngClassValid, + wa(n, 8).ngClassInvalid, + wa(n, 8).ngClassPending + ]); + } + ); + } + function pS(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 9, + "mat-chip", + [ + ["class", "mat-chip"], + ["removable", "true"], + ["role", "option"] + ], + [ + [1, "tabindex", 0], + [2, "mat-chip-selected", null], + [2, "mat-chip-with-avatar", null], + [2, "mat-chip-with-trailing-icon", null], + [2, "mat-chip-disabled", null], + [1, "disabled", 0], + [1, "aria-disabled", 0], + [1, "aria-selected", 0] + ], + [ + [null, "removed"], + [null, "click"], + [null, "keydown"], + [null, "focus"], + [null, "blur"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "click" === n && (o = !1 !== wa(t, 1)._handleClick(e) && o), + "keydown" === n && + (o = !1 !== wa(t, 1)._handleKeydown(e) && o), + "focus" === n && (o = !1 !== wa(t, 1).focus() && o), + "blur" === n && (o = !1 !== wa(t, 1)._blur() && o), + "removed" === n && + (o = !1 !== a.removeAuthor(t.context.$implicit) && o), + o + ); + }, + null, + null + )), + Ba( + 1, + 147456, + [[10, 4]], + 3, + uw, + [Ne, Dr, ff, [2, _h]], + { selectable: [0, "selectable"], removable: [1, "removable"] }, + { removed: "removed" } + ), + Oi(603979776, 11, { avatar: 0 }), + Oi(603979776, 12, { trailingIcon: 0 }), + Oi(603979776, 13, { removeIcon: 0 }), + (t()(), Ai(5, null, [" ", " "])), + (t()(), + bi( + 6, + 0, + null, + null, + 3, + "mat-icon", + [ + [ + "class", + "mat-icon notranslate mat-chip-remove mat-chip-trailing-icon" + ], + ["matChipRemove", ""], + ["role", "img"] + ], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && (o = !1 !== wa(t, 8)._handleClick(e) && o), o + ); + }, + Yh, + Kh + )), + Ba( + 7, + 9158656, + null, + 0, + Uh, + [Ne, Nh, [8, null], [2, Fh]], + null, + null + ), + Ba(8, 16384, [[13, 4]], 0, dw, [uw], null, null), + (t()(), Ai(-1, 0, ["cancel"])) + ], + function(t, n) { + t(n, 1, 0, n.component.selectable, "true"), t(n, 7, 0); + }, + function(t, n) { + t( + n, + 0, + 0, + wa(n, 1).disabled ? null : -1, + wa(n, 1).selected, + wa(n, 1).avatar, + wa(n, 1).trailingIcon || wa(n, 1).removeIcon, + wa(n, 1).disabled, + wa(n, 1).disabled || null, + wa(n, 1).disabled.toString(), + wa(n, 1).ariaSelected + ), + t(n, 5, 0, n.context.$implicit), + t( + n, + 6, + 0, + wa(n, 7).inline, + "primary" !== wa(n, 7).color && + "accent" !== wa(n, 7).color && + "warn" !== wa(n, 7).color + ); + } + ); + } + function mS(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 103, + "mat-card", + [["class", "setup-card mat-card"]], + null, + null, + null, + Mh, + Ph + )), + Ba(1, 49152, null, 0, nf, [], null, null), + (t()(), + bi( + 2, + 0, + null, + 0, + 37, + "mat-card-header", + [["class", "mat-card-header"]], + null, + null, + null, + kh, + xh + )), + Ba(3, 49152, null, 0, ef, [], null, null), + (t()(), + bi( + 4, + 0, + null, + 0, + 4, + "div", + [["class", "mat-card-avatar"], ["mat-card-avatar", ""]], + null, + null, + null, + null, + null + )), + Ba(5, 16384, null, 0, tf, [], null, null), + (t()(), + bi( + 6, + 0, + null, + null, + 2, + "mat-icon", + [ + ["aria-hidden", "false"], + ["class", "setup-icon mat-icon notranslate"], + ["role", "img"] + ], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + Yh, + Kh + )), + Ba( + 7, + 9158656, + null, + 0, + Uh, + [Ne, Nh, [8, "false"], [2, Fh]], + null, + null + ), + (t()(), Ai(-1, 0, ["sync"])), + (t()(), + bi( + 9, + 0, + null, + 1, + 2, + "mat-card-title", + [["class", "mat-card-title"]], + null, + null, + null, + null, + null + )), + Ba(10, 16384, null, 0, Xg, [], null, null), + (t()(), Ai(-1, null, ["SyncSaber Feeds"])), + (t()(), + bi( + 12, + 0, + null, + 1, + 2, + "mat-card-subtitle", + [["class", "mat-card-subtitle"]], + null, + null, + null, + null, + null + )), + Ba(13, 16384, null, 0, Jg, [], null, null), + (t()(), + Ai(-1, null, ["Automatic feed sync from online song feeds."])), + (t()(), + bi( + 15, + 0, + null, + 2, + 19, + "div", + [["class", "username-container"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 16, + 0, + null, + null, + 18, + "mat-form-field", + [["class", "input-width mat-form-field"]], + [ + [2, "mat-form-field-appearance-standard", null], + [2, "mat-form-field-appearance-fill", null], + [2, "mat-form-field-appearance-outline", null], + [2, "mat-form-field-appearance-legacy", null], + [2, "mat-form-field-invalid", null], + [2, "mat-form-field-can-float", null], + [2, "mat-form-field-should-float", null], + [2, "mat-form-field-has-label", null], + [2, "mat-form-field-hide-placeholder", null], + [2, "mat-form-field-disabled", null], + [2, "mat-form-field-autofilled", null], + [2, "mat-focused", null], + [2, "mat-accent", null], + [2, "mat-warn", null], + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null], + [2, "_mat-animation-noopable", null] + ], + null, + null, + Fw, + ww + )), + Ba( + 17, + 7520256, + null, + 9, + xw, + [Ne, no, [2, Oh], [2, rf], [2, Mw], ff, Dr, [2, Py]], + null, + null + ), + Oi(603979776, 1, { _controlNonStatic: 0 }), + Oi(335544320, 2, { _controlStatic: 0 }), + Oi(603979776, 3, { _labelChildNonStatic: 0 }), + Oi(335544320, 4, { _labelChildStatic: 0 }), + Oi(603979776, 5, { _placeholderChild: 0 }), + Oi(603979776, 6, { _errorChildren: 1 }), + Oi(603979776, 7, { _hintChildren: 1 }), + Oi(603979776, 8, { _prefixChildren: 1 }), + Oi(603979776, 9, { _suffixChildren: 1 }), + (t()(), + bi( + 27, + 0, + null, + 1, + 7, + "input", + [ + ["class", "mat-input-element mat-form-field-autofill-control"], + ["matInput", ""], + ["placeholder", "Beast Saber Username"] + ], + [ + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null], + [2, "mat-input-server", null], + [1, "id", 0], + [1, "placeholder", 0], + [8, "disabled", 0], + [8, "required", 0], + [1, "readonly", 0], + [1, "aria-describedby", 0], + [1, "aria-invalid", 0], + [1, "aria-required", 0] + ], + [ + [null, "ngModelChange"], + [null, "input"], + [null, "blur"], + [null, "compositionstart"], + [null, "compositionend"], + [null, "focus"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "input" === n && + (o = !1 !== wa(t, 28)._handleInput(e.target.value) && o), + "blur" === n && (o = !1 !== wa(t, 28).onTouched() && o), + "compositionstart" === n && + (o = !1 !== wa(t, 28)._compositionStart() && o), + "compositionend" === n && + (o = !1 !== wa(t, 28)._compositionEnd(e.target.value) && o), + "blur" === n && (o = !1 !== wa(t, 33)._focusChanged(!1) && o), + "focus" === n && + (o = !1 !== wa(t, 33)._focusChanged(!0) && o), + "input" === n && (o = !1 !== wa(t, 33)._onInput() && o), + "ngModelChange" === n && + (o = !1 !== (a.BeastSaberUsername = e) && o), + "input" === n && (o = !1 !== a.setBeastSaberUsername() && o), + o + ); + }, + null, + null + )), + Ba(28, 16384, null, 0, xM, [Be, Ne, [2, MM]], null, null), + Ha( + 1024, + null, + OM, + function(t) { + return [t]; + }, + [xM] + ), + Ba( + 30, + 671744, + null, + 0, + _x, + [[8, null], [8, null], [8, null], [6, OM]], + { model: [0, "model"] }, + { update: "ngModelChange" } + ), + Ha(2048, null, EM, null, [_x]), + Ba(32, 16384, null, 0, IM, [[4, EM]], null, null), + Ba( + 33, + 999424, + null, + 0, + Kw, + [Ne, ff, [6, EM], [2, px], [2, Cx], ah, [8, null], Vw, Dr], + { placeholder: [0, "placeholder"] }, + null + ), + Ha(2048, [[1, 4], [2, 4]], Cw, null, [Kw]), + (t()(), + bi( + 35, + 0, + null, + 2, + 4, + "button", + [ + ["class", "syncButton"], + ["color", "accent"], + ["mat-raised-button", ""] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && (o = !1 !== t.component.clickSyncNow() && o), + o + ); + }, + ky, + xy + )), + Ba( + 36, + 180224, + null, + 0, + Zh, + [Ne, Gf, [2, Py]], + { disabled: [0, "disabled"], color: [1, "color"] }, + null + ), + (t()(), hi(16777216, null, 0, 1, null, tS)), + Ba(38, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), Ai(-1, 0, ["Start Sync"])), + (t()(), + bi( + 40, + 0, + null, + 0, + 63, + "mat-card-content", + [["class", "mat-card-content"]], + null, + null, + null, + null, + null + )), + Ba(41, 16384, null, 0, Qg, [], null, null), + (t()(), + bi( + 42, + 0, + null, + null, + 61, + "div", + [["class", "innerScroll"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 43, + 0, + null, + null, + 60, + "mat-card", + [["class", "mat-card"]], + null, + null, + null, + Mh, + Ph + )), + Ba(44, 49152, null, 0, nf, [], null, null), + (t()(), + bi( + 45, + 0, + null, + 0, + 56, + "div", + [["class", "outer-container"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 46, + 0, + null, + null, + 31, + "div", + [["class", "left-col"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 47, + 0, + null, + null, + 1, + "div", + [["class", "right-select-all"]], + null, + null, + null, + null, + null + )), + (t()(), Ai(-1, null, ["Max Songs"])), + (t()(), + bi(49, 0, null, null, 1, "h1", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["What's Popular "])), + (t()(), + bi(51, 0, null, null, 0, "hr", [], null, null, null, null, null)), + (t()(), + bi( + 52, + 0, + null, + null, + 12, + "div", + [["class", "left-padd-gate"]], + null, + null, + null, + null, + null + )), + (t()(), hi(16777216, null, null, 1, null, nS)), + Ba(54, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, null, 1, null, eS)), + Ba(56, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, null, 1, null, oS)), + Ba(58, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, null, 1, null, aS)), + Ba(60, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, null, 1, null, rS)), + Ba(62, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, null, 1, null, iS)), + Ba(64, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), + bi(65, 0, null, null, 0, "br", [], null, null, null, null, null)), + (t()(), + bi(66, 0, null, null, 0, "br", [], null, null, null, null, null)), + (t()(), + bi(67, 0, null, null, 0, "br", [], null, null, null, null, null)), + (t()(), + bi( + 68, + 0, + null, + null, + 1, + "div", + [["class", "right-select-all"]], + null, + null, + null, + null, + null + )), + (t()(), Ai(-1, null, ["Max Songs"])), + (t()(), + bi(70, 0, null, null, 1, "h1", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["For a Challenge "])), + (t()(), + bi(72, 0, null, null, 0, "hr", [], null, null, null, null, null)), + (t()(), + bi( + 73, + 0, + null, + null, + 4, + "div", + [["class", "left-padd-gate"]], + null, + null, + null, + null, + null + )), + (t()(), hi(16777216, null, null, 1, null, lS)), + Ba(75, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, null, 1, null, sS)), + Ba(77, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), + bi( + 78, + 0, + null, + null, + 23, + "div", + [["class", "right-col"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 79, + 0, + null, + null, + 1, + "div", + [["class", "right-select-all"]], + null, + null, + null, + null, + null + )), + (t()(), Ai(-1, null, ["Max Songs"])), + (t()(), + bi(81, 0, null, null, 1, "h1", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["For Me "])), + (t()(), + bi(83, 0, null, null, 0, "hr", [], null, null, null, null, null)), + (t()(), + bi( + 84, + 0, + null, + null, + 14, + "div", + [["class", "left-padd-gate"]], + null, + null, + null, + null, + null + )), + (t()(), hi(16777216, null, null, 1, null, cS)), + Ba(86, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, null, 1, null, uS)), + Ba(88, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, null, 1, null, dS)), + Ba(90, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), + bi( + 91, + 0, + null, + null, + 7, + "mat-chip-list", + [["class", "authorList mat-chip-list"]], + [ + [1, "tabindex", 0], + [1, "aria-describedby", 0], + [1, "aria-required", 0], + [1, "aria-disabled", 0], + [1, "aria-invalid", 0], + [1, "aria-multiselectable", 0], + [1, "role", 0], + [2, "mat-chip-list-disabled", null], + [2, "mat-chip-list-invalid", null], + [2, "mat-chip-list-required", null], + [1, "aria-orientation", 0], + [8, "id", 0] + ], + [[null, "focus"], [null, "blur"], [null, "keydown"]], + function(t, n, e) { + var o = !0; + return ( + "focus" === n && (o = !1 !== wa(t, 93).focus() && o), + "blur" === n && (o = !1 !== wa(t, 93)._blur() && o), + "keydown" === n && (o = !1 !== wa(t, 93)._keydown(e) && o), + o + ); + }, + Gw, + Ww + )), + Ha(6144, null, Cw, null, [hw]), + Ba( + 93, + 1556480, + [["chipList", 4]], + 1, + hw, + [Ne, no, [2, rf], [2, px], [2, Cx], ah, [8, null]], + null, + null + ), + Oi(603979776, 10, { chips: 1 }), + (t()(), hi(16777216, null, 0, 1, null, pS)), + Ba( + 96, + 278528, + null, + 0, + _s, + [so, io, $e], + { ngForOf: [0, "ngForOf"] }, + null + ), + (t()(), + bi( + 97, + 0, + null, + 0, + 1, + "input", + [ + ["class", "mat-chip-input mat-input-element"], + ["matChipInputAddOnBlur", "true"], + ["placeholder", "New Author..."] + ], + [ + [8, "id", 0], + [1, "disabled", 0], + [1, "placeholder", 0], + [1, "aria-invalid", 0] + ], + [ + [null, "matChipInputTokenEnd"], + [null, "keydown"], + [null, "blur"], + [null, "focus"], + [null, "input"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "keydown" === n && (o = !1 !== wa(t, 98)._keydown(e) && o), + "blur" === n && (o = !1 !== wa(t, 98)._blur() && o), + "focus" === n && (o = !1 !== wa(t, 98)._focus() && o), + "input" === n && (o = !1 !== wa(t, 98)._onInput() && o), + "matChipInputTokenEnd" === n && + (o = !1 !== a.addAuthor(e) && o), + o + ); + }, + null, + null + )), + Ba( + 98, + 540672, + null, + 0, + _w, + [Ne, pw], + { + chipList: [0, "chipList"], + addOnBlur: [1, "addOnBlur"], + separatorKeyCodes: [2, "separatorKeyCodes"], + placeholder: [3, "placeholder"] + }, + { chipEnd: "matChipInputTokenEnd" } + ), + (t()(), + bi(99, 0, null, null, 0, "br", [], null, null, null, null, null)), + (t()(), + bi(100, 0, null, null, 0, "br", [], null, null, null, null, null)), + (t()(), + bi(101, 0, null, null, 0, "br", [], null, null, null, null, null)), + (t()(), + bi( + 102, + 0, + null, + 0, + 1, + "mat-card-actions", + [["class", "right-align mat-card-actions"]], + [[2, "mat-card-actions-align-end", null]], + null, + null, + null, + null + )), + Ba(103, 16384, null, 0, $g, [], null, null) + ], + function(t, n) { + var e = n.component; + t(n, 7, 0), + t(n, 30, 0, e.BeastSaberUsername), + t(n, 33, 0, "Beast Saber Username"), + t(n, 36, 0, e.syncDisabled, "accent"), + t(n, 38, 0, e.syncDisabled), + t(n, 54, 0, e.SyncService_BeatSaverHOT), + t(n, 56, 0, e.SyncService_BeatSaverLATEST), + t(n, 58, 0, e.SyncService_BeatSaverDOWNLOADS), + t(n, 60, 0, e.SyncService_BeastSaberCURATOR_RECOMMENDED), + t(n, 62, 0, e.SyncService_ScoreSaberTOP_PLAYED), + t(n, 64, 0, e.SyncService_ScoreSaberTRENDING), + t(n, 75, 0, e.SyncService_ScoreSaberTOP_RANKED), + t(n, 77, 0, e.SyncService_ScoreSaberTOP_RANKED), + t(n, 86, 0, e.SyncService_BeastSaberFOLLOWING), + t(n, 88, 0, e.SyncService_BeastSaberBOOKMARKS), + t(n, 90, 0, e.SyncService_BeatSaverAUTHOR), + t(n, 93, 0), + t(n, 96, 0, e.SyncService_BeatSaverAUTHOR.Authors), + t( + n, + 98, + 0, + wa(n, 93), + "true", + e.separatorKeysCodes, + "New Author..." + ); + }, + function(t, n) { + t( + n, + 6, + 0, + wa(n, 7).inline, + "primary" !== wa(n, 7).color && + "accent" !== wa(n, 7).color && + "warn" !== wa(n, 7).color + ), + t(n, 16, 1, [ + "standard" == wa(n, 17).appearance, + "fill" == wa(n, 17).appearance, + "outline" == wa(n, 17).appearance, + "legacy" == wa(n, 17).appearance, + wa(n, 17)._control.errorState, + wa(n, 17)._canLabelFloat, + wa(n, 17)._shouldLabelFloat(), + wa(n, 17)._hasFloatingLabel(), + wa(n, 17)._hideControlPlaceholder(), + wa(n, 17)._control.disabled, + wa(n, 17)._control.autofilled, + wa(n, 17)._control.focused, + "accent" == wa(n, 17).color, + "warn" == wa(n, 17).color, + wa(n, 17)._shouldForward("untouched"), + wa(n, 17)._shouldForward("touched"), + wa(n, 17)._shouldForward("pristine"), + wa(n, 17)._shouldForward("dirty"), + wa(n, 17)._shouldForward("valid"), + wa(n, 17)._shouldForward("invalid"), + wa(n, 17)._shouldForward("pending"), + !wa(n, 17)._animationsEnabled + ]), + t(n, 27, 1, [ + wa(n, 32).ngClassUntouched, + wa(n, 32).ngClassTouched, + wa(n, 32).ngClassPristine, + wa(n, 32).ngClassDirty, + wa(n, 32).ngClassValid, + wa(n, 32).ngClassInvalid, + wa(n, 32).ngClassPending, + wa(n, 33)._isServer, + wa(n, 33).id, + wa(n, 33).placeholder, + wa(n, 33).disabled, + wa(n, 33).required, + (wa(n, 33).readonly && !wa(n, 33)._isNativeSelect) || null, + wa(n, 33)._ariaDescribedby || null, + wa(n, 33).errorState, + wa(n, 33).required.toString() + ]), + t( + n, + 35, + 0, + wa(n, 36).disabled || null, + "NoopAnimations" === wa(n, 36)._animationMode + ), + t(n, 91, 1, [ + wa(n, 93).disabled ? null : wa(n, 93)._tabIndex, + wa(n, 93)._ariaDescribedby || null, + wa(n, 93).required.toString(), + wa(n, 93).disabled.toString(), + wa(n, 93).errorState, + wa(n, 93).multiple, + wa(n, 93).role, + wa(n, 93).disabled, + wa(n, 93).errorState, + wa(n, 93).required, + wa(n, 93).ariaOrientation, + wa(n, 93)._uid + ]), + t( + n, + 97, + 0, + wa(n, 98).id, + wa(n, 98).disabled || null, + wa(n, 98).placeholder || null, + wa(n, 98)._chipList && wa(n, 98)._chipList.ngControl + ? wa(n, 98)._chipList.ngControl.invalid + : null + ), + t(n, 102, 0, "end" === wa(n, 103).align); + } + ); + } + function gS(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "app-sync-saber", + [], + null, + null, + null, + mS, + $w + )), + Ba(1, 114688, null, 0, Jw, [yc, Sg, pg], null, null) + ], + function(t, n) { + t(n, 1, 0); + }, + null + ); + } + var fS = ha("app-sync-saber", Jw, gS, {}, {}, []), + hS = nh( + (function() { + return function() {}; + })() + ), + bS = nh( + (function() { + return function() {}; + })() + ), + _S = (function(t) { + function n() { + var n = (null !== t && t.apply(this, arguments)) || this; + return (n._stateChanges = new S()), n; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.ngOnChanges = function() { + this._stateChanges.next(); + }), + (n.prototype.ngOnDestroy = function() { + this._stateChanges.complete(); + }), + n + ); + })(hS), + yS = (function(t) { + function n(n) { + var e = t.call(this) || this; + return ( + (e._elementRef = n), + (e._stateChanges = new S()), + "action-list" === e._getListType() && + n.nativeElement.classList.add("mat-action-list"), + e + ); + } + return ( + Object(o.__extends)(n, t), + (n.prototype._getListType = function() { + var t = this._elementRef.nativeElement.nodeName.toLowerCase(); + return "mat-list" === t + ? "list" + : "mat-action-list" === t + ? "action-list" + : null; + }), + (n.prototype.ngOnChanges = function() { + this._stateChanges.next(); + }), + (n.prototype.ngOnDestroy = function() { + this._stateChanges.complete(); + }), + n + ); + })(hS), + CS = (function(t) { + function n(n, e, o, a) { + var r = t.call(this) || this; + (r._element = n), + (r._isInteractiveList = !1), + (r._destroyed = new S()), + (r._isInteractiveList = !!( + o || + (a && "action-list" === a._getListType()) + )), + (r._list = o || a); + var i = r._getHostElement(); + return ( + "button" !== i.nodeName.toLowerCase() || + i.hasAttribute("type") || + i.setAttribute("type", "button"), + r._list && + r._list._stateChanges + .pipe(oC(r._destroyed)) + .subscribe(function() { + e.markForCheck(); + }), + r + ); + } + return ( + Object(o.__extends)(n, t), + (n.prototype.ngAfterContentInit = function() { + var t, n; + (n = this._element), + (t = this._lines).changes.pipe(nu(t)).subscribe(function(t) { + var e = t.length; + uh(n, "mat-2-line", !1), + uh(n, "mat-3-line", !1), + uh(n, "mat-multi-line", !1), + 2 === e || 3 === e + ? uh(n, "mat-" + e + "-line", !0) + : e > 3 && uh(n, "mat-multi-line", !0); + }); + }), + (n.prototype.ngOnDestroy = function() { + this._destroyed.next(), this._destroyed.complete(); + }), + (n.prototype._isRippleDisabled = function() { + return ( + !this._isInteractiveList || + this.disableRipple || + !(!this._list || !this._list.disableRipple) + ); + }), + (n.prototype._getHostElement = function() { + return this._element.nativeElement; + }), + n + ); + })(bS), + vS = (function() { + return function() {}; + })(), + OS = (function() { + return function() {}; + })(), + PS = So({ + encapsulation: 2, + styles: [ + ".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:0}mat-action-list button{background:0 0;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:0}@media (-ms-high-contrast:active){.mat-selection-list:focus{outline-style:dotted}.mat-list-option:focus,.mat-list-option:hover,.mat-nav-list .mat-list-item:focus,.mat-nav-list .mat-list-item:hover,mat-action-list .mat-list-item:focus,mat-action-list .mat-list-item:hover{outline:dotted 1px}}@media (hover:none){.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover{background:0 0}}" + ], + data: {} + }); + function MS(t) { + return Di(2, [wi(null, 0)], null, null); + } + var xS = So({ encapsulation: 2, styles: [], data: {} }); + function kS(t) { + return Di( + 2, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 6, + "div", + [["class", "mat-list-item-content"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 1, + 0, + null, + null, + 1, + "div", + [ + ["class", "mat-list-item-ripple mat-ripple"], + ["mat-ripple", ""] + ], + [[2, "mat-ripple-unbounded", null]], + null, + null, + null, + null + )), + Ba( + 2, + 212992, + null, + 0, + yh, + [Ne, Dr, ff, [2, _h], [2, Py]], + { disabled: [0, "disabled"], trigger: [1, "trigger"] }, + null + ), + wi(null, 0), + (t()(), + bi( + 4, + 0, + null, + null, + 1, + "div", + [["class", "mat-list-text"]], + null, + null, + null, + null, + null + )), + wi(null, 1), + wi(null, 2) + ], + function(t, n) { + var e = n.component; + t(n, 2, 0, e._isRippleDisabled(), e._getHostElement()); + }, + function(t, n) { + t(n, 1, 0, wa(n, 2).unbounded); + } + ); + } + var wS, + SS, + ES = (function() { + var t = { HEX: 0, RGBA: 1, HSLA: 2, CMYK: 3 }; + return ( + (t[t.HEX] = "HEX"), + (t[t.RGBA] = "RGBA"), + (t[t.HSLA] = "HSLA"), + (t[t.CMYK] = "CMYK"), + t + ); + })(), + IS = (function() { + return function(t, n, e, o) { + (this.r = t), (this.g = n), (this.b = e), (this.a = o); + }; + })(), + AS = (function() { + return function(t, n, e, o) { + (this.h = t), (this.s = n), (this.v = e), (this.a = o); + }; + })(), + TS = (function() { + return function(t, n, e, o) { + (this.h = t), (this.s = n), (this.l = e), (this.a = o); + }; + })(), + RS = (function() { + return function(t, n, e, o, a) { + void 0 === a && (a = 1), + (this.c = t), + (this.m = n), + (this.y = e), + (this.k = o), + (this.a = a); + }; + })(), + DS = (function() { + function t() { + this.newValue = new ar(); + } + return ( + (t.prototype.inputChange = function(t) { + var n = t.target.value; + if (void 0 === this.rg) this.newValue.emit(n); + else { + var e = parseFloat(n); + this.newValue.emit({ v: e, rg: this.rg }); + } + }), + t + ); + })(), + NS = (function() { + function t(t) { + var n = this; + (this.elRef = t), + (this.dragEnd = new ar()), + (this.dragStart = new ar()), + (this.newValue = new ar()), + (this.listenerMove = function(t) { + return n.move(t); + }), + (this.listenerStop = function() { + return n.stop(); + }); + } + return ( + (t.prototype.mouseDown = function(t) { + this.start(t); + }), + (t.prototype.touchStart = function(t) { + this.start(t); + }), + (t.prototype.move = function(t) { + t.preventDefault(), this.setCursor(t); + }), + (t.prototype.start = function(t) { + this.setCursor(t), + t.stopPropagation(), + document.addEventListener("mouseup", this.listenerStop), + document.addEventListener("touchend", this.listenerStop), + document.addEventListener("mousemove", this.listenerMove), + document.addEventListener("touchmove", this.listenerMove), + this.dragStart.emit(); + }), + (t.prototype.stop = function() { + document.removeEventListener("mouseup", this.listenerStop), + document.removeEventListener("touchend", this.listenerStop), + document.removeEventListener("mousemove", this.listenerMove), + document.removeEventListener("touchmove", this.listenerMove), + this.dragEnd.emit(); + }), + (t.prototype.getX = function(t) { + var n = this.elRef.nativeElement.getBoundingClientRect(); + return ( + (void 0 !== t.pageX ? t.pageX : t.touches[0].pageX) - + n.left - + window.pageXOffset + ); + }), + (t.prototype.getY = function(t) { + var n = this.elRef.nativeElement.getBoundingClientRect(); + return ( + (void 0 !== t.pageY ? t.pageY : t.touches[0].pageY) - + n.top - + window.pageYOffset + ); + }), + (t.prototype.setCursor = function(t) { + var n = this.elRef.nativeElement.offsetWidth, + e = this.elRef.nativeElement.offsetHeight, + o = Math.max(0, Math.min(this.getX(t), n)), + a = Math.max(0, Math.min(this.getY(t), e)); + void 0 !== this.rgX && void 0 !== this.rgY + ? this.newValue.emit({ + s: o / n, + v: 1 - a / e, + rgX: this.rgX, + rgY: this.rgY + }) + : void 0 === this.rgX && void 0 !== this.rgY + ? this.newValue.emit({ v: a / e, rgY: this.rgY }) + : void 0 !== this.rgX && + void 0 === this.rgY && + this.newValue.emit({ v: o / n, rgX: this.rgX }); + }), + t + ); + })(), + zS = (function() { + return function(t, n, e, o) { + (this.h = t), (this.s = n), (this.v = e), (this.a = o); + }; + })(), + LS = (function() { + return function(t, n, e, o) { + (this.h = t), (this.s = n), (this.v = e), (this.a = o); + }; + })(), + jS = (function() { + function t() { + this.active = null; + } + return ( + (t.prototype.setActive = function(t) { + this.active && + this.active !== t && + "inline" !== this.active.cpDialogDisplay && + this.active.closeDialog(), + (this.active = t); + }), + (t.prototype.hsva2hsla = function(t) { + var n = t.h, + e = t.s, + o = t.v, + a = t.a; + if (0 === o) return new TS(n, 0, 0, a); + if (0 === e && 1 === o) return new TS(n, 1, 1, a); + var r = (o * (2 - e)) / 2; + return new TS(n, (o * e) / (1 - Math.abs(2 * r - 1)), r, a); + }), + (t.prototype.hsla2hsva = function(t) { + var n = Math.min(t.h, 1), + e = Math.min(t.s, 1), + o = Math.min(t.l, 1), + a = Math.min(t.a, 1); + if (0 === o) return new AS(n, 0, 0, a); + var r = o + (e * (1 - Math.abs(2 * o - 1))) / 2; + return new AS(n, (2 * (r - o)) / r, r, a); + }), + (t.prototype.hsvaToRgba = function(t) { + var n, + e, + o, + a = t.h, + r = t.s, + i = t.v, + l = t.a, + s = Math.floor(6 * a), + c = 6 * a - s, + u = i * (1 - r), + d = i * (1 - c * r), + p = i * (1 - (1 - c) * r); + switch (s % 6) { + case 0: + (n = i), (e = p), (o = u); + break; + case 1: + (n = d), (e = i), (o = u); + break; + case 2: + (n = u), (e = i), (o = p); + break; + case 3: + (n = u), (e = d), (o = i); + break; + case 4: + (n = p), (e = u), (o = i); + break; + case 5: + (n = i), (e = u), (o = d); + break; + default: + (n = 0), (e = 0), (o = 0); + } + return new IS(n, e, o, l); + }), + (t.prototype.cmykToRgb = function(t) { + return new IS( + (1 - t.c) * (1 - t.k), + (1 - t.m) * (1 - t.k), + (1 - t.y) * (1 - t.k), + t.a + ); + }), + (t.prototype.rgbaToCmyk = function(t) { + var n = 1 - Math.max(t.r, t.g, t.b); + return 1 === n + ? new RS(0, 0, 0, 1, t.a) + : new RS( + (1 - t.r - n) / (1 - n), + (1 - t.g - n) / (1 - n), + (1 - t.b - n) / (1 - n), + n, + t.a + ); + }), + (t.prototype.rgbaToHsva = function(t) { + var n, + e, + o = Math.min(t.r, 1), + a = Math.min(t.g, 1), + r = Math.min(t.b, 1), + i = Math.min(t.a, 1), + l = Math.max(o, a, r), + s = Math.min(o, a, r), + c = l, + u = l - s; + if (((e = 0 === l ? 0 : u / l), l === s)) n = 0; + else { + switch (l) { + case o: + n = (a - r) / u + (a < r ? 6 : 0); + break; + case a: + n = (r - o) / u + 2; + break; + case r: + n = (o - a) / u + 4; + break; + default: + n = 0; + } + n /= 6; + } + return new AS(n, e, c, i); + }), + (t.prototype.rgbaToHex = function(t, n) { + var e = + "#" + + ((1 << 24) | (t.r << 16) | (t.g << 8) | t.b) + .toString(16) + .substr(1); + return ( + n && + (e += (256 | Math.round(255 * t.a)).toString(16).substr(1)), + e + ); + }), + (t.prototype.normalizeCMYK = function(t) { + return new RS(t.c / 100, t.m / 100, t.y / 100, t.k / 100, t.a); + }), + (t.prototype.denormalizeCMYK = function(t) { + return new RS( + Math.floor(100 * t.c), + Math.floor(100 * t.m), + Math.floor(100 * t.y), + Math.floor(100 * t.k), + t.a + ); + }), + (t.prototype.denormalizeRGBA = function(t) { + return new IS( + Math.round(255 * t.r), + Math.round(255 * t.g), + Math.round(255 * t.b), + t.a + ); + }), + (t.prototype.stringToHsva = function(t, n) { + void 0 === t && (t = ""), void 0 === n && (n = !1); + var e = null; + t = (t || "").toLowerCase(); + var o = [ + { + re: /(rgb)a?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*%?,\s*(\d{1,3})\s*%?(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/, + parse: function(t) { + return new IS( + parseInt(t[2], 10) / 255, + parseInt(t[3], 10) / 255, + parseInt(t[4], 10) / 255, + isNaN(parseFloat(t[5])) ? 1 : parseFloat(t[5]) + ); + } + }, + { + re: /(hsl)a?\(\s*(\d{1,3})\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/, + parse: function(t) { + return new TS( + parseInt(t[2], 10) / 360, + parseInt(t[3], 10) / 100, + parseInt(t[4], 10) / 100, + isNaN(parseFloat(t[5])) ? 1 : parseFloat(t[5]) + ); + } + } + ]; + for (var a in (o.push( + n + ? { + re: /#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})?$/, + parse: function(t) { + return new IS( + parseInt(t[1], 16) / 255, + parseInt(t[2], 16) / 255, + parseInt(t[3], 16) / 255, + parseInt(t[4] || "FF", 16) / 255 + ); + } + } + : { + re: /#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})$/, + parse: function(t) { + return new IS( + parseInt(t[1], 16) / 255, + parseInt(t[2], 16) / 255, + parseInt(t[3], 16) / 255, + 1 + ); + } + } + ), + o.push({ + re: /#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])$/, + parse: function(t) { + return new IS( + parseInt(t[1] + t[1], 16) / 255, + parseInt(t[2] + t[2], 16) / 255, + parseInt(t[3] + t[3], 16) / 255, + 1 + ); + } + }), + o)) + if (o.hasOwnProperty(a)) { + var r = o[a], + i = r.re.exec(t), + l = i && r.parse(i); + if (l) + return ( + l instanceof IS + ? (e = this.rgbaToHsva(l)) + : l instanceof TS && (e = this.hsla2hsva(l)), + e + ); + } + return e; + }), + (t.prototype.outputFormat = function(t, n, e) { + switch (("auto" === n && (n = t.a < 1 ? "rgba" : "hex"), n)) { + case "hsla": + var o = this.hsva2hsla(t), + a = new TS( + Math.round(360 * o.h), + Math.round(100 * o.s), + Math.round(100 * o.l), + Math.round(100 * o.a) / 100 + ); + return t.a < 1 || "always" === e + ? "hsla(" + a.h + "," + a.s + "%," + a.l + "%," + a.a + ")" + : "hsl(" + a.h + "," + a.s + "%," + a.l + "%)"; + case "rgba": + var r = this.denormalizeRGBA(this.hsvaToRgba(t)); + return t.a < 1 || "always" === e + ? "rgba(" + + r.r + + "," + + r.g + + "," + + r.b + + "," + + Math.round(100 * r.a) / 100 + + ")" + : "rgb(" + r.r + "," + r.g + "," + r.b + ")"; + default: + var i = "always" === e || "forced" === e; + return this.rgbaToHex( + this.denormalizeRGBA(this.hsvaToRgba(t)), + i + ); + } + }), + t + ); + })(), + FS = (function() { + function t(t, n, e) { + (this.elRef = t), + (this.cdRef = n), + (this.service = e), + (this.isIE10 = !1), + (this.dialogArrowSize = 10), + (this.dialogArrowOffset = 15), + (this.dialogInputFields = [ES.HEX, ES.RGBA, ES.HSLA, ES.CMYK]), + (this.useRootViewContainer = !1); + } + return ( + (t.prototype.handleEsc = function(t) { + this.show && + "popup" === this.cpDialogDisplay && + this.onCancelColor(t); + }), + (t.prototype.handleEnter = function(t) { + this.show && + "popup" === this.cpDialogDisplay && + this.onAcceptColor(t); + }), + (t.prototype.ngOnInit = function() { + var t = this; + (this.slider = new zS(0, 0, 0, 0)), + (this.sliderDimMax = new LS( + this.hueSlider.nativeElement.offsetWidth || 140, + this.cpWidth, + 130, + this.alphaSlider.nativeElement.offsetWidth || 140 + )), + (this.format = this.cpCmykEnabled + ? ES.CMYK + : "rgba" === this.cpOutputFormat + ? ES.RGBA + : "hsla" === this.cpOutputFormat + ? ES.HSLA + : ES.HEX), + (this.listenerMouseDown = function(n) { + t.onMouseDown(n); + }), + (this.listenerResize = function() { + t.onResize(); + }), + this.openDialog(this.initialColor, !1); + }), + (t.prototype.ngOnDestroy = function() { + this.closeDialog(); + }), + (t.prototype.ngAfterViewInit = function() { + (230 === this.cpWidth && "inline" !== this.cpDialogDisplay) || + ((this.sliderDimMax = new LS( + this.hueSlider.nativeElement.offsetWidth || 140, + this.cpWidth, + 130, + this.alphaSlider.nativeElement.offsetWidth || 140 + )), + this.updateColorPicker(!1), + this.cdRef.detectChanges()); + }), + (t.prototype.openDialog = function(t, n) { + void 0 === n && (n = !0), + this.service.setActive(this), + this.width || + (this.cpWidth = this.directiveElementRef.nativeElement.offsetWidth), + this.height || (this.height = 320), + this.setInitialColor(t), + this.setColorFromString(t, n), + this.openColorPicker(); + }), + (t.prototype.closeDialog = function() { + this.closeColorPicker(); + }), + (t.prototype.setupDialog = function( + t, + n, + e, + o, + a, + r, + i, + l, + s, + c, + u, + d, + p, + m, + g, + f, + h, + b, + _, + y, + C, + v, + O, + P, + M, + x, + k, + w, + S, + E, + I, + A, + T, + R + ) { + this.setInitialColor(e), + this.setColorMode(l), + (this.isIE10 = + 10 === + (function() { + var t = ""; + "undefined" != typeof navigator && + (t = navigator.userAgent.toLowerCase()); + var n = t.indexOf("msie "); + return ( + n > 0 && + parseInt(t.substring(n + 5, t.indexOf(".", n)), 10) + ); + })()), + (this.directiveInstance = t), + (this.directiveElementRef = n), + (this.cpDisableInput = d), + (this.cpCmykEnabled = s), + (this.cpAlphaChannel = c), + (this.cpOutputFormat = u), + (this.cpDialogDisplay = r), + (this.cpIgnoredElements = p), + (this.cpSaveClickOutside = m), + (this.cpCloseClickOutside = g), + (this.useRootViewContainer = f), + (this.width = this.cpWidth = parseInt(o, 10)), + (this.height = this.cpHeight = parseInt(a, 10)), + (this.cpPosition = h), + (this.cpPositionOffset = parseInt(b, 10)), + (this.cpOKButton = M), + (this.cpOKButtonText = k), + (this.cpOKButtonClass = x), + (this.cpCancelButton = w), + (this.cpCancelButtonText = E), + (this.cpCancelButtonClass = S), + (this.fallbackColor = i || "#fff"), + this.setPresetConfig(y, C), + (this.cpMaxPresetColorsLength = v), + (this.cpPresetEmptyMessage = O), + (this.cpPresetEmptyMessageClass = P), + (this.cpAddColorButton = I), + (this.cpAddColorButtonText = T), + (this.cpAddColorButtonClass = A), + (this.cpRemoveColorButtonClass = R), + _ || (this.dialogArrowOffset = 0), + "inline" === r && + ((this.dialogArrowSize = 0), (this.dialogArrowOffset = 0)), + "hex" === u && + "always" !== c && + "forced" !== c && + (this.cpAlphaChannel = "disabled"); + }), + (t.prototype.setColorMode = function(t) { + switch (t.toString().toUpperCase()) { + case "1": + case "C": + case "COLOR": + this.cpColorMode = 1; + break; + case "2": + case "G": + case "GRAYSCALE": + this.cpColorMode = 2; + break; + case "3": + case "P": + case "PRESETS": + this.cpColorMode = 3; + break; + default: + this.cpColorMode = 1; + } + }), + (t.prototype.setInitialColor = function(t) { + this.initialColor = t; + }), + (t.prototype.setPresetConfig = function(t, n) { + (this.cpPresetLabel = t), (this.cpPresetColors = n); + }), + (t.prototype.setColorFromString = function(t, n, e) { + var o; + void 0 === n && (n = !0), + void 0 === e && (e = !0), + (("always" === this.cpAlphaChannel || + "forced" === this.cpAlphaChannel) && + ((o = this.service.stringToHsva(t, !0)) || this.hsva)) || + (o = this.service.stringToHsva(t, !1)), + o || + this.hsva || + (o = this.service.stringToHsva(this.fallbackColor, !1)), + o && + ((this.hsva = o), + (this.sliderH = this.hsva.h), + this.updateColorPicker(n, e)); + }), + (t.prototype.onResize = function() { + "fixed" === this.position + ? this.setDialogPosition() + : "inline" !== this.cpDialogDisplay && this.closeColorPicker(); + }), + (t.prototype.onDragEnd = function(t) { + this.directiveInstance.sliderDragEnd({ + slider: t, + color: this.outputColor + }); + }), + (t.prototype.onDragStart = function(t) { + this.directiveInstance.sliderDragStart({ + slider: t, + color: this.outputColor + }); + }), + (t.prototype.onMouseDown = function(t) { + !this.show || + this.isIE10 || + "popup" !== this.cpDialogDisplay || + t.target === this.directiveElementRef.nativeElement || + this.isDescendant(this.elRef.nativeElement, t.target) || + this.isDescendant( + this.directiveElementRef.nativeElement, + t.target + ) || + 0 !== + this.cpIgnoredElements.filter(function(n) { + return n === t.target; + }).length || + (this.cpSaveClickOutside + ? this.directiveInstance.colorSelected(this.outputColor) + : (this.setColorFromString(this.initialColor, !1), + this.cpCmykEnabled && + this.directiveInstance.cmykChanged(this.cmykColor), + this.directiveInstance.colorChanged(this.outputColor)), + this.cpCloseClickOutside && this.closeColorPicker()); + }), + (t.prototype.onAcceptColor = function(t) { + t.stopPropagation(), + this.outputColor && + this.directiveInstance.colorSelected(this.outputColor), + "popup" === this.cpDialogDisplay && this.closeColorPicker(); + }), + (t.prototype.onCancelColor = function(t) { + t.stopPropagation(), + this.setColorFromString(this.initialColor, !0), + "popup" === this.cpDialogDisplay && + (this.cpCmykEnabled && + this.directiveInstance.cmykChanged(this.cmykColor), + this.directiveInstance.colorChanged(this.outputColor, !0), + this.closeColorPicker()), + this.directiveInstance.colorCanceled(); + }), + (t.prototype.onFormatToggle = function(t) { + var n = + this.dialogInputFields.length - (this.cpCmykEnabled ? 0 : 1), + e = + (((this.dialogInputFields.indexOf(this.format) + t) % n) + + n) % + n; + this.format = this.dialogInputFields[e]; + }), + (t.prototype.onColorChange = function(t) { + (this.hsva.s = t.s / t.rgX), + (this.hsva.v = t.v / t.rgY), + this.updateColorPicker(), + this.directiveInstance.sliderChanged({ + slider: "lightness", + value: this.hsva.v, + color: this.outputColor + }), + this.directiveInstance.sliderChanged({ + slider: "saturation", + value: this.hsva.s, + color: this.outputColor + }); + }), + (t.prototype.onHueChange = function(t) { + (this.hsva.h = t.v / t.rgX), + (this.sliderH = this.hsva.h), + this.updateColorPicker(), + this.directiveInstance.sliderChanged({ + slider: "hue", + value: this.hsva.h, + color: this.outputColor + }); + }), + (t.prototype.onValueChange = function(t) { + (this.hsva.v = t.v / t.rgX), + this.updateColorPicker(), + this.directiveInstance.sliderChanged({ + slider: "value", + value: this.hsva.v, + color: this.outputColor + }); + }), + (t.prototype.onAlphaChange = function(t) { + (this.hsva.a = t.v / t.rgX), + this.updateColorPicker(), + this.directiveInstance.sliderChanged({ + slider: "alpha", + value: this.hsva.a, + color: this.outputColor + }); + }), + (t.prototype.onHexInput = function(t) { + if (null === t) this.updateColorPicker(); + else { + t && "#" !== t[0] && (t = "#" + t); + var n = /^#([a-f0-9]{3}|[a-f0-9]{6})$/gi; + "always" === this.cpAlphaChannel && + (n = /^#([a-f0-9]{3}|[a-f0-9]{6}|[a-f0-9]{8})$/gi); + var e = n.test(t); + e && + (t.length < 5 && + (t = + "#" + + t + .substring(1) + .split("") + .map(function(t) { + return t + t; + }) + .join("")), + "forced" === this.cpAlphaChannel && + (t += Math.round(255 * this.hsva.a).toString(16)), + this.setColorFromString(t, !0, !1)), + this.directiveInstance.inputChanged({ + input: "hex", + valid: e, + value: t, + color: this.outputColor + }); + } + }), + (t.prototype.onRedInput = function(t) { + var n = this.service.hsvaToRgba(this.hsva), + e = !isNaN(t.v) && t.v >= 0 && t.v <= t.rg; + e && + ((n.r = t.v / t.rg), + (this.hsva = this.service.rgbaToHsva(n)), + (this.sliderH = this.hsva.h), + this.updateColorPicker()), + this.directiveInstance.inputChanged({ + input: "red", + valid: e, + value: n.r, + color: this.outputColor + }); + }), + (t.prototype.onBlueInput = function(t) { + var n = this.service.hsvaToRgba(this.hsva), + e = !isNaN(t.v) && t.v >= 0 && t.v <= t.rg; + e && + ((n.b = t.v / t.rg), + (this.hsva = this.service.rgbaToHsva(n)), + (this.sliderH = this.hsva.h), + this.updateColorPicker()), + this.directiveInstance.inputChanged({ + input: "blue", + valid: e, + value: n.b, + color: this.outputColor + }); + }), + (t.prototype.onGreenInput = function(t) { + var n = this.service.hsvaToRgba(this.hsva), + e = !isNaN(t.v) && t.v >= 0 && t.v <= t.rg; + e && + ((n.g = t.v / t.rg), + (this.hsva = this.service.rgbaToHsva(n)), + (this.sliderH = this.hsva.h), + this.updateColorPicker()), + this.directiveInstance.inputChanged({ + input: "green", + valid: e, + value: n.g, + color: this.outputColor + }); + }), + (t.prototype.onHueInput = function(t) { + var n = !isNaN(t.v) && t.v >= 0 && t.v <= t.rg; + n && + ((this.hsva.h = t.v / t.rg), + (this.sliderH = this.hsva.h), + this.updateColorPicker()), + this.directiveInstance.inputChanged({ + input: "hue", + valid: n, + value: this.hsva.h, + color: this.outputColor + }); + }), + (t.prototype.onValueInput = function(t) { + var n = !isNaN(t.v) && t.v >= 0 && t.v <= t.rg; + n && ((this.hsva.v = t.v / t.rg), this.updateColorPicker()), + this.directiveInstance.inputChanged({ + input: "value", + valid: n, + value: this.hsva.v, + color: this.outputColor + }); + }), + (t.prototype.onAlphaInput = function(t) { + var n = !isNaN(t.v) && t.v >= 0 && t.v <= t.rg; + n && ((this.hsva.a = t.v / t.rg), this.updateColorPicker()), + this.directiveInstance.inputChanged({ + input: "alpha", + valid: n, + value: this.hsva.a, + color: this.outputColor + }); + }), + (t.prototype.onLightnessInput = function(t) { + var n = this.service.hsva2hsla(this.hsva), + e = !isNaN(t.v) && t.v >= 0 && t.v <= t.rg; + e && + ((n.l = t.v / t.rg), + (this.hsva = this.service.hsla2hsva(n)), + (this.sliderH = this.hsva.h), + this.updateColorPicker()), + this.directiveInstance.inputChanged({ + input: "lightness", + valid: e, + value: n.l, + color: this.outputColor + }); + }), + (t.prototype.onSaturationInput = function(t) { + var n = this.service.hsva2hsla(this.hsva), + e = !isNaN(t.v) && t.v >= 0 && t.v <= t.rg; + e && + ((n.s = t.v / t.rg), + (this.hsva = this.service.hsla2hsva(n)), + (this.sliderH = this.hsva.h), + this.updateColorPicker()), + this.directiveInstance.inputChanged({ + input: "saturation", + valid: e, + value: n.s, + color: this.outputColor + }); + }), + (t.prototype.onCyanInput = function(t) { + !isNaN(t.v) && + t.v >= 0 && + t.v <= t.rg && + ((this.cmyk.c = t.v), this.updateColorPicker(!1, !0, !0)), + this.directiveInstance.inputChanged({ + input: "cyan", + valid: !0, + value: this.cmyk.c, + color: this.outputColor + }); + }), + (t.prototype.onMagentaInput = function(t) { + !isNaN(t.v) && + t.v >= 0 && + t.v <= t.rg && + ((this.cmyk.m = t.v), this.updateColorPicker(!1, !0, !0)), + this.directiveInstance.inputChanged({ + input: "magenta", + valid: !0, + value: this.cmyk.m, + color: this.outputColor + }); + }), + (t.prototype.onYellowInput = function(t) { + !isNaN(t.v) && + t.v >= 0 && + t.v <= t.rg && + ((this.cmyk.y = t.v), this.updateColorPicker(!1, !0, !0)), + this.directiveInstance.inputChanged({ + input: "yellow", + valid: !0, + value: this.cmyk.y, + color: this.outputColor + }); + }), + (t.prototype.onBlackInput = function(t) { + !isNaN(t.v) && + t.v >= 0 && + t.v <= t.rg && + ((this.cmyk.k = t.v), this.updateColorPicker(!1, !0, !0)), + this.directiveInstance.inputChanged({ + input: "black", + valid: !0, + value: this.cmyk.k, + color: this.outputColor + }); + }), + (t.prototype.onAddPresetColor = function(t, n) { + t.stopPropagation(), + this.cpPresetColors.filter(function(t) { + return t === n; + }).length || + ((this.cpPresetColors = this.cpPresetColors.concat(n)), + this.directiveInstance.presetColorsChanged( + this.cpPresetColors + )); + }), + (t.prototype.onRemovePresetColor = function(t, n) { + t.stopPropagation(), + (this.cpPresetColors = this.cpPresetColors.filter(function(t) { + return t !== n; + })), + this.directiveInstance.presetColorsChanged(this.cpPresetColors); + }), + (t.prototype.openColorPicker = function() { + var t = this; + this.show || + ((this.show = !0), + (this.hidden = !0), + setTimeout(function() { + (t.hidden = !1), + t.setDialogPosition(), + t.cdRef.detectChanges(); + }, 0), + this.directiveInstance.stateChanged(!0), + this.isIE10 || + (document.addEventListener( + "mousedown", + this.listenerMouseDown + ), + document.addEventListener( + "touchstart", + this.listenerMouseDown + )), + window.addEventListener("resize", this.listenerResize)); + }), + (t.prototype.closeColorPicker = function() { + this.show && + ((this.show = !1), + this.directiveInstance.stateChanged(!1), + this.isIE10 || + (document.removeEventListener( + "mousedown", + this.listenerMouseDown + ), + document.removeEventListener( + "touchstart", + this.listenerMouseDown + )), + window.removeEventListener("resize", this.listenerResize), + this.cdRef.destroyed || this.cdRef.detectChanges()); + }), + (t.prototype.updateColorPicker = function(t, n, e) { + if ( + (void 0 === t && (t = !0), + void 0 === n && (n = !0), + void 0 === e && (e = !1), + this.sliderDimMax) + ) { + 2 === this.cpColorMode && (this.hsva.s = 0); + var o, + a, + r = void 0, + i = this.outputColor; + if ( + ((a = this.service.hsva2hsla(this.hsva)), + this.cpCmykEnabled + ? (e + ? ((r = this.service.cmykToRgb( + this.service.normalizeCMYK(this.cmyk) + )), + (this.hsva = this.service.rgbaToHsva(r))) + : ((r = this.service.hsvaToRgba(this.hsva)), + (this.cmyk = this.service.denormalizeCMYK( + this.service.rgbaToCmyk(r) + ))), + (r = this.service.denormalizeRGBA(r)), + (this.sliderH = this.hsva.h)) + : (r = this.service.denormalizeRGBA( + this.service.hsvaToRgba(this.hsva) + )), + (o = this.service.denormalizeRGBA( + this.service.hsvaToRgba( + new AS(this.sliderH || this.hsva.h, 1, 1, 1) + ) + )), + n && + ((this.hslaText = new TS( + Math.round(360 * a.h), + Math.round(100 * a.s), + Math.round(100 * a.l), + Math.round(100 * a.a) / 100 + )), + (this.rgbaText = new IS( + r.r, + r.g, + r.b, + Math.round(100 * r.a) / 100 + )), + this.cpCmykEnabled && + (this.cmykText = new RS( + this.cmyk.c, + this.cmyk.m, + this.cmyk.y, + this.cmyk.k, + Math.round(100 * this.cmyk.a) / 100 + )), + (this.hexText = this.service.rgbaToHex( + r, + "always" === this.cpAlphaChannel + )), + (this.hexAlpha = this.rgbaText.a)), + "auto" === this.cpOutputFormat && + this.format !== ES.RGBA && + this.format !== ES.CMYK && + this.hsva.a < 1 && + (this.format = this.hsva.a < 1 ? ES.RGBA : ES.HEX), + (this.hueSliderColor = + "rgb(" + o.r + "," + o.g + "," + o.b + ")"), + (this.alphaSliderColor = + "rgb(" + r.r + "," + r.g + "," + r.b + ")"), + (this.outputColor = this.service.outputFormat( + this.hsva, + this.cpOutputFormat, + this.cpAlphaChannel + )), + (this.selectedColor = this.service.outputFormat( + this.hsva, + "rgba", + null + )), + this.format !== ES.CMYK) + ) + this.cmykColor = ""; + else if ( + "always" === this.cpAlphaChannel || + "enabled" === this.cpAlphaChannel || + "forced" === this.cpAlphaChannel + ) { + var l = Math.round(100 * this.cmyk.a) / 100; + this.cmykColor = + "cmyka(" + + this.cmyk.c + + "," + + this.cmyk.m + + "," + + this.cmyk.y + + "," + + this.cmyk.k + + "," + + l + + ")"; + } else + this.cmykColor = + "cmyk(" + + this.cmyk.c + + "," + + this.cmyk.m + + "," + + this.cmyk.y + + "," + + this.cmyk.k + + ")"; + (this.slider = new zS( + (this.sliderH || this.hsva.h) * this.sliderDimMax.h - 8, + this.hsva.s * this.sliderDimMax.s - 8, + (1 - this.hsva.v) * this.sliderDimMax.v - 8, + this.hsva.a * this.sliderDimMax.a - 8 + )), + t && + i !== this.outputColor && + (this.cpCmykEnabled && + this.directiveInstance.cmykChanged(this.cmykColor), + this.directiveInstance.colorChanged(this.outputColor)); + } + }), + (t.prototype.setDialogPosition = function() { + if ("inline" === this.cpDialogDisplay) this.position = "relative"; + else { + for ( + var t = "static", + n = "", + e = void 0, + o = null, + a = null, + r = this.directiveElementRef.nativeElement.parentNode, + i = this.dialogElement.nativeElement.offsetHeight; + null !== r && "HTML" !== r.tagName; + + ) { + if ( + ("static" !== + (t = (e = window.getComputedStyle(r)).getPropertyValue( + "position" + )) && + null === o && + (o = r), + (n = e.getPropertyValue("transform")) && + "none" !== n && + null === a && + (a = r), + "fixed" === t) + ) { + o = a; + break; + } + r = r.parentNode; + } + var l = this.createDialogBox( + this.directiveElementRef.nativeElement, + "fixed" !== t + ); + if ( + this.useRootViewContainer || + ("fixed" === t && (!o || o instanceof HTMLUnknownElement)) + ) + (this.top = l.top), (this.left = l.left); + else { + null === o && (o = r); + var s = this.createDialogBox(o, "fixed" !== t); + (this.top = l.top - s.top), (this.left = l.left - s.left); + } + "fixed" === t && (this.position = "fixed"), + "left" === this.cpPosition + ? ((this.top += + (l.height * this.cpPositionOffset) / 100 - + this.dialogArrowOffset), + (this.left -= this.cpWidth + this.dialogArrowSize - 2)) + : "top" === this.cpPosition + ? ((this.arrowTop = i - 1), + (this.top -= i + this.dialogArrowSize), + (this.left += + (this.cpPositionOffset / 100) * l.width - + this.dialogArrowOffset)) + : "bottom" === this.cpPosition + ? ((this.top += l.height + this.dialogArrowSize), + (this.left += + (this.cpPositionOffset / 100) * l.width - + this.dialogArrowOffset)) + : ((this.top += + (l.height * this.cpPositionOffset) / 100 - + this.dialogArrowOffset), + (this.left += l.width + this.dialogArrowSize - 2)); + } + }), + (t.prototype.isDescendant = function(t, n) { + for (var e = n.parentNode; null !== e; ) { + if (e === t) return !0; + e = e.parentNode; + } + return !1; + }), + (t.prototype.createDialogBox = function(t, n) { + return { + top: + t.getBoundingClientRect().top + (n ? window.pageYOffset : 0), + left: + t.getBoundingClientRect().left + (n ? window.pageXOffset : 0), + width: t.offsetWidth, + height: t.offsetHeight + }; + }), + t + ); + })(), + BS = (function() { + function t(t, n, e, o, a, r) { + (this.injector = t), + (this.cfr = n), + (this.appRef = e), + (this.vcRef = o), + (this.elRef = a), + (this._service = r), + (this.dialogCreated = !1), + (this.ignoreChanges = !1), + (this.cpWidth = "230px"), + (this.cpHeight = "auto"), + (this.cpToggle = !1), + (this.cpDisabled = !1), + (this.cpIgnoredElements = []), + (this.cpFallbackColor = ""), + (this.cpColorMode = "color"), + (this.cpCmykEnabled = !1), + (this.cpOutputFormat = "auto"), + (this.cpAlphaChannel = "enabled"), + (this.cpDisableInput = !1), + (this.cpDialogDisplay = "popup"), + (this.cpSaveClickOutside = !0), + (this.cpCloseClickOutside = !0), + (this.cpUseRootViewContainer = !1), + (this.cpPosition = "right"), + (this.cpPositionOffset = "0%"), + (this.cpPositionRelativeToArrow = !1), + (this.cpOKButton = !1), + (this.cpOKButtonText = "OK"), + (this.cpOKButtonClass = "cp-ok-button-class"), + (this.cpCancelButton = !1), + (this.cpCancelButtonText = "Cancel"), + (this.cpCancelButtonClass = "cp-cancel-button-class"), + (this.cpPresetLabel = "Preset colors"), + (this.cpMaxPresetColorsLength = 6), + (this.cpPresetEmptyMessage = "No colors added"), + (this.cpPresetEmptyMessageClass = "preset-empty-message"), + (this.cpAddColorButton = !1), + (this.cpAddColorButtonText = "Add color"), + (this.cpAddColorButtonClass = "cp-add-color-button-class"), + (this.cpRemoveColorButtonClass = "cp-remove-color-button-class"), + (this.cpInputChange = new ar(!0)), + (this.cpToggleChange = new ar(!0)), + (this.cpSliderChange = new ar(!0)), + (this.cpSliderDragEnd = new ar(!0)), + (this.cpSliderDragStart = new ar(!0)), + (this.colorPickerOpen = new ar(!0)), + (this.colorPickerClose = new ar(!0)), + (this.colorPickerCancel = new ar(!0)), + (this.colorPickerSelect = new ar(!0)), + (this.colorPickerChange = new ar(!1)), + (this.cpCmykColorChange = new ar(!0)), + (this.cpPresetColorsChange = new ar(!0)); + } + return ( + (t.prototype.handleClick = function() { + this.inputFocus(); + }), + (t.prototype.handleFocus = function() { + this.inputFocus(); + }), + (t.prototype.handleInput = function(t) { + this.inputChange(t); + }), + (t.prototype.ngOnDestroy = function() { + void 0 !== this.cmpRef && this.cmpRef.destroy(); + }), + (t.prototype.ngOnChanges = function(t) { + t.cpToggle && + !this.cpDisabled && + (t.cpToggle.currentValue + ? this.openDialog() + : t.cpToggle.currentValue || this.closeDialog()), + t.colorPicker && + (this.dialog && + !this.ignoreChanges && + ("inline" === this.cpDialogDisplay && + this.dialog.setInitialColor(t.colorPicker.currentValue), + this.dialog.setColorFromString( + t.colorPicker.currentValue, + !1 + ), + this.cpUseRootViewContainer && + "inline" !== this.cpDialogDisplay && + this.cmpRef.changeDetectorRef.detectChanges()), + (this.ignoreChanges = !1)), + (t.cpPresetLabel || t.cpPresetColors) && + this.dialog && + this.dialog.setPresetConfig( + this.cpPresetLabel, + this.cpPresetColors + ); + }), + (t.prototype.openDialog = function() { + if (this.dialogCreated) + this.dialog && this.dialog.openDialog(this.colorPicker); + else { + var t = this.vcRef; + if ( + ((this.dialogCreated = !0), + this.cpUseRootViewContainer && + "inline" !== this.cpDialogDisplay) + ) { + var n = this.injector.get(this.appRef.componentTypes[0]); + (t = n.vcRef || n.viewContainerRef || this.vcRef) === + this.vcRef && + console.warn( + "You are using cpUseRootViewContainer, but the root component is not exposing viewContainerRef!Please expose it by adding 'public vcRef: ViewContainerRef' to the constructor." + ); + } + var e = this.cfr.resolveComponentFactory(FS), + o = Sn.fromResolvedProviders([], t.parentInjector); + (this.cmpRef = t.createComponent(e, 0, o, [])), + this.cmpRef.instance.setupDialog( + this, + this.elRef, + this.colorPicker, + this.cpWidth, + this.cpHeight, + this.cpDialogDisplay, + this.cpFallbackColor, + this.cpColorMode, + this.cpCmykEnabled, + this.cpAlphaChannel, + this.cpOutputFormat, + this.cpDisableInput, + this.cpIgnoredElements, + this.cpSaveClickOutside, + this.cpCloseClickOutside, + this.cpUseRootViewContainer, + this.cpPosition, + this.cpPositionOffset, + this.cpPositionRelativeToArrow, + this.cpPresetLabel, + this.cpPresetColors, + this.cpMaxPresetColorsLength, + this.cpPresetEmptyMessage, + this.cpPresetEmptyMessageClass, + this.cpOKButton, + this.cpOKButtonClass, + this.cpOKButtonText, + this.cpCancelButton, + this.cpCancelButtonClass, + this.cpCancelButtonText, + this.cpAddColorButton, + this.cpAddColorButtonClass, + this.cpAddColorButtonText, + this.cpRemoveColorButtonClass + ), + (this.dialog = this.cmpRef.instance), + this.vcRef !== t && + this.cmpRef.changeDetectorRef.detectChanges(); + } + }), + (t.prototype.closeDialog = function() { + this.dialog && + "popup" === this.cpDialogDisplay && + this.dialog.closeDialog(); + }), + (t.prototype.cmykChanged = function(t) { + this.cpCmykColorChange.emit(t); + }), + (t.prototype.stateChanged = function(t) { + this.cpToggleChange.emit(t), + t + ? this.colorPickerOpen.emit(this.colorPicker) + : this.colorPickerClose.emit(this.colorPicker); + }), + (t.prototype.colorChanged = function(t, n) { + void 0 === n && (n = !0), + (this.ignoreChanges = n), + this.colorPickerChange.emit(t); + }), + (t.prototype.colorSelected = function(t) { + this.colorPickerSelect.emit(t); + }), + (t.prototype.colorCanceled = function() { + this.colorPickerCancel.emit(); + }), + (t.prototype.inputFocus = function() { + var t = this.elRef.nativeElement, + n = this.cpIgnoredElements.filter(function(n) { + return n === t; + }); + this.cpDisabled || + n.length || + ("undefined" != typeof document && t === document.activeElement + ? this.openDialog() + : this.dialog && this.dialog.show + ? this.closeDialog() + : this.openDialog()); + }), + (t.prototype.inputChange = function(t) { + this.dialog + ? this.dialog.setColorFromString(t.target.value, !0) + : ((this.colorPicker = t.target.value), + this.colorPickerChange.emit(this.colorPicker)); + }), + (t.prototype.inputChanged = function(t) { + this.cpInputChange.emit(t); + }), + (t.prototype.sliderChanged = function(t) { + this.cpSliderChange.emit(t); + }), + (t.prototype.sliderDragEnd = function(t) { + this.cpSliderDragEnd.emit(t); + }), + (t.prototype.sliderDragStart = function(t) { + this.cpSliderDragStart.emit(t); + }), + (t.prototype.presetColorsChanged = function(t) { + this.cpPresetColorsChange.emit(t); + }), + t + ); + })(), + VS = (function() { + return function() {}; + })(), + HS = (function() { + function t() { + this.modalStack = []; + } + return ( + (t.prototype.addModal = function(t, n) { + if (n) { + var e = this.modalStack.findIndex(function(n) { + return n.id === t.id; + }); + e > -1 + ? (this.modalStack[e].modal = t.modal) + : this.modalStack.push(t); + } else this.modalStack.push(t); + }), + (t.prototype.getModal = function(t) { + return this.modalStack.filter(function(n) { + return n.id === t; + })[0].modal; + }), + (t.prototype.get = function(t) { + return this.getModal(t); + }), + (t.prototype.open = function(t, n) { + void 0 === n && (n = !1); + var e = this.modalStack.find(function(n) { + return n.id === t; + }); + if (!e) throw new Error("Modal not found"); + e.modal.open(n); + }), + (t.prototype.close = function(t) { + var n = this.modalStack.find(function(n) { + return n.id === t; + }); + if (!n) throw new Error("Modal not found"); + n.modal.close(); + }), + (t.prototype.toggle = function(t, n) { + void 0 === n && (n = !1); + var e = this.modalStack.find(function(n) { + return n.id === t; + }); + if (!e) throw new Error("Modal not found"); + e.modal.toggle(n); + }), + (t.prototype.getModalStack = function() { + return this.modalStack; + }), + (t.prototype.getOpenedModals = function() { + var t = []; + return ( + this.modalStack.forEach(function(n) { + n.modal.visible && t.push(n); + }), + t + ); + }), + (t.prototype.getHigherIndex = function() { + var t = [1041]; + return ( + this.getModalStack().forEach(function(n) { + t.push(n.modal.layerPosition); + }), + Math.max.apply(Math, t) + 1 + ); + }), + (t.prototype.getModalStackCount = function() { + return this.modalStack.length; + }), + (t.prototype.removeModal = function(t) { + var n = this.modalStack.findIndex(function(n) { + return n.id === t; + }); + n > -1 && this.modalStack.splice(n, 1); + }), + (t.prototype.setModalData = function(t, n, e) { + return ( + !!this.modalStack.find(function(t) { + return t.id === n; + }) && (this.getModal(n).setData(t, e), !0) + ); + }), + (t.prototype.getModalData = function(t) { + return this.getModal(t).getData(); + }), + (t.prototype.resetModalData = function(t) { + if ( + this.modalStack.find(function(n) { + return n.id === t; + }) + ) { + var n = this.getModal(t).getData(); + return this.getModal(t).removeData(), n; + } + return !1; + }), + (t.prototype.closeLatestModal = function() { + var t = this; + clearTimeout(this.debouncer), + (this.debouncer = setTimeout(function() { + var n; + return ( + t.getOpenedModals().forEach(function(t) { + t.modal.layerPosition > (n ? n.modal.layerPosition : 0) && + (n = t); + }), + !!n && n.modal.close() + ); + }, 100)); + }), + t + ); + })(), + US = (function() { + function t(t, n, e) { + var o = this; + (this._renderer = t), + (this._changeDetectorRef = n), + (this._ngxSmartModalService = e), + (this.closable = !0), + (this.escapable = !0), + (this.dismissable = !0), + (this.identifier = ""), + (this.customClass = "nsm-dialog-animation-fade"), + (this.visible = !1), + (this.backdrop = !0), + (this.force = !0), + (this.hideDelay = 500), + (this.autostart = !1), + (this.visibleChange = new ar()), + (this.onClose = new ar()), + (this.onCloseFinished = new ar()), + (this.onDismiss = new ar()), + (this.onDismissFinished = new ar()), + (this.onAnyCloseEvent = new ar()), + (this.onAnyCloseEventFinished = new ar()), + (this.onOpen = new ar()), + (this.onEscape = new ar()), + (this.onDataAdded = new ar()), + (this.onDataRemoved = new ar()), + (this.layerPosition = 1041), + (this.overlayVisible = !1), + (this.openedClass = !1), + (this.escapeKeyboardEvent = function(t) { + 27 === t.keyCode && + (o.onEscape.emit(o), + o._ngxSmartModalService.closeLatestModal()); + }); + } + return ( + (t.prototype.ngOnInit = function() { + if (!this.identifier || !this.identifier.length) + throw new Error( + "identifier field isn\u2019t set. Please set one before calling in a template." + ); + (this.layerPosition += this._ngxSmartModalService.getModalStackCount()), + this._ngxSmartModalService.addModal( + { id: this.identifier, modal: this }, + this.force + ), + this.autostart && + this._ngxSmartModalService.open(this.identifier); + }), + (t.prototype.ngOnDestroy = function() { + this._ngxSmartModalService.removeModal(this.identifier), + window.removeEventListener("keyup", this.escapeKeyboardEvent), + this._ngxSmartModalService.getModalStack.length || + this._renderer.removeClass(document.body, "dialog-open"); + }), + (t.prototype.open = function(t) { + var n = this; + t && + (this.layerPosition = this._ngxSmartModalService.getHigherIndex()), + this._renderer.addClass(document.body, "dialog-open"), + (this.overlayVisible = !0), + (this.visible = !0), + setTimeout(function() { + (n.openedClass = !0), + n.target && n.targetPlacement(), + n._changeDetectorRef.markForCheck(); + }), + this.onOpen.emit(this), + this.escapable && + window.addEventListener("keyup", this.escapeKeyboardEvent); + }), + (t.prototype.close = function() { + var t = this; + (this.openedClass = !1), + this.onClose.emit(this), + this.onAnyCloseEvent.emit(this), + this._ngxSmartModalService.getOpenedModals().length < 2 && + this._renderer.removeClass(document.body, "dialog-open"), + setTimeout(function() { + t.visibleChange.emit(t.visible), + (t.visible = !1), + (t.overlayVisible = !1), + t._changeDetectorRef.markForCheck(), + t.onCloseFinished.emit(t), + t.onAnyCloseEventFinished.emit(t); + }, this.hideDelay), + window.removeEventListener("keyup", this.escapeKeyboardEvent); + }), + (t.prototype.dismiss = function(t) { + var n = this; + this.dismissable && + t.target.classList.contains("overlay") && + ((this.openedClass = !1), + this.onDismiss.emit(this), + this.onAnyCloseEvent.emit(this), + this._ngxSmartModalService.getOpenedModals().length < 2 && + this._renderer.removeClass(document.body, "dialog-open"), + setTimeout(function() { + (n.visible = !1), + n.visibleChange.emit(n.visible), + (n.overlayVisible = !1), + n._changeDetectorRef.markForCheck(), + n.onDismissFinished.emit(n), + n.onAnyCloseEventFinished.emit(n); + }, this.hideDelay), + window.removeEventListener("keyup", this.escapeKeyboardEvent)); + }), + (t.prototype.toggle = function(t) { + this.visible ? this.close() : this.open(t); + }), + (t.prototype.addCustomClass = function(t) { + this.customClass.length + ? (this.customClass += " " + t) + : (this.customClass = t); + }), + (t.prototype.removeCustomClass = function(t) { + this.customClass = t + ? this.customClass.replace(t, "").trim() + : ""; + }), + (t.prototype.isVisible = function() { + return this.visible; + }), + (t.prototype.hasData = function() { + return void 0 !== this._data; + }), + (t.prototype.setData = function(t, n) { + (!this.hasData() || (this.hasData() && n)) && + ((this._data = t), + this.onDataAdded.emit(this._data), + this._changeDetectorRef.markForCheck()); + }), + (t.prototype.getData = function() { + return this._data; + }), + (t.prototype.removeData = function() { + (this._data = void 0), + this.onDataRemoved.emit(!0), + this._changeDetectorRef.markForCheck(); + }), + (t.prototype.targetPlacement = function() { + if ( + this.nsmDialog && + this.nsmContent && + this.nsmOverlay && + this.target + ) { + var t = document + .querySelector(this.target) + .getBoundingClientRect(), + n = this.nsmOverlay.nativeElement.getBoundingClientRect(), + e = this.nsmContent.nativeElement.getBoundingClientRect(), + o = this.nsmDialog.nativeElement.getBoundingClientRect(), + a = parseInt( + getComputedStyle(this.nsmContent.nativeElement).marginLeft, + 10 + ), + r = parseInt( + getComputedStyle(this.nsmContent.nativeElement).marginTop, + 10 + ), + i = t.top - o.top - (e.height - t.height) / 2, + l = t.left - o.left - (e.width - t.width) / 2; + l + o.left + e.width + 2 * a > n.width + ? (l = n.width - (o.left + e.width) - 2 * a) + : l + o.left < 0 && (l = -o.left), + i + o.top + e.height + r > n.height && + (i = n.height - (o.top + e.height) - r), + i < 0 && (i = 0), + this._renderer.setStyle( + this.nsmContent.nativeElement, + "top", + i + "px" + ), + this._renderer.setStyle( + this.nsmContent.nativeElement, + "left", + l + "px" + ); + } + }), + t + ); + })(), + qS = (function() { + function t() {} + return ( + (t.forRoot = function() { + return { ngModule: t, providers: [HS] }; + }), + (t.forChild = function() { + return { ngModule: t, providers: [HS] }; + }), + t + ); + })(), + KS = So({ encapsulation: 2, styles: [], data: {} }); + function YS(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "button", + [ + ["aria-label", "Close"], + ["class", "nsm-dialog-btn-close"], + ["type", "button"] + ], + null, + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && (o = !1 !== t.component.close() && o), o + ); + }, + null, + null + )), + (t()(), + bi( + 1, + 0, + null, + null, + 0, + "img", + [ + [ + "src", + "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjE2cHgiIGhlaWdodD0iMTZweCI+CjxnPgoJPGc+CgkJPHBhdGggZD0iTTUwNS45NDMsNi4wNThjLTguMDc3LTguMDc3LTIxLjE3Mi04LjA3Ny0yOS4yNDksMEw2LjA1OCw0NzYuNjkzYy04LjA3Nyw4LjA3Ny04LjA3NywyMS4xNzIsMCwyOS4yNDkgICAgQzEwLjA5Niw1MDkuOTgyLDE1LjM5LDUxMiwyMC42ODMsNTEyYzUuMjkzLDAsMTAuNTg2LTIuMDE5LDE0LjYyNS02LjA1OUw1MDUuOTQzLDM1LjMwNiAgICBDNTE0LjAxOSwyNy4yMyw1MTQuMDE5LDE0LjEzNSw1MDUuOTQzLDYuMDU4eiIgZmlsbD0iIzAwMDAwMCIvPgoJPC9nPgo8L2c+CjxnPgoJPGc+CgkJPHBhdGggZD0iTTUwNS45NDIsNDc2LjY5NEwzNS4zMDYsNi4wNTljLTguMDc2LTguMDc3LTIxLjE3Mi04LjA3Ny0yOS4yNDgsMGMtOC4wNzcsOC4wNzYtOC4wNzcsMjEuMTcxLDAsMjkuMjQ4bDQ3MC42MzYsNDcwLjYzNiAgICBjNC4wMzgsNC4wMzksOS4zMzIsNi4wNTgsMTQuNjI1LDYuMDU4YzUuMjkzLDAsMTAuNTg3LTIuMDE5LDE0LjYyNC02LjA1N0M1MTQuMDE4LDQ5Ny44NjYsNTE0LjAxOCw0ODQuNzcxLDUwNS45NDIsNDc2LjY5NHoiIGZpbGw9IiMwMDAwMDAiLz4KCTwvZz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K" + ] + ], + null, + null, + null, + null, + null + )) + ], + null, + null + ); + } + function WS(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + [[3, 0], ["nsmOverlay", 1]], + null, + 12, + "div", + [], + [[4, "z-index", null]], + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && (o = !1 !== t.component.dismiss(e) && o), o + ); + }, + null, + null + )), + Ha(512, null, gs, fs, [$e, to, Ne, Be]), + Ba(2, 278528, null, 0, hs, [gs], { ngClass: [0, "ngClass"] }, null), + Ei(3, { transparent: 0, overlay: 1, "nsm-overlay-open": 2 }), + (t()(), + bi( + 4, + 0, + [[2, 0], ["nsmDialog", 1]], + null, + 8, + "div", + [], + [[4, "z-index", null]], + null, + null, + null, + null + )), + Ha(512, null, gs, fs, [$e, to, Ne, Be]), + Ba(6, 278528, null, 0, hs, [gs], { ngClass: [0, "ngClass"] }, null), + Ii(32, 7, new Array(3)), + (t()(), + bi( + 8, + 0, + [[1, 0], ["nsmContent", 1]], + null, + 4, + "div", + [["class", "nsm-content"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 9, + 0, + null, + null, + 1, + "div", + [["class", "nsm-body"]], + null, + null, + null, + null, + null + )), + wi(null, 0), + (t()(), hi(16777216, null, null, 1, null, YS)), + Ba(12, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null) + ], + function(t, n) { + var e = n.component, + o = t(n, 3, 0, !e.backdrop, !0, e.openedClass); + t(n, 2, 0, o); + var a = t( + n, + 7, + 0, + "nsm-dialog", + e.customClass, + e.openedClass ? "nsm-dialog-open" : "nsm-dialog-close" + ); + t(n, 6, 0, a), t(n, 12, 0, e.closable); + }, + function(t, n) { + var e = n.component; + t(n, 0, 0, e.visible ? e.layerPosition - 1 : -1), + t(n, 4, 0, e.visible ? e.layerPosition : -1); + } + ); + } + function GS(t) { + return Di( + 0, + [ + Oi(671088640, 1, { nsmContent: 0 }), + Oi(671088640, 2, { nsmDialog: 0 }), + Oi(671088640, 3, { nsmOverlay: 0 }), + (t()(), hi(16777216, null, null, 1, null, WS)), + Ba(4, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null) + ], + function(t, n) { + t(n, 4, 0, n.component.overlayVisible); + }, + null + ); + } + !(function(t) { + (t.NotInstalled = "NotInstalled"), (t.Installed = "Installed"); + })(wS || (wS = {})), + (function(t) { + (t.Saber = "Saber"), + (t.Gameplay = "Gameplay"), + (t.Note = "Note"), + (t.Library = "Library"), + (t.Other = "Other"); + })(SS || (SS = {})); + var ZS = (function(t) { + function n() { + var n = (null !== t && t.apply(this, arguments)) || this; + return (n.Type = zx.SetModStatus), n; + } + return o.__extends(n, t), n; + })(Nx), + QS = (function(t) { + function n() { + var n = t.call(this) || this; + return (n.Type = zx.DeleteMod), n; + } + return o.__extends(n, t), n; + })(Nx), + XS = (function(t) { + function n() { + var n = t.call(this) || this; + return (n.Type = zx.ChangeColor), n; + } + return o.__extends(n, t), n; + })(Nx), + JS = (function(t) { + return ( + (t[(t.LeftColor = "LeftColor")] = "LeftColor"), + (t[(t.RightColor = "RightColor")] = "RightColor"), + t + ); + })({}), + $S = (function() { + function t(t, n, e, o, a) { + var r = this; + (this.configSvc = t), + (this.beatOnApi = n), + (this.msgSvc = e), + (this.ngxSmartModalService = o), + (this.dialog = a), + (this.config = { Mods: [] }), + (this.modSwitchInProgress = !1), + (this.modIDBeingSwitched = null), + this.configSvc.configUpdated.subscribe(function(t) { + r.config = t.Config; + }); + } + return ( + Object.defineProperty(t.prototype, "leftColor", { + get: function() { + return this.config && this.config.LeftColor + ? "rgba(" + + this.config.LeftColor.R + + ", " + + this.config.LeftColor.G + + ", " + + this.config.LeftColor.B + + ", " + + this.config.LeftColor.A + + ")" + : "rgba(0,0,0,0)"; + }, + set: function(t) {}, + enumerable: !0, + configurable: !0 + }), + (t.prototype.leftColorSelected = function(t) { + console.log(t); + var n = (t = t.substr(4, t.length - 5)).split(","), + e = new XS(); + (e.Color = { + R: parseInt(n[0]), + G: parseInt(n[1]), + B: parseInt(n[2]), + A: n.length > 3 ? Math.ceil(255 * parseFloat(n[3])) : 255 + }), + (e.ColorType = JS.LeftColor), + this.msgSvc.sendClientMessage(e); + }), + Object.defineProperty(t.prototype, "rightColor", { + get: function() { + return this.config && this.config.RightColor + ? "rgba(" + + this.config.RightColor.R + + ", " + + this.config.RightColor.G + + ", " + + this.config.RightColor.B + + ", " + + this.config.RightColor.A + + ")" + : "rgba(0,0,0,0)"; + }, + set: function(t) {}, + enumerable: !0, + configurable: !0 + }), + (t.prototype.rightColorSelected = function(t) { + console.log(t); + var n = (t = t.substr(4, t.length - 5)).split(","), + e = new XS(); + (e.Color = { + R: parseInt(n[0]), + G: parseInt(n[1]), + B: parseInt(n[2]), + A: n.length > 3 ? Math.ceil(255 * parseFloat(n[3])) : 255 + }), + (e.ColorType = JS.RightColor), + this.msgSvc.sendClientMessage(e); + }), + (t.prototype.ngOnInit = function() { + var t = this; + this.configSvc.getConfig().subscribe(function(n) { + t.config = n.Config; + }); + }), + (t.prototype.getModBG = function(t) { + if (t.CoverImageFilename) { + var n = encodeURIComponent(t.ID); + return ( + (n = n.replace("(", "%28").replace(")", "%29")), + "url(" + + Hl.API_ENDPOINT + + "/host/beatsaber/mod/cover?modid=" + + n + + ")" + ); + } + return t.Category == SS.Saber + ? "url(../../assets/saber.png)" + : t.Category == SS.Note + ? "url(../../assets/note.png)" + : t.Category == SS.Gameplay + ? "url(../../assets/gameplay.png)" + : t.Category == SS.Library + ? "url(../../assets/library.png)" + : "url(../../assets/other.png)"; + }), + (t.prototype.toggleMod = function(t, n) { + var e = this; + (this.modIDBeingSwitched = n.ID), (this.modSwitchInProgress = !0); + var o, + a = new ZS(); + (a.ModID = n.ID), + (a.Status = t.checked ? wS.Installed : wS.NotInstalled), + (o = this.msgSvc.actionResponseMessage.subscribe(function(t) { + t.ResponseToMessageID == a.MessageID && + ((e.modIDBeingSwitched = null), + (e.modSwitchInProgress = !1), + o.unsubscribe(), + t.Success || + console.log( + "mod id " + a.ModID + " did not switch properly" + )); + })), + this.msgSvc.sendClientMessage(a); + }), + (t.prototype.getModSwitch = function(t) { + return ( + null != t && + !( + ("Installed" != t.Status && + t.ID != this.modIDBeingSwitched) || + ("Installed" == t.Status && t.ID == this.modIDBeingSwitched) + ) + ); + }), + (t.prototype.onSelect = function(t) { + console.log(t), (this.selectedMod = t); + }), + (t.prototype.clickDeleteMod = function(t) { + var n = this; + this.dialog + .open(Xx, { + width: "450px", + height: "180px", + disableClose: !0, + data: { + title: "Delete " + t.Name + "?", + subTitle: "Are you sure you want to delete this mod?", + button1Text: "Yes" + } + }) + .afterClosed() + .subscribe(function(e) { + if (1 == e) { + n.modSwitchInProgress = !0; + var o, + a = new QS(); + (a.ModID = t.ID), + (o = n.msgSvc.actionResponseMessage.subscribe(function( + t + ) { + t.ResponseToMessageID == a.MessageID && + (console.log( + "Got response message in mods for mod ID " + a.ModID + ), + (n.modIDBeingSwitched = null), + (n.modSwitchInProgress = !1), + o.unsubscribe(), + t.Success || + console.log( + "mod id " + a.ModID + " could not delete!" + )); + })), + console.log("Sending message to delete mod id " + t.ID), + n.msgSvc.sendClientMessage(a); + } + }); + }), + (t.prototype.ngAfterViewInit = function() {}), + t + ); + })(), + tE = So({ + encapsulation: 0, + styles: [ + [ + ".viewport[_ngcontent-%COMP%]{height:49px;overflow-y:auto;margin-left:300px}.modContainer[_ngcontent-%COMP%]{height:115px!important}.modContainer[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .modContainer[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-left:95px}.modContainer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{margin-left:95px!important}.modCategory[_ngcontent-%COMP%]{position:absolute;left:0;top:0;width:95px;height:115px;background-size:cover;background-repeat:no-repeat;border-radius:5px 0 0 5px}.builtinMods[_ngcontent-%COMP%]{float:right;top:103px}.colorName[_ngcontent-%COMP%]{text-shadow:-1.5px 0 2px #000,0 1.5px 2px #000,1.5px 0 2px #000,0 -1.5px 2px #000}.container[_ngcontent-%COMP%]{height:330px;overflow-y:scroll;overflow-x:hidden}.description[_ngcontent-%COMP%]{margin-top:5px;font-style:italic;margin-left:5px;text-align:justify;white-space:pre-line!important}.deleteMod[_ngcontent-%COMP%]{float:right;position:absolute;top:3px;right:3px;color:#ff4500}.modUrl[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}.header[_ngcontent-%COMP%]{margin-top:20px}.version[_ngcontent-%COMP%]{font-size:14px;color:#a9a9a9;margin-left:5px}.content[_ngcontent-%COMP%]{font-style:italic;margin-left:15px;margin-right:15px;text-align:justify}.modUrl[_ngcontent-%COMP%]{float:left;margin-top:5px;margin-bottom:0}.footer[_ngcontent-%COMP%]{margin-top:20px!important}.modId[_ngcontent-%COMP%]{color:#a9a9a9;font-size:8px;height:10px;position:absolute;left:5px;top:5px}.enabledtext[_ngcontent-%COMP%]{font-size:14px;float:right;margin-top:4px;color:#a9a9a9}.enabledtext.active[_ngcontent-%COMP%]{font-weight:700}.selected[_ngcontent-%COMP%]{background-color:#828282!important;color:#fff}mat-list-item[_ngcontent-%COMP%]{cursor:pointer;position:relative;left:0;background-color:#404040;margin:.5em;padding:.3em 0 .9em;height:1.6em;border-radius:4px}mat-list-item[_ngcontent-%COMP%]:hover{background-color:#474747;left:.1em}mat-list-item.selected[_ngcontent-%COMP%]:hover{background-color:#636363!important;color:#fff}.toggleContainer[_ngcontent-%COMP%]{display:block;float:right;width:65px;margin-right:6px}.toggle[_ngcontent-%COMP%], .toggleSpinner[_ngcontent-%COMP%]{display:inline-block}.toggleSpinner[_ngcontent-%COMP%]{margin-bottom:-3px;margin-left:5px;width:20px;height:20px}.description[_ngcontent-%COMP%]{font-size:12px;white-space:pre-wrap}.modal.left[_ngcontent-%COMP%] .modal-dialog[_ngcontent-%COMP%], .modal.right[_ngcontent-%COMP%] .modal-dialog[_ngcontent-%COMP%]{position:fixed;margin:auto;width:700px;height:100%;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.modal.left[_ngcontent-%COMP%] .modal-content[_ngcontent-%COMP%], .modal.right[_ngcontent-%COMP%] .modal-content[_ngcontent-%COMP%]{height:100%;overflow-y:auto}.modal.left[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%], .modal.right[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%]{padding:15px 15px 80px}.modal.right.fade[_ngcontent-%COMP%] .modal-dialog[_ngcontent-%COMP%]{right:-320px;transition:opacity .3s linear,right .3s ease-out}.modal.right.fade.in[_ngcontent-%COMP%] .modal-dialog[_ngcontent-%COMP%]{right:0}.modal-content[_ngcontent-%COMP%]{border-radius:0;border:none}.modal-header[_ngcontent-%COMP%]{border-bottom-color:#eee;background-color:#fafafa}" + ] + ], + data: {} + }); + function nE(t) { + return Di( + 0, + [ + (t()(), + bi(0, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["No Mods!"])) + ], + null, + null + ); + } + function eE(t) { + return Di( + 0, + [ + (t()(), + bi(0, 0, null, null, 1, "span", [], null, null, null, null, null)), + (t()(), Ai(1, null, [", ported by: ", ""])) + ], + null, + function(t, n) { + t(n, 1, 0, n.parent.context.$implicit.Porter); + } + ); + } + function oE(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 2, + "div", + [["class", "modUrl"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 1, + 0, + null, + null, + 1, + "a", + [], + [[8, "href", 4]], + null, + null, + null, + null + )), + (t()(), Ai(-1, null, ["More Information"])) + ], + null, + function(t, n) { + t(n, 1, 0, n.parent.context.$implicit.InfoUrl); + } + ); + } + function aE(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 0, + "div", + [["class", "toggleSpinner"]], + null, + null, + null, + null, + null + )) + ], + null, + null + ); + } + function rE(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "mat-progress-spinner", + [ + ["class", "toggleSpinner mat-progress-spinner"], + ["diameter", "20"], + ["mode", "indeterminate"], + ["role", "progressbar"] + ], + [ + [2, "_mat-animation-noopable", null], + [4, "width", "px"], + [4, "height", "px"], + [1, "aria-valuemin", 0], + [1, "aria-valuemax", 0], + [1, "aria-valuenow", 0], + [1, "mode", 0] + ], + null, + null, + Zk, + Yk + )), + Ba( + 1, + 49152, + null, + 0, + Uk, + [Ne, ff, [2, Ds], [2, Py], Hk], + { diameter: [0, "diameter"], mode: [1, "mode"] }, + null + ) + ], + function(t, n) { + t(n, 1, 0, "20", "indeterminate"); + }, + function(t, n) { + t( + n, + 0, + 0, + wa(n, 1)._noopAnimations, + wa(n, 1).diameter, + wa(n, 1).diameter, + "determinate" === wa(n, 1).mode ? 0 : null, + "determinate" === wa(n, 1).mode ? 100 : null, + "determinate" === wa(n, 1).mode ? wa(n, 1).value : null, + wa(n, 1).mode + ); + } + ); + } + function iE(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 47, + "mat-list-item", + [["class", "modContainer mat-list-item"]], + [ + [2, "mat-list-item-avatar", null], + [2, "mat-list-item-with-avatar", null] + ], + null, + null, + kS, + xS + )), + Ba(1, 1228800, null, 3, CS, [Ne, no, [2, _S], [2, yS]], null, null), + Oi(603979776, 8, { _lines: 1 }), + Oi(603979776, 9, { _avatar: 0 }), + Oi(603979776, 10, { _icon: 0 }), + (t()(), + bi( + 5, + 0, + null, + 2, + 5, + "div", + [["class", "modCategory"]], + null, + null, + null, + null, + null + )), + Ha(512, null, ks, ws, [Ne, to, Be]), + Ba(7, 278528, null, 0, Ss, [ks], { ngStyle: [0, "ngStyle"] }, null), + Ei(8, { "background-image": 0 }), + Ba( + 9, + 933888, + null, + 0, + hM, + [Ne, uO, gO, to, Be, id, [6, Ss], [2, jv], fr], + { ngStyle: [0, "ngStyle"] }, + null + ), + Ei(10, { "background-image": 0 }), + (t()(), + bi( + 11, + 16777216, + null, + 2, + 4, + "div", + [ + ["class", "deleteMod"], + ["matTooltip", "Delete the mod from Beat On."] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "longpress" === n && (o = !1 !== wa(t, 12).show() && o), + "keydown" === n && + (o = !1 !== wa(t, 12)._handleKeydown(e) && o), + "touchend" === n && + (o = !1 !== wa(t, 12)._handleTouchend() && o), + "click" === n && + (o = !1 !== a.clickDeleteMod(t.context.$implicit) && o), + o + ); + }, + null, + null + )), + Ba( + 12, + 212992, + null, + 0, + sP, + [$C, Ne, OC, so, Dr, ff, Ff, Gf, rP, [2, rf], [2, lP], [2, td]], + { message: [0, "message"] }, + null + ), + (t()(), + bi( + 13, + 0, + null, + null, + 2, + "mat-icon", + [["class", "mat-icon notranslate"], ["role", "img"]], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + Yh, + Kh + )), + Ba( + 14, + 9158656, + null, + 0, + Uh, + [Ne, Nh, [8, null], [2, Fh]], + null, + null + ), + (t()(), Ai(-1, 0, ["delete_forever"])), + (t()(), + bi( + 16, + 0, + null, + 1, + 4, + "h1", + [["class", "mat-line"], ["matLine", ""]], + null, + null, + null, + null, + null + )), + Ba(17, 16384, [[8, 4]], 0, ch, [], null, null), + (t()(), Ai(18, null, [" ", " "])), + (t()(), + bi( + 19, + 0, + null, + null, + 1, + "span", + [["class", "version"]], + null, + null, + null, + null, + null + )), + (t()(), Ai(20, null, ["", ""])), + (t()(), + bi( + 21, + 0, + null, + 1, + 4, + "h4", + [["class", "mat-line"], ["matLine", ""]], + null, + null, + null, + null, + null + )), + Ba(22, 16384, [[8, 4]], 0, ch, [], null, null), + (t()(), Ai(23, null, [" by ", ""])), + (t()(), hi(16777216, null, null, 1, null, eE)), + Ba(25, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), + bi( + 26, + 0, + null, + 1, + 2, + "div", + [["class", "description mat-line"], ["matLine", ""]], + null, + null, + null, + null, + null + )), + Ba(27, 16384, [[8, 4]], 0, ch, [], null, null), + (t()(), Ai(28, null, [" ", ""])), + (t()(), + bi( + 29, + 0, + null, + 1, + 18, + "div", + [["class", "footer mat-line"], ["matLine", ""]], + null, + null, + null, + null, + null + )), + Ba(30, 16384, [[8, 4]], 0, ch, [], null, null), + (t()(), hi(16777216, null, null, 1, null, oE)), + Ba(32, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), + bi( + 33, + 0, + null, + null, + 7, + "div", + [["class", "toggleContainer"]], + null, + null, + null, + null, + null + )), + (t()(), hi(16777216, null, null, 1, null, aE)), + Ba(35, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, null, 1, null, rE)), + Ba(37, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), + bi( + 38, + 0, + null, + null, + 2, + "mat-slide-toggle", + [["class", "toggle mat-slide-toggle"]], + [ + [8, "id", 0], + [1, "tabindex", 0], + [2, "mat-checked", null], + [2, "mat-disabled", null], + [2, "mat-slide-toggle-label-before", null], + [2, "_mat-animation-noopable", null] + ], + [[null, "change"], [null, "[ngModel]"], [null, "focus"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "focus" === n && + (o = + !1 !== wa(t, 40)._inputElement.nativeElement.focus() && + o), + "change" === n && + (o = !1 !== a.toggleMod(e, t.context.$implicit) && o), + "[ngModel]" === n && (o = o), + o + ); + }, + cw, + sw + )), + Ha( + 5120, + null, + OM, + function(t) { + return [t]; + }, + [iw] + ), + Ba( + 40, + 1228800, + null, + 0, + iw, + [Ne, Gf, no, [8, null], Dr, ow, [2, Py], [2, rf]], + { disabled: [0, "disabled"], checked: [1, "checked"] }, + { change: "change" } + ), + (t()(), + bi( + 41, + 0, + null, + null, + 6, + "span", + [["class", "enabledtext"]], + null, + null, + null, + null, + null + )), + Ha(512, null, gs, fs, [$e, to, Ne, Be]), + Ba( + 43, + 278528, + null, + 0, + hs, + [gs], + { klass: [0, "klass"], ngClass: [1, "ngClass"] }, + null + ), + Ei(44, { active: 0 }), + Ba( + 45, + 933888, + null, + 0, + uM, + [Ne, uO, gO, $e, to, Be, [6, hs]], + { ngClass: [0, "ngClass"], klass: [1, "klass"] }, + null + ), + Ei(46, { active: 0 }), + (t()(), Ai(47, null, ["Mod ", ":"])) + ], + function(t, n) { + var e = n.component, + o = t(n, 8, 0, e.getModBG(n.context.$implicit)); + t(n, 7, 0, o); + var a = t(n, 10, 0, e.getModBG(n.context.$implicit)); + t(n, 9, 0, a), + t(n, 12, 0, "Delete the mod from Beat On."), + t(n, 14, 0), + t(n, 25, 0, n.context.$implicit.Porter), + t( + n, + 32, + 0, + null == n.context.$implicit + ? null + : null == n.context.$implicit.InfoUrl + ? null + : n.context.$implicit.InfoUrl.length + ), + t(n, 35, 0, e.modIDBeingSwitched != n.context.$implicit.ID), + t(n, 37, 0, e.modIDBeingSwitched == n.context.$implicit.ID), + t( + n, + 40, + 0, + e.modSwitchInProgress, + e.getModSwitch(n.context.$implicit) + ); + var r = t(n, 44, 0, "Installed" == n.context.$implicit.Status); + t(n, 43, 0, "enabledtext", r); + var i = t(n, 46, 0, "Installed" == n.context.$implicit.Status); + t(n, 45, 0, i, "enabledtext"); + }, + function(t, n) { + t( + n, + 0, + 0, + wa(n, 1)._avatar || wa(n, 1)._icon, + wa(n, 1)._avatar || wa(n, 1)._icon + ), + t( + n, + 13, + 0, + wa(n, 14).inline, + "primary" !== wa(n, 14).color && + "accent" !== wa(n, 14).color && + "warn" !== wa(n, 14).color + ), + t(n, 18, 0, n.context.$implicit.Name), + t(n, 20, 0, n.context.$implicit.Version), + t(n, 23, 0, n.context.$implicit.Author), + t(n, 28, 0, n.context.$implicit.Description), + t( + n, + 38, + 0, + wa(n, 40).id, + wa(n, 40).disabled ? null : -1, + wa(n, 40).checked, + wa(n, 40).disabled, + "before" == wa(n, 40).labelPosition, + "NoopAnimations" === wa(n, 40)._animationMode + ), + t( + n, + 47, + 0, + "Installed" == n.context.$implicit.Status + ? "Active" + : "Inactive" + ); + } + ); + } + function lE(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "h4", + [["class", "modal-title"], ["id", "myModalLabel2"]], + null, + null, + null, + null, + null + )), + (t()(), Ai(1, null, ["", ""])) + ], + null, + function(t, n) { + t(n, 1, 0, n.component.selectedMod.Name); + } + ); + } + function sE(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "h3", + [["class", "mat-display-1"]], + null, + null, + null, + null, + null + )), + (t()(), Ai(1, null, [" Created by: ", ""])) + ], + null, + function(t, n) { + t(n, 1, 0, n.component.selectedMod.Author); + } + ); + } + function cE(t) { + return Di( + 0, + [ + (t()(), + bi(0, 0, null, null, 1, "p", [], null, null, null, null, null)), + (t()(), Ai(1, null, [" ", " "])) + ], + null, + function(t, n) { + t(n, 1, 0, n.component.selectedMod.Description); + } + ); + } + function uE(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "a", + [], + [[8, "href", 4]], + null, + null, + null, + null + )), + (t()(), Ai(-1, null, [" More Info "])) + ], + null, + function(t, n) { + t(n, 0, 0, na(1, "", n.component.selectedMod.InfoUrl, "")); + } + ); + } + function dE(t) { + return Di( + 0, + [ + (t()(), + bi(0, 0, null, null, 17, "div", [], null, null, null, null, null)), + (t()(), + bi( + 1, + 0, + null, + null, + 5, + "div", + [["class", "modal-header"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 2, + 0, + null, + null, + 2, + "button", + [["aria-label", "Close"], ["class", "close"], ["type", "button"]], + null, + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && (o = !1 !== wa(t.parent, 57).close() && o), o + ); + }, + null, + null + )), + (t()(), + bi( + 3, + 0, + null, + null, + 1, + "span", + [["aria-hidden", "true"]], + null, + null, + null, + null, + null + )), + (t()(), Ai(-1, null, ["\xd7"])), + (t()(), hi(16777216, null, null, 1, null, lE)), + Ba(6, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), + bi( + 7, + 0, + null, + null, + 10, + "div", + [["class", "modal-body"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 8, + 0, + null, + null, + 9, + "section", + [["class", "mat-typography"]], + null, + null, + null, + null, + null + )), + (t()(), hi(16777216, null, null, 1, null, sE)), + Ba(10, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, null, 1, null, cE)), + Ba(12, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), + bi( + 13, + 0, + null, + null, + 2, + "button", + [["class", "md-raised md-primary"], ["mat-raised-button", ""]], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + null, + null, + ky, + xy + )), + Ba(14, 180224, null, 0, Zh, [Ne, Gf, [2, Py]], null, null), + (t()(), Ai(-1, 0, ["Install"])), + (t()(), hi(16777216, null, null, 1, null, uE)), + Ba(17, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null) + ], + function(t, n) { + var e = n.component; + t(n, 6, 0, e.selectedMod), + t(n, 10, 0, e.selectedMod), + t(n, 12, 0, e.selectedMod), + t(n, 17, 0, e.selectedMod); + }, + function(t, n) { + t( + n, + 13, + 0, + wa(n, 14).disabled || null, + "NoopAnimations" === wa(n, 14)._animationMode + ); + } + ); + } + function pE(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 46, + "section", + [], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 1, + 0, + null, + null, + 45, + "mat-card", + [["class", "setup-card mat-card"]], + null, + null, + null, + Mh, + Ph + )), + Ba(2, 49152, null, 0, nf, [], null, null), + (t()(), + bi( + 3, + 0, + null, + 0, + 43, + "mat-card-header", + [["class", "mat-card-header"]], + null, + null, + null, + kh, + xh + )), + Ba(4, 49152, null, 0, ef, [], null, null), + (t()(), + bi( + 5, + 0, + null, + 0, + 4, + "div", + [["class", "mat-card-avatar"], ["mat-card-avatar", ""]], + null, + null, + null, + null, + null + )), + Ba(6, 16384, null, 0, tf, [], null, null), + (t()(), + bi( + 7, + 0, + null, + null, + 2, + "mat-icon", + [ + ["aria-hidden", "false"], + ["class", "setup-icon mat-icon notranslate"], + ["role", "img"] + ], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + Yh, + Kh + )), + Ba( + 8, + 9158656, + null, + 0, + Uh, + [Ne, Nh, [8, "false"], [2, Fh]], + null, + null + ), + (t()(), Ai(-1, 0, ["cloud_upload"])), + (t()(), + bi( + 10, + 0, + null, + 1, + 2, + "mat-card-title", + [["class", "mat-card-title"]], + null, + null, + null, + null, + null + )), + Ba(11, 16384, null, 0, Xg, [], null, null), + (t()(), Ai(-1, null, ["Mod Management"])), + (t()(), + bi( + 13, + 0, + null, + 1, + 2, + "mat-card-subtitle", + [["class", "mat-card-subtitle"]], + null, + null, + null, + null, + null + )), + Ba(14, 16384, null, 0, Jg, [], null, null), + (t()(), + Ai(-1, null, [ + "Manage all mods available for the quest here. Install, uninstall, and configure mods.." + ])), + (t()(), + bi( + 16, + 0, + null, + 2, + 30, + "div", + [["class", "builtinMods"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 17, + 0, + null, + null, + 29, + "mat-chip-list", + [["class", "mat-chip-list"]], + [ + [1, "tabindex", 0], + [1, "aria-describedby", 0], + [1, "aria-required", 0], + [1, "aria-disabled", 0], + [1, "aria-invalid", 0], + [1, "aria-multiselectable", 0], + [1, "role", 0], + [2, "mat-chip-list-disabled", null], + [2, "mat-chip-list-invalid", null], + [2, "mat-chip-list-required", null], + [1, "aria-orientation", 0], + [8, "id", 0] + ], + [[null, "focus"], [null, "blur"], [null, "keydown"]], + function(t, n, e) { + var o = !0; + return ( + "focus" === n && (o = !1 !== wa(t, 19).focus() && o), + "blur" === n && (o = !1 !== wa(t, 19)._blur() && o), + "keydown" === n && (o = !1 !== wa(t, 19)._keydown(e) && o), + o + ); + }, + Gw, + Ww + )), + Ha(6144, null, Cw, null, [hw]), + Ba( + 19, + 1556480, + null, + 1, + hw, + [Ne, no, [2, rf], [2, px], [2, Cx], ah, [8, null]], + null, + null + ), + Oi(603979776, 1, { chips: 1 }), + (t()(), + bi( + 21, + 16777216, + null, + 0, + 12, + "mat-chip", + [ + ["class", "mat-chip"], + ["cpCloseClickOutside", "true"], + ["cpOKButtonText", "Save Color"], + ["cpOutputFormat", "rgba"], + ["cpPosition", "left"], + ["role", "option"], + ["selected", ""] + ], + [ + [1, "tabindex", 0], + [2, "mat-chip-selected", null], + [2, "mat-chip-with-avatar", null], + [2, "mat-chip-with-trailing-icon", null], + [2, "mat-chip-disabled", null], + [1, "disabled", 0], + [1, "aria-disabled", 0], + [1, "aria-selected", 0] + ], + [ + [null, "colorPickerChange"], + [null, "colorPickerSelect"], + [null, "click"], + [null, "keydown"], + [null, "focus"], + [null, "blur"], + [null, "input"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "click" === n && (o = !1 !== wa(t, 27)._handleClick(e) && o), + "keydown" === n && + (o = !1 !== wa(t, 27)._handleKeydown(e) && o), + "focus" === n && (o = !1 !== wa(t, 27).focus() && o), + "blur" === n && (o = !1 !== wa(t, 27)._blur() && o), + "click" === n && (o = !1 !== wa(t, 31).handleClick() && o), + "focus" === n && (o = !1 !== wa(t, 31).handleFocus() && o), + "input" === n && (o = !1 !== wa(t, 31).handleInput(e) && o), + "colorPickerChange" === n && + (o = !1 !== (a.leftColor = e) && o), + "colorPickerSelect" === n && + (o = !1 !== a.leftColorSelected(e) && o), + o + ); + }, + null, + null + )), + Ha(512, null, ks, ws, [Ne, to, Be]), + Ba( + 23, + 278528, + null, + 0, + Ss, + [ks], + { ngStyle: [0, "ngStyle"] }, + null + ), + Ei(24, { "background-color": 0 }), + Ba( + 25, + 933888, + null, + 0, + hM, + [Ne, uO, gO, to, Be, id, [6, Ss], [2, jv], fr], + { ngStyle: [0, "ngStyle"] }, + null + ), + Ei(26, { "background-color": 0 }), + Ba( + 27, + 147456, + [[1, 4]], + 3, + uw, + [Ne, Dr, ff, [2, _h]], + { selected: [0, "selected"] }, + null + ), + Oi(603979776, 2, { avatar: 0 }), + Oi(603979776, 3, { trailingIcon: 0 }), + Oi(603979776, 4, { removeIcon: 0 }), + Ba( + 31, + 671744, + null, + 0, + BS, + [Zt, Ee, Xr, so, Ne, jS], + { + colorPicker: [0, "colorPicker"], + cpCmykEnabled: [1, "cpCmykEnabled"], + cpOutputFormat: [2, "cpOutputFormat"], + cpAlphaChannel: [3, "cpAlphaChannel"], + cpCloseClickOutside: [4, "cpCloseClickOutside"], + cpPosition: [5, "cpPosition"], + cpPositionOffset: [6, "cpPositionOffset"], + cpOKButton: [7, "cpOKButton"], + cpOKButtonText: [8, "cpOKButtonText"] + }, + { + colorPickerSelect: "colorPickerSelect", + colorPickerChange: "colorPickerChange" + } + ), + (t()(), + bi( + 32, + 0, + null, + null, + 1, + "span", + [["class", "colorName"]], + null, + null, + null, + null, + null + )), + (t()(), Ai(-1, null, ["Left Color"])), + (t()(), + bi( + 34, + 16777216, + null, + 0, + 12, + "mat-chip", + [ + ["class", "mat-chip"], + ["cpCloseClickOutside", "true"], + ["cpOKButtonText", "Save Color"], + ["cpOutputFormat", "rgba"], + ["cpPosition", "left"], + ["role", "option"], + ["selected", ""] + ], + [ + [1, "tabindex", 0], + [2, "mat-chip-selected", null], + [2, "mat-chip-with-avatar", null], + [2, "mat-chip-with-trailing-icon", null], + [2, "mat-chip-disabled", null], + [1, "disabled", 0], + [1, "aria-disabled", 0], + [1, "aria-selected", 0] + ], + [ + [null, "colorPickerChange"], + [null, "colorPickerSelect"], + [null, "click"], + [null, "keydown"], + [null, "focus"], + [null, "blur"], + [null, "input"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "click" === n && (o = !1 !== wa(t, 40)._handleClick(e) && o), + "keydown" === n && + (o = !1 !== wa(t, 40)._handleKeydown(e) && o), + "focus" === n && (o = !1 !== wa(t, 40).focus() && o), + "blur" === n && (o = !1 !== wa(t, 40)._blur() && o), + "click" === n && (o = !1 !== wa(t, 44).handleClick() && o), + "focus" === n && (o = !1 !== wa(t, 44).handleFocus() && o), + "input" === n && (o = !1 !== wa(t, 44).handleInput(e) && o), + "colorPickerChange" === n && + (o = !1 !== (a.rightColor = e) && o), + "colorPickerSelect" === n && + (o = !1 !== a.rightColorSelected(e) && o), + o + ); + }, + null, + null + )), + Ha(512, null, ks, ws, [Ne, to, Be]), + Ba( + 36, + 278528, + null, + 0, + Ss, + [ks], + { ngStyle: [0, "ngStyle"] }, + null + ), + Ei(37, { "background-color": 0 }), + Ba( + 38, + 933888, + null, + 0, + hM, + [Ne, uO, gO, to, Be, id, [6, Ss], [2, jv], fr], + { ngStyle: [0, "ngStyle"] }, + null + ), + Ei(39, { "background-color": 0 }), + Ba( + 40, + 147456, + [[1, 4]], + 3, + uw, + [Ne, Dr, ff, [2, _h]], + { selected: [0, "selected"] }, + null + ), + Oi(603979776, 5, { avatar: 0 }), + Oi(603979776, 6, { trailingIcon: 0 }), + Oi(603979776, 7, { removeIcon: 0 }), + Ba( + 44, + 671744, + null, + 0, + BS, + [Zt, Ee, Xr, so, Ne, jS], + { + colorPicker: [0, "colorPicker"], + cpCmykEnabled: [1, "cpCmykEnabled"], + cpOutputFormat: [2, "cpOutputFormat"], + cpAlphaChannel: [3, "cpAlphaChannel"], + cpCloseClickOutside: [4, "cpCloseClickOutside"], + cpPosition: [5, "cpPosition"], + cpPositionOffset: [6, "cpPositionOffset"], + cpOKButton: [7, "cpOKButton"], + cpOKButtonText: [8, "cpOKButtonText"] + }, + { + colorPickerSelect: "colorPickerSelect", + colorPickerChange: "colorPickerChange" + } + ), + (t()(), + bi( + 45, + 0, + null, + null, + 1, + "span", + [["class", "colorName"]], + null, + null, + null, + null, + null + )), + (t()(), Ai(-1, null, ["Right Color"])), + (t()(), + bi( + 47, + 0, + null, + null, + 8, + "section", + [["class", "container"]], + null, + null, + null, + null, + null + )), + (t()(), hi(16777216, null, null, 1, null, nE)), + Ba(49, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), + bi( + 50, + 0, + null, + null, + 5, + "div", + [["fxFlex", "60%"]], + null, + null, + null, + null, + null + )), + Ba( + 51, + 671744, + null, + 0, + SO, + [Ne, uO, Lv, kO, gO], + { fxFlex: [0, "fxFlex"] }, + null + ), + (t()(), + bi( + 52, + 0, + null, + null, + 3, + "mat-list", + [["class", "mat-list mat-list-base"]], + null, + null, + null, + MS, + PS + )), + Ba(53, 704512, null, 0, yS, [Ne], null, null), + (t()(), hi(16777216, null, 0, 1, null, iE)), + Ba( + 55, + 278528, + null, + 0, + _s, + [so, io, $e], + { ngForOf: [0, "ngForOf"] }, + null + ), + (t()(), + bi( + 56, + 0, + null, + null, + 3, + "ngx-smart-modal", + [], + null, + [["window", "resize"]], + function(t, n, e) { + var o = !0; + return ( + "window:resize" === n && + (o = !1 !== wa(t, 57).targetPlacement() && o), + o + ); + }, + GS, + KS + )), + Ba( + 57, + 245760, + [["myModal", 4]], + 0, + US, + [Be, no, HS], + { identifier: [0, "identifier"] }, + null + ), + (t()(), hi(16777216, null, 0, 1, null, dE)), + Ba(59, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null) + ], + function(t, n) { + var e = n.component; + t(n, 8, 0), t(n, 19, 0); + var o = t(n, 24, 0, e.leftColor); + t(n, 23, 0, o); + var a = t(n, 26, 0, e.leftColor); + t(n, 25, 0, a), + t(n, 27, 0, ""), + t( + n, + 31, + 0, + e.leftColor, + !1, + "rgba", + !0, + "true", + "left", + -30, + !0, + "Save Color" + ); + var r = t(n, 37, 0, e.rightColor); + t(n, 36, 0, r); + var i = t(n, 39, 0, e.rightColor); + t(n, 38, 0, i), + t(n, 40, 0, ""), + t( + n, + 44, + 0, + e.rightColor, + !1, + "rgba", + !0, + "true", + "left", + -30, + !0, + "Save Color" + ), + t(n, 49, 0, !e.config), + t(n, 51, 0, "60%"), + t(n, 55, 0, e.config.Mods), + t(n, 57, 0, "myModal"), + t(n, 59, 0, wa(n, 57).hasData()); + }, + function(t, n) { + t( + n, + 7, + 0, + wa(n, 8).inline, + "primary" !== wa(n, 8).color && + "accent" !== wa(n, 8).color && + "warn" !== wa(n, 8).color + ), + t(n, 17, 1, [ + wa(n, 19).disabled ? null : wa(n, 19)._tabIndex, + wa(n, 19)._ariaDescribedby || null, + wa(n, 19).required.toString(), + wa(n, 19).disabled.toString(), + wa(n, 19).errorState, + wa(n, 19).multiple, + wa(n, 19).role, + wa(n, 19).disabled, + wa(n, 19).errorState, + wa(n, 19).required, + wa(n, 19).ariaOrientation, + wa(n, 19)._uid + ]), + t( + n, + 21, + 0, + wa(n, 27).disabled ? null : -1, + wa(n, 27).selected, + wa(n, 27).avatar, + wa(n, 27).trailingIcon || wa(n, 27).removeIcon, + wa(n, 27).disabled, + wa(n, 27).disabled || null, + wa(n, 27).disabled.toString(), + wa(n, 27).ariaSelected + ), + t( + n, + 34, + 0, + wa(n, 40).disabled ? null : -1, + wa(n, 40).selected, + wa(n, 40).avatar, + wa(n, 40).trailingIcon || wa(n, 40).removeIcon, + wa(n, 40).disabled, + wa(n, 40).disabled || null, + wa(n, 40).disabled.toString(), + wa(n, 40).ariaSelected + ); + } + ); + } + function mE(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "app-main-mods", + [], + null, + null, + null, + pE, + tE + )), + Ba(1, 4308992, null, 0, $S, [Sg, yc, pg, HS, pv], null, null) + ], + function(t, n) { + t(n, 1, 0); + }, + null + ); + } + var gE = ha("app-main-mods", $S, mE, {}, {}, []), + fE = So({ + encapsulation: 2, + styles: [ + ".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}@media (-ms-high-contrast:active){.mat-dialog-container{outline:solid 1px}}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button+.mat-button,.mat-dialog-actions .mat-button+.mat-raised-button,.mat-dialog-actions .mat-raised-button+.mat-button,.mat-dialog-actions .mat-raised-button+.mat-raised-button{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button+.mat-button,[dir=rtl] .mat-dialog-actions .mat-button+.mat-raised-button,[dir=rtl] .mat-dialog-actions .mat-raised-button+.mat-button,[dir=rtl] .mat-dialog-actions .mat-raised-button+.mat-raised-button{margin-left:0;margin-right:8px}" + ], + data: { + animation: [ + { + type: 7, + name: "dialogContainer", + definitions: [ + { + type: 0, + name: "void, exit", + styles: { + type: 6, + styles: { opacity: 0, transform: "scale(0.7)" }, + offset: null + }, + options: void 0 + }, + { + type: 0, + name: "enter", + styles: { + type: 6, + styles: { transform: "none" }, + offset: null + }, + options: void 0 + }, + { + type: 1, + expr: "* => enter", + animation: { + type: 4, + styles: { + type: 6, + styles: { transform: "none", opacity: 1 }, + offset: null + }, + timings: "150ms cubic-bezier(0, 0, 0.2, 1)" + }, + options: null + }, + { + type: 1, + expr: "* => void, * => exit", + animation: { + type: 4, + styles: { type: 6, styles: { opacity: 0 }, offset: null }, + timings: "75ms cubic-bezier(0.4, 0.0, 0.2, 1)" + }, + options: null + } + ], + options: {} + } + ] + } + }); + function hE(t) { + return Di(0, [(t()(), hi(0, null, null, 0))], null, null); + } + function bE(t) { + return Di( + 0, + [ + Oi(402653184, 1, { _portalOutlet: 0 }), + (t()(), hi(16777216, null, null, 1, null, hE)), + Ba( + 2, + 212992, + [[1, 4]], + 0, + By, + [Ee, so], + { portal: [0, "portal"] }, + null + ) + ], + function(t, n) { + t(n, 2, 0, ""); + }, + null + ); + } + function _E(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "mat-dialog-container", + [ + ["aria-modal", "true"], + ["class", "mat-dialog-container"], + ["tabindex", "-1"] + ], + [ + [1, "id", 0], + [1, "role", 0], + [1, "aria-labelledby", 0], + [1, "aria-label", 0], + [1, "aria-describedby", 0], + [40, "@dialogContainer", 0] + ], + [ + ["component", "@dialogContainer.start"], + ["component", "@dialogContainer.done"] + ], + function(t, n, e) { + var o = !0; + return ( + "component:@dialogContainer.start" === n && + (o = !1 !== wa(t, 1)._onAnimationStart(e) && o), + "component:@dialogContainer.done" === n && + (o = !1 !== wa(t, 1)._onAnimationDone(e) && o), + o + ); + }, + bE, + fE + )), + Ba(1, 49152, null, 0, rv, [Ne, Kf, no, [2, Ds], ov], null, null) + ], + null, + function(t, n) { + t( + n, + 0, + 0, + wa(n, 1)._id, + wa(n, 1)._config.role, + wa(n, 1)._config.ariaLabel ? null : wa(n, 1)._ariaLabelledBy, + wa(n, 1)._config.ariaLabel, + wa(n, 1)._config.ariaDescribedBy || null, + wa(n, 1)._state + ); + } + ); + } + var yE = ha("mat-dialog-container", rv, _E, {}, {}, []), + CE = So({ + encapsulation: 2, + styles: [ + ".mat-tooltip-panel{pointer-events:none!important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}@media (-ms-high-contrast:active){.mat-tooltip{outline:solid 1px}}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}" + ], + data: { + animation: [ + { + type: 7, + name: "state", + definitions: [ + { + type: 0, + name: "initial, void, hidden", + styles: { + type: 6, + styles: { opacity: 0, transform: "scale(0)" }, + offset: null + }, + options: void 0 + }, + { + type: 0, + name: "visible", + styles: { + type: 6, + styles: { transform: "scale(1)" }, + offset: null + }, + options: void 0 + }, + { + type: 1, + expr: "* => visible", + animation: { + type: 4, + styles: { + type: 5, + steps: [ + { + type: 6, + styles: { + opacity: 0, + transform: "scale(0)", + offset: 0 + }, + offset: null + }, + { + type: 6, + styles: { + opacity: 0.5, + transform: "scale(0.99)", + offset: 0.5 + }, + offset: null + }, + { + type: 6, + styles: { + opacity: 1, + transform: "scale(1)", + offset: 1 + }, + offset: null + } + ] + }, + timings: "200ms cubic-bezier(0, 0, 0.2, 1)" + }, + options: null + }, + { + type: 1, + expr: "* => hidden", + animation: { + type: 4, + styles: { type: 6, styles: { opacity: 0 }, offset: null }, + timings: "100ms cubic-bezier(0, 0, 0.2, 1)" + }, + options: null + } + ], + options: {} + } + ] + } + }); + function vE(t) { + return Di( + 2, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 4, + "div", + [["class", "mat-tooltip"]], + [[2, "mat-tooltip-handset", null], [24, "@state", 0]], + [[null, "@state.start"], [null, "@state.done"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "@state.start" === n && (o = !1 !== a._animationStart() && o), + "@state.done" === n && (o = !1 !== a._animationDone(e) && o), + o + ); + }, + null, + null + )), + Ha(512, null, gs, fs, [$e, to, Ne, Be]), + Ba( + 2, + 278528, + null, + 0, + hs, + [gs], + { klass: [0, "klass"], ngClass: [1, "ngClass"] }, + null + ), + Va(131072, Ts, [no]), + (t()(), Ai(4, null, ["", ""])) + ], + function(t, n) { + t(n, 2, 0, "mat-tooltip", n.component.tooltipClass); + }, + function(t, n) { + var e, + o = n.component; + t( + n, + 0, + 0, + null == (e = xo(n, 0, 0, wa(n, 3).transform(o._isHandset))) + ? null + : e.matches, + o._visibility + ), + t(n, 4, 0, o.message); + } + ); + } + function OE(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "mat-tooltip-component", + [["aria-hidden", "true"]], + [[4, "zoom", null]], + [["body", "click"]], + function(t, n, e) { + var o = !0; + return ( + "body:click" === n && + (o = !1 !== wa(t, 1)._handleBodyInteraction() && o), + o + ); + }, + vE, + CE + )), + Ba(1, 180224, null, 0, cP, [no, tP], null, null) + ], + null, + function(t, n) { + t(n, 0, 0, "visible" === wa(n, 1)._visibility ? 1 : null); + } + ); + } + var PE = ha("mat-tooltip-component", cP, OE, {}, {}, []), + ME = So({ + encapsulation: 2, + styles: [ + ".color-picker {\n position: absolute;\n z-index: 100000;\n\n width: 230px;\n height: auto;\n border: #777 solid 1px;\n\n cursor: default;\n\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n\n user-select: none;\n background-color: #fff;\n}\n\n.color-picker * {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n\n box-sizing: border-box;\n margin: 0;\n\n font-size: 11px;\n}\n\n.color-picker input {\n width: 0;\n height: 26px;\n min-width: 0;\n\n font-size: 13px;\n text-align: center;\n color: #000;\n}\n\n.color-picker input:invalid,\n.color-picker input:-moz-ui-invalid,\n.color-picker input:-moz-submit-invalid {\n box-shadow: none;\n}\n\n.color-picker input::-webkit-inner-spin-button,\n.color-picker input::-webkit-outer-spin-button {\n margin: 0;\n\n -webkit-appearance: none;\n}\n\n.color-picker .arrow {\n position: absolute;\n z-index: 999999;\n\n width: 0;\n height: 0;\n border-style: solid;\n}\n\n.color-picker .arrow.arrow-top {\n left: 8px;\n\n border-width: 10px 5px;\n border-color: #777 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);\n}\n\n.color-picker .arrow.arrow-left {\n top: 8px;\n left: 100%;\n\n border-width: 5px 10px;\n border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #777;\n}\n\n.color-picker .arrow.arrow-right {\n top: 8px;\n left: -20px;\n\n border-width: 5px 10px;\n border-color: rgba(0, 0, 0, 0) #777 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);\n}\n\n.color-picker .arrow.arrow-bottom {\n top: -20px;\n left: 8px;\n\n border-width: 10px 5px;\n border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #777 rgba(0, 0, 0, 0);\n}\n\n.color-picker .cursor {\n position: relative;\n\n width: 16px;\n height: 16px;\n border: #222 solid 2px;\n border-radius: 50%;\n\n cursor: default;\n}\n\n.color-picker .box {\n display: flex;\n padding: 4px 8px;\n}\n\n.color-picker .left {\n position: relative;\n\n padding: 16px 8px;\n}\n\n.color-picker .right {\n -webkit-flex: 1 1 auto;\n -ms-flex: 1 1 auto;\n\n flex: 1 1 auto;\n\n padding: 12px 8px;\n}\n\n.color-picker .button-area {\n padding: 0 16px 16px;\n\n text-align: right;\n}\n\n.color-picker .preset-area {\n padding: 4px 15px;\n}\n\n.color-picker .preset-area .preset-label {\n overflow: hidden;\n width: 100%;\n padding: 4px;\n\n font-size: 11px;\n white-space: nowrap;\n text-align: left;\n text-overflow: ellipsis;\n color: #555;\n}\n\n.color-picker .preset-area .preset-color {\n position: relative;\n\n display: inline-block;\n width: 18px;\n height: 18px;\n margin: 4px 6px 8px;\n border: #a9a9a9 solid 1px;\n border-radius: 25%;\n\n cursor: pointer;\n}\n\n.color-picker .preset-area .preset-empty-message {\n min-height: 18px;\n margin-top: 4px;\n margin-bottom: 8px;\n\n font-style: italic;\n text-align: center;\n}\n\n.color-picker .hex-text {\n width: 100%;\n padding: 4px 8px;\n\n font-size: 11px;\n}\n\n.color-picker .hex-text .box {\n padding: 0 24px 8px 8px;\n}\n\n.color-picker .hex-text .box div {\n float: left;\n\n -webkit-flex: 1 1 auto;\n -ms-flex: 1 1 auto;\n\n flex: 1 1 auto;\n\n text-align: center;\n color: #555;\n clear: left;\n}\n\n.color-picker .hex-text .box input {\n -webkit-flex: 1 1 auto;\n -ms-flex: 1 1 auto;\n\n flex: 1 1 auto;\n padding: 1px;\n border: #a9a9a9 solid 1px;\n}\n\n.color-picker .hex-alpha .box div:first-child,\n.color-picker .hex-alpha .box input:first-child {\n flex-grow: 3;\n margin-right: 8px;\n}\n\n.color-picker .cmyk-text,\n.color-picker .hsla-text,\n.color-picker .rgba-text,\n.color-picker .value-text {\n width: 100%;\n padding: 4px 8px;\n\n font-size: 11px;\n}\n\n.color-picker .cmyk-text .box,\n.color-picker .hsla-text .box,\n.color-picker .rgba-text .box {\n padding: 0 24px 8px 8px;\n}\n\n.color-picker .value-text .box {\n padding: 0 8px 8px;\n}\n\n.color-picker .cmyk-text .box div,\n.color-picker .hsla-text .box div,\n.color-picker .rgba-text .box div,\n.color-picker .value-text .box div {\n -webkit-flex: 1 1 auto;\n -ms-flex: 1 1 auto;\n\n flex: 1 1 auto;\n margin-right: 8px;\n\n text-align: center;\n color: #555;\n}\n\n.color-picker .cmyk-text .box div:last-child,\n.color-picker .hsla-text .box div:last-child,\n.color-picker .rgba-text .box div:last-child,\n.color-picker .value-text .box div:last-child {\n margin-right: 0;\n}\n\n.color-picker .cmyk-text .box input,\n.color-picker .hsla-text .box input,\n.color-picker .rgba-text .box input,\n.color-picker .value-text .box input {\n float: left;\n\n -webkit-flex: 1;\n -ms-flex: 1;\n\n flex: 1;\n padding: 1px;\n margin: 0 8px 0 0;\n border: #a9a9a9 solid 1px;\n}\n\n.color-picker .cmyk-text .box input:last-child,\n.color-picker .hsla-text .box input:last-child,\n.color-picker .rgba-text .box input:last-child,\n.color-picker .value-text .box input:last-child {\n margin-right: 0;\n}\n\n.color-picker .hue-alpha {\n align-items: center;\n margin-bottom: 3px;\n}\n\n.color-picker .hue {\n direction: ltr;\n\n width: 100%;\n height: 16px;\n margin-bottom: 16px;\n border: none;\n\n cursor: pointer;\n background-size: 100% 100%;\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAQCAYAAAD06IYnAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AIWDwkUFWbCCAAAAFxJREFUaN7t0kEKg0AQAME2x83/n2qu5qCgD1iDhCoYdpnbQC9bbY1qVO/jvc6k3ad91s7/7F1/csgPrujuQ17BDYSFsBAWwgJhISyEBcJCWAgLhIWwEBYIi2f7Ar/1TCgFH2X9AAAAAElFTkSuQmCC');\n}\n\n.color-picker .value {\n direction: rtl;\n\n width: 100%;\n height: 16px;\n margin-bottom: 16px;\n border: none;\n\n cursor: pointer;\n background-size: 100% 100%;\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAQCAYAAAD06IYnAAACTklEQVR42u3SYUcrABhA4U2SkmRJMmWSJklKJiWZZpKUJJskKUmaTFImKZOUzMySpGRmliRNJilJSpKSJEtmSpIpmWmSdO736/6D+x7OP3gUCoWCv1cqlSQlJZGcnExKSgqpqamkpaWRnp5ORkYGmZmZqFQqsrKyyM7OJicnh9zcXNRqNXl5eeTn56PRaCgoKKCwsJCioiK0Wi3FxcWUlJRQWlpKWVkZ5eXlVFRUUFlZiU6no6qqiurqampqaqitraWurg69Xk99fT0GgwGj0UhDQwONjY00NTXR3NxMS0sLra2ttLW10d7ejslkwmw209HRQWdnJ11dXXR3d9PT00Nvby99fX309/czMDDA4OAgFouFoaEhrFYrw8PDjIyMMDo6ytjYGDabjfHxcSYmJpicnGRqagq73c709DQzMzPMzs4yNzfH/Pw8DocDp9OJy+XC7XazsLDA4uIiS0tLLC8vs7KywurqKmtra3g8HrxeLz6fD7/fz/r6OhsbG2xubrK1tcX29jaBQICdnR2CwSC7u7vs7e2xv7/PwcEBh4eHHB0dcXx8zMnJCaenp5ydnXF+fs7FxQWXl5dcXV1xfX3Nzc0Nt7e33N3dEQqFuL+/5+HhgXA4TCQS4fHxkaenJ56fn3l5eeH19ZVoNMrb2xvv7+98fHwQi8WIx+N8fn6SSCT4+vri+/ubn58ffn9/+VcKgSWwBJbAElgCS2AJLIElsASWwBJYAktgCSyBJbAElsASWAJLYAksgSWwBJbAElgCS2AJLIElsP4/WH8AmJ5Z6jHS4h8AAAAASUVORK5CYII=');\n}\n\n.color-picker .alpha {\n direction: ltr;\n\n width: 100%;\n height: 16px;\n border: none;\n\n cursor: pointer;\n background-size: 100% 100%;\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAQCAYAAAD06IYnAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AIWDwYQlZMa3gAAAWVJREFUaN7tmEGO6jAQRCsOArHgBpyAJYGjcGocxAm4A2IHpmoWE0eBH+ezmFlNvU06shJ3W6VEelWMUQAIIF9f6qZpimsA1LYtS2uF51/u27YVAFZVRUkEoGHdPV/sIcbIEIIkUdI/9Xa7neyv61+SWFUVAVCSct00TWn2fv6u3+Ecfd3tXzy/0+nEUu+SPjo/kqzrmiQpScN6v98XewfA8/lMkiLJ2WxGSUopcT6fM6U0NX9/frfbjev1WtfrlZfLhYfDQQHG/AIOlnGwjINlHCxjHCzjYJm/TJWdCwquJXseFFzGwDNNeiKMOJTO8xQdDQaeB29+K9efeLaBo9J7vdvtJj1RjFFjfiv7qv95tjx/7leSQgh93e1ffMeIp6O+YQjho/N791t1XVOSSI7N//K+4/GoxWLBx+PB5/Op5XLJ+/3OlJJWqxU3m83ovv5iGf8KjYNlHCxjHCzjYBkHy5gf5gusvQU7U37jTAAAAABJRU5ErkJggg==');\n}\n\n.color-picker .type-policy {\n position: absolute;\n top: 218px;\n right: 12px;\n\n width: 16px;\n height: 24px;\n\n background-size: 8px 16px;\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAgCAYAAAAffCjxAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAACewAAAnsB01CO3AAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAIASURBVEiJ7ZY9axRRFIafsxMStrLQJpAgpBFhi+C9w1YSo00I6RZ/g9vZpBf/QOr4GyRgkSKNSrAadsZqQGwCkuAWyRZJsySwvhZ7N/vhzrgbLH3Ld8597jlzz50zJokyxXH8DqDVar0qi6v8BbItqSGpEcfxdlmsFWXkvX8AfAVWg3UKPEnT9GKujMzsAFgZsVaCN1VTQd77XUnrgE1kv+6935268WRpzrnHZvYRWC7YvC3pRZZl3wozqtVqiyH9IgjAspkd1Gq1xUJQtVrdB9ZKIAOthdg/Qc65LUk7wNIMoCVJO865rYFhkqjX6/d7vV4GPJwBMqofURS5JEk6FYBer/eeYb/Mo9WwFnPOvQbeAvfuAAK4BN4sAJtAG/gJIElmNuiJyba3EGNmZiPeZuEVmVell/Y/6N+CzDn3AXhEOOo7Hv/3BeAz8IzQkMPnJbuPx1wC+yYJ7/0nYIP5S/0FHKdp+rwCEEXRS/rf5Hl1Gtb2M0iSpCOpCZzPATmX1EySpHMLAsiy7MjMDoHrGSDXZnaYZdnRwBh7J91utwmczAA6CbG3GgPleX4jqUH/a1CktqRGnuc3hSCAMB32gKspkCtgb3KCQMmkjeP4WNJThrNNZval1WptTIsv7JtQ4tmIdRa8qSoEpWl6YWZNoAN0zKxZNPehpLSBZv2t+Q0CJ9lLnARQLAAAAABJRU5ErkJggg==');\n background-repeat: no-repeat;\n background-position: center;\n}\n\n.color-picker .type-policy .type-policy-arrow {\n display: block;\n\n width: 100%;\n height: 50%;\n}\n\n.color-picker .selected-color {\n position: absolute;\n top: 16px;\n left: 8px;\n\n width: 40px;\n height: 40px;\n border: 1px solid #a9a9a9;\n border-radius: 50%;\n}\n\n.color-picker .selected-color-background {\n width: 40px;\n height: 40px;\n border-radius: 50%;\n\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAh0lEQVRYR+2W0QlAMQgD60zdfwOdqa8TmI/wQMr5K0I5bZLIzLOa2nt37VVVbd+dDx5obgCC3KBLwJ2ff4PnVidkf+ucIhw80HQaCLo3DMH3CRK3iFsmAWVl6hPNDwt8EvNE5q+YuEXcMgkonVM6SdyCoEvAnZ8v1Hjx817MilmxSUB5rdLJDycZgUAZUch/AAAAAElFTkSuQmCC');\n}\n\n.color-picker .saturation-lightness {\n direction: ltr;\n\n width: 100%;\n height: 130px;\n border: none;\n\n cursor: pointer;\n touch-action: manipulation;\n background-size: 100% 100%;\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOYAAACCCAYAAABSD7T3AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AIWDwksPWR6lgAAIABJREFUeNrtnVuT47gRrAHN+P//Or/61Y5wONZ7mZ1u3XAeLMjJZGZVgdKsfc5xR3S0RIIUW+CHzCpc2McYo7XGv3ex7UiZd57rjyzzv+v+33X/R/+3r/f7vR386Y+TvKNcf/wdhTLPcv9qU2wZd74uth0t1821jkIZLPcsI/6nWa4XvutquU0Z85mnx80S/ZzgpnLnOtHNt7/ofx1TKXcSNzN/7qbMQ3ju7rNQmMYYd/4s2j9aa+P+gGaMcZrb1M/tdrvf7/d2v99P9/t93O/3cbvdxu12G9frdVwul3E+n8c///nP+2+//Xb66aefxl//+tfx5z//2YK5Al2rgvf4UsbpdGrB52bAvArXpuzjmiqAVSGz5eDmGYXzhbAZmCrnmzddpUU+8Y1dAOYeXCtDUwVwV7YCGH6uAmyMcZ9l5vkUaBPGMUZ7/J5w/792/fvv9Xq93263dr/fTxPECeME8nK5jM/Pz/HTTz/dv337dvrll1/GP/7xj/G3v/1t/OUvfwkVswongjdOp9PzH3U3D3zmWGnZVXn4jCqs7wC2BKP4/8tAzkZsoWx6XrqeHZymvp4ABCBJhTQwKfDT8gzrZCIqi5AhiACjBfEB2rP8/X63MM7f6/V6v9/v7Xa7bYC83W7jcrlsVHIq5ffv30+//fbb+OWXX8ZPP/00/v73v4+ff/75JSvbeu+bL2WMMaFbAlpBNM85QX+ct6qoSqkPAwuQlBVKqGNFSUOAA3Bmu7gC5hNOd15nSwvAOUW7C4giUCV8Sgn5L9hNFIqTsp0GxI0ysioyjAjkY/tGJVEpz+fz+OWXX+7fv38//f777+Pbt2/j119/HT///PP49ddfx8fHRwrmTjV779EXu2px2xhjwtdJZQcAWQIPLPISsMJaSwiD8gzIKrwSyATE5j5nAbR5c1dBUwBlsEWW0h6LqiYsqFPAQxCyRZ3wOSARxmlXMX5k64pQfvv27f75+dk+Pj5OHx8f4/v37+Pbt2/jt99+G9++fRsfHx/jcrmUFLO31gYDWblxRIs/TqfT7ousxJsAxXA2Gc7TA9XdgfdoHbFsj76X2+1WArgI1ageGwA3qupqoHsmcbI6Fu93quggFa9d7LeDtgKfAFHBJ+NEByIkcJ5KervdTmhhGcgJJSZ5vn//fj+fz+18Pp8+Pz/H5+fnmGD+/vvv4/v37+Pj42N8fn6O2+1Ws7JjjP6wraMI5E4RZ8x2vV5TSwkquotV7/d7Tz6HFWsD/qNcdw0CQ3q/321c686TwDVIdbuy73zNldhSHb8I2klZznm+InBS4U6n0302aBFsLhHDAKJVJVglfI9jhvu53W53sLANYNxAiDA6MCeUHx8f9+v12i6XS7tcLqcZW57P5yeY8/fz83Ocz+fnsSmYUyknWEG85WBst9stzSLyMdfr9Qi08iY15UZ0LlDGLhR3o5zK2j7OPUTD0E+nU3tk7Xb/16NFbhloAMuY1zjLUOO3BKeIDe+Z8s3/J4gFo4TM5jPmuRg28foUKKVSwo16TgA5npywcWLHgYl/Pz8/73/605/ab7/91m63W7tcLie0sZj4mao5gTyfz88E0f1+j8EcYzwTPEG2cqjyfHNF0M8fuqEiaOVnRzZZQNh5fwQyHg/HDGfJo89Q1zb/quu5XC6773I2XKfTqd/v9+d3wuqWva/YTdUdEV3fhIv/Viyps6YE3x3r43K5bJQS66zaxVGFsvd+//j4aF+/fm3fv39vt9utff36tf3+++/tdrudvn37ZuNLBaaCMgUzC+rZRiFowxUuJI8YMqcCp9Opq5vagaYU6lGJA1XQqejchw6Cj0Gw5nYBrGw01A2O206n04BGouNNyTfp/FwElhUey6nXrIKw7QQWddxuN2ldL5fL839gSPF8ahu/JvBO48CPSuqMf8Vp9/P53L58+dLu93s7n8/tfr8/39/v9/b5+TkhPJ3P56mQ436/j+/fv+/iSgbzer0+AZx/5+88bv6OMda6S5z6kd21fYC9dxv7cIJJ2d9AOS30fPMzyHiTM8B4DF6XUlYHp4KQW3W+1t77MNB1vGHxWq7Xa7vf78+y5/N5A+H1et29xuP5dbYtyaRu4AksbPq6936fjRzXRxBbPr/b+b18+fKljTHaBBBfn8/n0/1+H1++fBnn8zm0sB8fH5u4cr5GuBhMVk0EEn9RsctgVhM+ixlJtMA23R8B6yysAstBOgFXIKKCMIgToMqNEu2fYMH7ztc732dQKkCj1ytAZtY0Kx8pIr8GGJ+AT3V+2Hirhl++fBmXy2Wz73w+b17P8p+fn8/tUwGVleVkTyUb68DkfayWY4zxNRihU4EpLJPZVrK+u7J4/mgfKqeLW9X2REWlItL1diynbDDb3+jXgYjQqn0rrxWc+NkILP7F7xIbMvx7vV53x40xnlbWJF12ZSag/N0pW6t+ZzmOMzHjajKwDfond78zYTdfq18up97zr2q8v3IioBprRtBl0EZ9og5WBRGOdOHjIjXF7UotFbgOWnXzIJyzYvjG5IYgsmMOxHkz8OsMSrVNWeq5T8DaOcbEv1Od5rbs9aO7YvMet63EkF++fMExq+MRl4/L5bLZN/+ez+fnZ6KazuMqXSQVO5spJXflHAIzes/xJseckRJiDMog9d6VfRrqXMr6KpVV27jRwJacGovOAM1zMdQMnwK1AubK63kdCChvI1C7g0z9nf/D+Xze2Vj8H7Gx4P9duQlsYCrqyN8XqG3Hm/10Oj3jw/n+crlstuM+jPmmxT2dTuPz83Pzt2pn1XsEHX/bnPaVqVmh0xwOt0o6XLLAHePUU203wHfcrspCwmV3TryB5s0Mseeg97x/BwzCjBlbB+pRAPla0BVQuT6V6QHdBlj3d0KG147b+DqxQeUymDO43W4dQar+TIjwmAd0z8/h65vf0/yLv3Pb5XLpru/ydDo9s7ET0I+Pj6dKK9VUEIeKWQWPAOrJ8LKd4vE+t91Y3e7UFlWatg2VwJnb+HPmtvm/sfK59/OaWF3x/eP1UPHvA5DDYDpYXfb0drv1V2DkBkxtw/tEWVVlXWdC9pFYs5/jfh9dS/16vW7s6lTG+TfqsxSJHxkXXq/Xdr1eu4LsfD6P3vsT3N77DkL+zPm5jSdKL4zR3AxQd6rHkLkYlSowsrq7znzu6wSwdsMJOXmA5fBcjxtgMGBYHlr5zokhtsMCTgXLQOW4XC6dEyEMprL8mAQzXRgduix2yZzorxkYsDn3hB1VeMLGsXsVtgl2pW8S3svk0vw7R4hNaHvv4cACl5HFzwIH0Kc6zu4XjDPR/jpAVxWzO1Xk2DDb3vTcxeGU1iWZHkmIDWziWKvirCJ4Dravs6IJ/GG6cTqWdXDy+fArQDVVkLqkVjAoZIITdmmIqXwqa95N3+MGYoZQdRVNO53Y1xRkhO16vY7eu507Ca9lJnbGpxOemQhSw/AQsmmp5zU9BiU8G6wvX76M6/U6Pj4+do0Bz4CpgiknTUeDqwlKBmg3u4OVjrZ1A+rAcgaejWq6eJCvCYFDONSwOgHX4EQRw8lxbzDOdEK6gZ3Hk1b+8g2o1JFtKXyv/fEdTXuWjWXdAZiBp6ADeDrCFiim7B6ZFneeI7Gvm/PMkUDX67W7xI8b0D7/v8dA9qfN5oaCf74WZjH0mf1cmfY1Y0JUFmVrTWu8uzkNcLtEj7u5FXBTkfC6GOA5q8YMxO8KVvF6sAVGdcrUbsKODcQKkLMOMdmlxum642YrPm26AlhZW1YB1R+rrGswE8TaYAWeUMxdf+WjwSvZ2Ef3ytOyfn5+PpVPAaqOn43MtNBqvmjjxbjM4lZjZY4gqNMI5ktaW/sYKNwS+9lFQzGihmMCKPa7+Z0V6Eb0GRmobtpX8JljWu5FMLN5ja6hG9kwQgZqf5+1NH5UxzkFReCdWhJ8XdlGUkxO7HRlYRm4mVO43W7ter12TPJEw/rmEN3L5SKHIWZg9mz+pUoKOYq5bJTJdX2gme1UcxMZQFaEQIlHct32M+Y1BzGkGuzfiyAN9z+ugplZ1symCrDCYYkGxDTpI9RzBy0rHyeDUC1nWaeUaD9n4xkNyYMBDZtzZ3B++fJlY21XFDOcARJlabOyiS3uCpLI9jrZjCDkaVvcCCjwognKShWdzXZWlZMvVTgD8LpqlCLrqgbcB+qYwrgKYpT0ccCqbKyCValkEabn/FynogCrPKfqf51xJ7sGB2ZXcZmxoSOztjx300DZi7a0/2AIR0UlBag9SuDw6KcAzlaB7vHZvWpjK90dyrq6bKyDUZQbR0B05biLQkHIcSUmgIK+SwuqgHCnoio2RQU1yj+BnBy9pphVKLGyC7ZzFK1pxWK+E8IhVCWLN/uLtnUU4ayoYLoaANz8FdtaSvY4pV0BEW2ls61czqllBKpTyKgMAhrZ1cdc1RROtPmvWNkdcKZ7ZKxaWjiPLJMpp7OZKxA+rqG/oJLjxf0pnJlqLoDZo3gyU0mKGys2taKecj/d1C+rJSplBqlTyAqgR+D8KjKlmRL2gtUcAdCtsL+ijCNT1oqqqkH2OHEbG5sDFnUg5Aa+yLou2VU1ptj1S2ZQqv1ORZN9IWzRfgaRBxKoBE8UWyqlJFtrIc0AxNjSjed99CTY/XDfSzCz5M0IZoVEsWnPFNTsl8ooVC1TzbGgqFZNDSgVwKK+1sGDMKqxZCWGVMDysiEr1jVSQJUYwj5iHOlThdHt44SQg9CN+nl8D90NMIgAdgr46JqRiR9I8vRdFvbr17m/yxUMKjNLMiVUADwu2CWGhhi+F55TWM9M9cogzms1dnM4uOF/LAEYWdcqnM7yFmyq3IfwmOROd7Y1iFWtOjoY8To41mTV5IysgFFuRzsbWFGbNIIJCDv1dOo4lZG7jWBwRFtVTKuWyeCByJKOan8oZ3ep9XddNl0tDuaywLz9cXPYeDAA0SpkBO9sbVcTOVWldPv4uyzEkzxHtjvonHoSkFEWNoo1d8DhcQputd2ppNon4BzoAiJ1hBFQg0dVtdbGHHDQWushmNEQukLM2QO1G2Y8bgTXqFhcBJj7EjPgcPts8US8qPpPB/dXznOh5Z438tzH5ec6QgrOKrRRfKmysBmUDB+PhYabMlVPER+GCSITTzr7am2tArH3bgcEzPJm+cr5jJ4NnHNFDVrFXcI5Le9k5Jnw+bedbV+FfRzZIHaOOaOsLY0/7UGs58DjrGwKMIMFIGzOEW1/jGsdAtCN6hEAI4hBe9YXeRROBSVPAVPAqvIM5bx5hVKWAMP6zBRy3iescridVdFBinBxXDnG2GRY2XbCvp1lhvGtO9Bxu5h908XQu42lnSArMFdizMim8uwRCxPGnnOS8lwpnbOiDqTAjsrRN/PcoAScCbaACqVM40ylnjjTBs+bwWlAG23/UKbdkiwKWIQPGzWaczpoSlxPEj822cNWkpS7FyzsDrqpfgpG3jahw2vgbaSQAxuLWZYt7JzyNe8JoZpNAcvDFOdw0wqYT9AK1rZz/DdbSlLPp0ryIxgQJlK9AZlEq7IOXpohg9PIhrCng88JsOxiV4ZWAYfg4sikx/8ky2Z9l862uqwrfscIH8+ugTmVGyiddeVYUgEMn4GZzg14EwIsh9sx2cKKiWXReuOE5gzGOQgdlRKVVdlevqb279Xq0Qnsts2VDaBO0coezsruWtHApu6sKG4IBhN0aGU2kLrMKGRTN3HmbCDwKV14zvkMEDG4QfZVspVlaNU2mhc5TEZ3N1h/zqTheuLpW05ZWTGVjb3dbnNmxKZBnN8JqidaVLKAOyARNLS+MB54Z2+VaqoMLKroVBlngefnTPAcoHNWCSvlfA8CI0HEmBNBnBlXyMrzU7A7WVm94PPqQ2gmqKx+WDGsnvilmcSOBJqOK1nYyAIzuAyesq3UdSK3KfWcYKD95HmfYOU3qser2CtYEUA+FpfqdNvgPBZUBhDrGONRVlQsh8rLcaUCykHG0OOUwTlLBrsh5soEMGezi1E4HRVt1icp5wZEFXdibCkG8Y8vX75sbO4E0iom9z+hjSiOfy3DhpXItpVhE+UGQdvoWjtChmrGHf4YAzKgBNnGtuJxFCeGdhUAfQLLK8kBYAP6gvFJZajMG3Xkycy8KuC0q4Eyymwtwdxdv2M0mIBtK0LKnf640j00Auq4gUkdWGlhs22qJc6dZCsL19oxnlTJG4SYVRIGpD8TPFBuM6OElbS1pldid4mGAyN6ZIupbC5bXJN9fdpbThSxLUaI8IG1XIYBxW3Tjs6KQosKcxfxcQmdnwRGM10GnFcCy2XYunLMyAkdgk4mePiczsLygthcBut6goOqS7YVFXADLjaosB6s6ofcZWAZSIRYqSUkizYwttYab3vUOQ9w2HRxIIg8WwRVeE68xi4UtL3zRphxplzwuZrcqYCq1I3jPI5dnJIygEohMbPqVJSzrwzxBJTs5zN+ReUSgxikPQVF3JVBeNQxbHENrEMNvEdFZVV9lH9+ORGEsNZQpyTNc4C3AG7XF4ngzq+DrO2zbuaaOXgdaFcdkEotoSFBVX2qJ0C8OWZeG4KGlpghA0XfTOPCqV2qqwQ26QWfF2PMLhI2w1lVAa2aPsYd0za25MQRwgcZN6uQDCi+ZxiD4XEM2kZxOT41FnZnaRlcpZouzlRqqdbQVWopQoSB58RV50lBNrHi/AwXS5LrwDVlpY3Fc3ByiYGc52Trist6kOXdwInAQtJpp5QchyaquYOV7Su+fxVMaV3dc0RE2S6mUY0gLt2pMcYqrKIQ9w2l1gpQUMtQYcmmbt5DTNxdhnUCjQqtbK9SUSzvrC0mmhhE1e2FS2+oxypy/ZASutkmtjx3vcBC24PX65nbqkBCRhfjS9kIYPnee8cMagVOhI/3T1fAmdtAWZsCswTJCkQVNa0qWKSKPOpHAUhD9DrbVcyoYkwqhvh17vYAayXLQyKGYdxlUDFp494rBXRjYgO17DDYetNIUj/ezp6S0lnlpEwsWmJMkOwsKXeZKEAjIHn0EQJISaRBcO6UMINz7p/bEjjnw4ft+xmDvksxX4G2rIris7qaeKwAFMP2Oi7n4criuZwtpSUwpfLxSnORSrIqusc5ZFaXysqRWjiZ2DyAWEIL35tVSoQElFACjOeGGSE7AHEQgdo/LSvCOgGBvkxsmDbvlS3Fp5vhaB2TAGqRKrKKMrhLVpaGzEVjZ0OQxDhaCTA+QyRR1d15aQzrJntL3RibsipjG6jlgL4yqbS0sNYg1e84vhbBVrElK64CUcWYXDfKxhpIuxiVJZUxsbMy/uRBKTNRQ4kQ3LdRYLS0rJjRPlTPqY6gdJsEDc+aQXAn+HgsNUCbRuF0Oj0zwnA7bWDkbhO5Ens00qeQhS1laBMl5M/cAaxsLF8rKyql+Tf7ELLEGu/ixiimdCvo0TjfpjKwaggen4eh5v7LokLKbLuyvHhcZG8dhGrEDx7Hg93ZppJF7qBqO3iVveXEDQNInzeoe8Yq6ePaZBZ2JviM3W2UAGotekRCAGq4EkF1X3DOnR11yRsBL1tRa0PVcZiNFXZ2c34FskvomInQQ6lzpJoZbJxk43NwKJFBquJSsrByHydxKOnTxQASBmS3j+JMnsHSla3Ec6K9VWoJVn9zfjwOM7hqYAAqJQwE2a3nA48J2QGegRkpZNivSY+ys3EkKd4oJIwsvIHl3cWgLt5k4NH6OmtLWdpurOkwEMupYc7eMtDRhOcI2ui5JhVIzXzLyto/GAPuZoyo8wkoduVgJglCt7OhGbgID4Mq4si+63zUS1FuFFXFlqyaj2emHlLMcBqYu0FMuR28BbB7lOxRMSiCQXFhCKuwkhZ+pYDiGSgbsKKV8MiSRsuHSIWM9rklRiIlZZuqXjsQK8ooYJMgq3JKWVkhHbhsVxFUzthOWPkYijcbx54IKsSdT+uLr3crGKyoYgFiGR9iBk4kfloUX+JIlQRQqabmpgnhqtpQpb6RVQ1WH5DnrS4hEoGZqaerQ2dhFbz8XePxShmDbo70eISjoorO2vK8SJXI4SUmEU4zWKDzUDtWTYw7xXlbSTEj4FRg7zKnKoGRALv0Gs9Tgc1BpCywGZRQAtqVz2xrBcAMzEpfZwFSa2G5W0QBFjSMapWAEFa3HcGN7CxDzECyIkJ97qwrqWNTWVo876PPsjPkj2wvgroM5lLZKMETKVql/CvnWVFiFa/SzJUQwkoZsr67Y6vlSRV3/2tmNTOY3vnaxYwMuoPKqdzR1w7IqHymlPxaAThfU7Ko2ZXYj4AYJHL+kNdKwRQYESTRa5fsUZ/rVC1TMTyWVyYoqNtuzaHsMyv2tvoarxdfqwYgU1axFo/cnql1FGsqK+uAROV8BX4GU8WcZTATi2q7Qcyi0O0V+GhWBMNRUkn8H1SsWVE5By3Gi0ECqUeJoBfAtDa4amkdXG37AGP5Ggeb84p7UazpoKRzdFzeQ8HkoHGxprKy/Hpm5t12p47J6xTYDEz7uINEXSuxYXvFskYAc+ySxH9sf5ftKzU6IbwVBcUGg5e5FMCEXSErZR0wGayV19woM9guPjTqJdVTqR4uE4nJnLldWVkECCZLd2VLF+xtamex7IpiriSDUpvrpn9lrwGMCHyppMH+ps6LILsuFGUj1XEOXiqbqSHPUKnClpWV68kqtURVNDY4TNaocykoYeTU5ngGEQa/S1DnnE4AeXMcKjHPAmFVjCBENaeyLVNHfr3px8xUstJ94hIpfH4HKE/eDaArK6lSyVVFbdt1gxTIVk3pppVlFXi4pEhVBTObquohU85MLXn1iahvUkHJjSCMc01tLFveVVBx0DodM6jftCu7DOtIzYxrc0qp1JGP2ayYFz2Gb6HvMrO8cnGtV6Gjm3uImSfD2GpWK6uowbZGMxFKQCo1pOMtcMXFpRst+hXGoAomF3sSTBGgTglbBKWwsQ3tZqaYSp0Z1CimRDWFcCJUPYJ00BI5FkKYNoifuQxmN88SWVXWLMaUqqqgC0BmQJR6sk3u9NCf6jYLXxAfqsYEgVLAhRY2AtgtflZNFmFyhxdrLkAdWlk4D88M2ixHyepIdhMHrG/iR1ZGtq0MGpbDbRPYOXeSY1M6Ny4ZstvGSktK+XbFPATj2D371saPEsAMXhXrsZ0km/XStkhhMyBfsa6uXFZe2VCe+YMr1+GKgwrQyNYq1VRrB+EizAow6NsdNKcyVEkYeM73ys6q4kAHp6BiFklTkIrVC5oYV7uzwOGCz4UJ0Stq2lWMJy4wtb+RetL6tZFicnJmBw5UjCvXXMZVJX2MQkbf+XN5EWd78Vz8/JEsMZTBiKNzsm1inLRUQ74H4NidaqI68j5sAFgxcRveC7ieLJXfQYxjZZ2CsiWFewZXJmBIlZ1tdtrX4hSuateKso/RZOtOKW2nmq1oTzeK6dRWAWu2NRVb4hq0SXm1GvtugHrbr5IXqmSktg5CuDE2MSlPwsY5kNE2Wp3AqiZbWVLAxiBF+2iBZbuNj6MB6rsMLC7FyasaYDyo7KkoPyEtw3pEMXfPvxAJi2jAQQgjrz0rLIZSWZlIoNhwd5xK4AR9mYNjWAaLrnuImJeBVN9zBORObVvbr+mTTfFSEJLSRnHo7hEJoIi8MFqjxmvgmF5URZz4zLFgZZ8Ctu2X7ggVccKm9gVxIsOHqxXgNMKnFWZYnf1dBnOhayXq17QwFlWW09eNKyVJFmXqaONGA5aCegMbJ3UUkGY1ic3nKWgjq8qfVYGQG1gRt6rs62a6HiqqUOqdesK5NmX4nGofJoiE1d0dF9lVVkvT1/kEEaaCoYOwFpcVcoLM+7669PxC9rWqktH0sWUYld0VCpuBZ/stVRcGgy9WX2+U1Qthi9SzAqSxzZsy+OiFzBYnySGV6Gku44rD8BCOZBV3BvD5+AKRHNwMEsB6EzHnJpkTAeiUlEGkcECeB6GDZTp5YEJTlvdrknxYjTllMkfNtXwDjM7uVjK5JXUUn43rrqpK2jytaxHW0M5G8DC8rtHMYs7KSgduVQMGTYFqFvVS6rkD3sDJ46afdYFwoq11AOKCBLhvwoUgc8IGANycR6knZrdJPdsuxnyjfd3FovTlRMdEdtOl5CMV5EHsXQBis7TOwvIDZaGj2Vnpbh7cpK63VwYEMLwqbjzyl699sawFFkF1yqjUU31HfC6sW1ZFVFuXVXVgz9keEaw0ys1lWfm+azQAQSWA+hKYVfsZjPncAcUB9oIayy/UZXRNckDGji77GsWbvBo6tPrWPqOyVkBUq+INeqpzNdYs/u0ifh5qmpqIW+33JVSUcwY70KL4U9lYdU6ljtSls7lmfi9g3YzeQfVkaGFaV3ODCnaD2N8wsEDFklE3RzM3ZghdYkWHsszq70FIecnKkVkt8ezMzRq9bkGuKojRLBVSod3Y1yPqKgYW7JRQTPVyy5xIYLjOgxgT52RKJUY1dOrIiRd4futQx/A5AcSmEjz0vFWrkLzvbWAu9HOWbGgxFk1VNTpnBKk6TgwisI/HcxYXP1uAWO72ULFlBTq+aSu2VTUs6hrxM2CF+hEor1VIA9ZmFUaab1lSSgZsVs4sxzHlVLoJHr9H4DhONTkI1XC0/wiY2NoWAG5RlnHFnq6oLccpQddMuJ/O17JVA5OHLi0BqCztq7Y1++ucCd98qLI8MIHBV/cKjxQTme3hFBS3MyCqnDsuym2o80HjvFFTtrURmNaGJsmVahImjTsUXKtQZTAVs7Mvv8/+fzUrZAXcLJ6M4koe6XP0b6SmWWNDzyUpQ8bl+LtWx4tuqZ36cRYV3yuVxPNwvIiqiQCSmu7srgTzR6nkyhpCarXwFy1vGd5iP2cY06lFr5Njhhg1Y6+NB28ftbK83s8rf7kLJbKwDFPbLg25a0AdZJEiqr5phixKMDlRUtcssq1hriLqGoH+zeNgVm9OemjsETV8JdF0NHnkIFxWY1OB4Yrp7rtWJ7NgAAAPXklEQVQ3oNs5nplyVf8u2FoLu1JrHveaZWQjqAkshtFa2gzsSG3Zpkbvg3HafF9slPPlldjFlK80Gysm8Mr4MPhneNWENPGjAIpmilTPATdTRTXlCBYHYAQuPwA36xIpWtGN4q3Y2MhiGsUpuSSnlEJRD8PorC7CFYVw+F51qThgabxsTxWzCGY0ZSsb3lfqAy0OPNjNy8xiQQKsHYFQ2HBZVvVbBuq3m1oWKajqaonsM6uZUr6CjXWNZ0l5E3h3jURma6kP3MJIiy1Lm+kahQq41N2iZja5sjtlLYNZHZrH6qUGm4vMbDp6Rw2CFmvuyFkrBcCyMtFqBaECmsHoK9BZ2LA/lJcRqSaDqnaWbrZdGaz3DLgIvBln4woGztbyJGqslwxkhhHrTjTYFXCtOoKS8uLdofVdAbOylGU6nlYpXWZts4nXBq6WxJitMNokHUJnbnJplQm+aGpY2a5GMV2QD1hRubBPFKdumf5OHkLHz0F9luE5kjBjRa0nFE5CUGqHw32MmjZ6xkgINVnSnZ1VZStK2qKlRaLlQgK7uTq7JFXJwM+3SOEKyhZNI+tJ0I5qMYy9k2qJD7dVWdqKXa0CKNR0Ccjg+B2IYu2fcBZJZkMFgM11r0X92wilghFGgzVnexlqB7xL9mS29SiYUVY2nXOZjNBRsyDsQPRWW5hrZ4XcdC4HVWRbjgJr4sFofK5SzjQ7rhI1UebdPdEbj6sqIvTZQZ5va08rABsAW0UxeWytAk7A2KJ9ZpxzCioB24XFtYAeXYxr6anSqhLgppEqWbGwLunTgrV+IjWlL29ljaAl4EQMGsErp4apeZiquwRXLXAqOCeru32mmydc6oWTSWpFAGdzeTB8RTHVMEtlM90CbbQCYhPjq3egYr1FGdYIQjiuDGZ5zZ/AzobKGOyLxti6c4Rwtv2anyWlLICnlLhxJRXt6A5ebDBWFNONbxWZ2d02mnu4S9YECpeppV1zSWRBWxHYzVIv1CXSouwqqX3jBBBDZdYQbpTQW4ZQlS8r5kH4suSRmg2++3JN10x1PaAmEkmtYlEdeGpJEM6kOuCqCR22oSujj5IV2HdT0zj5prLKTjXFAPjdQlyq7xIBxAQP5yMczG4VxAKw0n6ilZ2QBce2pLulkuxxqnoIzFfgqyqjil9S1VNwBrFmeyeops8yOjZUybZdfS8CuaTIJumzs5tODaNtLpFDQ/PcJGweLhmeL1nB0KqiUDScsiUVD89Di3HtrKtSULw3RLiygZD+7sF8JTObgYsrGvDNUFRGl1iy0Ll1YkUc2aJYMog920I8qW6YDCg1Mqk0JHJFKXkbgbRreI+qpYNOZHrVcDUba7pjsphSJNtK6upgRNAVoOS0mugBeN4bIZgHhuPZ/s1ENaX6KsVr+YNrh1Nb7ipR0PE5zbNRegCbrHRUw6Yf07dLBJl1f8KB9as2V1nNqAsl62LBBhehwalerkHmB1JFIEZKSEusdl5JQj1nJlHXSCF342gJ9CYGrXelknJIXqVP8sD+qtplCR3XH2qfKq0ygMp+KnVkKxNlZ8m2YkIlVMiCnXUwl7qznBKSvQz3m3Pt6oQbXO5b5FixCh/fHxUQW/AEcK6zCNqKQnL9sywqmKuwvqSYzT/aPVNNpVyhvRW21aqciCsjdWvBwILUvh5VyCzbWoC1pJjJ680CWsl+udKB6T5RwG1mlohnlpbg47iz5U9ha0FGtmRLFYBtO99y97Ap0z+ZDTAog6kSLZsMHg/IFkkgp6CpvU2U0cYVSdnmkjwBdOmXbxTWNWzuIbipMioVxEckZEoahSOiy2M3K0jcC1LhVDwaqG0ZvkcWqCnrG4GIxykrqlbWdw6LQyBaZR8HmLRIhQWsHswD42ZXVLNkf9l+FlW0HVQ2lwFsC/Z1FdzlQR0KaPfo+Fdfu+/dwVRICu1CGR7AEIiAhc+AZUF0kOBaPxmUqg4i64vQnU4nFDYJ9Nz+1fVXveH9qmr+kPILx8oKcRV/BFbxbE0JMT0kSD4w6L/lNY8ocsqagVdU3A3MjxhxcGuqzsPH4irpaow1q6OyrVjvp9Npc59E91LldboYVzJWdimWfAW2SNEKcDaX2FmBLLA/uKxlmhh613Is1URQApbKfttwxL02q6Onx5pQxSbPojAg+v5hAnN6LHVRDXIsvKtRjiS0qJUyZTAXVbAK82ElFJWaQdVoqUC1Unt7BVaTQudM6SuqexjQJN4+0icaxv/utbKv83ETbT8H8gjcOKxOJmbUa6OOVXht3dFY6rHv9XoNzFLceEA1o8+pKm0LAHPHZ2rYKjFq0hfZFixsqHJgD3eD5n+U0kb1mFjXkn2lvMSSOsNE/CdIAKF0Sytq6urOHUN5gwg4GZosgbmggM5ucra2qrS2Ig1cbiBBcxYzgzUDNLCvL8GbZXNp6ORy3LmS+Kk83zRIAK6A1ioKa2I9NapIuiUFdfC9766PFZUtqUr6KbWk+zZU1a/ZrIXEztrjTOfz7hwKziCeXIaraHtbZIMz+2pGgazCmw4qWAFvEdhodYp0Xq0pV7G1YWYWbO4qhGq42+Z8BYtrLWvluNPpZAeaFFS1vubPgbgxsqcpnAaszBovKaFoDQ8BGtjfUOl4NAG2nmQV04feJgumvX2fsrQEWZghL0JnVdYkn3DOZIeRN86RqPWCmsvGVqEMRnwxQAxwS8EMYo3IzmY2+BCcLp4MKiuyuhImamlbZFcNoNl7tp+RHd18ZjQIRKyXdFRhN98/hyKqwXWNo7O1wiaXoHN108REZZWEq6grnIfjzeg8jdRf1XEL4kkXa5bBjKxoKaljBjeHlVxQ4GaycpW4lDOAKtnTxHAtOfzOtZwHAM7sqVXkV6yu6kap1nHkXKqWF/4XHqjenNKqBjpR3l1ch3Ejg1+EsgdQhsdG0B4FM9sWAVWpuAyiwTPleZxt9VyZVS2qXfReWqTAilpr9ApoWTjxymit7NwV4JTriZyOA9B0k7HFfULourmKYHVnRQvqGL5HMHdqFcR2qWpmcK6eTwx2dipWrviDilr+fKWq3OWRWdHKwA4eu8wjchbeRzFilqjjZN3ufCpfkJ0/scVpnYk6L0PI77lxdWCZ87WiWm7B/AGquQSnujGKsB8CJmiJq8q1pKIVWyqOiTK66r18BN8r74/AE71fdC3yPS2MxdOpnE1tlVxD9JmVOoggN+r4PjAXVFPa3Eg5jVJGFVUGNolH20GVrUB7BOySWq6WqYQdWR92pcFMYMwckbSgCKCqD67DiiWu1g8MQC9ByfcFqW1L+jL714qNCuznoSxt0da2gtWN1G8F0BK0NN0nuimelUF9dIdAfjO44UT3CjQLoUeLHJFTO3gmpRuIIOvwBQCbqNeo3qtZ9iF6xVK13GRlo4zqimq+CGdTiR1uRY8oqgE02hZBa79kZXPMquxRHKla2saZWN4mRqZUj0vLCKhkjKnqOQHNuSZVJoKvAqS1wpEquvWDC1B2ypwrCPsRMEPVTODMLJMDv6qeKXwi2JYV5Sq4qKyvgGsHCLiuj2jR59V8gMqSJ2FJZRXEHVRHj3sFPrct6OpqlW1GpatQdt0GvwfM6n63InsGVFhJGaBqgqqIV6IsXllZgySPq4R3bnt3wi5cv+cN2yqQLW1T95KYVsWWtKk4cB9W53WQQflQYR6Wl4HaJZjvVE0D5yvq+RKgZCs5qdBEP5sD94cAvQLlSgNaSMAtHx88BuNQ41zdFsX30zKbcs0MLD/ihkpQzl0wiTqKLTfbKmCmyYICnK0IbaieC4CG9iSyLQ7cIMGQwau6TKoq60Apl3WN40LZpca1CKKK9VQyyIEn8w0F8F6CL2h8o3ixGwC7s7EWzCOqmcApYxYD4jsAzVS0sl2t98pA7vrKophCVSonbYpgH6mvSn24pTBV4sdtV3BtMq5k82y+IADvUJ0uAlkCVTxIaPm+UNu/qkV4F1TzHXCGrXIAqItBKypqK99VtAOVs64O4ObX7pHLVCpYHcRmwvLR7TvYAKBBN58LGVzDuFz+hQbWgncQyCZAk+VbsPSouf93261iZgmfCpwRbAvqmSqriU2PwhjaoOyYqtIegVXViTsmyta6bGySpY3gyRrpIyAeaWDDxtpsXwKyalMDKNP7YBXMqEskUsi2uC8FNAPxAKTVfT1o6VzM0E0jF+1rWcUuHvdyg7vgoFplX8HpvHpMCOMRUPHzZkInsqlFKNX/EIO52E0SxSzOwob2VmRLW5D1XIU0rbgM1AzWgyC7fe8G7xUAK/taEBat7luqtyP7EmsaJQOj5F+mrnZfCuYCfBUAWwShyd6pMY/vAHG1UqOYpbI/gy5T0CMKm+UO3gFuC85dgfDVeguPDfITrIBLsLrcgdh3CFgFZjaKJ4Iv3F8ANEqvuxR1tVKOgLoCa1jxboBAkj6v7j/icFbA7f4rfRnQDLRViG13i0vqBQrYVqBbADZT0ZpiHoSzvQpopKIFS3sE1HfBWlHXd0H7LnArqvougMtljHBgZnh3Eoz/BKjLML4Z2Aq0+hEJr9jaVUBbvNzCIUiroC7AWmmFw4o5AK3MtB5VypZMSFgs05JyGVwlwBqsEGAAa2ZU1CjUexXGsE4rKriilBvFzOKKo3AuAroE6QFQU3u8YpNXwS5k+1TZt5UrwouN4KiUEw+k3ZWDp1RXHNRqXb21Ts39945yZSg3VnZFNQ9CF3XeZyr5DgBXKiwCMa2MxeTDYXgP1Fsf9QNKZc0k81RJk3r6EQ3rCmBVyLL75EjZ1pIVDHoFtiOAHoB0BdTVylqBsKKKS+AeBXJVLY+CXASuGvO/Auq7GuEjDfGKg1oKa1z/dmmi9I9SUGNhl0AtfulHAawoYrnSkmNXAVuGEhrEVXvUF+A5Ct2PqNOjDetyna4CmeUolmeXLN4Aq7C5Sj10Q7yjgl+t6CNxSRHmI5X+CpwreYB3Qfdqna4q21KdBuc4GoZsn49ZOOiVinwHqK9WzjvgeweEh2AU5+vtxZ9Cd9Wqkh49V18E5oj6vVyn0RStAyGIO5edXRKd5B0VGVXq2yr3xYp+5Ut+C4QJ4P1N339pQMjRejj4vb/Dcr6rQc3O/0rjmtZpeYCBiCHfCemRbNhbK/pNUPc3wfKy5f2D7OlL3/uPhve/oU4T0F8f+VNM2vyoiv0jK+KHQfdHq+0bncz4oz73/+Y6LbKw1o/5B7eOf1Rl/0du9B9tn/9bvrf/j+v0h6ttn2tp/r/4819y4/zv5391uvzzfwDifz6phT1MPgAAAABJRU5ErkJggg==');\n}\n\n.color-picker .cp-add-color-button-class {\n position: absolute;\n\n display: inline;\n padding: 0;\n margin: 3px -3px;\n border: 0;\n\n cursor: pointer;\n background: transparent;\n}\n\n.color-picker .cp-add-color-button-class:hover {\n text-decoration: underline;\n}\n\n.color-picker .cp-add-color-button-class:disabled {\n cursor: not-allowed;\n color: #999;\n}\n\n.color-picker .cp-add-color-button-class:disabled:hover {\n text-decoration: none;\n}\n\n.color-picker .cp-remove-color-button-class {\n position: absolute;\n top: -5px;\n right: -5px;\n\n display: block;\n width: 10px;\n height: 10px;\n border-radius: 50%;\n\n cursor: pointer;\n text-align: center;\n background: #fff;\n\n box-shadow: 1px 1px 5px #333;\n}\n\n.color-picker .cp-remove-color-button-class::before {\n content: 'x';\n\n position: relative;\n bottom: 3.5px;\n\n display: inline-block;\n\n font-size: 10px;\n}\n" + ], + data: {} + }); + function xE(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 0, + "div", + [], + [[8, "className", 0], [4, "top", "px"]], + null, + null, + null, + null + )) + ], + null, + function(t, n) { + var e = n.component; + t(n, 0, 0, na(1, "arrow arrow-", e.cpPosition, ""), e.arrowTop); + } + ); + } + function kE(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 2, + "div", + [["class", "saturation-lightness"]], + [[4, "background-color", null]], + [ + [null, "newValue"], + [null, "dragStart"], + [null, "dragEnd"], + [null, "mousedown"], + [null, "touchstart"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "mousedown" === n && (o = !1 !== wa(t, 1).mouseDown(e) && o), + "touchstart" === n && + (o = !1 !== wa(t, 1).touchStart(e) && o), + "newValue" === n && (o = !1 !== a.onColorChange(e) && o), + "dragStart" === n && + (o = !1 !== a.onDragStart("saturation-lightness") && o), + "dragEnd" === n && + (o = !1 !== a.onDragEnd("saturation-lightness") && o), + o + ); + }, + null, + null + )), + Ba( + 1, + 16384, + null, + 0, + NS, + [Ne], + { rgX: [0, "rgX"], rgY: [1, "rgY"] }, + { + dragEnd: "dragEnd", + dragStart: "dragStart", + newValue: "newValue" + } + ), + (t()(), + bi( + 2, + 0, + null, + null, + 0, + "div", + [["class", "cursor"]], + [[4, "top", "px"], [4, "left", "px"]], + null, + null, + null, + null + )) + ], + function(t, n) { + t(n, 1, 0, 1, 1); + }, + function(t, n) { + var e = n.component; + t(n, 0, 0, e.hueSliderColor), + t( + n, + 2, + 0, + null == e.slider ? null : e.slider.v, + null == e.slider ? null : e.slider.s + ); + } + ); + } + function wE(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "button", + [["type", "button"]], + [[8, "className", 0], [8, "disabled", 0]], + [[null, "click"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "click" === n && + (o = !1 !== a.onAddPresetColor(e, a.selectedColor) && o), + o + ); + }, + null, + null + )), + (t()(), Ai(1, null, [" ", " "])) + ], + null, + function(t, n) { + var e = n.component; + t( + n, + 0, + 0, + na(1, "", e.cpAddColorButtonClass, ""), + e.cpPresetColors && + e.cpPresetColors.length >= e.cpMaxPresetColorsLength + ), + t(n, 1, 0, e.cpAddColorButtonText); + } + ); + } + function SE(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 0, + "div", + [["style", "height: 16px;"]], + null, + null, + null, + null, + null + )) + ], + null, + null + ); + } + function EE(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "input", + [ + ["max", "1"], + ["min", "0"], + ["pattern", "[0-9]+([\\.,][0-9]{1,2})?"], + ["step", "0.1"], + ["type", "number"] + ], + [[8, "value", 0]], + [[null, "keyup.enter"], [null, "newValue"], [null, "input"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "input" === n && (o = !1 !== wa(t, 1).inputChange(e) && o), + "keyup.enter" === n && (o = !1 !== a.onAcceptColor(e) && o), + "newValue" === n && (o = !1 !== a.onAlphaInput(e) && o), + o + ); + }, + null, + null + )), + Ba( + 1, + 16384, + null, + 0, + DS, + [], + { rg: [0, "rg"] }, + { newValue: "newValue" } + ) + ], + function(t, n) { + t(n, 1, 0, 1); + }, + function(t, n) { + var e = n.component; + t(n, 0, 0, null == e.cmykText ? null : e.cmykText.a); + } + ); + } + function IE(t) { + return Di( + 0, + [ + (t()(), + bi(0, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["A"])) + ], + null, + null + ); + } + function AE(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 22, + "div", + [["class", "cmyk-text"]], + [[4, "display", null]], + null, + null, + null, + null + )), + (t()(), + bi( + 1, + 0, + null, + null, + 10, + "div", + [["class", "box"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 2, + 0, + null, + null, + 1, + "input", + [ + ["max", "100"], + ["min", "0"], + ["pattern", "[0-9]*"], + ["type", "number"] + ], + [[8, "value", 0]], + [[null, "keyup.enter"], [null, "newValue"], [null, "input"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "input" === n && (o = !1 !== wa(t, 3).inputChange(e) && o), + "keyup.enter" === n && (o = !1 !== a.onAcceptColor(e) && o), + "newValue" === n && (o = !1 !== a.onCyanInput(e) && o), + o + ); + }, + null, + null + )), + Ba( + 3, + 16384, + null, + 0, + DS, + [], + { rg: [0, "rg"] }, + { newValue: "newValue" } + ), + (t()(), + bi( + 4, + 0, + null, + null, + 1, + "input", + [ + ["max", "100"], + ["min", "0"], + ["pattern", "[0-9]*"], + ["type", "number"] + ], + [[8, "value", 0]], + [[null, "keyup.enter"], [null, "newValue"], [null, "input"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "input" === n && (o = !1 !== wa(t, 5).inputChange(e) && o), + "keyup.enter" === n && (o = !1 !== a.onAcceptColor(e) && o), + "newValue" === n && (o = !1 !== a.onMagentaInput(e) && o), + o + ); + }, + null, + null + )), + Ba( + 5, + 16384, + null, + 0, + DS, + [], + { rg: [0, "rg"] }, + { newValue: "newValue" } + ), + (t()(), + bi( + 6, + 0, + null, + null, + 1, + "input", + [ + ["max", "100"], + ["min", "0"], + ["pattern", "[0-9]*"], + ["type", "number"] + ], + [[8, "value", 0]], + [[null, "keyup.enter"], [null, "newValue"], [null, "input"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "input" === n && (o = !1 !== wa(t, 7).inputChange(e) && o), + "keyup.enter" === n && (o = !1 !== a.onAcceptColor(e) && o), + "newValue" === n && (o = !1 !== a.onYellowInput(e) && o), + o + ); + }, + null, + null + )), + Ba( + 7, + 16384, + null, + 0, + DS, + [], + { rg: [0, "rg"] }, + { newValue: "newValue" } + ), + (t()(), + bi( + 8, + 0, + null, + null, + 1, + "input", + [ + ["max", "100"], + ["min", "0"], + ["pattern", "[0-9]*"], + ["type", "number"] + ], + [[8, "value", 0]], + [[null, "keyup.enter"], [null, "newValue"], [null, "input"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "input" === n && (o = !1 !== wa(t, 9).inputChange(e) && o), + "keyup.enter" === n && (o = !1 !== a.onAcceptColor(e) && o), + "newValue" === n && (o = !1 !== a.onBlackInput(e) && o), + o + ); + }, + null, + null + )), + Ba( + 9, + 16384, + null, + 0, + DS, + [], + { rg: [0, "rg"] }, + { newValue: "newValue" } + ), + (t()(), hi(16777216, null, null, 1, null, EE)), + Ba(11, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), + bi( + 12, + 0, + null, + null, + 10, + "div", + [["class", "box"]], + null, + null, + null, + null, + null + )), + (t()(), + bi(13, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["C"])), + (t()(), + bi(15, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["M"])), + (t()(), + bi(17, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["Y"])), + (t()(), + bi(19, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["K"])), + (t()(), hi(16777216, null, null, 1, null, IE)), + Ba(22, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null) + ], + function(t, n) { + var e = n.component; + t(n, 3, 0, 100), + t(n, 5, 0, 100), + t(n, 7, 0, 100), + t(n, 9, 0, 100), + t(n, 11, 0, "disabled" !== e.cpAlphaChannel), + t(n, 22, 0, "disabled" !== e.cpAlphaChannel); + }, + function(t, n) { + var e = n.component; + t(n, 0, 0, 3 !== e.format ? "none" : "block"), + t(n, 2, 0, null == e.cmykText ? null : e.cmykText.c), + t(n, 4, 0, null == e.cmykText ? null : e.cmykText.m), + t(n, 6, 0, null == e.cmykText ? null : e.cmykText.y), + t(n, 8, 0, null == e.cmykText ? null : e.cmykText.k); + } + ); + } + function TE(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "input", + [ + ["max", "1"], + ["min", "0"], + ["pattern", "[0-9]+([\\.,][0-9]{1,2})?"], + ["step", "0.1"], + ["type", "number"] + ], + [[8, "value", 0]], + [[null, "keyup.enter"], [null, "newValue"], [null, "input"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "input" === n && (o = !1 !== wa(t, 1).inputChange(e) && o), + "keyup.enter" === n && (o = !1 !== a.onAcceptColor(e) && o), + "newValue" === n && (o = !1 !== a.onAlphaInput(e) && o), + o + ); + }, + null, + null + )), + Ba( + 1, + 16384, + null, + 0, + DS, + [], + { rg: [0, "rg"] }, + { newValue: "newValue" } + ) + ], + function(t, n) { + t(n, 1, 0, 1); + }, + function(t, n) { + var e = n.component; + t(n, 0, 0, null == e.hslaText ? null : e.hslaText.a); + } + ); + } + function RE(t) { + return Di( + 0, + [ + (t()(), + bi(0, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["A"])) + ], + null, + null + ); + } + function DE(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 18, + "div", + [["class", "hsla-text"]], + [[4, "display", null]], + null, + null, + null, + null + )), + (t()(), + bi( + 1, + 0, + null, + null, + 8, + "div", + [["class", "box"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 2, + 0, + null, + null, + 1, + "input", + [ + ["max", "360"], + ["min", "0"], + ["pattern", "[0-9]*"], + ["type", "number"] + ], + [[8, "value", 0]], + [[null, "keyup.enter"], [null, "newValue"], [null, "input"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "input" === n && (o = !1 !== wa(t, 3).inputChange(e) && o), + "keyup.enter" === n && (o = !1 !== a.onAcceptColor(e) && o), + "newValue" === n && (o = !1 !== a.onHueInput(e) && o), + o + ); + }, + null, + null + )), + Ba( + 3, + 16384, + null, + 0, + DS, + [], + { rg: [0, "rg"] }, + { newValue: "newValue" } + ), + (t()(), + bi( + 4, + 0, + null, + null, + 1, + "input", + [ + ["max", "100"], + ["min", "0"], + ["pattern", "[0-9]*"], + ["type", "number"] + ], + [[8, "value", 0]], + [[null, "keyup.enter"], [null, "newValue"], [null, "input"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "input" === n && (o = !1 !== wa(t, 5).inputChange(e) && o), + "keyup.enter" === n && (o = !1 !== a.onAcceptColor(e) && o), + "newValue" === n && (o = !1 !== a.onSaturationInput(e) && o), + o + ); + }, + null, + null + )), + Ba( + 5, + 16384, + null, + 0, + DS, + [], + { rg: [0, "rg"] }, + { newValue: "newValue" } + ), + (t()(), + bi( + 6, + 0, + null, + null, + 1, + "input", + [ + ["max", "100"], + ["min", "0"], + ["pattern", "[0-9]*"], + ["type", "number"] + ], + [[8, "value", 0]], + [[null, "keyup.enter"], [null, "newValue"], [null, "input"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "input" === n && (o = !1 !== wa(t, 7).inputChange(e) && o), + "keyup.enter" === n && (o = !1 !== a.onAcceptColor(e) && o), + "newValue" === n && (o = !1 !== a.onLightnessInput(e) && o), + o + ); + }, + null, + null + )), + Ba( + 7, + 16384, + null, + 0, + DS, + [], + { rg: [0, "rg"] }, + { newValue: "newValue" } + ), + (t()(), hi(16777216, null, null, 1, null, TE)), + Ba(9, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), + bi( + 10, + 0, + null, + null, + 8, + "div", + [["class", "box"]], + null, + null, + null, + null, + null + )), + (t()(), + bi(11, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["H"])), + (t()(), + bi(13, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["S"])), + (t()(), + bi(15, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["L"])), + (t()(), hi(16777216, null, null, 1, null, RE)), + Ba(18, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null) + ], + function(t, n) { + var e = n.component; + t(n, 3, 0, 360), + t(n, 5, 0, 100), + t(n, 7, 0, 100), + t(n, 9, 0, "disabled" !== e.cpAlphaChannel), + t(n, 18, 0, "disabled" !== e.cpAlphaChannel); + }, + function(t, n) { + var e = n.component; + t(n, 0, 0, 2 !== e.format ? "none" : "block"), + t(n, 2, 0, null == e.hslaText ? null : e.hslaText.h), + t(n, 4, 0, null == e.hslaText ? null : e.hslaText.s), + t(n, 6, 0, null == e.hslaText ? null : e.hslaText.l); + } + ); + } + function NE(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "input", + [ + ["max", "1"], + ["min", "0"], + ["pattern", "[0-9]+([\\.,][0-9]{1,2})?"], + ["step", "0.1"], + ["type", "number"] + ], + [[8, "value", 0]], + [[null, "keyup.enter"], [null, "newValue"], [null, "input"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "input" === n && (o = !1 !== wa(t, 1).inputChange(e) && o), + "keyup.enter" === n && (o = !1 !== a.onAcceptColor(e) && o), + "newValue" === n && (o = !1 !== a.onAlphaInput(e) && o), + o + ); + }, + null, + null + )), + Ba( + 1, + 16384, + null, + 0, + DS, + [], + { rg: [0, "rg"] }, + { newValue: "newValue" } + ) + ], + function(t, n) { + t(n, 1, 0, 1); + }, + function(t, n) { + var e = n.component; + t(n, 0, 0, null == e.rgbaText ? null : e.rgbaText.a); + } + ); + } + function zE(t) { + return Di( + 0, + [ + (t()(), + bi(0, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["A"])) + ], + null, + null + ); + } + function LE(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 18, + "div", + [["class", "rgba-text"]], + [[4, "display", null]], + null, + null, + null, + null + )), + (t()(), + bi( + 1, + 0, + null, + null, + 8, + "div", + [["class", "box"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 2, + 0, + null, + null, + 1, + "input", + [ + ["max", "255"], + ["min", "0"], + ["pattern", "[0-9]*"], + ["type", "number"] + ], + [[8, "value", 0]], + [[null, "keyup.enter"], [null, "newValue"], [null, "input"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "input" === n && (o = !1 !== wa(t, 3).inputChange(e) && o), + "keyup.enter" === n && (o = !1 !== a.onAcceptColor(e) && o), + "newValue" === n && (o = !1 !== a.onRedInput(e) && o), + o + ); + }, + null, + null + )), + Ba( + 3, + 16384, + null, + 0, + DS, + [], + { rg: [0, "rg"] }, + { newValue: "newValue" } + ), + (t()(), + bi( + 4, + 0, + null, + null, + 1, + "input", + [ + ["max", "255"], + ["min", "0"], + ["pattern", "[0-9]*"], + ["type", "number"] + ], + [[8, "value", 0]], + [[null, "keyup.enter"], [null, "newValue"], [null, "input"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "input" === n && (o = !1 !== wa(t, 5).inputChange(e) && o), + "keyup.enter" === n && (o = !1 !== a.onAcceptColor(e) && o), + "newValue" === n && (o = !1 !== a.onGreenInput(e) && o), + o + ); + }, + null, + null + )), + Ba( + 5, + 16384, + null, + 0, + DS, + [], + { rg: [0, "rg"] }, + { newValue: "newValue" } + ), + (t()(), + bi( + 6, + 0, + null, + null, + 1, + "input", + [ + ["max", "255"], + ["min", "0"], + ["pattern", "[0-9]*"], + ["type", "number"] + ], + [[8, "value", 0]], + [[null, "keyup.enter"], [null, "newValue"], [null, "input"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "input" === n && (o = !1 !== wa(t, 7).inputChange(e) && o), + "keyup.enter" === n && (o = !1 !== a.onAcceptColor(e) && o), + "newValue" === n && (o = !1 !== a.onBlueInput(e) && o), + o + ); + }, + null, + null + )), + Ba( + 7, + 16384, + null, + 0, + DS, + [], + { rg: [0, "rg"] }, + { newValue: "newValue" } + ), + (t()(), hi(16777216, null, null, 1, null, NE)), + Ba(9, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), + bi( + 10, + 0, + null, + null, + 8, + "div", + [["class", "box"]], + null, + null, + null, + null, + null + )), + (t()(), + bi(11, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["R"])), + (t()(), + bi(13, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["G"])), + (t()(), + bi(15, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["B"])), + (t()(), hi(16777216, null, null, 1, null, zE)), + Ba(18, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null) + ], + function(t, n) { + var e = n.component; + t(n, 3, 0, 255), + t(n, 5, 0, 255), + t(n, 7, 0, 255), + t(n, 9, 0, "disabled" !== e.cpAlphaChannel), + t(n, 18, 0, "disabled" !== e.cpAlphaChannel); + }, + function(t, n) { + var e = n.component; + t(n, 0, 0, 1 !== e.format ? "none" : "block"), + t(n, 2, 0, null == e.rgbaText ? null : e.rgbaText.r), + t(n, 4, 0, null == e.rgbaText ? null : e.rgbaText.g), + t(n, 6, 0, null == e.rgbaText ? null : e.rgbaText.b); + } + ); + } + function jE(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "input", + [ + ["max", "1"], + ["min", "0"], + ["pattern", "[0-9]+([\\.,][0-9]{1,2})?"], + ["step", "0.1"], + ["type", "number"] + ], + [[8, "value", 0]], + [[null, "keyup.enter"], [null, "newValue"], [null, "input"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "input" === n && (o = !1 !== wa(t, 1).inputChange(e) && o), + "keyup.enter" === n && (o = !1 !== a.onAcceptColor(e) && o), + "newValue" === n && (o = !1 !== a.onAlphaInput(e) && o), + o + ); + }, + null, + null + )), + Ba( + 1, + 16384, + null, + 0, + DS, + [], + { rg: [0, "rg"] }, + { newValue: "newValue" } + ) + ], + function(t, n) { + t(n, 1, 0, 1); + }, + function(t, n) { + t(n, 0, 0, n.component.hexAlpha); + } + ); + } + function FE(t) { + return Di( + 0, + [ + (t()(), + bi(0, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["A"])) + ], + null, + null + ); + } + function BE(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 10, + "div", + [["class", "hex-text"]], + [[2, "hex-alpha", null], [4, "display", null]], + null, + null, + null, + null + )), + (t()(), + bi( + 1, + 0, + null, + null, + 4, + "div", + [["class", "box"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 2, + 0, + null, + null, + 1, + "input", + [], + [[8, "value", 0]], + [ + [null, "blur"], + [null, "keyup.enter"], + [null, "newValue"], + [null, "input"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "input" === n && (o = !1 !== wa(t, 3).inputChange(e) && o), + "blur" === n && (o = !1 !== a.onHexInput(null) && o), + "keyup.enter" === n && (o = !1 !== a.onAcceptColor(e) && o), + "newValue" === n && (o = !1 !== a.onHexInput(e) && o), + o + ); + }, + null, + null + )), + Ba(3, 16384, null, 0, DS, [], null, { newValue: "newValue" }), + (t()(), hi(16777216, null, null, 1, null, jE)), + Ba(5, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), + bi( + 6, + 0, + null, + null, + 4, + "div", + [["class", "box"]], + null, + null, + null, + null, + null + )), + (t()(), + bi(7, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["Hex"])), + (t()(), hi(16777216, null, null, 1, null, FE)), + Ba(10, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null) + ], + function(t, n) { + var e = n.component; + t(n, 5, 0, "forced" === e.cpAlphaChannel), + t(n, 10, 0, "forced" === e.cpAlphaChannel); + }, + function(t, n) { + var e = n.component; + t( + n, + 0, + 0, + "forced" === e.cpAlphaChannel, + 0 !== e.format ? "none" : "block" + ), + t(n, 2, 0, e.hexText); + } + ); + } + function VE(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "input", + [ + ["max", "1"], + ["min", "0"], + ["pattern", "[0-9]+([\\.,][0-9]{1,2})?"], + ["step", "0.1"], + ["type", "number"] + ], + [[8, "value", 0]], + [[null, "keyup.enter"], [null, "newValue"], [null, "input"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "input" === n && (o = !1 !== wa(t, 1).inputChange(e) && o), + "keyup.enter" === n && (o = !1 !== a.onAcceptColor(e) && o), + "newValue" === n && (o = !1 !== a.onAlphaInput(e) && o), + o + ); + }, + null, + null + )), + Ba( + 1, + 16384, + null, + 0, + DS, + [], + { rg: [0, "rg"] }, + { newValue: "newValue" } + ) + ], + function(t, n) { + t(n, 1, 0, 1); + }, + function(t, n) { + var e = n.component; + t(n, 0, 0, null == e.hslaText ? null : e.hslaText.a); + } + ); + } + function HE(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 10, + "div", + [["class", "value-text"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 1, + 0, + null, + null, + 4, + "div", + [["class", "box"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 2, + 0, + null, + null, + 1, + "input", + [ + ["max", "100"], + ["min", "0"], + ["pattern", "[0-9]*"], + ["type", "number"] + ], + [[8, "value", 0]], + [[null, "keyup.enter"], [null, "newValue"], [null, "input"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "input" === n && (o = !1 !== wa(t, 3).inputChange(e) && o), + "keyup.enter" === n && (o = !1 !== a.onAcceptColor(e) && o), + "newValue" === n && (o = !1 !== a.onValueInput(e) && o), + o + ); + }, + null, + null + )), + Ba( + 3, + 16384, + null, + 0, + DS, + [], + { rg: [0, "rg"] }, + { newValue: "newValue" } + ), + (t()(), hi(16777216, null, null, 1, null, VE)), + Ba(5, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), + bi( + 6, + 0, + null, + null, + 4, + "div", + [["class", "box"]], + null, + null, + null, + null, + null + )), + (t()(), + bi(7, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["V"])), + (t()(), + bi(9, 0, null, null, 1, "div", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["A"])) + ], + function(t, n) { + var e = n.component; + t(n, 3, 0, 100), t(n, 5, 0, "disabled" !== e.cpAlphaChannel); + }, + function(t, n) { + var e = n.component; + t(n, 2, 0, null == e.hslaText ? null : e.hslaText.l); + } + ); + } + function UE(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 2, + "div", + [["class", "type-policy"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 1, + 0, + null, + null, + 0, + "span", + [["class", "type-policy-arrow"]], + null, + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && + (o = !1 !== t.component.onFormatToggle(-1) && o), + o + ); + }, + null, + null + )), + (t()(), + bi( + 2, + 0, + null, + null, + 0, + "span", + [["class", "type-policy-arrow"]], + null, + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && + (o = !1 !== t.component.onFormatToggle(1) && o), + o + ); + }, + null, + null + )) + ], + null, + null + ); + } + function qE(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 0, + "span", + [], + [[8, "className", 0]], + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && + (o = + !1 !== + t.component.onRemovePresetColor( + e, + t.parent.context.$implicit + ) && o), + o + ); + }, + null, + null + )) + ], + null, + function(t, n) { + t(n, 0, 0, na(1, "", n.component.cpRemoveColorButtonClass, "")); + } + ); + } + function KE(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 2, + "div", + [["class", "preset-color"]], + [[4, "backgroundColor", null]], + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && + (o = + !1 !== + t.component.setColorFromString(t.context.$implicit) && + o), + o + ); + }, + null, + null + )), + (t()(), hi(16777216, null, null, 1, null, qE)), + Ba(2, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null) + ], + function(t, n) { + t(n, 2, 0, n.component.cpAddColorButton); + }, + function(t, n) { + t(n, 0, 0, n.context.$implicit); + } + ); + } + function YE(t) { + return Di( + 0, + [ + (t()(), + bi(0, 0, null, null, 2, "div", [], null, null, null, null, null)), + (t()(), hi(16777216, null, null, 1, null, KE)), + Ba( + 2, + 278528, + null, + 0, + _s, + [so, io, $e], + { ngForOf: [0, "ngForOf"] }, + null + ) + ], + function(t, n) { + t(n, 2, 0, n.component.cpPresetColors); + }, + null + ); + } + function WE(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "div", + [], + [[8, "className", 0]], + null, + null, + null, + null + )), + (t()(), Ai(1, null, ["", ""])) + ], + null, + function(t, n) { + var e = n.component; + t(n, 0, 0, na(1, "", e.cpPresetEmptyMessageClass, "")), + t(n, 1, 0, e.cpPresetEmptyMessage); + } + ); + } + function GE(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 7, + "div", + [["class", "preset-area"]], + null, + null, + null, + null, + null + )), + (t()(), + bi(1, 0, null, null, 0, "hr", [], null, null, null, null, null)), + (t()(), + bi( + 2, + 0, + null, + null, + 1, + "div", + [["class", "preset-label"]], + null, + null, + null, + null, + null + )), + (t()(), Ai(3, null, ["", ""])), + (t()(), hi(16777216, null, null, 1, null, YE)), + Ba(5, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, null, 1, null, WE)), + Ba(7, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null) + ], + function(t, n) { + var e = n.component; + t( + n, + 5, + 0, + null == e.cpPresetColors ? null : e.cpPresetColors.length + ), + t( + n, + 7, + 0, + !(null != e.cpPresetColors && e.cpPresetColors.length) && + e.cpAddColorButton + ); + }, + function(t, n) { + t(n, 3, 0, n.component.cpPresetLabel); + } + ); + } + function ZE(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "button", + [["type", "button"]], + [[8, "className", 0]], + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && + (o = !1 !== t.component.onCancelColor(e) && o), + o + ); + }, + null, + null + )), + (t()(), Ai(1, null, ["", ""])) + ], + null, + function(t, n) { + var e = n.component; + t(n, 0, 0, na(1, "", e.cpCancelButtonClass, "")), + t(n, 1, 0, e.cpCancelButtonText); + } + ); + } + function QE(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "button", + [["type", "button"]], + [[8, "className", 0]], + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && + (o = !1 !== t.component.onAcceptColor(e) && o), + o + ); + }, + null, + null + )), + (t()(), Ai(1, null, ["", ""])) + ], + null, + function(t, n) { + var e = n.component; + t(n, 0, 0, na(1, "", e.cpOKButtonClass, "")), + t(n, 1, 0, e.cpOKButtonText); + } + ); + } + function XE(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 4, + "div", + [["class", "button-area"]], + null, + null, + null, + null, + null + )), + (t()(), hi(16777216, null, null, 1, null, ZE)), + Ba(2, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, null, 1, null, QE)), + Ba(4, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null) + ], + function(t, n) { + var e = n.component; + t(n, 2, 0, e.cpCancelButton), t(n, 4, 0, e.cpOKButton); + }, + null + ); + } + function JE(t) { + return Di( + 0, + [ + Oi(402653184, 1, { dialogElement: 0 }), + Oi(402653184, 2, { hueSlider: 0 }), + Oi(402653184, 3, { alphaSlider: 0 }), + (t()(), + bi( + 3, + 0, + [[1, 0], ["dialogPopup", 1]], + null, + 38, + "div", + [["class", "color-picker"]], + [ + [2, "open", null], + [4, "display", null], + [4, "visiblity", null], + [4, "top", "px"], + [4, "left", "px"], + [4, "position", null], + [4, "height", "px"], + [4, "width", "px"] + ], + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && (o = !1 !== e.stopPropagation() && o), o + ); + }, + null, + null + )), + (t()(), hi(16777216, null, null, 1, null, xE)), + Ba(5, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, null, 1, null, kE)), + Ba(7, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), + bi( + 8, + 0, + null, + null, + 17, + "div", + [["class", "hue-alpha box"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 9, + 0, + null, + null, + 4, + "div", + [["class", "left"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 10, + 0, + null, + null, + 0, + "div", + [["class", "selected-color-background"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 11, + 0, + null, + null, + 0, + "div", + [["class", "selected-color"]], + [[4, "background-color", null]], + null, + null, + null, + null + )), + (t()(), hi(16777216, null, null, 1, null, wE)), + Ba(13, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), + bi( + 14, + 0, + null, + null, + 11, + "div", + [["class", "right"]], + null, + null, + null, + null, + null + )), + (t()(), hi(16777216, null, null, 1, null, SE)), + Ba(16, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), + bi( + 17, + 0, + [[2, 0], ["hueSlider", 1]], + null, + 2, + "div", + [["class", "hue"]], + [[4, "display", null]], + [ + [null, "newValue"], + [null, "dragStart"], + [null, "dragEnd"], + [null, "mousedown"], + [null, "touchstart"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "mousedown" === n && (o = !1 !== wa(t, 18).mouseDown(e) && o), + "touchstart" === n && + (o = !1 !== wa(t, 18).touchStart(e) && o), + "newValue" === n && (o = !1 !== a.onHueChange(e) && o), + "dragStart" === n && (o = !1 !== a.onDragStart("hue") && o), + "dragEnd" === n && (o = !1 !== a.onDragEnd("hue") && o), + o + ); + }, + null, + null + )), + Ba( + 18, + 16384, + null, + 0, + NS, + [Ne], + { rgX: [0, "rgX"] }, + { + dragEnd: "dragEnd", + dragStart: "dragStart", + newValue: "newValue" + } + ), + (t()(), + bi( + 19, + 0, + null, + null, + 0, + "div", + [["class", "cursor"]], + [[4, "left", "px"]], + null, + null, + null, + null + )), + (t()(), + bi( + 20, + 0, + [["valueSlider", 1]], + null, + 2, + "div", + [["class", "value"]], + [[4, "display", null]], + [ + [null, "newValue"], + [null, "dragStart"], + [null, "dragEnd"], + [null, "mousedown"], + [null, "touchstart"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "mousedown" === n && (o = !1 !== wa(t, 21).mouseDown(e) && o), + "touchstart" === n && + (o = !1 !== wa(t, 21).touchStart(e) && o), + "newValue" === n && (o = !1 !== a.onValueChange(e) && o), + "dragStart" === n && (o = !1 !== a.onDragStart("value") && o), + "dragEnd" === n && (o = !1 !== a.onDragEnd("value") && o), + o + ); + }, + null, + null + )), + Ba( + 21, + 16384, + null, + 0, + NS, + [Ne], + { rgX: [0, "rgX"] }, + { + dragEnd: "dragEnd", + dragStart: "dragStart", + newValue: "newValue" + } + ), + (t()(), + bi( + 22, + 0, + null, + null, + 0, + "div", + [["class", "cursor"]], + [[4, "right", "px"]], + null, + null, + null, + null + )), + (t()(), + bi( + 23, + 0, + [[3, 0], ["alphaSlider", 1]], + null, + 2, + "div", + [["class", "alpha"]], + [[4, "display", null], [4, "background-color", null]], + [ + [null, "newValue"], + [null, "dragStart"], + [null, "dragEnd"], + [null, "mousedown"], + [null, "touchstart"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "mousedown" === n && (o = !1 !== wa(t, 24).mouseDown(e) && o), + "touchstart" === n && + (o = !1 !== wa(t, 24).touchStart(e) && o), + "newValue" === n && (o = !1 !== a.onAlphaChange(e) && o), + "dragStart" === n && (o = !1 !== a.onDragStart("alpha") && o), + "dragEnd" === n && (o = !1 !== a.onDragEnd("alpha") && o), + o + ); + }, + null, + null + )), + Ba( + 24, + 16384, + null, + 0, + NS, + [Ne], + { rgX: [0, "rgX"] }, + { + dragEnd: "dragEnd", + dragStart: "dragStart", + newValue: "newValue" + } + ), + (t()(), + bi( + 25, + 0, + null, + null, + 0, + "div", + [["class", "cursor"]], + [[4, "left", "px"]], + null, + null, + null, + null + )), + (t()(), hi(16777216, null, null, 1, null, AE)), + Ba(27, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, null, 1, null, DE)), + Ba(29, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, null, 1, null, LE)), + Ba(31, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, null, 1, null, BE)), + Ba(33, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, null, 1, null, HE)), + Ba(35, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, null, 1, null, UE)), + Ba(37, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, null, 1, null, GE)), + Ba(39, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, null, 1, null, XE)), + Ba(41, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null) + ], + function(t, n) { + var e = n.component; + t(n, 5, 0, "popup" == e.cpDialogDisplay), + t(n, 7, 0, 1 === (e.cpColorMode || 1)), + t(n, 13, 0, e.cpAddColorButton), + t(n, 16, 0, "disabled" === e.cpAlphaChannel), + t(n, 18, 0, 1), + t(n, 21, 0, 1), + t(n, 24, 0, 1), + t(n, 27, 0, !e.cpDisableInput && 1 === (e.cpColorMode || 1)), + t(n, 29, 0, !e.cpDisableInput && 1 === (e.cpColorMode || 1)), + t(n, 31, 0, !e.cpDisableInput && 1 === (e.cpColorMode || 1)), + t(n, 33, 0, !e.cpDisableInput && 1 === (e.cpColorMode || 1)), + t(n, 35, 0, !e.cpDisableInput && 2 === (e.cpColorMode || 1)), + t(n, 37, 0, !e.cpDisableInput && 1 === (e.cpColorMode || 1)), + t( + n, + 39, + 0, + (null == e.cpPresetColors ? null : e.cpPresetColors.length) || + e.cpAddColorButton + ), + t(n, 41, 0, e.cpOKButton || e.cpCancelButton); + }, + function(t, n) { + var e = n.component; + t( + n, + 3, + 0, + e.show, + e.show ? "block" : "none", + e.show ? "visible" : "hidden", + e.top, + e.left, + e.position, + e.cpHeight, + e.cpWidth + ), + t(n, 11, 0, e.selectedColor), + t(n, 17, 0, 1 === (e.cpColorMode || 1) ? "block" : "none"), + t(n, 19, 0, null == e.slider ? null : e.slider.h), + t(n, 20, 0, 2 === (e.cpColorMode || 1) ? "block" : "none"), + t(n, 22, 0, null == e.slider ? null : e.slider.v), + t( + n, + 23, + 0, + "disabled" === e.cpAlphaChannel ? "none" : "block", + e.alphaSliderColor + ), + t(n, 25, 0, null == e.slider ? null : e.slider.a); + } + ); + } + function $E(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "color-picker", + [], + null, + [["document", "keyup.esc"], ["document", "keyup.enter"]], + function(t, n, e) { + var o = !0; + return ( + "document:keyup.esc" === n && + (o = !1 !== wa(t, 1).handleEsc(e) && o), + "document:keyup.enter" === n && + (o = !1 !== wa(t, 1).handleEnter(e) && o), + o + ); + }, + JE, + ME + )), + Ba(1, 4440064, null, 0, FS, [Ne, no, jS], null, null) + ], + function(t, n) { + t(n, 1, 0); + }, + null + ); + } + var tI = ha("color-picker", FS, $E, {}, {}, []), + nI = So({ + encapsulation: 0, + styles: [ + [ + ".transparent[_ngcontent-%COMP%] .mat-dialog-container[_ngcontent-%COMP%]{box-shadow:none;background:rgba(0,0,0,0)}.message-viewport[_ngcontent-%COMP%]{height:130px;width:400px;border:1px solid #000}.message-item[_ngcontent-%COMP%]{height:20px;font-size:10px}" + ] + ], + data: {} + }); + function eI(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "div", + [["class", "message-item"]], + null, + null, + null, + null, + null + )), + (t()(), Ai(1, null, ["", ""])) + ], + null, + function(t, n) { + t(n, 1, 0, n.context.$implicit); + } + ); + } + function oI(t) { + return Di( + 2, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 13, + "div", + [["layout", "row"], ["layout-align", "center"]], + null, + null, + null, + null, + null + )), + (t()(), + bi(1, 0, null, null, 2, "div", [], null, null, null, null, null)), + (t()(), + bi( + 2, + 0, + null, + null, + 1, + "mat-spinner", + [ + ["class", "mat-spinner mat-progress-spinner"], + ["mode", "indeterminate"], + ["role", "progressbar"], + ["style", "margin:0 auto;"] + ], + [ + [2, "_mat-animation-noopable", null], + [4, "width", "px"], + [4, "height", "px"] + ], + null, + null, + $k, + Qk + )), + Ba( + 3, + 49152, + null, + 0, + qk, + [Ne, ff, [2, Ds], [2, Py], Hk], + null, + null + ), + (t()(), + bi( + 4, + 0, + null, + null, + 1, + "p", + [["align", "center"]], + null, + null, + null, + null, + null + )), + (t()(), Ai(5, null, ["", ""])), + (t()(), + bi( + 6, + 0, + null, + null, + 7, + "cdk-virtual-scroll-viewport", + [ + ["class", "message-viewport cdk-virtual-scroll-viewport"], + ["itemSize", "10"] + ], + [ + [2, "cdk-virtual-scroll-orientation-horizontal", null], + [2, "cdk-virtual-scroll-orientation-vertical", null] + ], + null, + null, + CM, + yM + )), + Ha(6144, null, PC, null, [xC]), + Ba(8, 540672, null, 0, vC, [], { itemSize: [0, "itemSize"] }, null), + Ha(1024, null, _C, CC, [vC]), + Ba( + 10, + 245760, + null, + 0, + xC, + [Ne, no, Dr, [2, _C], [2, rf], OC], + null, + null + ), + Ba(11, 212992, null, 0, vM, [[4, xC]], null, null), + (t()(), hi(16777216, null, 0, 1, null, eI)), + Ba( + 13, + 409600, + null, + 0, + wC, + [so, io, $e, [1, xC], Dr], + { cdkVirtualForOf: [0, "cdkVirtualForOf"] }, + null + ) + ], + function(t, n) { + var e = n.component; + t(n, 8, 0, "10"), + t(n, 10, 0), + t(n, 11, 0), + t(n, 13, 0, e.messages.slice().reverse()); + }, + function(t, n) { + var e = n.component; + t( + n, + 2, + 0, + wa(n, 3)._noopAnimations, + wa(n, 3).diameter, + wa(n, 3).diameter + ), + t(n, 5, 0, e.mainText), + t( + n, + 6, + 0, + "horizontal" === wa(n, 10).orientation, + "horizontal" !== wa(n, 10).orientation + ); + } + ); + } + function aI(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "app-progress-spinner-dialog", + [], + null, + null, + null, + oI, + nI + )), + Ba(1, 114688, null, 0, Ig, [lv, sv, pg, no, Eg], null, null) + ], + function(t, n) { + t(n, 1, 0); + }, + null + ); + } + var rI = ha("app-progress-spinner-dialog", Ig, aI, {}, {}, []), + iI = So({ + encapsulation: 0, + styles: [ + [ + ".coverContainer[_ngcontent-%COMP%]{width:150px;height:150px;display:inline-block}.coverPlaceholder[_ngcontent-%COMP%]{color:gray;font-size:12px}.cover[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;top:0;left:0;background-size:100% 100%}.deleteButton[_ngcontent-%COMP%]{margin-right:0;margin-left:310px;margin-top:-20px}" + ] + ], + data: {} + }); + function lI(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 3, + "button", + [ + ["class", "deleteButton"], + ["color", "warn"], + ["fast-click", ""], + ["mat-raised-button", ""] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && (o = !1 !== t.component.clickDelete() && o), + o + ); + }, + ky, + xy + )), + Ba( + 1, + 180224, + null, + 0, + Zh, + [Ne, Gf, [2, Py]], + { color: [0, "color"] }, + null + ), + Ba(2, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, 0, ["Delete"])) + ], + function(t, n) { + t(n, 1, 0, "warn"); + }, + function(t, n) { + t( + n, + 0, + 0, + wa(n, 1).disabled || null, + "NoopAnimations" === wa(n, 1)._animationMode + ); + } + ); + } + function sI(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 44, + "mat-card", + [["class", "setup-card mat-card"]], + null, + null, + null, + Mh, + Ph + )), + Ba(1, 49152, null, 0, nf, [], null, null), + (t()(), + bi( + 2, + 0, + null, + 0, + 29, + "mat-card-header", + [["class", "mat-card-header"]], + null, + null, + null, + kh, + xh + )), + Ba(3, 49152, null, 0, ef, [], null, null), + (t()(), + bi( + 4, + 0, + [["file", 1]], + 2, + 0, + "input", + [["accept", "image/*"], ["hidden", ""], ["type", "file"]], + null, + [[null, "change"]], + function(t, n, e) { + var o = !0; + return ( + "change" === n && + (o = !1 !== t.component.loadCover(wa(t, 4).files) && o), + o + ); + }, + null, + null + )), + (t()(), + bi( + 5, + 0, + null, + 2, + 5, + "button", + [ + ["class", "coverContainer"], + ["fast-click", ""], + ["mat-raised-button", ""] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "click" === n && + (o = + !1 !== + (a.onQuest() ? a.questClick() : wa(t, 4).click()) && o), + o + ); + }, + ky, + xy + )), + Ba(6, 180224, null, 0, Zh, [Ne, Gf, [2, Py]], null, null), + Ba(7, 16384, null, 0, wy, [Ne], null, null), + (t()(), + bi( + 8, + 0, + null, + 0, + 1, + "div", + [["class", "coverPlaceholder"]], + null, + null, + null, + null, + null + )), + (t()(), Ai(-1, null, ["Choose Cover Image"])), + (t()(), + bi( + 10, + 0, + null, + 0, + 0, + "img", + [["class", "cover"]], + [[4, "background-image", null]], + null, + null, + null, + null + )), + (t()(), + bi( + 11, + 0, + null, + 1, + 20, + "mat-card-title", + [["class", "mat-card-title"]], + null, + null, + null, + null, + null + )), + Ba(12, 16384, null, 0, Xg, [], null, null), + (t()(), + bi( + 13, + 0, + null, + null, + 18, + "mat-form-field", + [["class", "mat-form-field"]], + [ + [2, "mat-form-field-appearance-standard", null], + [2, "mat-form-field-appearance-fill", null], + [2, "mat-form-field-appearance-outline", null], + [2, "mat-form-field-appearance-legacy", null], + [2, "mat-form-field-invalid", null], + [2, "mat-form-field-can-float", null], + [2, "mat-form-field-should-float", null], + [2, "mat-form-field-has-label", null], + [2, "mat-form-field-hide-placeholder", null], + [2, "mat-form-field-disabled", null], + [2, "mat-form-field-autofilled", null], + [2, "mat-focused", null], + [2, "mat-accent", null], + [2, "mat-warn", null], + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null], + [2, "_mat-animation-noopable", null] + ], + null, + null, + Fw, + ww + )), + Ba( + 14, + 7520256, + null, + 9, + xw, + [Ne, no, [2, Oh], [2, rf], [2, Mw], ff, Dr, [2, Py]], + null, + null + ), + Oi(603979776, 1, { _controlNonStatic: 0 }), + Oi(335544320, 2, { _controlStatic: 0 }), + Oi(603979776, 3, { _labelChildNonStatic: 0 }), + Oi(335544320, 4, { _labelChildStatic: 0 }), + Oi(603979776, 5, { _placeholderChild: 0 }), + Oi(603979776, 6, { _errorChildren: 1 }), + Oi(603979776, 7, { _hintChildren: 1 }), + Oi(603979776, 8, { _prefixChildren: 1 }), + Oi(603979776, 9, { _suffixChildren: 1 }), + (t()(), + bi( + 24, + 0, + null, + 1, + 7, + "input", + [ + ["class", "mat-input-element mat-form-field-autofill-control"], + ["matInput", ""], + ["placeholder", "Playlist Name"] + ], + [ + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null], + [2, "mat-input-server", null], + [1, "id", 0], + [1, "placeholder", 0], + [8, "disabled", 0], + [8, "required", 0], + [1, "readonly", 0], + [1, "aria-describedby", 0], + [1, "aria-invalid", 0], + [1, "aria-required", 0] + ], + [ + [null, "ngModelChange"], + [null, "input"], + [null, "blur"], + [null, "compositionstart"], + [null, "compositionend"], + [null, "focus"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "input" === n && + (o = !1 !== wa(t, 25)._handleInput(e.target.value) && o), + "blur" === n && (o = !1 !== wa(t, 25).onTouched() && o), + "compositionstart" === n && + (o = !1 !== wa(t, 25)._compositionStart() && o), + "compositionend" === n && + (o = !1 !== wa(t, 25)._compositionEnd(e.target.value) && o), + "blur" === n && (o = !1 !== wa(t, 30)._focusChanged(!1) && o), + "focus" === n && + (o = !1 !== wa(t, 30)._focusChanged(!0) && o), + "input" === n && (o = !1 !== wa(t, 30)._onInput() && o), + "ngModelChange" === n && + (o = !1 !== (a.data.playlist.PlaylistName = e) && o), + "input" === n && + (o = + !1 !== a.makeAutoID(a.data.playlist.PlaylistName) && o), + o + ); + }, + null, + null + )), + Ba(25, 16384, null, 0, xM, [Be, Ne, [2, MM]], null, null), + Ha( + 1024, + null, + OM, + function(t) { + return [t]; + }, + [xM] + ), + Ba( + 27, + 671744, + null, + 0, + _x, + [[8, null], [8, null], [8, null], [6, OM]], + { model: [0, "model"] }, + { update: "ngModelChange" } + ), + Ha(2048, null, EM, null, [_x]), + Ba(29, 16384, null, 0, IM, [[4, EM]], null, null), + Ba( + 30, + 999424, + null, + 0, + Kw, + [Ne, ff, [6, EM], [2, px], [2, Cx], ah, [8, null], Vw, Dr], + { placeholder: [0, "placeholder"] }, + null + ), + Ha(2048, [[1, 4], [2, 4]], Cw, null, [Kw]), + (t()(), + bi( + 32, + 0, + null, + 0, + 1, + "mat-card-content", + [["class", "mat-card-content"]], + null, + null, + null, + null, + null + )), + Ba(33, 16384, null, 0, Qg, [], null, null), + (t()(), + bi( + 34, + 0, + null, + 0, + 10, + "mat-card-actions", + [["class", "mat-card-actions"]], + [[2, "mat-card-actions-align-end", null]], + null, + null, + null, + null + )), + Ba(35, 16384, null, 0, $g, [], null, null), + (t()(), + bi( + 36, + 0, + null, + null, + 3, + "button", + [ + ["color", "accent"], + ["fast-click", ""], + ["mat-raised-button", ""] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && (o = !1 !== t.component.clickSave() && o), o + ); + }, + ky, + xy + )), + Ba( + 37, + 180224, + null, + 0, + Zh, + [Ne, Gf, [2, Py]], + { color: [0, "color"] }, + null + ), + Ba(38, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, 0, ["Save"])), + (t()(), + bi( + 40, + 0, + null, + null, + 0, + "div", + [["style", "display: inline-block; width: 50%"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 41, + 0, + null, + null, + 3, + "button", + [["fast-click", ""], ["mat-raised-button", ""]], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && (o = !1 !== t.component.clickCancel() && o), + o + ); + }, + ky, + xy + )), + Ba(42, 180224, null, 0, Zh, [Ne, Gf, [2, Py]], null, null), + Ba(43, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, 0, ["Cancel"])) + ], + function(t, n) { + t(n, 27, 0, n.component.data.playlist.PlaylistName), + t(n, 30, 0, "Playlist Name"), + t(n, 37, 0, "accent"); + }, + function(t, n) { + var e = n.component; + t( + n, + 5, + 0, + wa(n, 6).disabled || null, + "NoopAnimations" === wa(n, 6)._animationMode + ), + t(n, 10, 0, e.getCover()), + t(n, 13, 1, [ + "standard" == wa(n, 14).appearance, + "fill" == wa(n, 14).appearance, + "outline" == wa(n, 14).appearance, + "legacy" == wa(n, 14).appearance, + wa(n, 14)._control.errorState, + wa(n, 14)._canLabelFloat, + wa(n, 14)._shouldLabelFloat(), + wa(n, 14)._hasFloatingLabel(), + wa(n, 14)._hideControlPlaceholder(), + wa(n, 14)._control.disabled, + wa(n, 14)._control.autofilled, + wa(n, 14)._control.focused, + "accent" == wa(n, 14).color, + "warn" == wa(n, 14).color, + wa(n, 14)._shouldForward("untouched"), + wa(n, 14)._shouldForward("touched"), + wa(n, 14)._shouldForward("pristine"), + wa(n, 14)._shouldForward("dirty"), + wa(n, 14)._shouldForward("valid"), + wa(n, 14)._shouldForward("invalid"), + wa(n, 14)._shouldForward("pending"), + !wa(n, 14)._animationsEnabled + ]), + t(n, 24, 1, [ + wa(n, 29).ngClassUntouched, + wa(n, 29).ngClassTouched, + wa(n, 29).ngClassPristine, + wa(n, 29).ngClassDirty, + wa(n, 29).ngClassValid, + wa(n, 29).ngClassInvalid, + wa(n, 29).ngClassPending, + wa(n, 30)._isServer, + wa(n, 30).id, + wa(n, 30).placeholder, + wa(n, 30).disabled, + wa(n, 30).required, + (wa(n, 30).readonly && !wa(n, 30)._isNativeSelect) || null, + wa(n, 30)._ariaDescribedby || null, + wa(n, 30).errorState, + wa(n, 30).required.toString() + ]), + t(n, 34, 0, "end" === wa(n, 35).align), + t( + n, + 36, + 0, + wa(n, 37).disabled || null, + "NoopAnimations" === wa(n, 37)._animationMode + ), + t( + n, + 41, + 0, + wa(n, 42).disabled || null, + "NoopAnimations" === wa(n, 42)._animationMode + ); + } + ); + } + function cI(t) { + return Di( + 0, + [ + (t()(), hi(16777216, null, null, 1, null, lI)), + Ba(1, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, null, 1, null, sI)), + Ba(3, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null) + ], + function(t, n) { + var e = n.component; + t(n, 1, 0, e.data && !e.data.isNew), t(n, 3, 0, e.data); + }, + null + ); + } + function uI(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "app-add-edit-playlist-dialog", + [], + null, + null, + null, + cI, + iI + )), + Ba(1, 114688, null, 0, qx, [Eg, lv, sv, pv], null, null) + ], + function(t, n) { + t(n, 1, 0); + }, + null + ); + } + var dI = ha("app-add-edit-playlist-dialog", qx, uI, {}, {}, []), + pI = So({ encapsulation: 0, styles: [[""]], data: {} }); + function mI(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 20, + "mat-card", + [["class", "mat-card"]], + null, + null, + null, + Mh, + Ph + )), + Ba(1, 49152, null, 0, nf, [], null, null), + (t()(), + bi( + 2, + 0, + null, + 0, + 7, + "mat-card-header", + [["class", "mat-card-header"]], + null, + null, + null, + kh, + xh + )), + Ba(3, 49152, null, 0, ef, [], null, null), + (t()(), + bi( + 4, + 0, + null, + 1, + 2, + "mat-card-title", + [["class", "mat-card-title"]], + null, + null, + null, + null, + null + )), + Ba(5, 16384, null, 0, Xg, [], null, null), + (t()(), Ai(6, null, ["", ""])), + (t()(), + bi( + 7, + 0, + null, + 1, + 2, + "mat-card-subtitle", + [["class", "mat-card-subtitle"]], + null, + null, + null, + null, + null + )), + Ba(8, 16384, null, 0, Jg, [], null, null), + (t()(), Ai(9, null, ["", ""])), + (t()(), + bi( + 10, + 0, + null, + 0, + 10, + "mat-card-actions", + [["class", "mat-card-actions"]], + [[2, "mat-card-actions-align-end", null]], + null, + null, + null, + null + )), + Ba(11, 16384, null, 0, $g, [], null, null), + (t()(), + bi( + 12, + 0, + null, + null, + 3, + "button", + [ + ["color", "accent"], + ["fast-click", ""], + ["mat-raised-button", ""] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && (o = !1 !== t.component.clickButton1() && o), + o + ); + }, + ky, + xy + )), + Ba( + 13, + 180224, + null, + 0, + Zh, + [Ne, Gf, [2, Py]], + { color: [0, "color"] }, + null + ), + Ba(14, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(15, 0, ["", ""])), + (t()(), + bi( + 16, + 0, + null, + null, + 0, + "div", + [["style", "display: inline-block; width: 50%"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 17, + 0, + null, + null, + 3, + "button", + [["fast-click", ""], ["mat-raised-button", ""]], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && (o = !1 !== t.component.clickCancel() && o), + o + ); + }, + ky, + xy + )), + Ba(18, 180224, null, 0, Zh, [Ne, Gf, [2, Py]], null, null), + Ba(19, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(20, 0, ["", ""])) + ], + function(t, n) { + t(n, 13, 0, "accent"); + }, + function(t, n) { + var e = n.component; + t(n, 6, 0, e.data.title), + t(n, 9, 0, e.data.subTitle), + t(n, 10, 0, "end" === wa(n, 11).align), + t( + n, + 12, + 0, + wa(n, 13).disabled || null, + "NoopAnimations" === wa(n, 13)._animationMode + ), + t(n, 15, 0, e.data.button1Text || "OK"), + t( + n, + 17, + 0, + wa(n, 18).disabled || null, + "NoopAnimations" === wa(n, 18)._animationMode + ), + t(n, 20, 0, e.data.button2Text || "Cancel"); + } + ); + } + function gI(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "app-confirm-dialog", + [], + null, + null, + null, + mI, + pI + )), + Ba(1, 114688, null, 0, Xx, [lv, sv], null, null) + ], + function(t, n) { + t(n, 1, 0); + }, + null + ); + } + var fI = ha("app-confirm-dialog", Xx, gI, {}, {}, []), + hI = new Ut("MAT_GRID_LIST"), + bI = (function() { + function t(t, n) { + (this._element = t), + (this._gridList = n), + (this._rowspan = 1), + (this._colspan = 1); + } + return ( + Object.defineProperty(t.prototype, "rowspan", { + get: function() { + return this._rowspan; + }, + set: function(t) { + this._rowspan = Math.round(cf(t)); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "colspan", { + get: function() { + return this._colspan; + }, + set: function(t) { + this._colspan = Math.round(cf(t)); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype._setStyle = function(t, n) { + this._element.nativeElement.style[t] = n; + }), + t + ); + })(), + _I = (function() { + function t() { + (this.columnIndex = 0), (this.rowIndex = 0); + } + return ( + Object.defineProperty(t.prototype, "rowCount", { + get: function() { + return this.rowIndex + 1; + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "rowspan", { + get: function() { + var t = Math.max.apply(Math, this.tracker); + return t > 1 ? this.rowCount + t - 1 : this.rowCount; + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.update = function(t, n) { + var e = this; + (this.columnIndex = 0), + (this.rowIndex = 0), + (this.tracker = new Array(t)), + this.tracker.fill(0, 0, this.tracker.length), + (this.positions = n.map(function(t) { + return e._trackTile(t); + })); + }), + (t.prototype._trackTile = function(t) { + var n = this._findMatchingGap(t.colspan); + return ( + this._markTilePosition(n, t), + (this.columnIndex = n + t.colspan), + new yI(this.rowIndex, n) + ); + }), + (t.prototype._findMatchingGap = function(t) { + if (t > this.tracker.length) + throw Error( + "mat-grid-list: tile with colspan " + + t + + ' is wider than grid with cols="' + + this.tracker.length + + '".' + ); + var n = -1, + e = -1; + do { + this.columnIndex + t > this.tracker.length + ? (this._nextRow(), + (n = this.tracker.indexOf(0, this.columnIndex)), + (e = this._findGapEndIndex(n))) + : -1 != (n = this.tracker.indexOf(0, this.columnIndex)) + ? ((e = this._findGapEndIndex(n)), (this.columnIndex = n + 1)) + : (this._nextRow(), + (n = this.tracker.indexOf(0, this.columnIndex)), + (e = this._findGapEndIndex(n))); + } while (e - n < t || 0 == e); + return Math.max(n, 0); + }), + (t.prototype._nextRow = function() { + (this.columnIndex = 0), this.rowIndex++; + for (var t = 0; t < this.tracker.length; t++) + this.tracker[t] = Math.max(0, this.tracker[t] - 1); + }), + (t.prototype._findGapEndIndex = function(t) { + for (var n = t + 1; n < this.tracker.length; n++) + if (0 != this.tracker[n]) return n; + return this.tracker.length; + }), + (t.prototype._markTilePosition = function(t, n) { + for (var e = 0; e < n.colspan; e++) + this.tracker[t + e] = n.rowspan; + }), + t + ); + })(), + yI = (function() { + return function(t, n) { + (this.row = t), (this.col = n); + }; + })(), + CI = /^-?\d+((\.\d+)?[A-Za-z%$]?)+$/, + vI = (function() { + function t() { + (this._rows = 0), (this._rowspan = 0); + } + return ( + (t.prototype.init = function(t, n, e, o) { + (this._gutterSize = kI(t)), + (this._rows = n.rowCount), + (this._rowspan = n.rowspan), + (this._cols = e), + (this._direction = o); + }), + (t.prototype.getBaseTileSize = function(t, n) { + return "(" + t + "% - (" + this._gutterSize + " * " + n + "))"; + }), + (t.prototype.getTilePosition = function(t, n) { + return 0 === n + ? "0" + : xI("(" + t + " + " + this._gutterSize + ") * " + n); + }), + (t.prototype.getTileSize = function(t, n) { + return ( + "(" + + t + + " * " + + n + + ") + (" + + (n - 1) + + " * " + + this._gutterSize + + ")" + ); + }), + (t.prototype.setStyle = function(t, n, e) { + var o = 100 / this._cols, + a = (this._cols - 1) / this._cols; + this.setColStyles(t, e, o, a), this.setRowStyles(t, n, o, a); + }), + (t.prototype.setColStyles = function(t, n, e, o) { + var a = this.getBaseTileSize(e, o); + t._setStyle( + "rtl" === this._direction ? "right" : "left", + this.getTilePosition(a, n) + ), + t._setStyle("width", xI(this.getTileSize(a, t.colspan))); + }), + (t.prototype.getGutterSpan = function() { + return this._gutterSize + " * (" + this._rowspan + " - 1)"; + }), + (t.prototype.getTileSpan = function(t) { + return this._rowspan + " * " + this.getTileSize(t, 1); + }), + (t.prototype.getComputedHeight = function() { + return null; + }), + t + ); + })(), + OI = (function(t) { + function n(n) { + var e = t.call(this) || this; + return (e.fixedRowHeight = n), e; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.init = function(n, e, o, a) { + if ( + (t.prototype.init.call(this, n, e, o, a), + (this.fixedRowHeight = kI(this.fixedRowHeight)), + !CI.test(this.fixedRowHeight)) + ) + throw Error( + 'Invalid value "' + + this.fixedRowHeight + + '" set as rowHeight.' + ); + }), + (n.prototype.setRowStyles = function(t, n) { + t._setStyle("top", this.getTilePosition(this.fixedRowHeight, n)), + t._setStyle( + "height", + xI(this.getTileSize(this.fixedRowHeight, t.rowspan)) + ); + }), + (n.prototype.getComputedHeight = function() { + return [ + "height", + xI( + this.getTileSpan(this.fixedRowHeight) + + " + " + + this.getGutterSpan() + ) + ]; + }), + (n.prototype.reset = function(t) { + t._setListStyle(["height", null]), + t._tiles && + t._tiles.forEach(function(t) { + t._setStyle("top", null), t._setStyle("height", null); + }); + }), + n + ); + })(vI), + PI = (function(t) { + function n(n) { + var e = t.call(this) || this; + return e._parseRatio(n), e; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.setRowStyles = function(t, n, e, o) { + (this.baseTileHeight = this.getBaseTileSize( + e / this.rowHeightRatio, + o + )), + t._setStyle( + "marginTop", + this.getTilePosition(this.baseTileHeight, n) + ), + t._setStyle( + "paddingTop", + xI(this.getTileSize(this.baseTileHeight, t.rowspan)) + ); + }), + (n.prototype.getComputedHeight = function() { + return [ + "paddingBottom", + xI( + this.getTileSpan(this.baseTileHeight) + + " + " + + this.getGutterSpan() + ) + ]; + }), + (n.prototype.reset = function(t) { + t._setListStyle(["paddingBottom", null]), + t._tiles.forEach(function(t) { + t._setStyle("marginTop", null), + t._setStyle("paddingTop", null); + }); + }), + (n.prototype._parseRatio = function(t) { + var n = t.split(":"); + if (2 !== n.length) + throw Error( + 'mat-grid-list: invalid ratio given for row-height: "' + + t + + '"' + ); + this.rowHeightRatio = parseFloat(n[0]) / parseFloat(n[1]); + }), + n + ); + })(vI), + MI = (function(t) { + function n() { + return (null !== t && t.apply(this, arguments)) || this; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.setRowStyles = function(t, n) { + var e = this.getBaseTileSize( + 100 / this._rowspan, + (this._rows - 1) / this._rows + ); + t._setStyle("top", this.getTilePosition(e, n)), + t._setStyle("height", xI(this.getTileSize(e, t.rowspan))); + }), + (n.prototype.reset = function(t) { + t._tiles && + t._tiles.forEach(function(t) { + t._setStyle("top", null), t._setStyle("height", null); + }); + }), + n + ); + })(vI); + function xI(t) { + return "calc(" + t + ")"; + } + function kI(t) { + return t.match(/([A-Za-z%]+)$/) ? t : t + "px"; + } + var wI = (function() { + function t(t, n) { + (this._element = t), (this._dir = n), (this._gutter = "1px"); + } + return ( + Object.defineProperty(t.prototype, "cols", { + get: function() { + return this._cols; + }, + set: function(t) { + this._cols = Math.max(1, Math.round(cf(t))); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "gutterSize", { + get: function() { + return this._gutter; + }, + set: function(t) { + this._gutter = "" + (null == t ? "" : t); + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(t.prototype, "rowHeight", { + get: function() { + return this._rowHeight; + }, + set: function(t) { + var n = "" + (null == t ? "" : t); + n !== this._rowHeight && + ((this._rowHeight = n), this._setTileStyler(this._rowHeight)); + }, + enumerable: !0, + configurable: !0 + }), + (t.prototype.ngOnInit = function() { + this._checkCols(), this._checkRowHeight(); + }), + (t.prototype.ngAfterContentChecked = function() { + this._layoutTiles(); + }), + (t.prototype._checkCols = function() { + if (!this.cols) + throw Error( + 'mat-grid-list: must pass in number of columns. Example: ' + ); + }), + (t.prototype._checkRowHeight = function() { + this._rowHeight || this._setTileStyler("1:1"); + }), + (t.prototype._setTileStyler = function(t) { + this._tileStyler && this._tileStyler.reset(this), + (this._tileStyler = + "fit" === t + ? new MI() + : t && t.indexOf(":") > -1 + ? new PI(t) + : new OI(t)); + }), + (t.prototype._layoutTiles = function() { + var t = this; + this._tileCoordinator || (this._tileCoordinator = new _I()); + var n = this._tileCoordinator, + e = this._tiles.filter(function(n) { + return !n._gridList || n._gridList === t; + }), + o = this._dir ? this._dir.value : "ltr"; + this._tileCoordinator.update(this.cols, e), + this._tileStyler.init(this.gutterSize, n, this.cols, o), + e.forEach(function(e, o) { + var a = n.positions[o]; + t._tileStyler.setStyle(e, a.row, a.col); + }), + this._setListStyle(this._tileStyler.getComputedHeight()); + }), + (t.prototype._setListStyle = function(t) { + t && (this._element.nativeElement.style[t[0]] = t[1]); + }), + t + ); + })(), + SI = (function() { + return function() {}; + })(), + EI = So({ + encapsulation: 2, + styles: [ + ".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-figure{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}.mat-grid-tile .mat-grid-tile-footer,.mat-grid-tile .mat-grid-tile-header{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-footer>*,.mat-grid-tile .mat-grid-tile-header>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-grid-tile .mat-grid-tile-footer.mat-2-line,.mat-grid-tile .mat-grid-tile-header.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}" + ], + data: {} + }); + function II(t) { + return Di( + 2, + [ + (t()(), + bi(0, 0, null, null, 1, "div", [], null, null, null, null, null)), + wi(null, 0) + ], + null, + null + ); + } + var AI = So({ + encapsulation: 2, + styles: [ + ".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-figure{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}.mat-grid-tile .mat-grid-tile-footer,.mat-grid-tile .mat-grid-tile-header{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-footer>*,.mat-grid-tile .mat-grid-tile-header>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-grid-tile .mat-grid-tile-footer.mat-2-line,.mat-grid-tile .mat-grid-tile-header.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}" + ], + data: {} + }); + function TI(t) { + return Di( + 2, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "figure", + [["class", "mat-figure"]], + null, + null, + null, + null, + null + )), + wi(null, 0) + ], + null, + null + ); + } + var RI = So({ + encapsulation: 0, + styles: [ + [ + ".coverContainer[_ngcontent-%COMP%]{display:inline-block;width:100%;height:100%}.cover[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;top:0;left:0;background-size:100% 100%}.imgcontainer[_ngcontent-%COMP%]{width:425px;height:330px;overflow-y:scroll;overflow-x:hidden}" + ] + ], + data: {} + }); + function DI(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 4, + "mat-grid-tile", + [["class", "mat-grid-tile"]], + null, + null, + null, + TI, + AI + )), + Ba(1, 49152, [[1, 4]], 0, bI, [Ne, [2, hI]], null, null), + (t()(), + bi( + 2, + 0, + null, + 0, + 2, + "button", + [["class", "coverContainer"], ["mat-raised-button", ""]], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && + (o = + !1 !== t.component.pickImage(t.context.$implicit) && o), + o + ); + }, + ky, + xy + )), + Ba(3, 180224, null, 0, Zh, [Ne, Gf, [2, Py]], null, null), + (t()(), + bi( + 4, + 0, + null, + 0, + 0, + "img", + [["class", "cover"]], + [[4, "background-image", null]], + null, + null, + null, + null + )) + ], + null, + function(t, n) { + var e = n.component; + t( + n, + 2, + 0, + wa(n, 3).disabled || null, + "NoopAnimations" === wa(n, 3)._animationMode + ), + t(n, 4, 0, e.getImgUrl(n.context.$implicit)); + } + ); + } + function NI(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 21, + "mat-card", + [["class", "mat-card"]], + null, + null, + null, + Mh, + Ph + )), + Ba(1, 49152, null, 0, nf, [], null, null), + (t()(), + bi( + 2, + 0, + null, + 0, + 4, + "mat-card-header", + [["class", "mat-card-header"]], + null, + null, + null, + kh, + xh + )), + Ba(3, 49152, null, 0, ef, [], null, null), + (t()(), + bi( + 4, + 0, + null, + 1, + 2, + "mat-card-title", + [["class", "mat-card-title"]], + null, + null, + null, + null, + null + )), + Ba(5, 16384, null, 0, Xg, [], null, null), + (t()(), Ai(-1, null, ["Pick an Image"])), + (t()(), + bi( + 7, + 0, + null, + 0, + 8, + "mat-card-content", + [["class", "mat-card-content"]], + null, + null, + null, + null, + null + )), + Ba(8, 16384, null, 0, Qg, [], null, null), + (t()(), + bi( + 9, + 0, + null, + null, + 6, + "div", + [["class", "imgcontainer"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 10, + 0, + null, + null, + 5, + "mat-grid-list", + [ + ["class", "mat-grid-list"], + ["cols", "3"], + ["gutterSize", "10px"], + ["rowHeight", "1:1"] + ], + null, + null, + null, + II, + EI + )), + Ha(6144, null, hI, null, [wI]), + Ba( + 12, + 2211840, + null, + 1, + wI, + [Ne, [2, rf]], + { + cols: [0, "cols"], + gutterSize: [1, "gutterSize"], + rowHeight: [2, "rowHeight"] + }, + null + ), + Oi(603979776, 1, { _tiles: 1 }), + (t()(), hi(16777216, null, 0, 1, null, DI)), + Ba( + 15, + 278528, + null, + 0, + _s, + [so, io, $e], + { ngForOf: [0, "ngForOf"] }, + null + ), + (t()(), + bi( + 16, + 0, + null, + 0, + 5, + "mat-card-actions", + [["class", "mat-card-actions"]], + [[2, "mat-card-actions-align-end", null]], + null, + null, + null, + null + )), + Ba(17, 16384, null, 0, $g, [], null, null), + (t()(), + bi( + 18, + 0, + null, + null, + 3, + "button", + [["fast-click", ""], ["mat-raised-button", ""]], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && (o = !1 !== t.component.clickCancel() && o), + o + ); + }, + ky, + xy + )), + Ba(19, 180224, null, 0, Zh, [Ne, Gf, [2, Py]], null, null), + Ba(20, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, 0, ["Cancel"])) + ], + function(t, n) { + var e = n.component; + t(n, 12, 0, "3", "10px", "1:1"), t(n, 15, 0, e.images); + }, + function(t, n) { + t(n, 16, 0, "end" === wa(n, 17).align), + t( + n, + 18, + 0, + wa(n, 19).disabled || null, + "NoopAnimations" === wa(n, 19)._animationMode + ); + } + ); + } + function zI(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "app-image-picker-dialog", + [], + null, + null, + null, + NI, + RI + )), + Ba(1, 114688, null, 0, Ux, [lv, yc], null, null) + ], + function(t, n) { + t(n, 1, 0); + }, + null + ); + } + var LI = ha("app-image-picker-dialog", Ux, zI, {}, {}, []), + jI = (function() { + function t(t, n) { + (this.document = t), + (this.platformId = n), + (this.documentIsAccessible = Ls(this.platformId)); + } + return ( + (t.prototype.check = function(t) { + return ( + !!this.documentIsAccessible && + ((t = encodeURIComponent(t)), + this.getCookieRegExp(t).test(this.document.cookie)) + ); + }), + (t.prototype.get = function(t) { + if (this.documentIsAccessible && this.check(t)) { + t = encodeURIComponent(t); + var n = this.getCookieRegExp(t).exec(this.document.cookie); + return decodeURIComponent(n[1]); + } + return ""; + }), + (t.prototype.getAll = function() { + if (!this.documentIsAccessible) return {}; + var t = {}, + n = this.document; + if (n.cookie && "" !== n.cookie) + for (var e = n.cookie.split(";"), o = 0; o < e.length; o += 1) { + var a = e[o].split("="); + (a[0] = a[0].replace(/^ /, "")), + (t[decodeURIComponent(a[0])] = decodeURIComponent(a[1])); + } + return t; + }), + (t.prototype.set = function(t, n, e, o, a, r, i) { + if (this.documentIsAccessible) { + var l = + encodeURIComponent(t) + "=" + encodeURIComponent(n) + ";"; + e && + (l += + "number" == typeof e + ? "expires=" + + new Date( + new Date().getTime() + 1e3 * e * 60 * 60 * 24 + ).toUTCString() + + ";" + : "expires=" + e.toUTCString() + ";"), + o && (l += "path=" + o + ";"), + a && (l += "domain=" + a + ";"), + r && (l += "secure;"), + i && (l += "sameSite=" + i + ";"), + (this.document.cookie = l); + } + }), + (t.prototype.delete = function(t, n, e) { + this.documentIsAccessible && + this.set( + t, + "", + new Date("Thu, 01 Jan 1970 00:00:01 GMT"), + n, + e + ); + }), + (t.prototype.deleteAll = function(t, n) { + if (this.documentIsAccessible) { + var e = this.getAll(); + for (var o in e) e.hasOwnProperty(o) && this.delete(o, t, n); + } + }), + (t.prototype.getCookieRegExp = function(t) { + var n = t.replace( + /([\[\]\{\}\(\)\|\=\;\+\?\,\.\*\^\$])/gi, + "\\$1" + ); + return new RegExp( + "(?:^" + n + "|;\\s*" + n + ")=(.*?)(?:;|$)", + "g" + ); + }), + t + ); + })(), + FI = (function() { + function t(t, n, e, o) { + if ( + ((this.dialogRef = t), + (this.data = n), + (this.cookies = e), + (this.appIntegration = o), + (this.historyItems = []), + (this.wasBrowserHidden = !1), + n.key) + ) { + var a = e.get("inputhistory_" + n.key); + this.historyItems = a ? JSON.parse(a) : []; + } + } + return ( + (t.prototype.ngOnInit = function() { + (this.wasBrowserHidden = !1), + this.appIntegration.isBrowserShown && + ((this.wasBrowserHidden = !0), + this.appIntegration.hideBrowser()); + }), + (t.prototype.historyClick = function(t) { + (this.inputText = t), this.clickButton1(); + }), + (t.prototype.clickButton1 = function() { + if (this.inputText) { + if (this.data.key && this.inputText) { + this.historyItems || (this.historyItems = []); + var t = this.historyItems.indexOf(this.inputText); + for ( + t >= 0 && this.historyItems.splice(t, 1), + this.historyItems.unshift(this.inputText); + this.historyItems.length > 5; + + ) + this.historyItems.pop(); + this.cookies.set( + "inputhistory_" + this.data.key, + JSON.stringify(this.historyItems) + ); + } + this.wasBrowserHidden && + ((this.wasBrowserHidden = !1), + this.appIntegration.showBrowser()), + this.dialogRef.close(this.inputText); + } + }), + (t.prototype.clickCancel = function() { + this.wasBrowserHidden && + ((this.wasBrowserHidden = !1), + this.appIntegration.showBrowser()), + this.dialogRef.close(null); + }), + (t.prototype.keyDownFunction = function(t) { + 13 == t.keyCode && this.clickButton1(); + }), + (t.ngInjectableDef = yt({ + factory: function() { + return new t(Tt(lv), Tt(sv), Tt(jI), Tt(Eg)); + }, + token: t, + providedIn: "root" + })), + t + ); + })(), + BI = So({ + encapsulation: 0, + styles: [[".histButton[_ngcontent-%COMP%]{width:100%;height:100%}"]], + data: {} + }); + function VI(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 7, + "mat-list-item", + [["class", "mat-list-item"], ["role", "listitem"]], + [ + [2, "mat-list-item-avatar", null], + [2, "mat-list-item-with-avatar", null] + ], + null, + null, + kS, + xS + )), + Ba(1, 1228800, null, 3, CS, [Ne, no, [2, _S], [2, yS]], null, null), + Oi(603979776, 10, { _lines: 1 }), + Oi(603979776, 11, { _avatar: 0 }), + Oi(603979776, 12, { _icon: 0 }), + (t()(), + bi( + 5, + 0, + null, + 2, + 2, + "button", + [["class", "histButton"], ["mat-button", ""]], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && + (o = + !1 !== t.component.historyClick(t.context.$implicit) && + o), + o + ); + }, + ky, + xy + )), + Ba(6, 180224, null, 0, Zh, [Ne, Gf, [2, Py]], null, null), + (t()(), Ai(7, 0, ["", ""])) + ], + null, + function(t, n) { + t( + n, + 0, + 0, + wa(n, 1)._avatar || wa(n, 1)._icon, + wa(n, 1)._avatar || wa(n, 1)._icon + ), + t( + n, + 5, + 0, + wa(n, 6).disabled || null, + "NoopAnimations" === wa(n, 6)._animationMode + ), + t(n, 7, 0, n.context.$implicit); + } + ); + } + function HI(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 45, + "mat-card", + [["class", "mat-card"]], + null, + null, + null, + Mh, + Ph + )), + Ba(1, 49152, null, 0, nf, [], null, null), + (t()(), + bi( + 2, + 0, + null, + 0, + 7, + "mat-card-header", + [["class", "mat-card-header"]], + null, + null, + null, + kh, + xh + )), + Ba(3, 49152, null, 0, ef, [], null, null), + (t()(), + bi( + 4, + 0, + null, + 1, + 2, + "mat-card-title", + [["class", "mat-card-title"]], + null, + null, + null, + null, + null + )), + Ba(5, 16384, null, 0, Xg, [], null, null), + (t()(), Ai(6, null, ["", ""])), + (t()(), + bi( + 7, + 0, + null, + 1, + 2, + "mat-card-subtitle", + [["class", "mat-card-subtitle"]], + null, + null, + null, + null, + null + )), + Ba(8, 16384, null, 0, Jg, [], null, null), + (t()(), Ai(9, null, ["", ""])), + (t()(), + bi( + 10, + 0, + null, + 0, + 24, + "mat-card-content", + [["class", "mat-card-content"]], + null, + null, + null, + null, + null + )), + Ba(11, 16384, null, 0, Qg, [], null, null), + (t()(), + bi( + 12, + 0, + null, + null, + 18, + "mat-form-field", + [["class", "inputText mat-form-field"]], + [ + [2, "mat-form-field-appearance-standard", null], + [2, "mat-form-field-appearance-fill", null], + [2, "mat-form-field-appearance-outline", null], + [2, "mat-form-field-appearance-legacy", null], + [2, "mat-form-field-invalid", null], + [2, "mat-form-field-can-float", null], + [2, "mat-form-field-should-float", null], + [2, "mat-form-field-has-label", null], + [2, "mat-form-field-hide-placeholder", null], + [2, "mat-form-field-disabled", null], + [2, "mat-form-field-autofilled", null], + [2, "mat-focused", null], + [2, "mat-accent", null], + [2, "mat-warn", null], + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null], + [2, "_mat-animation-noopable", null] + ], + null, + null, + Fw, + ww + )), + Ba( + 13, + 7520256, + null, + 9, + xw, + [Ne, no, [2, Oh], [2, rf], [2, Mw], ff, Dr, [2, Py]], + null, + null + ), + Oi(603979776, 1, { _controlNonStatic: 0 }), + Oi(335544320, 2, { _controlStatic: 0 }), + Oi(603979776, 3, { _labelChildNonStatic: 0 }), + Oi(335544320, 4, { _labelChildStatic: 0 }), + Oi(603979776, 5, { _placeholderChild: 0 }), + Oi(603979776, 6, { _errorChildren: 1 }), + Oi(603979776, 7, { _hintChildren: 1 }), + Oi(603979776, 8, { _prefixChildren: 1 }), + Oi(603979776, 9, { _suffixChildren: 1 }), + (t()(), + bi( + 23, + 0, + null, + 1, + 7, + "input", + [ + ["class", "mat-input-element mat-form-field-autofill-control"], + ["matInput", ""], + ["type", "url"] + ], + [ + [2, "ng-untouched", null], + [2, "ng-touched", null], + [2, "ng-pristine", null], + [2, "ng-dirty", null], + [2, "ng-valid", null], + [2, "ng-invalid", null], + [2, "ng-pending", null], + [2, "mat-input-server", null], + [1, "id", 0], + [1, "placeholder", 0], + [8, "disabled", 0], + [8, "required", 0], + [1, "readonly", 0], + [1, "aria-describedby", 0], + [1, "aria-invalid", 0], + [1, "aria-required", 0] + ], + [ + [null, "keydown"], + [null, "ngModelChange"], + [null, "input"], + [null, "blur"], + [null, "compositionstart"], + [null, "compositionend"], + [null, "focus"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "input" === n && + (o = !1 !== wa(t, 24)._handleInput(e.target.value) && o), + "blur" === n && (o = !1 !== wa(t, 24).onTouched() && o), + "compositionstart" === n && + (o = !1 !== wa(t, 24)._compositionStart() && o), + "compositionend" === n && + (o = !1 !== wa(t, 24)._compositionEnd(e.target.value) && o), + "blur" === n && (o = !1 !== wa(t, 29)._focusChanged(!1) && o), + "focus" === n && + (o = !1 !== wa(t, 29)._focusChanged(!0) && o), + "input" === n && (o = !1 !== wa(t, 29)._onInput() && o), + "keydown" === n && (o = !1 !== a.keyDownFunction(e) && o), + "ngModelChange" === n && (o = !1 !== (a.inputText = e) && o), + o + ); + }, + null, + null + )), + Ba(24, 16384, null, 0, xM, [Be, Ne, [2, MM]], null, null), + Ha( + 1024, + null, + OM, + function(t) { + return [t]; + }, + [xM] + ), + Ba( + 26, + 671744, + null, + 0, + _x, + [[8, null], [8, null], [8, null], [6, OM]], + { model: [0, "model"] }, + { update: "ngModelChange" } + ), + Ha(2048, null, EM, null, [_x]), + Ba(28, 16384, null, 0, IM, [[4, EM]], null, null), + Ba( + 29, + 999424, + null, + 0, + Kw, + [Ne, ff, [6, EM], [2, px], [2, Cx], ah, [8, null], Vw, Dr], + { placeholder: [0, "placeholder"], type: [1, "type"] }, + null + ), + Ha(2048, [[1, 4], [2, 4]], Cw, null, [Kw]), + (t()(), + bi( + 31, + 0, + null, + null, + 3, + "mat-list", + [ + ["class", "historyList mat-list mat-list-base"], + ["role", "list"] + ], + null, + null, + null, + MS, + PS + )), + Ba(32, 704512, null, 0, yS, [Ne], null, null), + (t()(), hi(16777216, null, 0, 1, null, VI)), + Ba( + 34, + 278528, + null, + 0, + _s, + [so, io, $e], + { ngForOf: [0, "ngForOf"] }, + null + ), + (t()(), + bi( + 35, + 0, + null, + 0, + 10, + "mat-card-actions", + [["class", "mat-card-actions"]], + [[2, "mat-card-actions-align-end", null]], + null, + null, + null, + null + )), + Ba(36, 16384, null, 0, $g, [], null, null), + (t()(), + bi( + 37, + 0, + null, + null, + 3, + "button", + [ + ["color", "accent"], + ["fast-click", ""], + ["mat-raised-button", ""] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && (o = !1 !== t.component.clickButton1() && o), + o + ); + }, + ky, + xy + )), + Ba( + 38, + 180224, + null, + 0, + Zh, + [Ne, Gf, [2, Py]], + { color: [0, "color"] }, + null + ), + Ba(39, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(40, 0, ["", ""])), + (t()(), + bi( + 41, + 0, + null, + null, + 0, + "div", + [["style", "display: inline-block; width: 50%"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 42, + 0, + null, + null, + 3, + "button", + [["fast-click", ""], ["mat-raised-button", ""]], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && (o = !1 !== t.component.clickCancel() && o), + o + ); + }, + ky, + xy + )), + Ba(43, 180224, null, 0, Zh, [Ne, Gf, [2, Py]], null, null), + Ba(44, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(45, 0, ["", ""])) + ], + function(t, n) { + var e = n.component; + t(n, 26, 0, e.inputText), + t(n, 29, 0, na(1, "", e.data.label, ""), "url"), + t(n, 34, 0, e.historyItems), + t(n, 38, 0, "accent"); + }, + function(t, n) { + var e = n.component; + t(n, 6, 0, e.data.title), + t(n, 9, 0, e.data.subTitle), + t(n, 12, 1, [ + "standard" == wa(n, 13).appearance, + "fill" == wa(n, 13).appearance, + "outline" == wa(n, 13).appearance, + "legacy" == wa(n, 13).appearance, + wa(n, 13)._control.errorState, + wa(n, 13)._canLabelFloat, + wa(n, 13)._shouldLabelFloat(), + wa(n, 13)._hasFloatingLabel(), + wa(n, 13)._hideControlPlaceholder(), + wa(n, 13)._control.disabled, + wa(n, 13)._control.autofilled, + wa(n, 13)._control.focused, + "accent" == wa(n, 13).color, + "warn" == wa(n, 13).color, + wa(n, 13)._shouldForward("untouched"), + wa(n, 13)._shouldForward("touched"), + wa(n, 13)._shouldForward("pristine"), + wa(n, 13)._shouldForward("dirty"), + wa(n, 13)._shouldForward("valid"), + wa(n, 13)._shouldForward("invalid"), + wa(n, 13)._shouldForward("pending"), + !wa(n, 13)._animationsEnabled + ]), + t(n, 23, 1, [ + wa(n, 28).ngClassUntouched, + wa(n, 28).ngClassTouched, + wa(n, 28).ngClassPristine, + wa(n, 28).ngClassDirty, + wa(n, 28).ngClassValid, + wa(n, 28).ngClassInvalid, + wa(n, 28).ngClassPending, + wa(n, 29)._isServer, + wa(n, 29).id, + wa(n, 29).placeholder, + wa(n, 29).disabled, + wa(n, 29).required, + (wa(n, 29).readonly && !wa(n, 29)._isNativeSelect) || null, + wa(n, 29)._ariaDescribedby || null, + wa(n, 29).errorState, + wa(n, 29).required.toString() + ]), + t(n, 35, 0, "end" === wa(n, 36).align), + t( + n, + 37, + 0, + wa(n, 38).disabled || null, + "NoopAnimations" === wa(n, 38)._animationMode + ), + t(n, 40, 0, e.data.button1Text || "OK"), + t( + n, + 42, + 0, + wa(n, 43).disabled || null, + "NoopAnimations" === wa(n, 43)._animationMode + ), + t(n, 45, 0, e.data.button2Text || "Cancel"); + } + ); + } + function UI(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "app-input-box", + [], + null, + null, + null, + HI, + BI + )), + Ba(1, 114688, null, 0, FI, [lv, sv, jI, Eg], null, null) + ], + function(t, n) { + t(n, 1, 0); + }, + null + ); + } + var qI = ha("app-input-box", FI, UI, {}, {}, []), + KI = (function() { + function t(t) { + (this.dialog = t), + (this.browserLinks = [ + { title: "Beast Saber", url: "https://bsaber.com" }, + { title: "Beat Saver", url: "https://beatsaver.com" }, + { title: "Google", url: "https://google.com" }, + { + title: "Mods", + url: "https://github.com/RedBrumbler/BeatOnCustomSabers" + } + ]), + (this.linkSelected = new ar()); + } + return ( + (t.prototype.clickLink = function(t) { + this.linkSelected.emit(t.url); + }), + (t.prototype.clickUrl = function() { + var t = this; + this.dialog + .open(FI, { + width: "600px", + height: "450px", + disableClose: !0, + data: { label: "URL", key: "browserUrl" } + }) + .afterClosed() + .subscribe(function(n) { + null != n && + (n.indexOf("://") < 1 && (n = "http://" + n), + t.linkSelected.emit(n)); + }); + }), + (t.prototype.ngOnInit = function() {}), + t + ); + })(), + YI = So({ + encapsulation: 0, + styles: [ + [ + ".linkbutton[_ngcontent-%COMP%]{max-height:35px;height:35px;display:inline-block}" + ] + ], + data: {} + }); + function WI(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 4, + "button", + [ + ["class", "linkbutton"], + ["fast-click", ""], + ["mat-raised-button", ""] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && + (o = + !1 !== t.component.clickLink(t.context.$implicit) && o), + o + ); + }, + ky, + xy + )), + Ba(1, 180224, null, 0, Zh, [Ne, Gf, [2, Py]], null, null), + Ba(2, 16384, null, 0, wy, [Ne], null, null), + (t()(), + bi( + 3, + 0, + null, + 0, + 1, + "div", + [["class", "title"]], + null, + null, + null, + null, + null + )), + (t()(), Ai(4, null, ["", ""])) + ], + null, + function(t, n) { + t( + n, + 0, + 0, + wa(n, 1).disabled || null, + "NoopAnimations" === wa(n, 1)._animationMode + ), + t(n, 4, 0, n.context.$implicit.title); + } + ); + } + function GI(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 16777216, + null, + null, + 9, + "button", + [ + ["aria-haspopup", "true"], + ["fast-click", ""], + ["mat-button", ""], + ["mat-stroked-button", ""] + ], + [ + [1, "disabled", 0], + [2, "_mat-animation-noopable", null], + [1, "aria-expanded", 0] + ], + [[null, "mousedown"], [null, "keydown"], [null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "mousedown" === n && + (o = !1 !== wa(t, 2)._handleMousedown(e) && o), + "keydown" === n && + (o = !1 !== wa(t, 2)._handleKeydown(e) && o), + "click" === n && (o = !1 !== wa(t, 2)._handleClick(e) && o), + o + ); + }, + ky, + xy + )), + Ba(1, 180224, null, 0, Zh, [Ne, Gf, [2, Py]], null, null), + Ba( + 2, + 1196032, + null, + 0, + nM, + [$C, Ne, so, JP, [2, QP], [8, null], [2, rf], Gf], + { menu: [0, "menu"] }, + null + ), + Ba(3, 16384, null, 0, wy, [Ne], null, null), + (t()(), + bi( + 4, + 0, + null, + 0, + 2, + "mat-icon", + [["class", "mat-icon notranslate"], ["role", "img"]], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + Yh, + Kh + )), + Ba( + 5, + 9158656, + null, + 0, + Uh, + [Ne, Nh, [8, null], [2, Fh]], + null, + null + ), + (t()(), Ai(-1, 0, ["public"])), + (t()(), + bi( + 7, + 0, + null, + 0, + 2, + "mat-icon", + [["class", "mat-icon notranslate"], ["role", "img"]], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + Yh, + Kh + )), + Ba( + 8, + 9158656, + null, + 0, + Uh, + [Ne, Nh, [8, null], [2, Fh]], + null, + null + ), + (t()(), Ai(-1, 0, ["expand_more"])), + (t()(), + bi( + 10, + 0, + null, + null, + 14, + "mat-menu", + [], + null, + null, + null, + iM, + aM + )), + Ba( + 11, + 1294336, + [["menu", 4]], + 2, + XP, + [Ne, Dr, ZP], + { panelClass: [0, "panelClass"] }, + null + ), + Oi(603979776, 1, { items: 1 }), + Oi(603979776, 2, { lazyContent: 0 }), + Ha(2048, null, QP, null, [XP]), + Ha(2048, null, WP, null, [QP]), + (t()(), + bi( + 16, + 0, + null, + 0, + 8, + "div", + [["class", "mat-menu-item"], ["mat-menu-item", ""]], + [ + [1, "role", 0], + [2, "mat-menu-item-highlighted", null], + [2, "mat-menu-item-submenu-trigger", null], + [1, "tabindex", 0], + [1, "aria-disabled", 0], + [1, "disabled", 0] + ], + [[null, "click"], [null, "mouseenter"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && + (o = !1 !== wa(t, 17)._checkDisabled(e) && o), + "mouseenter" === n && + (o = !1 !== wa(t, 17)._handleMouseEnter() && o), + o + ); + }, + sM, + lM + )), + Ba(17, 180224, [[1, 4]], 0, GP, [Ne, Ds, Gf, [2, WP]], null, null), + (t()(), + bi( + 18, + 0, + null, + 0, + 4, + "button", + [ + ["class", "linkbutton"], + ["fast-click", ""], + ["mat-raised-button", ""] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && (o = !1 !== t.component.clickUrl() && o), o + ); + }, + ky, + xy + )), + Ba(19, 180224, null, 0, Zh, [Ne, Gf, [2, Py]], null, null), + Ba(20, 16384, null, 0, wy, [Ne], null, null), + (t()(), + bi( + 21, + 0, + null, + 0, + 1, + "div", + [["class", "title"]], + null, + null, + null, + null, + null + )), + (t()(), Ai(-1, null, ["URL.."])), + (t()(), hi(16777216, null, 0, 1, null, WI)), + Ba( + 24, + 278528, + null, + 0, + _s, + [so, io, $e], + { ngForOf: [0, "ngForOf"] }, + null + ) + ], + function(t, n) { + var e = n.component; + t(n, 2, 0, wa(n, 11)), + t(n, 5, 0), + t(n, 8, 0), + t(n, 11, 0, "browserNavMenu"), + t(n, 24, 0, e.browserLinks); + }, + function(t, n) { + t( + n, + 0, + 0, + wa(n, 1).disabled || null, + "NoopAnimations" === wa(n, 1)._animationMode, + wa(n, 2).menuOpen || null + ), + t( + n, + 4, + 0, + wa(n, 5).inline, + "primary" !== wa(n, 5).color && + "accent" !== wa(n, 5).color && + "warn" !== wa(n, 5).color + ), + t( + n, + 7, + 0, + wa(n, 8).inline, + "primary" !== wa(n, 8).color && + "accent" !== wa(n, 8).color && + "warn" !== wa(n, 8).color + ), + t( + n, + 16, + 0, + wa(n, 17).role, + wa(n, 17)._highlighted, + wa(n, 17)._triggersSubmenu, + wa(n, 17)._getTabIndex(), + wa(n, 17).disabled.toString(), + wa(n, 17).disabled || null + ), + t( + n, + 18, + 0, + wa(n, 19).disabled || null, + "NoopAnimations" === wa(n, 19)._animationMode + ); + } + ); + } + var ZI = (function(t) { + function n() { + var n = (null !== t && t.apply(this, arguments)) || this; + return (n.Type = zx.StopDownloads), n; + } + return o.__extends(n, t), n; + })(Nx), + QI = (function() { + function t(t) { + (this.msgSvc = t), (this.downloads = { Downloads: [] }); + } + return ( + (t.prototype.ngOnInit = function() { + var t = this; + this.msgSvc.downloadStatusMessage.subscribe(function(n) { + console.log("got download update status message"), + (t.downloads = n); + }); + }), + (t.prototype.getColor = function() { + return this.downloads.Downloads && + this.downloads.Downloads.length > 0 + ? "accent" + : ""; + }), + (t.prototype.cancelAllDownloads = function() { + var t = new ZI(); + this.msgSvc.sendClientMessage(t); + }), + t + ); + })(), + XI = So({ + encapsulation: 0, + styles: [ + [ + '@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28121em) scale(.75);transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}@-webkit-keyframes cdk-text-field-autofill-start{}@-webkit-keyframes cdk-text-field-autofill-end{}.mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-option[_ngcontent-%COMP%]{color:#fff}.mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple):not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:focus:not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:hover:not(.mat-option-disabled){background:rgba(255,255,255,.04)}.mat-option.mat-active[_ngcontent-%COMP%]{background:rgba(255,255,255,.04);color:#fff}.mat-option.mat-option-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-primary[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ad2c2c}.mat-accent[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#216bad}.mat-warn[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ff5722}.mat-optgroup-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-optgroup-disabled[_ngcontent-%COMP%] .mat-optgroup-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-pseudo-checkbox[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-pseudo-checkbox[_ngcontent-%COMP%]::after{color:#303030}.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{color:#686868}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%], .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#216bad}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ad2c2c}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ff5722}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{background:#686868}.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-app-background[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-theme-loaded-marker[_ngcontent-%COMP%]{display:none}.mat-autocomplete-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-autocomplete-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover){background:#424242}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#fff}@media (-ms-high-contrast:active){.mat-badge-content[_ngcontent-%COMP%]{outline:solid 1px;border-radius:0}.mat-checkbox-disabled[_ngcontent-%COMP%]{opacity:.5}}.mat-badge-accent[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-badge-warn[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ff5722}.mat-badge[_ngcontent-%COMP%]{position:relative}.mat-badge-hidden[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{display:none}.mat-badge-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#6e6e6e;color:rgba(255,255,255,.5)}.mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ad2c2c;position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out;-webkit-transform:scale(.6);transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;font-weight:600;font-size:12px;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-badge-content._mat-animation-noopable[_ngcontent-%COMP%], .ng-animate-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{transition:none}.mat-badge-content.mat-badge-active[_ngcontent-%COMP%]{-webkit-transform:none;transform:none}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:16px;height:16px;line-height:16px;font-size:9px}.mat-badge-small.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-8px}.mat-badge-small.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-8px}.mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-16px}.mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-8px}.mat-badge-medium[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-11px}.mat-badge-medium.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-11px}.mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-22px}.mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-11px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:28px;height:28px;line-height:28px;font-size:24px}.mat-badge-large.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-14px}.mat-badge-large.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-14px}.mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-28px}.mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-14px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{color:inherit;background:0 0}.mat-button.mat-primary[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-button[disabled][disabled][_ngcontent-%COMP%], .mat-icon-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-icon-button[disabled][disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-stroked-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ff5722}.mat-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:transparent}.mat-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{opacity:.1;background-color:currentColor}.mat-button-focus-overlay[_ngcontent-%COMP%]{background:#fff}.mat-stroked-button[_ngcontent-%COMP%]:not([disabled]){border-color:rgba(255,255,255,.12)}.mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%]{color:#fff;background-color:#424242}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{color:#fff}.mat-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-fab[disabled][disabled][_ngcontent-%COMP%], .mat-flat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-flat-button[disabled][disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-mini-fab[disabled][disabled][_ngcontent-%COMP%], .mat-raised-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-raised-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:rgba(255,255,255,.12)}.mat-fab.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-flat-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-stroked-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-raised-button[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-button-toggle-group[_ngcontent-%COMP%], .mat-button-toggle-standalone[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%], .mat-button-toggle-standalone.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{box-shadow:none;border:1px solid rgba(255,255,255,.12)}.mat-button-toggle[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-button-toggle[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff;background:#424242}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:#fff}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12)}[dir=rtl][_ngcontent-%COMP%] .mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:none;border-top:1px solid rgba(255,255,255,.12)}.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#212121;color:rgba(255,255,255,.7)}.mat-button-toggle-checked.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff}.mat-button-toggle-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:#000}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{background:#424242}.mat-button-toggle-disabled.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#424242}.mat-card[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-card[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-card.mat-card-flat[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-card-subtitle[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-checkbox-frame[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-checkbox-checkmark[_ngcontent-%COMP%]{fill:#303030}.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#303030!important}@media (-ms-high-contrast:black-on-white){.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#000!important}}.mat-checkbox-mixedmark[_ngcontent-%COMP%]{background-color:#303030}.mat-checkbox-checked.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-checkbox-checked.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#216bad}.mat-checkbox-checked.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ff5722}.mat-checkbox-disabled.mat-checkbox-checked[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-disabled.mat-checkbox-indeterminate[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%]:not(.mat-checkbox-checked) .mat-checkbox-frame[_ngcontent-%COMP%]{border-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}@media (-ms-high-contrast:active){.mat-checkbox-background[_ngcontent-%COMP%]{background:0 0}.mat-ripple-element[_ngcontent-%COMP%]{display:none}}.mat-checkbox[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%]{background:#ad2c2c}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%]{background:#216bad}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%]{background:#ff5722}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]{background-color:#616161;color:#fff}.mat-chip.mat-standard-chip[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled) .mat-chip-remove[_ngcontent-%COMP%]:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled[_ngcontent-%COMP%]{opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]::after{background:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-table[_ngcontent-%COMP%]{background:#424242}.mat-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%], .mat-table-sticky[_ngcontent-%COMP%], [mat-footer-row][_ngcontent-%COMP%], [mat-header-row][_ngcontent-%COMP%], [mat-row][_ngcontent-%COMP%], mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%]{background:inherit}mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%], td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{border-bottom-color:rgba(255,255,255,.12)}.mat-header-cell[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{color:#fff}.mat-calendar-arrow[_ngcontent-%COMP%]{border-top-color:#fff}.mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-next-button[_ngcontent-%COMP%], .mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-previous-button[_ngcontent-%COMP%], .mat-datepicker-toggle[_ngcontent-%COMP%]{color:#fff}.mat-calendar-table-header[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-calendar-table-header-divider[_ngcontent-%COMP%]::after{background:rgba(255,255,255,.12)}.mat-calendar-body-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-calendar-body-cell-content[_ngcontent-%COMP%]{color:#fff;border-color:transparent}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){color:rgba(255,255,255,.5)}.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .cdk-program-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .mat-calendar-body-cell[_ngcontent-%COMP%]:not(.mat-calendar-body-disabled):hover > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){background-color:rgba(255,255,255,.04)}.mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.5)}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.3)}.mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.4)}.mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#424242;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.4)}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.4)}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content-touch[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-datepicker-toggle-active[_ngcontent-%COMP%]{color:#ad2c2c}.mat-datepicker-toggle-active.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-datepicker-toggle-active.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-dialog-container[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-divider[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-divider-vertical[_ngcontent-%COMP%]{border-right-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-expansion-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-action-row[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-keyboard-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-program-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]):hover{background:rgba(255,255,255,.04)}@media (hover:none){.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header[_ngcontent-%COMP%]:hover{background:#424242}}.mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:#fff}.mat-expansion-indicator[_ngcontent-%COMP%]::after, .mat-expansion-panel-header-description[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%], .mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:inherit}.mat-form-field-label[_ngcontent-%COMP%], .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-focused[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#fff}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid) .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ad2c2c}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#216bad}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#ff5722}.mat-error[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7);bottom:1.25em}.mat-form-field-appearance-legacy.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7)}.mat-form-field-appearance-standard.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.05)}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:transparent}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#fff}.mat-form-field-appearance-outline.mat-focused[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field-appearance-outline.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-appearance-outline.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.15)}.mat-icon.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-icon.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-icon.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-type-mat-native-select[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:rgba(255,255,255,.7)}.mat-form-field-type-mat-native-select.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-input-element[_ngcontent-%COMP%]:disabled{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]{caret-color:#ad2c2c}.mat-input-element[_ngcontent-%COMP%]::-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-moz-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-webkit-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]{color:rgba(0,0,0,.87)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]:disabled{color:rgba(0,0,0,.38)}.mat-accent[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#216bad}.mat-form-field-invalid[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#ff5722}.mat-form-field-type-mat-native-select.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ff5722}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%], .mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{color:#fff}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-list-item-disabled[_ngcontent-%COMP%]{background-color:#000}.mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover, .mat-list-option[_ngcontent-%COMP%]:focus, .mat-list-option[_ngcontent-%COMP%]:hover, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover{background:rgba(255,255,255,.04)}.mat-menu-panel[_ngcontent-%COMP%]{background:#424242}.mat-menu-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-menu-item[_ngcontent-%COMP%]{background:0 0;color:#fff}.mat-menu-item[disabled][_ngcontent-%COMP%], .mat-menu-item[disabled][_ngcontent-%COMP%]::after{color:rgba(255,255,255,.5)}.mat-menu-item[_ngcontent-%COMP%] .mat-icon-no-color[_ngcontent-%COMP%], .mat-menu-item-submenu-trigger[_ngcontent-%COMP%]::after{color:#fff}.mat-menu-item-highlighted[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-keyboard-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-program-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item[_ngcontent-%COMP%]:hover:not([disabled]){background:rgba(255,255,255,.04)}.mat-paginator[_ngcontent-%COMP%]{background:#424242}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-paginator-decrement[_ngcontent-%COMP%], .mat-paginator-increment[_ngcontent-%COMP%]{border-top:2px solid #fff;border-right:2px solid #fff}.mat-paginator-first[_ngcontent-%COMP%], .mat-paginator-last[_ngcontent-%COMP%]{border-top:2px solid #fff}.mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-decrement[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-first[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-increment[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-last[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-progress-bar-background[_ngcontent-%COMP%]{fill:#e6c0c0}.mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#e6c0c0}.mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ad2c2c}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#216bad}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ff5722}.mat-progress-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ad2c2c}.mat-progress-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#216bad}.mat-progress-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ff5722}.mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ad2c2c}.mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#216bad}.mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#216bad}.mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ff5722}.mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ff5722}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-label-content[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-radio-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-select-value[_ngcontent-%COMP%]{color:#fff}.mat-select-disabled[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%], .mat-select-placeholder[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-select-panel[_ngcontent-%COMP%]{background:#424242}.mat-select-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-select-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple){background:rgba(255,255,255,.12)}.mat-form-field.mat-focused.mat-primary[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#216bad}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-invalid[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-form-field.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-disabled[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-drawer-container[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-drawer[_ngcontent-%COMP%]{background-color:#424242;color:#fff}.mat-drawer.mat-drawer-push[_ngcontent-%COMP%]{background-color:#424242}.mat-drawer[_ngcontent-%COMP%]:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-drawer-side[_ngcontent-%COMP%]{border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%] .mat-drawer-side[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12);border-right:none}[dir=rtl][_ngcontent-%COMP%] .mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-backdrop.mat-drawer-shown[_ngcontent-%COMP%]{background-color:rgba(189,189,189,.6)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.54)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.54)}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.54)}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle[_ngcontent-%COMP%]:not(.mat-checked) .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-slide-toggle-thumb[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#bdbdbd}.mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#216bad}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ff5722}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.2)}.cdk-focused[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%] .mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:#fff}.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing) .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3);background-color:transparent}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-has-ticks[_ngcontent-%COMP%] .mat-slider-wrapper[_ngcontent-%COMP%]::after{border-color:rgba(255,255,255,.7)}.mat-slider-horizontal[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to right,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-slider-vertical[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to bottom,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused[_ngcontent-%COMP%], .mat-step-header.cdk-program-focused[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%]:hover{background-color:rgba(255,255,255,.04)}@media (hover:none){.mat-step-header[_ngcontent-%COMP%]:hover{background:0 0}}.mat-step-header[_ngcontent-%COMP%] .mat-step-label[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-optional[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7);color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-selected[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-edit[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-error[_ngcontent-%COMP%]{background-color:transparent;color:#ff5722}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-active[_ngcontent-%COMP%]{color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-error[_ngcontent-%COMP%]{color:#ff5722}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{background-color:#424242}.mat-stepper-vertical-line[_ngcontent-%COMP%]::before{border-left-color:rgba(255,255,255,.12)}.mat-horizontal-stepper-header[_ngcontent-%COMP%]::after, .mat-horizontal-stepper-header[_ngcontent-%COMP%]::before, .mat-stepper-horizontal-line[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-sort-header-arrow[_ngcontent-%COMP%]{color:#c6c6c6}.mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[_ngcontent-%COMP%]{border-bottom:1px solid rgba(255,255,255,.12)}.mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-nav-bar[_ngcontent-%COMP%]{border-top:1px solid rgba(255,255,255,.12);border-bottom:none}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-tab-group[class*=mat-background-][_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[class*=mat-background-][_ngcontent-%COMP%]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-toolbar[_ngcontent-%COMP%]{background:#212121;color:#fff}.mat-toolbar.mat-primary[_ngcontent-%COMP%]{background:#ad2c2c;color:#fff}.mat-toolbar.mat-accent[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-toolbar.mat-warn[_ngcontent-%COMP%]{background:#ff5722;color:#fff}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:currentColor}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%]{color:inherit}.mat-toolbar[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:currentColor}.mat-tooltip[_ngcontent-%COMP%]{background:rgba(97,97,97,.9)}.mat-tree[_ngcontent-%COMP%]{background:#424242}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{color:#fff}.mat-snack-bar-container[_ngcontent-%COMP%]{color:rgba(0,0,0,.87);background:#fafafa;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 11.62px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 9.38px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,"Helvetica Neue",sans-serif}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,"Helvetica Neue",sans-serif;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34373em) scale(.75);transform:translateY(-1.34373em) scale(.75);width:133.3333533333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34372em) scale(.75);transform:translateY(-1.34372em) scale(.75);width:133.3333633333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00106px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00106px);-ms-transform:translateY(-1.28119em) scale(.75);width:133.3333933333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00107px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00107px);-ms-transform:translateY(-1.28118em) scale(.75);width:133.3334033333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00108px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00108px);-ms-transform:translateY(-1.28117em) scale(.75);width:133.3334133333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28116em) scale(.75);transform:translateY(-1.28116em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28115em) scale(.75);transform:translateY(-1.28115em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28114em) scale(.75);transform:translateY(-1.28114em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59373em) scale(.75);transform:translateY(-.59373em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59372em) scale(.75);transform:translateY(-.59372em) scale(.75);width:133.3333633333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59373em) scale(.75);transform:translateY(-1.59373em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59372em) scale(.75);transform:translateY(-1.59372em) scale(.75);width:133.3333633333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{color:inherit;line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,-webkit-transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1),-webkit-transform 0s cubic-bezier(0,0,.2,1);-webkit-transform:scale(0);transform:scale(0)}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation-name:cdk-text-field-autofill-start;animation-name:cdk-text-field-autofill-start}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation-name:cdk-text-field-autofill-end;animation-name:cdk-text-field-autofill-end}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{height:auto!important;overflow:hidden!important;padding:2px 0!important;box-sizing:content-box!important}.downloadCount[_ngcontent-%COMP%]{display:inline-block;font-size:15px;margin-left:5px;margin-top:3px}mat-icon[_ngcontent-%COMP%]{font-size:24px}.nodownloads[_ngcontent-%COMP%]{font-size:14px;padding:5px;color:#ff5722}' + ] + ], + data: {} + }); + function JI(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "p", + [["class", "nodownloads"], ["color", "primary"]], + null, + null, + null, + null, + null + )), + (t()(), Ai(-1, null, ["No active downloads"])) + ], + null, + null + ); + } + function $I(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 4, + "button", + [ + ["class", "mat-menu-item"], + ["fast-click", ""], + ["mat-menu-item", ""] + ], + [ + [1, "role", 0], + [2, "mat-menu-item-highlighted", null], + [2, "mat-menu-item-submenu-trigger", null], + [1, "tabindex", 0], + [1, "aria-disabled", 0], + [1, "disabled", 0] + ], + [[null, "click"], [null, "mouseenter"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "click" === n && (o = !1 !== wa(t, 1)._checkDisabled(e) && o), + "mouseenter" === n && + (o = !1 !== wa(t, 1)._handleMouseEnter() && o), + "click" === n && (o = !1 !== a.cancelAllDownloads() && o), + o + ); + }, + sM, + lM + )), + Ba(1, 180224, [[1, 4]], 0, GP, [Ne, Ds, Gf, [2, WP]], null, null), + Ba(2, 16384, null, 0, wy, [Ne], null, null), + (t()(), + bi(3, 0, null, 0, 1, "div", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["Cancel All Downloads"])) + ], + null, + function(t, n) { + t( + n, + 0, + 0, + wa(n, 1).role, + wa(n, 1)._highlighted, + wa(n, 1)._triggersSubmenu, + wa(n, 1)._getTabIndex(), + wa(n, 1).disabled.toString(), + wa(n, 1).disabled || null + ); + } + ); + } + function tA(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 16777216, + null, + null, + 8, + "button", + [ + ["aria-haspopup", "true"], + ["fast-click", ""], + ["mat-button", ""], + ["mat-raised-button", ""] + ], + [ + [1, "disabled", 0], + [2, "_mat-animation-noopable", null], + [1, "aria-expanded", 0] + ], + [[null, "mousedown"], [null, "keydown"], [null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "mousedown" === n && + (o = !1 !== wa(t, 2)._handleMousedown(e) && o), + "keydown" === n && + (o = !1 !== wa(t, 2)._handleKeydown(e) && o), + "click" === n && (o = !1 !== wa(t, 2)._handleClick(e) && o), + o + ); + }, + ky, + xy + )), + Ba( + 1, + 180224, + null, + 0, + Zh, + [Ne, Gf, [2, Py]], + { color: [0, "color"] }, + null + ), + Ba( + 2, + 1196032, + null, + 0, + nM, + [$C, Ne, so, JP, [2, QP], [8, null], [2, rf], Gf], + { menu: [0, "menu"] }, + null + ), + Ba(3, 16384, null, 0, wy, [Ne], null, null), + (t()(), + bi( + 4, + 0, + null, + 0, + 2, + "mat-icon", + [["class", "mat-icon notranslate"], ["role", "img"]], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + Yh, + Kh + )), + Ba( + 5, + 9158656, + null, + 0, + Uh, + [Ne, Nh, [8, null], [2, Fh]], + null, + null + ), + (t()(), Ai(-1, 0, ["cloud_download"])), + (t()(), + bi( + 7, + 0, + null, + 0, + 1, + "div", + [["class", "downloadCount"]], + null, + null, + null, + null, + null + )), + (t()(), Ai(8, null, ["", ""])), + (t()(), + bi(9, 0, null, null, 9, "mat-menu", [], null, null, null, iM, aM)), + Ha(6144, null, QP, null, [XP]), + Ha(6144, null, WP, null, [QP]), + Ba(12, 1294336, [["menu", 4]], 2, XP, [Ne, Dr, ZP], null, null), + Oi(603979776, 1, { items: 1 }), + Oi(603979776, 2, { lazyContent: 0 }), + (t()(), hi(16777216, null, 0, 1, null, JI)), + Ba(16, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, 0, 1, null, $I)), + Ba(18, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null) + ], + function(t, n) { + var e = n.component; + t(n, 1, 0, na(1, "", e.getColor(), "")), + t(n, 2, 0, wa(n, 12)), + t(n, 5, 0), + t(n, 12, 0), + t(n, 16, 0, e.downloads.Downloads.length < 1), + t(n, 18, 0, e.downloads.Downloads.length > 0); + }, + function(t, n) { + var e = n.component; + t( + n, + 0, + 0, + wa(n, 1).disabled || null, + "NoopAnimations" === wa(n, 1)._animationMode, + wa(n, 2).menuOpen || null + ), + t( + n, + 4, + 0, + wa(n, 5).inline, + "primary" !== wa(n, 5).color && + "accent" !== wa(n, 5).color && + "warn" !== wa(n, 5).color + ), + t(n, 8, 0, e.downloads.Downloads.length); + } + ); + } + var nA = (function(t) { + function n() { + var n = t.call(this) || this; + return (n.Type = zx.GetOps), n; + } + return o.__extends(n, t), n; + })(Nx), + eA = (function() { + function t(t, n) { + var e = this; + (this.msgSvc = t), + (this.appIntegration = n), + (this.wasBrowserHidden = !1), + (this.ops = { Ops: [] }); + var o = !1; + this.msgSvc.opStatusMessage.subscribe(function(t) { + (e.ops = t), (o = !0); + }), + t.connectionStatusChanged.subscribe(function(t) { + if (t == mg.Connected && !o) { + var n = new nA(); + (n.ClearFailedOps = !1), e.msgSvc.sendClientMessage(n); + } + }); + } + return ( + (t.prototype.menuOpened = function() { + (this.wasBrowserHidden = !1), + this.appIntegration.isBrowserShown && + ((this.wasBrowserHidden = !0), + this.appIntegration.hideBrowser()); + }), + (t.prototype.menuClosed = function() { + this.wasBrowserHidden && + ((this.wasBrowserHidden = !1), + this.appIntegration.showBrowser()); + }), + (t.prototype.getColor = function() { + return this.showError() ? "warn" : ""; + }), + (t.prototype.showCheck = function() { + return this.ops.Ops.length < 1; + }), + (t.prototype.showSpin = function() { + return ( + this.ops.Ops.findIndex(function(t) { + return t.Status != Ag.Failed; + }) > -1 + ); + }), + (t.prototype.showError = function() { + return ( + this.ops.Ops.findIndex(function(t) { + return t.Status == Ag.Failed; + }) > -1 + ); + }), + (t.prototype.opClick = function(t) { + t.Error && alert(t.Error); + }), + (t.prototype.ngOnInit = function() {}), + (t.prototype.clickClearFailedOps = function() { + var t = new nA(); + (t.ClearFailedOps = !0), this.msgSvc.sendClientMessage(t); + }), + t + ); + })(), + oA = So({ + encapsulation: 0, + styles: [ + [ + '@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28121em) scale(.75);transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}@-webkit-keyframes cdk-text-field-autofill-start{}@-webkit-keyframes cdk-text-field-autofill-end{}.mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-option[_ngcontent-%COMP%]{color:#fff}.mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple):not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:focus:not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:hover:not(.mat-option-disabled){background:rgba(255,255,255,.04)}.mat-option.mat-active[_ngcontent-%COMP%]{background:rgba(255,255,255,.04);color:#fff}.mat-option.mat-option-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-primary[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ad2c2c}.mat-accent[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#216bad}.mat-warn[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#ff5722}.mat-optgroup-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-optgroup-disabled[_ngcontent-%COMP%] .mat-optgroup-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-pseudo-checkbox[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-pseudo-checkbox[_ngcontent-%COMP%]::after{color:#303030}.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{color:#686868}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%], .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#216bad}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ad2c2c}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#ff5722}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{background:#686868}.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-app-background[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-theme-loaded-marker[_ngcontent-%COMP%]{display:none}.mat-autocomplete-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-autocomplete-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover){background:#424242}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#fff}@media (-ms-high-contrast:active){.mat-badge-content[_ngcontent-%COMP%]{outline:solid 1px;border-radius:0}.mat-checkbox-disabled[_ngcontent-%COMP%]{opacity:.5}}.mat-badge-accent[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-badge-warn[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ff5722}.mat-badge[_ngcontent-%COMP%]{position:relative}.mat-badge-hidden[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{display:none}.mat-badge-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#6e6e6e;color:rgba(255,255,255,.5)}.mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#ad2c2c;position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out;-webkit-transform:scale(.6);transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;font-weight:600;font-size:12px;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-badge-content._mat-animation-noopable[_ngcontent-%COMP%], .ng-animate-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{transition:none}.mat-badge-content.mat-badge-active[_ngcontent-%COMP%]{-webkit-transform:none;transform:none}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:16px;height:16px;line-height:16px;font-size:9px}.mat-badge-small.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-8px}.mat-badge-small.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-8px}.mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-16px}.mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-8px}.mat-badge-medium[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-11px}.mat-badge-medium.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-11px}.mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-22px}.mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-11px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:28px;height:28px;line-height:28px;font-size:24px}.mat-badge-large.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-14px}.mat-badge-large.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-14px}.mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-28px}.mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-14px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{color:inherit;background:0 0}.mat-button.mat-primary[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-button[disabled][disabled][_ngcontent-%COMP%], .mat-icon-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-icon-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-icon-button[disabled][disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-stroked-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-stroked-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#216bad}.mat-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#ff5722}.mat-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button[disabled][_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:transparent}.mat-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{opacity:.1;background-color:currentColor}.mat-button-focus-overlay[_ngcontent-%COMP%]{background:#fff}.mat-stroked-button[_ngcontent-%COMP%]:not([disabled]){border-color:rgba(255,255,255,.12)}.mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%]{color:#fff;background-color:#424242}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{color:#fff}.mat-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-fab[disabled][disabled][_ngcontent-%COMP%], .mat-flat-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-flat-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-flat-button[disabled][disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-accent[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-primary[disabled][_ngcontent-%COMP%], .mat-mini-fab.mat-warn[disabled][_ngcontent-%COMP%], .mat-mini-fab[disabled][disabled][_ngcontent-%COMP%], .mat-raised-button.mat-accent[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-primary[disabled][_ngcontent-%COMP%], .mat-raised-button.mat-warn[disabled][_ngcontent-%COMP%], .mat-raised-button[disabled][disabled][_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:rgba(255,255,255,.12)}.mat-fab.mat-primary[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-fab.mat-accent[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-fab.mat-warn[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-flat-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-flat-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-stroked-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-raised-button[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-raised-button[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[disabled][_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-button-toggle-group[_ngcontent-%COMP%], .mat-button-toggle-standalone[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%], .mat-button-toggle-standalone.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{box-shadow:none;border:1px solid rgba(255,255,255,.12)}.mat-button-toggle[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-button-toggle[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff;background:#424242}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:#fff}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12)}[dir=rtl][_ngcontent-%COMP%] .mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:none;border-top:1px solid rgba(255,255,255,.12)}.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#212121;color:rgba(255,255,255,.7)}.mat-button-toggle-checked.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#fff}.mat-button-toggle-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.3);background-color:#000}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{background:#424242}.mat-button-toggle-disabled.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#424242}.mat-card[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-card[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-card.mat-card-flat[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-card-subtitle[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-checkbox-frame[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-checkbox-checkmark[_ngcontent-%COMP%]{fill:#303030}.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#303030!important}@media (-ms-high-contrast:black-on-white){.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#000!important}}.mat-checkbox-mixedmark[_ngcontent-%COMP%]{background-color:#303030}.mat-checkbox-checked.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-checkbox-checked.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#216bad}.mat-checkbox-checked.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#ff5722}.mat-checkbox-disabled.mat-checkbox-checked[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-disabled.mat-checkbox-indeterminate[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%]:not(.mat-checkbox-checked) .mat-checkbox-frame[_ngcontent-%COMP%]{border-color:#686868}.mat-checkbox-disabled[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}@media (-ms-high-contrast:active){.mat-checkbox-background[_ngcontent-%COMP%]{background:0 0}.mat-ripple-element[_ngcontent-%COMP%]{display:none}}.mat-checkbox[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%]{background:#ad2c2c}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%]{background:#216bad}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%]{background:#ff5722}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]{background-color:#616161;color:#fff}.mat-chip.mat-standard-chip[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled) .mat-chip-remove[_ngcontent-%COMP%]:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled[_ngcontent-%COMP%]{opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]::after{background:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background:rgba(255,255,255,.1)}.mat-table[_ngcontent-%COMP%]{background:#424242}.mat-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%], .mat-table-sticky[_ngcontent-%COMP%], [mat-footer-row][_ngcontent-%COMP%], [mat-header-row][_ngcontent-%COMP%], [mat-row][_ngcontent-%COMP%], mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%]{background:inherit}mat-footer-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%], td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{border-bottom-color:rgba(255,255,255,.12)}.mat-header-cell[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{color:#fff}.mat-calendar-arrow[_ngcontent-%COMP%]{border-top-color:#fff}.mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-next-button[_ngcontent-%COMP%], .mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-previous-button[_ngcontent-%COMP%], .mat-datepicker-toggle[_ngcontent-%COMP%]{color:#fff}.mat-calendar-table-header[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-calendar-table-header-divider[_ngcontent-%COMP%]::after{background:rgba(255,255,255,.12)}.mat-calendar-body-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-calendar-body-cell-content[_ngcontent-%COMP%]{color:#fff;border-color:transparent}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){color:rgba(255,255,255,.5)}.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .cdk-program-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected), .mat-calendar-body-cell[_ngcontent-%COMP%]:not(.mat-calendar-body-disabled):hover > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){background-color:rgba(255,255,255,.04)}.mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.5)}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.3)}.mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.4)}.mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#424242;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#216bad;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.4)}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#ff5722;color:#fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.4)}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content-touch[_ngcontent-%COMP%]{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-datepicker-toggle-active[_ngcontent-%COMP%]{color:#ad2c2c}.mat-datepicker-toggle-active.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-datepicker-toggle-active.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-dialog-container[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-divider[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-divider-vertical[_ngcontent-%COMP%]{border-right-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]{background:#424242;color:#fff}.mat-expansion-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-action-row[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-keyboard-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]).cdk-program-focused, .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:not([aria-disabled=true]):hover{background:rgba(255,255,255,.04)}@media (hover:none){.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header[_ngcontent-%COMP%]:hover{background:#424242}}.mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:#fff}.mat-expansion-indicator[_ngcontent-%COMP%]::after, .mat-expansion-panel-header-description[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%], .mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:inherit}.mat-form-field-label[_ngcontent-%COMP%], .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-focused[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#fff}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#216bad}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-warn[_ngcontent-%COMP%]{background-color:#ff5722}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid) .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ad2c2c}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#216bad}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#ff5722}.mat-error[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-hint[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7);bottom:1.25em}.mat-form-field-appearance-legacy.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7)}.mat-form-field-appearance-standard.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.1)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.05)}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]::before{background-color:transparent}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.3)}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#fff}.mat-form-field-appearance-outline.mat-focused[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field-appearance-outline.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#216bad}.mat-form-field-appearance-outline.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:rgba(255,255,255,.15)}.mat-icon.mat-primary[_ngcontent-%COMP%]{color:#ad2c2c}.mat-icon.mat-accent[_ngcontent-%COMP%]{color:#216bad}.mat-icon.mat-warn[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field-type-mat-native-select[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:rgba(255,255,255,.7)}.mat-form-field-type-mat-native-select.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after, .mat-input-element[_ngcontent-%COMP%]:disabled{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]{caret-color:#ad2c2c}.mat-input-element[_ngcontent-%COMP%]::-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-moz-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]::-webkit-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]{color:rgba(0,0,0,.87)}.mat-input-element[_ngcontent-%COMP%] option[_ngcontent-%COMP%]:disabled{color:rgba(0,0,0,.38)}.mat-accent[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#216bad}.mat-form-field-invalid[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#ff5722}.mat-form-field-type-mat-native-select.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]::after{color:#ff5722}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%], .mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{color:#fff}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-list-item-disabled[_ngcontent-%COMP%]{background-color:#000}.mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover, .mat-list-option[_ngcontent-%COMP%]:focus, .mat-list-option[_ngcontent-%COMP%]:hover, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover{background:rgba(255,255,255,.04)}.mat-menu-panel[_ngcontent-%COMP%]{background:#424242}.mat-menu-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-menu-item[_ngcontent-%COMP%]{background:0 0;color:#fff}.mat-menu-item[disabled][_ngcontent-%COMP%], .mat-menu-item[disabled][_ngcontent-%COMP%]::after{color:rgba(255,255,255,.5)}.mat-menu-item[_ngcontent-%COMP%] .mat-icon-no-color[_ngcontent-%COMP%], .mat-menu-item-submenu-trigger[_ngcontent-%COMP%]::after{color:#fff}.mat-menu-item-highlighted[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-keyboard-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-program-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item[_ngcontent-%COMP%]:hover:not([disabled]){background:rgba(255,255,255,.04)}.mat-paginator[_ngcontent-%COMP%]{background:#424242}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-paginator-decrement[_ngcontent-%COMP%], .mat-paginator-increment[_ngcontent-%COMP%]{border-top:2px solid #fff;border-right:2px solid #fff}.mat-paginator-first[_ngcontent-%COMP%], .mat-paginator-last[_ngcontent-%COMP%]{border-top:2px solid #fff}.mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-decrement[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-first[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-increment[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-last[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-progress-bar-background[_ngcontent-%COMP%]{fill:#e6c0c0}.mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#e6c0c0}.mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ad2c2c}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#0b3c83}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#216bad}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#ffccbc}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]::after{background-color:#ff5722}.mat-progress-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ad2c2c}.mat-progress-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#216bad}.mat-progress-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ff5722}.mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.7)}.mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ad2c2c}.mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#216bad}.mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#216bad}.mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#ff5722}.mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#ff5722}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-label-content[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-radio-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-select-value[_ngcontent-%COMP%]{color:#fff}.mat-select-disabled[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%], .mat-select-placeholder[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-select-panel[_ngcontent-%COMP%]{background:#424242}.mat-select-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-select-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple){background:rgba(255,255,255,.12)}.mat-form-field.mat-focused.mat-primary[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ad2c2c}.mat-form-field.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#216bad}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-invalid[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-form-field.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#ff5722}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-disabled[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-drawer-container[_ngcontent-%COMP%]{background-color:#303030;color:#fff}.mat-drawer[_ngcontent-%COMP%]{background-color:#424242;color:#fff}.mat-drawer.mat-drawer-push[_ngcontent-%COMP%]{background-color:#424242}.mat-drawer[_ngcontent-%COMP%]:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-drawer-side[_ngcontent-%COMP%]{border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%] .mat-drawer-side[_ngcontent-%COMP%]{border-left:1px solid rgba(255,255,255,.12);border-right:none}[dir=rtl][_ngcontent-%COMP%] .mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%]{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-backdrop.mat-drawer-shown[_ngcontent-%COMP%]{background-color:rgba(189,189,189,.6)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.54)}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#216bad}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(173,44,44,.54)}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,87,34,.54)}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ff5722}.mat-slide-toggle[_ngcontent-%COMP%]:not(.mat-checked) .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff}.mat-slide-toggle-thumb[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#bdbdbd}.mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}.mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#216bad}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%]{background-color:#ff5722}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(33,107,173,.2)}.cdk-focused[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%] .mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:#fff}.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing) .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3);background-color:transparent}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.3)}.mat-slider-has-ticks[_ngcontent-%COMP%] .mat-slider-wrapper[_ngcontent-%COMP%]::after{border-color:rgba(255,255,255,.7)}.mat-slider-horizontal[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to right,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-slider-vertical[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to bottom,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused[_ngcontent-%COMP%], .mat-step-header.cdk-program-focused[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%]:hover{background-color:rgba(255,255,255,.04)}@media (hover:none){.mat-step-header[_ngcontent-%COMP%]:hover{background:0 0}}.mat-step-header[_ngcontent-%COMP%] .mat-step-label[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-optional[_ngcontent-%COMP%]{color:rgba(255,255,255,.7)}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.7);color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-selected[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-edit[_ngcontent-%COMP%]{background-color:#ad2c2c;color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-error[_ngcontent-%COMP%]{background-color:transparent;color:#ff5722}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-active[_ngcontent-%COMP%]{color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-error[_ngcontent-%COMP%]{color:#ff5722}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{background-color:#424242}.mat-stepper-vertical-line[_ngcontent-%COMP%]::before{border-left-color:rgba(255,255,255,.12)}.mat-horizontal-stepper-header[_ngcontent-%COMP%]::after, .mat-horizontal-stepper-header[_ngcontent-%COMP%]::before, .mat-stepper-horizontal-line[_ngcontent-%COMP%]{border-top-color:rgba(255,255,255,.12)}.mat-sort-header-arrow[_ngcontent-%COMP%]{color:#c6c6c6}.mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[_ngcontent-%COMP%]{border-bottom:1px solid rgba(255,255,255,.12)}.mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-nav-bar[_ngcontent-%COMP%]{border-top:1px solid rgba(255,255,255,.12);border-bottom:none}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.5)}.mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.5)}.mat-tab-group[class*=mat-background-][_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[class*=mat-background-][_ngcontent-%COMP%]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary.mat-background-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent.mat-background-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn.mat-background-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ad2c2c}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#216bad}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{background-color:#ff5722}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.12)}.mat-toolbar[_ngcontent-%COMP%]{background:#212121;color:#fff}.mat-toolbar.mat-primary[_ngcontent-%COMP%]{background:#ad2c2c;color:#fff}.mat-toolbar.mat-accent[_ngcontent-%COMP%]{background:#216bad;color:#fff}.mat-toolbar.mat-warn[_ngcontent-%COMP%]{background:#ff5722;color:#fff}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:currentColor}.mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%]{color:inherit}.mat-toolbar[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:currentColor}.mat-tooltip[_ngcontent-%COMP%]{background:rgba(97,97,97,.9)}.mat-tree[_ngcontent-%COMP%]{background:#424242}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{color:#fff}.mat-snack-bar-container[_ngcontent-%COMP%]{color:rgba(0,0,0,.87);background:#fafafa;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 11.62px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 9.38px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,"Helvetica Neue",sans-serif}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,"Helvetica Neue",sans-serif;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34373em) scale(.75);transform:translateY(-1.34373em) scale(.75);width:133.3333533333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.34372em) scale(.75);transform:translateY(-1.34372em) scale(.75);width:133.3333633333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00106px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00106px);-ms-transform:translateY(-1.28119em) scale(.75);width:133.3333933333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00107px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00107px);-ms-transform:translateY(-1.28118em) scale(.75);width:133.3334033333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00108px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00108px);-ms-transform:translateY(-1.28117em) scale(.75);width:133.3334133333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28116em) scale(.75);transform:translateY(-1.28116em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28115em) scale(.75);transform:translateY(-1.28115em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.28114em) scale(.75);transform:translateY(-1.28114em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59373em) scale(.75);transform:translateY(-.59373em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-.59372em) scale(.75);transform:translateY(-.59372em) scale(.75);width:133.3333633333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59373em) scale(.75);transform:translateY(-1.59373em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-webkit-transform:translateY(-1.59372em) scale(.75);transform:translateY(-1.59372em) scale(.75);width:133.3333633333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{color:inherit;line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,-webkit-transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1),-webkit-transform 0s cubic-bezier(0,0,.2,1);-webkit-transform:scale(0);transform:scale(0)}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation-name:cdk-text-field-autofill-start;animation-name:cdk-text-field-autofill-start}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation-name:cdk-text-field-autofill-end;animation-name:cdk-text-field-autofill-end}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{height:auto!important;overflow:hidden!important;padding:2px 0!important;box-sizing:content-box!important}.opsCount[_ngcontent-%COMP%]{display:inline-block;font-size:15px;margin-left:5px;margin-top:3px}mat-icon[_ngcontent-%COMP%]{font-size:24px}.noops[_ngcontent-%COMP%]{font-size:14px;padding:5px;color:#ff5722}.opDesc[_ngcontent-%COMP%]{display:inline-block;min-width:100px}.opStatus[_ngcontent-%COMP%]{display:inline-block;min-width:50px;padding-right:3px}.clearFailed[_ngcontent-%COMP%]{margin-left:8px}.opId[_ngcontent-%COMP%]{display:inline-block;min-width:20px;margin-right:4px}.opContainer[_ngcontent-%COMP%]{font-size:12px}.check[_ngcontent-%COMP%]{position:absolute;color:green;top:-3px;left:24px;font-size:24px;text-shadow:-1px 0 #000,0 1px #000,1px 0 #000,0 -1px #000}.sync[_ngcontent-%COMP%]{position:absolute;color:#fff;top:3px;left:0;font-size:32px;padding:0;width:32px;height:32px}.exclamation[_ngcontent-%COMP%]{position:absolute;color:red;top:0;left:22px;font-size:24px;text-shadow:-1px 0 #000,0 1px #000,1px 0 #000,0 -1px #000}.iconContainer[_ngcontent-%COMP%]{width:24px;display:inline-block}.spinny[_ngcontent-%COMP%]{-webkit-animation:1.5s linear infinite spin;animation:1.5s linear infinite spin;-webkit-transform-origin:center center;transform-origin:center center}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{0%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}100%{-webkit-transform:rotate(0);transform:rotate(0)}}' + ] + ], + data: {} + }); + function aA(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 2, + "mat-icon", + [["class", "check mat-icon notranslate"], ["role", "img"]], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + Yh, + Kh + )), + Ba( + 1, + 9158656, + null, + 0, + Uh, + [Ne, Nh, [8, null], [2, Fh]], + null, + null + ), + (t()(), Ai(-1, 0, ["check"])) + ], + function(t, n) { + t(n, 1, 0); + }, + function(t, n) { + t( + n, + 0, + 0, + wa(n, 1).inline, + "primary" !== wa(n, 1).color && + "accent" !== wa(n, 1).color && + "warn" !== wa(n, 1).color + ); + } + ); + } + function rA(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 2, + "mat-icon", + [["class", "exclamation mat-icon notranslate"], ["role", "img"]], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + Yh, + Kh + )), + Ba( + 1, + 9158656, + null, + 0, + Uh, + [Ne, Nh, [8, null], [2, Fh]], + null, + null + ), + (t()(), Ai(-1, 0, ["priority_high"])) + ], + function(t, n) { + t(n, 1, 0); + }, + function(t, n) { + t( + n, + 0, + 0, + wa(n, 1).inline, + "primary" !== wa(n, 1).color && + "accent" !== wa(n, 1).color && + "warn" !== wa(n, 1).color + ); + } + ); + } + function iA(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "p", + [["class", "noops"], ["color", "primary"]], + null, + null, + null, + null, + null + )), + (t()(), Ai(-1, null, ["No active operations"])) + ], + null, + null + ); + } + function lA(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 11, + "button", + [ + ["class", "mat-menu-item"], + ["fast-click", ""], + ["mat-menu-item", ""] + ], + [ + [1, "role", 0], + [2, "mat-menu-item-highlighted", null], + [2, "mat-menu-item-submenu-trigger", null], + [1, "tabindex", 0], + [1, "aria-disabled", 0], + [1, "disabled", 0] + ], + [[null, "click"], [null, "mouseenter"]], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "click" === n && (o = !1 !== wa(t, 1)._checkDisabled(e) && o), + "mouseenter" === n && + (o = !1 !== wa(t, 1)._handleMouseEnter() && o), + "click" === n && + (o = !1 !== a.opClick(t.context.$implicit) && o), + o + ); + }, + sM, + lM + )), + Ba(1, 180224, [[1, 4]], 0, GP, [Ne, Ds, Gf, [2, WP]], null, null), + Ba(2, 16384, null, 0, wy, [Ne], null, null), + (t()(), + bi( + 3, + 0, + null, + 0, + 6, + "div", + [["class", "opContainer"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 4, + 0, + null, + null, + 1, + "div", + [["class", "opId"]], + null, + null, + null, + null, + null + )), + (t()(), Ai(5, null, ["#", ""])), + (t()(), + bi( + 6, + 0, + null, + null, + 1, + "div", + [["class", "opStatus"]], + null, + null, + null, + null, + null + )), + (t()(), Ai(7, null, ["", ":"])), + (t()(), + bi( + 8, + 0, + null, + null, + 1, + "div", + [["class", "opDesc"]], + null, + null, + null, + null, + null + )), + (t()(), Ai(9, null, ["", ""])), + (t()(), + bi( + 10, + 0, + null, + 0, + 1, + "div", + [["class", "errMsg"], ["color", "warn"]], + null, + null, + null, + null, + null + )), + (t()(), Ai(11, null, ["", ""])) + ], + null, + function(t, n) { + t( + n, + 0, + 0, + wa(n, 1).role, + wa(n, 1)._highlighted, + wa(n, 1)._triggersSubmenu, + wa(n, 1)._getTabIndex(), + wa(n, 1).disabled.toString(), + wa(n, 1).disabled || null + ), + t(n, 5, 0, n.context.$implicit.ID), + t(n, 7, 0, n.context.$implicit.Status), + t(n, 9, 0, n.context.$implicit.OpDescription), + t(n, 11, 0, n.context.$implicit.Error); + } + ); + } + function sA(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 16777216, + null, + null, + 18, + "button", + [ + ["aria-haspopup", "true"], + ["fast-click", ""], + ["mat-button", ""], + ["mat-raised-button", ""] + ], + [ + [1, "disabled", 0], + [2, "_mat-animation-noopable", null], + [1, "aria-expanded", 0] + ], + [ + [null, "menuOpened"], + [null, "menuClosed"], + [null, "mousedown"], + [null, "keydown"], + [null, "click"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "mousedown" === n && + (o = !1 !== wa(t, 2)._handleMousedown(e) && o), + "keydown" === n && + (o = !1 !== wa(t, 2)._handleKeydown(e) && o), + "click" === n && (o = !1 !== wa(t, 2)._handleClick(e) && o), + "menuOpened" === n && (o = !1 !== a.menuOpened() && o), + "menuClosed" === n && (o = !1 !== a.menuClosed() && o), + o + ); + }, + ky, + xy + )), + Ba( + 1, + 180224, + null, + 0, + Zh, + [Ne, Gf, [2, Py]], + { color: [0, "color"] }, + null + ), + Ba( + 2, + 1196032, + null, + 0, + nM, + [$C, Ne, so, JP, [2, QP], [8, null], [2, rf], Gf], + { menu: [0, "menu"] }, + { menuOpened: "menuOpened", menuClosed: "menuClosed" } + ), + Ba(3, 16384, null, 0, wy, [Ne], null, null), + (t()(), + bi( + 4, + 0, + null, + 0, + 12, + "div", + [["class", "iconContainer"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 5, + 0, + null, + null, + 7, + "mat-icon", + [["class", "sync mat-icon notranslate"], ["role", "img"]], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + Yh, + Kh + )), + Ha(512, null, gs, fs, [$e, to, Ne, Be]), + Ba( + 7, + 278528, + null, + 0, + hs, + [gs], + { klass: [0, "klass"], ngClass: [1, "ngClass"] }, + null + ), + Ei(8, { spinny: 0 }), + Ba( + 9, + 9158656, + null, + 0, + Uh, + [Ne, Nh, [8, null], [2, Fh]], + null, + null + ), + Ba( + 10, + 933888, + null, + 0, + uM, + [Ne, uO, gO, $e, to, Be, [6, hs]], + { ngClass: [0, "ngClass"], klass: [1, "klass"] }, + null + ), + Ei(11, { spinny: 0 }), + (t()(), Ai(-1, 0, ["sync"])), + (t()(), hi(16777216, null, null, 1, null, aA)), + Ba(14, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, null, 1, null, rA)), + Ba(16, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), + bi( + 17, + 0, + null, + 0, + 1, + "div", + [["class", "opsCount"]], + null, + null, + null, + null, + null + )), + (t()(), Ai(18, null, ["", ""])), + (t()(), + bi( + 19, + 0, + null, + null, + 13, + "mat-menu", + [], + null, + null, + null, + iM, + aM + )), + Ha(6144, null, QP, null, [XP]), + Ha(6144, null, WP, null, [QP]), + Ba(22, 1294336, [["menu", 4]], 2, XP, [Ne, Dr, ZP], null, null), + Oi(603979776, 1, { items: 1 }), + Oi(603979776, 2, { lazyContent: 0 }), + (t()(), hi(16777216, null, 0, 1, null, iA)), + Ba(26, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, 0, 1, null, lA)), + Ba( + 28, + 278528, + null, + 0, + _s, + [so, io, $e], + { ngForOf: [0, "ngForOf"] }, + null + ), + (t()(), + bi( + 29, + 0, + null, + 0, + 3, + "button", + [ + ["class", "clearFailed"], + ["color", "accent"], + ["fast-click", ""], + ["mat-raised-button", ""] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "click"]], + function(t, n, e) { + var o = !0; + return ( + "click" === n && + (o = !1 !== t.component.clickClearFailedOps() && o), + o + ); + }, + ky, + xy + )), + Ba( + 30, + 180224, + null, + 0, + Zh, + [Ne, Gf, [2, Py]], + { color: [0, "color"] }, + null + ), + Ba(31, 16384, null, 0, wy, [Ne], null, null), + (t()(), Ai(-1, 0, ["Clear Failed"])) + ], + function(t, n) { + var e = n.component; + t(n, 1, 0, na(1, "", e.getColor(), "")), t(n, 2, 0, wa(n, 22)); + var o = t(n, 8, 0, e.showSpin()); + t(n, 7, 0, "sync", o), t(n, 9, 0); + var a = t(n, 11, 0, e.showSpin()); + t(n, 10, 0, a, "sync"), + t(n, 14, 0, e.showCheck()), + t(n, 16, 0, e.showError()), + t(n, 22, 0), + t(n, 26, 0, e.ops.Ops.length < 1), + t(n, 28, 0, e.ops.Ops), + t(n, 30, 0, "accent"); + }, + function(t, n) { + var e = n.component; + t( + n, + 0, + 0, + wa(n, 1).disabled || null, + "NoopAnimations" === wa(n, 1)._animationMode, + wa(n, 2).menuOpen || null + ), + t( + n, + 5, + 0, + wa(n, 9).inline, + "primary" !== wa(n, 9).color && + "accent" !== wa(n, 9).color && + "warn" !== wa(n, 9).color + ), + t(n, 18, 0, e.ops.Ops.length), + t( + n, + 29, + 0, + wa(n, 30).disabled || null, + "NoopAnimations" === wa(n, 30)._animationMode + ); + } + ); + } + var cA = (function(t) { + function n(n, e, o) { + var a = t.call(this, n) || this; + return (a._platform = e), (a._document = o), a; + } + return ( + Object(o.__extends)(n, t), + (n.prototype.ngAfterViewInit = function() { + var t = this; + Fn() && + this._platform.isBrowser && + (this._checkToolbarMixedModes(), + this._toolbarRows.changes.subscribe(function() { + return t._checkToolbarMixedModes(); + })); + }), + (n.prototype._checkToolbarMixedModes = function() { + var t = this; + this._toolbarRows.length && + Array.from(this._elementRef.nativeElement.childNodes) + .filter(function(t) { + return !( + t.classList && t.classList.contains("mat-toolbar-row") + ); + }) + .filter(function(n) { + return ( + n.nodeType !== + (t._document ? t._document.COMMENT_NODE : 8) + ); + }) + .some(function(t) { + return !(!t.textContent || !t.textContent.trim()); + }) && + (function() { + throw Error( + "MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `` elements explicitly or just place content inside of a `` for a single row." + ); + })(); + }), + n + ); + })( + th( + (function() { + return function(t) { + this._elementRef = t; + }; + })() + ) + ), + uA = (function() { + return function() {}; + })(), + dA = So({ + encapsulation: 2, + styles: [ + "@media (-ms-high-contrast:active){.mat-toolbar{outline:solid 1px}}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width:599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}" + ], + data: {} + }); + function pA(t) { + return Di(2, [wi(null, 0), wi(null, 1)], null, null); + } + var mA = So({ + encapsulation: 0, + styles: [ + [ + ".app-content[_ngcontent-%COMP%]{display:block;height:100%}.goodCon[_ngcontent-%COMP%]{color:green}.badCon[_ngcontent-%COMP%]{color:red}.orangeCon[_ngcontent-%COMP%]{color:orange}.toolbar[_ngcontent-%COMP%]{min-height:50px;height:50px;display:block!important}.sync-spot[_ngcontent-%COMP%]{width:155px;height:39px}.sync-placeholder[_ngcontent-%COMP%]{margin-top:6px}.undo-spot[_ngcontent-%COMP%]{margin-top:6px;color:#ff5722;margin-left:6px;margin-right:6px}.top-button[_ngcontent-%COMP%]{margin-top:6px;margin-right:1.5em}.sync-button[_ngcontent-%COMP%]{margin-top:7px}.logo[_ngcontent-%COMP%]{background:url(logo.png) 50% 50%/contain no-repeat;height:50px;width:150px}.nowifi[_ngcontent-%COMP%]{position:absolute;top:-2px;left:-2px;color:red;font-size:32px}.credits[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:15px}.connectionStatus[_ngcontent-%COMP%]{margin-top:9px;position:relative;display:inline-block;width:32px;height:32px;cursor:pointer}.wifi[_ngcontent-%COMP%]{position:absolute;top:2px;left:2px;font-size:32}.nosync[_ngcontent-%COMP%]{border-radius:10px;border:none;color:#fff;cursor:pointer;display:inline-block;font-family:Arial;font-size:14px;padding:5px 10px;text-align:center;text-decoration:none;background-color:#b8860b;height:26px;width:140.63px}.right[_ngcontent-%COMP%]{float:right}.warning[_ngcontent-%COMP%]{height:35px;background-color:#004a7f;border-radius:4px;border:none;color:#fff;cursor:pointer;display:inline-block;font-family:Arial;font-size:14px;padding:5px 10px;text-align:center;text-decoration:none;-webkit-animation:1.5s infinite glowing;animation:1.5s infinite glowing}@-webkit-keyframes glowing{0%,100%{background-color:#b20000;-webkit-box-shadow:0 0 3px #b20000}50%{background-color:red;-webkit-box-shadow:0 0 40px red}}@keyframes glowing{0%,100%{background-color:#b20000;box-shadow:0 0 3px #b20000}50%{background-color:red;box-shadow:0 0 40px red}}.happy[_ngcontent-%COMP%]{height:35px;background-color:#004a7f;border-radius:4px;border:none;color:#fff;cursor:pointer;display:inline-block;font-family:Arial;font-size:14px;padding:5px 10px;text-align:center;text-decoration:none;-webkit-animation:3.5s infinite glowing-happy;animation:3.5s infinite glowing-happy}@-webkit-keyframes glowing-happy{0%,100%{background-color:#20599d;box-shadow:0 0 10px #20599d}50%{background-color:#216bad;box-shadow:0 0 20px #216bad}}@keyframes glowing-happy{0%,100%{background-color:#20599d;box-shadow:0 0 10px #20599d}50%{background-color:#216bad;box-shadow:0 0 20px #216bad}}" + ] + ], + data: { + animation: [ + { + type: 7, + name: "fade", + definitions: [ + { + type: 1, + expr: ":enter", + animation: [ + { type: 6, styles: { opacity: 0 }, offset: null }, + { + type: 4, + styles: { type: 6, styles: { opacity: 1 }, offset: null }, + timings: "0.2s" + } + ], + options: null + }, + { + type: 1, + expr: ":leave", + animation: [ + { type: 6, styles: { opacity: 1 }, offset: null }, + { + type: 4, + styles: { type: 6, styles: { opacity: 0 }, offset: null }, + timings: "0.2s" + } + ], + options: null + }, + { + type: 0, + name: "*", + styles: { type: 6, styles: { opacity: 1 }, offset: null }, + options: void 0 + } + ], + options: {} + } + ] + } + }); + function gA(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 2, + "mat-icon", + [["class", "nowifi mat-icon notranslate"], ["role", "img"]], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + Yh, + Kh + )), + Ba( + 1, + 9158656, + null, + 0, + Uh, + [Ne, Nh, [8, null], [2, Fh]], + null, + null + ), + (t()(), Ai(-1, 0, ["close"])) + ], + function(t, n) { + t(n, 1, 0); + }, + function(t, n) { + t( + n, + 0, + 0, + wa(n, 1).inline, + "primary" !== wa(n, 1).color && + "accent" !== wa(n, 1).color && + "warn" !== wa(n, 1).color + ); + } + ); + } + function fA(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 16777216, + null, + null, + 5, + "button", + [ + ["class", "right undo-spot"], + ["mat-button", ""], + [ + "matTooltip", + "Undo all pending changes instead of syncing them." + ] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "longpress" === n && (o = !1 !== wa(t, 2).show() && o), + "keydown" === n && + (o = !1 !== wa(t, 2)._handleKeydown(e) && o), + "touchend" === n && + (o = !1 !== wa(t, 2)._handleTouchend() && o), + "click" === n && (o = !1 !== a.resetConfig() && o), + o + ); + }, + ky, + xy + )), + Ba( + 1, + 180224, + null, + 0, + Zh, + [Ne, Gf, [2, Py]], + { disabled: [0, "disabled"] }, + null + ), + Ba( + 2, + 212992, + null, + 0, + sP, + [$C, Ne, OC, so, Dr, ff, Ff, Gf, rP, [2, rf], [2, lP], [2, td]], + { message: [0, "message"] }, + null + ), + (t()(), + bi( + 3, + 0, + null, + 0, + 2, + "mat-icon", + [["class", "mat-icon notranslate"], ["role", "img"]], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + Yh, + Kh + )), + Ba( + 4, + 9158656, + null, + 0, + Uh, + [Ne, Nh, [8, null], [2, Fh]], + null, + null + ), + (t()(), Ai(-1, 0, ["undo"])), + (t()(), hi(0, null, null, 0)) + ], + function(t, n) { + var e = n.component; + t( + n, + 1, + 0, + na( + 1, + "", + !0 === (null == e.config ? null : e.config.IsCommitted) || + e.disableSync(), + "" + ) + ), + t(n, 2, 0, "Undo all pending changes instead of syncing them."), + t(n, 4, 0); + }, + function(t, n) { + t( + n, + 0, + 0, + wa(n, 1).disabled || null, + "NoopAnimations" === wa(n, 1)._animationMode + ), + t( + n, + 3, + 0, + wa(n, 4).inline, + "primary" !== wa(n, 4).color && + "accent" !== wa(n, 4).color && + "warn" !== wa(n, 4).color + ); + } + ); + } + function hA(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 16777216, + null, + null, + 2, + "button", + [ + ["class", "warning sync-spot right sync-button"], + ["matTooltip", "Sync the current configuration to Beat Saber."] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "longpress" === n && (o = !1 !== wa(t, 1).show() && o), + "keydown" === n && + (o = !1 !== wa(t, 1)._handleKeydown(e) && o), + "touchend" === n && + (o = !1 !== wa(t, 1)._handleTouchend() && o), + "click" === n && (o = !1 !== a.commitConfig() && o), + o + ); + }, + null, + null + )), + Ba( + 1, + 212992, + null, + 0, + sP, + [$C, Ne, OC, so, Dr, ff, Ff, Gf, rP, [2, rf], [2, lP], [2, td]], + { message: [0, "message"] }, + null + ), + (t()(), Ai(-1, null, [" Sync to Beat Saber "])), + (t()(), hi(0, null, null, 0)) + ], + function(t, n) { + t(n, 1, 0, "Sync the current configuration to Beat Saber."); + }, + null + ); + } + function bA(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 16777216, + null, + null, + 2, + "button", + [ + ["class", "right sync-spot sync-placeholder nosync"], + [ + "matTooltip", + "Beat On is processing, wait for it to finish to sync." + ] + ], + null, + [[null, "longpress"], [null, "keydown"], [null, "touchend"]], + function(t, n, e) { + var o = !0; + return ( + "longpress" === n && (o = !1 !== wa(t, 1).show() && o), + "keydown" === n && + (o = !1 !== wa(t, 1)._handleKeydown(e) && o), + "touchend" === n && + (o = !1 !== wa(t, 1)._handleTouchend() && o), + o + ); + }, + null, + null + )), + Ba( + 1, + 212992, + null, + 0, + sP, + [$C, Ne, OC, so, Dr, ff, Ff, Gf, rP, [2, rf], [2, lP], [2, td]], + { message: [0, "message"] }, + null + ), + (t()(), Ai(-1, null, ["Processing..."])), + (t()(), hi(0, null, null, 0)) + ], + function(t, n) { + t(n, 1, 0, "Beat On is processing, wait for it to finish to sync."); + }, + null + ); + } + function _A(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 16777216, + null, + null, + 3, + "button", + [ + ["class", "right sync-placeholder sync-spot"], + ["mat-button", ""], + ["matTooltip", "Beat Saber is in sync."] + ], + [[1, "disabled", 0], [2, "_mat-animation-noopable", null]], + [[null, "longpress"], [null, "keydown"], [null, "touchend"]], + function(t, n, e) { + var o = !0; + return ( + "longpress" === n && (o = !1 !== wa(t, 2).show() && o), + "keydown" === n && + (o = !1 !== wa(t, 2)._handleKeydown(e) && o), + "touchend" === n && + (o = !1 !== wa(t, 2)._handleTouchend() && o), + o + ); + }, + ky, + xy + )), + Ba(1, 180224, null, 0, Zh, [Ne, Gf, [2, Py]], null, null), + Ba( + 2, + 212992, + null, + 0, + sP, + [$C, Ne, OC, so, Dr, ff, Ff, Gf, rP, [2, rf], [2, lP], [2, td]], + { message: [0, "message"] }, + null + ), + (t()(), Ai(-1, 0, ["Beat Saber Synced"])), + (t()(), hi(0, null, null, 0)) + ], + function(t, n) { + t(n, 2, 0, "Beat Saber is in sync."); + }, + function(t, n) { + t( + n, + 0, + 0, + wa(n, 1).disabled || null, + "NoopAnimations" === wa(n, 1)._animationMode + ); + } + ); + } + function yA(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 16777216, + null, + null, + 2, + "button", + [ + ["class", "sync-spot right sync-button happy"], + ["matTooltip", "Beat Saber is in sync."] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "longpress" === n && (o = !1 !== wa(t, 1).show() && o), + "keydown" === n && + (o = !1 !== wa(t, 1)._handleKeydown(e) && o), + "touchend" === n && + (o = !1 !== wa(t, 1)._handleTouchend() && o), + "click" === n && (o = !1 !== a.clickStartBeatSaber() && o), + o + ); + }, + null, + null + )), + Ba( + 1, + 212992, + null, + 0, + sP, + [$C, Ne, OC, so, Dr, ff, Ff, Gf, rP, [2, rf], [2, lP], [2, td]], + { message: [0, "message"] }, + null + ), + (t()(), Ai(-1, null, ["Start Beat Saber"])), + (t()(), hi(0, null, null, 0)) + ], + function(t, n) { + t(n, 1, 0, "Beat Saber is in sync."); + }, + null + ); + } + function CA(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 16777216, + null, + null, + 2, + "app-browser-nav", + [ + ["class", "right top-button"], + ["matTooltip", "Browse to web site."] + ], + null, + [ + [null, "linkSelected"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "longpress" === n && (o = !1 !== wa(t, 1).show() && o), + "keydown" === n && + (o = !1 !== wa(t, 1)._handleKeydown(e) && o), + "touchend" === n && + (o = !1 !== wa(t, 1)._handleTouchend() && o), + "linkSelected" === n && (o = !1 !== a.linkSelected(e) && o), + o + ); + }, + GI, + YI + )), + Ba( + 1, + 212992, + null, + 0, + sP, + [$C, Ne, OC, so, Dr, ff, Ff, Gf, rP, [2, rf], [2, lP], [2, td]], + { message: [0, "message"] }, + null + ), + Ba(2, 114688, null, 0, KI, [pv], null, { + linkSelected: "linkSelected" + }), + (t()(), hi(0, null, null, 0)) + ], + function(t, n) { + t(n, 1, 0, "Browse to web site."), t(n, 2, 0); + }, + null + ); + } + function vA(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 16777216, + null, + null, + 6, + "button", + [ + ["class", "right top-button"], + ["fast-click", ""], + ["mat-stroked-button", ""], + ["matTooltip", "Refresh"] + ], + [ + [24, "@fade", 0], + [1, "disabled", 0], + [2, "_mat-animation-noopable", null] + ], + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "longpress" === n && (o = !1 !== wa(t, 2).show() && o), + "keydown" === n && + (o = !1 !== wa(t, 2)._handleKeydown(e) && o), + "touchend" === n && + (o = !1 !== wa(t, 2)._handleTouchend() && o), + "click" === n && (o = !1 !== a.clickRefresh() && o), + o + ); + }, + ky, + xy + )), + Ba(1, 180224, null, 0, Zh, [Ne, Gf, [2, Py]], null, null), + Ba( + 2, + 212992, + null, + 0, + sP, + [$C, Ne, OC, so, Dr, ff, Ff, Gf, rP, [2, rf], [2, lP], [2, td]], + { message: [0, "message"] }, + null + ), + Ba(3, 16384, null, 0, wy, [Ne], null, null), + (t()(), + bi( + 4, + 0, + null, + 0, + 2, + "mat-icon", + [["class", "mat-icon notranslate"], ["role", "img"]], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + Yh, + Kh + )), + Ba( + 5, + 9158656, + null, + 0, + Uh, + [Ne, Nh, [8, null], [2, Fh]], + null, + null + ), + (t()(), Ai(-1, 0, ["cached"])), + (t()(), hi(0, null, null, 0)) + ], + function(t, n) { + t(n, 2, 0, "Refresh"), t(n, 5, 0); + }, + function(t, n) { + t( + n, + 0, + 0, + void 0, + wa(n, 1).disabled || null, + "NoopAnimations" === wa(n, 1)._animationMode + ), + t( + n, + 4, + 0, + wa(n, 5).inline, + "primary" !== wa(n, 5).color && + "accent" !== wa(n, 5).color && + "warn" !== wa(n, 5).color + ); + } + ); + } + function OA(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 16777216, + null, + null, + 6, + "button", + [ + ["class", "right top-button"], + ["fast-click", ""], + ["mat-stroked-button", ""], + ["matTooltip", "Back"] + ], + [ + [24, "@fade", 0], + [1, "disabled", 0], + [2, "_mat-animation-noopable", null] + ], + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "longpress" === n && (o = !1 !== wa(t, 2).show() && o), + "keydown" === n && + (o = !1 !== wa(t, 2)._handleKeydown(e) && o), + "touchend" === n && + (o = !1 !== wa(t, 2)._handleTouchend() && o), + "click" === n && (o = !1 !== a.clickBack() && o), + o + ); + }, + ky, + xy + )), + Ba(1, 180224, null, 0, Zh, [Ne, Gf, [2, Py]], null, null), + Ba( + 2, + 212992, + null, + 0, + sP, + [$C, Ne, OC, so, Dr, ff, Ff, Gf, rP, [2, rf], [2, lP], [2, td]], + { message: [0, "message"] }, + null + ), + Ba(3, 16384, null, 0, wy, [Ne], null, null), + (t()(), + bi( + 4, + 0, + null, + 0, + 2, + "mat-icon", + [["class", "mat-icon notranslate"], ["role", "img"]], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + Yh, + Kh + )), + Ba( + 5, + 9158656, + null, + 0, + Uh, + [Ne, Nh, [8, null], [2, Fh]], + null, + null + ), + (t()(), Ai(-1, 0, ["arrow_back"])), + (t()(), hi(0, null, null, 0)) + ], + function(t, n) { + t(n, 2, 0, "Back"), t(n, 5, 0); + }, + function(t, n) { + t( + n, + 0, + 0, + void 0, + wa(n, 1).disabled || null, + "NoopAnimations" === wa(n, 1)._animationMode + ), + t( + n, + 4, + 0, + wa(n, 5).inline, + "primary" !== wa(n, 5).color && + "accent" !== wa(n, 5).color && + "warn" !== wa(n, 5).color + ); + } + ); + } + function PA(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 16777216, + null, + null, + 2, + "app-download-indicator", + [ + ["class", "right top-button"], + ["matTooltip", "Downloads in progress"] + ], + null, + [[null, "longpress"], [null, "keydown"], [null, "touchend"]], + function(t, n, e) { + var o = !0; + return ( + "longpress" === n && (o = !1 !== wa(t, 1).show() && o), + "keydown" === n && + (o = !1 !== wa(t, 1)._handleKeydown(e) && o), + "touchend" === n && + (o = !1 !== wa(t, 1)._handleTouchend() && o), + o + ); + }, + tA, + XI + )), + Ba( + 1, + 212992, + null, + 0, + sP, + [$C, Ne, OC, so, Dr, ff, Ff, Gf, rP, [2, rf], [2, lP], [2, td]], + { message: [0, "message"] }, + null + ), + Ba(2, 114688, null, 0, QI, [pg], null, null), + (t()(), hi(0, null, null, 0)) + ], + function(t, n) { + t(n, 1, 0, "Downloads in progress"), t(n, 2, 0); + }, + null + ); + } + function MA(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 16777216, + null, + null, + 2, + "app-op-indicator", + [ + ["class", "right top-button"], + [ + "matTooltip", + "Current Beat On operations that are in progress or have failed." + ] + ], + null, + [[null, "longpress"], [null, "keydown"], [null, "touchend"]], + function(t, n, e) { + var o = !0; + return ( + "longpress" === n && (o = !1 !== wa(t, 1).show() && o), + "keydown" === n && + (o = !1 !== wa(t, 1)._handleKeydown(e) && o), + "touchend" === n && + (o = !1 !== wa(t, 1)._handleTouchend() && o), + o + ); + }, + sA, + oA + )), + Ba( + 1, + 212992, + null, + 0, + sP, + [$C, Ne, OC, so, Dr, ff, Ff, Gf, rP, [2, rf], [2, lP], [2, td]], + { message: [0, "message"] }, + null + ), + Ba(2, 114688, null, 0, eA, [pg, Eg], null, null), + (t()(), hi(0, null, null, 0)) + ], + function(t, n) { + t( + n, + 1, + 0, + "Current Beat On operations that are in progress or have failed." + ), + t(n, 2, 0); + }, + null + ); + } + function xA(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 3, + "div", + [["fxLayout", "column"]], + null, + null, + null, + null, + null + )), + Ba( + 1, + 671744, + null, + 0, + PO, + [Ne, uO, [2, vO], gO], + { fxLayout: [0, "fxLayout"] }, + null + ), + (t()(), + bi(2, 0, null, null, 1, "h3", [], null, null, null, null, null)), + (t()(), Ai(-1, null, ["Checking mod installation status..."])) + ], + function(t, n) { + t(n, 1, 0, "column"); + }, + null + ); + } + function kA(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 3, + "div", + [["fxLayout", "column"]], + null, + null, + null, + null, + null + )), + Ba( + 1, + 671744, + null, + 0, + PO, + [Ne, uO, [2, vO], gO], + { fxLayout: [0, "fxLayout"] }, + null + ), + (t()(), + bi(2, 0, null, null, 1, "h3", [], null, null, null, null, null)), + (t()(), + Ai(-1, null, [ + " Loading configuration... depending on how many songs are loaded, Beat On may take 5-90 seconds to load... " + ])) + ], + function(t, n) { + t(n, 1, 0, "column"); + }, + null + ); + } + function wA(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 5, + "mat-card", + [["class", "mat-card"]], + null, + null, + null, + Mh, + Ph + )), + Ba(1, 49152, null, 0, nf, [], null, null), + (t()(), hi(16777216, null, 0, 1, null, xA)), + Ba(3, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, 0, 1, null, kA)), + Ba(5, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null) + ], + function(t, n) { + var e = n.component; + t(n, 3, 0, !e.modStatusLoaded), + t( + n, + 5, + 0, + e.modStatusLoaded && + null == e.config.Config && + "ModInstalled" == e.modStatus.CurrentStatus + ); + }, + null + ); + } + function SA(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 44, + "div", + [["class", "fullheight"], ["fxLayout", "column"]], + null, + null, + null, + null, + null + )), + Ba( + 1, + 671744, + null, + 0, + PO, + [Ne, uO, [2, vO], gO], + { fxLayout: [0, "fxLayout"] }, + null + ), + (t()(), + bi( + 2, + 0, + null, + null, + 35, + "mat-toolbar", + [["class", "toolbar mat-toolbar"]], + [ + [2, "mat-toolbar-multiple-rows", null], + [2, "mat-toolbar-single-row", null] + ], + null, + null, + pA, + dA + )), + Ba(3, 4243456, null, 1, cA, [Ne, ff, Ds], null, null), + Oi(603979776, 1, { _toolbarRows: 1 }), + (t()(), + bi( + 5, + 16777216, + null, + 0, + 11, + "div", + [ + ["class", "connectionStatus right"], + [ + "matTooltip", + "Current connection status. Click to reconnect." + ] + ], + null, + [ + [null, "click"], + [null, "longpress"], + [null, "keydown"], + [null, "touchend"] + ], + function(t, n, e) { + var o = !0, + a = t.component; + return ( + "longpress" === n && (o = !1 !== wa(t, 11).show() && o), + "keydown" === n && + (o = !1 !== wa(t, 11)._handleKeydown(e) && o), + "touchend" === n && + (o = !1 !== wa(t, 11)._handleTouchend() && o), + "click" === n && (o = !1 !== a.reconnect() && o), + o + ); + }, + null, + null + )), + Ha(512, null, ks, ws, [Ne, to, Be]), + Ba(7, 278528, null, 0, Ss, [ks], { ngStyle: [0, "ngStyle"] }, null), + Ei(8, { color: 0 }), + Ba( + 9, + 933888, + null, + 0, + hM, + [Ne, uO, gO, to, Be, id, [6, Ss], [2, jv], fr], + { ngStyle: [0, "ngStyle"] }, + null + ), + Ei(10, { color: 0 }), + Ba( + 11, + 212992, + null, + 0, + sP, + [$C, Ne, OC, so, Dr, ff, Ff, Gf, rP, [2, rf], [2, lP], [2, td]], + { message: [0, "message"] }, + null + ), + (t()(), hi(16777216, null, null, 1, null, gA)), + Ba(13, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), + bi( + 14, + 0, + null, + null, + 2, + "mat-icon", + [["class", "wifi mat-icon notranslate"], ["role", "img"]], + [[2, "mat-icon-inline", null], [2, "mat-icon-no-color", null]], + null, + null, + Yh, + Kh + )), + Ba( + 15, + 9158656, + null, + 0, + Uh, + [Ne, Nh, [8, null], [2, Fh]], + null, + null + ), + (t()(), Ai(-1, 0, ["wifi"])), + (t()(), hi(16777216, null, 0, 1, null, fA)), + Ba(18, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, 0, 1, null, hA)), + Ba(20, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, 0, 1, null, bA)), + Ba(22, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, 0, 1, null, _A)), + Ba(24, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, 0, 1, null, yA)), + Ba(26, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, 0, 1, null, CA)), + Ba(28, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, 0, 1, null, vA)), + Ba(30, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, 0, 1, null, OA)), + Ba(32, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, 0, 1, null, PA)), + Ba(34, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), hi(16777216, null, 0, 1, null, MA)), + Ba(36, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null), + (t()(), + bi( + 37, + 0, + null, + 0, + 0, + "div", + [["class", "logo"]], + null, + null, + null, + null, + null + )), + (t()(), + bi( + 38, + 0, + null, + null, + 4, + "div", + [["class", "fullheight"], ["fxLayout", "column"]], + null, + null, + null, + null, + null + )), + Ba( + 39, + 671744, + null, + 0, + PO, + [Ne, uO, [2, vO], gO], + { fxLayout: [0, "fxLayout"] }, + null + ), + (t()(), + bi( + 40, + 16777216, + null, + null, + 2, + "router-outlet", + [["fxLayout", "column"]], + [[8, "hidden", 0]], + null, + null, + null, + null + )), + Ba( + 41, + 212992, + null, + 0, + Hm, + [Vm, so, Ee, [8, null], no], + null, + null + ), + Ba( + 42, + 671744, + null, + 0, + PO, + [Ne, uO, [2, vO], gO], + { fxLayout: [0, "fxLayout"] }, + null + ), + (t()(), hi(16777216, null, null, 1, null, wA)), + Ba(44, 16384, null, 0, Cs, [so, io], { ngIf: [0, "ngIf"] }, null) + ], + function(t, n) { + var e = n.component; + t(n, 1, 0, "column"); + var o = t(n, 8, 0, e.getConnStatusColor()); + t(n, 7, 0, o); + var a = t(n, 10, 0, e.getConnStatusColor()); + t(n, 9, 0, a), + t(n, 11, 0, "Current connection status. Click to reconnect."), + t(n, 13, 0, !e.getConnStatusIcon()), + t(n, 15, 0), + t( + n, + 18, + 0, + e.modStatusLoaded && "ModInstalled" == e.modStatus.CurrentStatus + ), + t( + n, + 20, + 0, + e.modStatusLoaded && + "ModInstalled" == e.modStatus.CurrentStatus && + !1 === (null == e.config ? null : e.config.IsCommitted) && + !e.disableSync() + ), + t( + n, + 22, + 0, + e.modStatusLoaded && + "ModInstalled" == e.modStatus.CurrentStatus && + !1 === (null == e.config ? null : e.config.IsCommitted) && + e.disableSync() + ), + t( + n, + 24, + 0, + e.modStatusLoaded && + "ModInstalled" == e.modStatus.CurrentStatus && + !0 === (null == e.config ? null : e.config.IsCommitted) && + !e.appIntegrated + ), + t( + n, + 26, + 0, + e.modStatusLoaded && + "ModInstalled" == e.modStatus.CurrentStatus && + !0 === (null == e.config ? null : e.config.IsCommitted) && + e.appIntegrated + ), + t( + n, + 28, + 0, + e.modStatusLoaded && + "ModInstalled" == e.modStatus.CurrentStatus && + e.showBrowser + ), + t( + n, + 30, + 0, + e.modStatusLoaded && + "ModInstalled" == e.modStatus.CurrentStatus && + e.showRefreshButton + ), + t(n, 32, 0, e.modStatusLoaded && e.showBackButton), + t(n, 34, 0, e.modStatusLoaded), + t(n, 36, 0, e.modStatusLoaded), + t(n, 39, 0, "column"), + t(n, 41, 0), + t(n, 42, 0, "column"), + t( + n, + 44, + 0, + !e.modStatusLoaded || + (null == e.config.Config && + "ModInstalled" == e.modStatus.CurrentStatus) + ); + }, + function(t, n) { + var e = n.component; + t( + n, + 2, + 0, + wa(n, 3)._toolbarRows.length > 0, + 0 === wa(n, 3)._toolbarRows.length + ), + t( + n, + 14, + 0, + wa(n, 15).inline, + "primary" !== wa(n, 15).color && + "accent" !== wa(n, 15).color && + "warn" !== wa(n, 15).color + ), + t(n, 40, 0, !e.modStatusLoaded); + } + ); + } + function EA(t) { + return Di( + 0, + [ + (t()(), + bi( + 0, + 0, + null, + null, + 1, + "app-root", + [["class", "fullheight"]], + null, + null, + null, + SA, + mA + )), + Ba( + 1, + 114688, + null, + 0, + Dg, + [yc, Nm, pg, Mg, Sg, pv, Tg, Eg], + null, + null + ) + ], + function(t, n) { + t(n, 1, 0); + }, + null + ); + } + var IA = ha("app-root", Dg, EA, {}, {}, []), + AA = (function() { + return function() {}; + })(), + TA = (function() { + return function() {}; + })(), + RA = (function() { + function t(t, n) { + js(n) && + !t && + console.warn( + "Warning: Flex Layout loaded on the server without FlexLayoutServerModule" + ); + } + return ( + (t.withConfig = function(n, e) { + return ( + void 0 === e && (e = []), + { + ngModule: t, + providers: n.serverLoaded + ? [ + { + provide: Lv, + useValue: Object(o.__assign)({}, zv, n) + }, + { provide: Fv, useValue: e, multi: !0 }, + { provide: jv, useValue: !0 } + ] + : [ + { + provide: Lv, + useValue: Object(o.__assign)({}, zv, n) + }, + { provide: Fv, useValue: e, multi: !0 } + ] + } + ); + }), + t + ); + })(), + DA = (function() { + return function() {}; + })(), + NA = (function() { + return function() {}; + })(), + zA = (function() { + return function() {}; + })(), + LA = (function() { + function t() {} + var n; + return ( + (n = t), + (t.forRoot = function(t) { + return { + ngModule: n, + providers: [{ provide: "options", useValue: t }] + }; + }), + t + ); + })(), + jA = Fl(Vl, [Dg], function(t) { + return (function(t) { + for (var n = {}, e = [], o = !1, a = 0; a < t.length; a++) { + var r = t[a]; + r.token === Pe && !0 === r.value && (o = !0), + 1073741824 & r.flags && e.push(r.token), + (r.index = a), + (n[Mo(r.token)] = r); + } + return { + factory: null, + providersByKey: n, + providers: t, + modules: e, + isRoot: o + }; + })([ + la(512, Ee, Ie, [ + [ + 8, + [ + qg, + Zg, + Ty, + bv, + Ov, + wv, + QO, + fk, + Ok, + Sk, + Dk, + Fk, + fS, + gE, + yE, + PE, + tI, + rI, + dI, + fI, + LI, + qI, + IA + ] + ], + [3, Ee], + Te + ]), + la(5120, ui, mi, [[3, ui]]), + la(4608, ds, ps, [ui, [2, us]]), + la(5120, or, gi, [Dr]), + la(5120, dr, pr, []), + la(5120, $e, di, []), + la(5120, to, pi, []), + la(4608, id, ld, [Ds]), + la(6144, se, null, [id]), + la(4608, $u, sh, [[2, rh], [2, Jf]]), + la( + 5120, + ku, + function(t, n, e, o, a, r, i, l) { + return [new Xu(t, n, e), new rd(o), new ed(a, r, i, l)]; + }, + [Ds, Dr, fr, Ds, Ds, $u, br, [2, td]] + ), + la(4608, wu, wu, [ku, Dr]), + la(135680, Iu, Iu, [Ds]), + la(4608, Lu, Lu, [wu, Iu, dr]), + la(5120, kb, Cy, []), + la(5120, h_, vy, []), + la(4608, K_, yy, [Ds, kb, h_]), + la(5120, je, Oy, [Lu, K_, Dr]), + la(6144, Eu, null, [Iu]), + la(4608, Hr, Hr, [Dr]), + la(5120, xp, rg, [Nm]), + la(4608, Ym, Ym, []), + la(6144, qm, null, [Ym]), + la(135680, Wm, Wm, [Nm, ir, xr, Zt, qm]), + la(4608, Km, Km, []), + la(5120, Gm, tg, [Nm, Fs, Zm]), + la(5120, dg, sg, [ig]), + la( + 5120, + hr, + function(t, n, e) { + return [ + t, + ((o = n), + (a = e), + function() { + if (Ls(a)) { + var t = Array.from( + o.querySelectorAll("[class*=flex-layout-]") + ), + n = /\bflex-layout-.+?\b/g; + t.forEach(function(t) { + t.classList.contains("flex-layout-ssr") && t.parentNode + ? t.parentNode.removeChild(t) + : t.className.replace(n, ""); + }); + } + }) + ]; + var o, a; + }, + [dg, Ds, fr] + ), + la(4608, Xh, py, [je, Ds]), + la(4608, $C, $C, [jC, KC, Ee, XC, qC, Zt, Dr, Ds, rf, [2, es]]), + la(5120, tv, nv, [$C]), + la(5120, uv, dv, [$C]), + la(135680, pv, pv, [$C, Zt, [2, es], [2, cv], uv, [3, pv], KC]), + la(4608, mc, gc, [Ds, fr, dc]), + la(4608, fc, fc, [mc, pc]), + la( + 5120, + rc, + function(t) { + return [t]; + }, + [fc] + ), + la(4608, cc, cc, []), + la(6144, sc, null, [cc]), + la(4608, uc, uc, [sc]), + la(6144, Hs, null, [uc]), + la(4608, Vs, hc, [Hs, Zt]), + la(4608, oc, oc, [Vs]), + la(4608, jO, jO, []), + la(4608, Ox, Ox, []), + la(4608, BM, BM, []), + la(5120, JP, $P, [$C]), + la(4608, ah, ah, []), + la(4608, TP, TP, [Ds, Dr, IC, IP]), + la(5120, rP, iP, [$C]), + la(4608, jS, jS, []), + la(4608, HS, HS, []), + la(4608, jI, jI, [Ds, fr]), + la(1073742336, Rs, Rs, []), + la(1073742336, wg, wg, []), + la(1024, zn, fd, []), + la( + 1024, + Yr, + function() { + return [Jm()]; + }, + [] + ), + la(512, ig, ig, [Zt]), + la( + 1024, + cr, + function(t, n) { + return [ + ((e = t), + Pu("probe", xu), + Pu( + "coreTokens", + Object(o.__assign)( + {}, + Mu, + (e || []).reduce(function(t, n) { + return (t[n.name] = n.token), t; + }, {}) + ) + ), + function() { + return xu; + }), + lg(n) + ]; + var e; + }, + [[2, Yr], ig] + ), + la(512, ur, ur, [[2, cr]]), + la(131584, Xr, Xr, [Dr, br, Zt, zn, Ee, ur]), + la(1073742336, fi, fi, [Xr]), + la(1073742336, hd, hd, [[3, hd]]), + la(1024, Qm, eg, [[3, Nm]]), + la(512, op, ap, []), + la(512, Vm, Vm, []), + la(256, Zm, {}, []), + la(1024, ts, ng, [Jl, [2, ns], Zm]), + la(512, es, es, [ts, Jl]), + la(512, xr, xr, []), + la(512, ir, ni, [xr, [2, $r]]), + la( + 1024, + Sm, + function() { + return [ + [ + { path: "setup", component: Sy }, + { path: "setupstep1", component: Ry }, + { path: "setupstep2", component: _v }, + { path: "setupstep3", component: Pv }, + { + path: "main", + component: qO, + children: [ + { path: "playlists", component: uk }, + { path: "browser", component: bk }, + { path: "tools", component: Pk }, + { path: "upload", component: Ik }, + { path: "credits", component: Nk }, + { path: "sync-saber", component: Jw }, + { path: "mods", component: $S } + ] + } + ] + ]; + }, + [] + ), + la(1024, Nm, ag, [ + Xr, + op, + Vm, + es, + Zt, + ir, + xr, + Sm, + Zm, + [2, Im], + [2, km] + ]), + la(1073742336, $m, $m, [[2, Qm], [2, Nm]]), + la(1073742336, AA, AA, []), + la(1073742336, My, My, []), + la(1073742336, lf, lf, []), + la(1073742336, Jf, Jf, [[2, Xf], [2, td]]), + la(1073742336, hf, hf, []), + la(1073742336, Ch, Ch, []), + la(1073742336, Qh, Qh, []), + la(1073742336, of, of, []), + la(1073742336, qh, qh, []), + la(1073742336, uA, uA, []), + la(1073742336, Vy, Vy, []), + la(1073742336, SC, SC, []), + la(1073742336, ev, ev, []), + la(1073742336, mv, mv, []), + la(1073742336, Kk, Kk, []), + la(1073742336, bc, bc, []), + la(1073742336, _c, _c, []), + la(1073742336, VO, VO, []), + la(1073742336, Qf, Qf, []), + la(1073742336, Tv, Tv, []), + la(1073742336, Rv, Rv, []), + la(1073742336, LO, LO, []), + la(1073742336, _M, _M, []), + la(1073742336, TA, TA, []), + la(1073742336, RA, RA, [[2, jv], fr]), + la(1073742336, dh, dh, []), + la(1073742336, SI, SI, []), + la(1073742336, DA, DA, []), + la(1073742336, vx, vx, []), + la(1073742336, Mx, Mx, []), + la(1073742336, eM, eM, []), + la(1073742336, oM, oM, []), + la(1073742336, NA, NA, []), + la(1073742336, Ix, Ix, []), + la(1073742336, Ax, Ax, []), + la(1073742336, yw, yw, []), + la(1073742336, EC, EC, []), + la(1073742336, zA, zA, []), + la(1073742336, HP, HP, []), + la(1073742336, kw, kw, []), + la(1073742336, Px, Px, []), + la(1073742336, Hw, Hw, []), + la(1073742336, Yw, Yw, []), + la(1073742336, uP, uP, []), + la(1073742336, lw, lw, []), + la(1073742336, vh, vh, []), + la(1073742336, OS, OS, []), + la(1073742336, vS, vS, []), + la(1073742336, LA, LA, []), + la(1073742336, qS, qS, []), + la(1073742336, VS, VS, []), + la(1073742336, Vl, Vl, []), + la(256, Pe, !0, []), + la(256, Py, "BrowserAnimations", []), + la(256, dc, "XSRF-TOKEN", []), + la(256, pc, "X-XSRF-TOKEN", []), + la(256, pw, { separatorKeyCodes: [Pf] }, []), + la( + 256, + hg, + { + default: kg, + config: { + positionClass: "toast-bottom-right", + preventDuplicates: !0 + } + }, + [] + ) + ]); + }); + (function() { + if (jn) + throw new Error("Cannot enable prod mode after platform setup."); + Ln = !1; + })(), + gd() + .bootstrapModuleFactory(jA) + .catch(function(t) { + return console.error(t); + }); + }, + zfKp: function(t, n, e) { + "use strict"; + n.observable = + ("function" == typeof Symbol && Symbol.observable) || "@@observable"; + }, + zn8P: function(t, n) { + function e(t) { + return Promise.resolve().then(function() { + var n = new Error("Cannot find module '" + t + "'"); + throw ((n.code = "MODULE_NOT_FOUND"), n); + }); + } + (e.keys = function() { + return []; + }), + (e.resolve = e), + (t.exports = e), + (e.id = "zn8P"); + } + }, + [[0, 0]] +]); diff --git a/BeatOn/Assets/www/polyfills-es2015.27661dfa98f6332c27dc.js b/BeatOn/Assets/www/polyfills-es2015.27661dfa98f6332c27dc.js deleted file mode 100644 index 330749b..0000000 --- a/BeatOn/Assets/www/polyfills-es2015.27661dfa98f6332c27dc.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{1:function(e,t,n){e.exports=n("hN/g")},"hN/g":function(e,t,n){"use strict";n.r(t),n("pDpN")},pDpN:function(e,t){!function(e){const t=e.performance;function n(e){t&&t.mark&&t.mark(e)}function o(e,n){t&&t.measure&&t.measure(e,n)}n("Zone");const r=!0===e.__zone_symbol__forceDuplicateZoneCheck;if(e.Zone){if(r||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}const s=(()=>{class t{constructor(e,t){this._parent=e,this._name=t?t.name||"unnamed":"",this._properties=t&&t.properties||{},this._zoneDelegate=new a(this,this._parent&&this._parent._zoneDelegate,t)}static assertZonePatched(){if(e.Promise!==D.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let e=t.current;for(;e.parent;)e=e.parent;return e}static get current(){return P.zone}static get currentTask(){return z}static __load_patch(s,i){if(D.hasOwnProperty(s)){if(r)throw Error("Already loaded patch: "+s)}else if(!e["__Zone_disable_"+s]){const r="Zone:"+s;n(r),D[s]=i(e,t,O),o(r,r)}}get parent(){return this._parent}get name(){return this._name}get(e){const t=this.getZoneWith(e);if(t)return t._properties[e]}getZoneWith(e){let t=this;for(;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const n=this._zoneDelegate.intercept(this,e,t),o=this;return function(){return o.runGuarded(n,this,arguments,t)}}run(e,t,n,o){P={parent:P,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,o)}finally{P=P.parent}}runGuarded(e,t=null,n,o){P={parent:P,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,o)}catch(r){if(this._zoneDelegate.handleError(this,r))throw r}}finally{P=P.parent}}runTask(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||m).name+"; Execution: "+this.name+")");if(e.state===y&&(e.type===S||e.type===Z))return;const o=e.state!=v;o&&e._transitionTo(v,b),e.runCount++;const r=z;z=e,P={parent:P,zone:this};try{e.type==Z&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(s){if(this._zoneDelegate.handleError(this,s))throw s}}finally{e.state!==y&&e.state!==w&&(e.type==S||e.data&&e.data.isPeriodic?o&&e._transitionTo(b,v):(e.runCount=0,this._updateTaskCount(e,-1),o&&e._transitionTo(y,v,y))),P=P.parent,z=r}}scheduleTask(e){if(e.zone&&e.zone!==this){let t=this;for(;t;){if(t===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);t=t.parent}}e._transitionTo(k,y);const t=[];e._zoneDelegates=t,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(n){throw e._transitionTo(w,k,y),this._zoneDelegate.handleError(this,n),n}return e._zoneDelegates===t&&this._updateTaskCount(e,1),e.state==k&&e._transitionTo(b,k),e}scheduleMicroTask(e,t,n,o){return this.scheduleTask(new c(E,e,t,n,o,void 0))}scheduleMacroTask(e,t,n,o,r){return this.scheduleTask(new c(Z,e,t,n,o,r))}scheduleEventTask(e,t,n,o,r){return this.scheduleTask(new c(S,e,t,n,o,r))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||m).name+"; Execution: "+this.name+")");e._transitionTo(T,b,v);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(w,T),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(y,T),e.runCount=0,e}_updateTaskCount(e,t){const n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(let o=0;oe.hasTask(n,o),onScheduleTask:(e,t,n,o)=>e.scheduleTask(n,o),onInvokeTask:(e,t,n,o,r,s)=>e.invokeTask(n,o,r,s),onCancelTask:(e,t,n,o)=>e.cancelTask(n,o)};class a{constructor(e,t,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=t,this._forkZS=n&&(n&&n.onFork?n:t._forkZS),this._forkDlgt=n&&(n.onFork?t:t._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:t.zone),this._interceptZS=n&&(n.onIntercept?n:t._interceptZS),this._interceptDlgt=n&&(n.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:t.zone),this._invokeZS=n&&(n.onInvoke?n:t._invokeZS),this._invokeDlgt=n&&(n.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:t.zone),this._handleErrorZS=n&&(n.onHandleError?n:t._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:t.zone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:t._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:t.zone),this._invokeTaskZS=n&&(n.onInvokeTask?n:t._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:t.zone),this._cancelTaskZS=n&&(n.onCancelTask?n:t._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:t.zone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const o=n&&n.onHasTask;(o||t&&t._hasTaskZS)&&(this._hasTaskZS=o?n:i,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,n.onScheduleTask||(this._scheduleTaskZS=i,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=i,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=i,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new s(e,t)}intercept(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,t,n):t}invoke(e,t,n,o,r){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,t,n,o,r):t.apply(n,o)}handleError(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,t)}scheduleTask(e,t){let n=t;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),(n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,t))||(n=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=E)throw new Error("Task is missing scheduleFn.");g(t)}return n}invokeTask(e,t,n,o){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,t,n,o):t.callback.apply(n,o)}cancelTask(e,t){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,e,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");n=t.cancelFn(t)}return n}hasTask(e,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,t)}catch(n){this.handleError(e,n)}}_updateTaskCount(e,t){const n=this._taskCounts,o=n[e],r=n[e]=o+t;if(r<0)throw new Error("More tasks executed then were scheduled.");0!=o&&0!=r||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e})}}class c{constructor(t,n,o,r,s,i){this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=n,this.data=r,this.scheduleFn=s,this.cancelFn=i,this.callback=o;const a=this;this.invoke=t===S&&r&&r.useG?c.invokeTask:function(){return c.invokeTask.call(e,a,this,arguments)}}static invokeTask(e,t,n){e||(e=this),j++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==j&&_(),j--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(y,k)}_transitionTo(e,t,n){if(this._state!==t&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${e}', expecting state '${t}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=e,e==y&&(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 l=I("setTimeout"),u=I("Promise"),h=I("then");let p,f=[],d=!1;function g(t){if(0===j&&0===f.length)if(p||e[u]&&(p=e[u].resolve(0)),p){let e=p[h];e||(e=p.then),e.call(p,_)}else e[l](_,0);t&&f.push(t)}function _(){if(!d){for(d=!0;f.length;){const t=f;f=[];for(let n=0;nP,onUnhandledError:C,microtaskDrainDone:C,scheduleMicroTask:g,showUncaughtError:()=>!s[I("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:C,patchMethod:()=>C,bindArguments:()=>[],patchThen:()=>C,patchMacroTask:()=>C,setNativePromise:e=>{e&&"function"==typeof e.resolve&&(p=e.resolve(0))},patchEventPrototype:()=>C,isIEOrEdge:()=>!1,getGlobalObjects:()=>void 0,ObjectDefineProperty:()=>C,ObjectGetOwnPropertyDescriptor:()=>void 0,ObjectCreate:()=>void 0,ArraySlice:()=>[],patchClass:()=>C,wrapWithCurrentZone:()=>C,filterProperties:()=>[],attachOriginToPatched:()=>C,_redefineProperty:()=>C,patchCallbacks:()=>C};let P={parent:null,zone:new s(null,null)},z=null,j=0;function C(){}function I(e){return"__zone_symbol__"+e}o("Zone","Zone"),e.Zone=s}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global),Zone.__load_patch("ZoneAwarePromise",(e,t,n)=>{const o=Object.getOwnPropertyDescriptor,r=Object.defineProperty,s=n.symbol,i=[],a=s("Promise"),c=s("then"),l="__creationTrace__";n.onUnhandledError=(e=>{if(n.showUncaughtError()){const t=e&&e.rejection;t?console.error("Unhandled Promise rejection:",t instanceof Error?t.message:t,"; Zone:",e.zone.name,"; Task:",e.task&&e.task.source,"; Value:",t,t instanceof Error?t.stack:void 0):console.error(e)}}),n.microtaskDrainDone=(()=>{for(;i.length;)for(;i.length;){const t=i.shift();try{t.zone.runGuarded(()=>{throw t})}catch(e){h(e)}}});const u=s("unhandledPromiseRejectionHandler");function h(e){n.onUnhandledError(e);try{const n=t[u];n&&"function"==typeof n&&n.call(this,e)}catch(o){}}function p(e){return e&&e.then}function f(e){return e}function d(e){return R.reject(e)}const g=s("state"),_=s("value"),m=s("finally"),y=s("parentPromiseValue"),k=s("parentPromiseState"),b="Promise.then",v=null,T=!0,w=!1,E=0;function Z(e,t){return n=>{try{P(e,t,n)}catch(o){P(e,!1,o)}}}const S=function(){let e=!1;return function(t){return function(){e||(e=!0,t.apply(null,arguments))}}},D="Promise resolved with itself",O=s("currentTaskTrace");function P(e,o,s){const a=S();if(e===s)throw new TypeError(D);if(e[g]===v){let h=null;try{"object"!=typeof s&&"function"!=typeof s||(h=s&&s.then)}catch(u){return a(()=>{P(e,!1,u)})(),e}if(o!==w&&s instanceof R&&s.hasOwnProperty(g)&&s.hasOwnProperty(_)&&s[g]!==v)j(s),P(e,s[g],s[_]);else if(o!==w&&"function"==typeof h)try{h.call(s,a(Z(e,o)),a(Z(e,!1)))}catch(u){a(()=>{P(e,!1,u)})()}else{e[g]=o;const a=e[_];if(e[_]=s,e[m]===m&&o===T&&(e[g]=e[k],e[_]=e[y]),o===w&&s instanceof Error){const e=t.currentTask&&t.currentTask.data&&t.currentTask.data[l];e&&r(s,O,{configurable:!0,enumerable:!1,writable:!0,value:e})}for(let t=0;t{try{const r=e[_],a=n&&m===n[m];a&&(n[y]=r,n[k]=s);const c=t.run(i,void 0,a&&i!==d&&i!==f?[]:[r]);P(n,!0,c)}catch(o){P(n,!1,o)}},n)}const I="function ZoneAwarePromise() { [native code] }";class R{constructor(e){const t=this;if(!(t instanceof R))throw new Error("Must be an instanceof Promise.");t[g]=v,t[_]=[];try{e&&e(Z(t,T),Z(t,w))}catch(n){P(t,!1,n)}}static toString(){return I}static resolve(e){return P(new this(null),T,e)}static reject(e){return P(new this(null),w,e)}static race(e){let t,n,o=new this((e,o)=>{t=e,n=o});function r(e){t(e)}function s(e){n(e)}for(let i of e)p(i)||(i=this.resolve(i)),i.then(r,s);return o}static all(e){let t,n,o=new this((e,o)=>{t=e,n=o}),r=2,s=0;const i=[];for(let a of e){p(a)||(a=this.resolve(a));const e=s;a.then(n=>{i[e]=n,0==--r&&t(i)},n),r++,s++}return 0==(r-=2)&&t(i),o}get[Symbol.toStringTag](){return"Promise"}then(e,n){const o=new this.constructor(null),r=t.current;return this[g]==v?this[_].push(r,o,e,n):C(this,r,o,e,n),o}catch(e){return this.then(null,e)}finally(e){const n=new this.constructor(null);n[m]=m;const o=t.current;return this[g]==v?this[_].push(o,n,e,e):C(this,o,n,e,e),n}}R.resolve=R.resolve,R.reject=R.reject,R.race=R.race,R.all=R.all;const x=e[a]=e.Promise,M=t.__symbol__("ZoneAwarePromise");let L=o(e,"Promise");L&&!L.configurable||(L&&delete L.writable,L&&delete L.value,L||(L={configurable:!0,enumerable:!0}),L.get=function(){return e[M]?e[M]:e[a]},L.set=function(t){t===R?e[M]=t:(e[a]=t,t.prototype[c]||A(t),n.setNativePromise(t))},r(e,"Promise",L)),e.Promise=R;const N=s("thenPatched");function A(e){const t=e.prototype,n=o(t,"then");if(n&&(!1===n.writable||!n.configurable))return;const r=t.then;t[c]=r,e.prototype.then=function(e,t){return new R((e,t)=>{r.call(this,e,t)}).then(e,t)},e[N]=!0}if(n.patchThen=A,x){A(x);const t=e.fetch;"function"==typeof t&&(e[n.symbol("fetch")]=t,e.fetch=function(e){return function(){let t=e.apply(this,arguments);if(t instanceof R)return t;let n=t.constructor;return n[N]||A(n),t}}(t))}return Promise[t.__symbol__("uncaughtPromiseErrors")]=i,R});const n=Object.getOwnPropertyDescriptor,o=Object.defineProperty,r=Object.getPrototypeOf,s=Object.create,i=Array.prototype.slice,a="addEventListener",c="removeEventListener",l=Zone.__symbol__(a),u=Zone.__symbol__(c),h="true",p="false",f="__zone_symbol__";function d(e,t){return Zone.current.wrap(e,t)}function g(e,t,n,o,r){return Zone.current.scheduleMacroTask(e,t,n,o,r)}const _=Zone.__symbol__,m="undefined"!=typeof window,y=m?window:void 0,k=m&&y||"object"==typeof self&&self||global,b="removeAttribute",v=[null];function T(e,t){for(let n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=d(e[n],t+"_"+n));return e}function w(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const E="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,Z=!("nw"in k)&&void 0!==k.process&&"[object process]"==={}.toString.call(k.process),S=!Z&&!E&&!(!m||!y.HTMLElement),D=void 0!==k.process&&"[object process]"==={}.toString.call(k.process)&&!E&&!(!m||!y.HTMLElement),O={},P=function(e){if(!(e=e||k.event))return;let t=O[e.type];t||(t=O[e.type]=_("ON_PROPERTY"+e.type));const n=this||e.target||k,o=n[t];let r;if(S&&n===y&&"error"===e.type){const t=e;!0===(r=o&&o.call(this,t.message,t.filename,t.lineno,t.colno,t.error))&&e.preventDefault()}else null==(r=o&&o.apply(this,arguments))||r||e.preventDefault();return r};function z(e,t,r){let s=n(e,t);if(!s&&r&&n(r,t)&&(s={enumerable:!0,configurable:!0}),!s||!s.configurable)return;const i=_("on"+t+"patched");if(e.hasOwnProperty(i)&&e[i])return;delete s.writable,delete s.value;const a=s.get,c=s.set,l=t.substr(2);let u=O[l];u||(u=O[l]=_("ON_PROPERTY"+l)),s.set=function(t){let n=this;n||e!==k||(n=k),n&&(n[u]&&n.removeEventListener(l,P),c&&c.apply(n,v),"function"==typeof t?(n[u]=t,n.addEventListener(l,P,!1)):n[u]=null)},s.get=function(){let n=this;if(n||e!==k||(n=k),!n)return null;const o=n[u];if(o)return o;if(a){let e=a&&a.call(this);if(e)return s.set.call(this,e),"function"==typeof n[b]&&n.removeAttribute(t),e}return null},o(e,t,s),e[i]=!0}function j(e,t,n){if(t)for(let o=0;o{const t=Object.getOwnPropertyDescriptor(c,e);Object.defineProperty(l,e,{get:function(){return c[e]},set:function(n){(!t||t.writable&&"function"==typeof t.set)&&(c[e]=n)},enumerable:!t||t.enumerable,configurable:!t||t.configurable})}))}var c,l;return a}function M(e,t,n){let o=null;function r(e){const t=e.data;return t.args[t.cbIdx]=function(){e.invoke.apply(this,arguments)},o.apply(t.target,t.args),e}o=x(e,t,e=>(function(t,o){const s=n(t,o);return s.cbIdx>=0&&"function"==typeof o[s.cbIdx]?g(s.name,o[s.cbIdx],s,r):e.apply(t,o)}))}function L(e,t){e[_("OriginalDelegate")]=t}let N=!1,A=!1;function F(){if(N)return A;N=!0;try{const t=y.navigator.userAgent;-1===t.indexOf("MSIE ")&&-1===t.indexOf("Trident/")&&-1===t.indexOf("Edge/")||(A=!0)}catch(e){}return A}Zone.__load_patch("toString",e=>{const t=Function.prototype.toString,n=_("OriginalDelegate"),o=_("Promise"),r=_("Error"),s=function(){if("function"==typeof this){const s=this[n];if(s)return"function"==typeof s?t.call(s):Object.prototype.toString.call(s);if(this===Promise){const n=e[o];if(n)return t.call(n)}if(this===Error){const n=e[r];if(n)return t.call(n)}}return t.call(this)};s[n]=t,Function.prototype.toString=s;const i=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":i.call(this)}});let H=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){H=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(Te){H=!1}const G={useG:!0},q={},B={},$=/^__zone_symbol__(\w+)(true|false)$/,U="__zone_symbol__propagationStopped";function W(e,t,n){const o=n&&n.add||a,s=n&&n.rm||c,i=n&&n.listeners||"eventListeners",l=n&&n.rmAll||"removeAllListeners",u=_(o),d="."+o+":",g="prependListener",m="."+g+":",y=function(e,t,n){if(e.isRemoved)return;const o=e.callback;"object"==typeof o&&o.handleEvent&&(e.callback=(e=>o.handleEvent(e)),e.originalDelegate=o),e.invoke(e,t,[n]);const r=e.options;r&&"object"==typeof r&&r.once&&t[s].call(t,n.type,e.originalDelegate?e.originalDelegate:e.callback,r)},k=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,o=n[q[t.type][p]];if(o)if(1===o.length)y(o[0],n,t);else{const e=o.slice();for(let o=0;o(function(t,n){t[U]=!0,e&&e.apply(t,n)}))}function J(e,t,n,o,r){const s=Zone.__symbol__(o);if(t[s])return;const i=t[s]=t[o];t[o]=function(s,a,c){return a&&a.prototype&&r.forEach(function(t){const r=`${n}.${o}::`+t,s=a.prototype;if(s.hasOwnProperty(t)){const n=e.ObjectGetOwnPropertyDescriptor(s,t);n&&n.value?(n.value=e.wrapWithCurrentZone(n.value,r),e._redefineProperty(a.prototype,t,n)):s[t]&&(s[t]=e.wrapWithCurrentZone(s[t],r))}else s[t]&&(s[t]=e.wrapWithCurrentZone(s[t],r))}),i.call(t,s,a,c)},e.attachOriginToPatched(t[o],i)}const Y=Zone.__symbol__,K=Object[Y("defineProperty")]=Object.defineProperty,Q=Object[Y("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor,ee=Object.create,te=Y("unconfigurables");function ne(e,t,n){const o=n.configurable;return se(e,t,n=re(e,t,n),o)}function oe(e,t){return e&&e[te]&&e[te][t]}function re(e,t,n){return Object.isFrozen(n)||(n.configurable=!0),n.configurable||(e[te]||Object.isFrozen(e)||K(e,te,{writable:!0,value:{}}),e[te]&&(e[te][t]=!0)),n}function se(e,t,n,o){try{return K(e,t,n)}catch(r){if(!n.configurable)throw r;void 0===o?delete n.configurable:n.configurable=o;try{return K(e,t,n)}catch(r){let o=null;try{o=JSON.stringify(n)}catch(r){o=n.toString()}console.log(`Attempting to configure '${t}' with descriptor '${o}' on object '${e}' and got error, giving up: ${r}`)}}}const ie=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplyconnected","vrdisplaydisconnected","vrdisplaypresentchange"],ae=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],ce=["load"],le=["blur","error","focus","load","resize","scroll","messageerror"],ue=["bounce","finish","start"],he=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],pe=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],fe=["close","error","open","message"],de=["error","message"],ge=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],ie,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function _e(e,t,n){if(!n||0===n.length)return t;const o=n.filter(t=>t.target===e);if(!o||0===o.length)return t;const r=o[0].ignoreProperties;return t.filter(e=>-1===r.indexOf(e))}function me(e,t,n,o){e&&j(e,_e(e,t,n),o)}function ye(e,t){if(Z&&!D)return;if(Zone[e.symbol("patchEvents")])return;const n="undefined"!=typeof WebSocket,o=t.__Zone_ignore_on_properties;if(S){const e=window,t=function(){try{const n=e.navigator.userAgent;if(-1!==n.indexOf("MSIE ")||-1!==n.indexOf("Trident/"))return!0}catch(t){}return!1}?[{target:e,ignoreProperties:["error"]}]:[];me(e,ge.concat(["messageerror"]),o?o.concat(t):o,r(e)),me(Document.prototype,ge,o),void 0!==e.SVGElement&&me(e.SVGElement.prototype,ge,o),me(Element.prototype,ge,o),me(HTMLElement.prototype,ge,o),me(HTMLMediaElement.prototype,ae,o),me(HTMLFrameSetElement.prototype,ie.concat(le),o),me(HTMLBodyElement.prototype,ie.concat(le),o),me(HTMLFrameElement.prototype,ce,o),me(HTMLIFrameElement.prototype,ce,o);const n=e.HTMLMarqueeElement;n&&me(n.prototype,ue,o);const s=e.Worker;s&&me(s.prototype,de,o)}const s=t.XMLHttpRequest;s&&me(s.prototype,he,o);const i=t.XMLHttpRequestEventTarget;i&&me(i&&i.prototype,he,o),"undefined"!=typeof IDBIndex&&(me(IDBIndex.prototype,pe,o),me(IDBRequest.prototype,pe,o),me(IDBOpenDBRequest.prototype,pe,o),me(IDBDatabase.prototype,pe,o),me(IDBTransaction.prototype,pe,o),me(IDBCursor.prototype,pe,o)),n&&me(WebSocket.prototype,fe,o)}Zone.__load_patch("util",(e,t,r)=>{r.patchOnProperties=j,r.patchMethod=x,r.bindArguments=T,r.patchMacroTask=M;const l=t.__symbol__("BLACK_LISTED_EVENTS"),u=t.__symbol__("UNPATCHED_EVENTS");e[u]&&(e[l]=e[u]),e[l]&&(t[l]=t[u]=e[l]),r.patchEventPrototype=X,r.patchEventTarget=W,r.isIEOrEdge=F,r.ObjectDefineProperty=o,r.ObjectGetOwnPropertyDescriptor=n,r.ObjectCreate=s,r.ArraySlice=i,r.patchClass=I,r.wrapWithCurrentZone=d,r.filterProperties=_e,r.attachOriginToPatched=L,r._redefineProperty=ne,r.patchCallbacks=J,r.getGlobalObjects=(()=>({globalSources:B,zoneSymbolEventNames:q,eventNames:ge,isBrowser:S,isMix:D,isNode:Z,TRUE_STR:h,FALSE_STR:p,ZONE_SYMBOL_PREFIX:f,ADD_EVENT_LISTENER_STR:a,REMOVE_EVENT_LISTENER_STR:c}))});const ke=_("zoneTask");function be(e,t,n,o){let r=null,s=null;n+=o;const i={};function a(t){const n=t.data;return n.args[0]=function(){try{t.invoke.apply(this,arguments)}finally{t.data&&t.data.isPeriodic||("number"==typeof n.handleId?delete i[n.handleId]:n.handleId&&(n.handleId[ke]=null))}},n.handleId=r.apply(e,n.args),t}function c(e){return s(e.data.handleId)}r=x(e,t+=o,n=>(function(r,s){if("function"==typeof s[0]){const e=g(t,s[0],{isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?s[1]||0:void 0,args:s},a,c);if(!e)return e;const n=e.data.handleId;return"number"==typeof n?i[n]=e:n&&(n[ke]=e),n&&n.ref&&n.unref&&"function"==typeof n.ref&&"function"==typeof n.unref&&(e.ref=n.ref.bind(n),e.unref=n.unref.bind(n)),"number"==typeof n||n?n:e}return n.apply(e,s)})),s=x(e,n,t=>(function(n,o){const r=o[0];let s;"number"==typeof r?s=i[r]:(s=r&&r[ke])||(s=r),s&&"string"==typeof s.type?"notScheduled"!==s.state&&(s.cancelFn&&s.data.isPeriodic||0===s.runCount)&&("number"==typeof r?delete i[r]:r&&(r[ke]=null),s.zone.cancelTask(s)):t.apply(e,o)}))}function ve(e,t){if(Zone[t.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:o,TRUE_STR:r,FALSE_STR:s,ZONE_SYMBOL_PREFIX:i}=t.getGlobalObjects();for(let c=0;c{const t=e[Zone.__symbol__("legacyPatch")];t&&t()}),Zone.__load_patch("timers",e=>{be(e,"set","clear","Timeout"),be(e,"set","clear","Interval"),be(e,"set","clear","Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{be(e,"request","cancel","AnimationFrame"),be(e,"mozRequest","mozCancel","AnimationFrame"),be(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,t)=>{const n=["alert","prompt","confirm"];for(let o=0;o(function(o,s){return t.current.run(n,e,s,r)}))}),Zone.__load_patch("EventTarget",(e,t,n)=>{!function(e,t){t.patchEventPrototype(e,t)}(e,n),ve(e,n);const o=e.XMLHttpRequestEventTarget;o&&o.prototype&&n.patchEventTarget(e,[o.prototype]),I("MutationObserver"),I("WebKitMutationObserver"),I("IntersectionObserver"),I("FileReader")}),Zone.__load_patch("on_property",(e,t,n)=>{ye(n,e),Object.defineProperty=function(e,t,n){if(oe(e,t))throw new TypeError("Cannot assign to read only property '"+t+"' of "+e);const o=n.configurable;return"prototype"!==t&&(n=re(e,t,n)),se(e,t,n,o)},Object.defineProperties=function(e,t){return Object.keys(t).forEach(function(n){Object.defineProperty(e,n,t[n])}),e},Object.create=function(e,t){return"object"!=typeof t||Object.isFrozen(t)||Object.keys(t).forEach(function(n){t[n]=re(e,n,t[n])}),ee(e,t)},Object.getOwnPropertyDescriptor=function(e,t){const n=Q(e,t);return n&&oe(e,t)&&(n.configurable=!1),n}}),Zone.__load_patch("customElements",(e,t,n)=>{!function(e,t){const{isBrowser:n,isMix:o}=t.getGlobalObjects();(n||o)&&e.customElements&&"customElements"in e&&t.patchCallbacks(t,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,n)}),Zone.__load_patch("XHR",(e,t)=>{!function(c){const h=e.XMLHttpRequest;if(!h)return;const p=h.prototype;let f=p[l],d=p[u];if(!f){const t=e.XMLHttpRequestEventTarget;if(t){const e=t.prototype;f=e[l],d=e[u]}}const m="readystatechange",y="scheduled";function k(e){const t=e.data,o=t.target;o[s]=!1,o[a]=!1;const i=o[r];f||(f=o[l],d=o[u]),i&&d.call(o,m,i);const c=o[r]=(()=>{if(o.readyState===o.DONE)if(!t.aborted&&o[s]&&e.state===y){const n=o.__zone_symbol__loadfalse;if(n&&n.length>0){const r=e.invoke;e.invoke=function(){const n=o.__zone_symbol__loadfalse;for(let t=0;t(function(e,t){return e[o]=0==t[2],e[i]=t[1],T.apply(e,t)})),w=_("fetchTaskAborting"),E=_("fetchTaskScheduling"),Z=x(p,"send",()=>(function(e,n){if(!0===t.current[E])return Z.apply(e,n);if(e[o])return Z.apply(e,n);{const t={target:e,url:e[i],isPeriodic:!1,args:n,aborted:!1},o=g("XMLHttpRequest.send",b,t,k,v);e&&!0===e[a]&&!t.aborted&&o.state===y&&o.invoke()}})),S=x(p,"abort",()=>(function(e,o){const r=e[n];if(r&&"string"==typeof r.type){if(null==r.cancelFn||r.data&&r.data.aborted)return;r.zone.cancelTask(r)}else if(!0===t.current[w])return S.apply(e,o)}))}();const n=_("xhrTask"),o=_("xhrSync"),r=_("xhrListener"),s=_("xhrScheduled"),i=_("xhrURL"),a=_("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function(e,t){const o=e.constructor.name;for(let r=0;r{const t=function(){return e.apply(this,T(arguments,o+"."+s))};return L(t,e),t})(i)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,t)=>{function n(t){return function(n){V(e,t).forEach(o=>{const r=e.PromiseRejectionEvent;if(r){const e=new r(t,{promise:n.promise,reason:n.rejection});o.invoke(e)}})}}e.PromiseRejectionEvent&&(t[_("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[_("rejectionHandledHandler")]=n("rejectionhandled"))})}},[[1,0]]]); \ No newline at end of file diff --git a/BeatOn/Assets/www/polyfills-es2015.js b/BeatOn/Assets/www/polyfills-es2015.js new file mode 100644 index 0000000..7666e1a --- /dev/null +++ b/BeatOn/Assets/www/polyfills-es2015.js @@ -0,0 +1,2305 @@ +(window.webpackJsonp = window.webpackJsonp || []).push([ + [2], + { + 1: function(e, t, n) { + e.exports = n("hN/g"); + }, + "hN/g": function(e, t, n) { + "use strict"; + n.r(t), n("pDpN"), (window.global = window); + }, + pDpN: function(e, t) { + !(function(e) { + const t = e.performance; + function n(e) { + t && t.mark && t.mark(e); + } + function o(e, n) { + t && t.measure && t.measure(e, n); + } + n("Zone"); + const r = !0 === e.__zone_symbol__forceDuplicateZoneCheck; + if (e.Zone) { + if (r || "function" != typeof e.Zone.__symbol__) + throw new Error("Zone already loaded."); + return e.Zone; + } + const s = (() => { + class t { + constructor(e, t) { + (this._parent = e), + (this._name = t ? t.name || "unnamed" : ""), + (this._properties = (t && t.properties) || {}), + (this._zoneDelegate = new a( + this, + this._parent && this._parent._zoneDelegate, + t + )); + } + static assertZonePatched() { + if (e.Promise !== D.ZoneAwarePromise) + throw new Error( + "Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)" + ); + } + static get root() { + let e = t.current; + for (; e.parent; ) e = e.parent; + return e; + } + static get current() { + return P.zone; + } + static get currentTask() { + return z; + } + static __load_patch(s, i) { + if (D.hasOwnProperty(s)) { + if (r) throw Error("Already loaded patch: " + s); + } else if (!e["__Zone_disable_" + s]) { + const r = "Zone:" + s; + n(r), (D[s] = i(e, t, O)), o(r, r); + } + } + get parent() { + return this._parent; + } + get name() { + return this._name; + } + get(e) { + const t = this.getZoneWith(e); + if (t) return t._properties[e]; + } + getZoneWith(e) { + let t = this; + for (; t; ) { + if (t._properties.hasOwnProperty(e)) return t; + t = t._parent; + } + return null; + } + fork(e) { + if (!e) throw new Error("ZoneSpec required!"); + return this._zoneDelegate.fork(this, e); + } + wrap(e, t) { + if ("function" != typeof e) + throw new Error("Expecting function got: " + e); + const n = this._zoneDelegate.intercept(this, e, t), + o = this; + return function() { + return o.runGuarded(n, this, arguments, t); + }; + } + run(e, t, n, o) { + P = { parent: P, zone: this }; + try { + return this._zoneDelegate.invoke(this, e, t, n, o); + } finally { + P = P.parent; + } + } + runGuarded(e, t = null, n, o) { + P = { parent: P, zone: this }; + try { + try { + return this._zoneDelegate.invoke(this, e, t, n, o); + } catch (r) { + if (this._zoneDelegate.handleError(this, r)) throw r; + } + } finally { + P = P.parent; + } + } + runTask(e, t, n) { + if (e.zone != this) + throw new Error( + "A task can only be run in the zone of creation! (Creation: " + + (e.zone || m).name + + "; Execution: " + + this.name + + ")" + ); + if (e.state === y && (e.type === S || e.type === Z)) return; + const o = e.state != v; + o && e._transitionTo(v, b), e.runCount++; + const r = z; + (z = e), (P = { parent: P, zone: this }); + try { + e.type == Z && + e.data && + !e.data.isPeriodic && + (e.cancelFn = void 0); + try { + return this._zoneDelegate.invokeTask(this, e, t, n); + } catch (s) { + if (this._zoneDelegate.handleError(this, s)) throw s; + } + } finally { + e.state !== y && + e.state !== w && + (e.type == S || (e.data && e.data.isPeriodic) + ? o && e._transitionTo(b, v) + : ((e.runCount = 0), + this._updateTaskCount(e, -1), + o && e._transitionTo(y, v, y))), + (P = P.parent), + (z = r); + } + } + scheduleTask(e) { + if (e.zone && e.zone !== this) { + let t = this; + for (; t; ) { + if (t === e.zone) + throw Error( + `can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}` + ); + t = t.parent; + } + } + e._transitionTo(k, y); + const t = []; + (e._zoneDelegates = t), (e._zone = this); + try { + e = this._zoneDelegate.scheduleTask(this, e); + } catch (n) { + throw (e._transitionTo(w, k, y), + this._zoneDelegate.handleError(this, n), + n); + } + return ( + e._zoneDelegates === t && this._updateTaskCount(e, 1), + e.state == k && e._transitionTo(b, k), + e + ); + } + scheduleMicroTask(e, t, n, o) { + return this.scheduleTask(new c(E, e, t, n, o, void 0)); + } + scheduleMacroTask(e, t, n, o, r) { + return this.scheduleTask(new c(Z, e, t, n, o, r)); + } + scheduleEventTask(e, t, n, o, r) { + return this.scheduleTask(new c(S, e, t, n, o, r)); + } + cancelTask(e) { + if (e.zone != this) + throw new Error( + "A task can only be cancelled in the zone of creation! (Creation: " + + (e.zone || m).name + + "; Execution: " + + this.name + + ")" + ); + e._transitionTo(T, b, v); + try { + this._zoneDelegate.cancelTask(this, e); + } catch (t) { + throw (e._transitionTo(w, T), + this._zoneDelegate.handleError(this, t), + t); + } + return ( + this._updateTaskCount(e, -1), + e._transitionTo(y, T), + (e.runCount = 0), + e + ); + } + _updateTaskCount(e, t) { + const n = e._zoneDelegates; + -1 == t && (e._zoneDelegates = null); + for (let o = 0; o < n.length; o++) + n[o]._updateTaskCount(e.type, t); + } + } + return (t.__symbol__ = I), t; + })(), + i = { + name: "", + onHasTask: (e, t, n, o) => e.hasTask(n, o), + onScheduleTask: (e, t, n, o) => e.scheduleTask(n, o), + onInvokeTask: (e, t, n, o, r, s) => e.invokeTask(n, o, r, s), + onCancelTask: (e, t, n, o) => e.cancelTask(n, o) + }; + class a { + constructor(e, t, n) { + (this._taskCounts = { microTask: 0, macroTask: 0, eventTask: 0 }), + (this.zone = e), + (this._parentDelegate = t), + (this._forkZS = n && (n && n.onFork ? n : t._forkZS)), + (this._forkDlgt = n && (n.onFork ? t : t._forkDlgt)), + (this._forkCurrZone = n && (n.onFork ? this.zone : t.zone)), + (this._interceptZS = n && (n.onIntercept ? n : t._interceptZS)), + (this._interceptDlgt = + n && (n.onIntercept ? t : t._interceptDlgt)), + (this._interceptCurrZone = + n && (n.onIntercept ? this.zone : t.zone)), + (this._invokeZS = n && (n.onInvoke ? n : t._invokeZS)), + (this._invokeDlgt = n && (n.onInvoke ? t : t._invokeDlgt)), + (this._invokeCurrZone = n && (n.onInvoke ? this.zone : t.zone)), + (this._handleErrorZS = + n && (n.onHandleError ? n : t._handleErrorZS)), + (this._handleErrorDlgt = + n && (n.onHandleError ? t : t._handleErrorDlgt)), + (this._handleErrorCurrZone = + n && (n.onHandleError ? this.zone : t.zone)), + (this._scheduleTaskZS = + n && (n.onScheduleTask ? n : t._scheduleTaskZS)), + (this._scheduleTaskDlgt = + n && (n.onScheduleTask ? t : t._scheduleTaskDlgt)), + (this._scheduleTaskCurrZone = + n && (n.onScheduleTask ? this.zone : t.zone)), + (this._invokeTaskZS = + n && (n.onInvokeTask ? n : t._invokeTaskZS)), + (this._invokeTaskDlgt = + n && (n.onInvokeTask ? t : t._invokeTaskDlgt)), + (this._invokeTaskCurrZone = + n && (n.onInvokeTask ? this.zone : t.zone)), + (this._cancelTaskZS = + n && (n.onCancelTask ? n : t._cancelTaskZS)), + (this._cancelTaskDlgt = + n && (n.onCancelTask ? t : t._cancelTaskDlgt)), + (this._cancelTaskCurrZone = + n && (n.onCancelTask ? this.zone : t.zone)), + (this._hasTaskZS = null), + (this._hasTaskDlgt = null), + (this._hasTaskDlgtOwner = null), + (this._hasTaskCurrZone = null); + const o = n && n.onHasTask; + (o || (t && t._hasTaskZS)) && + ((this._hasTaskZS = o ? n : i), + (this._hasTaskDlgt = t), + (this._hasTaskDlgtOwner = this), + (this._hasTaskCurrZone = e), + n.onScheduleTask || + ((this._scheduleTaskZS = i), + (this._scheduleTaskDlgt = t), + (this._scheduleTaskCurrZone = this.zone)), + n.onInvokeTask || + ((this._invokeTaskZS = i), + (this._invokeTaskDlgt = t), + (this._invokeTaskCurrZone = this.zone)), + n.onCancelTask || + ((this._cancelTaskZS = i), + (this._cancelTaskDlgt = t), + (this._cancelTaskCurrZone = this.zone))); + } + fork(e, t) { + return this._forkZS + ? this._forkZS.onFork(this._forkDlgt, this.zone, e, t) + : new s(e, t); + } + intercept(e, t, n) { + return this._interceptZS + ? this._interceptZS.onIntercept( + this._interceptDlgt, + this._interceptCurrZone, + e, + t, + n + ) + : t; + } + invoke(e, t, n, o, r) { + return this._invokeZS + ? this._invokeZS.onInvoke( + this._invokeDlgt, + this._invokeCurrZone, + e, + t, + n, + o, + r + ) + : t.apply(n, o); + } + handleError(e, t) { + return ( + !this._handleErrorZS || + this._handleErrorZS.onHandleError( + this._handleErrorDlgt, + this._handleErrorCurrZone, + e, + t + ) + ); + } + scheduleTask(e, t) { + let n = t; + if (this._scheduleTaskZS) + this._hasTaskZS && n._zoneDelegates.push(this._hasTaskDlgtOwner), + (n = this._scheduleTaskZS.onScheduleTask( + this._scheduleTaskDlgt, + this._scheduleTaskCurrZone, + e, + t + )) || (n = t); + else if (t.scheduleFn) t.scheduleFn(t); + else { + if (t.type != E) throw new Error("Task is missing scheduleFn."); + g(t); + } + return n; + } + invokeTask(e, t, n, o) { + return this._invokeTaskZS + ? this._invokeTaskZS.onInvokeTask( + this._invokeTaskDlgt, + this._invokeTaskCurrZone, + e, + t, + n, + o + ) + : t.callback.apply(n, o); + } + cancelTask(e, t) { + let n; + if (this._cancelTaskZS) + n = this._cancelTaskZS.onCancelTask( + this._cancelTaskDlgt, + this._cancelTaskCurrZone, + e, + t + ); + else { + if (!t.cancelFn) throw Error("Task is not cancelable"); + n = t.cancelFn(t); + } + return n; + } + hasTask(e, t) { + try { + this._hasTaskZS && + this._hasTaskZS.onHasTask( + this._hasTaskDlgt, + this._hasTaskCurrZone, + e, + t + ); + } catch (n) { + this.handleError(e, n); + } + } + _updateTaskCount(e, t) { + const n = this._taskCounts, + o = n[e], + r = (n[e] = o + t); + if (r < 0) + throw new Error("More tasks executed then were scheduled."); + (0 != o && 0 != r) || + this.hasTask(this.zone, { + microTask: n.microTask > 0, + macroTask: n.macroTask > 0, + eventTask: n.eventTask > 0, + change: e + }); + } + } + class c { + constructor(t, n, o, r, s, i) { + (this._zone = null), + (this.runCount = 0), + (this._zoneDelegates = null), + (this._state = "notScheduled"), + (this.type = t), + (this.source = n), + (this.data = r), + (this.scheduleFn = s), + (this.cancelFn = i), + (this.callback = o); + const a = this; + this.invoke = + t === S && r && r.useG + ? c.invokeTask + : function() { + return c.invokeTask.call(e, a, this, arguments); + }; + } + static invokeTask(e, t, n) { + e || (e = this), j++; + try { + return e.runCount++, e.zone.runTask(e, t, n); + } finally { + 1 == j && _(), j--; + } + } + get zone() { + return this._zone; + } + get state() { + return this._state; + } + cancelScheduleRequest() { + this._transitionTo(y, k); + } + _transitionTo(e, t, n) { + if (this._state !== t && this._state !== n) + throw new Error( + `${this.type} '${ + this.source + }': can not transition to '${e}', expecting state '${t}'${ + n ? " or '" + n + "'" : "" + }, was '${this._state}'.` + ); + (this._state = e), e == y && (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 l = I("setTimeout"), + u = I("Promise"), + h = I("then"); + let p, + f = [], + d = !1; + function g(t) { + if (0 === j && 0 === f.length) + if ((p || (e[u] && (p = e[u].resolve(0))), p)) { + let e = p[h]; + e || (e = p.then), e.call(p, _); + } else e[l](_, 0); + t && f.push(t); + } + function _() { + if (!d) { + for (d = !0; f.length; ) { + const t = f; + f = []; + for (let n = 0; n < t.length; n++) { + const o = t[n]; + try { + o.zone.runTask(o, null, null); + } catch (e) { + O.onUnhandledError(e); + } + } + } + O.microtaskDrainDone(), (d = !1); + } + } + const m = { name: "NO ZONE" }, + y = "notScheduled", + k = "scheduling", + b = "scheduled", + v = "running", + T = "canceling", + w = "unknown", + E = "microTask", + Z = "macroTask", + S = "eventTask", + D = {}, + O = { + symbol: I, + currentZoneFrame: () => P, + onUnhandledError: C, + microtaskDrainDone: C, + scheduleMicroTask: g, + showUncaughtError: () => !s[I("ignoreConsoleErrorUncaughtError")], + patchEventTarget: () => [], + patchOnProperties: C, + patchMethod: () => C, + bindArguments: () => [], + patchThen: () => C, + patchMacroTask: () => C, + setNativePromise: e => { + e && "function" == typeof e.resolve && (p = e.resolve(0)); + }, + patchEventPrototype: () => C, + isIEOrEdge: () => !1, + getGlobalObjects: () => void 0, + ObjectDefineProperty: () => C, + ObjectGetOwnPropertyDescriptor: () => void 0, + ObjectCreate: () => void 0, + ArraySlice: () => [], + patchClass: () => C, + wrapWithCurrentZone: () => C, + filterProperties: () => [], + attachOriginToPatched: () => C, + _redefineProperty: () => C, + patchCallbacks: () => C + }; + let P = { parent: null, zone: new s(null, null) }, + z = null, + j = 0; + function C() {} + function I(e) { + return "__zone_symbol__" + e; + } + o("Zone", "Zone"), (e.Zone = s); + })( + ("undefined" != typeof window && window) || + ("undefined" != typeof self && self) || + global + ), + Zone.__load_patch("ZoneAwarePromise", (e, t, n) => { + const o = Object.getOwnPropertyDescriptor, + r = Object.defineProperty, + s = n.symbol, + i = [], + a = s("Promise"), + c = s("then"), + l = "__creationTrace__"; + (n.onUnhandledError = e => { + if (n.showUncaughtError()) { + const t = e && e.rejection; + t + ? console.error( + "Unhandled Promise rejection:", + t instanceof Error ? t.message : t, + "; Zone:", + e.zone.name, + "; Task:", + e.task && e.task.source, + "; Value:", + t, + t instanceof Error ? t.stack : void 0 + ) + : console.error(e); + } + }), + (n.microtaskDrainDone = () => { + for (; i.length; ) + for (; i.length; ) { + const t = i.shift(); + try { + t.zone.runGuarded(() => { + throw t; + }); + } catch (e) { + h(e); + } + } + }); + const u = s("unhandledPromiseRejectionHandler"); + function h(e) { + n.onUnhandledError(e); + try { + const n = t[u]; + n && "function" == typeof n && n.call(this, e); + } catch (o) {} + } + function p(e) { + return e && e.then; + } + function f(e) { + return e; + } + function d(e) { + return R.reject(e); + } + const g = s("state"), + _ = s("value"), + m = s("finally"), + y = s("parentPromiseValue"), + k = s("parentPromiseState"), + b = "Promise.then", + v = null, + T = !0, + w = !1, + E = 0; + function Z(e, t) { + return n => { + try { + P(e, t, n); + } catch (o) { + P(e, !1, o); + } + }; + } + const S = function() { + let e = !1; + return function(t) { + return function() { + e || ((e = !0), t.apply(null, arguments)); + }; + }; + }, + D = "Promise resolved with itself", + O = s("currentTaskTrace"); + function P(e, o, s) { + const a = S(); + if (e === s) throw new TypeError(D); + if (e[g] === v) { + let h = null; + try { + ("object" != typeof s && "function" != typeof s) || + (h = s && s.then); + } catch (u) { + return ( + a(() => { + P(e, !1, u); + })(), + e + ); + } + if ( + o !== w && + s instanceof R && + s.hasOwnProperty(g) && + s.hasOwnProperty(_) && + s[g] !== v + ) + j(s), P(e, s[g], s[_]); + else if (o !== w && "function" == typeof h) + try { + h.call(s, a(Z(e, o)), a(Z(e, !1))); + } catch (u) { + a(() => { + P(e, !1, u); + })(); + } + else { + e[g] = o; + const a = e[_]; + if ( + ((e[_] = s), + e[m] === m && o === T && ((e[g] = e[k]), (e[_] = e[y])), + o === w && s instanceof Error) + ) { + const e = + t.currentTask && + t.currentTask.data && + t.currentTask.data[l]; + e && + r(s, O, { + configurable: !0, + enumerable: !1, + writable: !0, + value: e + }); + } + for (let t = 0; t < a.length; ) + C(e, a[t++], a[t++], a[t++], a[t++]); + if (0 == a.length && o == w) { + e[g] = E; + try { + throw new Error( + "Uncaught (in promise): " + + ((c = s) && c.toString === Object.prototype.toString + ? ((c.constructor && c.constructor.name) || "") + + ": " + + JSON.stringify(c) + : c + ? c.toString() + : Object.prototype.toString.call(c)) + + (s && s.stack ? "\n" + s.stack : "") + ); + } catch (u) { + const o = u; + (o.rejection = s), + (o.promise = e), + (o.zone = t.current), + (o.task = t.currentTask), + i.push(o), + n.scheduleMicroTask(); + } + } + } + } + var c; + return e; + } + const z = s("rejectionHandledHandler"); + function j(e) { + if (e[g] === E) { + try { + const o = t[z]; + o && + "function" == typeof o && + o.call(this, { rejection: e[_], promise: e }); + } catch (n) {} + e[g] = w; + for (let t = 0; t < i.length; t++) + e === i[t].promise && i.splice(t, 1); + } + } + function C(e, t, n, o, r) { + j(e); + const s = e[g], + i = s + ? "function" == typeof o + ? o + : f + : "function" == typeof r + ? r + : d; + t.scheduleMicroTask( + b, + () => { + try { + const r = e[_], + a = n && m === n[m]; + a && ((n[y] = r), (n[k] = s)); + const c = t.run( + i, + void 0, + a && i !== d && i !== f ? [] : [r] + ); + P(n, !0, c); + } catch (o) { + P(n, !1, o); + } + }, + n + ); + } + const I = "function ZoneAwarePromise() { [native code] }"; + class R { + constructor(e) { + const t = this; + if (!(t instanceof R)) + throw new Error("Must be an instanceof Promise."); + (t[g] = v), (t[_] = []); + try { + e && e(Z(t, T), Z(t, w)); + } catch (n) { + P(t, !1, n); + } + } + static toString() { + return I; + } + static resolve(e) { + return P(new this(null), T, e); + } + static reject(e) { + return P(new this(null), w, e); + } + static race(e) { + let t, + n, + o = new this((e, o) => { + (t = e), (n = o); + }); + function r(e) { + t(e); + } + function s(e) { + n(e); + } + for (let i of e) p(i) || (i = this.resolve(i)), i.then(r, s); + return o; + } + static all(e) { + let t, + n, + o = new this((e, o) => { + (t = e), (n = o); + }), + r = 2, + s = 0; + const i = []; + for (let a of e) { + p(a) || (a = this.resolve(a)); + const e = s; + a.then(n => { + (i[e] = n), 0 == --r && t(i); + }, n), + r++, + s++; + } + return 0 == (r -= 2) && t(i), o; + } + get [Symbol.toStringTag]() { + return "Promise"; + } + then(e, n) { + const o = new this.constructor(null), + r = t.current; + return ( + this[g] == v ? this[_].push(r, o, e, n) : C(this, r, o, e, n), o + ); + } + catch(e) { + return this.then(null, e); + } + finally(e) { + const n = new this.constructor(null); + n[m] = m; + const o = t.current; + return ( + this[g] == v ? this[_].push(o, n, e, e) : C(this, o, n, e, e), n + ); + } + } + (R.resolve = R.resolve), + (R.reject = R.reject), + (R.race = R.race), + (R.all = R.all); + const x = (e[a] = e.Promise), + M = t.__symbol__("ZoneAwarePromise"); + let L = o(e, "Promise"); + (L && !L.configurable) || + (L && delete L.writable, + L && delete L.value, + L || (L = { configurable: !0, enumerable: !0 }), + (L.get = function() { + return e[M] ? e[M] : e[a]; + }), + (L.set = function(t) { + t === R + ? (e[M] = t) + : ((e[a] = t), t.prototype[c] || A(t), n.setNativePromise(t)); + }), + r(e, "Promise", L)), + (e.Promise = R); + const N = s("thenPatched"); + function A(e) { + const t = e.prototype, + n = o(t, "then"); + if (n && (!1 === n.writable || !n.configurable)) return; + const r = t.then; + (t[c] = r), + (e.prototype.then = function(e, t) { + return new R((e, t) => { + r.call(this, e, t); + }).then(e, t); + }), + (e[N] = !0); + } + if (((n.patchThen = A), x)) { + A(x); + const t = e.fetch; + "function" == typeof t && + ((e[n.symbol("fetch")] = t), + (e.fetch = (function(e) { + return function() { + let t = e.apply(this, arguments); + if (t instanceof R) return t; + let n = t.constructor; + return n[N] || A(n), t; + }; + })(t))); + } + return (Promise[t.__symbol__("uncaughtPromiseErrors")] = i), R; + }); + const n = Object.getOwnPropertyDescriptor, + o = Object.defineProperty, + r = Object.getPrototypeOf, + s = Object.create, + i = Array.prototype.slice, + a = "addEventListener", + c = "removeEventListener", + l = Zone.__symbol__(a), + u = Zone.__symbol__(c), + h = "true", + p = "false", + f = "__zone_symbol__"; + function d(e, t) { + return Zone.current.wrap(e, t); + } + function g(e, t, n, o, r) { + return Zone.current.scheduleMacroTask(e, t, n, o, r); + } + const _ = Zone.__symbol__, + m = "undefined" != typeof window, + y = m ? window : void 0, + k = (m && y) || ("object" == typeof self && self) || global, + b = "removeAttribute", + v = [null]; + function T(e, t) { + for (let n = e.length - 1; n >= 0; n--) + "function" == typeof e[n] && (e[n] = d(e[n], t + "_" + n)); + return e; + } + function w(e) { + return ( + !e || + (!1 !== e.writable && + !("function" == typeof e.get && void 0 === e.set)) + ); + } + const E = + "undefined" != typeof WorkerGlobalScope && + self instanceof WorkerGlobalScope, + Z = + !("nw" in k) && + void 0 !== k.process && + "[object process]" === {}.toString.call(k.process), + S = !Z && !E && !(!m || !y.HTMLElement), + D = + void 0 !== k.process && + "[object process]" === {}.toString.call(k.process) && + !E && + !(!m || !y.HTMLElement), + O = {}, + P = function(e) { + if (!(e = e || k.event)) return; + let t = O[e.type]; + t || (t = O[e.type] = _("ON_PROPERTY" + e.type)); + const n = this || e.target || k, + o = n[t]; + let r; + if (S && n === y && "error" === e.type) { + const t = e; + !0 === + (r = + o && + o.call( + this, + t.message, + t.filename, + t.lineno, + t.colno, + t.error + )) && e.preventDefault(); + } else + null == (r = o && o.apply(this, arguments)) || + r || + e.preventDefault(); + return r; + }; + function z(e, t, r) { + let s = n(e, t); + if ( + (!s && r && n(r, t) && (s = { enumerable: !0, configurable: !0 }), + !s || !s.configurable) + ) + return; + const i = _("on" + t + "patched"); + if (e.hasOwnProperty(i) && e[i]) return; + delete s.writable, delete s.value; + const a = s.get, + c = s.set, + l = t.substr(2); + let u = O[l]; + u || (u = O[l] = _("ON_PROPERTY" + l)), + (s.set = function(t) { + let n = this; + n || e !== k || (n = k), + n && + (n[u] && n.removeEventListener(l, P), + c && c.apply(n, v), + "function" == typeof t + ? ((n[u] = t), n.addEventListener(l, P, !1)) + : (n[u] = null)); + }), + (s.get = function() { + let n = this; + if ((n || e !== k || (n = k), !n)) return null; + const o = n[u]; + if (o) return o; + if (a) { + let e = a && a.call(this); + if (e) + return ( + s.set.call(this, e), + "function" == typeof n[b] && n.removeAttribute(t), + e + ); + } + return null; + }), + o(e, t, s), + (e[i] = !0); + } + function j(e, t, n) { + if (t) for (let o = 0; o < t.length; o++) z(e, "on" + t[o], n); + else { + const t = []; + for (const n in e) "on" == n.substr(0, 2) && t.push(n); + for (let o = 0; o < t.length; o++) z(e, t[o], n); + } + } + const C = _("originalInstance"); + function I(e) { + const t = k[e]; + if (!t) return; + (k[_(e)] = t), + (k[e] = function() { + const n = T(arguments, e); + switch (n.length) { + case 0: + this[C] = new t(); + break; + case 1: + this[C] = new t(n[0]); + break; + case 2: + this[C] = new t(n[0], n[1]); + break; + case 3: + this[C] = new t(n[0], n[1], n[2]); + break; + case 4: + this[C] = new t(n[0], n[1], n[2], n[3]); + break; + default: + throw new Error("Arg list too long."); + } + }), + L(k[e], t); + const n = new t(function() {}); + let r; + for (r in n) + ("XMLHttpRequest" === e && "responseBlob" === r) || + (function(t) { + "function" == typeof n[t] + ? (k[e].prototype[t] = function() { + return this[C][t].apply(this[C], arguments); + }) + : o(k[e].prototype, t, { + set: function(n) { + "function" == typeof n + ? ((this[C][t] = d(n, e + "." + t)), L(this[C][t], n)) + : (this[C][t] = n); + }, + get: function() { + return this[C][t]; + } + }); + })(r); + for (r in t) + "prototype" !== r && t.hasOwnProperty(r) && (k[e][r] = t[r]); + } + let R = !1; + function x(e, t, o) { + let s = e; + for (; s && !s.hasOwnProperty(t); ) s = r(s); + !s && e[t] && (s = e); + const i = _(t); + let a = null; + if (s && !(a = s[i]) && ((a = s[i] = s[t]), w(s && n(s, t)))) { + const e = o(a, i, t); + (s[t] = function() { + return e(this, arguments); + }), + L(s[t], a), + R && + ((c = a), + (l = s[t]), + "function" == typeof Object.getOwnPropertySymbols && + Object.getOwnPropertySymbols(c).forEach(e => { + const t = Object.getOwnPropertyDescriptor(c, e); + Object.defineProperty(l, e, { + get: function() { + return c[e]; + }, + set: function(n) { + (!t || (t.writable && "function" == typeof t.set)) && + (c[e] = n); + }, + enumerable: !t || t.enumerable, + configurable: !t || t.configurable + }); + })); + } + var c, l; + return a; + } + function M(e, t, n) { + let o = null; + function r(e) { + const t = e.data; + return ( + (t.args[t.cbIdx] = function() { + e.invoke.apply(this, arguments); + }), + o.apply(t.target, t.args), + e + ); + } + o = x( + e, + t, + e => + function(t, o) { + const s = n(t, o); + return s.cbIdx >= 0 && "function" == typeof o[s.cbIdx] + ? g(s.name, o[s.cbIdx], s, r) + : e.apply(t, o); + } + ); + } + function L(e, t) { + e[_("OriginalDelegate")] = t; + } + let N = !1, + A = !1; + function F() { + if (N) return A; + N = !0; + try { + const t = y.navigator.userAgent; + (-1 === t.indexOf("MSIE ") && + -1 === t.indexOf("Trident/") && + -1 === t.indexOf("Edge/")) || + (A = !0); + } catch (e) {} + return A; + } + Zone.__load_patch("toString", e => { + const t = Function.prototype.toString, + n = _("OriginalDelegate"), + o = _("Promise"), + r = _("Error"), + s = function() { + if ("function" == typeof this) { + const s = this[n]; + if (s) + return "function" == typeof s + ? t.call(s) + : Object.prototype.toString.call(s); + if (this === Promise) { + const n = e[o]; + if (n) return t.call(n); + } + if (this === Error) { + const n = e[r]; + if (n) return t.call(n); + } + } + return t.call(this); + }; + (s[n] = t), (Function.prototype.toString = s); + const i = Object.prototype.toString; + Object.prototype.toString = function() { + return this instanceof Promise ? "[object Promise]" : i.call(this); + }; + }); + let H = !1; + if ("undefined" != typeof window) + try { + const e = Object.defineProperty({}, "passive", { + get: function() { + H = !0; + } + }); + window.addEventListener("test", e, e), + window.removeEventListener("test", e, e); + } catch (Te) { + H = !1; + } + const G = { useG: !0 }, + q = {}, + B = {}, + $ = /^__zone_symbol__(\w+)(true|false)$/, + U = "__zone_symbol__propagationStopped"; + function W(e, t, n) { + const o = (n && n.add) || a, + s = (n && n.rm) || c, + i = (n && n.listeners) || "eventListeners", + l = (n && n.rmAll) || "removeAllListeners", + u = _(o), + d = "." + o + ":", + g = "prependListener", + m = "." + g + ":", + y = function(e, t, n) { + if (e.isRemoved) return; + const o = e.callback; + "object" == typeof o && + o.handleEvent && + ((e.callback = e => o.handleEvent(e)), (e.originalDelegate = o)), + e.invoke(e, t, [n]); + const r = e.options; + r && + "object" == typeof r && + r.once && + t[s].call( + t, + n.type, + e.originalDelegate ? e.originalDelegate : e.callback, + r + ); + }, + k = function(t) { + if (!(t = t || e.event)) return; + const n = this || t.target || e, + o = n[q[t.type][p]]; + if (o) + if (1 === o.length) y(o[0], n, t); + else { + const e = o.slice(); + for (let o = 0; o < e.length && (!t || !0 !== t[U]); o++) + y(e[o], n, t); + } + }, + b = function(t) { + if (!(t = t || e.event)) return; + const n = this || t.target || e, + o = n[q[t.type][h]]; + if (o) + if (1 === o.length) y(o[0], n, t); + else { + const e = o.slice(); + for (let o = 0; o < e.length && (!t || !0 !== t[U]); o++) + y(e[o], n, t); + } + }; + function v(t, n) { + if (!t) return !1; + let a = !0; + n && void 0 !== n.useG && (a = n.useG); + const c = n && n.vh; + let y = !0; + n && void 0 !== n.chkDup && (y = n.chkDup); + let v = !1; + n && void 0 !== n.rt && (v = n.rt); + let T = t; + for (; T && !T.hasOwnProperty(o); ) T = r(T); + if ((!T && t[o] && (T = t), !T)) return !1; + if (T[u]) return !1; + const w = n && n.eventNameToString, + E = {}, + S = (T[u] = T[o]), + D = (T[_(s)] = T[s]), + O = (T[_(i)] = T[i]), + P = (T[_(l)] = T[l]); + let z; + function j(e) { + H || + "boolean" == typeof E.options || + null == E.options || + ((e.options = !!E.options.capture), (E.options = e.options)); + } + n && n.prepend && (z = T[_(n.prepend)] = T[n.prepend]); + const C = a + ? function(e) { + if (!E.isExisting) + return ( + j(e), + S.call( + E.target, + E.eventName, + E.capture ? b : k, + E.options + ) + ); + } + : function(e) { + return ( + j(e), S.call(E.target, E.eventName, e.invoke, E.options) + ); + }, + I = a + ? function(e) { + if (!e.isRemoved) { + const t = q[e.eventName]; + let n; + t && (n = t[e.capture ? h : p]); + const o = n && e.target[n]; + if (o) + for (let r = 0; r < o.length; r++) + if (o[r] === e) { + o.splice(r, 1), + (e.isRemoved = !0), + 0 === o.length && + ((e.allRemoved = !0), (e.target[n] = null)); + break; + } + } + if (e.allRemoved) + return D.call( + e.target, + e.eventName, + e.capture ? b : k, + e.options + ); + } + : function(e) { + return D.call(e.target, e.eventName, e.invoke, e.options); + }, + R = + n && n.diff + ? n.diff + : function(e, t) { + const n = typeof t; + return ( + ("function" === n && e.callback === t) || + ("object" === n && e.originalDelegate === t) + ); + }, + x = Zone[Zone.__symbol__("BLACK_LISTED_EVENTS")], + M = function(t, n, o, r, s = !1, i = !1) { + return function() { + const l = this || e, + u = arguments[0]; + let d = arguments[1]; + if (!d) return t.apply(this, arguments); + if (Z && "uncaughtException" === u) + return t.apply(this, arguments); + let g = !1; + if ("function" != typeof d) { + if (!d.handleEvent) return t.apply(this, arguments); + g = !0; + } + if (c && !c(t, d, l, arguments)) return; + const _ = arguments[2]; + if (x) + for (let e = 0; e < x.length; e++) + if (u === x[e]) return t.apply(this, arguments); + let m, + k = !1; + void 0 === _ + ? (m = !1) + : !0 === _ + ? (m = !0) + : !1 === _ + ? (m = !1) + : ((m = !!_ && !!_.capture), (k = !!_ && !!_.once)); + const b = Zone.current, + v = q[u]; + let T; + if (v) T = v[m ? h : p]; + else { + const e = (w ? w(u) : u) + p, + t = (w ? w(u) : u) + h, + n = f + e, + o = f + t; + (q[u] = {}), (q[u][p] = n), (q[u][h] = o), (T = m ? o : n); + } + let S, + D = l[T], + O = !1; + if (D) { + if (((O = !0), y)) + for (let e = 0; e < D.length; e++) if (R(D[e], d)) return; + } else D = l[T] = []; + const P = l.constructor.name, + z = B[P]; + z && (S = z[u]), + S || (S = P + n + (w ? w(u) : u)), + (E.options = _), + k && (E.options.once = !1), + (E.target = l), + (E.capture = m), + (E.eventName = u), + (E.isExisting = O); + const j = a ? G : void 0; + j && (j.taskData = E); + const C = b.scheduleEventTask(S, d, j, o, r); + return ( + (E.target = null), + j && (j.taskData = null), + k && (_.once = !0), + (H || "boolean" != typeof C.options) && (C.options = _), + (C.target = l), + (C.capture = m), + (C.eventName = u), + g && (C.originalDelegate = d), + i ? D.unshift(C) : D.push(C), + s ? l : void 0 + ); + }; + }; + return ( + (T[o] = M(S, d, C, I, v)), + z && + (T[g] = M( + z, + m, + function(e) { + return z.call(E.target, E.eventName, e.invoke, E.options); + }, + I, + v, + !0 + )), + (T[s] = function() { + const t = this || e, + n = arguments[0], + o = arguments[2]; + let r; + r = + void 0 !== o && (!0 === o || (!1 !== o && !!o && !!o.capture)); + const s = arguments[1]; + if (!s) return D.apply(this, arguments); + if (c && !c(D, s, t, arguments)) return; + const i = q[n]; + let a; + i && (a = i[r ? h : p]); + const l = a && t[a]; + if (l) + for (let e = 0; e < l.length; e++) { + const n = l[e]; + if (R(n, s)) + return ( + l.splice(e, 1), + (n.isRemoved = !0), + 0 === l.length && ((n.allRemoved = !0), (t[a] = null)), + n.zone.cancelTask(n), + v ? t : void 0 + ); + } + return D.apply(this, arguments); + }), + (T[i] = function() { + const t = arguments[0], + n = [], + o = V(this || e, w ? w(t) : t); + for (let e = 0; e < o.length; e++) { + const t = o[e]; + n.push(t.originalDelegate ? t.originalDelegate : t.callback); + } + return n; + }), + (T[l] = function() { + const t = this || e, + n = arguments[0]; + if (n) { + const e = q[n]; + if (e) { + const o = t[e[p]], + r = t[e[h]]; + if (o) { + const e = o.slice(); + for (let t = 0; t < e.length; t++) { + const o = e[t]; + this[s].call( + this, + n, + o.originalDelegate ? o.originalDelegate : o.callback, + o.options + ); + } + } + if (r) { + const e = r.slice(); + for (let t = 0; t < e.length; t++) { + const o = e[t]; + this[s].call( + this, + n, + o.originalDelegate ? o.originalDelegate : o.callback, + o.options + ); + } + } + } + } else { + const e = Object.keys(t); + for (let t = 0; t < e.length; t++) { + const n = $.exec(e[t]); + let o = n && n[1]; + o && "removeListener" !== o && this[l].call(this, o); + } + this[l].call(this, "removeListener"); + } + if (v) return this; + }), + L(T[o], S), + L(T[s], D), + P && L(T[l], P), + O && L(T[i], O), + !0 + ); + } + let T = []; + for (let r = 0; r < t.length; r++) T[r] = v(t[r], n); + return T; + } + function V(e, t) { + const n = []; + for (let o in e) { + const r = $.exec(o); + let s = r && r[1]; + if (s && (!t || s === t)) { + const t = e[o]; + if (t) for (let e = 0; e < t.length; e++) n.push(t[e]); + } + } + return n; + } + function X(e, t) { + const n = e.Event; + n && + n.prototype && + t.patchMethod( + n.prototype, + "stopImmediatePropagation", + e => + function(t, n) { + (t[U] = !0), e && e.apply(t, n); + } + ); + } + function J(e, t, n, o, r) { + const s = Zone.__symbol__(o); + if (t[s]) return; + const i = (t[s] = t[o]); + (t[o] = function(s, a, c) { + return ( + a && + a.prototype && + r.forEach(function(t) { + const r = `${n}.${o}::` + t, + s = a.prototype; + if (s.hasOwnProperty(t)) { + const n = e.ObjectGetOwnPropertyDescriptor(s, t); + n && n.value + ? ((n.value = e.wrapWithCurrentZone(n.value, r)), + e._redefineProperty(a.prototype, t, n)) + : s[t] && (s[t] = e.wrapWithCurrentZone(s[t], r)); + } else s[t] && (s[t] = e.wrapWithCurrentZone(s[t], r)); + }), + i.call(t, s, a, c) + ); + }), + e.attachOriginToPatched(t[o], i); + } + const Y = Zone.__symbol__, + K = (Object[Y("defineProperty")] = Object.defineProperty), + Q = (Object[Y("getOwnPropertyDescriptor")] = + Object.getOwnPropertyDescriptor), + ee = Object.create, + te = Y("unconfigurables"); + function ne(e, t, n) { + const o = n.configurable; + return se(e, t, (n = re(e, t, n)), o); + } + function oe(e, t) { + return e && e[te] && e[te][t]; + } + function re(e, t, n) { + return ( + Object.isFrozen(n) || (n.configurable = !0), + n.configurable || + (e[te] || + Object.isFrozen(e) || + K(e, te, { writable: !0, value: {} }), + e[te] && (e[te][t] = !0)), + n + ); + } + function se(e, t, n, o) { + try { + return K(e, t, n); + } catch (r) { + if (!n.configurable) throw r; + void 0 === o ? delete n.configurable : (n.configurable = o); + try { + return K(e, t, n); + } catch (r) { + let o = null; + try { + o = JSON.stringify(n); + } catch (r) { + o = n.toString(); + } + console.log( + `Attempting to configure '${t}' with descriptor '${o}' on object '${e}' and got error, giving up: ${r}` + ); + } + } + } + const ie = [ + "absolutedeviceorientation", + "afterinput", + "afterprint", + "appinstalled", + "beforeinstallprompt", + "beforeprint", + "beforeunload", + "devicelight", + "devicemotion", + "deviceorientation", + "deviceorientationabsolute", + "deviceproximity", + "hashchange", + "languagechange", + "message", + "mozbeforepaint", + "offline", + "online", + "paint", + "pageshow", + "pagehide", + "popstate", + "rejectionhandled", + "storage", + "unhandledrejection", + "unload", + "userproximity", + "vrdisplyconnected", + "vrdisplaydisconnected", + "vrdisplaypresentchange" + ], + ae = [ + "encrypted", + "waitingforkey", + "msneedkey", + "mozinterruptbegin", + "mozinterruptend" + ], + ce = ["load"], + le = [ + "blur", + "error", + "focus", + "load", + "resize", + "scroll", + "messageerror" + ], + ue = ["bounce", "finish", "start"], + he = [ + "loadstart", + "progress", + "abort", + "error", + "load", + "progress", + "timeout", + "loadend", + "readystatechange" + ], + pe = [ + "upgradeneeded", + "complete", + "abort", + "success", + "error", + "blocked", + "versionchange", + "close" + ], + fe = ["close", "error", "open", "message"], + de = ["error", "message"], + ge = [ + "abort", + "animationcancel", + "animationend", + "animationiteration", + "auxclick", + "beforeinput", + "blur", + "cancel", + "canplay", + "canplaythrough", + "change", + "compositionstart", + "compositionupdate", + "compositionend", + "cuechange", + "click", + "close", + "contextmenu", + "curechange", + "dblclick", + "drag", + "dragend", + "dragenter", + "dragexit", + "dragleave", + "dragover", + "drop", + "durationchange", + "emptied", + "ended", + "error", + "focus", + "focusin", + "focusout", + "gotpointercapture", + "input", + "invalid", + "keydown", + "keypress", + "keyup", + "load", + "loadstart", + "loadeddata", + "loadedmetadata", + "lostpointercapture", + "mousedown", + "mouseenter", + "mouseleave", + "mousemove", + "mouseout", + "mouseover", + "mouseup", + "mousewheel", + "orientationchange", + "pause", + "play", + "playing", + "pointercancel", + "pointerdown", + "pointerenter", + "pointerleave", + "pointerlockchange", + "mozpointerlockchange", + "webkitpointerlockerchange", + "pointerlockerror", + "mozpointerlockerror", + "webkitpointerlockerror", + "pointermove", + "pointout", + "pointerover", + "pointerup", + "progress", + "ratechange", + "reset", + "resize", + "scroll", + "seeked", + "seeking", + "select", + "selectionchange", + "selectstart", + "show", + "sort", + "stalled", + "submit", + "suspend", + "timeupdate", + "volumechange", + "touchcancel", + "touchmove", + "touchstart", + "touchend", + "transitioncancel", + "transitionend", + "waiting", + "wheel" + ].concat( + [ + "webglcontextrestored", + "webglcontextlost", + "webglcontextcreationerror" + ], + ["autocomplete", "autocompleteerror"], + ["toggle"], + [ + "afterscriptexecute", + "beforescriptexecute", + "DOMContentLoaded", + "freeze", + "fullscreenchange", + "mozfullscreenchange", + "webkitfullscreenchange", + "msfullscreenchange", + "fullscreenerror", + "mozfullscreenerror", + "webkitfullscreenerror", + "msfullscreenerror", + "readystatechange", + "visibilitychange", + "resume" + ], + ie, + [ + "beforecopy", + "beforecut", + "beforepaste", + "copy", + "cut", + "paste", + "dragstart", + "loadend", + "animationstart", + "search", + "transitionrun", + "transitionstart", + "webkitanimationend", + "webkitanimationiteration", + "webkitanimationstart", + "webkittransitionend" + ], + [ + "activate", + "afterupdate", + "ariarequest", + "beforeactivate", + "beforedeactivate", + "beforeeditfocus", + "beforeupdate", + "cellchange", + "controlselect", + "dataavailable", + "datasetchanged", + "datasetcomplete", + "errorupdate", + "filterchange", + "layoutcomplete", + "losecapture", + "move", + "moveend", + "movestart", + "propertychange", + "resizeend", + "resizestart", + "rowenter", + "rowexit", + "rowsdelete", + "rowsinserted", + "command", + "compassneedscalibration", + "deactivate", + "help", + "mscontentzoom", + "msmanipulationstatechanged", + "msgesturechange", + "msgesturedoubletap", + "msgestureend", + "msgesturehold", + "msgesturestart", + "msgesturetap", + "msgotpointercapture", + "msinertiastart", + "mslostpointercapture", + "mspointercancel", + "mspointerdown", + "mspointerenter", + "mspointerhover", + "mspointerleave", + "mspointermove", + "mspointerout", + "mspointerover", + "mspointerup", + "pointerout", + "mssitemodejumplistitemremoved", + "msthumbnailclick", + "stop", + "storagecommit" + ] + ); + function _e(e, t, n) { + if (!n || 0 === n.length) return t; + const o = n.filter(t => t.target === e); + if (!o || 0 === o.length) return t; + const r = o[0].ignoreProperties; + return t.filter(e => -1 === r.indexOf(e)); + } + function me(e, t, n, o) { + e && j(e, _e(e, t, n), o); + } + function ye(e, t) { + if (Z && !D) return; + if (Zone[e.symbol("patchEvents")]) return; + const n = "undefined" != typeof WebSocket, + o = t.__Zone_ignore_on_properties; + if (S) { + const e = window, + t = function() { + try { + const n = e.navigator.userAgent; + if (-1 !== n.indexOf("MSIE ") || -1 !== n.indexOf("Trident/")) + return !0; + } catch (t) {} + return !1; + } + ? [{ target: e, ignoreProperties: ["error"] }] + : []; + me(e, ge.concat(["messageerror"]), o ? o.concat(t) : o, r(e)), + me(Document.prototype, ge, o), + void 0 !== e.SVGElement && me(e.SVGElement.prototype, ge, o), + me(Element.prototype, ge, o), + me(HTMLElement.prototype, ge, o), + me(HTMLMediaElement.prototype, ae, o), + me(HTMLFrameSetElement.prototype, ie.concat(le), o), + me(HTMLBodyElement.prototype, ie.concat(le), o), + me(HTMLFrameElement.prototype, ce, o), + me(HTMLIFrameElement.prototype, ce, o); + const n = e.HTMLMarqueeElement; + n && me(n.prototype, ue, o); + const s = e.Worker; + s && me(s.prototype, de, o); + } + const s = t.XMLHttpRequest; + s && me(s.prototype, he, o); + const i = t.XMLHttpRequestEventTarget; + i && me(i && i.prototype, he, o), + "undefined" != typeof IDBIndex && + (me(IDBIndex.prototype, pe, o), + me(IDBRequest.prototype, pe, o), + me(IDBOpenDBRequest.prototype, pe, o), + me(IDBDatabase.prototype, pe, o), + me(IDBTransaction.prototype, pe, o), + me(IDBCursor.prototype, pe, o)), + n && me(WebSocket.prototype, fe, o); + } + Zone.__load_patch("util", (e, t, r) => { + (r.patchOnProperties = j), + (r.patchMethod = x), + (r.bindArguments = T), + (r.patchMacroTask = M); + const l = t.__symbol__("BLACK_LISTED_EVENTS"), + u = t.__symbol__("UNPATCHED_EVENTS"); + e[u] && (e[l] = e[u]), + e[l] && (t[l] = t[u] = e[l]), + (r.patchEventPrototype = X), + (r.patchEventTarget = W), + (r.isIEOrEdge = F), + (r.ObjectDefineProperty = o), + (r.ObjectGetOwnPropertyDescriptor = n), + (r.ObjectCreate = s), + (r.ArraySlice = i), + (r.patchClass = I), + (r.wrapWithCurrentZone = d), + (r.filterProperties = _e), + (r.attachOriginToPatched = L), + (r._redefineProperty = ne), + (r.patchCallbacks = J), + (r.getGlobalObjects = () => ({ + globalSources: B, + zoneSymbolEventNames: q, + eventNames: ge, + isBrowser: S, + isMix: D, + isNode: Z, + TRUE_STR: h, + FALSE_STR: p, + ZONE_SYMBOL_PREFIX: f, + ADD_EVENT_LISTENER_STR: a, + REMOVE_EVENT_LISTENER_STR: c + })); + }); + const ke = _("zoneTask"); + function be(e, t, n, o) { + let r = null, + s = null; + n += o; + const i = {}; + function a(t) { + const n = t.data; + return ( + (n.args[0] = function() { + try { + t.invoke.apply(this, arguments); + } finally { + (t.data && t.data.isPeriodic) || + ("number" == typeof n.handleId + ? delete i[n.handleId] + : n.handleId && (n.handleId[ke] = null)); + } + }), + (n.handleId = r.apply(e, n.args)), + t + ); + } + function c(e) { + return s(e.data.handleId); + } + (r = x( + e, + (t += o), + n => + function(r, s) { + if ("function" == typeof s[0]) { + const e = g( + t, + s[0], + { + isPeriodic: "Interval" === o, + delay: + "Timeout" === o || "Interval" === o ? s[1] || 0 : void 0, + args: s + }, + a, + c + ); + if (!e) return e; + const n = e.data.handleId; + return ( + "number" == typeof n ? (i[n] = e) : n && (n[ke] = e), + n && + n.ref && + n.unref && + "function" == typeof n.ref && + "function" == typeof n.unref && + ((e.ref = n.ref.bind(n)), (e.unref = n.unref.bind(n))), + "number" == typeof n || n ? n : e + ); + } + return n.apply(e, s); + } + )), + (s = x( + e, + n, + t => + function(n, o) { + const r = o[0]; + let s; + "number" == typeof r ? (s = i[r]) : (s = r && r[ke]) || (s = r), + s && "string" == typeof s.type + ? "notScheduled" !== s.state && + ((s.cancelFn && s.data.isPeriodic) || 0 === s.runCount) && + ("number" == typeof r ? delete i[r] : r && (r[ke] = null), + s.zone.cancelTask(s)) + : t.apply(e, o); + } + )); + } + function ve(e, t) { + if (Zone[t.symbol("patchEventTarget")]) return; + const { + eventNames: n, + zoneSymbolEventNames: o, + TRUE_STR: r, + FALSE_STR: s, + ZONE_SYMBOL_PREFIX: i + } = t.getGlobalObjects(); + for (let c = 0; c < n.length; c++) { + const e = n[c], + t = i + (e + s), + a = i + (e + r); + (o[e] = {}), (o[e][s] = t), (o[e][r] = a); + } + const a = e.EventTarget; + return a && a.prototype + ? (t.patchEventTarget(e, [a && a.prototype]), !0) + : void 0; + } + Zone.__load_patch("legacy", e => { + const t = e[Zone.__symbol__("legacyPatch")]; + t && t(); + }), + Zone.__load_patch("timers", e => { + be(e, "set", "clear", "Timeout"), + be(e, "set", "clear", "Interval"), + be(e, "set", "clear", "Immediate"); + }), + Zone.__load_patch("requestAnimationFrame", e => { + be(e, "request", "cancel", "AnimationFrame"), + be(e, "mozRequest", "mozCancel", "AnimationFrame"), + be(e, "webkitRequest", "webkitCancel", "AnimationFrame"); + }), + Zone.__load_patch("blocking", (e, t) => { + const n = ["alert", "prompt", "confirm"]; + for (let o = 0; o < n.length; o++) + x( + e, + n[o], + (n, o, r) => + function(o, s) { + return t.current.run(n, e, s, r); + } + ); + }), + Zone.__load_patch("EventTarget", (e, t, n) => { + !(function(e, t) { + t.patchEventPrototype(e, t); + })(e, n), + ve(e, n); + const o = e.XMLHttpRequestEventTarget; + o && o.prototype && n.patchEventTarget(e, [o.prototype]), + I("MutationObserver"), + I("WebKitMutationObserver"), + I("IntersectionObserver"), + I("FileReader"); + }), + Zone.__load_patch("on_property", (e, t, n) => { + ye(n, e), + (Object.defineProperty = function(e, t, n) { + if (oe(e, t)) + throw new TypeError( + "Cannot assign to read only property '" + t + "' of " + e + ); + const o = n.configurable; + return "prototype" !== t && (n = re(e, t, n)), se(e, t, n, o); + }), + (Object.defineProperties = function(e, t) { + return ( + Object.keys(t).forEach(function(n) { + Object.defineProperty(e, n, t[n]); + }), + e + ); + }), + (Object.create = function(e, t) { + return ( + "object" != typeof t || + Object.isFrozen(t) || + Object.keys(t).forEach(function(n) { + t[n] = re(e, n, t[n]); + }), + ee(e, t) + ); + }), + (Object.getOwnPropertyDescriptor = function(e, t) { + const n = Q(e, t); + return n && oe(e, t) && (n.configurable = !1), n; + }); + }), + Zone.__load_patch("customElements", (e, t, n) => { + !(function(e, t) { + const { isBrowser: n, isMix: o } = t.getGlobalObjects(); + (n || o) && + e.customElements && + "customElements" in e && + t.patchCallbacks( + t, + e.customElements, + "customElements", + "define", + [ + "connectedCallback", + "disconnectedCallback", + "adoptedCallback", + "attributeChangedCallback" + ] + ); + })(e, n); + }), + Zone.__load_patch("XHR", (e, t) => { + !(function(c) { + const h = e.XMLHttpRequest; + if (!h) return; + const p = h.prototype; + let f = p[l], + d = p[u]; + if (!f) { + const t = e.XMLHttpRequestEventTarget; + if (t) { + const e = t.prototype; + (f = e[l]), (d = e[u]); + } + } + const m = "readystatechange", + y = "scheduled"; + function k(e) { + const t = e.data, + o = t.target; + (o[s] = !1), (o[a] = !1); + const i = o[r]; + f || ((f = o[l]), (d = o[u])), i && d.call(o, m, i); + const c = (o[r] = () => { + if (o.readyState === o.DONE) + if (!t.aborted && o[s] && e.state === y) { + const n = o.__zone_symbol__loadfalse; + if (n && n.length > 0) { + const r = e.invoke; + (e.invoke = function() { + const n = o.__zone_symbol__loadfalse; + for (let t = 0; t < n.length; t++) + n[t] === e && n.splice(t, 1); + t.aborted || e.state !== y || r.call(e); + }), + n.push(e); + } else e.invoke(); + } else t.aborted || !1 !== o[s] || (o[a] = !0); + }); + return ( + f.call(o, m, c), + o[n] || (o[n] = e), + Z.apply(o, t.args), + (o[s] = !0), + e + ); + } + function b() {} + function v(e) { + const t = e.data; + return (t.aborted = !0), S.apply(t.target, t.args); + } + const T = x( + p, + "open", + () => + function(e, t) { + return (e[o] = 0 == t[2]), (e[i] = t[1]), T.apply(e, t); + } + ), + w = _("fetchTaskAborting"), + E = _("fetchTaskScheduling"), + Z = x( + p, + "send", + () => + function(e, n) { + if (!0 === t.current[E]) return Z.apply(e, n); + if (e[o]) return Z.apply(e, n); + { + const t = { + target: e, + url: e[i], + isPeriodic: !1, + args: n, + aborted: !1 + }, + o = g("XMLHttpRequest.send", b, t, k, v); + e && + !0 === e[a] && + !t.aborted && + o.state === y && + o.invoke(); + } + } + ), + S = x( + p, + "abort", + () => + function(e, o) { + const r = e[n]; + if (r && "string" == typeof r.type) { + if (null == r.cancelFn || (r.data && r.data.aborted)) + return; + r.zone.cancelTask(r); + } else if (!0 === t.current[w]) return S.apply(e, o); + } + ); + })(); + const n = _("xhrTask"), + o = _("xhrSync"), + r = _("xhrListener"), + s = _("xhrScheduled"), + i = _("xhrURL"), + a = _("xhrErrorBeforeScheduled"); + }), + Zone.__load_patch("geolocation", e => { + e.navigator && + e.navigator.geolocation && + (function(e, t) { + const o = e.constructor.name; + for (let r = 0; r < t.length; r++) { + const s = t[r], + i = e[s]; + if (i) { + if (!w(n(e, s))) continue; + e[s] = (e => { + const t = function() { + return e.apply(this, T(arguments, o + "." + s)); + }; + return L(t, e), t; + })(i); + } + } + })(e.navigator.geolocation, [ + "getCurrentPosition", + "watchPosition" + ]); + }), + Zone.__load_patch("PromiseRejectionEvent", (e, t) => { + function n(t) { + return function(n) { + V(e, t).forEach(o => { + const r = e.PromiseRejectionEvent; + if (r) { + const e = new r(t, { + promise: n.promise, + reason: n.rejection + }); + o.invoke(e); + } + }); + }; + } + e.PromiseRejectionEvent && + ((t[_("unhandledPromiseRejectionHandler")] = n( + "unhandledrejection" + )), + (t[_("rejectionHandledHandler")] = n("rejectionhandled"))); + }); + } + }, + [[1, 0]] +]); diff --git a/BeatOn/Assets/www/polyfills-es5.943113ac054b16d954ae.js b/BeatOn/Assets/www/polyfills-es5.943113ac054b16d954ae.js deleted file mode 100644 index 265fe12..0000000 --- a/BeatOn/Assets/www/polyfills-es5.943113ac054b16d954ae.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"+2oP":function(t,e,n){"use strict";var r=n("hh1v"),o=n("6LWA"),i=n("I8vh"),a=n("UMSQ"),c=n("/GqU"),u=n("hBjN"),s=n("tiKp")("species"),f=[].slice,l=Math.max,p=n("Hd5f")("slice");n("I+eb")({target:"Array",proto:!0,forced:!p},{slice:function(t,e){var n,p,h,v=c(this),d=a(v.length),g=i(t,d),y=i(void 0===e?d:e,d);if(o(v)&&("function"!=typeof(n=v.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[s])&&(n=void 0):n=void 0,n===Array||void 0===n))return f.call(v,g,y);for(p=new(void 0===n?Array:n)(l(y-g,0)),h=0;g",this._properties=e&&e.properties||{},this._zoneDelegate=new u(this,this._parent&&this._parent._zoneDelegate,e)}return e.assertZonePatched=function(){if(t.Promise!==O.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.)")},Object.defineProperty(e,"root",{get:function(){for(var t=e.current;t.parent;)t=t.parent;return t},enumerable:!0,configurable:!0}),Object.defineProperty(e,"current",{get:function(){return M.zone},enumerable:!0,configurable:!0}),Object.defineProperty(e,"currentTask",{get:function(){return D},enumerable:!0,configurable:!0}),e.__load_patch=function(i,a){if(O.hasOwnProperty(i)){if(o)throw Error("Already loaded patch: "+i)}else if(!t["__Zone_disable_"+i]){var c="Zone:"+i;n(c),O[i]=a(t,e,I),r(c,c)}},Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),e.prototype.get=function(t){var e=this.getZoneWith(t);if(e)return e._properties[t]},e.prototype.getZoneWith=function(t){for(var e=this;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null},e.prototype.fork=function(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)},e.prototype.wrap=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)}},e.prototype.run=function(t,e,n,r){M={parent:M,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,r)}finally{M=M.parent}},e.prototype.runGuarded=function(t,e,n,r){void 0===e&&(e=null),M={parent:M,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,r)}catch(o){if(this._zoneDelegate.handleError(this,o))throw o}}finally{M=M.parent}},e.prototype.runTask=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||y).name+"; Execution: "+this.name+")");if(t.state!==b||t.type!==w&&t.type!==T){var r=t.state!=_;r&&t._transitionTo(_,k),t.runCount++;var o=D;D=t,M={parent:M,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(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{t.state!==b&&t.state!==S&&(t.type==w||t.data&&t.data.isPeriodic?r&&t._transitionTo(k,_):(t.runCount=0,this._updateTaskCount(t,-1),r&&t._transitionTo(b,_,b))),M=M.parent,D=o}}},e.prototype.scheduleTask=function(t){if(t.zone&&t.zone!==this)for(var e=this;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(m,b);var n=[];t._zoneDelegates=n,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(r){throw t._transitionTo(S,m,b),this._zoneDelegate.handleError(this,r),r}return t._zoneDelegates===n&&this._updateTaskCount(t,1),t.state==m&&t._transitionTo(k,m),t},e.prototype.scheduleMicroTask=function(t,e,n,r){return this.scheduleTask(new s(E,t,e,n,r,void 0))},e.prototype.scheduleMacroTask=function(t,e,n,r,o){return this.scheduleTask(new s(T,t,e,n,r,o))},e.prototype.scheduleEventTask=function(t,e,n,r,o){return this.scheduleTask(new s(w,t,e,n,r,o))},e.prototype.cancelTask=function(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||y).name+"; Execution: "+this.name+")");t._transitionTo(x,k,_);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(S,x),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(b,x),t.runCount=0,t},e.prototype._updateTaskCount=function(t,e){var n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(var r=0;r0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t})},t}(),s=function(){function e(n,r,o,i,a,c){this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=n,this.source=r,this.data=i,this.scheduleFn=a,this.cancelFn=c,this.callback=o;var u=this;this.invoke=n===w&&i&&i.useG?e.invokeTask:function(){return e.invokeTask.call(t,u,this,arguments)}}return e.invokeTask=function(t,e,n){t||(t=this),P++;try{return t.runCount++,t.zone.runTask(t,e,n)}finally{1==P&&g(),P--}},Object.defineProperty(e.prototype,"zone",{get:function(){return this._zone},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return this._state},enumerable:!0,configurable:!0}),e.prototype.cancelScheduleRequest=function(){this._transitionTo(b,m)},e.prototype._transitionTo=function(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==b&&(this._zoneDelegates=null)},e.prototype.toString=function(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)},e.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}},e}(),f=R("setTimeout"),l=R("Promise"),p=R("then"),h=[],v=!1;function d(e){if(0===P&&0===h.length)if(i||t[l]&&(i=t[l].resolve(0)),i){var n=i[p];n||(n=i.then),n.call(i,g)}else t[f](g,0);e&&h.push(e)}function g(){if(!v){for(v=!0;h.length;){var t=h;h=[];for(var e=0;e=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}};Zone.__load_patch("ZoneAwarePromise",function(e,n,r){var o=Object.getOwnPropertyDescriptor,i=Object.defineProperty,a=r.symbol,c=[],u=a("Promise"),s=a("then"),f="__creationTrace__";r.onUnhandledError=function(t){if(r.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)}},r.microtaskDrainDone=function(){for(;c.length;)for(var t=function(){var t=c.shift();try{t.zone.runGuarded(function(){throw t})}catch(e){p(e)}};c.length;)t()};var l=a("unhandledPromiseRejectionHandler");function p(t){r.onUnhandledError(t);try{var e=n[l];e&&"function"==typeof e&&e.call(this,t)}catch(o){}}function h(t){return t&&t.then}function v(t){return t}function d(t){return A.reject(t)}var g=a("state"),y=a("value"),b=a("finally"),m=a("parentPromiseValue"),k=a("parentPromiseState"),_="Promise.then",x=null,S=!0,E=!1,T=0;function w(t,e){return function(n){try{D(t,e,n)}catch(r){D(t,!1,r)}}}var O=function(){var t=!1;return function(e){return function(){t||(t=!0,e.apply(null,arguments))}}},I="Promise resolved with itself",M=a("currentTaskTrace");function D(t,e,o){var a,u=O();if(t===o)throw new TypeError(I);if(t[g]===x){var s=null;try{"object"!=typeof o&&"function"!=typeof o||(s=o&&o.then)}catch(d){return u(function(){D(t,!1,d)})(),t}if(e!==E&&o instanceof A&&o.hasOwnProperty(g)&&o.hasOwnProperty(y)&&o[g]!==x)j(o),D(t,o[g],o[y]);else if(e!==E&&"function"==typeof s)try{s.call(o,u(w(t,e)),u(w(t,!1)))}catch(d){u(function(){D(t,!1,d)})()}else{t[g]=e;var l=t[y];if(t[y]=o,t[b]===b&&e===S&&(t[g]=t[k],t[y]=t[m]),e===E&&o instanceof Error){var p=n.currentTask&&n.currentTask.data&&n.currentTask.data[f];p&&i(o,M,{configurable:!0,enumerable:!1,writable:!0,value:p})}for(var h=0;h=0;n--)"function"==typeof t[n]&&(t[n]=h(t[n],e+"_"+n));return t}function x(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&void 0===t.set)}var S="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,E=!("nw"in b)&&void 0!==b.process&&"[object process]"==={}.toString.call(b.process),T=!E&&!S&&!(!g||!y.HTMLElement),w=void 0!==b.process&&"[object process]"==={}.toString.call(b.process)&&!S&&!(!g||!y.HTMLElement),O={},I=function(t){if(t=t||b.event){var e=O[t.type];e||(e=O[t.type]=d("ON_PROPERTY"+t.type));var n,r=this||t.target||b,o=r[e];return T&&r===y&&"error"===t.type?!0===(n=o&&o.call(this,t.message,t.filename,t.lineno,t.colno,t.error))&&t.preventDefault():null==(n=o&&o.apply(this,arguments))||n||t.preventDefault(),n}};function M(t,r,o){var i=e(t,r);if(!i&&o&&e(o,r)&&(i={enumerable:!0,configurable:!0}),i&&i.configurable){var a=d("on"+r+"patched");if(!t.hasOwnProperty(a)||!t[a]){delete i.writable,delete i.value;var c=i.get,u=i.set,s=r.substr(2),f=O[s];f||(f=O[s]=d("ON_PROPERTY"+s)),i.set=function(e){var n=this;n||t!==b||(n=b),n&&(n[f]&&n.removeEventListener(s,I),u&&u.apply(n,k),"function"==typeof e?(n[f]=e,n.addEventListener(s,I,!1)):n[f]=null)},i.get=function(){var e=this;if(e||t!==b||(e=b),!e)return null;var n=e[f];if(n)return n;if(c){var o=c&&c.call(this);if(o)return i.set.call(this,o),"function"==typeof e[m]&&e.removeAttribute(r),o}return null},n(t,r,i),t[a]=!0}}}function D(t,e,n){if(e)for(var r=0;r=0&&"function"==typeof r[i.cbIdx]?v(i.name,r[i.cbIdx],i,o):t.apply(e,r)}})}function z(t,e){t[d("OriginalDelegate")]=e}var L=!1,F=!1;function Z(){try{var t=y.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch(e){}return!1}function C(){if(L)return F;L=!0;try{var t=y.navigator.userAgent;-1===t.indexOf("MSIE ")&&-1===t.indexOf("Trident/")&&-1===t.indexOf("Edge/")||(F=!0)}catch(e){}return F}Zone.__load_patch("toString",function(t){var e=Function.prototype.toString,n=d("OriginalDelegate"),r=d("Promise"),o=d("Error"),i=function(){if("function"==typeof this){var i=this[n];if(i)return"function"==typeof i?e.call(i):Object.prototype.toString.call(i);if(this===Promise){var a=t[r];if(a)return e.call(a)}if(this===Error){var c=t[o];if(c)return e.call(c)}}return e.call(this)};i[n]=e,Function.prototype.toString=i;var a=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":a.call(this)}});var W=!1;if("undefined"!=typeof window)try{var U=Object.defineProperty({},"passive",{get:function(){W=!0}});window.addEventListener("test",U,U),window.removeEventListener("test",U,U)}catch(Tt){W=!1}var H={useG:!0},B={},G={},K=/^__zone_symbol__(\w+)(true|false)$/,V="__zone_symbol__propagationStopped";function X(t,e,n){var o=n&&n.add||a,i=n&&n.rm||c,u=n&&n.listeners||"eventListeners",s=n&&n.rmAll||"removeAllListeners",h=d(o),v="."+o+":",g="prependListener",y="."+g+":",b=function(t,e,n){if(!t.isRemoved){var r=t.callback;"object"==typeof r&&r.handleEvent&&(t.callback=function(t){return r.handleEvent(t)},t.originalDelegate=r),t.invoke(t,e,[n]);var o=t.options;o&&"object"==typeof o&&o.once&&e[i].call(e,n.type,t.originalDelegate?t.originalDelegate:t.callback,o)}},m=function(e){if(e=e||t.event){var n=this||e.target||t,r=n[B[e.type][l]];if(r)if(1===r.length)b(r[0],n,e);else for(var o=r.slice(),i=0;i1?new i(e,n):new i(e),s=t.ObjectGetOwnPropertyDescriptor(u,"onmessage");return s&&!1===s.configurable?(a=t.ObjectCreate(u),c=u,[r,o,"send","close"].forEach(function(e){a[e]=function(){var n=t.ArraySlice.call(arguments);if(e===r||e===o){var i=n.length>0?n[0]:void 0;if(i){var c=Zone.__symbol__("ON_PROPERTY"+i);u[c]=a[c]}}return u[e].apply(u,n)}})):a=u,t.patchOnProperties(a,["close","error","message","open"],c),a};var a=e.WebSocket;for(var c in i)a[c]=i[c]}(t,e),Zone[t.symbol("patchEvents")]=!0}}Zone.__load_patch("util",function(t,r,u){u.patchOnProperties=D,u.patchMethod=A,u.bindArguments=_,u.patchMacroTask=N;var s=r.__symbol__("BLACK_LISTED_EVENTS"),v=r.__symbol__("UNPATCHED_EVENTS");t[v]&&(t[s]=t[v]),t[s]&&(r[s]=r[v]=t[s]),u.patchEventPrototype=Y,u.patchEventTarget=X,u.isIEOrEdge=C,u.ObjectDefineProperty=n,u.ObjectGetOwnPropertyDescriptor=e,u.ObjectCreate=o,u.ArraySlice=i,u.patchClass=j,u.wrapWithCurrentZone=h,u.filterProperties=yt,u.attachOriginToPatched=z,u._redefineProperty=rt,u.patchCallbacks=Q,u.getGlobalObjects=function(){return{globalSources:G,zoneSymbolEventNames:B,eventNames:gt,isBrowser:T,isMix:w,isNode:E,TRUE_STR:f,FALSE_STR:l,ZONE_SYMBOL_PREFIX:p,ADD_EVENT_LISTENER_STR:a,REMOVE_EVENT_LISTENER_STR:c}}}),function(t){t.__zone_symbol__legacyPatch=function(){var e=t.Zone;e.__load_patch("registerElement",function(t,e,n){!function(t,e){var n=e.getGlobalObjects();(n.isBrowser||n.isMix)&&"registerElement"in t.document&&e.patchCallbacks(e,document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])}(t,n)}),e.__load_patch("EventTargetLegacy",function(t,e,n){kt(t,n),_t(n,t)})}}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);var xt=d("zoneTask");function St(t,e,n,r){var o=null,i=null;n+=r;var a={};function c(e){var n=e.data;return n.args[0]=function(){try{e.invoke.apply(this,arguments)}finally{e.data&&e.data.isPeriodic||("number"==typeof n.handleId?delete a[n.handleId]:n.handleId&&(n.handleId[xt]=null))}},n.handleId=o.apply(t,n.args),e}function u(t){return i(t.data.handleId)}o=A(t,e+=r,function(n){return function(o,i){if("function"==typeof i[0]){var s=v(e,i[0],{isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?i[1]||0:void 0,args:i},c,u);if(!s)return s;var f=s.data.handleId;return"number"==typeof f?a[f]=s:f&&(f[xt]=s),f&&f.ref&&f.unref&&"function"==typeof f.ref&&"function"==typeof f.unref&&(s.ref=f.ref.bind(f),s.unref=f.unref.bind(f)),"number"==typeof f||f?f:s}return n.apply(t,i)}}),i=A(t,n,function(e){return function(n,r){var o,i=r[0];"number"==typeof i?o=a[i]:(o=i&&i[xt])||(o=i),o&&"string"==typeof o.type?"notScheduled"!==o.state&&(o.cancelFn&&o.data.isPeriodic||0===o.runCount)&&("number"==typeof i?delete a[i]:i&&(i[xt]=null),o.zone.cancelTask(o)):e.apply(t,r)}})}function Et(t,e){if(!Zone[e.symbol("patchEventTarget")]){for(var n=e.getGlobalObjects(),r=n.eventNames,o=n.zoneSymbolEventNames,i=n.TRUE_STR,a=n.FALSE_STR,c=n.ZONE_SYMBOL_PREFIX,u=0;u0){var o=t.invoke;t.invoke=function(){for(var n=r.__zone_symbol__loadfalse,i=0;i")}),f=!i(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]});t.exports=function(t,e,n,l){var p=a(t),h=!i(function(){var e={};return e[p]=function(){return 7},7!=""[t](e)}),v=h&&!i(function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[u]=function(){return n}),n[p](""),!e});if(!h||!v||"replace"===t&&!s||"split"===t&&!f){var d=/./[p],g=n(p,""[t],function(t,e,n,r,o){return e.exec===c?h&&!o?{done:!0,value:d.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),y=g[1];o(String.prototype,t,g[0]),o(RegExp.prototype,p,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)}),l&&r(RegExp.prototype[p],"sham",!0)}}},"1E5z":function(t,e,n){var r=n("m/L8").f,o=n("UTVS"),i=n("tiKp")("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},"1Y/n":function(t,e,n){var r=n("HAuM"),o=n("ewvW"),i=n("RK3t"),a=n("UMSQ");t.exports=function(t,e,n,c,u){r(e);var s=o(t),f=i(s),l=a(s.length),p=u?l-1:0,h=u?-1:1;if(n<2)for(;;){if(p in f){c=f[p],p+=h;break}if(p+=h,u?p<0:l<=p)throw TypeError("Reduce of empty array with no initial value")}for(;u?p>=0:l>p;p+=h)p in f&&(c=e(c,f[p],p,s));return c}},"2A+d":function(t,e,n){var r=n("/GqU"),o=n("UMSQ");n("I+eb")({target:"String",stat:!0},{raw:function(t){for(var e=r(t.raw),n=o(e.length),i=arguments.length,a=[],c=0;n>c;)a.push(String(e[c++])),c=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}},"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},"4oU/":function(t,e,n){var r=n("2oRo").isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&r(t)}},"4syw":function(t,e,n){var r=n("busE");t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},"5D5o":function(t,e,n){var r=n("hh1v"),o=Object.isSealed,i=n("0Dky")(function(){o(1)});n("I+eb")({target:"Object",stat:!0,forced:i},{isSealed:function(t){return!r(t)||!!o&&o(t)}})},"5DmW":function(t,e,n){var r=n("/GqU"),o=n("Bs8V").f,i=n("g6v/"),a=n("0Dky")(function(){o(1)}),c=!i||a;n("I+eb")({target:"Object",stat:!0,forced:c,sham:!i},{getOwnPropertyDescriptor:function(t,e){return o(r(t),e)}})},"5YOQ":function(t,e,n){var r=n("2oRo").parseInt,o=n("WKiH"),i=n("WJkJ"),a=/^[-+]?0[xX]/,c=8!==r(i+"08")||22!==r(i+"0x16");t.exports=c?function(t,e){var n=o(String(t),3);return r(n,e>>>0||(a.test(n)?16:10))}:r},"5Yz+":function(t,e,n){"use strict";var r=n("/GqU"),o=n("ppGB"),i=n("UMSQ"),a=[].lastIndexOf,c=!!a&&1/[1].lastIndexOf(1,-0)<0,u=n("swFL")("lastIndexOf");t.exports=c||u?function(t){if(c)return a.apply(this,arguments)||0;var e=r(this),n=i(e.length),u=n-1;for(arguments.length>1&&(u=Math.min(u,o(arguments[1]))),u<0&&(u=n+u);u>=0;u--)if(u in e&&e[u]===t)return u||0;return-1}:a},"5dW1":function(t,e,n){var r=n("ppGB"),o=n("HYAF");t.exports=function(t,e,n){var i,a,c=String(o(t)),u=r(e),s=c.length;return u<0||u>=s?n?"":void 0:(i=c.charCodeAt(u))<55296||i>56319||u+1===s||(a=c.charCodeAt(u+1))<56320||a>57343?n?c.charAt(u):i:n?c.slice(u,u+2):a-56320+(i-55296<<10)+65536}},"5mdu":function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},"5s+n":function(t,e,n){"use strict";var r,o,i,a=n("xDBR"),c=n("2oRo"),u=n("I+eb"),s=n("hh1v"),f=n("HAuM"),l=n("GarU"),p=n("xrYK"),h=n("ImZN"),v=n("HH4o"),d=n("SEBh"),g=n("LPSS").set,y=n("tXUg"),b=n("zfnd"),m=n("RN6c"),k=n("8GlL"),_=n("5mdu"),x=n("s5pE"),S=n("tiKp")("species"),E=n("afO8"),T=n("lMq5"),w=E.get,O=E.set,I=E.getterFor("Promise"),M=c.Promise,D=c.TypeError,P=c.document,j=c.process,R=c.fetch,A=j&&j.versions,N=A&&A.v8||"",z=k.f,L=z,F="process"==p(j),Z=!!(P&&P.createEvent&&c.dispatchEvent),C=T("Promise",function(){var t=M.resolve(1),e=function(){},n=(t.constructor={})[S]=function(t){t(e,e)};return!((F||"function"==typeof PromiseRejectionEvent)&&(!a||t.finally)&&t.then(e)instanceof n&&0!==N.indexOf("6.6")&&-1===x.indexOf("Chrome/66"))}),W=C||!v(function(t){M.all(t).catch(function(){})}),U=function(t){var e;return!(!s(t)||"function"!=typeof(e=t.then))&&e},H=function(t,e,n){if(!e.notified){e.notified=!0;var r=e.reactions;y(function(){for(var o=e.value,i=1==e.state,a=0,c=function(n){var r,a,c,u=i?n.ok:n.fail,s=n.resolve,f=n.reject,l=n.domain;try{u?(i||(2===e.rejection&&V(t,e),e.rejection=1),!0===u?r=o:(l&&l.enter(),r=u(o),l&&(l.exit(),c=!0)),r===n.promise?f(D("Promise-chain cycle")):(a=U(r))?a.call(r,s,f):s(r)):f(o)}catch(p){l&&!c&&l.exit(),f(p)}};r.length>a;)c(r[a++]);e.reactions=[],e.notified=!1,n&&!e.rejection&&G(t,e)})}},B=function(t,e,n){var r,o;Z?((r=P.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),c.dispatchEvent(r)):r={promise:e,reason:n},(o=c["on"+t])?o(r):"unhandledrejection"===t&&m("Unhandled promise rejection",n)},G=function(t,e){g.call(c,function(){var n,r=e.value;if(K(e)&&(n=_(function(){F?j.emit("unhandledRejection",r,t):B("unhandledrejection",t,r)}),e.rejection=F||K(e)?2:1,n.error))throw n.value})},K=function(t){return 1!==t.rejection&&!t.parent},V=function(t,e){g.call(c,function(){F?j.emit("rejectionHandled",t):B("rejectionhandled",t,e.value)})},X=function(t,e,n,r){return function(o){t(e,n,o,r)}},q=function(t,e,n,r){e.done||(e.done=!0,r&&(e=r),e.value=n,e.state=2,H(t,e,!0))},Y=function(t,e,n,r){if(!e.done){e.done=!0,r&&(e=r);try{if(t===n)throw D("Promise can't be resolved itself");var o=U(n);o?y(function(){var r={done:!1};try{o.call(n,X(Y,t,r,e),X(q,t,r,e))}catch(i){q(t,r,i,e)}}):(e.value=n,e.state=1,H(t,e,!1))}catch(i){q(t,{done:!1},i,e)}}};C&&(M=function(t){l(this,M,"Promise"),f(t),r.call(this);var e=w(this);try{t(X(Y,this,e),X(q,this,e))}catch(n){q(this,e,n)}},(r=function(t){O(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=n("4syw")(M.prototype,{then:function(t,e){var n=I(this),r=z(d(this,M));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=F?j.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&H(this,n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r,e=w(t);this.promise=t,this.resolve=X(Y,t,e),this.reject=X(q,t,e)},k.f=z=function(t){return t===M||t===i?new o(t):L(t)},a||"function"!=typeof R||u({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return b(M,R.apply(c,arguments))}})),u({global:!0,wrap:!0,forced:C},{Promise:M}),n("1E5z")(M,"Promise",!1,!0),n("JiZb")("Promise"),i=n("Qo9l").Promise,u({target:"Promise",stat:!0,forced:C},{reject:function(t){var e=z(this);return e.reject.call(void 0,t),e.promise}}),u({target:"Promise",stat:!0,forced:a||C},{resolve:function(t){return b(a&&this===i?M:this,t)}}),u({target:"Promise",stat:!0,forced:W},{all:function(t){var e=this,n=z(e),r=n.resolve,o=n.reject,i=_(function(){var n=[],i=0,a=1;h(t,function(t){var c=i++,u=!1;n.push(void 0),a++,e.resolve(t).then(function(t){u||(u=!0,n[c]=t,--a||r(n))},o)}),--a||r(n)});return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=z(e),r=n.reject,o=_(function(){h(t,function(t){e.resolve(t).then(n.resolve,r)})});return o.error&&r(o.value),n.promise}})},"5uH8":function(t,e,n){n("I+eb")({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},"6JNq":function(t,e,n){var r=n("UTVS"),o=n("Vu81"),i=n("Bs8V"),a=n("m/L8");t.exports=function(t,e){for(var n=o(e),c=a.f,u=i.f,s=0;s3})}},"7+zs":function(t,e,n){var r=n("X2U+"),o=n("tiKp")("toPrimitive"),i=n("UesL"),a=Date.prototype;o in a||r(a,o,i)},"7sbD":function(t,e,n){n("qePV"),n("NbN+"),n("8AyJ"),n("i6QF"),n("kSko"),n("WDsR"),n("r/Vq"),n("5uH8"),n("w1rZ"),n("JevA"),n("toAj"),n("VC3L"),t.exports=n("Qo9l").Number},"8AyJ":function(t,e,n){n("I+eb")({target:"Number",stat:!0},{isFinite:n("4oU/")})},"8GlL":function(t,e,n){"use strict";var r=n("HAuM"),o=function(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new o(t)}},"8YOa":function(t,e,n){var r=n("kOOl")("meta"),o=n("uy83"),i=n("hh1v"),a=n("UTVS"),c=n("m/L8").f,u=0,s=Object.isExtensible||function(){return!0},f=function(t){c(t,r,{value:{objectID:"O"+ ++u,weakData:{}}})},l=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!a(t,r)){if(!s(t))return"F";if(!e)return"E";f(t)}return t[r].objectID},getWeakData:function(t,e){if(!a(t,r)){if(!s(t))return!0;if(!e)return!1;f(t)}return t[r].weakData},onFreeze:function(t){return o&&l.REQUIRED&&s(t)&&!a(t,r)&&f(t),t}};n("0BK2")[r]=!0},"90hW":function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},"93I0":function(t,e,n){var r=n("VpIT")("keys"),o=n("kOOl");t.exports=function(t){return r[t]||(r[t]=o(t))}},"9LPj":function(t,e,n){"use strict";var r=n("ewvW"),o=n("wE6v"),i=n("0Dky")(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})});n("I+eb")({target:"Date",proto:!0,forced:i},{toJSON:function(t){var e=r(this),n=o(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},"9N29":function(t,e,n){"use strict";var r=n("1Y/n"),o=n("swFL")("reduceRight");n("I+eb")({target:"Array",proto:!0,forced:o},{reduceRight:function(t){return r(this,t,arguments.length,arguments[1],!0)}})},"9bJ7":function(t,e,n){"use strict";var r=n("5dW1");n("I+eb")({target:"String",proto:!0},{codePointAt:function(t){return r(this,t)}})},"9d/t":function(t,e,n){var r=n("xrYK"),o=n("tiKp")("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(n){}}(e=Object(t),o))?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},"9mRW":function(t,e,n){n("I+eb")({target:"Math",stat:!0},{fround:n("vo4V")})},"9tb/":function(t,e,n){var r=n("I8vh"),o=String.fromCharCode,i=String.fromCodePoint,a=!!i&&1!=i.length;n("I+eb")({target:"String",stat:!0,forced:a},{fromCodePoint:function(t){for(var e,n=[],i=arguments.length,a=0;i>a;){if(e=+arguments[a++],r(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?o(e):o(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},AmFO:function(t,e,n){var r=n("jrUv"),o=Math.abs,i=Math.exp,a=Math.E,c=n("0Dky")(function(){return-2e-17!=Math.sinh(-2e-17)});n("I+eb")({target:"Math",stat:!0,forced:c},{sinh:function(t){return o(t=+t)<1?(r(t)-r(-t))/2:(i(t-1)-i(-t-1))*(a/2)}})},Anvj:function(t,e,n){var r=n("33Wh"),o=n("dBg+"),i=n("0eef");t.exports=function(t){var e=r(t),n=o.f;if(n)for(var a,c=n(t),u=i.f,s=0;c.length>s;)u.call(t,a=c[s++])&&e.push(a);return e}},BNMt:function(t,e,n){"use strict";var r=n("hXpO"),o=n("6unK")("blink");n("I+eb")({target:"String",proto:!0,forced:o},{blink:function(){return r(this,"blink","","")}})},BTho:function(t,e,n){"use strict";var r=n("HAuM"),o=n("hh1v"),i=[].slice,a={};t.exports=Function.bind||function(t){var e=r(this),n=i.call(arguments,1),c=function(){var r=n.concat(i.call(arguments));return this instanceof c?function(t,e,n){if(!(e in a)){for(var r=[],o=0;o0?arguments[0]:void 0)}},v=t.exports=n("bWFh")("WeakMap",h,c,!0,!0);if(f&&l){r=c.getConstructor(h,"WeakMap",!0),a.REQUIRED=!0;var d=v.prototype,g=d.delete,y=d.has,b=d.get,m=d.set;i(d,{delete:function(t){if(u(t)&&!p(t)){var e=s(this);return e.frozen||(e.frozen=new r),g.call(this,t)||e.frozen.delete(t)}return g.call(this,t)},has:function(t){if(u(t)&&!p(t)){var e=s(this);return e.frozen||(e.frozen=new r),y.call(this,t)||e.frozen.has(t)}return y.call(this,t)},get:function(t){if(u(t)&&!p(t)){var e=s(this);return e.frozen||(e.frozen=new r),y.call(this,t)?b.call(this,t):e.frozen.get(t)}return b.call(this,t)},set:function(t,e){if(u(t)&&!p(t)){var n=s(this);n.frozen||(n.frozen=new r),y.call(this,t)?m.call(this,t,e):n.frozen.set(t,e)}else m.call(this,t,e);return this}})}},EUja:function(t,e,n){"use strict";var r=n("ppGB"),o=n("HYAF");t.exports="".repeat||function(t){var e=String(o(this)),n="",i=r(t);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},EnZy:function(t,e,n){"use strict";var r=n("ROdP"),o=n("glrk"),i=n("HYAF"),a=n("SEBh"),c=n("iqWW"),u=n("UMSQ"),s=n("FMNM"),f=n("kmMV"),l=n("0Dky"),p=[].push,h=Math.min,v=!l(function(){return!RegExp(4294967295,"y")});n("14Sl")("split",2,function(t,e,n){var l;return l="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var o=String(i(this)),a=void 0===n?4294967295:n>>>0;if(0===a)return[];if(void 0===t)return[o];if(!r(t))return e.call(o,t,a);for(var c,u,s,l=[],h=0,v=new RegExp(t.source,(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":"")+"g");(c=f.call(v,o))&&!((u=v.lastIndex)>h&&(l.push(o.slice(h,c.index)),c.length>1&&c.index=a));)v.lastIndex===c.index&&v.lastIndex++;return h===o.length?!s&&v.test("")||l.push(""):l.push(o.slice(h)),l.length>a?l.slice(0,a):l}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var r=i(this),o=null==e?void 0:e[t];return void 0!==o?o.call(e,r,n):l.call(String(r),e,n)},function(t,r){var i=n(l,t,this,r,l!==e);if(i.done)return i.value;var f=o(t),p=String(this),d=a(f,RegExp),g=f.unicode,y=new d(v?f:"^(?:"+f.source+")",(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(v?"y":"g")),b=void 0===r?4294967295:r>>>0;if(0===b)return[];if(0===p.length)return null===s(y,p)?[p]:[];for(var m=0,k=0,_=[];k2?arguments[2]:void 0,f=Math.min((void 0===s?a:o(s,a))-u,a-c),l=1;for(u0;)u in n?n[c]=n[u]:delete n[c],c+=l,u+=l;return n}},FMNM:function(t,e,n){var r=n("xrYK"),o=n("kmMV");t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var i=n.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},"G+Rx":function(t,e,n){var r=n("2oRo").document;t.exports=r&&r.documentElement},GKVU:function(t,e,n){"use strict";var r=n("hXpO"),o=n("6unK")("anchor");n("I+eb")({target:"String",proto:!0,forced:o},{anchor:function(t){return r(this,"a","name",t)}})},GRPF:function(t,e,n){"use strict";var r=n("hXpO"),o=n("6unK")("fontsize");n("I+eb")({target:"String",proto:!0,forced:o},{fontsize:function(t){return r(this,"font","size",t)}})},GarU:function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},HAuM:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},HH4o:function(t,e,n){var r=n("tiKp")("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,function(){throw 2})}catch(c){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(c){}return n}},HRxU:function(t,e,n){var r=n("g6v/");n("I+eb")({target:"Object",stat:!0,forced:!r,sham:!r},{defineProperties:n("N+g0")})},HYAF:function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},Hd5f:function(t,e,n){var r=n("0Dky"),o=n("tiKp")("species");t.exports=function(t){return!r(function(){var e=[];return(e.constructor={})[o]=function(){return{foo:1}},1!==e[t](Boolean).foo})}},HsHA:function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},"I+eb":function(t,e,n){var r=n("2oRo"),o=n("Bs8V").f,i=n("X2U+"),a=n("busE"),c=n("zk60"),u=n("6JNq"),s=n("lMq5");t.exports=function(t,e){var n,f,l,p,h,v=t.target,d=t.global,g=t.stat;if(n=d?r:g?r[v]||c(v,{}):(r[v]||{}).prototype)for(f in e){if(p=e[f],l=t.noTargetGet?(h=o(n,f))&&h.value:n[f],!s(d?f:v+(g?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;u(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),a(n,f,p,t)}}},I8vh:function(t,e,n){var r=n("ppGB"),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},I9xj:function(t,e,n){n("1E5z")(Math,"Math",!0)},ImZN:function(t,e,n){var r=n("glrk"),o=n("6VoE"),i=n("UMSQ"),a=n("+MLx"),c=n("NaFW"),u=n("m92n"),s={};(t.exports=function(t,e,n,f,l){var p,h,v,d,g,y=a(e,n,f?2:1);if(l)p=t;else{if("function"!=typeof(h=c(t)))throw TypeError("Target is not iterable");if(o(h)){for(v=0,d=i(t.length);d>v;v++)if((f?y(r(g=t[v])[0],g[1]):y(t[v]))===s)return s;return}p=h.call(t)}for(;!(g=p.next()).done;)if(u(p,y,g.value,f)===s)return s}).BREAK=s},IxXR:function(t,e,n){"use strict";var r=n("hXpO"),o=n("6unK")("strike");n("I+eb")({target:"String",proto:!0,forced:o},{strike:function(){return r(this,"strike","","")}})},J30X:function(t,e,n){n("I+eb")({target:"Array",stat:!0},{isArray:n("6LWA")})},JBy8:function(t,e,n){var r=n("yoRg"),o=n("eDl+").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},JTJg:function(t,e,n){"use strict";var r=n("NA7A"),o=n("qxPZ")("includes");n("I+eb")({target:"String",proto:!0,forced:!o},{includes:function(t){return!!~r(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},JevA:function(t,e,n){var r=n("5YOQ");n("I+eb")({target:"Number",stat:!0,forced:Number.parseInt!=r},{parseInt:r})},JfAA:function(t,e,n){"use strict";var r=n("glrk"),o=n("0Dky"),i=n("rW0t"),a=n("g6v/"),c=/./.toString;(o(function(){return"/a/b"!=c.call({source:"a",flags:"b"})})||"toString"!=c.name)&&n("busE")(RegExp.prototype,"toString",function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!a&&t instanceof RegExp?i.call(t):void 0)},{unsafe:!0})},JiZb:function(t,e,n){"use strict";var r=n("0GbY"),o=n("m/L8"),i=n("g6v/"),a=n("tiKp")("species");t.exports=function(t){var e=r(t);i&&e&&!e[a]&&(0,o.f)(e,a,{configurable:!0,get:function(){return this}})}},Kv9l:function(t,e,n){n("TWNs"),n("JfAA"),n("rB9j"),n("U3f4"),n("Rm1S"),n("UxlC"),n("hByQ"),n("EnZy")},KvGi:function(t,e,n){n("I+eb")({target:"Math",stat:!0},{sign:n("90hW")})},Kxld:function(t,e,n){n("I+eb")({target:"Object",stat:!0},{is:n("Ep9I")})},LKBx:function(t,e,n){"use strict";var r=n("UMSQ"),o=n("NA7A"),i=n("qxPZ")("startsWith"),a="".startsWith;n("I+eb")({target:"String",proto:!0,forced:!i},{startsWith:function(t){var e=o(this,t,"startsWith"),n=r(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),i=String(t);return a?a.call(e,i,n):e.slice(n,n+i.length)===i}})},LPSS:function(t,e,n){var r,o,i,a=n("2oRo"),c=n("xrYK"),u=n("+MLx"),s=n("G+Rx"),f=n("zBJ4"),l=a.setImmediate,p=a.clearImmediate,h=a.process,v=a.MessageChannel,d=a.Dispatch,g=0,y={},b=function(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},m=function(t){b.call(t.data)};l&&p||(l=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return y[++g]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},r(g),g},p=function(t){delete y[t]},"process"==c(h)?r=function(t){h.nextTick(u(b,t,1))}:d&&d.now?r=function(t){d.now(u(b,t,1))}:v?(i=(o=new v).port2,o.port1.onmessage=m,r=u(i.postMessage,i,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts?(r=function(t){a.postMessage(t+"","*")},a.addEventListener("message",m,!1)):r="onreadystatechange"in f("script")?function(t){s.appendChild(f("script")).onreadystatechange=function(){s.removeChild(this),b.call(t)}}:function(t){setTimeout(u(b,t,1),0)}),t.exports={set:l,clear:p}},LhpL:function(t,e,n){var r=n("hh1v"),o=n("glrk");t.exports=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype")}},"N+g0":function(t,e,n){var r=n("g6v/"),o=n("m/L8"),i=n("glrk"),a=n("33Wh");t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=a(e),c=r.length,u=0;c>u;)o.f(t,n=r[u++],e[n]);return t}},NA7A:function(t,e,n){var r=n("ROdP"),o=n("HYAF");t.exports=function(t,e,n){if(r(e))throw TypeError("String.prototype."+n+" doesn't accept regex");return String(o(t))}},NBAS:function(t,e,n){var r=n("ewvW"),o=n("4WOD"),i=n("4Xet"),a=n("0Dky")(function(){o(1)});n("I+eb")({target:"Object",stat:!0,forced:a,sham:!i},{getPrototypeOf:function(t){return o(r(t))}})},NaFW:function(t,e,n){var r=n("9d/t"),o=n("tiKp")("iterator"),i=n("P4y1");t.exports=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},"NbN+":function(t,e,n){n("I+eb")({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},OM9Z:function(t,e,n){n("I+eb")({target:"String",proto:!0},{repeat:n("EUja")})},P0SU:function(t,e,n){var r=n("+MLx"),o=n("RK3t"),i=n("ewvW"),a=n("UMSQ"),c=n("ZfDv");t.exports=function(t,e){var n=1==t,u=2==t,s=3==t,f=4==t,l=6==t,p=5==t||l,h=e||c;return function(e,c,v){for(var d,g,y=i(e),b=o(y),m=r(c,v,3),k=a(b.length),_=0,x=n?h(e,k):u?h(e,0):void 0;k>_;_++)if((p||_ in b)&&(g=m(d=b[_],_,y),t))if(n)x[_]=g;else if(g)switch(t){case 3:return!0;case 5:return d;case 6:return _;case 2:x.push(d)}else if(f)return!1;return l?-1:s||f?f:x}}},P4y1:function(t,e){t.exports={}},PKPk:function(t,e,n){"use strict";var r=n("5dW1"),o=n("afO8"),i=n("fdAy"),a=o.set,c=o.getterFor("String Iterator");i(String,"String",function(t){a(this,{type:"String Iterator",string:String(t),index:0})},function(){var t,e=c(this),n=e.string,o=e.index;return o>=n.length?{value:void 0,done:!0}:(t=r(n,o,!0),e.index+=t.length,{value:t,done:!1})})},PqOI:function(t,e,n){var r=n("90hW"),o=Math.abs,i=Math.pow;n("I+eb")({target:"Math",stat:!0},{cbrt:function(t){return r(t=+t)*i(o(t),1/3)}})},QFcT:function(t,e,n){var r=Math.abs,o=Math.sqrt;n("I+eb")({target:"Math",stat:!0},{hypot:function(t,e){for(var n,i,a=0,c=0,u=arguments.length,s=0;c0?(i=n/s)*i:n;return s===1/0?1/0:s*o(a)}})},QIpd:function(t,e,n){var r=n("xrYK");t.exports=function(t){if("number"!=typeof t&&"Number"!=r(t))throw TypeError("Incorrect invocation");return+t}},QNnp:function(t,e,n){var r=Math.floor,o=Math.log,i=Math.LOG2E;n("I+eb")({target:"Math",stat:!0},{clz32:function(t){return(t>>>=0)?31-r(o(t+.5)*i):32}})},QWBl:function(t,e,n){"use strict";var r=n("F8JR");n("I+eb")({target:"Array",proto:!0,forced:[].forEach!=r},{forEach:r})},Qo9l:function(t,e,n){t.exports=n("2oRo")},RK3t:function(t,e,n){var r=n("0Dky"),o=n("xrYK"),i="".split;t.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},RN6c:function(t,e,n){var r=n("2oRo");t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},RNIs:function(t,e,n){var r=n("tiKp")("unscopables"),o=n("fHMY"),i=n("X2U+"),a=Array.prototype;null==a[r]&&i(a,r,o(null)),t.exports=function(t){a[r][t]=!0}},ROdP:function(t,e,n){var r=n("hh1v"),o=n("xrYK"),i=n("tiKp")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},Rfxz:function(t,e,n){"use strict";var r=n("P0SU")(3),o=n("swFL")("some");n("I+eb")({target:"Array",proto:!0,forced:o},{some:function(t){return r(this,t,arguments[1])}})},Rm1S:function(t,e,n){"use strict";var r=n("glrk"),o=n("UMSQ"),i=n("HYAF"),a=n("iqWW"),c=n("FMNM");n("14Sl")("match",1,function(t,e,n){return[function(e){var n=i(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var i=n(e,t,this);if(i.done)return i.value;var u=r(t),s=String(this);if(!u.global)return c(u,s);var f=u.unicode;u.lastIndex=0;for(var l,p=[],h=0;null!==(l=c(u,s));){var v=String(l[0]);p[h]=v,""===v&&(u.lastIndex=a(s,o(u.lastIndex),f)),h++}return 0===h?null:p}]})},SEBh:function(t,e,n){var r=n("glrk"),o=n("HAuM"),i=n("tiKp")("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[i])?e:o(n)}},STAE:function(t,e,n){t.exports=!n("0Dky")(function(){return!String(Symbol())})},SYor:function(t,e,n){"use strict";var r=n("WKiH"),o=n("4HCi")("trim");n("I+eb")({target:"String",proto:!0,forced:o},{trim:function(){return r(this,3)}})},TFPT:function(t,e,n){"use strict";var r=n("hXpO"),o=n("6unK")("sub");n("I+eb")({target:"String",proto:!0,forced:o},{sub:function(){return r(this,"sub","","")}})},TWNs:function(t,e,n){var r=n("g6v/"),o=n("tiKp")("match"),i=n("2oRo"),a=n("lMq5"),c=n("cVYH"),u=n("m/L8").f,s=n("JBy8").f,f=n("ROdP"),l=n("rW0t"),p=n("busE"),h=n("0Dky"),v=i.RegExp,d=v.prototype,g=/a/g,y=/a/g,b=new v(g)!==g;if(a("RegExp",r&&(!b||h(function(){return y[o]=!1,v(g)!=g||v(y)==y||"/a/i"!=v(g,"i")})))){for(var m=function(t,e){var n=this instanceof m,r=f(t),o=void 0===e;return!n&&r&&t.constructor===m&&o?t:c(b?new v(r&&!o?t.source:t,e):v((r=t instanceof m)?t.source:t,r&&o?l.call(t):e),n?this:d,m)},k=function(t){t in m||u(m,t,{configurable:!0,get:function(){return v[t]},set:function(e){v[t]=e}})},_=s(v),x=0;x<_.length;)k(_[x++]);d.constructor=m,m.prototype=d,p(i,"RegExp",m)}n("JiZb")("RegExp")},TWQb:function(t,e,n){var r=n("/GqU"),o=n("UMSQ"),i=n("I8vh");t.exports=function(t){return function(e,n,a){var c,u=r(e),s=o(u.length),f=i(a,s);if(t&&n!=n){for(;s>f;)if((c=u[f++])!=c)return!0}else for(;s>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}}},TeQF:function(t,e,n){"use strict";var r=n("P0SU")(2),o=n("Hd5f")("filter");n("I+eb")({target:"Array",proto:!0,forced:!o},{filter:function(t){return r(this,t,arguments[1])}})},TfTi:function(t,e,n){"use strict";var r=n("+MLx"),o=n("ewvW"),i=n("m92n"),a=n("6VoE"),c=n("UMSQ"),u=n("hBjN"),s=n("NaFW");t.exports=function(t){var e,n,f,l,p=o(t),h="function"==typeof this?this:Array,v=arguments.length,d=v>1?arguments[1]:void 0,g=void 0!==d,y=0,b=s(p);if(g&&(d=r(d,v>2?arguments[2]:void 0,2)),null==b||h==Array&&a(b))for(n=new h(e=c(p.length));e>y;y++)u(n,y,g?d(p[y],y):p[y]);else for(l=b.call(p),n=new h;!(f=l.next()).done;y++)u(n,y,g?i(l,d,[f.value,y],!0):f.value);return n.length=y,n}},ToJy:function(t,e,n){"use strict";var r=n("HAuM"),o=n("ewvW"),i=n("0Dky"),a=[].sort,c=[1,2,3],u=i(function(){c.sort(void 0)}),s=i(function(){c.sort(null)}),f=n("swFL")("sort"),l=u||!s||f;n("I+eb")({target:"Array",proto:!0,forced:l},{sort:function(t){return void 0===t?a.call(o(this)):a.call(o(this),r(t))}})},Tskq:function(t,e,n){"use strict";t.exports=n("bWFh")("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},n("ZWaQ"),!0)},U3f4:function(t,e,n){n("g6v/")&&"g"!=/./g.flags&&n("m/L8").f(RegExp.prototype,"flags",{configurable:!0,get:n("rW0t")})},UMSQ:function(t,e,n){var r=n("ppGB"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},UTVS:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},UesL:function(t,e,n){"use strict";var r=n("glrk"),o=n("wE6v");t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(r(this),"number"!==t)}},UxlC:function(t,e,n){"use strict";var r=n("glrk"),o=n("ewvW"),i=n("UMSQ"),a=n("ppGB"),c=n("HYAF"),u=n("iqWW"),s=n("FMNM"),f=Math.max,l=Math.min,p=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,v=/\$([$&`']|\d\d?)/g;n("14Sl")("replace",2,function(t,e,n){return[function(n,r){var o=c(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):e.call(String(o),n,r)},function(t,o){var c=n(e,t,this,o);if(c.done)return c.value;var p=r(t),h=String(this),v="function"==typeof o;v||(o=String(o));var g=p.global;if(g){var y=p.unicode;p.lastIndex=0}for(var b=[];;){var m=s(p,h);if(null===m)break;if(b.push(m),!g)break;""===String(m[0])&&(p.lastIndex=u(h,i(p.lastIndex),y))}for(var k,_="",x=0,S=0;S=x&&(_+=h.slice(x,T)+D,x=T+E.length)}return _+h.slice(x)}];function d(t,n,r,i,a,c){var u=r+t.length,s=i.length,f=v;return void 0!==a&&(a=o(a),f=h),e.call(c,f,function(e,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(u);case"<":c=a[o.slice(1,-1)];break;default:var f=+o;if(0===f)return e;if(f>s){var l=p(f/10);return 0===l?e:l<=s?void 0===i[l-1]?o.charAt(1):i[l-1]+o.charAt(1):e}c=i[f-1]}return void 0===c?"":c})}})},Uydy:function(t,e,n){var r=n("HsHA"),o=Math.acosh,i=Math.log,a=Math.sqrt,c=Math.LN2,u=!o||710!=Math.floor(o(Number.MAX_VALUE))||o(1/0)!=1/0;n("I+eb")({target:"Math",stat:!0,forced:u},{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?i(t)+c:r(t-1+a(t-1)*a(t+1))}})},VC3L:function(t,e,n){"use strict";var r=n("0Dky"),o=n("QIpd"),i=1..toPrecision;n("I+eb")({target:"Number",proto:!0,forced:r(function(){return"1"!==i.call(1,void 0)})||!r(function(){i.call({})})},{toPrecision:function(t){return void 0===t?i.call(o(this)):i.call(o(this),t)}})},VpIT:function(t,e,n){var r=n("2oRo"),o=n("zk60"),i=r["__core-js_shared__"]||o("__core-js_shared__",{});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.0.1",mode:n("xDBR")?"pure":"global",copyright:"\xa9 2019 Denis Pushkarev (zloirock.ru)"})},Vu81:function(t,e,n){var r=n("JBy8"),o=n("dBg+"),i=n("glrk"),a=n("2oRo").Reflect;t.exports=a&&a.ownKeys||function(t){var e=r.f(i(t)),n=o.f;return n?e.concat(n(t)):e}},WDsR:function(t,e,n){var r=n("Xol8"),o=Math.abs;n("I+eb")({target:"Number",stat:!0},{isSafeInteger:function(t){return r(t)&&o(t)<=9007199254740991}})},WJkJ:function(t,e){t.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},WKiH:function(t,e,n){var r=n("HYAF"),o="["+n("WJkJ")+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$");t.exports=function(t,e){return t=String(r(t)),1&e&&(t=t.replace(i,"")),2&e&&(t=t.replace(a,"")),t}},"X2U+":function(t,e,n){var r=n("m/L8"),o=n("XGwC");t.exports=n("g6v/")?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},XGwC:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},Xe3L:function(t,e,n){"use strict";var r=n("hBjN"),o=n("0Dky")(function(){function t(){}return!(Array.of.call(t)instanceof t)});n("I+eb")({target:"Array",stat:!0,forced:o},{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)r(n,t,arguments[t++]);return n.length=e,n}})},Xol8:function(t,e,n){var r=n("hh1v"),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},YGK4:function(t,e,n){"use strict";t.exports=n("bWFh")("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},n("ZWaQ"))},YNrV:function(t,e,n){"use strict";var r=n("33Wh"),o=n("dBg+"),i=n("0eef"),a=n("ewvW"),c=n("RK3t"),u=Object.assign;t.exports=!u||n("0Dky")(function(){var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||"abcdefghijklmnopqrst"!=r(u({},e)).join("")})?function(t,e){for(var n=a(t),u=arguments.length,s=1,f=o.f,l=i.f;u>s;)for(var p,h=c(arguments[s++]),v=f?r(h).concat(f(h)):r(h),d=v.length,g=0;d>g;)l.call(h,p=v[g++])&&(n[p]=h[p]);return n}:u},ZOXb:function(t,e,n){"use strict";var r=n("0Dky"),o=Date.prototype,i=o.getTime,a=o.toISOString,c=function(t){return t>9?t:"0"+t};t.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=a.call(new Date(-5e13-1))})||!r(function(){a.call(new Date(NaN))})?function(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var t=this.getUTCFullYear(),e=this.getUTCMilliseconds(),n=t<0?"-":t>9999?"+":"";return n+("00000"+Math.abs(t)).slice(n?-6:-4)+"-"+c(this.getUTCMonth()+1)+"-"+c(this.getUTCDate())+"T"+c(this.getUTCHours())+":"+c(this.getUTCMinutes())+":"+c(this.getUTCSeconds())+"."+(e>99?e:"0"+c(e))+"Z"}:a},ZWaQ:function(t,e,n){"use strict";var r=n("m/L8").f,o=n("fHMY"),i=n("4syw"),a=n("+MLx"),c=n("GarU"),u=n("ImZN"),s=n("fdAy"),f=n("JiZb"),l=n("g6v/"),p=n("8YOa").fastKey,h=n("afO8"),v=h.set,d=h.getterFor;t.exports={getConstructor:function(t,e,n,s){var f=t(function(t,r){c(t,f,e),v(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),l||(t.size=0),null!=r&&u(r,t[s],t,n)}),h=d(e),g=function(t,e,n){var r,o,i=h(t),a=y(t,e);return a?a.value=n:(i.last=a={index:o=p(e,!0),key:e,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),l?i.size++:t.size++,"F"!==o&&(i.index[o]=a)),t},y=function(t,e){var n,r=h(t),o=p(e);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==e)return n};return i(f.prototype,{clear:function(){for(var t=h(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,l?t.size=0:this.size=0},delete:function(t){var e=h(this),n=y(this,t);if(n){var r=n.next,o=n.previous;delete e.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),e.first==n&&(e.first=r),e.last==n&&(e.last=o),l?e.size--:this.size--}return!!n},forEach:function(t){for(var e,n=h(this),r=a(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!y(this,t)}}),i(f.prototype,n?{get:function(t){var e=y(this,t);return e&&e.value},set:function(t,e){return g(this,0===t?0:t,e)}}:{add:function(t){return g(this,t=0===t?0:t,t)}}),l&&r(f.prototype,"size",{get:function(){return h(this).size}}),f},setStrong:function(t,e,n){var r=e+" Iterator",o=d(e),i=d(r);s(t,e,function(t,e){v(this,{type:r,target:t,state:o(t),kind:e,last:void 0})},function(){for(var t=i(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})},n?"entries":"values",!n,!0),f(e)}}},ZfDv:function(t,e,n){var r=n("hh1v"),o=n("6LWA"),i=n("tiKp")("species");t.exports=function(t,e){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},Zk8X:function(t,e,n){"use strict";var r=n("hXpO"),o=n("6unK")("sup");n("I+eb")({target:"String",proto:!0,forced:o},{sup:function(){return r(this,"sup","","")}})},a5NK:function(t,e,n){var r=Math.log,o=Math.LOG10E;n("I+eb")({target:"Math",stat:!0},{log10:function(t){return r(t)*o}})},afO8:function(t,e,n){var r,o,i,a=n("f5p1"),c=n("hh1v"),u=n("X2U+"),s=n("UTVS"),f=n("93I0"),l=n("0BK2"),p=n("2oRo").WeakMap;if(a){var h=new p,v=h.get,d=h.has,g=h.set;r=function(t,e){return g.call(h,t,e),e},o=function(t){return v.call(h,t)||{}},i=function(t){return d.call(h,t)}}else{var y=f("state");l[y]=!0,r=function(t,e){return u(t,y,e),e},o=function(t){return s(t,y)?t[y]:{}},i=function(t){return s(t,y)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!c(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},"b+VT":function(t,e,n){var r=n("2oRo").parseFloat,o=n("WKiH"),i=n("WJkJ"),a=1/r(i+"-0")!=-1/0;t.exports=a?function(t){var e=o(String(t),3),n=r(e);return 0===n&&"-"==e.charAt(0)?-0:n}:r},bWFh:function(t,e,n){"use strict";var r=n("2oRo"),o=n("lMq5"),i=n("I+eb"),a=n("busE"),c=n("8YOa"),u=n("ImZN"),s=n("GarU"),f=n("hh1v"),l=n("0Dky"),p=n("HH4o"),h=n("1E5z"),v=n("cVYH");t.exports=function(t,e,n,d,g){var y=r[t],b=y&&y.prototype,m=y,k=d?"set":"add",_={},x=function(t){var e=b[t];a(b,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(g&&!f(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!f(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!f(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(o(t,"function"!=typeof y||!(g||b.forEach&&!l(function(){(new y).entries().next()}))))m=n.getConstructor(e,t,d,k),c.REQUIRED=!0;else if(o(t,!0)){var S=new m,E=S[k](g?{}:-0,1)!=S,T=l(function(){S.has(1)}),w=p(function(t){new y(t)}),O=!g&&l(function(){for(var t=new y,e=5;e--;)t[k](e,e);return!t.has(-0)});w||((m=e(function(e,n){s(e,m,t);var r=v(new y,e,m);return null!=n&&u(n,r[k],r,d),r})).prototype=b,b.constructor=m),(T||O)&&(x("delete"),x("has"),d&&x("get")),(O||E)&&x(k),g&&b.clear&&delete b.clear}return _[t]=m,i({global:!0,forced:m!=y},_),h(m,t),g||n.setStrong(m,t,d),m}},brp2:function(t,e,n){n("I+eb")({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},busE:function(t,e,n){var r=n("2oRo"),o=n("X2U+"),i=n("UTVS"),a=n("zk60"),c=n("noGo"),u=n("afO8"),s=u.get,f=u.enforce,l=String(c).split("toString");n("VpIT")("inspectSource",function(t){return c.call(t)}),(t.exports=function(t,e,n,c){var u=!!c&&!!c.unsafe,s=!!c&&!!c.enumerable,p=!!c&&!!c.noTargetGet;"function"==typeof n&&("string"!=typeof e||i(n,"name")||o(n,"name",e),f(n).source=l.join("string"==typeof e?e:"")),t!==r?(u?!p&&t[e]&&(s=!0):delete t[e],s?t[e]=n:o(t,e,n)):s?t[e]=n:a(e,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&s(this).source||c.call(this)})},cDke:function(t,e,n){var r=n("BX/b").f,o=n("0Dky")(function(){Object.getOwnPropertyNames(1)});n("I+eb")({target:"Object",stat:!0,forced:o},{getOwnPropertyNames:r})},cVYH:function(t,e,n){var r=n("hh1v"),o=n("0rvr");t.exports=function(t,e,n){var i,a=e.constructor;return a!==n&&"function"==typeof a&&(i=a.prototype)!==n.prototype&&r(i)&&o&&o(t,i),t}},"dBg+":function(t,e){e.f=Object.getOwnPropertySymbols},"dG/n":function(t,e,n){var r=n("Qo9l"),o=n("UTVS"),i=n("wDLo"),a=n("m/L8").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},"eDl+":function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},eJiR:function(t,e,n){var r=n("jrUv"),o=Math.exp;n("I+eb")({target:"Math",stat:!0},{tanh:function(t){var e=r(t=+t),n=r(-t);return e==1/0?1:n==1/0?-1:(e-n)/(o(t)+o(-t))}})},eajv:function(t,e,n){var r=Math.asinh,o=Math.log,i=Math.sqrt;n("I+eb")({target:"Math",stat:!0,forced:!(r&&1/r(0)>0)},{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):o(e+i(e*e+1)):e}})},eoL8:function(t,e,n){var r=n("g6v/");n("I+eb")({target:"Object",stat:!0,forced:!r,sham:!r},{defineProperty:n("m/L8").f})},ewvW:function(t,e,n){var r=n("HYAF");t.exports=function(t){return Object(r(t))}},f5p1:function(t,e,n){var r=n("noGo"),o=n("2oRo").WeakMap;t.exports="function"==typeof o&&/native code/.test(r.call(o))},fHMY:function(t,e,n){var r=n("glrk"),o=n("N+g0"),i=n("eDl+"),a=n("G+Rx"),c=n("zBJ4"),u=n("93I0")("IE_PROTO"),s=function(){},f=function(){var t,e=c("iframe"),n=i.length;for(e.style.display="none",a.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(""), + t.close(), + f = t.F; + n--; + + ) + delete f.prototype[i[n]]; + return f(); + }; + (t.exports = + Object.create || + function(t, e) { + var n; + return ( + null !== t + ? ((s.prototype = r(t)), + (n = new s()), + (s.prototype = null), + (n[u] = t)) + : (n = f()), + void 0 === e ? n : o(n, e) + ); + }), + (n("0BK2")[u] = !0); + }, + fbCW: function(t, e, n) { + "use strict"; + var r = n("P0SU")(5), + o = !0; + "find" in [] && + Array(1).find(function() { + o = !1; + }), + n("I+eb")( + { target: "Array", proto: !0, forced: o }, + { + find: function(t) { + return r(this, t, arguments.length > 1 ? arguments[1] : void 0); + } + } + ), + n("RNIs")("find"); + }, + fdAy: function(t, e, n) { + "use strict"; + var r = n("I+eb"), + o = n("ntOU"), + i = n("4WOD"), + a = n("0rvr"), + c = n("1E5z"), + u = n("X2U+"), + s = n("busE"), + f = n("xDBR"), + l = n("tiKp")("iterator"), + p = n("P4y1"), + h = n("rpNk"), + v = h.IteratorPrototype, + d = h.BUGGY_SAFARI_ITERATORS, + g = function() { + return this; + }; + t.exports = function(t, e, n, h, y, b, m) { + o(n, e, h); + var k, + _, + x, + S = function(t) { + if (t === y && I) return I; + if (!d && t in T) return T[t]; + switch (t) { + case "keys": + case "values": + case "entries": + return function() { + return new n(this, t); + }; + } + return function() { + return new n(this); + }; + }, + E = e + " Iterator", + w = !1, + T = t.prototype, + O = T[l] || T["@@iterator"] || (y && T[y]), + I = (!d && O) || S(y), + M = ("Array" == e && T.entries) || O; + if ( + (M && + ((k = i(M.call(new t()))), + v !== Object.prototype && + k.next && + (f || + i(k) === v || + (a ? a(k, v) : "function" != typeof k[l] && u(k, l, g)), + c(k, E, !0, !0), + f && (p[E] = g))), + "values" == y && + O && + "values" !== O.name && + ((w = !0), + (I = function() { + return O.call(this); + })), + (f && !m) || T[l] === I || u(T, l, I), + (p[e] = I), + y) + ) + if ( + ((_ = { + values: S("values"), + keys: b ? I : S("keys"), + entries: S("entries") + }), + m) + ) + for (x in _) (!d && !w && x in T) || s(T, x, _[x]); + else r({ target: e, proto: !0, forced: d || w }, _); + return _; + }; + }, + ftKg: function(t, e, n) { + n("brp2"), + n("9LPj"), + n("rMz7"), + n("DQNa"), + n("7+zs"), + (t.exports = n("Qo9l").Date); + }, + "g6v/": function(t, e, n) { + t.exports = !n("0Dky")(function() { + return ( + 7 != + Object.defineProperty({}, "a", { + get: function() { + return 7; + } + }).a + ); + }); + }, + gdVl: function(t, e, n) { + "use strict"; + var r = n("ewvW"), + o = n("I8vh"), + i = n("UMSQ"); + t.exports = function(t) { + for ( + var e = r(this), + n = i(e.length), + a = arguments.length, + c = o(a > 1 ? arguments[1] : void 0, n), + u = a > 2 ? arguments[2] : void 0, + s = void 0 === u ? n : o(u, n); + s > c; + + ) + e[c++] = t; + return e; + }; + }, + glrk: function(t, e, n) { + var r = n("hh1v"); + t.exports = function(t) { + if (!r(t)) throw TypeError(String(t) + " is not an object"); + return t; + }; + }, + hBjN: function(t, e, n) { + "use strict"; + var r = n("wE6v"), + o = n("m/L8"), + i = n("XGwC"); + t.exports = function(t, e, n) { + var a = r(e); + a in t ? o.f(t, a, i(0, n)) : (t[a] = n); + }; + }, + hByQ: function(t, e, n) { + "use strict"; + var r = n("glrk"), + o = n("HYAF"), + i = n("Ep9I"), + a = n("FMNM"); + n("14Sl")("search", 1, function(t, e, n) { + return [ + function(e) { + var n = o(this), + r = null == e ? void 0 : e[t]; + return void 0 !== r ? r.call(e, n) : new RegExp(e)[t](String(n)); + }, + function(t) { + var o = n(e, t, this); + if (o.done) return o.value; + var c = r(t), + u = String(this), + s = c.lastIndex; + i(s, 0) || (c.lastIndex = 0); + var f = a(c, u); + return ( + i(c.lastIndex, s) || (c.lastIndex = s), null === f ? -1 : f.index + ); + } + ]; + }); + }, + "hN/g": function(t, e, n) { + "use strict"; + n.r(e), n("0TWp"), (window.global = window); + }, + hXpO: function(t, e, n) { + var r = n("HYAF"), + o = /"/g; + t.exports = function(t, e, n, i) { + var a = String(r(t)), + c = "<" + e; + return ( + "" !== n && + (c += " " + n + '="' + String(i).replace(o, """) + '"'), + c + ">" + a + "" + ); + }; + }, + hh1v: function(t, e) { + t.exports = function(t) { + return "object" == typeof t ? null !== t : "function" == typeof t; + }; + }, + i6QF: function(t, e, n) { + n("I+eb")({ target: "Number", stat: !0 }, { isInteger: n("Xol8") }); + }, + inlA: function(t, e, n) { + "use strict"; + var r = n("UMSQ"), + o = n("NA7A"), + i = "".endsWith, + a = Math.min, + c = n("qxPZ")("endsWith"); + n("I+eb")( + { target: "String", proto: !0, forced: !c }, + { + endsWith: function(t) { + var e = o(this, t, "endsWith"), + n = arguments.length > 1 ? arguments[1] : void 0, + c = r(e.length), + u = void 0 === n ? c : a(r(n), c), + s = String(t); + return i ? i.call(e, s, u) : e.slice(u - s.length, u) === s; + } + } + ); + }, + iqWW: function(t, e, n) { + "use strict"; + var r = n("5dW1"); + t.exports = function(t, e, n) { + return e + (n ? r(t, e, !0).length : 1); + }; + }, + jrUv: function(t, e) { + var n = Math.expm1; + t.exports = + !n || + n(10) > 22025.465794806718 || + n(10) < 22025.465794806718 || + -2e-17 != n(-2e-17) + ? function(t) { + return 0 == (t = +t) + ? t + : t > -1e-6 && t < 1e-6 + ? t + (t * t) / 2 + : Math.exp(t) - 1; + } + : n; + }, + kNcU: function(t, e, n) { + var r = Math.log, + o = Math.LN2; + n("I+eb")( + { target: "Math", stat: !0 }, + { + log2: function(t) { + return r(t) / o; + } + } + ); + }, + kOOl: function(t, e) { + var n = 0, + r = Math.random(); + t.exports = function(t) { + return "Symbol(".concat( + void 0 === t ? "" : t, + ")_", + (++n + r).toString(36) + ); + }; + }, + kSko: function(t, e, n) { + n("I+eb")( + { target: "Number", stat: !0 }, + { + isNaN: function(t) { + return t != t; + } + } + ); + }, + kmMV: function(t, e, n) { + "use strict"; + var r, + o, + i = n("rW0t"), + a = RegExp.prototype.exec, + c = String.prototype.replace, + u = a, + s = + ((o = /b*/g), + a.call((r = /a/), "a"), + a.call(o, "a"), + 0 !== r.lastIndex || 0 !== o.lastIndex), + f = void 0 !== /()??/.exec("")[1]; + (s || f) && + (u = function(t) { + var e, + n, + r, + o, + u = this; + return ( + f && (n = new RegExp("^" + u.source + "$(?!\\s)", i.call(u))), + s && (e = u.lastIndex), + (r = a.call(u, t)), + s && r && (u.lastIndex = u.global ? r.index + r[0].length : e), + f && + r && + r.length > 1 && + c.call(r[0], n, function() { + for (o = 1; o < arguments.length - 2; o++) + void 0 === arguments[o] && (r[o] = void 0); + }), + r + ); + }), + (t.exports = u); + }, + l2dK: function(t, e, n) { + "use strict"; + var r = n("hXpO"), + o = n("6unK")("fontcolor"); + n("I+eb")( + { target: "String", proto: !0, forced: o }, + { + fontcolor: function(t) { + return r(this, "font", "color", t); + } + } + ); + }, + lMq5: function(t, e, n) { + var r = n("0Dky"), + o = /#|\.prototype\./, + i = function(t, e) { + var n = c[a(t)]; + return n == s || (n != u && ("function" == typeof e ? r(e) : !!e)); + }, + a = (i.normalize = function(t) { + return String(t) + .replace(o, ".") + .toLowerCase(); + }), + c = (i.data = {}), + u = (i.NATIVE = "N"), + s = (i.POLYFILL = "P"); + t.exports = i; + }, + "m/L8": function(t, e, n) { + var r = n("g6v/"), + o = n("DPsx"), + i = n("glrk"), + a = n("wE6v"), + c = Object.defineProperty; + e.f = r + ? c + : function(t, e, n) { + if ((i(t), (e = a(e, !0)), i(n), o)) + try { + return c(t, e, n); + } catch (r) {} + if ("get" in n || "set" in n) + throw TypeError("Accessors not supported"); + return "value" in n && (t[e] = n.value), t; + }; + }, + m92n: function(t, e, n) { + var r = n("glrk"); + t.exports = function(t, e, n, o) { + try { + return o ? e(r(n)[0], n[1]) : e(n); + } catch (a) { + var i = t.return; + throw (void 0 !== i && r(i.call(t)), a); + } + }; + }, + mRH6: function(t, e, n) { + "use strict"; + var r = n("hXpO"), + o = n("6unK")("link"); + n("I+eb")( + { target: "String", proto: !0, forced: o }, + { + link: function(t) { + return r(this, "a", "href", t); + } + } + ); + }, + mRIq: function(t, e, n) { + "use strict"; + n.r(e), + n("pNMO"), + n("wLYn"), + n("sMBO"), + n("tW5y"), + n("uL8W"), + n("eoL8"), + n("HRxU"), + n("5DmW"), + n("NBAS"), + n("tkto"), + n("cDke"), + n("3KgV"), + n("r5Og"), + n("zuhW"), + n("4h0Y"), + n("5D5o"), + n("yQYn"), + n("zKZe"), + n("Kxld"), + n("ExoC"), + n("07d7"), + n("J30X"), + n("pjDv"), + n("Xe3L"), + n("oVuX"), + n("+2oP"), + n("ToJy"), + n("QWBl"), + n("2B1R"), + n("TeQF"), + n("Rfxz"), + n("piMb"), + n("E9XD"), + n("9N29"), + n("yXV3"), + n("uqXc"), + n("qHT+"), + n("yyme"), + n("fbCW"), + n("x0AG"), + n("4mDm"), + n("9tb/"), + n("2A+d"), + n("SYor"), + n("PKPk"), + n("9bJ7"), + n("inlA"), + n("JTJg"), + n("OM9Z"), + n("LKBx"), + n("GKVU"), + n("E5NM"), + n("BNMt"), + n("zHFu"), + n("x83w"), + n("l2dK"), + n("GRPF"), + n("xdBZ"), + n("mRH6"), + n("yWo2"), + n("IxXR"), + n("TFPT"), + n("Zk8X"), + n("4l63"), + n("rNhl"), + n("7sbD"), + n("6hpn"), + n("ftKg"), + n("Kv9l"), + n("Tskq"), + n("ENF9"), + n("YGK4"), + n("3bBZ"), + n("5s+n"); + }, + "n/mU": function(t, e, n) { + var r = Math.atanh, + o = Math.log; + n("I+eb")( + { target: "Math", stat: !0, forced: !(r && 1 / r(-0) < 0) }, + { + atanh: function(t) { + return 0 == (t = +t) ? t : o((1 + t) / (1 - t)) / 2; + } + } + ); + }, + noGo: function(t, e, n) { + t.exports = n("VpIT")("native-function-to-string", Function.toString); + }, + ntOU: function(t, e, n) { + "use strict"; + var r = n("rpNk").IteratorPrototype, + o = n("fHMY"), + i = n("XGwC"), + a = n("1E5z"), + c = n("P4y1"), + u = function() { + return this; + }; + t.exports = function(t, e, n) { + var s = e + " Iterator"; + return ( + (t.prototype = o(r, { next: i(1, n) })), + a(t, s, !1, !0), + (c[s] = u), + t + ); + }; + }, + oVuX: function(t, e, n) { + "use strict"; + var r = n("/GqU"), + o = [].join, + i = n("RK3t") != Object, + a = n("swFL")("join", ","); + n("I+eb")( + { target: "Array", proto: !0, forced: i || a }, + { + join: function(t) { + return o.call(r(this), void 0 === t ? "," : t); + } + } + ); + }, + pNMO: function(t, e, n) { + "use strict"; + var r = n("2oRo"), + o = n("UTVS"), + i = n("g6v/"), + a = n("xDBR"), + c = n("I+eb"), + u = n("busE"), + s = n("0BK2"), + f = n("0Dky"), + l = n("VpIT"), + p = n("1E5z"), + h = n("kOOl"), + v = n("tiKp"), + d = n("wDLo"), + g = n("dG/n"), + y = n("Anvj"), + b = n("6LWA"), + m = n("glrk"), + k = n("hh1v"), + _ = n("/GqU"), + x = n("wE6v"), + S = n("XGwC"), + E = n("fHMY"), + w = n("BX/b"), + T = n("Bs8V"), + O = n("m/L8"), + I = n("0eef"), + M = n("X2U+"), + D = n("33Wh"), + P = n("93I0")("hidden"), + j = n("afO8"), + R = j.set, + A = j.getterFor("Symbol"), + N = T.f, + z = O.f, + L = w.f, + F = r.Symbol, + Z = r.JSON, + C = Z && Z.stringify, + W = v("toPrimitive"), + U = I.f, + H = l("symbol-registry"), + B = l("symbols"), + G = l("op-symbols"), + K = l("wks"), + V = Object.prototype, + X = r.QObject, + q = n("STAE"), + Y = !X || !X.prototype || !X.prototype.findChild, + Q = + i && + f(function() { + return ( + 7 != + E( + z({}, "a", { + get: function() { + return z(this, "a", { value: 7 }).a; + } + }) + ).a + ); + }) + ? function(t, e, n) { + var r = N(V, e); + r && delete V[e], z(t, e, n), r && t !== V && z(V, e, r); + } + : z, + J = function(t, e) { + var n = (B[t] = E(F.prototype)); + return ( + R(n, { type: "Symbol", tag: t, description: e }), + i || (n.description = e), + n + ); + }, + $ = + q && "symbol" == typeof F.iterator + ? function(t) { + return "symbol" == typeof t; + } + : function(t) { + return Object(t) instanceof F; + }, + tt = function(t, e, n) { + return ( + t === V && tt(G, e, n), + m(t), + (e = x(e, !0)), + m(n), + o(B, e) + ? (n.enumerable + ? (o(t, P) && t[P][e] && (t[P][e] = !1), + (n = E(n, { enumerable: S(0, !1) }))) + : (o(t, P) || z(t, P, S(1, {})), (t[P][e] = !0)), + Q(t, e, n)) + : z(t, e, n) + ); + }, + et = function(t, e) { + m(t); + for (var n, r = y((e = _(e))), o = 0, i = r.length; i > o; ) + tt(t, (n = r[o++]), e[n]); + return t; + }, + nt = function(t) { + var e = U.call(this, (t = x(t, !0))); + return ( + !(this === V && o(B, t) && !o(G, t)) && + (!(e || !o(this, t) || !o(B, t) || (o(this, P) && this[P][t])) || e) + ); + }, + rt = function(t, e) { + if (((t = _(t)), (e = x(e, !0)), t !== V || !o(B, e) || o(G, e))) { + var n = N(t, e); + return ( + !n || !o(B, e) || (o(t, P) && t[P][e]) || (n.enumerable = !0), n + ); + } + }, + ot = function(t) { + for (var e, n = L(_(t)), r = [], i = 0; n.length > i; ) + o(B, (e = n[i++])) || o(s, e) || r.push(e); + return r; + }, + it = function(t) { + for ( + var e, n = t === V, r = L(n ? G : _(t)), i = [], a = 0; + r.length > a; + + ) + !o(B, (e = r[a++])) || (n && !o(V, e)) || i.push(B[e]); + return i; + }; + q || + (u( + (F = function() { + if (this instanceof F) + throw TypeError("Symbol is not a constructor"); + var t = void 0 === arguments[0] ? void 0 : String(arguments[0]), + e = h(t), + n = function(t) { + this === V && n.call(G, t), + o(this, P) && o(this[P], e) && (this[P][e] = !1), + Q(this, e, S(1, t)); + }; + return i && Y && Q(V, e, { configurable: !0, set: n }), J(e, t); + }).prototype, + "toString", + function() { + return A(this).tag; + } + ), + (I.f = nt), + (O.f = tt), + (T.f = rt), + (n("JBy8").f = w.f = ot), + (n("dBg+").f = it), + i && + (z(F.prototype, "description", { + configurable: !0, + get: function() { + return A(this).description; + } + }), + a || u(V, "propertyIsEnumerable", nt, { unsafe: !0 })), + (d.f = function(t) { + return J(v(t), t); + })), + c({ global: !0, wrap: !0, forced: !q, sham: !q }, { Symbol: F }); + for (var at = D(K), ct = 0; at.length > ct; ) g(at[ct++]); + c( + { target: "Symbol", stat: !0, forced: !q }, + { + for: function(t) { + return o(H, (t += "")) ? H[t] : (H[t] = F(t)); + }, + keyFor: function(t) { + if (!$(t)) throw TypeError(t + " is not a symbol"); + for (var e in H) if (H[e] === t) return e; + }, + useSetter: function() { + Y = !0; + }, + useSimple: function() { + Y = !1; + } + } + ), + c( + { target: "Object", stat: !0, forced: !q, sham: !i }, + { + create: function(t, e) { + return void 0 === e ? E(t) : et(E(t), e); + }, + defineProperty: tt, + defineProperties: et, + getOwnPropertyDescriptor: rt + } + ), + c( + { target: "Object", stat: !0, forced: !q }, + { getOwnPropertyNames: ot, getOwnPropertySymbols: it } + ), + Z && + c( + { + target: "JSON", + stat: !0, + forced: + !q || + f(function() { + var t = F(); + return ( + "[null]" != C([t]) || + "{}" != C({ a: t }) || + "{}" != C(Object(t)) + ); + }) + }, + { + stringify: function(t) { + for (var e, n, r = [t], o = 1; arguments.length > o; ) + r.push(arguments[o++]); + if (((n = e = r[1]), (k(e) || void 0 !== t) && !$(t))) + return ( + b(e) || + (e = function(t, e) { + if ( + ("function" == typeof n && (e = n.call(this, t, e)), + !$(e)) + ) + return e; + }), + (r[1] = e), + C.apply(Z, r) + ); + } + } + ), + F.prototype[W] || M(F.prototype, W, F.prototype.valueOf), + p(F, "Symbol"), + (s[P] = !0); + }, + piMb: function(t, e, n) { + "use strict"; + var r = n("P0SU")(4), + o = n("swFL")("every"); + n("I+eb")( + { target: "Array", proto: !0, forced: o }, + { + every: function(t) { + return r(this, t, arguments[1]); + } + } + ); + }, + pjDv: function(t, e, n) { + var r = !n("HH4o")(function(t) { + Array.from(t); + }); + n("I+eb")({ target: "Array", stat: !0, forced: r }, { from: n("TfTi") }); + }, + ppGB: function(t, e) { + var n = Math.ceil, + r = Math.floor; + t.exports = function(t) { + return isNaN((t = +t)) ? 0 : (t > 0 ? r : n)(t); + }; + }, + "qHT+": function(t, e, n) { + n("I+eb")({ target: "Array", proto: !0 }, { copyWithin: n("FF6l") }), + n("RNIs")("copyWithin"); + }, + qePV: function(t, e, n) { + "use strict"; + var r = n("2oRo"), + o = n("lMq5"), + i = n("UTVS"), + a = n("xrYK"), + c = n("cVYH"), + u = n("wE6v"), + s = n("0Dky"), + f = n("JBy8").f, + l = n("Bs8V").f, + p = n("m/L8").f, + h = n("WKiH"), + v = r.Number, + d = v.prototype, + g = "Number" == a(n("fHMY")(d)), + y = "trim" in String.prototype, + b = function(t) { + var e, + n, + r, + o, + i, + a, + c, + s, + f = u(t, !1); + if ("string" == typeof f && f.length > 2) + if ( + 43 === (e = (f = y ? f.trim() : h(f, 3)).charCodeAt(0)) || + 45 === e + ) { + if (88 === (n = f.charCodeAt(2)) || 120 === n) return NaN; + } else if (48 === e) { + switch (f.charCodeAt(1)) { + case 66: + case 98: + (r = 2), (o = 49); + break; + case 79: + case 111: + (r = 8), (o = 55); + break; + default: + return +f; + } + for (a = (i = f.slice(2)).length, c = 0; c < a; c++) + if ((s = i.charCodeAt(c)) < 48 || s > o) return NaN; + return parseInt(i, r); + } + return +f; + }; + if (o("Number", !v(" 0o1") || !v("0b1") || v("+0x1"))) { + for ( + var m, + k = function(t) { + var e = arguments.length < 1 ? 0 : t, + n = this; + return n instanceof k && + (g + ? s(function() { + d.valueOf.call(n); + }) + : "Number" != a(n)) + ? c(new v(b(e)), n, k) + : b(e); + }, + _ = n("g6v/") + ? f(v) + : "MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split( + "," + ), + x = 0; + _.length > x; + x++ + ) + i(v, (m = _[x])) && !i(k, m) && p(k, m, l(v, m)); + (k.prototype = d), (d.constructor = k), n("busE")(r, "Number", k); + } + }, + qxPZ: function(t, e, n) { + var r = n("tiKp")("match"); + t.exports = function(t) { + var e = /./; + try { + "/./"[t](e); + } catch (n) { + try { + return (e[r] = !1), "/./"[t](e); + } catch (o) {} + } + return !1; + }; + }, + "r/Vq": function(t, e, n) { + n("I+eb")( + { target: "Number", stat: !0 }, + { MAX_SAFE_INTEGER: 9007199254740991 } + ); + }, + r5Og: function(t, e, n) { + var r = n("hh1v"), + o = n("8YOa").onFreeze, + i = Object.seal, + a = n("uy83"), + c = n("0Dky")(function() { + i(1); + }); + n("I+eb")( + { target: "Object", stat: !0, forced: c, sham: !a }, + { + seal: function(t) { + return i && r(t) ? i(o(t)) : t; + } + } + ); + }, + rB9j: function(t, e, n) { + "use strict"; + var r = n("kmMV"); + n("I+eb")( + { target: "RegExp", proto: !0, forced: /./.exec !== r }, + { exec: r } + ); + }, + rKzb: function(t, e, n) { + "use strict"; + var r = n("4syw"), + o = n("8YOa").getWeakData, + i = n("glrk"), + a = n("hh1v"), + c = n("GarU"), + u = n("ImZN"), + s = n("P0SU"), + f = n("UTVS"), + l = n("afO8"), + p = l.set, + h = l.getterFor, + v = s(5), + d = s(6), + g = 0, + y = function(t) { + return t.frozen || (t.frozen = new b()); + }, + b = function() { + this.entries = []; + }, + m = function(t, e) { + return v(t.entries, function(t) { + return t[0] === e; + }); + }; + (b.prototype = { + get: function(t) { + var e = m(this, t); + if (e) return e[1]; + }, + has: function(t) { + return !!m(this, t); + }, + set: function(t, e) { + var n = m(this, t); + n ? (n[1] = e) : this.entries.push([t, e]); + }, + delete: function(t) { + var e = d(this.entries, function(e) { + return e[0] === t; + }); + return ~e && this.entries.splice(e, 1), !!~e; + } + }), + (t.exports = { + getConstructor: function(t, e, n, s) { + var l = t(function(t, r) { + c(t, l, e), + p(t, { type: e, id: g++, frozen: void 0 }), + null != r && u(r, t[s], t, n); + }), + v = h(e), + d = function(t, e, n) { + var r = v(t), + a = o(i(e), !0); + return !0 === a ? y(r).set(e, n) : (a[r.id] = n), t; + }; + return ( + r(l.prototype, { + delete: function(t) { + var e = v(this); + if (!a(t)) return !1; + var n = o(t); + return !0 === n + ? y(e).delete(t) + : n && f(n, e.id) && delete n[e.id]; + }, + has: function(t) { + var e = v(this); + if (!a(t)) return !1; + var n = o(t); + return !0 === n ? y(e).has(t) : n && f(n, e.id); + } + }), + r( + l.prototype, + n + ? { + get: function(t) { + var e = v(this); + if (a(t)) { + var n = o(t); + return !0 === n ? y(e).get(t) : n ? n[e.id] : void 0; + } + }, + set: function(t, e) { + return d(this, t, e); + } + } + : { + add: function(t) { + return d(this, t, !0); + } + } + ), + l + ); + } + }); + }, + rMz7: function(t, e, n) { + var r = n("ZOXb"); + n("I+eb")( + { target: "Date", proto: !0, forced: Date.prototype.toISOString !== r }, + { toISOString: r } + ); + }, + rNhl: function(t, e, n) { + var r = n("b+VT"); + n("I+eb")({ global: !0, forced: parseFloat != r }, { parseFloat: r }); + }, + rW0t: function(t, e, n) { + "use strict"; + var r = n("glrk"); + t.exports = function() { + var t = r(this), + e = ""; + return ( + t.global && (e += "g"), + t.ignoreCase && (e += "i"), + t.multiline && (e += "m"), + t.unicode && (e += "u"), + t.sticky && (e += "y"), + e + ); + }; + }, + rpNk: function(t, e, n) { + "use strict"; + var r, + o, + i, + a = n("4WOD"), + c = n("X2U+"), + u = n("UTVS"), + s = n("xDBR"), + f = n("tiKp")("iterator"), + l = !1; + [].keys && + ("next" in (i = [].keys()) + ? (o = a(a(i))) !== Object.prototype && (r = o) + : (l = !0)), + null == r && (r = {}), + s || + u(r, f) || + c(r, f, function() { + return this; + }), + (t.exports = { IteratorPrototype: r, BUGGY_SAFARI_ITERATORS: l }); + }, + s5pE: function(t, e, n) { + var r = n("2oRo").navigator; + t.exports = (r && r.userAgent) || ""; + }, + sEFX: function(t, e, n) { + "use strict"; + var r = n("9d/t"), + o = {}; + (o[n("tiKp")("toStringTag")] = "z"), + (t.exports = + "[object z]" !== String(o) + ? function() { + return "[object " + r(this) + "]"; + } + : o.toString); + }, + sMBO: function(t, e, n) { + var r = n("g6v/"), + o = n("m/L8").f, + i = Function.prototype, + a = i.toString, + c = /^\s*function ([^ (]*)/; + !r || + "name" in i || + o(i, "name", { + configurable: !0, + get: function() { + try { + return a.call(this).match(c)[1]; + } catch (t) { + return ""; + } + } + }); + }, + swFL: function(t, e, n) { + "use strict"; + var r = n("0Dky"); + t.exports = function(t, e) { + var n = [][t]; + return ( + !n || + !r(function() { + n.call( + null, + e || + function() { + throw 1; + }, + 1 + ); + }) + ); + }; + }, + tW5y: function(t, e, n) { + "use strict"; + var r = n("hh1v"), + o = n("m/L8"), + i = n("4WOD"), + a = n("tiKp")("hasInstance"), + c = Function.prototype; + a in c || + o.f(c, a, { + value: function(t) { + if ("function" != typeof this || !r(t)) return !1; + if (!r(this.prototype)) return t instanceof this; + for (; (t = i(t)); ) if (this.prototype === t) return !0; + return !1; + } + }); + }, + tXUg: function(t, e, n) { + var r, + o, + i, + a, + c, + u, + s, + f = n("2oRo"), + l = n("Bs8V").f, + p = n("xrYK"), + h = n("LPSS").set, + v = n("s5pE"), + d = f.MutationObserver || f.WebKitMutationObserver, + g = f.process, + y = f.Promise, + b = "process" == p(g), + m = l(f, "queueMicrotask"), + k = m && m.value; + k || + ((r = function() { + var t, e; + for (b && (t = g.domain) && t.exit(); o; ) { + (e = o.fn), (o = o.next); + try { + e(); + } catch (n) { + throw (o ? a() : (i = void 0), n); + } + } + (i = void 0), t && t.enter(); + }), + b + ? (a = function() { + g.nextTick(r); + }) + : d && !/(iPhone|iPod|iPad).*AppleWebKit/i.test(v) + ? ((c = !0), + (u = document.createTextNode("")), + new d(r).observe(u, { characterData: !0 }), + (a = function() { + u.data = c = !c; + })) + : y && y.resolve + ? ((s = y.resolve(void 0)), + (a = function() { + s.then(r); + })) + : (a = function() { + h.call(f, r); + })), + (t.exports = + k || + function(t) { + var e = { fn: t, next: void 0 }; + i && (i.next = e), o || ((o = e), a()), (i = e); + }); + }, + tiKp: function(t, e, n) { + var r = n("VpIT")("wks"), + o = n("kOOl"), + i = n("2oRo").Symbol, + a = n("STAE"); + t.exports = function(t) { + return r[t] || (r[t] = (a && i[t]) || (a ? i : o)("Symbol." + t)); + }; + }, + tkto: function(t, e, n) { + var r = n("ewvW"), + o = n("33Wh"), + i = n("0Dky")(function() { + o(1); + }); + n("I+eb")( + { target: "Object", stat: !0, forced: i }, + { + keys: function(t) { + return o(r(t)); + } + } + ); + }, + "tl/u": function(t, e, n) { + var r = Math.ceil, + o = Math.floor; + n("I+eb")( + { target: "Math", stat: !0 }, + { + trunc: function(t) { + return (t > 0 ? o : r)(t); + } + } + ); + }, + toAj: function(t, e, n) { + "use strict"; + var r = n("ppGB"), + o = n("QIpd"), + i = n("EUja"), + a = (1).toFixed, + c = Math.floor, + u = [0, 0, 0, 0, 0, 0], + s = function(t, e) { + for (var n = -1, r = e; ++n < 6; ) + (u[n] = (r += t * u[n]) % 1e7), (r = c(r / 1e7)); + }, + f = function(t) { + for (var e = 6, n = 0; --e >= 0; ) + (u[e] = c((n += u[e]) / t)), (n = (n % t) * 1e7); + }, + l = function() { + for (var t = 6, e = ""; --t >= 0; ) + if ("" !== e || 0 === t || 0 !== u[t]) { + var n = String(u[t]); + e = "" === e ? n : e + i.call("0", 7 - n.length) + n; + } + return e; + }, + p = function(t, e, n) { + return 0 === e + ? n + : e % 2 == 1 + ? p(t, e - 1, n * t) + : p(t * t, e / 2, n); + }; + n("I+eb")( + { + target: "Number", + proto: !0, + forced: + (a && + ("0.000" !== (8e-5).toFixed(3) || + "1" !== (0.9).toFixed(0) || + "1.25" !== (1.255).toFixed(2) || + "1000000000000000128" !== (0xde0b6b3a7640080).toFixed(0))) || + !n("0Dky")(function() { + a.call({}); + }) + }, + { + toFixed: function(t) { + var e, + n, + a, + c, + u = o(this), + h = r(t), + v = "", + d = "0"; + if (h < 0 || h > 20) throw RangeError("Incorrect fraction digits"); + if (u != u) return "NaN"; + if (u <= -1e21 || u >= 1e21) return String(u); + if ((u < 0 && ((v = "-"), (u = -u)), u > 1e-21)) + if ( + ((n = + (e = + (function(t) { + for (var e = 0, n = t; n >= 4096; ) + (e += 12), (n /= 4096); + for (; n >= 2; ) (e += 1), (n /= 2); + return e; + })(u * p(2, 69, 1)) - 69) < 0 + ? u * p(2, -e, 1) + : u / p(2, e, 1)), + (n *= 4503599627370496), + (e = 52 - e) > 0) + ) { + for (s(0, n), a = h; a >= 7; ) s(1e7, 0), (a -= 7); + for (s(p(10, a, 1), 0), a = e - 1; a >= 23; ) + f(1 << 23), (a -= 23); + f(1 << a), s(1, 1), f(2), (d = l()); + } else s(0, n), s(1 << -e, 0), (d = l() + i.call("0", h)); + return h > 0 + ? v + + ((c = d.length) <= h + ? "0." + i.call("0", h - c) + d + : d.slice(0, c - h) + "." + d.slice(c - h)) + : v + d; + } + } + ); + }, + uL8W: function(t, e, n) { + n("I+eb")( + { target: "Object", stat: !0, sham: !n("g6v/") }, + { create: n("fHMY") } + ); + }, + uqXc: function(t, e, n) { + var r = n("5Yz+"); + n("I+eb")( + { target: "Array", proto: !0, forced: r !== [].lastIndexOf }, + { lastIndexOf: r } + ); + }, + uy83: function(t, e, n) { + t.exports = !n("0Dky")(function() { + return Object.isExtensible(Object.preventExtensions({})); + }); + }, + vAFs: function(t, e, n) { + var r = Math.imul, + o = n("0Dky")(function() { + return -5 != r(4294967295, 5) || 2 != r.length; + }); + n("I+eb")( + { target: "Math", stat: !0, forced: o }, + { + imul: function(t, e) { + var n = +t, + r = +e, + o = 65535 & n, + i = 65535 & r; + return ( + 0 | + (o * i + + ((((65535 & (n >>> 16)) * i + o * (65535 & (r >>> 16))) << + 16) >>> + 0)) + ); + } + } + ); + }, + vo4V: function(t, e, n) { + var r = n("90hW"), + o = Math.pow, + i = o(2, -52), + a = o(2, -23), + c = o(2, 127) * (2 - a), + u = o(2, -126); + t.exports = + Math.fround || + function(t) { + var e, + n, + o = Math.abs(t), + s = r(t); + return o < u + ? s * (o / u / a + 1 / i - 1 / i) * u * a + : (n = (e = (1 + a / i) * o) - (e - o)) > c || n != n + ? s * (1 / 0) + : s * n; + }; + }, + w1rZ: function(t, e, n) { + var r = n("b+VT"); + n("I+eb")( + { target: "Number", stat: !0, forced: Number.parseFloat != r }, + { parseFloat: r } + ); + }, + wDLo: function(t, e, n) { + e.f = n("tiKp"); + }, + wE6v: function(t, e, n) { + var r = n("hh1v"); + t.exports = function(t, e) { + if (!r(t)) return t; + var n, o; + if (e && "function" == typeof (n = t.toString) && !r((o = n.call(t)))) + return o; + if ("function" == typeof (n = t.valueOf) && !r((o = n.call(t)))) + return o; + if (!e && "function" == typeof (n = t.toString) && !r((o = n.call(t)))) + return o; + throw TypeError("Can't convert object to primitive value"); + }; + }, + wLYn: function(t, e, n) { + n("I+eb")({ target: "Function", proto: !0 }, { bind: n("BTho") }); + }, + x0AG: function(t, e, n) { + "use strict"; + var r = n("P0SU")(6), + o = !0; + "findIndex" in [] && + Array(1).findIndex(function() { + o = !1; + }), + n("I+eb")( + { target: "Array", proto: !0, forced: o }, + { + findIndex: function(t) { + return r(this, t, arguments.length > 1 ? arguments[1] : void 0); + } + } + ), + n("RNIs")("findIndex"); + }, + x83w: function(t, e, n) { + "use strict"; + var r = n("hXpO"), + o = n("6unK")("fixed"); + n("I+eb")( + { target: "String", proto: !0, forced: o }, + { + fixed: function() { + return r(this, "tt", "", ""); + } + } + ); + }, + xDBR: function(t, e) { + t.exports = !1; + }, + xdBZ: function(t, e, n) { + "use strict"; + var r = n("hXpO"), + o = n("6unK")("italics"); + n("I+eb")( + { target: "String", proto: !0, forced: o }, + { + italics: function() { + return r(this, "i", "", ""); + } + } + ); + }, + xrYK: function(t, e) { + var n = {}.toString; + t.exports = function(t) { + return n.call(t).slice(8, -1); + }; + }, + yQYn: function(t, e, n) { + var r = n("hh1v"), + o = Object.isExtensible, + i = n("0Dky")(function() { + o(1); + }); + n("I+eb")( + { target: "Object", stat: !0, forced: i }, + { + isExtensible: function(t) { + return !!r(t) && (!o || o(t)); + } + } + ); + }, + yWo2: function(t, e, n) { + "use strict"; + var r = n("hXpO"), + o = n("6unK")("small"); + n("I+eb")( + { target: "String", proto: !0, forced: o }, + { + small: function() { + return r(this, "small", "", ""); + } + } + ); + }, + yXV3: function(t, e, n) { + "use strict"; + var r = n("TWQb")(!1), + o = [].indexOf, + i = !!o && 1 / [1].indexOf(1, -0) < 0, + a = n("swFL")("indexOf"); + n("I+eb")( + { target: "Array", proto: !0, forced: i || a }, + { + indexOf: function(t) { + return i ? o.apply(this, arguments) || 0 : r(this, t, arguments[1]); + } + } + ); + }, + yiG3: function(t, e, n) { + n("I+eb")({ target: "Math", stat: !0 }, { log1p: n("HsHA") }); + }, + yoRg: function(t, e, n) { + var r = n("UTVS"), + o = n("/GqU"), + i = n("TWQb")(!1), + a = n("0BK2"); + t.exports = function(t, e) { + var n, + c = o(t), + u = 0, + s = []; + for (n in c) !r(a, n) && r(c, n) && s.push(n); + for (; e.length > u; ) r(c, (n = e[u++])) && (~i(s, n) || s.push(n)); + return s; + }; + }, + yyme: function(t, e, n) { + n("I+eb")({ target: "Array", proto: !0 }, { fill: n("gdVl") }), + n("RNIs")("fill"); + }, + zBJ4: function(t, e, n) { + var r = n("hh1v"), + o = n("2oRo").document, + i = r(o) && r(o.createElement); + t.exports = function(t) { + return i ? o.createElement(t) : {}; + }; + }, + zHFu: function(t, e, n) { + "use strict"; + var r = n("hXpO"), + o = n("6unK")("bold"); + n("I+eb")( + { target: "String", proto: !0, forced: o }, + { + bold: function() { + return r(this, "b", "", ""); + } + } + ); + }, + zKZe: function(t, e, n) { + var r = n("YNrV"); + n("I+eb")( + { target: "Object", stat: !0, forced: Object.assign !== r }, + { assign: r } + ); + }, + zfnd: function(t, e, n) { + var r = n("glrk"), + o = n("hh1v"), + i = n("8GlL"); + t.exports = function(t, e) { + if ((r(t), o(e) && e.constructor === t)) return e; + var n = i.f(t); + return (0, n.resolve)(e), n.promise; + }; + }, + zk60: function(t, e, n) { + var r = n("2oRo"), + o = n("X2U+"); + t.exports = function(t, e) { + try { + o(r, t, e); + } catch (n) { + r[t] = e; + } + return e; + }; + }, + zuhW: function(t, e, n) { + var r = n("hh1v"), + o = n("8YOa").onFreeze, + i = Object.preventExtensions, + a = n("uy83"), + c = n("0Dky")(function() { + i(1); + }); + n("I+eb")( + { target: "Object", stat: !0, forced: c, sham: !a }, + { + preventExtensions: function(t) { + return i && r(t) ? i(o(t)) : t; + } + } + ); + } + }, + [[1, 0]] +]); diff --git a/BeatOn/Assets/www/runtime-es2015.858f8dd898b75fe86926.js b/BeatOn/Assets/www/runtime-es2015.858f8dd898b75fe86926.js deleted file mode 100644 index 941798b..0000000 --- a/BeatOn/Assets/www/runtime-es2015.858f8dd898b75fe86926.js +++ /dev/null @@ -1 +0,0 @@ -!function(e){function r(r){for(var n,f,i=r[0],l=r[1],a=r[2],c=0,s=[];c.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){color:rgba(255,255,255,.5)}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:rgba(255,255,255,.04)}.mat-calendar-body-today:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.5)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.3)}.mat-calendar-body-selected{background-color:#ad2c2c;color:#fff}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(173,44,44,.4)}.mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#424242;color:#fff}.mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#216bad;color:#fff}.mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(33,107,173,.4)}.mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#ff5722;color:#fff}.mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(255,87,34,.4)}.mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content-touch{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-datepicker-toggle-active{color:#ad2c2c}.mat-datepicker-toggle-active.mat-accent{color:#216bad}.mat-datepicker-toggle-active.mat-warn{color:#ff5722}.mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-divider{border-top-color:rgba(255,255,255,.12)}.mat-divider-vertical{border-right-color:rgba(255,255,255,.12)}.mat-expansion-panel{background:#424242;color:#fff}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-action-row{border-top-color:rgba(255,255,255,.12)}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused,.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:rgba(255,255,255,.04)}@media (hover:none){.mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#424242}}.mat-expansion-panel-header-title{color:#fff}.mat-expansion-indicator::after,.mat-expansion-panel-header-description{color:rgba(255,255,255,.7)}.mat-expansion-panel-header[aria-disabled=true]{color:rgba(255,255,255,.3)}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title{color:inherit}.mat-form-field-label,.mat-hint{color:rgba(255,255,255,.7)}.mat-form-field.mat-focused .mat-form-field-label{color:#ad2c2c}.mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#216bad}.mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#ff5722}.mat-focused .mat-form-field-required-marker{color:#216bad}.mat-form-field-ripple{background-color:#fff}.mat-form-field.mat-focused .mat-form-field-ripple{background-color:#ad2c2c}.mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#216bad}.mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#ff5722}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix::after{color:#ad2c2c}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix::after{color:#216bad}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix::after,.mat-form-field.mat-form-field-invalid .mat-form-field-label,.mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker,.mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent{color:#ff5722}.mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#ff5722}.mat-error{color:#ff5722}.mat-form-field-appearance-legacy .mat-form-field-label,.mat-form-field-appearance-legacy .mat-hint{color:rgba(255,255,255,.7)}.mat-form-field-appearance-legacy .mat-form-field-underline{bottom:1.25em;background-color:rgba(255,255,255,.7)}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard .mat-form-field-underline{background-color:rgba(255,255,255,.7)}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill .mat-form-field-flex{background-color:rgba(255,255,255,.1)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:rgba(255,255,255,.05)}.mat-form-field-appearance-fill .mat-form-field-underline::before{background-color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline::before{background-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline{color:rgba(255,255,255,.3)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{color:#fff}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#ad2c2c}.mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#216bad}.mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#ff5722}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:rgba(255,255,255,.5)}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:rgba(255,255,255,.15)}.mat-icon.mat-primary{color:#ad2c2c}.mat-icon.mat-accent{color:#216bad}.mat-icon.mat-warn{color:#ff5722}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{color:rgba(255,255,255,.7)}.mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix::after,.mat-input-element:disabled{color:rgba(255,255,255,.5)}.mat-input-element{caret-color:#ad2c2c}.mat-input-element::-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element::placeholder{color:rgba(255,255,255,.5)}.mat-input-element::-moz-placeholder{color:rgba(255,255,255,.5)}.mat-input-element::-webkit-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element:-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element option{color:rgba(0,0,0,.87)}.mat-input-element option:disabled{color:rgba(0,0,0,.38)}.mat-accent .mat-input-element{caret-color:#216bad}.mat-form-field-invalid .mat-input-element,.mat-warn .mat-input-element{caret-color:#ff5722}.mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix::after{color:#ff5722}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{color:#fff}.mat-list-base .mat-subheader{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500;color:rgba(255,255,255,.7)}.mat-list-item-disabled{background-color:#000}.mat-action-list .mat-list-item:focus,.mat-action-list .mat-list-item:hover,.mat-list-option:focus,.mat-list-option:hover,.mat-nav-list .mat-list-item:focus,.mat-nav-list .mat-list-item:hover{background:rgba(255,255,255,.04)}.mat-menu-panel{background:#424242}.mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-menu-item{background:0 0;color:#fff}.mat-menu-item[disabled],.mat-menu-item[disabled]::after{color:rgba(255,255,255,.5)}.mat-menu-item .mat-icon-no-color,.mat-menu-item-submenu-trigger::after{color:#fff}.mat-menu-item-highlighted:not([disabled]),.mat-menu-item.cdk-keyboard-focused:not([disabled]),.mat-menu-item.cdk-program-focused:not([disabled]),.mat-menu-item:hover:not([disabled]){background:rgba(255,255,255,.04)}.mat-paginator{background:#424242}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{color:rgba(255,255,255,.7)}.mat-paginator-decrement,.mat-paginator-increment{border-top:2px solid #fff;border-right:2px solid #fff}.mat-paginator-first,.mat-paginator-last{border-top:2px solid #fff}.mat-icon-button[disabled] .mat-paginator-decrement,.mat-icon-button[disabled] .mat-paginator-first,.mat-icon-button[disabled] .mat-paginator-increment,.mat-icon-button[disabled] .mat-paginator-last{border-color:rgba(255,255,255,.5)}.mat-progress-bar-background{fill:#e6c0c0}.mat-progress-bar-buffer{background-color:#e6c0c0}.mat-progress-bar-fill::after{background-color:#ad2c2c}.mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#0b3c83}.mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#0b3c83}.mat-progress-bar.mat-accent .mat-progress-bar-fill::after{background-color:#216bad}.mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#ffccbc}.mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#ffccbc}.mat-progress-bar.mat-warn .mat-progress-bar-fill::after{background-color:#ff5722}.mat-progress-spinner circle,.mat-spinner circle{stroke:#ad2c2c}.mat-progress-spinner.mat-accent circle,.mat-spinner.mat-accent circle{stroke:#216bad}.mat-progress-spinner.mat-warn circle,.mat-spinner.mat-warn circle{stroke:#ff5722}.mat-radio-outer-circle{border-color:rgba(255,255,255,.7)}.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#ad2c2c}.mat-radio-button.mat-primary .mat-radio-inner-circle,.mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#ad2c2c}.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#216bad}.mat-radio-button.mat-accent .mat-radio-inner-circle,.mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#216bad}.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#ff5722}.mat-radio-button.mat-warn .mat-radio-inner-circle,.mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#ff5722}.mat-radio-button.mat-radio-disabled .mat-radio-outer-circle,.mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle{border-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled .mat-radio-inner-circle,.mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element{background-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:rgba(255,255,255,.5)}.mat-radio-button .mat-ripple-element{background-color:#fff}.mat-select-value{color:#fff}.mat-select-disabled .mat-select-value,.mat-select-placeholder{color:rgba(255,255,255,.5)}.mat-select-arrow{color:rgba(255,255,255,.7)}.mat-select-panel{background:#424242}.mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(255,255,255,.12)}.mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#ad2c2c}.mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#216bad}.mat-form-field .mat-select.mat-select-invalid .mat-select-arrow,.mat-form-field.mat-focused.mat-warn .mat-select-arrow{color:#ff5722}.mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:rgba(255,255,255,.5)}.mat-drawer-container{background-color:#303030;color:#fff}.mat-drawer{background-color:#424242;color:#fff}.mat-drawer.mat-drawer-push{background-color:#424242}.mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-drawer-side{border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-side.mat-drawer-end,[dir=rtl] .mat-drawer-side{border-left:1px solid rgba(255,255,255,.12);border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-backdrop.mat-drawer-shown{background-color:rgba(189,189,189,.6)}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#216bad}.mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:rgba(33,107,173,.54)}.mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#216bad}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#ad2c2c}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:rgba(173,44,44,.54)}.mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#ad2c2c}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#ff5722}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:rgba(255,87,34,.54)}.mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#ff5722}.mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#fff}.mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#bdbdbd}.mat-slide-toggle-bar{background-color:rgba(255,255,255,.5)}.mat-slider-track-background{background-color:rgba(255,255,255,.3)}.mat-primary .mat-slider-thumb,.mat-primary .mat-slider-thumb-label,.mat-primary .mat-slider-track-fill{background-color:#ad2c2c}.mat-primary .mat-slider-thumb-label-text{color:#fff}.mat-accent .mat-slider-thumb,.mat-accent .mat-slider-thumb-label,.mat-accent .mat-slider-track-fill{background-color:#216bad}.mat-accent .mat-slider-thumb-label-text{color:#fff}.mat-warn .mat-slider-thumb,.mat-warn .mat-slider-thumb-label,.mat-warn .mat-slider-track-fill{background-color:#ff5722}.mat-warn .mat-slider-thumb-label-text{color:#fff}.mat-slider-focus-ring{background-color:rgba(33,107,173,.2)}.cdk-focused .mat-slider-track-background,.mat-slider-disabled .mat-slider-thumb,.mat-slider-disabled .mat-slider-track-background,.mat-slider-disabled .mat-slider-track-fill,.mat-slider-disabled:hover .mat-slider-track-background,.mat-slider:hover .mat-slider-track-background{background-color:rgba(255,255,255,.3)}.mat-slider-min-value .mat-slider-focus-ring{background-color:rgba(255,255,255,.12)}.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:#fff}.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:rgba(255,255,255,.3)}.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:rgba(255,255,255,.3);background-color:transparent}.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb,.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb{border-color:rgba(255,255,255,.3)}.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb,.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb{border-color:rgba(255,255,255,.3)}.mat-slider-has-ticks .mat-slider-wrapper::after{border-color:rgba(255,255,255,.7)}.mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(to right,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(to bottom,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused,.mat-step-header:hover{background-color:rgba(255,255,255,.04)}@media (hover:none){.mat-step-header:hover{background:0 0}}.mat-step-header .mat-step-label,.mat-step-header .mat-step-optional{color:rgba(255,255,255,.7)}.mat-step-header .mat-step-icon{background-color:rgba(255,255,255,.7);color:#fff}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:#ad2c2c;color:#fff}.mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#ff5722}.mat-step-header .mat-step-label.mat-step-label-active{color:#fff}.mat-step-header .mat-step-label.mat-step-label-error{color:#ff5722}.mat-stepper-horizontal,.mat-stepper-vertical{background-color:#424242}.mat-stepper-vertical-line::before{border-left-color:rgba(255,255,255,.12)}.mat-horizontal-stepper-header::after,.mat-horizontal-stepper-header::before,.mat-stepper-horizontal-line{border-top-color:rgba(255,255,255,.12)}.mat-sort-header-arrow{color:#c6c6c6}.mat-tab-header,.mat-tab-nav-bar{border-bottom:1px solid rgba(255,255,255,.12)}.mat-tab-group-inverted-header .mat-tab-header,.mat-tab-group-inverted-header .mat-tab-nav-bar{border-top:1px solid rgba(255,255,255,.12);border-bottom:none}.mat-tab-label,.mat-tab-link{color:#fff}.mat-tab-label.mat-tab-disabled,.mat-tab-link.mat-tab-disabled{color:rgba(255,255,255,.5)}.mat-tab-header-pagination-chevron{border-color:#fff}.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(255,255,255,.5)}.mat-tab-group[class*=mat-background-] .mat-tab-header,.mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-primary .mat-ink-bar,.mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#ad2c2c}.mat-tab-group.mat-primary.mat-background-primary .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-accent .mat-ink-bar,.mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#216bad}.mat-tab-group.mat-accent.mat-background-accent .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-warn .mat-ink-bar,.mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#ff5722}.mat-tab-group.mat-warn.mat-background-warn .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-background-primary .mat-tab-header,.mat-tab-group.mat-background-primary .mat-tab-links,.mat-tab-nav-bar.mat-background-primary .mat-tab-header,.mat-tab-nav-bar.mat-background-primary .mat-tab-links{background-color:#ad2c2c}.mat-tab-group.mat-background-primary .mat-tab-label,.mat-tab-group.mat-background-primary .mat-tab-link,.mat-tab-nav-bar.mat-background-primary .mat-tab-label,.mat-tab-nav-bar.mat-background-primary .mat-tab-link{color:#fff}.mat-tab-group.mat-background-primary .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-primary .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary .mat-tab-link.mat-tab-disabled{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary .mat-tab-header-pagination-chevron{border-color:#fff}.mat-tab-group.mat-background-primary .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary .mat-ripple-element{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-background-accent .mat-tab-header,.mat-tab-group.mat-background-accent .mat-tab-links,.mat-tab-nav-bar.mat-background-accent .mat-tab-header,.mat-tab-nav-bar.mat-background-accent .mat-tab-links{background-color:#216bad}.mat-tab-group.mat-background-accent .mat-tab-label,.mat-tab-group.mat-background-accent .mat-tab-link,.mat-tab-nav-bar.mat-background-accent .mat-tab-label,.mat-tab-nav-bar.mat-background-accent .mat-tab-link{color:#fff}.mat-tab-group.mat-background-accent .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-accent .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent .mat-tab-link.mat-tab-disabled{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent .mat-tab-header-pagination-chevron{border-color:#fff}.mat-tab-group.mat-background-accent .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent .mat-ripple-element{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-background-warn .mat-tab-header,.mat-tab-group.mat-background-warn .mat-tab-links,.mat-tab-nav-bar.mat-background-warn .mat-tab-header,.mat-tab-nav-bar.mat-background-warn .mat-tab-links{background-color:#ff5722}.mat-tab-group.mat-background-warn .mat-tab-label,.mat-tab-group.mat-background-warn .mat-tab-link,.mat-tab-nav-bar.mat-background-warn .mat-tab-label,.mat-tab-nav-bar.mat-background-warn .mat-tab-link{color:#fff}.mat-tab-group.mat-background-warn .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-warn .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn .mat-tab-link.mat-tab-disabled{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn .mat-tab-header-pagination-chevron{border-color:#fff}.mat-tab-group.mat-background-warn .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn .mat-ripple-element{background-color:rgba(255,255,255,.12)}.mat-toolbar{background:#212121;color:#fff}.mat-toolbar.mat-primary{background:#ad2c2c;color:#fff}.mat-toolbar.mat-accent{background:#216bad;color:#fff}.mat-toolbar.mat-warn{background:#ff5722;color:#fff}.mat-toolbar .mat-focused .mat-form-field-ripple,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-form-field-underline{background-color:currentColor}.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-select-value{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-tooltip{background:rgba(97,97,97,.9)}.mat-tree{font-family:Roboto,"Helvetica Neue",sans-serif;background:#424242}.mat-nested-tree-node,.mat-tree-node{font-weight:400;font-size:14px;color:#fff}.mat-snack-bar-container{color:rgba(0,0,0,.87);background:#fafafa;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-simple-snackbar-action{color:inherit}@font-face{font-family:'Material Icons';font-style:normal;font-weight:400;src:url(MaterialIcons-Regular.e79bfd88537def476913.eot);src:local('Material Icons'),local('MaterialIcons-Regular'),url(MaterialIcons-Regular.570eb83859dc23dd0eec.woff2) format('woff2'),url(MaterialIcons-Regular.012cf6a10129e2275d79.woff) format('woff'),url(MaterialIcons-Regular.a37b0c01c0baf1888ca8.ttf) format('truetype')}.material-icons{font-family:'Material Icons';font-weight:400;font-style:normal;font-size:24px;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;-webkit-font-feature-settings:'liga';font-feature-settings:'liga'} \ No newline at end of file diff --git a/BeatOn/Assets/www/styles.css b/BeatOn/Assets/www/styles.css new file mode 100644 index 0000000..6b083d2 --- /dev/null +++ b/BeatOn/Assets/www/styles.css @@ -0,0 +1 @@ +.toast-center-center{top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.toast-top-center{top:0;right:0;width:100%}.toast-bottom-center{bottom:0;right:0;width:100%}.toast-top-full-width{top:0;right:0;width:100%}.toast-bottom-full-width{bottom:0;right:0;width:100%}.toast-top-left{top:12px;left:12px}.toast-top-right{top:12px;right:12px}.toast-bottom-right{right:12px;bottom:12px}.toast-bottom-left{bottom:12px;left:12px}.toast-title{font-weight:700}.toast-message{word-wrap:break-word}.toast-message a,.toast-message label{color:#fff}.toast-message a:hover{color:#ccc;text-decoration:none}.toast-close-button{position:relative;right:-.3em;top:-.3em;float:right;font-size:20px;font-weight:700;color:#fff;text-shadow:0 1px 0 #fff}.toast-close-button:focus,.toast-close-button:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.4}button.toast-close-button{padding:0;cursor:pointer;background:0 0;border:0}.toast-container{pointer-events:none;position:fixed;z-index:999999}.toast-container *{box-sizing:border-box}.toast-container .ngx-toastr{position:relative;overflow:hidden;margin:0 0 6px;padding:15px 15px 15px 50px;width:300px;border-radius:3px;background-position:15px center;background-repeat:no-repeat;background-size:24px;box-shadow:0 0 12px #999;color:#fff}.toast-container .ngx-toastr:hover{box-shadow:0 0 12px #000;opacity:1;cursor:pointer}.toast-info{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='rgb(255,255,255)' d='M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z'/%3E%3C/svg%3E")}.toast-error{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='rgb(255,255,255)' d='M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z'/%3E%3C/svg%3E")}.toast-success{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='rgb(255,255,255)' d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'/%3E%3C/svg%3E")}.toast-container.toast-bottom-center .ngx-toastr,.toast-container.toast-top-center .ngx-toastr{width:300px;margin-left:auto;margin-right:auto}.toast-container.toast-bottom-full-width .ngx-toastr,.toast-container.toast-top-full-width .ngx-toastr{width:96%;margin-left:auto;margin-right:auto}.ngx-toastr{background-color:#030303;pointer-events:auto}.toast-success{background-color:#51a351}.toast-error{background-color:#bd362f}.toast-info{background-color:#2f96b4}.toast-warning{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512' width='576' height='512'%3E%3Cpath fill='rgb(255,255,255)' d='M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z'/%3E%3C/svg%3E");background-color:#f89406}.toast-progress{position:absolute;left:0;bottom:0;height:4px;background-color:#000;opacity:.4}@media all and (max-width:240px){.toast-container .ngx-toastr.div{padding:8px 8px 8px 50px;width:11em}.toast-container .toast-close-button{right:-.2em;top:-.2em}}@media all and (min-width:241px) and (max-width:480px){.toast-container .ngx-toastr.div{padding:8px 8px 8px 50px;width:18em}.toast-container .toast-close-button{right:-.2em;top:-.2em}}@media all and (min-width:481px) and (max-width:768px){.toast-container .ngx-toastr.div{padding:15px 15px 15px 50px;width:25em}}body.dialog-open{overflow:hidden}.nsm-dialog-btn-close{border:0;background:0 0;color:#2d2d2d;position:absolute;top:8px;right:8px;font-size:1.2em;cursor:pointer}.overlay{position:fixed;top:0;bottom:0;left:0;right:0;overflow-x:hidden;overflow-y:auto;transition:background-color .5s;background-color:transparent;z-index:999}.overlay.nsm-overlay-open{background-color:rgba(0,0,0,.5)}.overlay.transparent{background-color:transparent}.nsm-dialog{position:relative;opacity:1;visibility:visible;min-height:200px;width:100%;max-width:520px;margin:0 auto;pointer-events:none}.nsm-dialog.nsm-dialog-close{opacity:0}.nsm-dialog.nsm-centered{display:flex;align-items:center;min-height:calc(100% - (1.75rem * 2))}.nsm-content{position:relative;display:flex;flex-direction:column;pointer-events:auto;background-clip:padding-box;background-color:#fff;border-radius:2px;padding:1rem;margin:1.75rem;box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12);outline:0;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.nsm-body{position:relative;flex:1 1 auto}.nsm-dialog[class*=nsm-dialog-animation-]{transition:opacity .5s,-webkit-transform .5s ease-in-out;transition:transform .5s ease-in-out,opacity .5s;transition:transform .5s ease-in-out,opacity .5s,-webkit-transform .5s ease-in-out}.nsm-dialog-animation-ltr{-webkit-transform:translate3d(-50%,0,0);transform:translate3d(-50%,0,0)}.nsm-dialog-animation-ltr.nsm-dialog-open{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.nsm-dialog-animation-ltr.nsm-dialog-close{-webkit-transform:translate3d(-50%,0,0);transform:translate3d(-50%,0,0)}.nsm-dialog-animation-rtl{-webkit-transform:translate3d(50%,0,0);transform:translate3d(50%,0,0)}.nsm-dialog-animation-rtl.nsm-dialog-open{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.nsm-dialog-animation-rtl.nsm-dialog-close{-webkit-transform:translate3d(50%,0,0);transform:translate3d(50%,0,0)}.nsm-dialog-animation-ttb{-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.nsm-dialog-animation-ttb.nsm-dialog-open{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.nsm-dialog-animation-ttb.nsm-dialog-close{-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.nsm-dialog-animation-btt{-webkit-transform:translate3d(0,50%,0);transform:translate3d(0,50%,0)}.nsm-dialog-animation-btt.nsm-dialog-open{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.nsm-dialog-animation-btt.nsm-dialog-close{-webkit-transform:translate3d(0,50%,0);transform:translate3d(0,50%,0)}.fullheight,body,html{height:100%}body{background-color:#424242;margin:0;font-family:Roboto,"Helvetica Neue",sans-serif}.browserNavMenu{height:40px;max-width:600px!important;margin-left:-200px}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{max-width:100%}::-webkit-scrollbar{height:16px;width:12px;background:#424242}::-webkit-scrollbar-corner{background:#424242}::-webkit-scrollbar-thumb{background:#cfcfcf;border-radius:4px}.hide-scroll-bar::-webkit-scrollbar{width:0}.hide-scroll-bar::-webkit-scrollbar-thumb{width:0}app-sync-saber{height:100%;overflow-y:scroll}.histButton span.mat-button-wrapper{width:100%;max-width:100%;float:left;text-align:left;text-overflow:ellipsis;overflow:hidden}.mat-badge-content{font-weight:600;font-size:12px;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-badge-small .mat-badge-content{font-size:9px}.mat-badge-large .mat-badge-content{font-size:24px}.mat-h1,.mat-headline,.mat-typography h1{font:400 24px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h2,.mat-title,.mat-typography h2{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h3,.mat-subheading-2,.mat-typography h3{font:400 16px/28px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h4,.mat-subheading-1,.mat-typography h4{font:400 15px/24px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h5,.mat-typography h5{font:400 11.62px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-h6,.mat-typography h6{font:400 9.38px/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-body-2,.mat-body-strong{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif}.mat-body,.mat-body-1,.mat-typography{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-body p,.mat-body-1 p,.mat-typography p{margin:0 0 12px}.mat-caption,.mat-small{font:400 12px/20px Roboto,"Helvetica Neue",sans-serif}.mat-display-4,.mat-typography .mat-display-4{font:300 112px/112px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3,.mat-typography .mat-display-3{font:400 56px/56px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2,.mat-typography .mat-display-2{font:400 45px/48px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1,.mat-typography .mat-display-1{font:400 34px/40px Roboto,"Helvetica Neue",sans-serif;margin:0 0 64px}.mat-bottom-sheet-container{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button,.mat-stroked-button{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-button-toggle,.mat-card{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-card-title{font-size:24px;font-weight:500}.mat-card-header .mat-card-title{font-size:20px}.mat-card-content,.mat-card-subtitle{font-size:14px}.mat-checkbox{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-checkbox-layout .mat-checkbox-label{line-height:24px}.mat-chip{font-size:14px;font-weight:500}.mat-chip .mat-chip-remove.mat-icon,.mat-chip .mat-chip-trailing-icon.mat-icon{font-size:18px}.mat-table{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-header-cell{font-size:12px;font-weight:500}.mat-cell,.mat-footer-cell{font-size:14px}.mat-calendar{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-calendar-body{font-size:13px}.mat-calendar-body-label,.mat-calendar-period-button{font-size:14px;font-weight:500}.mat-calendar-table-header th{font-size:11px;font-weight:400}.mat-dialog-title{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif}.mat-expansion-panel-header{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-form-field{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-form-field-wrapper{padding-bottom:1.34375em}.mat-form-field-prefix .mat-icon,.mat-form-field-suffix .mat-icon{font-size:150%;line-height:1.125}.mat-form-field-prefix .mat-icon-button,.mat-form-field-suffix .mat-icon-button{height:1.5em;width:1.5em}.mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-suffix .mat-icon-button .mat-icon{height:1.125em;line-height:1.125}.mat-form-field-infix{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{-webkit-transform:translateY(-1.34375em) scale(.75);transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-webkit-transform:translateY(-1.34374em) scale(.75);transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper{top:-.84375em;padding-top:.84375em}.mat-form-field-label{top:1.34375em}.mat-form-field-underline{bottom:1.34375em}.mat-form-field-subscript-wrapper{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy .mat-form-field-wrapper{padding-bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-infix{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy .mat-form-field-label{top:1.28125em}.mat-form-field-appearance-legacy .mat-form-field-subscript-wrapper{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{-webkit-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{-webkit-transform:translateY(-1.28121em) scale(.75);transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-webkit-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill .mat-form-field-infix{padding:.25em 0 .75em}.mat-form-field-appearance-fill .mat-form-field-label{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{-webkit-transform:translateY(-.59375em) scale(.75);transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-webkit-transform:translateY(-.59374em) scale(.75);transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline .mat-form-field-infix{padding:1em 0}.mat-form-field-appearance-outline .mat-form-field-label{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{-webkit-transform:translateY(-1.59375em) scale(.75);transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-webkit-transform:translateY(-1.59374em) scale(.75);transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer,.mat-grid-tile-header{font-size:14px}.mat-grid-tile-footer .mat-line,.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2),.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:12px}input.mat-input-element{margin-top:-.0625em}.mat-menu-item{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:400}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px}.mat-radio-button,.mat-select{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-select-trigger{height:1.125em}.mat-slide-toggle-content{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-slider-thumb-label-text{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-stepper-horizontal,.mat-stepper-vertical{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-step-label{font-size:14px;font-weight:400}.mat-step-sub-label-error{font-weight:400}.mat-step-label-error{font-size:14px}.mat-step-label-selected{font-size:14px;font-weight:500}.mat-tab-group{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-tab-label,.mat-tab-link{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0}.mat-tooltip{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item,.mat-list-option{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-list-base .mat-list-item{font-size:16px}.mat-list-base .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-item .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-list-option{font-size:16px}.mat-list-base .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-option .mat-line:nth-child(n+2){font-size:14px}.mat-list-base[dense] .mat-list-item{font-size:12px}.mat-list-base[dense] .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-item .mat-line:nth-child(n+2),.mat-list-base[dense] .mat-list-option{font-size:12px}.mat-list-base[dense] .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-option .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-subheader{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-option{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:16px;color:#fff}.mat-optgroup-label{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif;color:rgba(255,255,255,.7)}.mat-simple-snackbar{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px}.mat-simple-snackbar-action{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-ripple{overflow:hidden;position:relative}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,-webkit-transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1),-webkit-transform 0s cubic-bezier(0,0,.2,1);-webkit-transform:scale(0);transform:scale(0)}@media (-ms-high-contrast:active){.mat-ripple-element{display:none}}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper,.cdk-overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-start{/*!*/}@-webkit-keyframes cdk-text-field-autofill-end{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{-webkit-animation-name:cdk-text-field-autofill-start;animation-name:cdk-text-field-autofill-start}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){-webkit-animation-name:cdk-text-field-autofill-end;animation-name:cdk-text-field-autofill-end}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{height:auto!important;overflow:hidden!important;padding:2px 0!important;box-sizing:content-box!important}.mat-ripple-element{background-color:rgba(255,255,255,.1)}.mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled),.mat-option:focus:not(.mat-option-disabled),.mat-option:hover:not(.mat-option-disabled){background:rgba(255,255,255,.04)}.mat-option.mat-active{background:rgba(255,255,255,.04);color:#fff}.mat-option.mat-option-disabled{color:rgba(255,255,255,.5)}.mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#ad2c2c}.mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#216bad}.mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#ff5722}.mat-optgroup-disabled .mat-optgroup-label{color:rgba(255,255,255,.5)}.mat-pseudo-checkbox{color:rgba(255,255,255,.7)}.mat-pseudo-checkbox::after{color:#303030}.mat-pseudo-checkbox-disabled{color:#686868}.mat-accent .mat-pseudo-checkbox-checked,.mat-accent .mat-pseudo-checkbox-indeterminate,.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-indeterminate{background:#216bad}.mat-primary .mat-pseudo-checkbox-checked,.mat-primary .mat-pseudo-checkbox-indeterminate{background:#ad2c2c}.mat-warn .mat-pseudo-checkbox-checked,.mat-warn .mat-pseudo-checkbox-indeterminate{background:#ff5722}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#686868}.mat-elevation-z0{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-elevation-z1{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-elevation-z2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-elevation-z3{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-elevation-z4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-elevation-z5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.mat-elevation-z6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-elevation-z7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.mat-elevation-z8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-elevation-z9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.mat-elevation-z10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.mat-elevation-z11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.mat-elevation-z12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-elevation-z13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.mat-elevation-z14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.mat-elevation-z15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.mat-elevation-z16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-elevation-z17{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.mat-elevation-z18{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.mat-elevation-z19{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.mat-elevation-z20{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.mat-elevation-z21{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.mat-elevation-z22{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.mat-elevation-z23{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.mat-elevation-z24{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-app-background{background-color:#303030;color:#fff}.mat-theme-loaded-marker{display:none}.mat-autocomplete-panel{background:#424242;color:#fff}.mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#424242}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#fff}@media (-ms-high-contrast:active){.mat-badge-content{outline:solid 1px;border-radius:0}.mat-checkbox-disabled{opacity:.5}}.mat-badge-accent .mat-badge-content{background:#216bad;color:#fff}.mat-badge-warn .mat-badge-content{color:#fff;background:#ff5722}.mat-badge{position:relative}.mat-badge-hidden .mat-badge-content{display:none}.mat-badge-disabled .mat-badge-content{background:#6e6e6e;color:rgba(255,255,255,.5)}.mat-badge-content{color:#fff;background:#ad2c2c;position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out;-webkit-transform:scale(.6);transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.mat-badge-content._mat-animation-noopable,.ng-animate-disabled .mat-badge-content{transition:none}.mat-badge-content.mat-badge-active{-webkit-transform:none;transform:none}.mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.mat-bottom-sheet-container{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-button,.mat-icon-button,.mat-stroked-button{color:inherit;background:0 0}.mat-button.mat-primary,.mat-icon-button.mat-primary,.mat-stroked-button.mat-primary{color:#ad2c2c}.mat-button.mat-accent,.mat-icon-button.mat-accent,.mat-stroked-button.mat-accent{color:#216bad}.mat-button.mat-warn,.mat-icon-button.mat-warn,.mat-stroked-button.mat-warn{color:#ff5722}.mat-button.mat-accent[disabled],.mat-button.mat-primary[disabled],.mat-button.mat-warn[disabled],.mat-button[disabled][disabled],.mat-icon-button.mat-accent[disabled],.mat-icon-button.mat-primary[disabled],.mat-icon-button.mat-warn[disabled],.mat-icon-button[disabled][disabled],.mat-stroked-button.mat-accent[disabled],.mat-stroked-button.mat-primary[disabled],.mat-stroked-button.mat-warn[disabled],.mat-stroked-button[disabled][disabled]{color:rgba(255,255,255,.3)}.mat-button.mat-primary .mat-button-focus-overlay,.mat-icon-button.mat-primary .mat-button-focus-overlay,.mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#ad2c2c}.mat-button.mat-accent .mat-button-focus-overlay,.mat-icon-button.mat-accent .mat-button-focus-overlay,.mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#216bad}.mat-button.mat-warn .mat-button-focus-overlay,.mat-icon-button.mat-warn .mat-button-focus-overlay,.mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#ff5722}.mat-button[disabled] .mat-button-focus-overlay,.mat-icon-button[disabled] .mat-button-focus-overlay,.mat-stroked-button[disabled] .mat-button-focus-overlay{background-color:transparent}.mat-button .mat-ripple-element,.mat-icon-button .mat-ripple-element,.mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.mat-button-focus-overlay{background:#fff}.mat-stroked-button:not([disabled]){border-color:rgba(255,255,255,.12)}.mat-fab,.mat-flat-button,.mat-mini-fab,.mat-raised-button{color:#fff;background-color:#424242}.mat-fab.mat-accent,.mat-fab.mat-primary,.mat-fab.mat-warn,.mat-flat-button.mat-accent,.mat-flat-button.mat-primary,.mat-flat-button.mat-warn,.mat-mini-fab.mat-accent,.mat-mini-fab.mat-primary,.mat-mini-fab.mat-warn,.mat-raised-button.mat-accent,.mat-raised-button.mat-primary,.mat-raised-button.mat-warn{color:#fff}.mat-fab.mat-accent[disabled],.mat-fab.mat-primary[disabled],.mat-fab.mat-warn[disabled],.mat-fab[disabled][disabled],.mat-flat-button.mat-accent[disabled],.mat-flat-button.mat-primary[disabled],.mat-flat-button.mat-warn[disabled],.mat-flat-button[disabled][disabled],.mat-mini-fab.mat-accent[disabled],.mat-mini-fab.mat-primary[disabled],.mat-mini-fab.mat-warn[disabled],.mat-mini-fab[disabled][disabled],.mat-raised-button.mat-accent[disabled],.mat-raised-button.mat-primary[disabled],.mat-raised-button.mat-warn[disabled],.mat-raised-button[disabled][disabled]{color:rgba(255,255,255,.3);background-color:rgba(255,255,255,.12)}.mat-fab.mat-primary,.mat-flat-button.mat-primary,.mat-mini-fab.mat-primary,.mat-raised-button.mat-primary{background-color:#ad2c2c}.mat-fab.mat-accent,.mat-flat-button.mat-accent,.mat-mini-fab.mat-accent,.mat-raised-button.mat-accent{background-color:#216bad}.mat-fab.mat-warn,.mat-flat-button.mat-warn,.mat-mini-fab.mat-warn,.mat-raised-button.mat-warn{background-color:#ff5722}.mat-fab.mat-accent .mat-ripple-element,.mat-fab.mat-primary .mat-ripple-element,.mat-fab.mat-warn .mat-ripple-element,.mat-flat-button.mat-accent .mat-ripple-element,.mat-flat-button.mat-primary .mat-ripple-element,.mat-flat-button.mat-warn .mat-ripple-element,.mat-mini-fab.mat-accent .mat-ripple-element,.mat-mini-fab.mat-primary .mat-ripple-element,.mat-mini-fab.mat-warn .mat-ripple-element,.mat-raised-button.mat-accent .mat-ripple-element,.mat-raised-button.mat-primary .mat-ripple-element,.mat-raised-button.mat-warn .mat-ripple-element{background-color:rgba(255,255,255,.1)}.mat-flat-button:not([class*=mat-elevation-z]),.mat-stroked-button:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-raised-button:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-raised-button[disabled]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-fab:not([class*=mat-elevation-z]),.mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-fab:not([disabled]):active:not([class*=mat-elevation-z]),.mat-mini-fab:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab[disabled]:not([class*=mat-elevation-z]),.mat-mini-fab[disabled]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-button-toggle-group,.mat-button-toggle-standalone{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard,.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{box-shadow:none;border:1px solid rgba(255,255,255,.12)}.mat-button-toggle{color:rgba(255,255,255,.5)}.mat-button-toggle .mat-button-toggle-focus-overlay{background-color:rgba(255,255,255,.12)}.mat-button-toggle-appearance-standard{color:#fff;background:#424242}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#fff}.mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:1px solid rgba(255,255,255,.12)}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:1px solid rgba(255,255,255,.12)}.mat-button-toggle-checked{background-color:#212121;color:rgba(255,255,255,.7)}.mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#fff}.mat-button-toggle-disabled{color:rgba(255,255,255,.3);background-color:#000}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#424242}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#424242}.mat-card{background:#424242;color:#fff}.mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-card-subtitle{color:rgba(255,255,255,.7)}.mat-checkbox-frame{border-color:rgba(255,255,255,.7)}.mat-checkbox-checkmark{fill:#303030}.mat-checkbox-checkmark-path{stroke:#303030!important}@media (-ms-high-contrast:black-on-white){.mat-checkbox-checkmark-path{stroke:#000!important}}.mat-checkbox-mixedmark{background-color:#303030}.mat-checkbox-checked.mat-primary .mat-checkbox-background,.mat-checkbox-indeterminate.mat-primary .mat-checkbox-background{background-color:#ad2c2c}.mat-checkbox-checked.mat-accent .mat-checkbox-background,.mat-checkbox-indeterminate.mat-accent .mat-checkbox-background{background-color:#216bad}.mat-checkbox-checked.mat-warn .mat-checkbox-background,.mat-checkbox-indeterminate.mat-warn .mat-checkbox-background{background-color:#ff5722}.mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#686868}.mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#686868}.mat-checkbox-disabled .mat-checkbox-label{color:rgba(255,255,255,.7)}@media (-ms-high-contrast:active){.mat-checkbox-background{background:0 0}}.mat-checkbox .mat-ripple-element{background-color:#fff}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#ad2c2c}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#216bad}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#ff5722}.mat-chip.mat-standard-chip{background-color:#616161;color:#fff}.mat-chip.mat-standard-chip .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.mat-chip.mat-standard-chip::after{background:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#ad2c2c;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#ff5722;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#216bad;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background:rgba(255,255,255,.1)}.mat-table{background:#424242}.mat-table tbody,.mat-table tfoot,.mat-table thead,.mat-table-sticky,[mat-footer-row],[mat-header-row],[mat-row],mat-footer-row,mat-header-row,mat-row{background:inherit}mat-footer-row,mat-header-row,mat-row,td.mat-cell,td.mat-footer-cell,th.mat-header-cell{border-bottom-color:rgba(255,255,255,.12)}.mat-header-cell{color:rgba(255,255,255,.7)}.mat-cell,.mat-footer-cell{color:#fff}.mat-calendar-arrow{border-top-color:#fff}.mat-datepicker-content .mat-calendar-next-button,.mat-datepicker-content .mat-calendar-previous-button,.mat-datepicker-toggle{color:#fff}.mat-calendar-table-header{color:rgba(255,255,255,.5)}.mat-calendar-table-header-divider::after{background:rgba(255,255,255,.12)}.mat-calendar-body-label{color:rgba(255,255,255,.7)}.mat-calendar-body-cell-content{color:#fff;border-color:transparent}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){color:rgba(255,255,255,.5)}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:rgba(255,255,255,.04)}.mat-calendar-body-today:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.5)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected){border-color:rgba(255,255,255,.3)}.mat-calendar-body-selected{background-color:#ad2c2c;color:#fff}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(173,44,44,.4)}.mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#424242;color:#fff}.mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#216bad;color:#fff}.mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(33,107,173,.4)}.mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#ff5722;color:#fff}.mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(255,87,34,.4)}.mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content-touch{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-datepicker-toggle-active{color:#ad2c2c}.mat-datepicker-toggle-active.mat-accent{color:#216bad}.mat-datepicker-toggle-active.mat-warn{color:#ff5722}.mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#424242;color:#fff}.mat-divider{border-top-color:rgba(255,255,255,.12)}.mat-divider-vertical{border-right-color:rgba(255,255,255,.12)}.mat-expansion-panel{background:#424242;color:#fff}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-action-row{border-top-color:rgba(255,255,255,.12)}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused,.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:rgba(255,255,255,.04)}@media (hover:none){.mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#424242}}.mat-expansion-panel-header-title{color:#fff}.mat-expansion-indicator::after,.mat-expansion-panel-header-description{color:rgba(255,255,255,.7)}.mat-expansion-panel-header[aria-disabled=true]{color:rgba(255,255,255,.3)}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title{color:inherit}.mat-form-field-label,.mat-hint{color:rgba(255,255,255,.7)}.mat-form-field.mat-focused .mat-form-field-label{color:#ad2c2c}.mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#216bad}.mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#ff5722}.mat-focused .mat-form-field-required-marker{color:#216bad}.mat-form-field-ripple{background-color:#fff}.mat-form-field.mat-focused .mat-form-field-ripple{background-color:#ad2c2c}.mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#216bad}.mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#ff5722}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix::after{color:#ad2c2c}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix::after{color:#216bad}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix::after,.mat-form-field.mat-form-field-invalid .mat-form-field-label,.mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker,.mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent{color:#ff5722}.mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#ff5722}.mat-error{color:#ff5722}.mat-form-field-appearance-legacy .mat-form-field-label,.mat-form-field-appearance-legacy .mat-hint{color:rgba(255,255,255,.7)}.mat-form-field-appearance-legacy .mat-form-field-underline{bottom:1.25em;background-color:rgba(255,255,255,.7)}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard .mat-form-field-underline{background-color:rgba(255,255,255,.7)}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0,rgba(255,255,255,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill .mat-form-field-flex{background-color:rgba(255,255,255,.1)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:rgba(255,255,255,.05)}.mat-form-field-appearance-fill .mat-form-field-underline::before{background-color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:rgba(255,255,255,.5)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline::before{background-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline{color:rgba(255,255,255,.3)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{color:#fff}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#ad2c2c}.mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#216bad}.mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#ff5722}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:rgba(255,255,255,.5)}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:rgba(255,255,255,.15)}.mat-icon.mat-primary{color:#ad2c2c}.mat-icon.mat-accent{color:#216bad}.mat-icon.mat-warn{color:#ff5722}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{color:rgba(255,255,255,.7)}.mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix::after,.mat-input-element:disabled{color:rgba(255,255,255,.5)}.mat-input-element{caret-color:#ad2c2c}.mat-input-element::-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element::placeholder{color:rgba(255,255,255,.5)}.mat-input-element::-moz-placeholder{color:rgba(255,255,255,.5)}.mat-input-element::-webkit-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element:-ms-input-placeholder{color:rgba(255,255,255,.5)}.mat-input-element option{color:rgba(0,0,0,.87)}.mat-input-element option:disabled{color:rgba(0,0,0,.38)}.mat-accent .mat-input-element{caret-color:#216bad}.mat-form-field-invalid .mat-input-element,.mat-warn .mat-input-element{caret-color:#ff5722}.mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix::after{color:#ff5722}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{color:#fff}.mat-list-base .mat-subheader{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500;color:rgba(255,255,255,.7)}.mat-list-item-disabled{background-color:#000}.mat-action-list .mat-list-item:focus,.mat-action-list .mat-list-item:hover,.mat-list-option:focus,.mat-list-option:hover,.mat-nav-list .mat-list-item:focus,.mat-nav-list .mat-list-item:hover{background:rgba(255,255,255,.04)}.mat-menu-panel{background:#424242}.mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-menu-item{background:0 0;color:#fff}.mat-menu-item[disabled],.mat-menu-item[disabled]::after{color:rgba(255,255,255,.5)}.mat-menu-item .mat-icon-no-color,.mat-menu-item-submenu-trigger::after{color:#fff}.mat-menu-item-highlighted:not([disabled]),.mat-menu-item.cdk-keyboard-focused:not([disabled]),.mat-menu-item.cdk-program-focused:not([disabled]),.mat-menu-item:hover:not([disabled]){background:rgba(255,255,255,.04)}.mat-paginator{background:#424242}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{color:rgba(255,255,255,.7)}.mat-paginator-decrement,.mat-paginator-increment{border-top:2px solid #fff;border-right:2px solid #fff}.mat-paginator-first,.mat-paginator-last{border-top:2px solid #fff}.mat-icon-button[disabled] .mat-paginator-decrement,.mat-icon-button[disabled] .mat-paginator-first,.mat-icon-button[disabled] .mat-paginator-increment,.mat-icon-button[disabled] .mat-paginator-last{border-color:rgba(255,255,255,.5)}.mat-progress-bar-background{fill:#e6c0c0}.mat-progress-bar-buffer{background-color:#e6c0c0}.mat-progress-bar-fill::after{background-color:#ad2c2c}.mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#0b3c83}.mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#0b3c83}.mat-progress-bar.mat-accent .mat-progress-bar-fill::after{background-color:#216bad}.mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#ffccbc}.mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#ffccbc}.mat-progress-bar.mat-warn .mat-progress-bar-fill::after{background-color:#ff5722}.mat-progress-spinner circle,.mat-spinner circle{stroke:#ad2c2c}.mat-progress-spinner.mat-accent circle,.mat-spinner.mat-accent circle{stroke:#216bad}.mat-progress-spinner.mat-warn circle,.mat-spinner.mat-warn circle{stroke:#ff5722}.mat-radio-outer-circle{border-color:rgba(255,255,255,.7)}.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#ad2c2c}.mat-radio-button.mat-primary .mat-radio-inner-circle,.mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#ad2c2c}.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#216bad}.mat-radio-button.mat-accent .mat-radio-inner-circle,.mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#216bad}.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#ff5722}.mat-radio-button.mat-warn .mat-radio-inner-circle,.mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#ff5722}.mat-radio-button.mat-radio-disabled .mat-radio-outer-circle,.mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle{border-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled .mat-radio-inner-circle,.mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element{background-color:rgba(255,255,255,.5)}.mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:rgba(255,255,255,.5)}.mat-radio-button .mat-ripple-element{background-color:#fff}.mat-select-value{color:#fff}.mat-select-disabled .mat-select-value,.mat-select-placeholder{color:rgba(255,255,255,.5)}.mat-select-arrow{color:rgba(255,255,255,.7)}.mat-select-panel{background:#424242}.mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(255,255,255,.12)}.mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#ad2c2c}.mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#216bad}.mat-form-field .mat-select.mat-select-invalid .mat-select-arrow,.mat-form-field.mat-focused.mat-warn .mat-select-arrow{color:#ff5722}.mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:rgba(255,255,255,.5)}.mat-drawer-container{background-color:#303030;color:#fff}.mat-drawer{background-color:#424242;color:#fff}.mat-drawer.mat-drawer-push{background-color:#424242}.mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-drawer-side{border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-side.mat-drawer-end,[dir=rtl] .mat-drawer-side{border-left:1px solid rgba(255,255,255,.12);border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:1px solid rgba(255,255,255,.12)}.mat-drawer-backdrop.mat-drawer-shown{background-color:rgba(189,189,189,.6)}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#216bad}.mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:rgba(33,107,173,.54)}.mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#216bad}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#ad2c2c}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:rgba(173,44,44,.54)}.mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#ad2c2c}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#ff5722}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:rgba(255,87,34,.54)}.mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#ff5722}.mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#fff}.mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#bdbdbd}.mat-slide-toggle-bar{background-color:rgba(255,255,255,.5)}.mat-slider-track-background{background-color:rgba(255,255,255,.3)}.mat-primary .mat-slider-thumb,.mat-primary .mat-slider-thumb-label,.mat-primary .mat-slider-track-fill{background-color:#ad2c2c}.mat-primary .mat-slider-thumb-label-text{color:#fff}.mat-accent .mat-slider-thumb,.mat-accent .mat-slider-thumb-label,.mat-accent .mat-slider-track-fill{background-color:#216bad}.mat-accent .mat-slider-thumb-label-text{color:#fff}.mat-warn .mat-slider-thumb,.mat-warn .mat-slider-thumb-label,.mat-warn .mat-slider-track-fill{background-color:#ff5722}.mat-warn .mat-slider-thumb-label-text{color:#fff}.mat-slider-focus-ring{background-color:rgba(33,107,173,.2)}.cdk-focused .mat-slider-track-background,.mat-slider-disabled .mat-slider-thumb,.mat-slider-disabled .mat-slider-track-background,.mat-slider-disabled .mat-slider-track-fill,.mat-slider-disabled:hover .mat-slider-track-background,.mat-slider:hover .mat-slider-track-background{background-color:rgba(255,255,255,.3)}.mat-slider-min-value .mat-slider-focus-ring{background-color:rgba(255,255,255,.12)}.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:#fff}.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:rgba(255,255,255,.3)}.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:rgba(255,255,255,.3);background-color:transparent}.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb,.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb{border-color:rgba(255,255,255,.3)}.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb,.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb{border-color:rgba(255,255,255,.3)}.mat-slider-has-ticks .mat-slider-wrapper::after{border-color:rgba(255,255,255,.7)}.mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(to right,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(to bottom,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused,.mat-step-header:hover{background-color:rgba(255,255,255,.04)}@media (hover:none){.mat-step-header:hover{background:0 0}}.mat-step-header .mat-step-label,.mat-step-header .mat-step-optional{color:rgba(255,255,255,.7)}.mat-step-header .mat-step-icon{background-color:rgba(255,255,255,.7);color:#fff}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:#ad2c2c;color:#fff}.mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#ff5722}.mat-step-header .mat-step-label.mat-step-label-active{color:#fff}.mat-step-header .mat-step-label.mat-step-label-error{color:#ff5722}.mat-stepper-horizontal,.mat-stepper-vertical{background-color:#424242}.mat-stepper-vertical-line::before{border-left-color:rgba(255,255,255,.12)}.mat-horizontal-stepper-header::after,.mat-horizontal-stepper-header::before,.mat-stepper-horizontal-line{border-top-color:rgba(255,255,255,.12)}.mat-sort-header-arrow{color:#c6c6c6}.mat-tab-header,.mat-tab-nav-bar{border-bottom:1px solid rgba(255,255,255,.12)}.mat-tab-group-inverted-header .mat-tab-header,.mat-tab-group-inverted-header .mat-tab-nav-bar{border-top:1px solid rgba(255,255,255,.12);border-bottom:none}.mat-tab-label,.mat-tab-link{color:#fff}.mat-tab-label.mat-tab-disabled,.mat-tab-link.mat-tab-disabled{color:rgba(255,255,255,.5)}.mat-tab-header-pagination-chevron{border-color:#fff}.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(255,255,255,.5)}.mat-tab-group[class*=mat-background-] .mat-tab-header,.mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-primary .mat-ink-bar,.mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#ad2c2c}.mat-tab-group.mat-primary.mat-background-primary .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-accent .mat-ink-bar,.mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#216bad}.mat-tab-group.mat-accent.mat-background-accent .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-warn .mat-ink-bar,.mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#ff5722}.mat-tab-group.mat-warn.mat-background-warn .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(230,192,192,.3)}.mat-tab-group.mat-background-primary .mat-tab-header,.mat-tab-group.mat-background-primary .mat-tab-links,.mat-tab-nav-bar.mat-background-primary .mat-tab-header,.mat-tab-nav-bar.mat-background-primary .mat-tab-links{background-color:#ad2c2c}.mat-tab-group.mat-background-primary .mat-tab-label,.mat-tab-group.mat-background-primary .mat-tab-link,.mat-tab-nav-bar.mat-background-primary .mat-tab-label,.mat-tab-nav-bar.mat-background-primary .mat-tab-link{color:#fff}.mat-tab-group.mat-background-primary .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-primary .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary .mat-tab-link.mat-tab-disabled{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary .mat-tab-header-pagination-chevron{border-color:#fff}.mat-tab-group.mat-background-primary .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary .mat-ripple-element{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(11,60,131,.3)}.mat-tab-group.mat-background-accent .mat-tab-header,.mat-tab-group.mat-background-accent .mat-tab-links,.mat-tab-nav-bar.mat-background-accent .mat-tab-header,.mat-tab-nav-bar.mat-background-accent .mat-tab-links{background-color:#216bad}.mat-tab-group.mat-background-accent .mat-tab-label,.mat-tab-group.mat-background-accent .mat-tab-link,.mat-tab-nav-bar.mat-background-accent .mat-tab-label,.mat-tab-nav-bar.mat-background-accent .mat-tab-link{color:#fff}.mat-tab-group.mat-background-accent .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-accent .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent .mat-tab-link.mat-tab-disabled{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent .mat-tab-header-pagination-chevron{border-color:#fff}.mat-tab-group.mat-background-accent .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent .mat-ripple-element{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,204,188,.3)}.mat-tab-group.mat-background-warn .mat-tab-header,.mat-tab-group.mat-background-warn .mat-tab-links,.mat-tab-nav-bar.mat-background-warn .mat-tab-header,.mat-tab-nav-bar.mat-background-warn .mat-tab-links{background-color:#ff5722}.mat-tab-group.mat-background-warn .mat-tab-label,.mat-tab-group.mat-background-warn .mat-tab-link,.mat-tab-nav-bar.mat-background-warn .mat-tab-label,.mat-tab-nav-bar.mat-background-warn .mat-tab-link{color:#fff}.mat-tab-group.mat-background-warn .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-warn .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn .mat-tab-link.mat-tab-disabled{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn .mat-tab-header-pagination-chevron{border-color:#fff}.mat-tab-group.mat-background-warn .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn .mat-ripple-element{background-color:rgba(255,255,255,.12)}.mat-toolbar{background:#212121;color:#fff}.mat-toolbar.mat-primary{background:#ad2c2c;color:#fff}.mat-toolbar.mat-accent{background:#216bad;color:#fff}.mat-toolbar.mat-warn{background:#ff5722;color:#fff}.mat-toolbar .mat-focused .mat-form-field-ripple,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-form-field-underline{background-color:currentColor}.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-select-value{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-tooltip{background:rgba(97,97,97,.9)}.mat-tree{font-family:Roboto,"Helvetica Neue",sans-serif;background:#424242}.mat-nested-tree-node,.mat-tree-node{font-weight:400;font-size:14px;color:#fff}.mat-snack-bar-container{color:rgba(0,0,0,.87);background:#fafafa;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-simple-snackbar-action{color:inherit}@font-face{font-family:'Material Icons';font-style:normal;font-weight:400;src:url(MaterialIcons-Regular.eot);src:local('Material Icons'),local('MaterialIcons-Regular'),url(MaterialIcons-Regular.woff2) format('woff2'),url(MaterialIcons-Regular.woff) format('woff'),url(MaterialIcons-Regular.ttf) format('truetype')}.material-icons{font-family:'Material Icons';font-weight:400;font-style:normal;font-size:24px;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;-webkit-font-feature-settings:'liga';font-feature-settings:'liga'} \ No newline at end of file diff --git a/BeatOn/Assets/www/upload.53eaa2f2d099aadddfb6.png b/BeatOn/Assets/www/upload.png similarity index 100% rename from BeatOn/Assets/www/upload.53eaa2f2d099aadddfb6.png rename to BeatOn/Assets/www/upload.png diff --git a/BeatOn/BPList.cs b/BeatOn/BPList.cs new file mode 100644 index 0000000..3960749 --- /dev/null +++ b/BeatOn/BPList.cs @@ -0,0 +1,71 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +using Android.App; +using Android.Content; +using Android.OS; +using Android.Runtime; +using Android.Views; +using Android.Widget; +using Newtonsoft.Json; +using QuestomAssets; + +namespace BeatOn +{ + public class BPList + { + [JsonProperty("playlistTitle")] + public string PlaylistTitle { get; set; } + + [JsonProperty("playlistAuthor")] + public string PlaylistAuthor { get; set; } + + [JsonProperty("playlistDescription")] + public string PlaylistDescription { get; set; } + + [JsonProperty("songs")] + public List Songs { get; set; } = new List(); + + [JsonProperty("image")] + private string ImageString { get; set; } + + private byte[] _imageBytes = null; + [JsonIgnore] + public byte[] Image { get + { + if (_imageBytes != null) + return _imageBytes; + try + { + var idx = ImageString.IndexOf("base64,") + 7; + ImageString = ImageString.Substring(idx); + var retVal = Convert.FromBase64String(ImageString); + //let's give the GC something worthwhile to do + ImageString = null; + return retVal; + } + catch (Exception ex) + { + Log.LogErr("Exception trying to get image bytes out of playlist base64", ex); + return null; + } + } + } + + } + + public class BPSong + { + [JsonProperty("hash")] + public string Hash { get; set; } + + [JsonProperty("songName")] + public string SongName { get; set; } + + [JsonProperty("key")] + public string Key { get; set; } + + } +} \ No newline at end of file diff --git a/BeatOn/BeatOn.csproj b/BeatOn/BeatOn.csproj index e71d0f3..d88a38a 100644 --- a/BeatOn/BeatOn.csproj +++ b/BeatOn/BeatOn.csproj @@ -25,7 +25,7 @@ true Xamarin.Android.Net.AndroidClientHandler true - C:\Users\VR\Desktop\platform-tools_r28.0.3-windows\dist\bskey + ..\bskey emulamer bs emulamer @@ -47,21 +47,24 @@ armeabi-v7a;x86 - True + false + false portable True bin\Release\ - TRACE + + prompt 4 true False SdkOnly - True + true false false false - + + false @@ -76,6 +79,10 @@ false false false + false + true + armeabi-v7a;x86 + Xamarin true @@ -109,18 +116,31 @@ + + + + + + + + + + + + + @@ -134,22 +154,43 @@ + + + + + + + + + + + + + + + + + + + + + @@ -175,18 +216,22 @@ + + + + - - - - + + + + @@ -246,6 +291,10 @@ {e6acae1d-f608-4d45-a73c-3d2ebc22d7d4} QuestomAssets + + {d846c41a-95f1-468b-8b29-738cf3d92c3e} + FeedReader + @@ -300,31 +349,55 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + diff --git a/BeatOn/Properties/AssemblyInfo.cs b/BeatOn/Properties/AssemblyInfo.cs index d5d55ae..55284d3 100644 --- a/BeatOn/Properties/AssemblyInfo.cs +++ b/BeatOn/Properties/AssemblyInfo.cs @@ -7,11 +7,11 @@ // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("BeatOn")] -[assembly: AssemblyDescription("")] +[assembly: AssemblyDescription("Beat On")] [assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] +[assembly: AssemblyCompany("emulamer")] [assembly: AssemblyProduct("BeatOn")] -[assembly: AssemblyCopyright("Copyright © 2018")] +[assembly: AssemblyCopyright("Copyright ©emulamer 2018")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: ComVisible(false)] @@ -26,5 +26,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyVersion("0.1.0.0")] +[assembly: AssemblyFileVersion("0.1.0.0")] diff --git a/BeatOn/ResourceFileProvider.cs b/BeatOn/ResourceFileProvider.cs new file mode 100644 index 0000000..c80bc47 --- /dev/null +++ b/BeatOn/ResourceFileProvider.cs @@ -0,0 +1,172 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Text.RegularExpressions; +using Android.App; +using Android.Content; +using Android.Content.Res; +using Android.OS; +using Android.Runtime; +using Android.Views; +using Android.Widget; +using QuestomAssets.AssetsChanger; +using QuestomAssets; + +namespace BeatOn +{ + public class ResourceFileProvider : IFileProvider + { + private AssetManager _assetManager; + private string _rootPath; + public ResourceFileProvider(AssetManager assetManager, string rootPath) + { + _assetManager = assetManager; + _rootPath = rootPath; + } + + public bool UseCombinedStream => false; + + public string SourceName => "AssetManager"; + + public bool DirectoryExists(string path) + { + path = _rootPath.CombineFwdSlash(path).Trim('/'); + return _assetManager.List("").Any(x => x.StartsWith(path)); + } + + public bool FileExists(string filename) + { + filename = _rootPath.CombineFwdSlash(filename).TrimStart('/'); + return _assetManager.List("").Any(x => x == filename); + } + + private static bool FilePatternMatch(string filename, string pattern) + { + Regex mask = new Regex(pattern.Replace(".", "[.]").Replace("*", ".*").Replace("?", ".")); + return mask.IsMatch(filename); + } + + public List FindFiles(string pattern) + { + var found = new List(); + foreach (var e in _assetManager.List("")) + { + if (FilePatternMatch(_rootPath.CombineFwdSlash(e), pattern)) + found.Add(e); + } + return found; + } + + public long GetFileSize(string filename) + { + filename = _rootPath.CombineFwdSlash(filename).TrimStart('/'); + using (var f = _assetManager.Open(filename)) + { + return f.Length; + } + } + + public Stream GetReadStream(string filename, bool bypassCache = false) + { + filename = _rootPath.CombineFwdSlash(filename).TrimStart('/'); + return _assetManager.Open(filename); + } + + public byte[] Read(string filename) + { + foreach (var test in _assetManager.List(_rootPath)) + { + Log.LogMsg(test); + } + filename = _rootPath.CombineFwdSlash(filename).TrimStart('/'); + var fd = _assetManager.OpenFd(filename); + int len = (int)fd.DeclaredLength; + using (var f = _assetManager.Open(filename)) + { + byte[] b = new byte[len]; + f.Read(b, 0, len); + return b; + } + } + + #region writes and changes not implemented for this provider + public Stream GetWriteStream(string filename) + { + throw new NotImplementedException(); + } + + public void MkDir(string path, bool recursive = false) + { + throw new NotImplementedException(); + } + + public void RmRfDir(string path) + { + throw new NotImplementedException(); + } + + public void Save(string toFile = null) + { + throw new NotImplementedException(); + } + + public void Write(string filename, byte[] data, bool overwrite = true, bool compressData = true) + { + throw new NotImplementedException(); + } + + public void WriteFile(string sourceFilename, string targetFilename, bool overwrite = true, bool compressData = true) + { + throw new NotImplementedException(); + } + + public void Delete(string filename) + { + throw new NotImplementedException(); + } + + public void DeleteFiles(string pattern) + { + throw new NotImplementedException(); + } + + #region IDisposable Support + private bool disposedValue = false; // To detect redundant calls + + protected virtual void Dispose(bool disposing) + { + if (!disposedValue) + { + if (disposing) + { + // TODO: dispose managed state (managed objects). + } + + // TODO: free unmanaged resources (unmanaged objects) and override a finalizer below. + // TODO: set large fields to null. + + disposedValue = true; + } + } + + // TODO: override a finalizer only if Dispose(bool disposing) above has code to free unmanaged resources. + // ~ResourceFileProvider() + // { + // // Do not change this code. Put cleanup code in Dispose(bool disposing) above. + // Dispose(false); + // } + + // This code added to correctly implement the disposable pattern. + public void Dispose() + { + // Do not change this code. Put cleanup code in Dispose(bool disposing) above. + Dispose(true); + // TODO: uncomment the following line if the finalizer is overridden above. + // GC.SuppressFinalize(this); + } + #endregion + #endregion + } +} \ No newline at end of file diff --git a/BeatOn/Resources/raw/libbeatonmod.so b/BeatOn/Resources/raw/libbeatonmod.so index 01fa7f7..bca50f4 100644 Binary files a/BeatOn/Resources/raw/libbeatonmod.so and b/BeatOn/Resources/raw/libbeatonmod.so differ diff --git a/BeatOn/SyncConfig.cs b/BeatOn/SyncConfig.cs new file mode 100644 index 0000000..071ee52 --- /dev/null +++ b/BeatOn/SyncConfig.cs @@ -0,0 +1,407 @@ +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.ComponentModel; +using System.Linq; +using System.Text; + +using Android.App; +using Android.Content; +using Android.OS; +using Android.Runtime; +using Android.Views; +using Android.Widget; +using FeedReader; +using QuestomAssets; + +namespace BeatOn +{ + /// + /// Overall configuration for configuration of the SyncManager + /// + public class SyncConfig : INotifyPropertyChanged + { + public SyncConfig() + { + FeedReaders = new ObservableCollection(); + } + + /// + /// BeastSaber username + /// + public string BeastSaberUsername { get; set; } + + /// + /// True to check all existing songs for any updates to the song itself. This will likely be extremely slow. + /// + public bool CheckExistingSongsUpdated { get; set; } = false; + + private ObservableCollection _feedReaders; + + /// + /// List of definitions and settings for feed readers that will sync. + /// + public ObservableCollection FeedReaders + { + get + { + return _feedReaders; + } + set + { + if (value != _feedReaders) + { + if (_feedReaders != null) + _feedReaders.CollectionChanged -= _feedReaders_CollectionChanged; + + _feedReaders = value; + + if (value != null) + _feedReaders.CollectionChanged += _feedReaders_CollectionChanged; + + PropChanged(nameof(FeedReaders)); + } + + } + } + + private void _feedReaders_CollectionChanged(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e) + { + if (e.OldItems != null) + { + foreach (var oi in e.OldItems) + { + var f = oi as FeedConfig; + f.PropertyChanged -= feedReader_PropertyChanged; + } + } + if (e.NewItems != null) + { + foreach (var ni in e.NewItems) + { + var f = ni as FeedConfig; + f.PropertyChanged += feedReader_PropertyChanged; + } + } + } + + private void feedReader_PropertyChanged(object sender, PropertyChangedEventArgs e) + { + PropChanged(nameof(FeedReaders)); + } + + public event PropertyChangedEventHandler PropertyChanged; + private void PropChanged(string propName) + { + PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propName)); + } + } + + public abstract class FeedConfig : INotifyPropertyChanged + { + private Guid _id = Guid.NewGuid(); + public Guid ID + { + get + { + return _id; + } + set + { + bool changed = value != _id; + _id = value; + if (changed) + PropChanged(nameof(ID)); + } + } + + private int _maxSongs = 30; + public int MaxSongs + { + get + { + return _maxSongs; + } + set + { + bool changed = _maxSongs != value; + _maxSongs = value; + if (changed) + PropChanged(nameof(MaxSongs)); + } + } + + /// + /// The last date/time that a sync was run + /// + public DateTime? LastSyncAttempt { get; set; } + + /// + /// The last date/time that a sync was run + /// + public DateTime? LastSyncSuccess { get; set; } + + private bool _isEnabled; + + public bool IsEnabled + { + get + { + return _isEnabled; + } + set + { + bool changed = value != _isEnabled; + _isEnabled = value; + if (changed) + PropChanged(nameof(IsEnabled)); + } + } + + protected abstract IFeedReader FeedReader { get; } + protected abstract IFeedSettings FeedSettings { get; } + public abstract string PlaylistID { get; } + public abstract string DisplayName { get; } + + public event PropertyChangedEventHandler PropertyChanged; + + protected void PropChanged(string propName) + { + PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propName)); + } + + /// + /// Keyed Dictionary>>. Yes I should just make a class. + /// + public virtual Dictionary>> GetSongsByPlaylist() + { + var dict = new Dictionary>>(); + dict.Add(PlaylistID, new Tuple>(DisplayName, FeedReader.GetSongsFromFeed(FeedSettings))); + return dict; + } + } + + public class BeastSaberFeedConfig : FeedConfig + { + public override string PlaylistID => $"SyncService_BeastSaber{FeedType.ToString()}"; + public override string DisplayName + { + get + { + switch (FeedType) + { + case BeastSaberFeeds.BOOKMARKS: + return "Bookmarks"; + case BeastSaberFeeds.CURATOR_RECOMMENDED: + return "Curator Recommended"; + case BeastSaberFeeds.FOLLOWING: + return "Following"; + default: + Log.LogErr($"Unhandled Beast Saber FeedType {FeedType}"); + return "Sync"; + } + } + } + //todo: eval what the quest can handle + private const int MAX_CONCURRENCY = 4; + internal string BeastSaberUsername { get; set; } + + private BeastSaberFeeds _feedType; + public BeastSaberFeeds FeedType + { + get + { + return _feedType; + } + set + { + bool changed = _feedType != value; + _feedType = value; + if (changed) + PropChanged(nameof(FeedType)); + } + } + + protected override IFeedSettings FeedSettings + { + get + { + return new BeastSaberFeedSettings((int)FeedType) { MaxSongs = this.MaxSongs }; + } + } + + protected override IFeedReader FeedReader + { + get + { + return new BeastSaberReader(BeastSaberUsername, MAX_CONCURRENCY); + } + } + } + + public class BeatSaverFeedConfig : FeedConfig + { + public BeatSaverFeedConfig() + { + Authors = new ObservableCollection(); + Authors.CollectionChanged += Authors_CollectionChanged; + } + + private void Authors_CollectionChanged(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e) + { + PropChanged("Authors"); + } + + private BeatSaverFeeds _feedType; + public BeatSaverFeeds FeedType + { + get + { + return _feedType; + } + set + { + bool changed = value != _feedType; + _feedType = value; + if (changed) + PropChanged(nameof(FeedType)); + } + } + + public ObservableCollection Authors { get; private set; } + public override string PlaylistID => $"SyncService_BeatSaver{FeedType.ToString()}"; + + public override string DisplayName + { + get + { + switch (FeedType) + { + case BeatSaverFeeds.DOWNLOADS: + return "Top Downloads"; + case BeatSaverFeeds.HOT: + return "Hot"; + case BeatSaverFeeds.LATEST: + return "Latest"; + case BeatSaverFeeds.PLAYS: + return "Top Played"; + case BeatSaverFeeds.AUTHOR: + return $"By Authors"; //todo: consider {((Authors == null) ? "(none)" : ((Authors.Count > 1) ? string.Join(", ", Authors) : Authors.First()))}"; + case BeatSaverFeeds.SEARCH: + throw new NotImplementedException(); + default: + Log.LogErr($"Unhandled Score Saber FeedType {FeedType}"); + return "Sync"; + } + } + } + + protected override IFeedReader FeedReader + { + get + { + return new BeatSaverReader(); + } + } + + protected override IFeedSettings FeedSettings + { + get + { + return new BeatSaverFeedSettings((int)FeedType) + { + MaxSongs = MaxSongs, + Authors = Authors?.ToArray() + }; + } + } + /// + /// Keyed Dictionary>>. Yes I should just make a class. + /// + public override Dictionary>> GetSongsByPlaylist() + { + if (FeedType != BeatSaverFeeds.AUTHOR) + return base.GetSongsByPlaylist(); + + var dict = new Dictionary>>(); + var songs = FeedReader.GetSongsFromFeed(FeedSettings); + foreach (var song in songs) + { + var plID = PlaylistID + "_" + song.Value.MapperName.Replace(" ", ""); + Tuple> authorPL; + if (!dict.ContainsKey(plID)) + { + authorPL = new Tuple>($"Author {song.Value.MapperName}", new Dictionary()); + dict.Add(plID, authorPL); + } + else + { + authorPL = dict[plID]; + } + if (!authorPL.Item2.ContainsKey(song.Key)) + { + authorPL.Item2.Add(song.Key, song.Value); + } + } + return dict; + } + } + + public class ScoreSaberFeedConfig : FeedConfig + { + public override string PlaylistID => $"SyncService_ScoreSaber{FeedType.ToString()}"; + public override string DisplayName + { + get + { + switch (FeedType) + { + case ScoreSaberFeeds.LATEST_RANKED: + return "Latest Ranked"; + case ScoreSaberFeeds.TOP_PLAYED: + return "Top Played"; + case ScoreSaberFeeds.TOP_RANKED: + return "Top Ranked"; + case ScoreSaberFeeds.TRENDING: + return "Trending"; + default: + Log.LogErr($"Unhandled Score Saber FeedType {FeedType}"); + return "Sync"; + } + } + } + + private ScoreSaberFeeds _feedType; + + public ScoreSaberFeeds FeedType + { + get + { + return _feedType; + } + set + { + bool changed = _feedType != value; + _feedType = value; + if (changed) + PropChanged(nameof(FeedType)); + } + } + + protected override IFeedReader FeedReader + { + get + { + return new ScoreSaberReader(); + } + } + + protected override IFeedSettings FeedSettings + { + get + { + return new ScoreSaberFeedSettings((int)FeedType) { MaxSongs = MaxSongs }; + } + } + } +} \ No newline at end of file diff --git a/BeatOn/SyncException.cs b/BeatOn/SyncException.cs new file mode 100644 index 0000000..ae89bf7 --- /dev/null +++ b/BeatOn/SyncException.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +using Android.App; +using Android.Content; +using Android.OS; +using Android.Runtime; +using Android.Views; +using Android.Widget; + +namespace BeatOn +{ + public class SyncException : Exception + { + public SyncException(string message) : base(message) + { } + public SyncException (string message, Exception innerException) : base(message, innerException) + { } + } +} \ No newline at end of file diff --git a/BeatOn/SyncManager.cs b/BeatOn/SyncManager.cs new file mode 100644 index 0000000..4d8b6fa --- /dev/null +++ b/BeatOn/SyncManager.cs @@ -0,0 +1,283 @@ +using System; +using System.Collections.Concurrent; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Android.App; +using Android.Content; +using Android.OS; +using Android.Runtime; +using Android.Views; +using Android.Widget; +using FeedReader; +using Newtonsoft.Json; +using QuestomAssets; +using QuestomAssets.AssetOps; + +namespace BeatOn +{ + public class SyncManager + { + private SyncConfig _syncConfig; + public SyncConfig SyncConfig + { + get + { + lock (_configLock) + { + if (_syncConfig == null) + LoadConfig(); + + return _syncConfig; + } + } + } + public List ActiveSyncs { get { return _activeSyncs.ToList(); } } + private ConcurrentBag _activeSyncs = new ConcurrentBag(); + private DownloadManager _downloadManager; + private GetBeatOnConfigDelegate _getConfig; + private GetQaeDelegate _getQae; + private ShowToastDelegate _showToast; + private QaeConfig _config; + public SyncManager(QaeConfig config, DownloadManager downloadManager, GetBeatOnConfigDelegate getConfig, GetQaeDelegate getQae, ShowToastDelegate showToast) + { + _downloadManager = downloadManager; + _getConfig = getConfig; + _getQae = getQae; + _showToast = showToast; + _config = config; + WebUtils.Initialize(new System.Net.Http.HttpClient()); + } + + public class FeedSyncStatus + { + public FeedSyncStatus(FeedConfig config) + { + FeedConfig = config; + } + + public FeedConfig FeedConfig {get; private set;} + + public FeedSyncStatusType StatusType { get; set; } + + public string ErrorMessage { get; set; } + + public enum FeedSyncStatusType + { + Started, + Finished, + Failed + } + } + + public event EventHandler SyncStatusUpdate; + + private object _configLock = new object(); + public void Save() + { + lock (_configLock) + { + try + { + var settings = new JsonSerializerSettings() + { + TypeNameHandling = TypeNameHandling.All, + Formatting = Formatting.Indented //because I like it purdy and bits are cheap + }; + _config.RootFileProvider.Write(Constants.SYNC_SABER_CONFIG, System.Text.Encoding.UTF8.GetBytes(JsonConvert.SerializeObject(SyncConfig, settings)), true); + } + catch (Exception ex) + { + Log.LogErr("Exception trying to save SyncManager config", ex); + } + } + } + + public List Sync(Guid? onlyID = null) + { + var feedStatus = new List(); + try + { + var cfg = _getConfig(); + var qae = _getQae(); + List tasks = new List(); + foreach (var sync in SyncConfig.FeedReaders) + { + if (!sync.IsEnabled || (onlyID.HasValue && sync.ID != onlyID)) + continue; + FeedSyncStatus fss = new FeedSyncStatus(sync); + Task syncTask = new Task(() => + { + + + //seems bad to have this here doing this, but whatever it'll work until it doesn't, then I'll fix it. + var bsSync = sync as BeastSaberFeedConfig; + if (bsSync != null) + { + bsSync.BeastSaberUsername = SyncConfig.BeastSaberUsername; + } + + fss.StatusType = FeedSyncStatus.FeedSyncStatusType.Started; + try + { + _activeSyncs.Add(fss); + SyncStatusUpdate?.Invoke(this, fss); + sync.LastSyncAttempt = DateTime.Now; + var songsPl = sync.GetSongsByPlaylist(); + foreach (var spl in songsPl) + { + var playlist = cfg.Config.Playlists.FirstOrDefault(x => x.PlaylistID == spl.Key); + if (playlist == null) + { + playlist = new QuestomAssets.Models.BeatSaberPlaylist() + { + PlaylistID = spl.Key, + PlaylistName = spl.Value.Item1 + }; + var op = new AddOrUpdatePlaylistOp(playlist); + qae.OpManager.QueueOp(op); + op.FinishedEvent.WaitOne(); + if (op.Status != OpStatus.Complete) + throw new SyncException($"Failed to create playlist for {sync.DisplayName}!"); + _getConfig().Config = qae.GetCurrentConfig(); + cfg = _getConfig(); + } + var toAdd = spl.Value.Item2.Where(x => !playlist.SongList.Any(y => y.SongID.ToLower().StartsWith(x.Key.ToLower()))).ToList(); + var toRemove = playlist.SongList.Where(x => !spl.Value.Item2.Any(y => x.SongID.ToLower().StartsWith(y.Key.ToLower()))).ToList(); + toAdd.ForEach(x => + { + try + { + if (cfg.Config.Playlists.SelectMany(z => z.SongList).Any(z => z.SongID.ToLower().StartsWith(x.Key.ToLower()))) + { + Log.LogErr($"Syncing playlist ID {spl.Key} includes songID {x.Key} which is already elsewhere in the library, skipping it."); + } + else + { + _downloadManager.DownloadFile(x.Value.DownloadUrl.ToLower(), true, spl.Key, true); + } + } + catch (Exception ex) + { + Log.LogErr($"Exception trying to start download of {x.Value.DownloadUrl}", ex); + } + }); + List delOps = new List(); + toRemove.ForEach(x => + { + var d = new DeleteSongOp(x.SongID); + qae.OpManager.QueueOp(d); + delOps.Add(d); + }); + if (delOps.Count > 0) { + delOps.WaitForFinish(); + _getConfig().Config = qae.GetCurrentConfig(); + } + } + sync.LastSyncSuccess = DateTime.Now; + fss.StatusType = FeedSyncStatus.FeedSyncStatusType.Finished; + } + catch (Exception ex) + { + Log.LogErr($"Exception syncing from {sync.DisplayName}!", ex); + _showToast($"Sync {sync.DisplayName} Failed", "", ClientModels.ToastType.Error, 2); + fss.StatusType = FeedSyncStatus.FeedSyncStatusType.Failed; + fss.ErrorMessage = ex.Message; + } + finally + { + FeedSyncStatus f; + _activeSyncs.TryTake(out f); + SyncStatusUpdate?.Invoke(this, fss); + } + }); + tasks.Add(syncTask); + feedStatus.Add(fss); + } + tasks.ForEach(x => x.Start()); + Task.WhenAll(tasks).ContinueWith((t) => + { + t.Wait(); + Save(); + }); + } + catch (Exception ex) + { + Log.LogErr("Exception syncing!", ex); + _showToast($"Failed Sync!", "There was an error syncing.", ClientModels.ToastType.Error, 3); + } + return feedStatus; + } + + private void LoadConfig() + { + lock (_configLock) + { + bool isNew = false; + try + { + if (!_config.RootFileProvider.FileExists(Constants.SYNC_SABER_CONFIG)) + { + isNew = true; + _syncConfig = new SyncConfig(); + } + else + { + var settings = new JsonSerializerSettings() + { + TypeNameHandling = TypeNameHandling.All, + Formatting = Formatting.Indented //because I like it purdy and bits are cheap + }; + _syncConfig = JsonConvert.DeserializeObject(_config.RootFileProvider.ReadToString(Constants.SYNC_SABER_CONFIG), settings); + } + } + catch (Exception ex) + { + Log.LogErr("Exception trying to load SyncManager config", ex); + isNew = true; + _syncConfig = new SyncConfig(); + } + SetConfigDefaults(); + if (isNew) + Save(); + } + } + + private void SetConfigDefaults() + { + Action checkMakeBS = (BeastSaberFeeds feed) => + { + if (!SyncConfig.FeedReaders.Any(x => (x is BeastSaberFeedConfig) && (x as BeastSaberFeedConfig).FeedType == feed)) + SyncConfig.FeedReaders.Add(new BeastSaberFeedConfig() { FeedType = feed, IsEnabled = false }); + }; + + Action checkMakeSS = (ScoreSaberFeeds feed) => + { + if (!SyncConfig.FeedReaders.Any(x => (x is ScoreSaberFeedConfig) && (x as ScoreSaberFeedConfig).FeedType == feed)) + SyncConfig.FeedReaders.Add(new ScoreSaberFeedConfig() { FeedType = feed, IsEnabled = false }); + }; + + Action checkMakeBV = (BeatSaverFeeds feed) => + { + if (!SyncConfig.FeedReaders.Any(x => (x is BeatSaverFeedConfig) && (x as BeatSaverFeedConfig).FeedType == feed)) + SyncConfig.FeedReaders.Add(new BeatSaverFeedConfig() { FeedType = feed, IsEnabled = false }); + }; + + foreach (BeastSaberFeeds feed in Enum.GetValues(typeof(BeastSaberFeeds))) + checkMakeBS(feed); + + foreach (ScoreSaberFeeds feed in Enum.GetValues(typeof(ScoreSaberFeeds))) + checkMakeSS(feed); + + foreach (BeatSaverFeeds feed in Enum.GetValues(typeof(BeatSaverFeeds))) + { + if (feed != BeatSaverFeeds.SEARCH) + checkMakeBV(feed); + } + } + + + } +} \ No newline at end of file diff --git a/BeatOn/ToastInjectorWebViewClient.cs b/BeatOn/ToastInjectorWebViewClient.cs index 967903d..4fadfc4 100644 --- a/BeatOn/ToastInjectorWebViewClient.cs +++ b/BeatOn/ToastInjectorWebViewClient.cs @@ -17,6 +17,7 @@ namespace BeatOn public class ToastInjectorWebViewClient : WebViewClient { private WebView _webView; + public event EventHandler Download; public ToastInjectorWebViewClient(WebView webView) { _webView = webView; @@ -48,5 +49,29 @@ public void ShowToast(string title, string message, ToastType type = ToastType.I } _webView.EvaluateJavascript($"siiimpleToast.{action}('{title.Replace("'", "")}
{message.Replace("'", "")}');", null); } + public override bool ShouldOverrideUrlLoading(WebView view, IWebResourceRequest request) + { + var url = request.Url.ToString(); + var lowerUrl = url.ToLower(); + if (lowerUrl.StartsWith("modsaber://playlist/")) + { + string dlurl = url.Substring(20); + + Download?.Invoke(this, dlurl); + + return true; + } + else if (lowerUrl.StartsWith("beatsaver://")) + { + string dlurl = url.Substring(12); + Download?.Invoke(this, string.Format(Constants.BEATSAVER_DOWNLOAD_API, dlurl)); + return true; + } + return base.ShouldOverrideUrlLoading(view, request); + } + public override WebResourceResponse ShouldInterceptRequest(WebView view, IWebResourceRequest request) + { + return base.ShouldInterceptRequest(view, request); + } } } \ No newline at end of file diff --git a/BeatOn/WebServer.cs b/BeatOn/WebServer.cs index 1fea987..f4187b1 100644 --- a/BeatOn/WebServer.cs +++ b/BeatOn/WebServer.cs @@ -57,8 +57,8 @@ public string IP if (interfaces.Count() < 1) { Log.LogErr("No active network interface found"); - _ip = ""; - return ""; + _ip = "127.0.0.1"; + return "127.0.0.1"; } else if (interfaces.Count() > 1) { @@ -67,7 +67,7 @@ public string IP var addr = interfaces.First().GetIPProperties().UnicastAddresses.Where(x => x.Address.AddressFamily == System.Net.Sockets.AddressFamily.InterNetwork).FirstOrDefault()?.Address?.ToString(); if (string.IsNullOrEmpty(addr)) { - _ip = ""; + _ip = "127.0.0.1"; } else { @@ -173,8 +173,7 @@ public void Start() private void StartWebSocketServer() { try - { - + { _webSocket = new WebSocketServer($"ws://0.0.0.0:{WEBSOCKET_PORT}"); _webSocket.ListenerSocket.NoDelay = true; _webSocket.RestartAfterListenError = true; @@ -198,7 +197,7 @@ private void StartWebSocketServer() }; socket.OnMessage = message => { - HandleWebSocketMessage(message); + HandleWebSocketMessage(message, new SendHostMessageDelegate(SendMessage)); }; }); Log.LogMsg($"Started web socket server on port {WEBSOCKET_PORT}"); @@ -209,7 +208,7 @@ private void StartWebSocketServer() } } - public void HandleWebSocketMessage(string message) + public void HandleWebSocketMessage(string message, SendHostMessageDelegate sendHostMessage) { try { @@ -217,7 +216,7 @@ public void HandleWebSocketMessage(string message) if (msg == null) throw new Exception("Unable to deserialize message"); if (_messageHandlers.ContainsKey(msg.Type)) - _messageHandlers[msg.Type].HandleMessage(msg); + _messageHandlers[msg.Type].HandleMessage(msg, sendHostMessage); else Log.LogErr($"No message handler for type {msg.Type}"); } @@ -258,7 +257,7 @@ private void HandleRequest(IAsyncResult iar) { try { - var context = _listener.EndGetContext(iar); + var context = _listener.EndGetContext(iar); if (_started) _listener.BeginGetContext(HandleRequest, null); var method = context.Request.HttpMethod; diff --git a/BeatOnWrapperTV/.gitignore b/BeatOnWrapperTV/.gitignore new file mode 100644 index 0000000..2b75303 --- /dev/null +++ b/BeatOnWrapperTV/.gitignore @@ -0,0 +1,13 @@ +*.iml +.gradle +/local.properties +/.idea/caches +/.idea/libraries +/.idea/modules.xml +/.idea/workspace.xml +/.idea/navEditor.xml +/.idea/assetWizardSettings.xml +.DS_Store +/build +/captures +.externalNativeBuild diff --git a/BeatOnWrapperTV/.idea/encodings.xml b/BeatOnWrapperTV/.idea/encodings.xml new file mode 100644 index 0000000..15a15b2 --- /dev/null +++ b/BeatOnWrapperTV/.idea/encodings.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/BeatOnWrapperTV/.idea/gradle.xml b/BeatOnWrapperTV/.idea/gradle.xml new file mode 100644 index 0000000..2996d53 --- /dev/null +++ b/BeatOnWrapperTV/.idea/gradle.xml @@ -0,0 +1,15 @@ + + + + + + \ No newline at end of file diff --git a/BeatOnWrapperTV/.idea/misc.xml b/BeatOnWrapperTV/.idea/misc.xml new file mode 100644 index 0000000..0d45e8d --- /dev/null +++ b/BeatOnWrapperTV/.idea/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/BeatOnWrapperTV/.idea/runConfigurations.xml b/BeatOnWrapperTV/.idea/runConfigurations.xml new file mode 100644 index 0000000..7f68460 --- /dev/null +++ b/BeatOnWrapperTV/.idea/runConfigurations.xml @@ -0,0 +1,12 @@ + + + + + + \ No newline at end of file diff --git a/BeatOnWrapperTV/.idea/vcs.xml b/BeatOnWrapperTV/.idea/vcs.xml new file mode 100644 index 0000000..6c0b863 --- /dev/null +++ b/BeatOnWrapperTV/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/BeatOnWrapperTV/app/.gitignore b/BeatOnWrapperTV/app/.gitignore new file mode 100644 index 0000000..796b96d --- /dev/null +++ b/BeatOnWrapperTV/app/.gitignore @@ -0,0 +1 @@ +/build diff --git a/BeatOnWrapperTV/app/build.gradle b/BeatOnWrapperTV/app/build.gradle new file mode 100644 index 0000000..d6ec3a4 --- /dev/null +++ b/BeatOnWrapperTV/app/build.gradle @@ -0,0 +1,28 @@ +apply plugin: 'com.android.application' + +android { + compileSdkVersion 28 + defaultConfig { + applicationId "com.emulamer.wrapper" + minSdkVersion 24 + targetSdkVersion 28 + versionCode 1 + versionName "1.0" + testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" + } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } +} + +dependencies { + implementation fileTree(dir: 'libs', include: ['*.jar']) + implementation 'com.android.support:appcompat-v7:28.0.0' + implementation 'com.android.support.constraint:constraint-layout:1.1.3' + testImplementation 'junit:junit:4.12' + androidTestImplementation 'com.android.support.test:runner:1.0.2' + androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' +} diff --git a/BeatOnWrapperTV/app/proguard-rules.pro b/BeatOnWrapperTV/app/proguard-rules.pro new file mode 100644 index 0000000..f1b4245 --- /dev/null +++ b/BeatOnWrapperTV/app/proguard-rules.pro @@ -0,0 +1,21 @@ +# Add project specific ProGuard rules here. +# You can control the set of applied configuration files using the +# proguardFiles setting in build.gradle. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} + +# Uncomment this to preserve the line number information for +# debugging stack traces. +#-keepattributes SourceFile,LineNumberTable + +# If you keep the line number information, uncomment this to +# hide the original source file name. +#-renamesourcefileattribute SourceFile diff --git a/BeatOnWrapperTV/app/src/androidTest/java/com/emulamer/wrapper/ExampleInstrumentedTest.java b/BeatOnWrapperTV/app/src/androidTest/java/com/emulamer/wrapper/ExampleInstrumentedTest.java new file mode 100644 index 0000000..135d9ed --- /dev/null +++ b/BeatOnWrapperTV/app/src/androidTest/java/com/emulamer/wrapper/ExampleInstrumentedTest.java @@ -0,0 +1,26 @@ +package com.emulamer.wrapper; + +import android.content.Context; +import android.support.test.InstrumentationRegistry; +import android.support.test.runner.AndroidJUnit4; + +import org.junit.Test; +import org.junit.runner.RunWith; + +import static org.junit.Assert.*; + +/** + * Instrumented test, which will execute on an Android device. + * + * @see Testing documentation + */ +@RunWith(AndroidJUnit4.class) +public class ExampleInstrumentedTest { + @Test + public void useAppContext() { + // Context of the app under test. + Context appContext = InstrumentationRegistry.getTargetContext(); + + assertEquals("com.openappstore.wrapper", appContext.getPackageName()); + } +} diff --git a/BeatOnWrapperTV/app/src/main/AndroidManifest.xml b/BeatOnWrapperTV/app/src/main/AndroidManifest.xml new file mode 100644 index 0000000..e7a8cb1 --- /dev/null +++ b/BeatOnWrapperTV/app/src/main/AndroidManifest.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/BeatOnWrapperTV/app/src/main/java/com/emulamer/wrapper/MainActivity.java b/BeatOnWrapperTV/app/src/main/java/com/emulamer/wrapper/MainActivity.java new file mode 100644 index 0000000..cd67016 --- /dev/null +++ b/BeatOnWrapperTV/app/src/main/java/com/emulamer/wrapper/MainActivity.java @@ -0,0 +1,36 @@ +package com.emulamer.wrapper; + +import android.content.ComponentName; +import android.content.Intent; +import android.content.pm.PackageManager; +import android.net.Uri; +import android.support.v7.app.AppCompatActivity; +import android.os.Bundle; + +public class MainActivity extends AppCompatActivity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + + String targetPackage = "com.emulamer.beaton"; + + Intent targetIntent; + PackageManager pm = this.getPackageManager(); + targetIntent = pm.getLaunchIntentForPackage(targetPackage); + if (targetIntent == null){ + targetIntent = pm.getLeanbackLaunchIntentForPackage(targetPackage); + } + Intent intent = new Intent(Intent.ACTION_VIEW); + intent.setComponent(new ComponentName("com.oculus.vrshell", "com.oculus.vrshell.MainActivity")); + intent.setData(Uri.parse("com.oculus.tv"));//com.oculus.vrshell.desktop + intent.putExtra("uri", targetIntent.getComponent().flattenToString()); + this.startActivity(intent); + } + + @Override + protected void onStart() { + super.onStart(); + this.finish(); + } +} diff --git a/BeatOnWrapperTV/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/BeatOnWrapperTV/app/src/main/res/drawable-v24/ic_launcher_foreground.xml new file mode 100644 index 0000000..1f6bb29 --- /dev/null +++ b/BeatOnWrapperTV/app/src/main/res/drawable-v24/ic_launcher_foreground.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + diff --git a/BeatOnWrapperTV/app/src/main/res/drawable/ic_launcher_background.xml b/BeatOnWrapperTV/app/src/main/res/drawable/ic_launcher_background.xml new file mode 100644 index 0000000..0d025f9 --- /dev/null +++ b/BeatOnWrapperTV/app/src/main/res/drawable/ic_launcher_background.xml @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/BeatOnWrapperTV/app/src/main/res/layout/activity_main.xml b/BeatOnWrapperTV/app/src/main/res/layout/activity_main.xml new file mode 100644 index 0000000..84f1951 --- /dev/null +++ b/BeatOnWrapperTV/app/src/main/res/layout/activity_main.xml @@ -0,0 +1,18 @@ + + + + + + \ No newline at end of file diff --git a/BeatOnWrapperTV/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/BeatOnWrapperTV/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 0000000..eca70cf --- /dev/null +++ b/BeatOnWrapperTV/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/BeatOnWrapperTV/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/BeatOnWrapperTV/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml new file mode 100644 index 0000000..eca70cf --- /dev/null +++ b/BeatOnWrapperTV/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/BeatOnWrapperTV/app/src/main/res/mipmap-hdpi/ic_launcher.png b/BeatOnWrapperTV/app/src/main/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 0000000..898f3ed Binary files /dev/null and b/BeatOnWrapperTV/app/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/BeatOnWrapperTV/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/BeatOnWrapperTV/app/src/main/res/mipmap-hdpi/ic_launcher_round.png new file mode 100644 index 0000000..dffca36 Binary files /dev/null and b/BeatOnWrapperTV/app/src/main/res/mipmap-hdpi/ic_launcher_round.png differ diff --git a/BeatOnWrapperTV/app/src/main/res/mipmap-mdpi/ic_launcher.png b/BeatOnWrapperTV/app/src/main/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 0000000..64ba76f Binary files /dev/null and b/BeatOnWrapperTV/app/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/BeatOnWrapperTV/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/BeatOnWrapperTV/app/src/main/res/mipmap-mdpi/ic_launcher_round.png new file mode 100644 index 0000000..dae5e08 Binary files /dev/null and b/BeatOnWrapperTV/app/src/main/res/mipmap-mdpi/ic_launcher_round.png differ diff --git a/BeatOnWrapperTV/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/BeatOnWrapperTV/app/src/main/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 0000000..e5ed465 Binary files /dev/null and b/BeatOnWrapperTV/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/BeatOnWrapperTV/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/BeatOnWrapperTV/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png new file mode 100644 index 0000000..14ed0af Binary files /dev/null and b/BeatOnWrapperTV/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ diff --git a/BeatOnWrapperTV/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/BeatOnWrapperTV/app/src/main/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 0000000..b0907ca Binary files /dev/null and b/BeatOnWrapperTV/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/BeatOnWrapperTV/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/BeatOnWrapperTV/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png new file mode 100644 index 0000000..d8ae031 Binary files /dev/null and b/BeatOnWrapperTV/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ diff --git a/BeatOnWrapperTV/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/BeatOnWrapperTV/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 0000000..2c18de9 Binary files /dev/null and b/BeatOnWrapperTV/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/BeatOnWrapperTV/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/BeatOnWrapperTV/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png new file mode 100644 index 0000000..beed3cd Binary files /dev/null and b/BeatOnWrapperTV/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ diff --git a/BeatOnWrapperTV/app/src/main/res/values/colors.xml b/BeatOnWrapperTV/app/src/main/res/values/colors.xml new file mode 100644 index 0000000..69b2233 --- /dev/null +++ b/BeatOnWrapperTV/app/src/main/res/values/colors.xml @@ -0,0 +1,6 @@ + + + #008577 + #00574B + #D81B60 + diff --git a/BeatOnWrapperTV/app/src/main/res/values/strings.xml b/BeatOnWrapperTV/app/src/main/res/values/strings.xml new file mode 100644 index 0000000..6fb5e8f --- /dev/null +++ b/BeatOnWrapperTV/app/src/main/res/values/strings.xml @@ -0,0 +1,3 @@ + + BeatOn + diff --git a/BeatOnWrapperTV/app/src/main/res/values/styles.xml b/BeatOnWrapperTV/app/src/main/res/values/styles.xml new file mode 100644 index 0000000..5885930 --- /dev/null +++ b/BeatOnWrapperTV/app/src/main/res/values/styles.xml @@ -0,0 +1,11 @@ + + + + + + diff --git a/BeatOnWrapperTV/app/src/test/java/com/emulamer/wrapper/ExampleUnitTest.java b/BeatOnWrapperTV/app/src/test/java/com/emulamer/wrapper/ExampleUnitTest.java new file mode 100644 index 0000000..3015d7e --- /dev/null +++ b/BeatOnWrapperTV/app/src/test/java/com/emulamer/wrapper/ExampleUnitTest.java @@ -0,0 +1,17 @@ +package com.emulamer.wrapper; + +import org.junit.Test; + +import static org.junit.Assert.*; + +/** + * Example local unit test, which will execute on the development machine (host). + * + * @see Testing documentation + */ +public class ExampleUnitTest { + @Test + public void addition_isCorrect() { + assertEquals(4, 2 + 2); + } +} \ No newline at end of file diff --git a/BeatOnWrapperTV/beaton-wrapper.apk b/BeatOnWrapperTV/beaton-wrapper.apk new file mode 100644 index 0000000..b1584c5 Binary files /dev/null and b/BeatOnWrapperTV/beaton-wrapper.apk differ diff --git a/BeatOnWrapperTV/build.gradle b/BeatOnWrapperTV/build.gradle new file mode 100644 index 0000000..02199bb --- /dev/null +++ b/BeatOnWrapperTV/build.gradle @@ -0,0 +1,27 @@ +// Top-level build file where you can add configuration options common to all sub-projects/modules. + +buildscript { + repositories { + google() + jcenter() + + } + dependencies { + classpath 'com.android.tools.build:gradle:3.4.1' + + // NOTE: Do not place your application dependencies here; they belong + // in the individual module build.gradle files + } +} + +allprojects { + repositories { + google() + jcenter() + + } +} + +task clean(type: Delete) { + delete rootProject.buildDir +} diff --git a/BeatOnWrapperTV/gradle.properties b/BeatOnWrapperTV/gradle.properties new file mode 100644 index 0000000..82618ce --- /dev/null +++ b/BeatOnWrapperTV/gradle.properties @@ -0,0 +1,15 @@ +# Project-wide Gradle settings. +# IDE (e.g. Android Studio) users: +# Gradle settings configured through the IDE *will override* +# any settings specified in this file. +# For more details on how to configure your build environment visit +# http://www.gradle.org/docs/current/userguide/build_environment.html +# Specifies the JVM arguments used for the daemon process. +# The setting is particularly useful for tweaking memory settings. +org.gradle.jvmargs=-Xmx1536m +# When configured, Gradle will run in incubating parallel mode. +# This option should only be used with decoupled projects. More details, visit +# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects +# org.gradle.parallel=true + + diff --git a/BeatOnWrapperTV/gradle/wrapper/gradle-wrapper.jar b/BeatOnWrapperTV/gradle/wrapper/gradle-wrapper.jar new file mode 100644 index 0000000..f6b961f Binary files /dev/null and b/BeatOnWrapperTV/gradle/wrapper/gradle-wrapper.jar differ diff --git a/BeatOnWrapperTV/gradle/wrapper/gradle-wrapper.properties b/BeatOnWrapperTV/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 0000000..96598c3 --- /dev/null +++ b/BeatOnWrapperTV/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,6 @@ +#Sun May 19 22:37:57 BST 2019 +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip diff --git a/BeatOnWrapperTV/gradlew b/BeatOnWrapperTV/gradlew new file mode 100644 index 0000000..cccdd3d --- /dev/null +++ b/BeatOnWrapperTV/gradlew @@ -0,0 +1,172 @@ +#!/usr/bin/env sh + +############################################################################## +## +## Gradle start up script for UN*X +## +############################################################################## + +# Attempt to set APP_HOME +# Resolve links: $0 may be a link +PRG="$0" +# Need this for relative symlinks. +while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG=`dirname "$PRG"`"/$link" + fi +done +SAVED="`pwd`" +cd "`dirname \"$PRG\"`/" >/dev/null +APP_HOME="`pwd -P`" +cd "$SAVED" >/dev/null + +APP_NAME="Gradle" +APP_BASE_NAME=`basename "$0"` + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS="" + +# Use the maximum available, or set MAX_FD != -1 to use that value. +MAX_FD="maximum" + +warn () { + echo "$*" +} + +die () { + echo + echo "$*" + echo + exit 1 +} + +# OS specific support (must be 'true' or 'false'). +cygwin=false +msys=false +darwin=false +nonstop=false +case "`uname`" in + CYGWIN* ) + cygwin=true + ;; + Darwin* ) + darwin=true + ;; + MINGW* ) + msys=true + ;; + NONSTOP* ) + nonstop=true + ;; +esac + +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + +# Determine the Java command to use to start the JVM. +if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + if [ ! -x "$JAVACMD" ] ; then + die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." + fi +else + JAVACMD="java" + which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." +fi + +# Increase the maximum file descriptors if we can. +if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then + MAX_FD_LIMIT=`ulimit -H -n` + if [ $? -eq 0 ] ; then + if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then + MAX_FD="$MAX_FD_LIMIT" + fi + ulimit -n $MAX_FD + if [ $? -ne 0 ] ; then + warn "Could not set maximum file descriptor limit: $MAX_FD" + fi + else + warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" + fi +fi + +# For Darwin, add options to specify how the application appears in the dock +if $darwin; then + GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" +fi + +# For Cygwin, switch paths to Windows format before running java +if $cygwin ; then + APP_HOME=`cygpath --path --mixed "$APP_HOME"` + CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` + JAVACMD=`cygpath --unix "$JAVACMD"` + + # We build the pattern for arguments to be converted via cygpath + ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` + SEP="" + for dir in $ROOTDIRSRAW ; do + ROOTDIRS="$ROOTDIRS$SEP$dir" + SEP="|" + done + OURCYGPATTERN="(^($ROOTDIRS))" + # Add a user-defined pattern to the cygpath arguments + if [ "$GRADLE_CYGPATTERN" != "" ] ; then + OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" + fi + # Now convert the arguments - kludge to limit ourselves to /bin/sh + i=0 + for arg in "$@" ; do + CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` + CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option + + if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition + eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` + else + eval `echo args$i`="\"$arg\"" + fi + i=$((i+1)) + done + case $i in + (0) set -- ;; + (1) set -- "$args0" ;; + (2) set -- "$args0" "$args1" ;; + (3) set -- "$args0" "$args1" "$args2" ;; + (4) set -- "$args0" "$args1" "$args2" "$args3" ;; + (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; + (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; + (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; + (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; + (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; + esac +fi + +# Escape application args +save () { + for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done + echo " " +} +APP_ARGS=$(save "$@") + +# Collect all arguments for the java command, following the shell quoting and substitution rules +eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" + +# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong +if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then + cd "$(dirname "$0")" +fi + +exec "$JAVACMD" "$@" diff --git a/BeatOnWrapperTV/gradlew.bat b/BeatOnWrapperTV/gradlew.bat new file mode 100644 index 0000000..f955316 --- /dev/null +++ b/BeatOnWrapperTV/gradlew.bat @@ -0,0 +1,84 @@ +@if "%DEBUG%" == "" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%" == "" set DIRNAME=. +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS= + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if "%ERRORLEVEL%" == "0" goto init + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto init + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:init +@rem Get command-line arguments, handling Windows variants + +if not "%OS%" == "Windows_NT" goto win9xME_args + +:win9xME_args +@rem Slurp the command line arguments. +set CMD_LINE_ARGS= +set _SKIP=2 + +:win9xME_args_slurp +if "x%~1" == "x" goto execute + +set CMD_LINE_ARGS=%* + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% + +:end +@rem End local scope for the variables with windows NT shell +if "%ERRORLEVEL%"=="0" goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 +exit /b 1 + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/BeatOnWrapperTV/settings.gradle b/BeatOnWrapperTV/settings.gradle new file mode 100644 index 0000000..e7b4def --- /dev/null +++ b/BeatOnWrapperTV/settings.gradle @@ -0,0 +1 @@ +include ':app' diff --git a/ExtraDiffsIcon.png b/ExtraDiffsIcon.png new file mode 100644 index 0000000..75fc258 Binary files /dev/null and b/ExtraDiffsIcon.png differ diff --git a/InstallerHelperInterop/Transforms/Metadata.xml b/InstallerHelperInterop/Transforms/Metadata.xml index 91493a2..edc6723 100644 --- a/InstallerHelperInterop/Transforms/Metadata.xml +++ b/InstallerHelperInterop/Transforms/Metadata.xml @@ -6,4 +6,7 @@ This sample removes the method: android.support.v4.content.CursorLoader.loadInBackground: --> + diff --git a/Lightshow.png b/Lightshow.png new file mode 100644 index 0000000..0ad7320 Binary files /dev/null and b/Lightshow.png differ diff --git a/Quest 2019-07-10 19-53-15.mp4 b/Quest 2019-07-10 19-53-15.mp4 new file mode 100644 index 0000000..95578b7 Binary files /dev/null and b/Quest 2019-07-10 19-53-15.mp4 differ diff --git a/QuestomAssets b/QuestomAssets index 819215b..cf371ed 160000 --- a/QuestomAssets +++ b/QuestomAssets @@ -1 +1 @@ -Subproject commit 819215bc362c605077894eb6e935a5e715794bfd +Subproject commit cf371ed7d28da90856cb88ac1f769815f49d8d86 diff --git a/SyncSaberService b/SyncSaberService new file mode 160000 index 0000000..9a8c3b4 --- /dev/null +++ b/SyncSaberService @@ -0,0 +1 @@ +Subproject commit 9a8c3b48556f6e706e9eac7873ff9c6a3c35eb48 diff --git a/beatsaber-hook b/beatsaber-hook index 971db8d..4b1f6af 160000 --- a/beatsaber-hook +++ b/beatsaber-hook @@ -1 +1 @@ -Subproject commit 971db8d20feef80f4cbd78157e1a72c7cd7d6848 +Subproject commit 4b1f6afbb69b65c49417ec96158f30dd61b201b5 diff --git a/bskey b/bskey new file mode 100644 index 0000000..d297cf9 Binary files /dev/null and b/bskey differ diff --git a/frontend/.prettierrc.json b/frontend/.prettierrc.json new file mode 100644 index 0000000..42f74b2 --- /dev/null +++ b/frontend/.prettierrc.json @@ -0,0 +1,10 @@ +{ + "tabWidth": 4, + "printWidth": 132, + "semi": true, + "jsxBracketSameLine": true, + "parser": "typescript", + "singleQuote": true, + "useTabs": false, + "trailingComma": "es5" +} diff --git a/frontend/angular.json b/frontend/angular.json index faeceff..516d68d 100644 --- a/frontend/angular.json +++ b/frontend/angular.json @@ -125,4 +125,4 @@ } }, "defaultProject": "beaton" -} \ No newline at end of file +} diff --git a/frontend/build.bat b/frontend/build.bat new file mode 100644 index 0000000..2a45393 --- /dev/null +++ b/frontend/build.bat @@ -0,0 +1 @@ +ng build --prod --aot --output-hashing none \ No newline at end of file diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 177682c..130488e 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -630,6 +630,12 @@ "integrity": "sha512-jRHfWsvyMtXdbhnz5CVHxaBgnV6duZnPlQuRSo/dm/GnmikNcmZhxIES4E9OZjUmQ8C+HCl4KJux+cXN/ErGDQ==", "dev": true }, + "@types/normalize-package-data": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz", + "integrity": "sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA==", + "dev": true + }, "@types/q": { "version": "0.0.32", "resolved": "https://registry.npmjs.org/@types/q/-/q-0.0.32.tgz", @@ -1185,6 +1191,12 @@ "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=", "dev": true }, + "array-differ": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/array-differ/-/array-differ-2.1.0.tgz", + "integrity": "sha512-KbUpJgx909ZscOc/7CLATBFam7P1Z1QRQInvgT0UztM9Q72aGKCunKASAl7WNW0tnPmPyEMeMhdsfWhfmW037w==", + "dev": true + }, "array-flatten": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-2.1.2.tgz", @@ -2061,6 +2073,12 @@ "tslib": "^1.9.0" } }, + "ci-info": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", + "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==", + "dev": true + }, "cipher-base": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", @@ -4240,6 +4258,12 @@ "integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w==", "dev": true }, + "get-stdin": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-7.0.0.tgz", + "integrity": "sha512-zRKcywvrXlXsA0v0i9Io4KDRaAw7+a1ZpjRwl9Wox8PFlVCCHra7E9c4kqXCoCM9nR5tBkaTTZRBoCm60bFqTQ==", + "dev": true + }, "get-stream": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", @@ -4633,6 +4657,75 @@ "ms": "^2.0.0" } }, + "husky": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/husky/-/husky-3.0.0.tgz", + "integrity": "sha512-lKMEn7bRK+7f5eWPNGclDVciYNQt0GIkAQmhKl+uHP1qFzoN0h92kmH9HZ8PCwyVA2EQPD8KHf0FYWqnTxau+Q==", + "dev": true, + "requires": { + "cosmiconfig": "^5.2.1", + "execa": "^1.0.0", + "get-stdin": "^7.0.0", + "is-ci": "^2.0.0", + "opencollective-postinstall": "^2.0.2", + "pkg-dir": "^4.2.0", + "please-upgrade-node": "^3.1.1", + "read-pkg": "^5.1.1", + "run-node": "^1.0.0", + "slash": "^3.0.0" + }, + "dependencies": { + "find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "requires": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + } + }, + "locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "requires": { + "p-locate": "^4.1.0" + } + }, + "p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "requires": { + "p-limit": "^2.2.0" + } + }, + "path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true + }, + "pkg-dir": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "dev": true, + "requires": { + "find-up": "^4.0.0" + } + }, + "slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "dev": true + } + } + }, "iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", @@ -4882,6 +4975,15 @@ "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", "dev": true }, + "is-ci": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz", + "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==", + "dev": true, + "requires": { + "ci-info": "^2.0.0" + } + }, "is-data-descriptor": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", @@ -5642,11 +5744,16 @@ } }, "lodash": { - "version": "4.17.11", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", - "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==", + "version": "4.17.14", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.14.tgz", + "integrity": "sha512-mmKYbW3GLuJeX+iGP+Y7Gp1AiGHGbXHCOh/jZmrawMmsE7MS4znI3RL2FsjbqOyMayHInjOeykW7PEajUk1/xw==", "dev": true }, + "lodash-es": { + "version": "4.17.11", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.11.tgz", + "integrity": "sha512-DHb1ub+rMjjrxqlB3H56/6MXtm1lSksDp2rA2cNWjG8mlDUYFhUj3Di2Zn5IwSU87xLv8tNIQ7sSwE/YOX/D/Q==" + }, "lodash.clonedeep": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", @@ -6003,9 +6110,9 @@ } }, "mixin-deep": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.1.tgz", - "integrity": "sha512-8ZItLHeEgaqEvd5lYBXfm4EZSFCX29Jb9K+lAHhDKzReKBQKj3R+7NOF6tjqYi9t4oI8VUfaWITJQm86wnXGNQ==", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", + "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==", "dev": true, "requires": { "for-in": "^1.0.2", @@ -6072,6 +6179,12 @@ "run-queue": "^1.0.3" } }, + "mri": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/mri/-/mri-1.1.4.tgz", + "integrity": "sha512-6y7IjGPm8AzlvoUrwAaw1tLnUBudaS3752vcd8JtrpGGQn+rXIe63LFVHm/YMwtqAuh+LJPCFdlLYPWM1nYn6w==", + "dev": true + }, "ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", @@ -6094,6 +6207,18 @@ "integrity": "sha1-iZ8R2WhuXgXLkbNdXw5jt3PPyQE=", "dev": true }, + "multimatch": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/multimatch/-/multimatch-3.0.0.tgz", + "integrity": "sha512-22foS/gqQfANZ3o+W7ST2x25ueHDVNWl/b9OlGcLpy/iKxjCpvcNCM51YCenUi7Mt/jAjjqv8JwZRs8YP5sRjA==", + "dev": true, + "requires": { + "array-differ": "^2.0.3", + "array-union": "^1.0.2", + "arrify": "^1.0.1", + "minimatch": "^3.0.4" + } + }, "mute-stream": { "version": "0.0.7", "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz", @@ -6138,6 +6263,29 @@ "integrity": "sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw==", "dev": true }, + "ng-lazyload-image": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/ng-lazyload-image/-/ng-lazyload-image-6.0.0.tgz", + "integrity": "sha512-oatEf5Aq8abjTMxldSypm863B3BJElefBNnmVPEf09KNdYIm1dSrZP6/70CSsxNUhRYsfR+T9Q1SVPaZkwYZ0w==", + "requires": { + "tslib": "^1.9.0" + } + }, + "ngx-color-picker": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/ngx-color-picker/-/ngx-color-picker-8.0.1.tgz", + "integrity": "sha512-aA55g49ZGF1xfc0iJS6xK/qOds2GZC3mId4lcJarCGrjQbg44qYv6BaodLzSFcYRMPN9+O7z6n4+2pWrjQqWfA==" + }, + "ngx-cookie-service": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/ngx-cookie-service/-/ngx-cookie-service-2.2.0.tgz", + "integrity": "sha512-2kaC1itlEMxiMAPJ320hOpcwU9vhvjbKQCZ1Go6bGhYjJtqG7eYvhNP7mM9IhFz1/afG2tBryJPySWmFUGhRpA==" + }, + "ngx-smart-modal": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/ngx-smart-modal/-/ngx-smart-modal-7.1.1.tgz", + "integrity": "sha512-o7Cea8eqdBzzmxh2xX0KoSui7abReCGeInSal6Um6ZeidYnxwcUf9bA2G1LF6sjjO2WhnGshAIaSRQqfqAJ3TA==" + }, "ngx-toastr": { "version": "10.0.4", "resolved": "https://registry.npmjs.org/ngx-toastr/-/ngx-toastr-10.0.4.tgz", @@ -6505,6 +6653,12 @@ "is-wsl": "^1.1.0" } }, + "opencollective-postinstall": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/opencollective-postinstall/-/opencollective-postinstall-2.0.2.tgz", + "integrity": "sha512-pVOEP16TrAO2/fjej1IdOyupJY8KDUM1CvsaScRbw6oddvpQoOfGk4ywha0HKKVAD6RkW4x6Q+tNBwhf3Bgpuw==", + "dev": true + }, "opn": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/opn/-/opn-5.5.0.tgz", @@ -6862,6 +7016,15 @@ "find-up": "^3.0.0" } }, + "please-upgrade-node": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.1.1.tgz", + "integrity": "sha512-KY1uHnQ2NlQHqIJQpnh/i54rKkuxCEBx+voJIS/Mvb+L2iYd2NMotwduhKTMjfC1uKoX3VXOxLjIYG66dfJTVQ==", + "dev": true, + "requires": { + "semver-compare": "^1.0.0" + } + }, "portfinder": { "version": "1.0.20", "resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.20.tgz", @@ -6952,6 +7115,119 @@ "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=", "dev": true }, + "prettier": { + "version": "1.18.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.18.2.tgz", + "integrity": "sha512-OeHeMc0JhFE9idD4ZdtNibzY0+TPHSpSSb9h8FqtP+YnoZZ1sl8Vc9b1sasjfymH3SonAF4QcA2+mzHPhMvIiw==", + "dev": true + }, + "pretty-quick": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/pretty-quick/-/pretty-quick-1.11.1.tgz", + "integrity": "sha512-kSXCkcETfak7EQXz6WOkCeCqpbC4GIzrN/vaneTGMP/fAtD8NerA9bPhCUqHAks1geo7biZNl5uEMPceeneLuA==", + "dev": true, + "requires": { + "chalk": "^2.3.0", + "execa": "^0.8.0", + "find-up": "^2.1.0", + "ignore": "^3.3.7", + "mri": "^1.1.0", + "multimatch": "^3.0.0" + }, + "dependencies": { + "cross-spawn": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz", + "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=", + "dev": true, + "requires": { + "lru-cache": "^4.0.1", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + } + }, + "execa": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-0.8.0.tgz", + "integrity": "sha1-2NdrvBtVIX7RkP1t1J08d07PyNo=", + "dev": true, + "requires": { + "cross-spawn": "^5.0.1", + "get-stream": "^3.0.0", + "is-stream": "^1.1.0", + "npm-run-path": "^2.0.0", + "p-finally": "^1.0.0", + "signal-exit": "^3.0.0", + "strip-eof": "^1.0.0" + } + }, + "find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "dev": true, + "requires": { + "locate-path": "^2.0.0" + } + }, + "get-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", + "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=", + "dev": true + }, + "locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "dev": true, + "requires": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + } + }, + "lru-cache": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz", + "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==", + "dev": true, + "requires": { + "pseudomap": "^1.0.2", + "yallist": "^2.1.2" + } + }, + "p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dev": true, + "requires": { + "p-try": "^1.0.0" + } + }, + "p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "dev": true, + "requires": { + "p-limit": "^1.1.0" + } + }, + "p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", + "dev": true + }, + "yallist": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", + "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=", + "dev": true + } + } + }, "process": { "version": "0.11.10", "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", @@ -7374,6 +7650,18 @@ "readdir-scoped-modules": "^1.0.0" } }, + "read-pkg": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.1.1.tgz", + "integrity": "sha512-dFcTLQi6BZ+aFUaICg7er+/usEoqFdQxiEBsEMNGoipenihtxxtdrQuBXvyANCEI8VuUIVYFgeHGx9sLLvim4w==", + "dev": true, + "requires": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^2.5.0", + "parse-json": "^4.0.0", + "type-fest": "^0.4.1" + } + }, "readable-stream": { "version": "2.3.6", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", @@ -7642,6 +7930,12 @@ "is-promise": "^2.1.0" } }, + "run-node": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/run-node/-/run-node-1.0.0.tgz", + "integrity": "sha512-kc120TBlQ3mih1LSzdAJXo4xn/GWS2ec0l3S+syHDXP9uRr0JAT8Qd3mdMuyjqCzeZktgP3try92cEgf9Nks8A==", + "dev": true + }, "run-queue": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/run-queue/-/run-queue-1.0.3.tgz", @@ -7787,6 +8081,12 @@ "integrity": "sha512-0UewU+9rFapKFnlbirLi3byoOuhrSsli/z/ihNnvM24vgF+8sNBiI1LZPBSH9wJKUwaUbw+s3hToDLCXkrghrQ==", "dev": true }, + "semver-compare": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz", + "integrity": "sha1-De4hahyUGrN+nvsXiPavxf9VN/w=", + "dev": true + }, "semver-dsl": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/semver-dsl/-/semver-dsl-1.0.1.tgz", @@ -7916,9 +8216,9 @@ "dev": true }, "set-value": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.0.tgz", - "integrity": "sha512-hw0yxk9GT/Hr5yJEYnHNKYXkIA8mVJgd9ditYZCe16ZczcaELYYcfvaXesNACk2O8O0nTiPQcQhGUQj8JLzeeg==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz", + "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==", "dev": true, "requires": { "extend-shallow": "^2.0.1", @@ -8023,6 +8323,23 @@ "integrity": "sha512-JDhEpTKzXusOqXZ0BUIdH+CjFdO/CR3tLlf5CN34IypI+xMmXW1uB16OOY8z3cICbJlDAVJzNbwBhNO0wt9OAw==", "dev": true }, + "smooth-scrollbar": { + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/smooth-scrollbar/-/smooth-scrollbar-8.4.0.tgz", + "integrity": "sha512-ROKPDABrNcCpiR7grzyRMykYtWSP7qyX59Ka/fcSPRYcixYPZhzW5mkg6EuAHMBvvVc9iHst7mOnnuM0+C/kBQ==", + "requires": { + "core-js": "^2.6.5", + "lodash-es": "^4.17.11", + "tslib": "^1.9.3" + }, + "dependencies": { + "core-js": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.9.tgz", + "integrity": "sha512-HOpZf6eXmnl7la+cUdMnLvUxKNqLUzJvgIziQ0DiF3JwSImNphIqdGqzj6hIKyX04MmV0poclQ7+wjWvxQyR2A==" + } + } + }, "snapdragon": { "version": "0.8.2", "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", @@ -9072,6 +9389,12 @@ "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", "dev": true }, + "type-fest": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.4.1.tgz", + "integrity": "sha512-IwzA/LSfD2vC1/YDYMv/zHP4rDF1usCwllsDpbolT3D4fUepIO7f9K70jjmUewU/LmGUKJcwcVtDCpnKk4BPMw==", + "dev": true + }, "type-is": { "version": "1.6.18", "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", @@ -9121,38 +9444,15 @@ "dev": true }, "union-value": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.0.tgz", - "integrity": "sha1-XHHDTLW61dzr4+oM0IIHulqhrqQ=", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", + "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==", "dev": true, "requires": { "arr-union": "^3.1.0", "get-value": "^2.0.6", "is-extendable": "^0.1.1", - "set-value": "^0.4.3" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - }, - "set-value": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/set-value/-/set-value-0.4.3.tgz", - "integrity": "sha1-fbCPnT0i3H945Trzw79GZuzfzPE=", - "dev": true, - "requires": { - "extend-shallow": "^2.0.1", - "is-extendable": "^0.1.1", - "is-plain-object": "^2.0.1", - "to-object-path": "^0.3.0" - } - } + "set-value": "^2.0.1" } }, "unique-filename": { diff --git a/frontend/package.json b/frontend/package.json index eab73bd..e777389 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -4,11 +4,17 @@ "scripts": { "ng": "ng", "start": "ng serve", - "build": "ng build", + "build": "ng build --prod --aot", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e" }, + "husky": { + "hooks": { + "pre-commit": "pretty-quick --staged --pattern \"**/*.*(js|jsx|ts|tsx)\"", + "post-commit": "cd .. && git update-index -g" + } + }, "private": true, "dependencies": { "@angular/animations": "~8.0.1", @@ -25,8 +31,13 @@ "angular-vertical-tabs": "github:SamuelMarks/angular-vertical-material-tabs", "hammerjs": "^2.0.8", "material-design-icons": "^3.0.1", + "ng-lazyload-image": "^6.0.0", + "ngx-color-picker": "^8.0.1", + "ngx-cookie-service": "^2.2.0", + "ngx-smart-modal": "^7.1.1", "ngx-toastr": "^10.0.4", "rxjs": "~6.4.0", + "smooth-scrollbar": "^8.4.0", "tslib": "^1.9.0", "zone.js": "~0.9.1" }, @@ -49,6 +60,9 @@ "protractor": "~5.4.0", "ts-node": "~7.0.0", "tslint": "~5.15.0", + "husky": "^3.0.0", + "prettier": "^1.18.2", + "pretty-quick": "^1.11.1", "typescript": "~3.4.3" } } diff --git a/frontend/src/app/add-edit-playlist-dialog/add-edit-playlist-dialog.component.html b/frontend/src/app/add-edit-playlist-dialog/add-edit-playlist-dialog.component.html index 31d5a46..e6ba3a1 100644 --- a/frontend/src/app/add-edit-playlist-dialog/add-edit-playlist-dialog.component.html +++ b/frontend/src/app/add-edit-playlist-dialog/add-edit-playlist-dialog.component.html @@ -1,19 +1,19 @@ - - - + + + - - + - - - - + + + + @@ -24,4 +24,4 @@
-
\ No newline at end of file +
diff --git a/frontend/src/app/add-edit-playlist-dialog/add-edit-playlist-dialog.component.scss b/frontend/src/app/add-edit-playlist-dialog/add-edit-playlist-dialog.component.scss index 052fc12..205736d 100644 --- a/frontend/src/app/add-edit-playlist-dialog/add-edit-playlist-dialog.component.scss +++ b/frontend/src/app/add-edit-playlist-dialog/add-edit-playlist-dialog.component.scss @@ -1,24 +1,25 @@ .coverContainer { - width: 150px; - height: 150px; - display: inline-block; - + width: 150px; + height: 150px; + display: inline-block; } + .coverPlaceholder { - color: gray; - font-size: 12px; + color: gray; + font-size: 12px; } + .cover { - width: 100%; - height: 100%; - position: absolute; - top: 0; - left: 0; - background-size: 100% 100%; + width: 100%; + height: 100%; + position: absolute; + top: 0; + left: 0; + background-size: 100% 100%; } .deleteButton { - margin-right: 0px; - margin-left: 310px; - margin-top: -20px; -} \ No newline at end of file + margin-right: 0px; + margin-left: 310px; + margin-top: -20px; +} diff --git a/frontend/src/app/add-edit-playlist-dialog/add-edit-playlist-dialog.component.ts b/frontend/src/app/add-edit-playlist-dialog/add-edit-playlist-dialog.component.ts index 699184a..559c5f3 100644 --- a/frontend/src/app/add-edit-playlist-dialog/add-edit-playlist-dialog.component.ts +++ b/frontend/src/app/add-edit-playlist-dialog/add-edit-playlist-dialog.component.ts @@ -5,78 +5,100 @@ import { ReplaceSource } from 'webpack-sources'; import { MatDialog, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; import { AppSettings } from '../appSettings'; import { timingSafeEqual } from 'crypto'; +import { ImagePickerDialogComponent } from '../image-picker-dialog/image-picker-dialog.component'; +import { AppIntegrationService } from '../services/app-integration.service'; @Component({ - selector: 'app-add-edit-playlist-dialog', - templateUrl: './add-edit-playlist-dialog.component.html', - styleUrls: ['./add-edit-playlist-dialog.component.scss'] + selector: 'app-add-edit-playlist-dialog', + templateUrl: './add-edit-playlist-dialog.component.html', + styleUrls: ['./add-edit-playlist-dialog.component.scss'], }) @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class AddEditPlaylistDialogComponent implements OnInit { + constructor( + private appInt: AppIntegrationService, + public dialogRef: MatDialogRef, + @Inject(MAT_DIALOG_DATA) public data, + private dialog: MatDialog + ) { + var fixedUri = encodeURIComponent(data.playlist.PlaylistID); + fixedUri = fixedUri.replace('(', '%28').replace(')', '%29'); + this.currentCover = AppSettings.API_ENDPOINT + '/host/beatsaber/playlist/cover?playlistid=' + fixedUri; + } + getCover() { + return 'url(' + this.currentCover + ')'; + } + onQuest() { + return this.appInt.isAppLoaded(); + } + currentCover; + makeAutoID(input: string) { + if (input == null || !input.replace(' ', '').length) { + return 'Playlist ID'; + } + var ret = input + .replace(/[^a-z0-9]/gim, '') + .replace(/\s+/g, '') + .replace(' ', ''); + return 'Playlist ID (' + ret + ')' + new Date().getTime(); + } - constructor( public dialogRef: MatDialogRef, @Inject(MAT_DIALOG_DATA) public data) { - this.currentCover = AppSettings.API_ENDPOINT +'/host/beatsaber/playlist/cover?playlistid=' + data.playlist.PlaylistID; - } - getCover() { - return 'url('+this.currentCover+')'; - } - - currentCover; - makeAutoID(input : string) { - if (input == null || !input.replace(' ', '').length) - { - return "Playlist ID"; + loadCover(files) { + if (files.length == 0) { + console.log('No file selected!'); + return; + } + let file: File = files[0]; + var reader = new FileReader(); + reader.onload = ev => { + this.currentCover = reader.result; + this.data.playlist.CoverImageBytes = this.currentCover.substring(this.currentCover.indexOf(';base64,') + 8); + }; + reader.readAsDataURL(file); } - var ret= input.replace(/[^a-z0-9]/gmi, "").replace(/\s+/g, "").replace(' ',''); - return "Playlist ID ("+ret+")"; - } - loadCover(files) { + clickSave() { + if (this.data.playlist.PlaylistName.replace(' ', '').length < 1) { + //todo: show error why no save + return; + } + if (!this.data.playlist.PlaylistID || this.data.playlist.PlaylistID.replace(' ', '').length < 1) { + if (this.data.isNew) { + this.data.playlist.PlaylistID = + this.data.playlist.PlaylistName.replace(/[^a-z0-9]/gim, '') + .replace(/\s+/g, '') + .replace(' ', '') + new Date().getTime(); + this.data.playlist.SongList = []; + } else { + //how? + return; + } + } + this.dialogRef.close(this.data); + } - if (files.length == 0) { - console.log("No file selected!"); - return + clickCancel() { + this.data = null; + this.dialogRef.close(); } - let file: File = files[0]; - var reader = new FileReader(); - reader.onload = (ev) => { - this.currentCover = reader.result; - this.data.playlist.CoverImageBytes = this.currentCover.substring(this.currentCover.indexOf(";base64,")+8); - }; - reader.readAsDataURL(file); - } - clickSave() { - if (this.data.playlist.PlaylistName.replace(' ','').length < 1) - { - //todo: show error why no save - return; + clickDelete() { + this.dialogRef.close({ playlist: this.data.playlist, deletePlaylist: true }); } - if (!this.data.playlist.PlaylistID || this.data.playlist.PlaylistID.replace(' ','').length < 1) - { - if (this.data.isNew) { - this.data.playlist.PlaylistID = this.data.playlist.PlaylistName.replace(/[^a-z0-9]/gmi, "").replace(/\s+/g, "").replace(' ',''); - this.data.playlist.SongList = []; - } else { - //how? - return; - } + questClick() { + const dr = this.dialog.open(ImagePickerDialogComponent, { + width: '500px', + height: '500px', + disableClose: true, + }); + dr.afterClosed().subscribe(res => { + if (res) { + this.currentCover = res; + this.data.playlist.CoverImageBytes = this.currentCover.substring(this.currentCover.indexOf(';base64,') + 8); + } + }); } - this.dialogRef.close(this.data); - } - - clickCancel() { - this.data = null; - this.dialogRef.close(); - } - - clickDelete() { - - this.dialogRef.close({ playlist: this.data.playlist, deletePlaylist: true}); - } - - ngOnInit() { - } + ngOnInit() {} } diff --git a/frontend/src/app/app-routing.module.ts b/frontend/src/app/app-routing.module.ts index 35d7db6..87b1341 100644 --- a/frontend/src/app/app-routing.module.ts +++ b/frontend/src/app/app-routing.module.ts @@ -10,27 +10,31 @@ import { MainBrowserComponent } from './main-browser/main-browser.component'; import { ToolsComponent } from './tools/tools.component'; import { RemoteUploadComponent } from './remote-upload/remote-upload.component'; import { CreditsComponent } from './credits/credits.component'; +import { MainModsComponent } from './main-mods/main-mods.component'; +import { SyncSaberComponent } from './sync-saber/sync-saber.component'; const routes: Routes = [ - { path: 'setup', component: SetupComponent }, - { path: 'setupstep1', component: SetupStep1Component }, - { path: 'setupstep2', component: SetupStep2Component }, - { path: 'setupstep3', component: SetupStep3Component }, - { - path: 'main', - component: MainComponent, - children: [ - {path: 'playlists', component: MainPlaylistsComponent}, - {path: 'browser', component: MainBrowserComponent}, - {path: 'tools', component: ToolsComponent}, - {path: 'upload', component: RemoteUploadComponent}, - {path: 'credits', component: CreditsComponent} - ] - } + { path: 'setup', component: SetupComponent }, + { path: 'setupstep1', component: SetupStep1Component }, + { path: 'setupstep2', component: SetupStep2Component }, + { path: 'setupstep3', component: SetupStep3Component }, + { + path: 'main', + component: MainComponent, + children: [ + { path: 'playlists', component: MainPlaylistsComponent }, + { path: 'browser', component: MainBrowserComponent }, + { path: 'tools', component: ToolsComponent }, + { path: 'upload', component: RemoteUploadComponent }, + { path: 'credits', component: CreditsComponent }, + { path: 'sync-saber', component: SyncSaberComponent }, + { path: 'mods', component: MainModsComponent }, + ], + }, ]; @NgModule({ - imports: [RouterModule.forRoot(routes)], - exports: [RouterModule] + imports: [RouterModule.forRoot(routes)], + exports: [RouterModule], }) -export class AppRoutingModule { } +export class AppRoutingModule {} diff --git a/frontend/src/app/app.component.html b/frontend/src/app/app.component.html index 1d85013..d040aec 100644 --- a/frontend/src/app/app.component.html +++ b/frontend/src/app/app.component.html @@ -1,36 +1,38 @@ -
- - - - + + - - - - - - - - - - - - -
closewifi
-
- - + + + + + + + + + -
-

Checking mod installation status...

-
-

Depending on how many songs are loaded, Beat On may take 5-120 seconds to load...

-
-
- -
+ + +
+ +
+ +
+

Checking mod installation status...

+
+ +
+

+ Loading configuration... depending on how many songs are loaded, Beat On may take 5-90 seconds to load... +

+
+
diff --git a/frontend/src/app/app.component.scss b/frontend/src/app/app.component.scss index e11bcd4..ec7f896 100644 --- a/frontend/src/app/app.component.scss +++ b/frontend/src/app/app.component.scss @@ -1,20 +1,51 @@ .app-content { - display: block; - height: 100%; - } + display: block; + height: 100%; +} + .goodCon { color: green; } + .badCon { color: red; } + .orangeCon { - color: orange + color: orange; } + .toolbar { min-height: 50px; height: 50px; + display: block !important; +} + +.sync-spot { + width: 155px; + height: 39px; } + +.sync-placeholder { + margin-top: 6px; +} + +.undo-spot { + margin-top: 6px; + color: #ff5722; + margin-left: 6px; + margin-right: 6px; +} + +.top-button { + margin-top: 6px; + margin-right: 1.5em; +} + +.sync-button { + margin-top: 7px; +} + .logo { background: url("../assets/logo.png") no-repeat center; background-size: contain; @@ -22,19 +53,21 @@ background-position: 50% 50%; height: 50px; width: 150px; - } + .nowifi { position: absolute; top: -2px; left: -2px; color: red; - font-size:32px; + font-size: 32px; //text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black; } + .credits li { margin-bottom: 15px; } + .connectionStatus { margin-top: 9px; position: relative; @@ -43,50 +76,143 @@ height: 32px; cursor: pointer; } + .wifi { position: absolute; top: 2px; left: 2px; - font-size:32; -} - .warning { - background-color: #004A7F; - -webkit-border-radius: 10px; - border-radius: 10px; - border: none; - color: #FFFFFF; - cursor: pointer; - display: inline-block; - font-family: Arial; - font-size: 14px; - padding: 5px 10px; - text-align: center; - text-decoration: none; - -webkit-animation: glowing 1500ms infinite; - -moz-animation: glowing 1500ms infinite; - -o-animation: glowing 1500ms infinite; - animation: glowing 1500ms infinite; + font-size: 32; +} + +.nosync { + -webkit-border-radius: 10px; + border-radius: 10px; + border: none; + color: #ffffff; + cursor: pointer; + display: inline-block; + font-family: Arial; + font-size: 14px; + padding: 5px 10px; + text-align: center; + text-decoration: none; + background-color: darkgoldenrod; + height: 26px; + width: 140.63px; +} + +.right { + float: right; +} + +.warning { + height: 35px; + background-color: #004a7f; + -webkit-border-radius: 4px; + border-radius: 4px; + border: none; + color: #ffffff; + cursor: pointer; + display: inline-block; + font-family: Arial; + font-size: 14px; + padding: 5px 10px; + text-align: center; + text-decoration: none; + -webkit-animation: glowing 1500ms infinite; + -moz-animation: glowing 1500ms infinite; + -o-animation: glowing 1500ms infinite; + animation: glowing 1500ms infinite; +} + +@-webkit-keyframes glowing { + 0% { + background-color: #b20000; + -webkit-box-shadow: 0 0 3px #b20000; + } + 50% { + background-color: #ff0000; + -webkit-box-shadow: 0 0 40px #ff0000; } - @-webkit-keyframes glowing { - 0% { background-color: #B20000; -webkit-box-shadow: 0 0 3px #B20000; } - 50% { background-color: #FF0000; -webkit-box-shadow: 0 0 40px #FF0000; } - 100% { background-color: #B20000; -webkit-box-shadow: 0 0 3px #B20000; } + 100% { + background-color: #b20000; + -webkit-box-shadow: 0 0 3px #b20000; } - - @-moz-keyframes glowing { - 0% { background-color: #B20000; -moz-box-shadow: 0 0 3px #B20000; } - 50% { background-color: #FF0000; -moz-box-shadow: 0 0 40px #FF0000; } - 100% { background-color: #B20000; -moz-box-shadow: 0 0 3px #B20000; } +} + +@-moz-keyframes glowing { + 0% { + background-color: #b20000; + -moz-box-shadow: 0 0 3px #b20000; } - - @-o-keyframes glowing { - 0% { background-color: #B20000; box-shadow: 0 0 3px #B20000; } - 50% { background-color: #FF0000; box-shadow: 0 0 40px #FF0000; } - 100% { background-color: #B20000; box-shadow: 0 0 3px #B20000; } + 50% { + background-color: #ff0000; + -moz-box-shadow: 0 0 40px #ff0000; } - - @keyframes glowing { - 0% { background-color: #B20000; box-shadow: 0 0 3px #B20000; } - 50% { background-color: #FF0000; box-shadow: 0 0 40px #FF0000; } - 100% { background-color: #B20000; box-shadow: 0 0 3px #B20000; } - } \ No newline at end of file + 100% { + background-color: #b20000; + -moz-box-shadow: 0 0 3px #b20000; + } +} + +@-o-keyframes glowing { + 0% { + background-color: #b20000; + box-shadow: 0 0 3px #b20000; + } + 50% { + background-color: #ff0000; + box-shadow: 0 0 40px #ff0000; + } + 100% { + background-color: #b20000; + box-shadow: 0 0 3px #b20000; + } +} + +@keyframes glowing { + 0% { + background-color: #b20000; + box-shadow: 0 0 3px #b20000; + } + 50% { + background-color: #ff0000; + box-shadow: 0 0 40px #ff0000; + } + 100% { + background-color: #b20000; + box-shadow: 0 0 3px #b20000; + } +} + +.happy { + height: 35px; + background-color: #004a7f; + -webkit-border-radius: 4px; + border-radius: 4px; + border: none; + color: #ffffff; + cursor: pointer; + display: inline-block; + font-family: Arial; + font-size: 14px; + padding: 5px 10px; + text-align: center; + text-decoration: none; + animation: glowing-happy 3500ms infinite; +} + +@keyframes glowing-happy { + 0% { + background-color: #20599d; + box-shadow: 0 0 10px #20599d; + } + 50% { + background-color: #216bad; + box-shadow: 0 0 20px #216bad; + } + 100% { + background-color: #20599d; + box-shadow: 0 0 10px #20599d; + } +} diff --git a/frontend/src/app/app.component.ts b/frontend/src/app/app.component.ts index 0c6166c..6a23f3f 100644 --- a/frontend/src/app/app.component.ts +++ b/frontend/src/app/app.component.ts @@ -1,225 +1,243 @@ import { Component, OnInit, ɵMethodFn } from '@angular/core'; import { BeatOnApiService } from './services/beat-on-api.service'; -import {Router, NavigationStart, RouterEvent} from '@angular/router'; -import {trigger, animate, style, group, query, transition, state} from '@angular/animations'; +import { Router, NavigationStart, RouterEvent } from '@angular/router'; +import { trigger, animate, style, group, query, transition, state } from '@angular/animations'; import { ToastrService } from 'ngx-toastr'; import { HostMessageService, ConnectionStatus } from './services/host-message.service'; import { HostShowToast, ToastType } from './models/HostShowToast'; import { HostSetupEvent, SetupEventType } from './models/HostSetupEvent'; import { ConfigService } from './services/config.service'; import { BeatOnConfig } from './models/BeatOnConfig'; -import { ProgressSpinnerDialogComponent } from "./progress-spinner-dialog/progress-spinner-dialog.component"; +import { ProgressSpinnerDialogComponent } from './progress-spinner-dialog/progress-spinner-dialog.component'; import { MatDialog, MatDialogRef } from '@angular/material'; import { HostOpStatus, OpStatus } from './models/HostOpStatus'; import { ToolbarEventsService } from './services/toolbar-events.service'; import { AppIntegrationService } from './services/app-integration.service'; +import { QuestomConfig } from './models/QuestomConfig'; +import { HostDownloadStatus, HostDownloadStatusType } from './models/HostDownloadStatus'; @Component({ - selector: 'app-root', - animations: [ - trigger('fade', [ - - transition(':enter', [style({ opacity: 0 }), animate('0.2s', style({ opacity: 1}))]), - transition(':leave', [style({ opacity: 1 }), animate('0.2s', style({ opacity: 0 }))]), - state('*', style({ opacity: 1 })) - ]) - ], - templateUrl: './app.component.html', - styleUrls: ['./app.component.scss'], - host: { - class:'fullheight' - } + selector: 'app-root', + animations: [ + trigger('fade', [ + transition(':enter', [style({ opacity: 0 }), animate('0.2s', style({ opacity: 1 }))]), + transition(':leave', [style({ opacity: 1 }), animate('0.2s', style({ opacity: 0 }))]), + state('*', style({ opacity: 1 })), + ]), + ], + templateUrl: './app.component.html', + styleUrls: ['./app.component.scss'], + host: { + class: 'fullheight', + }, }) - - export class AppComponent implements OnInit { - constructor(private beatOnApi: BeatOnApiService, - private router: Router, - private msgSvc: HostMessageService, - private toastr: ToastrService, - private cfgSvc : ConfigService, - private dialog : MatDialog, - private toolbarEvents : ToolbarEventsService, - private appIntegration : AppIntegrationService - ) { - this.msgSvc.opStatusMessage.subscribe((ev : HostOpStatus) => { - this.opInProgress = (ev.Ops.findIndex(x => x.Status != OpStatus.Failed) > -1); - - - }); - this.router.events.subscribe((ev) => { - if (ev instanceof NavigationStart) { - //TODO: prevent routing based on mod status? - } - - }); - this.msgSvc.toastMessage.subscribe((ev) => this.showToast(ev)); - this.cfgSvc.configUpdated.subscribe((cfg : BeatOnConfig) => - { - this.config = cfg; - }); - this.msgSvc.connectionStatusChanged.subscribe(stat => { - this.connectionStatus = stat; - }); + constructor( + private beatOnApi: BeatOnApiService, + public router: Router, + private msgSvc: HostMessageService, + private toastr: ToastrService, + private cfgSvc: ConfigService, + private dialog: MatDialog, + private toolbarEvents: ToolbarEventsService, + private appIntegration: AppIntegrationService + ) { + this.appIntegrated = appIntegration.isAppLoaded(); + this.msgSvc.opStatusMessage.subscribe((ev: HostOpStatus) => { + this.opInProgress = ev.Ops.findIndex(x => x.Status != OpStatus.Failed) > -1; + }); + this.msgSvc.downloadStatusMessage.subscribe((ev: HostDownloadStatus) => { + this.dlInProgress = + ev.Downloads.findIndex( + x => x.Status != HostDownloadStatusType.Failed && x.Status != HostDownloadStatusType.Processed + ) > -1; + }); + this.router.events.subscribe(ev => { + if (ev instanceof NavigationStart) { + //TODO: prevent routing based on mod status? + } + }); + this.msgSvc.toastMessage.subscribe(ev => this.showToast(ev)); + this.cfgSvc.configUpdated.subscribe((cfg: BeatOnConfig) => { + this.config = cfg; + }); + this.msgSvc.connectionStatusChanged.subscribe(stat => { + this.connectionStatus = stat; + }); - this.router.events.subscribe((routeEvent : RouterEvent) => { - if (routeEvent instanceof NavigationStart) - { - this.showBackButton = (routeEvent.url == '/main/browser'); - this.showRefreshButton = (routeEvent.url == '/main/browser'); - this.showBrowser = (routeEvent.url == '/main/browser'); - if (routeEvent.url == '/') { - this.modStatusLoaded = false; - this.checkModStatus(); - } + this.router.events.subscribe((routeEvent: RouterEvent) => { + if (routeEvent instanceof NavigationStart) { + this.showBackButton = routeEvent.url == '/main/browser'; + this.showRefreshButton = routeEvent.url == '/main/browser'; + this.showBrowser = routeEvent.url == '/main/browser'; + if (routeEvent.url == '/') { + this.modStatusLoaded = false; + this.checkModStatus(); + } + } + }); + this.msgSvc.setupMessage.subscribe((msg: HostSetupEvent) => { + switch (msg.SetupEvent) { + case SetupEventType.Step1Complete: + this.router.navigateByUrl('/setupstep2'); + break; + case SetupEventType.Step2Complete: + this.router.navigateByUrl('/setupstep3'); + break; + case SetupEventType.Step3Complete: + this.router.navigateByUrl('/'); + break; + } + }); + } + appIntegrated: boolean = false; + opInProgress: boolean = false; + dlInProgress: boolean = false; + modStatusLoaded: boolean = false; + title: string = 'Beat On'; + showRefreshButton: boolean = false; + showBackButton: boolean = false; + showBrowser: boolean = false; + resultJson = ''; + modStatus = { CurrentStatus: '' }; + config: BeatOnConfig = { IsCommitted: true, Config: null, SyncConfig: null }; + ngOnInit() { + this.checkModStatus(); + } + showWait() { + return !this.modStatusLoaded || this.router.url == '/' || this.config.Config == null; + } + commitConfig() { + const dialogRef = this.dialog.open(ProgressSpinnerDialogComponent, { + width: '450px', + height: '350px', + disableClose: true, + data: { mainText: 'Updating config... Do not exit Beat On yet!' }, + }); + this.beatOnApi.commitConfig().subscribe( + (data: any) => { + dialogRef.close(); + }, + err => { + dialogRef.close(); + } + ); + } + clickStartBeatSaber() { + this.beatOnApi.startBeatSaber().subscribe(() => {}); + } + private showToast(toastMsg: HostShowToast) { + if (this.appIntegration.isBrowserShown) { + console.log('redirecting toast to host since browser is visible'); + this.appIntegration.showToast(toastMsg.Title, toastMsg.Message, toastMsg.ToastType, toastMsg.Timeout); + return; + } else { + console.log('browser is not shown, doing toast on web'); } - } ); - this.msgSvc.setupMessage.subscribe((msg : HostSetupEvent) => - { - switch (msg.SetupEvent) - { - case SetupEventType.Step1Complete: - this.router.navigateByUrl("/setupstep2"); - break; - case SetupEventType.Step2Complete: - this.router.navigateByUrl('/setupstep3'); - break; - case SetupEventType.Step3Complete: - this.router.navigateByUrl('/'); - break; - } - }) - } - - opInProgress: boolean; - modStatusLoaded: boolean = false; - title : string = 'Beat On'; - showRefreshButton : boolean = false; - showBackButton : boolean = false; - showBrowser : boolean = false; - resultJson = ''; - modStatus = { CurrentStatus: '' }; - config : BeatOnConfig = { IsCommitted: true, - Config: null}; - ngOnInit() { - - this.checkModStatus(); - } - - commitConfig(){ - const dialogRef = this.dialog.open(ProgressSpinnerDialogComponent, { - width: '450px', - height: '350px', - disableClose: true, - data: {mainText:"Updating config... Do not exit Beat On yet!"} - }); - this.beatOnApi.commitConfig() - .subscribe((data: any) => { - dialogRef.close(); - }, (err) => - { - dialogRef.close(); - }); + switch (toastMsg.ToastType) { + case ToastType.Error: + this.toastr.error(toastMsg.Message, toastMsg.Title, { timeOut: toastMsg.Timeout }); + break; + case ToastType.Info: + this.toastr.info(toastMsg.Message, toastMsg.Title, { timeOut: toastMsg.Timeout }); + break; + case ToastType.Success: + this.toastr.success(toastMsg.Message, toastMsg.Title, { timeOut: toastMsg.Timeout }); + break; + case ToastType.Warning: + this.toastr.warning(toastMsg.Message, toastMsg.Title, { timeOut: toastMsg.Timeout }); + break; + } + } -} - private showToast(toastMsg : HostShowToast) { - if (this.appIntegration.isBrowserShown) { - console.log("redirecting toast to host since browser is visible"); - this.appIntegration.showToast(toastMsg.Title, toastMsg.Message, toastMsg.ToastType, toastMsg.Timeout); - return; - } else { - console.log("browser is not shown, doing toast on web"); - } - switch (toastMsg.ToastType) - { - case ToastType.Error: - this.toastr.error(toastMsg.Message, toastMsg.Title, { timeOut: toastMsg.Timeout }); - break; - case ToastType.Info: - this.toastr.info(toastMsg.Message, toastMsg.Title, { timeOut: toastMsg.Timeout }); - break; - case ToastType.Success: - this.toastr.success(toastMsg.Message, toastMsg.Title, { timeOut: toastMsg.Timeout }); - break; - case ToastType.Warning: - this.toastr.warning(toastMsg.Message, toastMsg.Title, { timeOut: toastMsg.Timeout }); - break; - } - } + connectionStatus: ConnectionStatus = ConnectionStatus.Disconnected; - connectionStatus : ConnectionStatus = ConnectionStatus.Disconnected; + getConnStatusColor() { + if (this.connectionStatus == ConnectionStatus.Connected) return 'green'; + else if (this.connectionStatus == ConnectionStatus.Connecting) return 'orange'; + else return 'gray'; + } - getConnStatusColor() { - if (this.connectionStatus == ConnectionStatus.Connected) - return "green"; - else if (this.connectionStatus == ConnectionStatus.Connecting) - return "orange"; - else - return "gray"; - } - - getConnStatusIcon() { - return (this.connectionStatus == ConnectionStatus.Connected || this.connectionStatus == ConnectionStatus.Connecting); - - } + getConnStatusIcon() { + return this.connectionStatus == ConnectionStatus.Connected || this.connectionStatus == ConnectionStatus.Connecting; + } + resetConfig() { + const dialogRef = this.dialog.open(ProgressSpinnerDialogComponent, { + width: '450px', + height: '350px', + disableClose: true, + data: { mainText: 'Resetting changes...' }, + }); + this.beatOnApi.revertConfig().subscribe( + () => { + dialogRef.close(); + }, + err => { + dialogRef.close(); + console.log('Failed to revert config!'); + } + ); + } - reconnect() { - this.msgSvc.reconnect(); - } + reconnect() { + this.msgSvc.reconnect(); + } - checkModStatus() : void - { - //TEST FOR NO BACK END - // this.modStatus = { CurrentStatus: 'ModInstalled'}; - // this.modStatusLoaded = true; - // this.router.navigateByUrl('/main/playlists'); - // return; - this.beatOnApi.getModStatus() - .subscribe((data: any) => { - this.modStatusLoaded = true; - this.modStatus = data; - if (this.modStatus.CurrentStatus == 'ModInstallNotStarted') { - this.router.navigateByUrl('/setup'); - } - else if (this.modStatus.CurrentStatus == 'ReadyForModApply') { - this.router.navigateByUrl('/setupstep2'); - } - else if (this.modStatus.CurrentStatus == 'ReadyForInstall') { - this.router.navigateByUrl('/setupstep3'); - } - else if (this.modStatus.CurrentStatus == 'ModInstalled') { - this.cfgSvc.getConfig().subscribe((cfg) => - { - this.config = cfg; - this.router.navigateByUrl('/main/browser'); + checkModStatus(): void { + this.beatOnApi.getModStatus().subscribe((data: any) => { + this.modStatusLoaded = true; + this.modStatus = data; + if (this.modStatus.CurrentStatus == 'ModInstallNotStarted') { + this.router.navigateByUrl('/setup'); + } else if (this.modStatus.CurrentStatus == 'ReadyForModApply') { + this.router.navigateByUrl('/setupstep2'); + } else if (this.modStatus.CurrentStatus == 'ReadyForInstall') { + this.router.navigateByUrl('/setupstep3'); + } else if (this.modStatus.CurrentStatus == 'ModInstalled') { + this.cfgSvc.getConfig().subscribe(cfg => { + this.config = cfg; + if ( + this.router.url == '/' || + this.router.url.indexOf('setup') > -1 || + this.router.url == '/main' || + this.router.url == '' + ) { + if (this.appIntegration.isAppLoaded()) this.router.navigateByUrl('/main/browser'); + else this.router.navigateByUrl('/main/upload'); + } + }); + } }); - - } - }); - } + } - public onClickModStatus() { - - } - public onClickInstallModStep1() { - this.beatOnApi.installModStep1() - .subscribe((data: any) => { this.modStatusLoaded = true; this.modStatus = data; this.resultJson = JSON.stringify(data);}); - } - public onClickInstallModStep2() { - this.beatOnApi.installModStep2() - .subscribe((data: any) => { this.modStatus = data; this.resultJson = JSON.stringify(data);}); - } + disableSync() { + return this.opInProgress || this.dlInProgress; + } - clickBack() { - this.toolbarEvents.triggerBackClicked(); - } + public onClickModStatus() {} + public onClickInstallModStep1() { + this.beatOnApi.installModStep1().subscribe((data: any) => { + this.modStatusLoaded = true; + this.modStatus = data; + this.resultJson = JSON.stringify(data); + }); + } + public onClickInstallModStep2() { + this.beatOnApi.installModStep2().subscribe((data: any) => { + this.modStatus = data; + this.resultJson = JSON.stringify(data); + }); + } - clickRefresh() { - this.toolbarEvents.triggerRefreshClicked(); - } + clickBack() { + this.toolbarEvents.triggerBackClicked(); + } + + clickRefresh() { + this.toolbarEvents.triggerRefreshClicked(); + } - linkSelected(ev) { - this.toolbarEvents.triggerNavigate(ev); - } - + linkSelected(ev) { + this.toolbarEvents.triggerNavigate(ev); + } } diff --git a/frontend/src/app/app.module.ts b/frontend/src/app/app.module.ts index 01ebdea..841ed3c 100644 --- a/frontend/src/app/app.module.ts +++ b/frontend/src/app/app.module.ts @@ -4,7 +4,24 @@ import { MatFormFieldModule } from '@angular/material/form-field'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; -import { MatTooltipModule, MatButtonToggleModule, MatChipsModule, MatProgressBarModule, MatMenuModule, MatGridListModule, MatButtonModule, MatCardModule, MatIconModule, MatToolbarModule, MatDialogModule, MatProgressSpinnerModule} from '@angular/material'; +import { + MatCheckboxModule, + MatTooltipModule, + MatSlideToggleModule, + MatButtonToggleModule, + MatChipsModule, + MatProgressBarModule, + MatMenuModule, + MatGridListModule, + MatButtonModule, + MatCardModule, + MatIconModule, + MatToolbarModule, + MatDialogModule, + MatProgressSpinnerModule, + MatListModule, +} from '@angular/material'; + import { HttpClientModule } from '@angular/common/http'; import { SetupComponent } from './setup/setup.component'; import { SetupStep1Component } from './setup-step1/setup-step1.component'; @@ -16,7 +33,7 @@ import { MainComponent } from './main/main.component'; import { MainPlaylistsComponent } from './main-playlists/main-playlists.component'; import { MainBrowserComponent } from './main-browser/main-browser.component'; import { MatTabsModule } from '@angular/material/tabs'; -import { SafePipe } from './pipes/safe-pipes' +import { SafePipe } from './pipes/safe-pipes'; import { FlexLayoutModule } from '@angular/flex-layout'; import { ToastrModule } from 'ngx-toastr'; import { ReactiveFormsModule } from '@angular/forms'; @@ -27,7 +44,7 @@ import { ToolsComponent } from './tools/tools.component'; import { RemoteUploadComponent } from './remote-upload/remote-upload.component'; import { DownloadIndicatorComponent } from './download-indicator/download-indicator.component'; import { ScrollDispatchModule } from '@angular/cdk/scrolling'; -import { DragDropDirective } from "./drag-drop.directive"; +import { DragDropDirective } from './drag-drop.directive'; import { DragDropModule } from '@angular/cdk/drag-drop'; import { AddEditPlaylistDialogComponent } from './add-edit-playlist-dialog/add-edit-playlist-dialog.component'; import { FormsModule } from '@angular/forms'; @@ -37,66 +54,102 @@ import { CreditsComponent } from './credits/credits.component'; import { BrowserNavComponent } from './browser-nav/browser-nav.component'; import { FastClickDirective } from './directives/fast-click.directive'; import { ConfirmDialogComponent } from './confirm-dialog/confirm-dialog.component'; - +import { SongPackManagerComponent } from './song-pack-manager/song-pack-manager.component'; +import { MainModsComponent } from './main-mods/main-mods.component'; +import { LazyLoadImageModule } from 'ng-lazyload-image'; +import { NgxSmartModalModule, NgxSmartModalService } from 'ngx-smart-modal'; +import { NoCustomSongsPipe } from './pipes/no-custom-songs'; +import { OnlyCustomSongsPipe } from './pipes/only-custom-songs'; +import { ImagePickerDialogComponent } from './image-picker-dialog/image-picker-dialog.component'; +import { CdkVirtualScrollViewportPatchDirective } from './cdk-virtual-scroll-viewport-patch.directive'; +import { ColorPickerModule } from 'ngx-color-picker'; +import { SyncSaberComponent } from './sync-saber/sync-saber.component'; +import { SyncSaberMaxSongsComponent } from './sync-saber-max-songs/sync-saber-max-songs.component'; +import { InputBoxComponent } from './input-box/input-box.component'; +import { CookieService } from 'ngx-cookie-service'; @NgModule({ - declarations: [ - AppComponent, - SetupComponent, - SetupStep1Component, - ProgressSpinnerDialogComponent, - SetupStep2Component, - SetupStep3Component, - MainComponent, - MainPlaylistsComponent, - MainBrowserComponent, - SafePipe, - PlaylistSliderComponent, - PlaylistSongsComponent, - ToolsComponent, - RemoteUploadComponent, - DownloadIndicatorComponent, - DragDropDirective, - AddEditPlaylistDialogComponent, - OpIndicatorComponent, - CreditsComponent, - BrowserNavComponent, - FastClickDirective, - ConfirmDialogComponent - ], - entryComponents: [ProgressSpinnerDialogComponent, AddEditPlaylistDialogComponent, ConfirmDialogComponent], - imports: [ - ToastrModule.forRoot({ - positionClass: 'toast-bottom-right', - preventDuplicates: true, - }), - BrowserModule, - AppRoutingModule, - BrowserAnimationsModule, - MatButtonModule, - MatCardModule, - MatIconModule, - MatToolbarModule, - MatDialogModule, - MatProgressSpinnerModule, - HttpClientModule, - ScrollingModule, - MatTabsModule, - FlexLayoutModule, - MatGridListModule, - NguCarouselModule, - ReactiveFormsModule, - MatMenuModule, - MatProgressBarModule, - MatChipsModule, - ScrollDispatchModule, - MatButtonToggleModule, - DragDropModule, - MatFormFieldModule, - FormsModule, - MatInputModule, - MatTooltipModule - ], - providers:[ ], - bootstrap: [AppComponent] + declarations: [ + AppComponent, + SetupComponent, + SetupStep1Component, + ProgressSpinnerDialogComponent, + SetupStep2Component, + SetupStep3Component, + MainComponent, + MainPlaylistsComponent, + MainBrowserComponent, + SafePipe, + NoCustomSongsPipe, + OnlyCustomSongsPipe, + PlaylistSliderComponent, + PlaylistSongsComponent, + ToolsComponent, + RemoteUploadComponent, + DownloadIndicatorComponent, + DragDropDirective, + AddEditPlaylistDialogComponent, + OpIndicatorComponent, + CreditsComponent, + BrowserNavComponent, + FastClickDirective, + ConfirmDialogComponent, + SongPackManagerComponent, + MainModsComponent, + ImagePickerDialogComponent, + CdkVirtualScrollViewportPatchDirective, + SyncSaberComponent, + SyncSaberMaxSongsComponent, + InputBoxComponent, + ], + entryComponents: [ + ProgressSpinnerDialogComponent, + AddEditPlaylistDialogComponent, + ConfirmDialogComponent, + ImagePickerDialogComponent, + InputBoxComponent, + ], + imports: [ + ToastrModule.forRoot({ + positionClass: 'toast-bottom-right', + preventDuplicates: true, + }), + BrowserModule, + AppRoutingModule, + BrowserAnimationsModule, + MatButtonModule, + MatCardModule, + MatIconModule, + MatToolbarModule, + MatDialogModule, + MatProgressSpinnerModule, + HttpClientModule, + ScrollingModule, + MatTabsModule, + FlexLayoutModule, + MatGridListModule, + NguCarouselModule, + ReactiveFormsModule, + MatMenuModule, + MatProgressBarModule, + MatCheckboxModule, + MatChipsModule, + ScrollDispatchModule, + MatButtonToggleModule, + DragDropModule, + MatFormFieldModule, + FormsModule, + MatInputModule, + MatTooltipModule, + MatSlideToggleModule, + MatListModule, + LazyLoadImageModule, + MatListModule, + FlexLayoutModule, + NgxSmartModalModule, + MatGridListModule, + ColorPickerModule, + ], + providers: [NgxSmartModalService, CookieService], + bootstrap: [AppComponent], }) -export class AppModule { } +export class AppModule {} diff --git a/frontend/src/app/appSettings.ts b/frontend/src/app/appSettings.ts index 2250ad1..e725633 100644 --- a/frontend/src/app/appSettings.ts +++ b/frontend/src/app/appSettings.ts @@ -1,19 +1,18 @@ import { environment } from '../environments/environment'; export class AppSettings { - /* For debugging the front end (i.e. running it from the dev machine using ng serve) + /* For debugging the front end (i.e. running it from the dev machine using ng serve) set the DEV_API_ENDPOINT to the root address of your quest's IP on your network */ - private static DEV_API_ENDPOINT='http://localhost:51000'; - /* set this value to override what the server returns as the websocket address. Useful if using + private static DEV_API_ENDPOINT = 'http://localhost:51000'; + /* set this value to override what the server returns as the websocket address. Useful if using an emulator and forward the ports through ADB */ - private static DEV_WS_ENDPOINT='ws://localhost:51001'; + private static DEV_WS_ENDPOINT = 'ws://localhost:51001'; - public static API_ENDPOINT= environment.production?'':AppSettings.DEV_API_ENDPOINT; + public static API_ENDPOINT = environment.production ? '' : AppSettings.DEV_API_ENDPOINT; - public static WS_ENDPOINT_OVERRIDE = environment.production?null:AppSettings.DEV_WS_ENDPOINT; + public static WS_ENDPOINT_OVERRIDE = environment.production ? null : AppSettings.DEV_WS_ENDPOINT; - - // public static API_ENDPOINT= 'http://localhost:50000'; + // public static API_ENDPOINT= 'http://localhost:50000'; - // public static WS_ENDPOINT_OVERRIDE = null; -} \ No newline at end of file + //public static WS_ENDPOINT_OVERRIDE = null; +} diff --git a/frontend/src/app/browser-nav/browser-nav.component.html b/frontend/src/app/browser-nav/browser-nav.component.html index 8d29cfd..bbad169 100644 --- a/frontend/src/app/browser-nav/browser-nav.component.html +++ b/frontend/src/app/browser-nav/browser-nav.component.html @@ -7,8 +7,11 @@
+ -
+ +
diff --git a/frontend/src/app/browser-nav/browser-nav.component.scss b/frontend/src/app/browser-nav/browser-nav.component.scss index d695071..25f2462 100644 --- a/frontend/src/app/browser-nav/browser-nav.component.scss +++ b/frontend/src/app/browser-nav/browser-nav.component.scss @@ -1,6 +1,5 @@ .linkbutton { - max-height: 35px; - height: 35px; - display: inline-block; + max-height: 35px; + height: 35px; + display: inline-block; } - diff --git a/frontend/src/app/browser-nav/browser-nav.component.ts b/frontend/src/app/browser-nav/browser-nav.component.ts index 5aa1487..cf1db07 100644 --- a/frontend/src/app/browser-nav/browser-nav.component.ts +++ b/frontend/src/app/browser-nav/browser-nav.component.ts @@ -1,26 +1,42 @@ import { Component, OnInit, Output, EventEmitter } from '@angular/core'; +import { MatDialog } from '@angular/material'; +import { InputBoxComponent } from '../input-box/input-box.component'; @Component({ - selector: 'app-browser-nav', - templateUrl: './browser-nav.component.html', - styleUrls: ['./browser-nav.component.scss'] + selector: 'app-browser-nav', + templateUrl: './browser-nav.component.html', + styleUrls: ['./browser-nav.component.scss'], }) export class BrowserNavComponent implements OnInit { + constructor(private dialog: MatDialog) {} + browserLinks: any[] = [ + { title: 'Beast Saber', url: 'https://bsaber.com' }, + { title: 'Beat Saver', url: 'https://beatsaver.com' }, + { title: 'Google', url: 'https://google.com' }, + { title: 'Mods', url: 'https://github.com/RedBrumbler/BeatOnCustomSabers' }, + ]; - constructor() { } - browserLinks :any[] = [ - { title: "Beast Saber", url: "https://bsaber.com"}, - { title: "Beat Saver", url: "https://beatsaver.com"}, - { title: "Google", url: "https://google.com"} - ] - - @Output() linkSelected = new EventEmitter(); - - clickLink(link) { - this.linkSelected.emit(link.url); - } - - ngOnInit() { - } + @Output() linkSelected = new EventEmitter(); + clickLink(link) { + this.linkSelected.emit(link.url); + } + clickUrl() { + const dialogRef = this.dialog.open(InputBoxComponent, { + width: '600px', + height: '450px', + disableClose: true, + data: { + label: 'URL', + key: 'browserUrl', + }, + }); + dialogRef.afterClosed().subscribe(res => { + if (res != null) { + if (res.indexOf('://') < 1) res = 'http://' + res; + this.linkSelected.emit(res); + } + }); + } + ngOnInit() {} } diff --git a/frontend/src/app/cdk-virtual-scroll-viewport-patch.directive.ts b/frontend/src/app/cdk-virtual-scroll-viewport-patch.directive.ts new file mode 100644 index 0000000..e932b19 --- /dev/null +++ b/frontend/src/app/cdk-virtual-scroll-viewport-patch.directive.ts @@ -0,0 +1,26 @@ +import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling'; +import { OnInit, OnDestroy, Self, Inject, Directive } from '@angular/core'; +import { Subject, fromEvent } from 'rxjs'; +import { debounceTime, takeUntil } from 'rxjs/operators'; +@Directive({ + selector: 'cdk-virtual-scroll-viewport', +}) +export class CdkVirtualScrollViewportPatchDirective implements OnInit, OnDestroy { + protected readonly destroy$ = new Subject(); + + constructor(@Self() @Inject(CdkVirtualScrollViewport) private readonly viewportComponent: CdkVirtualScrollViewport) {} + + ngOnInit() { + fromEvent(window, 'resize') + .pipe( + debounceTime(10), + takeUntil(this.destroy$) + ) + .subscribe(() => this.viewportComponent.checkViewportSize()); + } + + ngOnDestroy() { + this.destroy$.next(); + this.destroy$.complete(); + } +} diff --git a/frontend/src/app/confirm-dialog/confirm-dialog.component.html b/frontend/src/app/confirm-dialog/confirm-dialog.component.html index a3d43d6..0e586fd 100644 --- a/frontend/src/app/confirm-dialog/confirm-dialog.component.html +++ b/frontend/src/app/confirm-dialog/confirm-dialog.component.html @@ -6,6 +6,6 @@
- +
\ No newline at end of file diff --git a/frontend/src/app/credits/credits.component.html b/frontend/src/app/credits/credits.component.html index d6ffd55..5d98457 100644 --- a/frontend/src/app/credits/credits.component.html +++ b/frontend/src/app/credits/credits.component.html @@ -5,9 +5,11 @@

Credits to BSMG crew in general, and in particular:

  • jakibaki: beat-saber hook (making the really cool stuff possible)
  • Agent42: extraordinary testing and support (if it works at all, thank him)
  • Yuuki: code contributor, code documentarian
  • -
  • shaneharris: advice, especially on the angular and android side of things
  • +
  • shaneharris: code contributor, advice, especially on the angular and android side of things
  • elliotttate: inspiration, support and the awesome logos
  • -
  • lolpants: everything lolpants does. Also, soon to be songe converter for old to new song format conversion
  • +
  • karldeux: code contributor, project wrangler
  • +
  • Zingabopp: Sync Saber Service
  • +
  • lolpants: everything lolpants does.
  • emulamer: did some stuff
  • \ No newline at end of file diff --git a/frontend/src/app/credits/credits.component.scss b/frontend/src/app/credits/credits.component.scss index 496c1b0..09fbcc5 100644 --- a/frontend/src/app/credits/credits.component.scss +++ b/frontend/src/app/credits/credits.component.scss @@ -1,3 +1,3 @@ .credits li { - margin-bottom: 15px; - } \ No newline at end of file + margin-bottom: 15px; +} diff --git a/frontend/src/app/directives/fast-click.directive.ts b/frontend/src/app/directives/fast-click.directive.ts index cac9a8b..d5b4d47 100644 --- a/frontend/src/app/directives/fast-click.directive.ts +++ b/frontend/src/app/directives/fast-click.directive.ts @@ -2,30 +2,28 @@ import { Directive, ElementRef } from '@angular/core'; import { createOfflineCompileUrlResolver } from '@angular/compiler'; @Directive({ - selector: '[fast-click]' + selector: '[fast-click]', }) export class FastClickDirective { - - element : HTMLElement; - wasClicked: boolean = false; - constructor(private elRef: ElementRef) { - this.element = elRef.nativeElement; - this.element.addEventListener('click', this.onClick.bind(this)); - this.element.addEventListener('touchstart', this.onTouchStart.bind(this)); - } - onClick() { - this.wasClicked = true; - } - - onTouchStart(e) { - this.wasClicked = false; - setTimeout(() => { - if (!this.wasClicked) { - - this.element.click(); + element: HTMLElement; + wasClicked: boolean = false; + constructor(private elRef: ElementRef) { + this.element = elRef.nativeElement; + this.element.addEventListener('click', this.onClick.bind(this)); + this.element.addEventListener('touchstart', this.onTouchStart.bind(this)); + } + onClick() { this.wasClicked = true; - } - }, 300); - } + } + onTouchStart(e) { + e.stopPropagation(); + this.wasClicked = false; + setTimeout(() => { + if (!this.wasClicked) { + this.element.click(); + this.wasClicked = true; + } + }, 300); + } } diff --git a/frontend/src/app/download-indicator/download-indicator.component.html b/frontend/src/app/download-indicator/download-indicator.component.html index d2bc60a..db01e8c 100644 --- a/frontend/src/app/download-indicator/download-indicator.component.html +++ b/frontend/src/app/download-indicator/download-indicator.component.html @@ -1,14 +1,14 @@ - - - + diff --git a/frontend/src/app/download-indicator/download-indicator.component.scss b/frontend/src/app/download-indicator/download-indicator.component.scss index 7e089c9..987145f 100644 --- a/frontend/src/app/download-indicator/download-indicator.component.scss +++ b/frontend/src/app/download-indicator/download-indicator.component.scss @@ -1,19 +1,20 @@ -@import '../../theme.scss'; +@import "../../theme.scss"; @include mat-core(); .downloadCount { - display: inline-block; - font-size: 15px; - margin-left: 5px; - margin-top: 3px; + display: inline-block; + font-size: 15px; + margin-left: 5px; + margin-top: 3px; } mat-icon { - font-size: 24px; + font-size: 24px; } + .nodownloads { - font-size: 14px; - padding: 5px; - color: mat-color($my-app-warn); -} \ No newline at end of file + font-size: 14px; + padding: 5px; + color: mat-color($my-app-warn); +} diff --git a/frontend/src/app/download-indicator/download-indicator.component.ts b/frontend/src/app/download-indicator/download-indicator.component.ts index b3c8618..8d2bc48 100644 --- a/frontend/src/app/download-indicator/download-indicator.component.ts +++ b/frontend/src/app/download-indicator/download-indicator.component.ts @@ -1,23 +1,30 @@ import { Component, OnInit } from '@angular/core'; import { HostMessageService } from '../services/host-message.service'; -import { HostDownloadStatus} from '../models/HostDownloadStatus'; +import { HostDownloadStatus } from '../models/HostDownloadStatus'; +import { ClientStopDownloads } from '../models/ClientStopDownloads'; @Component({ - selector: 'app-download-indicator', - templateUrl: './download-indicator.component.html', - styleUrls: ['./download-indicator.component.scss'] + selector: 'app-download-indicator', + templateUrl: './download-indicator.component.html', + styleUrls: ['./download-indicator.component.scss'], }) export class DownloadIndicatorComponent implements OnInit { + constructor(private msgSvc: HostMessageService) {} - constructor(private msgSvc: HostMessageService) { } - - downloads : HostDownloadStatus = { Downloads: []}; - - ngOnInit() { - this.msgSvc.downloadStatusMessage.subscribe((ev : HostDownloadStatus) => { - console.log("got download update status message"); - this.downloads = ev; - }); - } + downloads: HostDownloadStatus = { Downloads: [] }; + ngOnInit() { + this.msgSvc.downloadStatusMessage.subscribe((ev: HostDownloadStatus) => { + console.log('got download update status message'); + this.downloads = ev; + }); + } + getColor() { + if (this.downloads.Downloads && this.downloads.Downloads.length > 0) return 'accent'; + else return ''; + } + cancelAllDownloads() { + const msg = new ClientStopDownloads(); + this.msgSvc.sendClientMessage(msg); + } } diff --git a/frontend/src/app/image-picker-dialog/image-picker-dialog.component.html b/frontend/src/app/image-picker-dialog/image-picker-dialog.component.html new file mode 100644 index 0000000..de0a5f0 --- /dev/null +++ b/frontend/src/app/image-picker-dialog/image-picker-dialog.component.html @@ -0,0 +1,23 @@ + + + + + Pick an Image + + +
    + + + + + + +
    + +
    + + + +
    diff --git a/frontend/src/app/image-picker-dialog/image-picker-dialog.component.scss b/frontend/src/app/image-picker-dialog/image-picker-dialog.component.scss new file mode 100644 index 0000000..ecf0707 --- /dev/null +++ b/frontend/src/app/image-picker-dialog/image-picker-dialog.component.scss @@ -0,0 +1,21 @@ +.coverContainer { + display: inline-block; + width: 100%; + height: 100%; +} + +.cover { + width: 100%; + height: 100%; + position: absolute; + top: 0; + left: 0; + background-size: 100% 100%; +} + +.imgcontainer { + width: 425px; + height: 330px; + overflow-y: scroll; + overflow-x: hidden; +} diff --git a/frontend/src/app/image-picker-dialog/image-picker-dialog.component.spec.ts b/frontend/src/app/image-picker-dialog/image-picker-dialog.component.spec.ts new file mode 100644 index 0000000..341b0a8 --- /dev/null +++ b/frontend/src/app/image-picker-dialog/image-picker-dialog.component.spec.ts @@ -0,0 +1,24 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ImagePickerDialogComponent } from './image-picker-dialog.component'; + +describe('ImagePickerDialogComponent', () => { + let component: ImagePickerDialogComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ImagePickerDialogComponent], + }).compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(ImagePickerDialogComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/frontend/src/app/image-picker-dialog/image-picker-dialog.component.ts b/frontend/src/app/image-picker-dialog/image-picker-dialog.component.ts new file mode 100644 index 0000000..0ca3303 --- /dev/null +++ b/frontend/src/app/image-picker-dialog/image-picker-dialog.component.ts @@ -0,0 +1,37 @@ +import { Component, OnInit, Injectable } from '@angular/core'; +import { BeatOnApiService } from '../services/beat-on-api.service'; +import { MatDialogRef } from '@angular/material'; +import { AppSettings } from '../appSettings'; +@Injectable({ + providedIn: 'root', +}) +@Component({ + selector: 'app-image-picker-dialog', + templateUrl: './image-picker-dialog.component.html', + styleUrls: ['./image-picker-dialog.component.scss'], +}) +export class ImagePickerDialogComponent implements OnInit { + images = []; + constructor(public dialogRef: MatDialogRef, private api: BeatOnApiService) {} + + ngOnInit() { + this.api.getImages().subscribe((imgs: any) => { + this.images = imgs; + }); + } + getImgUrl(image) { + return 'url(' + AppSettings.API_ENDPOINT + '/host/mod/image?filename=' + encodeURIComponent(image) + ')'; + } + pickImage(image) { + this.api.getImageBlob(image).subscribe((imgblob: Blob) => { + var reader = new FileReader(); + reader.onload = ev => { + this.dialogRef.close(reader.result); + }; + reader.readAsDataURL(imgblob); + }); + } + clickCancel() { + this.dialogRef.close(null); + } +} diff --git a/frontend/src/app/input-box/input-box.component.html b/frontend/src/app/input-box/input-box.component.html new file mode 100644 index 0000000..7879e46 --- /dev/null +++ b/frontend/src/app/input-box/input-box.component.html @@ -0,0 +1,19 @@ + + + {{data.title}} + {{data.subTitle}} + + + + + + + + + + + +
    + +
    +
    \ No newline at end of file diff --git a/frontend/src/app/input-box/input-box.component.scss b/frontend/src/app/input-box/input-box.component.scss new file mode 100644 index 0000000..29a20f0 --- /dev/null +++ b/frontend/src/app/input-box/input-box.component.scss @@ -0,0 +1,4 @@ +.histButton { + width: 100%; + height: 100%; +} diff --git a/frontend/src/app/input-box/input-box.component.spec.ts b/frontend/src/app/input-box/input-box.component.spec.ts new file mode 100644 index 0000000..f6168aa --- /dev/null +++ b/frontend/src/app/input-box/input-box.component.spec.ts @@ -0,0 +1,24 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { InputBoxComponent } from './input-box.component'; + +describe('InputBoxComponent', () => { + let component: InputBoxComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [InputBoxComponent], + }).compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(InputBoxComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/frontend/src/app/input-box/input-box.component.ts b/frontend/src/app/input-box/input-box.component.ts new file mode 100644 index 0000000..0c3ad85 --- /dev/null +++ b/frontend/src/app/input-box/input-box.component.ts @@ -0,0 +1,81 @@ +import { Component, OnInit, Injectable, Inject } from '@angular/core'; +import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material'; +import { CookieService } from 'ngx-cookie-service'; +import { AppIntegrationService } from '../services/app-integration.service'; + +@Component({ + selector: 'app-input-box', + templateUrl: './input-box.component.html', + styleUrls: ['./input-box.component.scss'], +}) +@Injectable({ + providedIn: 'root', +}) +export class InputBoxComponent implements OnInit { + constructor( + public dialogRef: MatDialogRef, + @Inject(MAT_DIALOG_DATA) public data, + private cookies: CookieService, + private appIntegration: AppIntegrationService + ) { + if (data.key) { + var cookieHist = cookies.get('inputhistory_' + data.key); + if (cookieHist) { + this.historyItems = JSON.parse(cookieHist); + } else { + this.historyItems = []; + } + } + } + historyItems: string[] = []; + inputText: string; + wasBrowserHidden: boolean = false; + ngOnInit() { + this.wasBrowserHidden = false; + if (this.appIntegration.isBrowserShown) { + this.wasBrowserHidden = true; + this.appIntegration.hideBrowser(); + } + } + + historyClick(item) { + this.inputText = item; + this.clickButton1(); + } + clickButton1() { + if (!this.inputText) { + return; + } + if (this.data.key && this.inputText) { + if (!this.historyItems) { + this.historyItems = []; + } + var idx = this.historyItems.indexOf(this.inputText); + if (idx >= 0) { + this.historyItems.splice(idx, 1); + } + this.historyItems.unshift(this.inputText); + while (this.historyItems.length > 5) { + this.historyItems.pop(); + } + this.cookies.set('inputhistory_' + this.data.key, JSON.stringify(this.historyItems)); + } + if (this.wasBrowserHidden) { + this.wasBrowserHidden = false; + this.appIntegration.showBrowser(); + } + this.dialogRef.close(this.inputText); + } + clickCancel() { + if (this.wasBrowserHidden) { + this.wasBrowserHidden = false; + this.appIntegration.showBrowser(); + } + this.dialogRef.close(null); + } + keyDownFunction(ev) { + if (ev.keyCode == 13) { + this.clickButton1(); + } + } +} diff --git a/frontend/src/app/main-browser/main-browser.component.scss b/frontend/src/app/main-browser/main-browser.component.scss index c755425..32642d7 100644 --- a/frontend/src/app/main-browser/main-browser.component.scss +++ b/frontend/src/app/main-browser/main-browser.component.scss @@ -1 +1,6 @@ -iframe {display: block; width: 100%; height: 100%; border: none;} \ No newline at end of file +iframe { + display: block; + width: 100%; + height: 100%; + border: none; +} diff --git a/frontend/src/app/main-mods/main-mods.component.html b/frontend/src/app/main-mods/main-mods.component.html new file mode 100644 index 0000000..32023ef --- /dev/null +++ b/frontend/src/app/main-mods/main-mods.component.html @@ -0,0 +1,71 @@ +
    + + +
    + cloud_upload +
    + Mod Management + Manage all mods available for the quest here. Install, uninstall, and configure mods.. +
    + + Left Color + + + Right Color + +
    +
    + +
    +
    +
    +
    No Mods!
    +
    + + + +
    +
    delete_forever
    +

    {{ mod.Name }} {{ mod.Version }}

    +

    by {{ mod.Author }}, ported by: {{ mod.Porter }}

    +
    {{ mod.Description }}
    + + + + +
    +
    +
    + +
    + +
    + + +
    +
    diff --git a/frontend/src/app/main-mods/main-mods.component.scss b/frontend/src/app/main-mods/main-mods.component.scss new file mode 100644 index 0000000..bed7805 --- /dev/null +++ b/frontend/src/app/main-mods/main-mods.component.scss @@ -0,0 +1,203 @@ +.viewport { + // width: 600px; + height: 49px; + overflow-y: auto; + margin-left: 300px; +} + +.modContainer { + height: 115px !important; + h1, + h3 { + margin-left: 95px; + } + .mat-line { + margin-left: 95px !important; + } +} + +.modCategory { + position: absolute; + left: 0px; + top: 0px; + width: 95px; + height: 115px; + background-size: cover; + background-repeat: no-repeat; + border-radius: 5px 0 0 5px; +} + +.builtinMods { + float: right; + top: 103px; +} + +.colorName { + text-shadow: -1.5px 0 2px black, 0 1.5px 2px black, 1.5px 0 2px black, 0 -1.5px 2px black; +} + +.container { + height: 330px; + overflow-y: scroll; + overflow-x: hidden; +} + +.description { + margin-top: 5px; + font-style: italic; + margin-left: 5px; + text-align: justify; + white-space: pre-line !important; +} + +.deleteMod { + float: right; + position: absolute; + top: 3px; + right: 3px; + color: orangered; +} + +.modUrl a { + color: white; +} + +.header { + margin-top: 20px; +} + +.version { + font-size: 14px; + color: darkgray; + margin-left: 5px; +} + +.content { + font-style: italic; + margin-left: 15px; + margin-right: 15px; + text-align: justify; +} + +.modUrl { + float: left; + margin-top: 5px; + margin-bottom: 0px; +} + +.footer { + margin-top: 20px !important; +} + +.modId { + color: darkgray; + font-size: 8px; + height: 10px; + position: absolute; + left: 5px; + top: 5px; +} + +.enabledtext { + font-size: 14px; + float: right; + margin-top: 4px; + color: darkgray; + &.active { + font-weight: bold; + } +} + +.selected { + background-color: #828282 !important; + color: white; +} + +mat-list-item { + cursor: pointer; + position: relative; + left: 0; + background-color: #404040; + margin: 0.5em; + padding: 0.3em 0 0.9em; + height: 1.6em; + border-radius: 4px; + &:hover { + background-color: #474747; + left: 0.1em; + } + &.selected:hover { + background-color: #636363 !important; + color: white; + } +} + +.toggleContainer { + display: block; + float: right; + width: 65px; + margin-right: 6px; +} + +.toggle, +.toggleSpinner { + display: inline-block; +} + +.toggleSpinner { + margin-bottom: -3px; + margin-left: 5px; + width: 20px; + height: 20px; +} + +.description { + font-size: 12px; + white-space: pre-wrap; +} + +.modal.left .modal-dialog, +.modal.right .modal-dialog { + position: fixed; + margin: auto; + width: 700px; + height: 100%; + -webkit-transform: translate3d(0%, 0, 0); + -ms-transform: translate3d(0%, 0, 0); + -o-transform: translate3d(0%, 0, 0); + transform: translate3d(0%, 0, 0); +} + +.modal.left .modal-content, +.modal.right .modal-content { + height: 100%; + overflow-y: auto; +} + +.modal.left .modal-body, +.modal.right .modal-body { + padding: 15px 15px 80px; +} + +.modal.right.fade .modal-dialog { + right: -320px; + -webkit-transition: opacity 0.3s linear, right 0.3s ease-out; + -moz-transition: opacity 0.3s linear, right 0.3s ease-out; + -o-transition: opacity 0.3s linear, right 0.3s ease-out; + transition: opacity 0.3s linear, right 0.3s ease-out; +} + +.modal.right.fade.in .modal-dialog { + right: 0; +} + +/* ----- MODAL STYLE ----- */ +.modal-content { + border-radius: 0; + border: none; +} + +.modal-header { + border-bottom-color: #eeeeee; + background-color: #fafafa; +} diff --git a/frontend/src/app/main-mods/main-mods.component.spec.ts b/frontend/src/app/main-mods/main-mods.component.spec.ts new file mode 100644 index 0000000..bf83c5f --- /dev/null +++ b/frontend/src/app/main-mods/main-mods.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { MainModsComponent } from './main-mods.component'; + +describe('MainModsComponent', () => { + let component: MainModsComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ MainModsComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(MainModsComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/frontend/src/app/main-mods/main-mods.component.ts b/frontend/src/app/main-mods/main-mods.component.ts new file mode 100644 index 0000000..a570dcc --- /dev/null +++ b/frontend/src/app/main-mods/main-mods.component.ts @@ -0,0 +1,225 @@ +import { AfterViewInit, Component, OnInit } from '@angular/core'; +import { ConfigService } from '../services/config.service'; +import { BeatOnApiService } from '../services/beat-on-api.service'; +import { HostMessageService } from '../services/host-message.service'; +import { QuestomConfig } from '../models/QuestomConfig'; +import { BeatOnConfig } from '../models/BeatOnConfig'; +import { ModCategory, ModDefinition, ModStatusType } from '../models/ModDefinition'; +import { ClientSetModStatus } from '../models/ClientSetModStatus'; +import { MatSlideToggleChange, MatDialog } from '@angular/material'; +import { HostActionResponse } from '../models/HostActionResponse'; +import { ECANCELED } from 'constants'; +import { NgxSmartModalService } from 'ngx-smart-modal'; +import { ConfirmDialogComponent } from '../confirm-dialog/confirm-dialog.component'; +import { ClientDeleteMod } from '../models/ClientDeleteMod'; +import { AppSettings } from '../appSettings'; +import { BeatSaberColor } from '../models/BeatSaberColor'; +import { ClientChangeColor, ColorType } from '../models/ClientChangeColor'; + +@Component({ + selector: 'app-main-mods', + templateUrl: './main-mods.component.html', + styleUrls: ['./main-mods.component.scss'], +}) +export class MainModsComponent implements OnInit, AfterViewInit { + config: QuestomConfig = { Mods: [] }; + modSwitchInProgress: boolean = false; + modIDBeingSwitched: string = null; + selectedMod: ModDefinition; + constructor( + private configSvc: ConfigService, + private beatOnApi: BeatOnApiService, + private msgSvc: HostMessageService, + public ngxSmartModalService: NgxSmartModalService, + private dialog: MatDialog + ) { + this.configSvc.configUpdated.subscribe((cfg: BeatOnConfig) => { + this.config = cfg.Config; + }); + } + + get leftColor() { + if (this.config && this.config.LeftColor) { + return ( + 'rgba(' + + this.config.LeftColor.R + + ', ' + + this.config.LeftColor.G + + ', ' + + this.config.LeftColor.B + + ', ' + + this.config.LeftColor.A + + ')' + ); + } + return 'rgba(0,0,0,0)'; + } + set leftColor(val) {} + leftColorSelected(color) { + console.log(color); + color = color.substr(4, color.length - 5); + var colors = color.split(','); + var msg = new ClientChangeColor(); + msg.Color = { + R: parseInt(colors[0]), + G: parseInt(colors[1]), + B: parseInt(colors[2]), + A: colors.length > 3 ? Math.ceil(parseFloat(colors[3]) * 255) : 255, + }; + msg.ColorType = ColorType.LeftColor; + this.msgSvc.sendClientMessage(msg); + } + get rightColor() { + if (this.config && this.config.RightColor) { + return ( + 'rgba(' + + this.config.RightColor.R + + ', ' + + this.config.RightColor.G + + ', ' + + this.config.RightColor.B + + ', ' + + this.config.RightColor.A + + ')' + ); + } + return 'rgba(0,0,0,0)'; + } + set rightColor(val) {} + rightColorSelected(color) { + console.log(color); + color = color.substr(4, color.length - 5); + var colors = color.split(','); + var msg = new ClientChangeColor(); + msg.Color = { + R: parseInt(colors[0]), + G: parseInt(colors[1]), + B: parseInt(colors[2]), + A: colors.length > 3 ? Math.ceil(parseFloat(colors[3]) * 255) : 255, + }; + msg.ColorType = ColorType.RightColor; + this.msgSvc.sendClientMessage(msg); + } + ngOnInit() { + let isInit = false; + this.configSvc.getConfig().subscribe((cfg: BeatOnConfig) => { + this.config = cfg.Config; + /* + if (!isInit) { + isInit = true; + this.selectedMod = cfg.Config.Mods[0]; + const obj: Object = { + Name: this.selectedMod.Name, + Author: this.selectedMod.Author, + Description: this.selectedMod.Description, + InfoUrl: this.selectedMod.InfoUrl, + }; + this.ngxSmartModalService.setModalData(obj, 'myModal'); + } + var saberMod = new ModDefinition(); + saberMod.TargetBeatSaberVersion = '1.0.0'; + saberMod.ID = '1'; + saberMod.Author = 'Yuuki'; + saberMod.Name = 'Custom Sabers'; + saberMod.InfoUrl = 'http://www.google.com'; + saberMod.Description = + 'Change the color of your sabers! Choose between a wide spectrum of colors and jam with your favorite mix!'; + saberMod.Category = ModCategory.Saber; + this.config.Mods.push(saberMod); + var randomSongSelect = new ModDefinition(); + randomSongSelect.TargetBeatSaberVersion = '1.0.0'; + randomSongSelect.ID = '2'; + randomSongSelect.Author = 'Yuuki'; + randomSongSelect.Name = 'Random Song Selection'; + randomSongSelect.InfoUrl = 'http://www.google.com'; + randomSongSelect.Description = + "Tired of deciding what song to play? This mod gives you the ability to randomly select a song from your long list of maps you'll probably never get to."; + randomSongSelect.Category = ModCategory.Gameplay; + this.config.Mods.push(randomSongSelect);*/ + }); + } + + getModBG(mod: ModDefinition) { + if (!mod.CoverImageFilename) { + if (mod.Category == ModCategory.Saber) { + return 'url(../../assets/saber.png)'; + } else if (mod.Category == ModCategory.Note) { + return 'url(../../assets/note.png)'; + } else if (mod.Category == ModCategory.Gameplay) { + return 'url(../../assets/gameplay.png)'; + } else if (mod.Category == ModCategory.Library) { + return 'url(../../assets/library.png)'; + } else { + return 'url(../../assets/other.png)'; + } + } else { + let fixedUri = encodeURIComponent(mod.ID); + fixedUri = fixedUri.replace('(', '%28').replace(')', '%29'); + return 'url(' + AppSettings.API_ENDPOINT + '/host/beatsaber/mod/cover?modid=' + fixedUri + ')'; + } + } + + toggleMod(ev: MatSlideToggleChange, mod: ModDefinition) { + this.modIDBeingSwitched = mod.ID; + this.modSwitchInProgress = true; + let msg = new ClientSetModStatus(); + msg.ModID = mod.ID; + msg.Status = ev.checked ? ModStatusType.Installed : ModStatusType.NotInstalled; + let sub; + sub = this.msgSvc.actionResponseMessage.subscribe((ev: HostActionResponse) => { + if (ev.ResponseToMessageID == msg.MessageID) { + this.modIDBeingSwitched = null; + this.modSwitchInProgress = false; + sub.unsubscribe(); + if (!ev.Success) { + //todo: show error + console.log('mod id ' + msg.ModID + ' did not switch properly'); + } + } + }); + this.msgSvc.sendClientMessage(msg); + } + getModSwitch(mod) { + if (mod == null) return false; + return !( + (mod.Status != 'Installed' && mod.ID != this.modIDBeingSwitched) || + (mod.Status == 'Installed' && mod.ID == this.modIDBeingSwitched) + ); + } + + onSelect(mod: ModDefinition): void { + console.log(mod); + this.selectedMod = mod; + } + clickDeleteMod(mod) { + var dialogRef = this.dialog.open(ConfirmDialogComponent, { + width: '450px', + height: '180px', + disableClose: true, + data: { title: 'Delete ' + mod.Name + '?', subTitle: 'Are you sure you want to delete this mod?', button1Text: 'Yes' }, + }); + dialogRef.afterClosed().subscribe(res => { + if (res == 1) { + this.modSwitchInProgress = true; + var msg = new ClientDeleteMod(); + msg.ModID = mod.ID; + var sub; + sub = this.msgSvc.actionResponseMessage.subscribe((ev: HostActionResponse) => { + if (ev.ResponseToMessageID == msg.MessageID) { + console.log('Got response message in mods for mod ID ' + msg.ModID); + this.modIDBeingSwitched = null; + this.modSwitchInProgress = false; + sub.unsubscribe(); + if (!ev.Success) { + //todo: show error + console.log('mod id ' + msg.ModID + ' could not delete!'); + } + } + }); + console.log('Sending message to delete mod id ' + mod.ID); + this.msgSvc.sendClientMessage(msg); + } + }); + } + ngAfterViewInit() {} +} diff --git a/frontend/src/app/main-playlists/main-playlists.component.html b/frontend/src/app/main-playlists/main-playlists.component.html index 5589038..cf6d292 100644 --- a/frontend/src/app/main-playlists/main-playlists.component.html +++ b/frontend/src/app/main-playlists/main-playlists.component.html @@ -2,9 +2,19 @@ listinfo bottom content --> -
    -
    - -
    - -
    \ No newline at end of file + + + + + + + + + + diff --git a/frontend/src/app/main-playlists/main-playlists.component.scss b/frontend/src/app/main-playlists/main-playlists.component.scss index 5f41ca4..d8a27c4 100644 --- a/frontend/src/app/main-playlists/main-playlists.component.scss +++ b/frontend/src/app/main-playlists/main-playlists.component.scss @@ -1,5 +1,5 @@ .container { - display: flex; - width: 100%; - height: 93%; -} \ No newline at end of file + display: flex; + width: 100%; + height: 93%; +} diff --git a/frontend/src/app/main-playlists/main-playlists.component.ts b/frontend/src/app/main-playlists/main-playlists.component.ts index e92a2da..6c35b96 100644 --- a/frontend/src/app/main-playlists/main-playlists.component.ts +++ b/frontend/src/app/main-playlists/main-playlists.component.ts @@ -1,32 +1,95 @@ -import { Component, OnInit } from '@angular/core'; +import { Component, OnInit, ViewChild } from '@angular/core'; import { BeatOnApiService } from '../services/beat-on-api.service'; import { QuestomConfig } from '../models/QuestomConfig'; import { BeatOnConfig } from '../models/BeatOnConfig'; import { BeatSaberPlaylist } from '../models/BeatSaberPlaylist'; import { ConfigService } from '../services/config.service'; +import { PlaylistTempConfig } from '../models/PlaylistTempConfig'; +import { ClientAddOrUpdatePlaylist } from '../models/ClientAddOrUpdatePlaylist'; +import { HostMessageService } from '../services/host-message.service'; @Component({ - selector: 'app-main-playlists', - templateUrl: './main-playlists.component.html', - styleUrls: ['./main-playlists.component.scss'], - host: { - class:'fullheight' - } + selector: 'app-main-playlists', + templateUrl: './main-playlists.component.html', + styleUrls: ['./main-playlists.component.scss'], + host: { + class: 'fullheight', + }, }) export class MainPlaylistsComponent implements OnInit { - config : QuestomConfig; - selectedPlaylist: BeatSaberPlaylist ={}; + @ViewChild('songManager', { static: false }) songManager; + config: QuestomConfig; + selectedPlaylist: BeatSaberPlaylist = {}; + customPlaylist: BeatSaberPlaylist; + hasLastConfig: boolean; + constructor(private beatOnApi: BeatOnApiService, private configSvc: ConfigService, private msgSvc: HostMessageService) {} - constructor(private beatOnApi : BeatOnApiService, private configSvc : ConfigService) { } - - selectedPlaylistChanged(ev) { - this.selectedPlaylist = ev; - } + ngOnInit() { + this.configSvc.getConfig().subscribe(this.handleConfig.bind(this)); + this.configSvc.configUpdated.subscribe(this.handleConfig.bind(this)); + } + selectedPlaylistChanged(ev) { + this.selectedPlaylist = ev; + } - ngOnInit() { - this.configSvc.getConfig().subscribe((cfg : BeatOnConfig) => { this.config = cfg.Config; }); - this.configSvc.configUpdated.subscribe((cfg : BeatOnConfig)=> { this.config = cfg.Config; }); - } + saveTempConfig() { + this.hasLastConfig = !!this.config; + let playlistTempConfig: PlaylistTempConfig[] = []; + if (this.config && this.config.Playlists) { + playlistTempConfig = this.config.Playlists.map(p => ({ PlaylistID: p.PlaylistID, IsOpen: p.IsOpen })); + } + return playlistTempConfig; + } + restoreTempConfig(playlistTempConfig: PlaylistTempConfig[]) { + if (this.config && this.config.Playlists) { + this.config.Playlists.forEach(p => { + const isOpen = playlistTempConfig.filter(_p => _p.PlaylistID == p.PlaylistID); + if (isOpen.length) { + p.IsOpen = isOpen[0].IsOpen; + } + }); + playlistTempConfig = this.config.Playlists.map(p => ({ PlaylistID: p.PlaylistID, IsOpen: p.IsOpen })); + } + } + + handleConfig(cfg: BeatOnConfig) { + const tempConfig = this.saveTempConfig(); + this.config = cfg.Config; + this.restoreTempConfig(tempConfig); + this.setupPlaylists(); + } + + setupPlaylists() { + // if (this.config.Playlists.findIndex(x => x.PlaylistID == 'CustomSongs') < 0) { + // console.log('making pl'); + // const pl: BeatSaberPlaylist = { SongList: [] }; + // pl.PlaylistID = 'CustomSongs'; + // pl.PlaylistName = 'Custom Songs'; + // const plMsg = new ClientAddOrUpdatePlaylist(); + // plMsg.Playlist = pl; + // this.msgSvc.sendClientMessage(plMsg); + // } + if (this.songManager && this.songManager.selectedPlaylist) { + this.config.Playlists.forEach(p => { + if (p.PlaylistID === this.songManager.selectedPlaylist.PlaylistID) { + this.songManager.selectedPlaylist = p; + } + }); + } + + const customIndex = this.config.Playlists.map(p => p.PlaylistID).indexOf('CustomSongs'); + if (customIndex > -1) { + this.customPlaylist = this.config.Playlists[customIndex]; + } else { + this.customPlaylist = { + CoverArtFilename: null, + PlaylistID: '', + PlaylistName: '', + SongList: [], + CoverImageBytes: null, + }; + } + } } diff --git a/frontend/src/app/main/main.component.html b/frontend/src/app/main/main.component.html index 80fac98..94c09d8 100644 --- a/frontend/src/app/main/main.component.html +++ b/frontend/src/app/main/main.component.html @@ -1,4 +1,4 @@ - +
    -
    - +
    +
    diff --git a/frontend/src/app/main/main.component.scss b/frontend/src/app/main/main.component.scss index bd3bc89..4ce2ccd 100644 --- a/frontend/src/app/main/main.component.scss +++ b/frontend/src/app/main/main.component.scss @@ -1,7 +1,8 @@ app-main { - height: 100%; + height: 100%; } + .tabNav { - min-height: 48px; - height: 48px; -} \ No newline at end of file + min-height: 48px; + height: 48px; +} diff --git a/frontend/src/app/main/main.component.ts b/frontend/src/app/main/main.component.ts index 7f4459b..ae07f2f 100644 --- a/frontend/src/app/main/main.component.ts +++ b/frontend/src/app/main/main.component.ts @@ -1,78 +1,88 @@ import { Component, OnInit, ElementRef, ViewChild } from '@angular/core'; -import { ProgressSpinnerDialogComponent } from "../progress-spinner-dialog/progress-spinner-dialog.component"; +import { ProgressSpinnerDialogComponent } from '../progress-spinner-dialog/progress-spinner-dialog.component'; import { MatDialog, MatDialogRef } from '@angular/material'; -import {BeatOnApiService} from '../services/beat-on-api.service'; -import {Router, NavigationStart} from '@angular/router'; +import { BeatOnApiService } from '../services/beat-on-api.service'; +import { Router, NavigationStart } from '@angular/router'; import { routerTransition } from './router.animations'; import { QuestomConfig } from '../models/QuestomConfig'; import { ConfigService } from '../services/config.service'; @Component({ - selector: 'app-main', - animations: [routerTransition], - templateUrl: './main.component.html', - styleUrls: ['./main.component.scss'], - host: { - class:'fullheight' - } + selector: 'app-main', + animations: [routerTransition], + templateUrl: './main.component.html', + styleUrls: ['./main.component.scss'], + host: { + class: 'fullheight', + }, }) export class MainComponent implements OnInit { - constructor(private beatOnApi: BeatOnApiService, private dialog : MatDialog, - private router : Router, - private configSvc : ConfigService) { } - activeLinkIndex = -1; - navLinks = [ ]; + constructor( + private beatOnApi: BeatOnApiService, + private dialog: MatDialog, + private router: Router, + private configSvc: ConfigService + ) {} + activeLinkIndex = -1; + navLinks = []; - testHtml : string = ""; -tabMouseDown(link) { - this.activeLinkIndex = link.index; -} -clickStuff() -{ - //how to suppress others? -} - ngOnInit() { - this.configSvc.refreshConfig(); - let onQuest : boolean = ( window).isQuestHosted(); - if (!onQuest) { - console.log("Not hosted on the quest in Beat On, showing upload rather than browser."); - } else { - console.log("Hosted in Beat On on the quest, showing browser rather than upload."); - } - this.navLinks.push({ - label: 'Playlists', - path: './playlists', - index: 0 - }); - if (onQuest) - { - this.navLinks.push({ - label: 'Browser', - path: './browser', - index: 1 - }); + testHtml: string = ''; + tabMouseDown(link) { + this.activeLinkIndex = link.index; } - else - { - this.navLinks.push({ - label: 'Upload', - path: './upload', - index: 1 - }); + clickStuff() { + //how to suppress others? } - this.navLinks.push({ - label: 'Tools', - path: './tools', - index: 2 - }); - this.navLinks.push({ - label: 'Credits', - path: './credits', - index: 2 - }); - } + ngOnInit() { + this.configSvc.refreshConfig(); + let onQuest: boolean = (window).isQuestHosted(); + if (!onQuest) { + console.log('Not hosted on the quest in Beat On, showing upload rather than browser.'); + } else { + console.log('Hosted in Beat On on the quest, showing browser rather than upload.'); + } + this.navLinks.push({ + label: 'Playlists', + path: './playlists', + index: 0, + }); + if (onQuest) { + this.navLinks.push({ + label: 'Browser', + path: './browser', + index: 1, + }); + } else { + this.navLinks.push({ + label: 'Upload', + path: './upload', + index: 1, + }); + } - getState(outlet) { - return outlet.activatedRoute.snapshot.routeConfig.path - } + this.navLinks.push({ + label: 'SyncSaber', + path: './sync-saber', + index: 1, + }); + this.navLinks.push({ + label: 'Mods', + path: './mods', + index: 3, + }); + this.navLinks.push({ + label: 'Tools', + path: './tools', + index: 2, + }); + this.navLinks.push({ + label: 'Credits', + path: './credits', + index: 2, + }); + } + + getState(outlet) { + return outlet.activatedRoute.snapshot.routeConfig.path; + } } diff --git a/frontend/src/app/models/AppButtonEvent.ts b/frontend/src/app/models/AppButtonEvent.ts new file mode 100644 index 0000000..0214708 --- /dev/null +++ b/frontend/src/app/models/AppButtonEvent.ts @@ -0,0 +1,13 @@ +export class AppButtonEvent { + button: AppButtonType; + x: number; + y: number; +} + +export enum AppButtonType { + Up = 'Up', + Down = 'Down', + Left = 'Left', + Right = 'Right', + Center = 'Center', +} diff --git a/frontend/src/app/models/BeatOnConfig.ts b/frontend/src/app/models/BeatOnConfig.ts index d2888d2..a497c8b 100644 --- a/frontend/src/app/models/BeatOnConfig.ts +++ b/frontend/src/app/models/BeatOnConfig.ts @@ -1,7 +1,8 @@ import { QuestomConfig } from './QuestomConfig'; +import { SyncSaberConfig } from './SyncSaberConfig'; -export interface BeatOnConfig -{ - Config : QuestomConfig; - IsCommitted : boolean; -} \ No newline at end of file +export interface BeatOnConfig { + Config: QuestomConfig; + IsCommitted: boolean; + SyncConfig: SyncSaberConfig; +} diff --git a/frontend/src/app/models/BeatSaberPlaylist.ts b/frontend/src/app/models/BeatSaberPlaylist.ts index 98a4ee2..cc38d91 100644 --- a/frontend/src/app/models/BeatSaberPlaylist.ts +++ b/frontend/src/app/models/BeatSaberPlaylist.ts @@ -7,8 +7,10 @@ export interface BeatSaberPlaylist PlaylistID : string; PlaylistName : string; - + SongList : BeatSaberSong[]; CoverImageBytes : string; -} \ No newline at end of file + + IsOpen? : boolean; +} diff --git a/frontend/src/app/models/BeatSaberSong.ts b/frontend/src/app/models/BeatSaberSong.ts index 9b8b678..a497d8c 100644 --- a/frontend/src/app/models/BeatSaberSong.ts +++ b/frontend/src/app/models/BeatSaberSong.ts @@ -1,5 +1,5 @@ export interface BeatSaberSong -{ +{ SongID : string; SongName : string; @@ -7,10 +7,12 @@ export interface BeatSaberSong CoverArtFilename : string; SongSubName : string; - + SongAuthorName : string; - + LevelAuthorName : string; CustomSongPath : string; -} \ No newline at end of file + + Selected? : boolean; +} diff --git a/frontend/src/app/models/ClientAddOrUpdatePlaylist.ts b/frontend/src/app/models/ClientAddOrUpdatePlaylist.ts index 51d1b72..e0f9bd6 100644 --- a/frontend/src/app/models/ClientAddOrUpdatePlaylist.ts +++ b/frontend/src/app/models/ClientAddOrUpdatePlaylist.ts @@ -3,6 +3,9 @@ import { MessageBase, MessageType } from './MessageBase'; export class ClientAddOrUpdatePlaylist extends MessageBase { + constructor() { + super(); + } readonly Type : MessageType = MessageType.AddOrUpdatePlaylist; Playlist : BeatSaberPlaylist; diff --git a/frontend/src/app/models/ClientAutoCreatePlaylists.ts b/frontend/src/app/models/ClientAutoCreatePlaylists.ts index 9b95b66..cb39a36 100644 --- a/frontend/src/app/models/ClientAutoCreatePlaylists.ts +++ b/frontend/src/app/models/ClientAutoCreatePlaylists.ts @@ -1,9 +1,12 @@ -import { MessageBase, MessageType } from "./MessageBase"; +import { MessageBase, MessageType } from './MessageBase'; import { PlaylistSortMode } from './PlaylistSortMode'; -export class ClientAutoCreatePlaylists extends MessageBase -{ - readonly Type : MessageType = MessageType.AutoCreatePlaylists; - SortMode : PlaylistSortMode; - MaxPerNamePlaylist : number; -} \ No newline at end of file +export class ClientAutoCreatePlaylists extends MessageBase { + constructor() { + super(); + } + readonly Type: MessageType = MessageType.AutoCreatePlaylists; + SortMode: PlaylistSortMode; + MaxPerNamePlaylist: number; + RemoveEmptyPlaylists: boolean = true; +} diff --git a/frontend/src/app/models/ClientChangeColor.ts b/frontend/src/app/models/ClientChangeColor.ts new file mode 100644 index 0000000..f088c9e --- /dev/null +++ b/frontend/src/app/models/ClientChangeColor.ts @@ -0,0 +1,16 @@ +import { MessageBase, MessageType } from './MessageBase'; +import { BeatSaberColor } from './BeatSaberColor'; + +export class ClientChangeColor extends MessageBase { + constructor() { + super(); + } + readonly Type: MessageType = MessageType.ChangeColor; + Color: BeatSaberColor; + + ColorType: ColorType; +} +export enum ColorType { + LeftColor = 'LeftColor', + RightColor = 'RightColor', +} diff --git a/frontend/src/app/models/ClientDeleteMod.ts b/frontend/src/app/models/ClientDeleteMod.ts new file mode 100644 index 0000000..15c3646 --- /dev/null +++ b/frontend/src/app/models/ClientDeleteMod.ts @@ -0,0 +1,9 @@ +import { MessageBase, MessageType } from './MessageBase'; + +export class ClientDeleteMod extends MessageBase { + constructor() { + super(); + } + readonly Type: MessageType = MessageType.DeleteMod; + ModID: string; +} diff --git a/frontend/src/app/models/ClientDeletePlaylist.ts b/frontend/src/app/models/ClientDeletePlaylist.ts index 142e4a8..dc23f5a 100644 --- a/frontend/src/app/models/ClientDeletePlaylist.ts +++ b/frontend/src/app/models/ClientDeletePlaylist.ts @@ -2,6 +2,9 @@ import { MessageBase, MessageType } from './MessageBase'; export class ClientDeletePlaylist extends MessageBase { + constructor() { + super(); + } readonly Type : MessageType = MessageType.DeletePlaylist; PlaylistID : string; } diff --git a/frontend/src/app/models/ClientDeleteSong.cs.ts b/frontend/src/app/models/ClientDeleteSong.cs.ts index 9629a98..fd896df 100644 --- a/frontend/src/app/models/ClientDeleteSong.cs.ts +++ b/frontend/src/app/models/ClientDeleteSong.cs.ts @@ -2,6 +2,9 @@ import { MessageBase, MessageType } from './MessageBase'; export class ClientDeleteSong extends MessageBase { + constructor() { + super(); + } readonly Type : MessageType = MessageType.DeleteSong; SongID : string; } \ No newline at end of file diff --git a/frontend/src/app/models/ClientGetOps.ts b/frontend/src/app/models/ClientGetOps.ts index e41040b..7f4fcbb 100644 --- a/frontend/src/app/models/ClientGetOps.ts +++ b/frontend/src/app/models/ClientGetOps.ts @@ -2,6 +2,9 @@ import { MessageBase, MessageType } from './MessageBase'; export class ClientGetOps extends MessageBase { + constructor() { + super(); + } readonly Type : MessageType = MessageType.GetOps; ClearFailedOps : boolean; } \ No newline at end of file diff --git a/frontend/src/app/models/ClientMovePlaylist.ts b/frontend/src/app/models/ClientMovePlaylist.ts new file mode 100644 index 0000000..5e3e258 --- /dev/null +++ b/frontend/src/app/models/ClientMovePlaylist.ts @@ -0,0 +1,11 @@ +import { MessageBase, MessageType } from './MessageBase'; + +export class ClientMovePlaylist extends MessageBase +{ + constructor() { + super(); + } + readonly Type : MessageType = MessageType.MovePlaylist; + PlaylistID : string; + Index : number; +} \ No newline at end of file diff --git a/frontend/src/app/models/ClientMoveSongInPlaylist.ts b/frontend/src/app/models/ClientMoveSongInPlaylist.ts new file mode 100644 index 0000000..da3b9c9 --- /dev/null +++ b/frontend/src/app/models/ClientMoveSongInPlaylist.ts @@ -0,0 +1,13 @@ +import { MessageBase, MessageType } from './MessageBase'; + +export class ClientMoveSongInPlaylist extends MessageBase +{ + constructor() { + super(); + } + readonly Type : MessageType = MessageType.MoveSongInPlaylist; + SongID : string; + //Currently not used server side + PlaylistID: string; + Index : number; +} \ No newline at end of file diff --git a/frontend/src/app/models/ClientMoveSongToPlaylist.ts b/frontend/src/app/models/ClientMoveSongToPlaylist.ts index 727ffd1..6b7003d 100644 --- a/frontend/src/app/models/ClientMoveSongToPlaylist.ts +++ b/frontend/src/app/models/ClientMoveSongToPlaylist.ts @@ -2,7 +2,11 @@ import { MessageBase, MessageType } from './MessageBase'; export class ClientMoveSongToPlaylist extends MessageBase { + constructor() { + super(); + } readonly Type : MessageType = MessageType.MoveSongToPlaylist; SongID : string; ToPlaylistID : string; + Index : number; } \ No newline at end of file diff --git a/frontend/src/app/models/ClientSetBeastSaberUsername.ts b/frontend/src/app/models/ClientSetBeastSaberUsername.ts new file mode 100644 index 0000000..e3371e7 --- /dev/null +++ b/frontend/src/app/models/ClientSetBeastSaberUsername.ts @@ -0,0 +1,9 @@ +import { MessageBase, MessageType } from './MessageBase'; + +export class ClientSetBeastSaberUsername extends MessageBase { + constructor() { + super(); + } + readonly Type: MessageType = MessageType.SetBeastSaberUsername; + BeastSaberUsername: string; +} diff --git a/frontend/src/app/models/ClientSetModStatus.ts b/frontend/src/app/models/ClientSetModStatus.ts new file mode 100644 index 0000000..96454f3 --- /dev/null +++ b/frontend/src/app/models/ClientSetModStatus.ts @@ -0,0 +1,12 @@ +import { MessageBase, MessageType } from './MessageBase'; +import { ModStatusType } from './ModDefinition'; + +export class ClientSetModStatus extends MessageBase +{ + + readonly Type : MessageType = MessageType.SetModStatus; + ModID : string; + Status : ModStatusType; + +} + diff --git a/frontend/src/app/models/ClientSortPlaylist.ts b/frontend/src/app/models/ClientSortPlaylist.ts index d691717..62f4311 100644 --- a/frontend/src/app/models/ClientSortPlaylist.ts +++ b/frontend/src/app/models/ClientSortPlaylist.ts @@ -3,6 +3,9 @@ import { PlaylistSortMode } from './PlaylistSortMode'; export class ClientSortPlaylist extends MessageBase { + constructor() { + super(); + } readonly Type : MessageType = MessageType.SortPlaylist; PlaylistID : string; SortMode : PlaylistSortMode; diff --git a/frontend/src/app/models/ClientStopDownloads.ts b/frontend/src/app/models/ClientStopDownloads.ts new file mode 100644 index 0000000..1f95381 --- /dev/null +++ b/frontend/src/app/models/ClientStopDownloads.ts @@ -0,0 +1,6 @@ +import { MessageBase, MessageType } from './MessageBase'; + +export class ClientStopDownloads extends MessageBase { + readonly Type: MessageType = MessageType.StopDownloads; + DownloadsToStop: string[]; +} diff --git a/frontend/src/app/models/ClientSyncSaberSync.ts b/frontend/src/app/models/ClientSyncSaberSync.ts new file mode 100644 index 0000000..94cca3e --- /dev/null +++ b/frontend/src/app/models/ClientSyncSaberSync.ts @@ -0,0 +1,8 @@ +import { MessageType, MessageBase } from './MessageBase'; + +/*Triggers the syncsaberservice to start doing syncs. Setting SyncOnlyID to null will sync all feeds, specifying an ID will sync only that feed */ +export class ClientSyncSaberSync extends MessageBase { + Type: MessageType = MessageType.SyncSaberSync; + + SyncOnlyID: string; +} diff --git a/frontend/src/app/models/ClientUpdateFeedReader.ts b/frontend/src/app/models/ClientUpdateFeedReader.ts new file mode 100644 index 0000000..2ec397a --- /dev/null +++ b/frontend/src/app/models/ClientUpdateFeedReader.ts @@ -0,0 +1,12 @@ +import { MessageBase, MessageType } from './MessageBase'; +import { FeedReader } from './FeedReader'; + +export class ClientUpdateFeedReader extends MessageBase { + constructor() { + super(); + } + readonly Type: MessageType = MessageType.UpdateFeedReader; + + ID: string; + FeedConfig: FeedReader; +} diff --git a/frontend/src/app/models/FeedReader.ts b/frontend/src/app/models/FeedReader.ts new file mode 100644 index 0000000..deedfc0 --- /dev/null +++ b/frontend/src/app/models/FeedReader.ts @@ -0,0 +1,11 @@ +export interface FeedReader { + DisplayName: string; + FeedType: number; + ID: string; + IsEnabled: boolean; + LastSyncAttempt: string; + LastSyncSuccess: string; + PlaylistID: string; + MaxSongs: number; + Authors: string[]; +} diff --git a/frontend/src/app/models/HostActionResponse.ts b/frontend/src/app/models/HostActionResponse.ts new file mode 100644 index 0000000..9498d09 --- /dev/null +++ b/frontend/src/app/models/HostActionResponse.ts @@ -0,0 +1,6 @@ +export interface HostActionResponse +{ + ResponseToMessageID : string; + Success : boolean; + ErrorMessage : string; +} diff --git a/frontend/src/app/models/HostDownloadStatus.ts b/frontend/src/app/models/HostDownloadStatus.ts index ef0991c..d76af9e 100644 --- a/frontend/src/app/models/HostDownloadStatus.ts +++ b/frontend/src/app/models/HostDownloadStatus.ts @@ -13,10 +13,10 @@ export interface HostDownload export enum HostDownloadStatusType { - NotStarted, - Downloading, - Downloaded, - Installing, - Installed, - Failed + NotStarted = "NotStarted", + Downloading = "Downloading", + Downloaded = "Downloaded", + Processing = "Proccessing", + Processed = "Processed", + Failed = "Failed" } \ No newline at end of file diff --git a/frontend/src/app/models/MessageBase.ts b/frontend/src/app/models/MessageBase.ts index 9808ed0..c1cf34b 100644 --- a/frontend/src/app/models/MessageBase.ts +++ b/frontend/src/app/models/MessageBase.ts @@ -1,21 +1,39 @@ +import { ClientSetBeastSaberUsername } from './ClientSetBeastSaberUsername'; -export abstract class MessageBase -{ - abstract Type : MessageType; +export abstract class MessageBase { + constructor() { + this.MessageID = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { + var r = (Math.random() * 16) | 0, + v = c == 'x' ? r : (r & 0x3) | 0x8; + return v.toString(16); + }); + } + abstract Type: MessageType; + MessageID: string; + ResponseToMessageID: string; } -export enum MessageType -{ - SetupEvent, - Toast, - DownloadStatus, - ConfigChange, - DeleteSong, - MoveSongToPlaylist, - DeletePlaylist, - AddOrUpdatePlaylist, - OpStatus, - GetOps, - SortPlaylist, - AutoCreatePlaylists -} \ No newline at end of file +export enum MessageType { + SetupEvent = 'SetupEvent', + Toast = 'Toast', + DownloadStatus = 'DownloadStatus', + ConfigChange = 'ConfigChange', + DeleteSong = 'DeleteSong', + MoveSongToPlaylist = 'MoveSongToPlaylist', + DeletePlaylist = 'DeletePlaylist', + AddOrUpdatePlaylist = 'AddOrUpdatePlaylist', + OpStatus = 'OpStatus', + GetOps = 'GetOps', + SortPlaylist = 'SortPlaylist', + AutoCreatePlaylists = 'AutoCreatePlaylists', + SetModStatus = 'SetModStatus', + ActionResponse = 'ActionResponse', + MoveSongInPlaylist = 'MoveSongInPlaylist', + MovePlaylist = 'MovePlaylist', + DeleteMod = 'DeleteMod', + ChangeColor = 'ChangeColor', + SetBeastSaberUsername = 'SetBeastSaberUsername', + UpdateFeedReader = 'UpdateFeedReader', + SyncSaberSync = 'SyncSaberSync', + StopDownloads = 'StopDownloads', +} diff --git a/frontend/src/app/models/ModDefinition.ts b/frontend/src/app/models/ModDefinition.ts new file mode 100644 index 0000000..d5452fc --- /dev/null +++ b/frontend/src/app/models/ModDefinition.ts @@ -0,0 +1,26 @@ +export class ModDefinition { + Status: ModStatusType; + ID: string; + Name: string; + Author: string; + InfoUrl: string; + Description: string; + Category: ModCategory; + TargetBeatSaberVersion: string; + Version: string; + CoverImageFilename: string; + Porter: string; +} + +export enum ModStatusType { + NotInstalled = 'NotInstalled', + Installed = 'Installed', +} + +export enum ModCategory { + Saber = 'Saber', + Gameplay = 'Gameplay', + Note = 'Note', + Library = 'Library', + Other = 'Other', +} diff --git a/frontend/src/app/models/ModSetupStatus.ts b/frontend/src/app/models/ModSetupStatus.ts new file mode 100644 index 0000000..0ed3267 --- /dev/null +++ b/frontend/src/app/models/ModSetupStatus.ts @@ -0,0 +1,13 @@ +export interface ModSetupStatus { + CurrentStatus: ModSetupStatusType; + IsBeatSaberInstalled: boolean; + BeatOnVersion: string; + HasGoodBackup: boolean; + HasHalfAssBackup: boolean; +} +export enum ModSetupStatusType { + ModInstallNotStarted = 'ModInstallNotStarted', + ReadyForModApply = 'ReadyForModApply', + ReadyForInstall = 'ReadyForInstall', + ModInstalled = 'ModInstalled', +} diff --git a/frontend/src/app/models/PlaylistTempConfig.ts b/frontend/src/app/models/PlaylistTempConfig.ts new file mode 100644 index 0000000..398d515 --- /dev/null +++ b/frontend/src/app/models/PlaylistTempConfig.ts @@ -0,0 +1,7 @@ +export interface PlaylistTempConfig{ + + PlaylistID : string; + + IsOpen : boolean; + +} diff --git a/frontend/src/app/models/QuestomConfig.ts b/frontend/src/app/models/QuestomConfig.ts index 820c3c1..12820ea 100644 --- a/frontend/src/app/models/QuestomConfig.ts +++ b/frontend/src/app/models/QuestomConfig.ts @@ -1,10 +1,13 @@ import { BeatSaberPlaylist } from './BeatSaberPlaylist'; import { BeatSaberColor } from './BeatSaberColor'; +import { ModDefinition } from './ModDefinition'; export interface QuestomConfig { Playlists : BeatSaberPlaylist[]; + Mods : ModDefinition[]; + //Saber : SaberModel; LeftColor : BeatSaberColor; diff --git a/frontend/src/app/models/SyncSaberConfig.ts b/frontend/src/app/models/SyncSaberConfig.ts new file mode 100644 index 0000000..8309073 --- /dev/null +++ b/frontend/src/app/models/SyncSaberConfig.ts @@ -0,0 +1,8 @@ +import { FeedReader } from './FeedReader'; + +export interface SyncSaberConfig { + BeastSaberUsername: string; + CheckExistingSongsUpdated: boolean; + IsSyncInProgress: boolean; + FeedReaders: FeedReader[]; +} diff --git a/frontend/src/app/op-indicator/op-indicator.component.scss b/frontend/src/app/op-indicator/op-indicator.component.scss index 8108d2f..13dbdf4 100644 --- a/frontend/src/app/op-indicator/op-indicator.component.scss +++ b/frontend/src/app/op-indicator/op-indicator.component.scss @@ -1,104 +1,113 @@ -@import '../../theme.scss'; +@import "../../theme.scss"; @include mat-core(); .opsCount { - display: inline-block; - font-size: 15px; - margin-left: 5px; - margin-top: 3px; + display: inline-block; + font-size: 15px; + margin-left: 5px; + margin-top: 3px; } mat-icon { - font-size: 24px; + font-size: 24px; } + .noops { - font-size: 14px; - padding: 5px; - color: mat-color($my-app-warn); + font-size: 14px; + padding: 5px; + color: mat-color($my-app-warn); } + .opDesc { - display: inline-block; - min-width: 100px; + display: inline-block; + min-width: 100px; } + .opStatus { - display: inline-block; - min-width: 50px; - padding-right: 3px; + display: inline-block; + min-width: 50px; + padding-right: 3px; } .clearFailed { - margin-left: 8px; + margin-left: 8px; } + .opId { - display: inline-block; - min-width: 20px; - margin-right: 4px; + display: inline-block; + min-width: 20px; + margin-right: 4px; } + .opContainer { - font-size: 12px; + font-size: 12px; } + .check { - position: absolute; - color: green; - top: -3px; - left: 24px; - font-size: 24px; - text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black; + position: absolute; + color: green; + top: -3px; + left: 24px; + font-size: 24px; + text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black; } + .sync { - position: absolute; - color: white; - top: 3px; - left: 0; - font-size: 32px; - padding: 0px; - width: 32px; - height: 32px; + position: absolute; + color: white; + top: 3px; + left: 0; + font-size: 32px; + padding: 0px; + width: 32px; + height: 32px; } .exclamation { - position: absolute; - color: red; - top: 0px; - left: 22px; - font-size: 24px; - text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black; + position: absolute; + color: red; + top: 0px; + left: 22px; + font-size: 24px; + text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black; } -.iconContainer { - width:24px; - width:24px; - display: inline-block; +.iconContainer { + width: 24px; + width: 24px; + display: inline-block; } .spinny { - -webkit-animation: spin 1.5s linear infinite; - animation: spin 1.5s linear infinite; - transform-origin: center center; + -webkit-animation: spin 1.5s linear infinite; + animation: spin 1.5s linear infinite; + transform-origin: center center; } + /* include this only once */ @-webkit-keyframes spin { - 0% { - -webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */ - -ms-transform: rotate(0deg); /* IE 9 */ - transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */ - } - 100% { - -webkit-transform: rotate(360deg); /* Chrome, Opera 15+, Safari 3.1+ */ - -ms-transform: rotate(360deg); /* IE 9 */ - transform: rotate(360deg); /* Firefox 16+, IE 10+, Opera */ - } + 0% { + -webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */ + -ms-transform: rotate(0deg); /* IE 9 */ + transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */ + } + 100% { + -webkit-transform: rotate(360deg); /* Chrome, Opera 15+, Safari 3.1+ */ + -ms-transform: rotate(360deg); /* IE 9 */ + transform: rotate(360deg); /* Firefox 16+, IE 10+, Opera */ + } } + @keyframes spin { - 0% { - -webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */ - -ms-transform: rotate(0deg); /* IE 9 */ - transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */ - } - 100% { - -webkit-transform: rotate(360deg); /* Chrome, Opera 15+, Safari 3.1+ */ - -ms-transform: rotate(360deg); /* IE 9 */ - transform: rotate(360deg); /* Firefox 16+, IE 10+, Opera */ - } -} \ No newline at end of file + 0% { + -webkit-transform: rotate(360deg); /* Chrome, Opera 15+, Safari 3.1+ */ + -ms-transform: rotate(360deg); /* IE 9 */ + transform: rotate(360deg); /* Firefox 16+, IE 10+, Opera */ + } + 100% { + -webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */ + -ms-transform: rotate(0deg); /* IE 9 */ + transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */ + } +} diff --git a/frontend/src/app/pipes/no-custom-songs.ts b/frontend/src/app/pipes/no-custom-songs.ts new file mode 100644 index 0000000..2512dc3 --- /dev/null +++ b/frontend/src/app/pipes/no-custom-songs.ts @@ -0,0 +1,21 @@ +import { Component, ViewEncapsulation, ViewChild, ElementRef, PipeTransform, Pipe, OnInit, Injectable } from '@angular/core'; +import { DomSanitizer } from '@angular/platform-browser'; +import { BeatSaberPlaylist } from '../models/BeatSaberPlaylist'; + +@Injectable({ + providedIn: 'root', +}) +@Pipe({ name: 'nocustomsongs' }) +export class NoCustomSongsPipe implements PipeTransform { + constructor(private sanitizer: DomSanitizer) {} + transform(val: BeatSaberPlaylist[]) { + const customIndex = val.map(p => p.PlaylistID).indexOf('CustomSongs'); + if (customIndex > -1) { + let cpy = val.slice(0); + cpy.splice(customIndex, 1); + return cpy; + } else { + return val; + } + } +} diff --git a/frontend/src/app/pipes/only-custom-songs.ts b/frontend/src/app/pipes/only-custom-songs.ts new file mode 100644 index 0000000..8ee7d12 --- /dev/null +++ b/frontend/src/app/pipes/only-custom-songs.ts @@ -0,0 +1,19 @@ +import { Component, ViewEncapsulation, ViewChild, ElementRef, PipeTransform, Pipe, OnInit, Injectable } from '@angular/core'; +import { DomSanitizer } from '@angular/platform-browser'; +import { BeatSaberPlaylist } from '../models/BeatSaberPlaylist'; + +@Injectable({ + providedIn: 'root', +}) +@Pipe({ name: 'onlycustomsongs' }) +export class OnlyCustomSongsPipe implements PipeTransform { + constructor(private sanitizer: DomSanitizer) {} + transform(val: BeatSaberPlaylist[]) { + const customIndex = val.map(p => p.PlaylistID).indexOf('CustomSongs'); + if (customIndex > -1) { + return [val[customIndex]]; + } else { + return []; + } + } +} diff --git a/frontend/src/app/playlist-slider/playlist-slider.component.scss b/frontend/src/app/playlist-slider/playlist-slider.component.scss index 21d6c67..665c4b3 100644 --- a/frontend/src/app/playlist-slider/playlist-slider.component.scss +++ b/frontend/src/app/playlist-slider/playlist-slider.component.scss @@ -1,4 +1,3 @@ - .titleText { color: white; text-shadow: -1.5px 0 2px black, 0 1.5px 2px black, 1.5px 0 2px black, 0 -1.5px 2px black; @@ -7,6 +6,7 @@ left: 0px; font-size: 14px; } + .playlistEdit { position: absolute; top: 0; @@ -14,25 +14,33 @@ border-radius: 50%; width: 25px; height: 25px; - background-color: rgba(0,0,0,200); + background-color: rgba(0, 0, 0, 200); font-size: 24px; color: white; cursor: pointer; } + .addPlaylist { width: 96%; height: 38px; } - - .tile { - height: 100px; - width: 100px; - background-color: #ccc; - background-size: cover !important; - } - .zoomedIn {transform: scale(1.0); transition: transform .2s;} -.zoomedOut {transform: scale(.75); transition: transform .2s;} +.tile { + height: 100px; + width: 100px; + background-color: #ccc; + background-size: cover !important; +} + +.zoomedIn { + transform: scale(1); + transition: transform 0.2s; +} + +.zoomedOut { + transform: scale(0.75); + transition: transform 0.2s; +} .bannerStyle h1 { background-color: #ccc; @@ -40,18 +48,18 @@ text-align: center; line-height: 300px; } + .leftRs { transform: rotate(180deg); position: absolute; - top: 0; bottom: 0; width: 25px; height: 25px; - background-color:transparent; + background-color: transparent; left: 0; font-size: 48px; - margin-left:35px; + margin-left: 35px; border: none; } @@ -63,44 +71,48 @@ top: 0; left: 0; } + .rightRs { - border: none; font-size: 48px; position: absolute; - margin-left:35px; + margin-left: 35px; bottom: 0; bottom: 0; width: 25px; height: 25px; overflow: hidden; - background-color:transparent; - border:none; + background-color: transparent; + border: none; left: 0; } .ngucarouselPoint { -list-style-type: none; -text-align: center; -padding: 12px; -margin: 0; -white-space: nowrap; -overflow: auto; -position: absolute; -width: 100%; -bottom: 20px; -left: 0; -box-sizing: border-box; -} -.ngucarouselPoint li { -display: inline-block; -border-radius: 999px; -background: rgba(255, 255, 255, 0.55); -padding: 5px; -margin: 0 3px; -transition: .4s ease all; -} -.ngucarouselPoint li.active { - background: white; - width: 10px; + list-style-type: none; + text-align: center; + padding: 12px; + margin: 0; + white-space: nowrap; + overflow: auto; + position: absolute; + width: 100%; + bottom: 20px; + left: 0; + box-sizing: border-box; + + li { + display: inline-block; + border-radius: 999px; + background: rgba(255, 255, 255, 0.55); + padding: 5px; + margin: 0 3px; + transition: 0.4s ease all; + + &.active { + background: white; + width: 10px; + } + + } + } diff --git a/frontend/src/app/playlist-slider/playlist-slider.component.ts b/frontend/src/app/playlist-slider/playlist-slider.component.ts index 641472d..64c476e 100644 --- a/frontend/src/app/playlist-slider/playlist-slider.component.ts +++ b/frontend/src/app/playlist-slider/playlist-slider.component.ts @@ -8,206 +8,220 @@ import { ConfigService } from '../services/config.service'; import { BeatOnApiService } from '../services/beat-on-api.service'; import { BeatOnConfig } from '../models/BeatOnConfig'; import { AddEditPlaylistDialogComponent } from '../add-edit-playlist-dialog/add-edit-playlist-dialog.component'; -import {MatDialog, MatDialogRef, MAT_DIALOG_DATA} from '@angular/material/dialog'; +import { MatDialog, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; import { HostMessageService } from '../services/host-message.service'; import { ClientMoveSongToPlaylist } from '../models/ClientMoveSongToPlaylist'; import { ClientAddOrUpdatePlaylist } from '../models/ClientAddOrUpdatePlaylist'; import { ClientDeletePlaylist } from '../models/ClientDeletePlaylist'; import { ClientAutoCreatePlaylists } from '../models/ClientAutoCreatePlaylists'; import { PlaylistSortMode } from '../models/PlaylistSortMode'; +import { ClientMovePlaylist } from '../models/ClientMovePlaylist'; @Component({ - selector: 'app-playlist-slider', - templateUrl: './playlist-slider.component.html', - styleUrls: ['./playlist-slider.component.scss'] + selector: 'app-playlist-slider', + templateUrl: './playlist-slider.component.html', + styleUrls: ['./playlist-slider.component.scss'], }) export class PlaylistSliderComponent implements OnInit { - @Output() public selectedPlaylist: EventEmitter = new EventEmitter(); - private _playlists : BeatSaberPlaylist[] = []; - - @Input() public set playlists(playlists : BeatSaberPlaylist[]) { - this._playlists = playlists; - if (this.selected != null && this.selected.PlaylistID != null) { - if (this._playlists == null) { - this.selected = null; - this.selectedPlaylist.emit(null); - } else { - var found = null; - this._playlists.forEach(p => { - if (p.PlaylistID == this.selected.PlaylistID) { - found = p; - } - }); - this.selected = found; - this.selectedPlaylist.emit(found); - } + @Output() public selectedPlaylist: EventEmitter = new EventEmitter(); + private _playlists: BeatSaberPlaylist[] = []; + + @Input() public set playlists(playlists: BeatSaberPlaylist[]) { + this._playlists = playlists; + if (this.selected != null && this.selected.PlaylistID != null) { + if (this._playlists == null) { + this.selected = null; + this.selectedPlaylist.emit(null); + } else { + var found = null; + this._playlists.forEach(p => { + if (p.PlaylistID == this.selected.PlaylistID) { + found = p; + } + }); + this.selected = found; + this.selectedPlaylist.emit(found); + } + } } - } - - public get playlists() { - return this._playlists - } - - selected : BeatSaberPlaylist; - constructor(private dialog : MatDialog, private configSvc : ConfigService, private beatOnApi : BeatOnApiService, private msgSvc : HostMessageService) { - - } - - - - getBackground(item) { - return 'url('+ AppSettings.API_ENDPOINT +'/host/beatsaber/playlist/cover?playlistid=' + item.PlaylistID + ')'; - } - - onTileClick(item) { - this.selected = item; - this.selectedPlaylist.emit(item); - } - public carouselTile: NguCarouselConfig = { - grid: { xs:4, sm:4, md: 4, lg: 4, all: 0 }, - slide: 3, - speed: 250, - point: { - visible: false - }, - load: 2, - velocity: 0, - touch: true, - easing: 'cubic-bezier(0, 0, 0.2, 1)', - vertical: { - enabled: true, - height: 360 + + public get playlists() { + return this._playlists; } - }; - - ngOnInit() { - - } - clickAddPlaylist() { - var dialogRef = this.dialog.open(AddEditPlaylistDialogComponent, { - width: '450px', - height: '320px', - disableClose: true, - data: {playlist: {}, isNew: true} - }); - dialogRef.afterClosed().subscribe(res => this.dialogClosed(res)); - } - - clickEditPlaylist(item) { - var dialogRef = this.dialog.open(AddEditPlaylistDialogComponent, { - width: '450px', - height: '320px', - disableClose: true, - data: {playlist: item, isNew: false} - }); - dialogRef.afterClosed().subscribe(res => this.dialogClosed(res)); - } - - clickAutoName(max : number) { - var msg = new ClientAutoCreatePlaylists(); - msg.MaxPerNamePlaylist = max; - msg.SortMode = PlaylistSortMode.Name; - - this.msgSvc.sendClientMessage(msg); - } - - clickAutoDifficulty() { - var msg = new ClientAutoCreatePlaylists(); - msg.MaxPerNamePlaylist = 5; - msg.SortMode = PlaylistSortMode.MaxDifficulty; - - this.msgSvc.sendClientMessage(msg); - } - - dialogClosed(result) - { - //if cancelled - if (result == null) - return; - - if (result['deletePlaylist'] === true) { - //delete playlist - var msg = new ClientDeletePlaylist(); - msg.PlaylistID = result.playlist.PlaylistID; - this.msgSvc.sendClientMessage(msg); - } else { - //must be a save - if (result.isNew) { - this.configSvc.getConfig().subscribe((cfg) => { - cfg.Config.Playlists.push(result.playlist); - var msg = new ClientAddOrUpdatePlaylist(); - msg.Playlist = result.playlist; - this.msgSvc.sendClientMessage(msg); - }) - } else { - this.configSvc.getConfig().subscribe((cfg) => { - var found = null; - cfg.Config.Playlists.forEach(p=>{ - if (p.PlaylistID == result.playlist.PlaylistID) { - found = p; - if (result.playlist.CoverImageBytes && result.playlist.CoverImageBytes > 50) { - p.CoverImageBytes = result.playlist.CoverImageBytes; - } - p.PlaylistName = result.playlist.PlaylistName; - } - }); - if (found) { - var msg = new ClientAddOrUpdatePlaylist(); - msg.Playlist = found; - this.msgSvc.sendClientMessage(msg); - } - }) - } + + selected: BeatSaberPlaylist; + constructor( + private dialog: MatDialog, + private configSvc: ConfigService, + private beatOnApi: BeatOnApiService, + private msgSvc: HostMessageService + ) {} + + getBackground(item) { + var fixedUri = encodeURIComponent(item.PlaylistID); + fixedUri = fixedUri.replace('(', '%28').replace(')', '%29'); + return ( + 'url(' + + AppSettings.API_ENDPOINT + + '/host/beatsaber/playlist/cover?playlistid=' + + fixedUri + + '&update=' + + this.updateCounterHack + + ')' + ); } - } - playlistDrop(item : BeatSaberPlaylist, evt) - { - let oldPlaylist : BeatSaberPlaylist = evt.previousContainer.data; - if (oldPlaylist.PlaylistID === item.PlaylistID) { - console.log("dropped a song on the same playlist it is in, doing nothing"); - // return; + + onTileClick(item) { + this.selected = item; + this.selectedPlaylist.emit(item); + } + public carouselTile: NguCarouselConfig = { + grid: { xs: 4, sm: 4, md: 4, lg: 4, all: 0 }, + slide: 3, + speed: 250, + point: { + visible: false, + }, + load: 2, + velocity: 0, + touch: true, + easing: 'cubic-bezier(0, 0, 0.2, 1)', + vertical: { + enabled: true, + height: 360, + }, + }; + + ngOnInit() {} + clickAddPlaylist() { + var dialogRef = this.dialog.open(AddEditPlaylistDialogComponent, { + width: '450px', + height: '320px', + disableClose: true, + data: { playlist: {}, isNew: true }, + }); + dialogRef.afterClosed().subscribe(res => this.dialogClosed(res)); } - var oldIndex = oldPlaylist.SongList.findIndex(x=> evt.item.element.nativeElement.attributes["songid"] && x.SongID == evt.item.element.nativeElement.attributes["songid"].value); - if (oldIndex < 0) - return; - let moveSong : BeatSaberSong = oldPlaylist.SongList.splice(oldIndex,1)[0]; - oldPlaylist.SongList = oldPlaylist.SongList.slice(); - if (moveSong != null) { - this.configSvc.getConfig().subscribe((cfg : BeatOnConfig) => { - - cfg.Config.Playlists.forEach((p) => { - if (p.PlaylistID == item.PlaylistID) { - p.SongList.push(moveSong); - } else { - var oldIdx; - var ctr = -1; - p.SongList.forEach((s) => - { - ctr = ctr + 1; - if (p.PlaylistID == oldPlaylist.PlaylistID) { - oldIdx = ctr; - } - }); - if (oldIdx > -1) { - p.SongList.splice(oldIdx, 1); - } else { - console.log("Did not find the song in the playlist it was moving from!"); - } - - } + clickEditPlaylist(item) { + var dialogRef = this.dialog.open(AddEditPlaylistDialogComponent, { + width: '450px', + height: '320px', + disableClose: true, + data: { playlist: item, isNew: false }, }); - var msg = new ClientMoveSongToPlaylist(); - msg.SongID = moveSong.SongID; - msg.ToPlaylistID = item.PlaylistID; + dialogRef.afterClosed().subscribe(res => this.dialogClosed(res)); + } + + clickAutoName(max: number) { + var msg = new ClientAutoCreatePlaylists(); + msg.MaxPerNamePlaylist = max; + msg.SortMode = PlaylistSortMode.Name; + this.msgSvc.sendClientMessage(msg); - }); } - - // evt.previousContainer.data[evt.previousIndex] is song - // item.playlistid is playlistid - } - -} + clickAutoDifficulty() { + var msg = new ClientAutoCreatePlaylists(); + msg.MaxPerNamePlaylist = 5; + msg.SortMode = PlaylistSortMode.MaxDifficulty; + + this.msgSvc.sendClientMessage(msg); + } + + updateCounterHack: number = 1; + lastUpdatedPlaylist: string = null; + + dialogClosed(result) { + //if cancelled + if (result == null) return; + if (result['deletePlaylist'] === true) { + //delete playlist + var msg = new ClientDeletePlaylist(); + msg.PlaylistID = result.playlist.PlaylistID; + this.msgSvc.sendClientMessage(msg); + } else { + //must be a save + if (result.isNew) { + this.configSvc.getConfig().subscribe(cfg => { + cfg.Config.Playlists.push(result.playlist); + var msg = new ClientAddOrUpdatePlaylist(); + msg.Playlist = result.playlist; + this.msgSvc.sendClientMessage(msg); + }); + } else { + this.configSvc.getConfig().subscribe(cfg => { + var found = null; + cfg.Config.Playlists.forEach(p => { + if (p.PlaylistID == result.playlist.PlaylistID) { + found = p; + if (result.playlist.CoverImageBytes && result.playlist.CoverImageBytes > 50) { + p.CoverImageBytes = result.playlist.CoverImageBytes; + } + p.PlaylistName = result.playlist.PlaylistName; + } + }); + if (found) { + var msg = new ClientAddOrUpdatePlaylist(); + msg.Playlist = found; + + this.msgSvc.sendClientMessage(msg); + var sub; + sub = this.msgSvc.configChangeMessage.subscribe(cfg => { + sub.unsubscribe(); + this.lastUpdatedPlaylist = found.PlaylistID; + this.updateCounterHack = this.updateCounterHack + 1; + }); + } + }); + } + } + } + playlistDrop(item: BeatSaberPlaylist, evt) { + let oldPlaylist: BeatSaberPlaylist = evt.previousContainer.data; + if (oldPlaylist.PlaylistID === item.PlaylistID) { + console.log('dropped a song on the same playlist it is in, doing nothing'); + // return; + } + var oldIndex = oldPlaylist.SongList.findIndex( + x => + evt.item.element.nativeElement.attributes['songid'] && + x.SongID == evt.item.element.nativeElement.attributes['songid'].value + ); + if (oldIndex < 0) return; + let moveSong: BeatSaberSong = oldPlaylist.SongList.splice(oldIndex, 1)[0]; + oldPlaylist.SongList = oldPlaylist.SongList.slice(); + if (moveSong != null) { + this.configSvc.getConfig().subscribe((cfg: BeatOnConfig) => { + cfg.Config.Playlists.forEach(p => { + if (p.PlaylistID == item.PlaylistID) { + p.SongList.push(moveSong); + } else { + var oldIdx; + var ctr = -1; + p.SongList.forEach(s => { + ctr = ctr + 1; + if (p.PlaylistID == oldPlaylist.PlaylistID) { + oldIdx = ctr; + } + }); + if (oldIdx > -1) { + p.SongList.splice(oldIdx, 1); + } else { + console.log('Did not find the song in the playlist it was moving from!'); + } + } + }); + var msg = new ClientMoveSongToPlaylist(); + msg.SongID = moveSong.SongID; + msg.ToPlaylistID = item.PlaylistID; + msg.Index = 0; + this.msgSvc.sendClientMessage(msg); + }); + } + + // evt.previousContainer.data[evt.previousIndex] is song + // item.playlistid is playlistid + } +} diff --git a/frontend/src/app/playlist-songs/playlist-songs.component.html b/frontend/src/app/playlist-songs/playlist-songs.component.html index 9c28771..c8ae173 100644 --- a/frontend/src/app/playlist-songs/playlist-songs.component.html +++ b/frontend/src/app/playlist-songs/playlist-songs.component.html @@ -10,8 +10,8 @@ - - + + diff --git a/frontend/src/app/playlist-songs/playlist-songs.component.scss b/frontend/src/app/playlist-songs/playlist-songs.component.scss index 0e0bc08..8c562e5 100644 --- a/frontend/src/app/playlist-songs/playlist-songs.component.scss +++ b/frontend/src/app/playlist-songs/playlist-songs.component.scss @@ -1,84 +1,92 @@ .viewport { - height: 100%; - width: 350px; - border: none; - - } + height: 100%; + width: 350px; + border: none; +} + .sort { - margin-left: 60px; - display: inline-block; + margin-left: 60px; + display: inline-block; } - .songCount { - font-size: 10px; - font-style: italic; - color: lightgray; - margin-left: 60px; - display: inline-block; - } - .deleteSong { - position: absolute; - top:0; - right:0; - color: red; - border-radius: 50%; - width: 25px; - height: 25px; - background-color: rgba(0,0,0,200); - font-size: 24px; - cursor: pointer; - } -.song { - display: flex; - width: 300px; - height: 50px; + +.songCount { + font-size: 10px; + font-style: italic; + color: lightgray; + margin-left: 60px; + display: inline-block; } -.song mat-card-title { - font-size: 16px; - + +.deleteSong { + position: absolute; + top: 0; + right: 0; + color: red; + border-radius: 50%; + width: 25px; + height: 25px; + background-color: rgba(0, 0, 0, 200); + font-size: 24px; + cursor: pointer; } -.song mat-card-subtitle { + +.song { + display: flex; + width: 300px; + height: 50px; + + mat-card-title { + font-size: 16px; + } + + mat-card-subtitle { font-size: 12px; width: 220px; + } + } + .songArtist { - font-size: 12px; - margin-left: 8px; - margin-top: 3px; + font-size: 12px; + margin-left: 8px; + margin-top: 3px; } + .handle { - padding-top: 5px; - position: absolute; - top: 00px; - left: 00px; - color: #555; - cursor: move; - width: 24px; - height: 100%; - } + padding-top: 5px; + position: absolute; + top: 00px; + left: 00px; + color: #555; + cursor: move; + width: 24px; + height: 100%; +} .songTitle { - font-size: 16px; - margin-left: 8px; + font-size: 16px; + margin-left: 8px; } .songCover { - width: 60px; - display:inline-block; - height: 60px; - min-width: 60px; - margin-left: 14px; + width: 60px; + display: inline-block; + height: 60px; + min-width: 60px; + margin-left: 14px; } .mapper { - font-size: 12px; - margin-left: 8px; - margin-top: 3px; - font-style: italic; + font-size: 12px; + margin-left: 8px; + margin-top: 3px; + font-style: italic; } + .handle hr { - display: inline-block; - margin-left: 2.5px; - height: 80px; - width: 0.1px; - border: solid .5px; -} \ No newline at end of file + display: inline-block; + margin-left: 2.5px; + height: 80px; + width: 0.1px; + border: solid 0.5px; +} diff --git a/frontend/src/app/playlist-songs/playlist-songs.component.ts b/frontend/src/app/playlist-songs/playlist-songs.component.ts index 7bdd472..e176091 100644 --- a/frontend/src/app/playlist-songs/playlist-songs.component.ts +++ b/frontend/src/app/playlist-songs/playlist-songs.component.ts @@ -10,6 +10,7 @@ import { MatDialog } from '@angular/material'; import { ConfirmDialogComponent } from '../confirm-dialog/confirm-dialog.component'; import { ClientSortPlaylist } from '../models/ClientSortPlaylist'; import { PlaylistSortMode } from '../models/PlaylistSortMode'; +import { ClientMoveSongInPlaylist } from '../models/ClientMoveSongInPlaylist'; @Component({ selector: 'app-playlist-songs', templateUrl: './playlist-songs.component.html', diff --git a/frontend/src/app/progress-spinner-dialog/progress-spinner-dialog.component.scss b/frontend/src/app/progress-spinner-dialog/progress-spinner-dialog.component.scss index 5694e57..d882515 100644 --- a/frontend/src/app/progress-spinner-dialog/progress-spinner-dialog.component.scss +++ b/frontend/src/app/progress-spinner-dialog/progress-spinner-dialog.component.scss @@ -1,15 +1,15 @@ .transparent .mat-dialog-container { - box-shadow: none; - background: rgba(0, 0, 0, 0.0); + box-shadow: none; + background: rgba(0, 0, 0, 0); } .message-viewport { - height: 130px; - width: 400px; - border: 1px solid black; - } - - .message-item { - height: 20px; - font-size:10px; - } \ No newline at end of file + height: 130px; + width: 400px; + border: 1px solid black; +} + +.message-item { + height: 20px; + font-size: 10px; +} diff --git a/frontend/src/app/progress-spinner-dialog/progress-spinner-dialog.component.ts b/frontend/src/app/progress-spinner-dialog/progress-spinner-dialog.component.ts index 542db36..3f49c13 100644 --- a/frontend/src/app/progress-spinner-dialog/progress-spinner-dialog.component.ts +++ b/frontend/src/app/progress-spinner-dialog/progress-spinner-dialog.component.ts @@ -1,66 +1,58 @@ -import {CollectionViewer, DataSource} from '@angular/cdk/collections'; -import {Component, OnInit, Inject, ChangeDetectionStrategy, ChangeDetectorRef} from '@angular/core'; -import {MatDialog, MatDialogRef, MAT_DIALOG_DATA} from '@angular/material/dialog'; -import {BehaviorSubject, Observable, Subscription} from 'rxjs'; +import { CollectionViewer, DataSource } from '@angular/cdk/collections'; +import { Component, OnInit, Inject, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core'; +import { MatDialog, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; +import { BehaviorSubject, Observable, Subscription } from 'rxjs'; import { HostMessageService } from '../services/host-message.service'; import { HostSetupEvent, SetupEventType } from '../models/HostSetupEvent'; import { Router } from '@angular/router'; import { AppIntegrationService } from '../services/app-integration.service'; export interface SpinnerData { - mainText : string; + mainText: string; } @Component({ - selector: 'app-progress-spinner-dialog', - templateUrl: './progress-spinner-dialog.component.html', - styleUrls: ['./progress-spinner-dialog.component.scss'], - changeDetection: ChangeDetectionStrategy.OnPush - + selector: 'app-progress-spinner-dialog', + templateUrl: './progress-spinner-dialog.component.html', + styleUrls: ['./progress-spinner-dialog.component.scss'], + changeDetection: ChangeDetectionStrategy.OnPush, }) export class ProgressSpinnerDialogComponent implements OnInit { + messages = new Array(); - messages = new Array(); - - mainText : string = ""; - constructor(public dialogRef: MatDialogRef, - @Inject(MAT_DIALOG_DATA) public data: SpinnerData, private msgSvc: HostMessageService, - private cdr : ChangeDetectorRef, - private appIntegration : AppIntegrationService - ) - { - this.mainText = data.mainText; - var switched = false; - dialogRef.afterOpened().subscribe(() => - { - if (this.appIntegration.isBrowserShown) { - if (this.appIntegration.isAppLoaded()) { - this.appIntegration.hideBrowser(); - switched = true; - } - } - }); - dialogRef.beforeClosed().subscribe(()=> { - if (switched && this.appIntegration.isAppLoaded()) { - this.appIntegration.showBrowser(); - } - }); - this.msgSvc.setupMessage.subscribe((msg : HostSetupEvent) => - { - console.log("Got message in spinner " + msg.SetupEvent); - if (msg.SetupEvent == SetupEventType.StatusMessage) { - console.log("pussing message to view"); - this.messages.push(msg.Message); - this.cdr.detectChanges(); - } - }); - } + mainText: string = ''; + constructor( + public dialogRef: MatDialogRef, + @Inject(MAT_DIALOG_DATA) public data: SpinnerData, + private msgSvc: HostMessageService, + private cdr: ChangeDetectorRef, + private appIntegration: AppIntegrationService + ) { + this.mainText = data.mainText; + var switched = false; + dialogRef.afterOpened().subscribe(() => { + if (this.appIntegration.isBrowserShown) { + if (this.appIntegration.isAppLoaded()) { + this.appIntegration.hideBrowser(); + switched = true; + } + } + }); + dialogRef.beforeClosed().subscribe(() => { + if (switched && this.appIntegration.isAppLoaded()) { + this.appIntegration.showBrowser(); + } + }); + this.msgSvc.setupMessage.subscribe((msg: HostSetupEvent) => { + if (msg.SetupEvent == SetupEventType.StatusMessage) { + this.messages.push(msg.Message); + this.cdr.detectChanges(); + } + }); + } - addMessage(event : any) { - this.messages.push(event.data.Message); - } - ngOnInit() { - - } - -} \ No newline at end of file + addMessage(event: any) { + this.messages.push(event.data.Message); + } + ngOnInit() {} +} diff --git a/frontend/src/app/remote-upload/remote-upload.component.scss b/frontend/src/app/remote-upload/remote-upload.component.scss index dee6710..960ff7b 100644 --- a/frontend/src/app/remote-upload/remote-upload.component.scss +++ b/frontend/src/app/remote-upload/remote-upload.component.scss @@ -1,5 +1,5 @@ form { - margin-top: 100px; + margin-top: 100px; } .uploadfilecontainer { @@ -8,14 +8,15 @@ form { height: 200px; width: 80%; margin: 20px auto; - border: 2px dashed #1C8ADB; + border: 2px dashed #1c8adb; border-radius: 10px; -} -.uploadfilecontainer:hover { - cursor: pointer; - background-color: #9ecbec !important; - opacity: 0.8; + &:hover { + cursor: pointer; + background-color: #9ecbec !important; + opacity: 0.8; + } + } .files-list { @@ -28,14 +29,16 @@ form { border-radius: 12px; padding: 5px; color: #1c8adb; -} -.files-list .delete-file { - background: transparent; - border: none; - cursor: pointer; -} + .delete-file { + background: transparent; + border: none; + cursor: pointer; + + img { + width: 30px; + } -.files-list .delete-file img { - width: 30px; + } + } diff --git a/frontend/src/app/remote-upload/remote-upload.component.ts b/frontend/src/app/remote-upload/remote-upload.component.ts index 82361f9..c1b6260 100644 --- a/frontend/src/app/remote-upload/remote-upload.component.ts +++ b/frontend/src/app/remote-upload/remote-upload.component.ts @@ -1,35 +1,37 @@ import { Component, OnInit } from '@angular/core'; -import { FormBuilder, FormGroup } from '@angular/forms'; +import { FormBuilder, FormGroup } from '@angular/forms'; import { BeatOnApiService } from '../services/beat-on-api.service'; +import { InputBoxComponent } from '../input-box/input-box.component'; +import { MatDialog } from '@angular/material'; @Component({ - selector: 'app-remote-upload', - templateUrl: './remote-upload.component.html', - styleUrls: ['./remote-upload.component.scss'] + selector: 'app-remote-upload', + templateUrl: './remote-upload.component.html', + styleUrls: ['./remote-upload.component.scss'], }) export class RemoteUploadComponent implements OnInit { + constructor(private formBuilder: FormBuilder, private beatOnApi: BeatOnApiService) {} + form: FormGroup; - constructor(private formBuilder: FormBuilder, private beatOnApi : BeatOnApiService) { } - form: FormGroup; - - ngOnInit() { - this.form = this.formBuilder.group({ - fileUpload: [''] - }); - } - - uploadFile(event) { - for (let index = 0; index < event.length; index++) { - const file = event[index]; - const formData = new FormData(); - formData.append('file', file); - this.beatOnApi.uploadFile(formData).subscribe( - (res) => { - console.log("File uploaded") - }, - (err) => { - console.log("Failed to upload: " + err); + ngOnInit() { + this.form = this.formBuilder.group({ + fileUpload: [''], }); } - } + + uploadFile(event) { + for (let index = 0; index < event.length; index++) { + const file = event[index]; + const formData = new FormData(); + formData.append('file', file); + this.beatOnApi.uploadFile(formData).subscribe( + res => { + console.log('File uploaded'); + }, + err => { + console.log('Failed to upload: ' + err); + } + ); + } + } } diff --git a/frontend/src/app/services/app-integration.service.ts b/frontend/src/app/services/app-integration.service.ts index 8ec256d..08883a5 100644 --- a/frontend/src/app/services/app-integration.service.ts +++ b/frontend/src/app/services/app-integration.service.ts @@ -1,53 +1,61 @@ -import { Injectable } from '@angular/core'; +import { Injectable, Output, EventEmitter } from '@angular/core'; import { ToastType } from '../models/HostShowToast'; +import { AppButtonEvent } from '../models/AppButtonEvent'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class AppIntegrationService { - constructor() { } - - private static INTERFACE_NAME : string = "BeatOnAppInterface"; - isBrowserShown : boolean = false; - - public isAppLoaded() : boolean { - var isIt = (window[AppIntegrationService.INTERFACE_NAME] != null); - console.log("isAppLoaded called, result: " + isIt); - return isIt; - } - - public refreshBrowser() { - console.log("calling interface refresh browser"); - window[AppIntegrationService.INTERFACE_NAME].refreshBrowser(); - } - - public showBrowser() { - var element = document.getElementById('mainContentDiv') - var rect = element.getBoundingClientRect(); - console.log("calling interface show browser with offset " + rect.top); - window[AppIntegrationService.INTERFACE_NAME].showBrowser(rect.top); - this.isBrowserShown = true; - } - - public hideBrowser() { - console.log("calling interface hide browser"); - window[AppIntegrationService.INTERFACE_NAME].hideBrowser(); - this.isBrowserShown = false; - } - - public browserGoBack() { - console.log("calling interface browser go back"); - window[AppIntegrationService.INTERFACE_NAME].browserGoBack(); - } - - public navigateBrowser(url: string) { - console.log("calling navigate browser with " + url); - window[AppIntegrationService.INTERFACE_NAME].navigateBrowser(url); - } - - public showToast(title: string, message: string, type : ToastType, duration: number) - { - console.log("calling toast"); - window[AppIntegrationService.INTERFACE_NAME].showToast(title, message, ToastType[type], duration); - } + @Output() appButtonPressed = new EventEmitter(); + constructor() { + window.addEventListener( + 'appbutton', + (e: CustomEvent) => { + this.appButtonPressed.emit(e.detail); + }, + false + ); + } + + private static INTERFACE_NAME: string = 'BeatOnAppInterface'; + isBrowserShown: boolean = false; + + public isAppLoaded(): boolean { + var isIt = window[AppIntegrationService.INTERFACE_NAME] != null; + return isIt; + } + + public refreshBrowser() { + console.log('calling interface refresh browser'); + window[AppIntegrationService.INTERFACE_NAME].refreshBrowser(); + } + + public showBrowser() { + var element = document.getElementById('mainContentDiv'); + var rect = element.getBoundingClientRect(); + console.log('calling interface show browser with offset ' + rect.top); + window[AppIntegrationService.INTERFACE_NAME].showBrowser(rect.top); + this.isBrowserShown = true; + } + + public hideBrowser() { + console.log('calling interface hide browser'); + window[AppIntegrationService.INTERFACE_NAME].hideBrowser(); + this.isBrowserShown = false; + } + + public browserGoBack() { + console.log('calling interface browser go back'); + window[AppIntegrationService.INTERFACE_NAME].browserGoBack(); + } + + public navigateBrowser(url: string) { + console.log('calling navigate browser with ' + url); + window[AppIntegrationService.INTERFACE_NAME].navigateBrowser(url); + } + + public showToast(title: string, message: string, type: ToastType, duration: number) { + console.log('calling toast'); + window[AppIntegrationService.INTERFACE_NAME].showToast(title, message, ToastType[type], duration); + } } diff --git a/frontend/src/app/services/beat-on-api.service.ts b/frontend/src/app/services/beat-on-api.service.ts index eb2f07a..a4e0a67 100644 --- a/frontend/src/app/services/beat-on-api.service.ts +++ b/frontend/src/app/services/beat-on-api.service.ts @@ -1,68 +1,100 @@ import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; -import {AppSettings} from '../appSettings'; +import { AppSettings } from '../appSettings'; import { Observable } from 'rxjs'; import { NetInfo } from '../models/NetInfo'; import { QuestomConfig } from '../models/QuestomConfig'; import { PlaylistSortMode } from '../models/PlaylistSortMode'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class BeatOnApiService { + hostname: string = AppSettings.API_ENDPOINT; + constructor(private http: HttpClient) {} - hostname : string = AppSettings.API_ENDPOINT; - constructor(private http: HttpClient) { } + getModStatus() { + return this.http.get(this.hostname + '/host/mod/status'); + } - getModStatus() { - return this.http.get(this.hostname+"/host/mod/status"); - } + installModStep1() { + return this.http.post(this.hostname + '/host/mod/install/step1', ''); + } - installModStep1() { - return this.http.post(this.hostname+"/host/mod/install/step1", ""); - } + installModStep2() { + return this.http.post(this.hostname + '/host/mod/install/step2', ''); + } - installModStep2() { - return this.http.post(this.hostname+"/host/mod/install/step2", ""); - } + installModStep3() { + return this.http.post(this.hostname + '/host/mod/install/step3', ''); + } - installModStep3() { - return this.http.post(this.hostname+"/host/mod/install/step3", ""); - } + resetAssets() { + return this.http.post(this.hostname + '/host/mod/resetassets', ''); + } - resetAssets() { - return this.http.post(this.hostname+"/host/mod/resetassets", ""); - } + uninstallBeatSaber() { + return this.http.post(this.hostname + '/host/mod/uninstallbeatsaber', ''); + } - uninstallBeatSaber() { - return this.http.post(this.hostname+"/host/mod/uninstallbeatsaber", ""); - } + getNetInfo(): Observable { + return >this.http.get(this.hostname + '/host/mod/netinfo'); + } - getNetInfo() : Observable { - return >this.http.get(this.hostname+"/host/mod/netinfo"); - } + getConfig(): Observable { + return >this.http.get(this.hostname + '/host/beatsaber/config'); + } - getConfig() : Observable { - return >this.http.get(this.hostname+"/host/beatsaber/config"); - } + uploadFile(fileData: any) { + return this.http.post(this.hostname + '/host/beatsaber/upload', fileData); + } - uploadFile(fileData : any) { - return this.http.post(this.hostname+"/host/beatsaber/upload", fileData); - } + commitConfig() { + return this.http.post(this.hostname + '/host/beatsaber/commitconfig', ''); + } - commitConfig() { - return this.http.post(this.hostname+"/host/beatsaber/commitconfig", ""); - } + reloadSongsFromFolders() { + return this.http.post(this.hostname + '/host/beatsaber/reloadsongfolders', ''); + } - reloadSongsFromFolders() { - return this.http.post(this.hostname+"/host/beatsaber/reloadsongfolders", ""); - } + putConfig(config: QuestomConfig) { + return this.http.put(this.hostname + '/host/beatsaber/config', config); + } - putConfig(config : QuestomConfig) { - return this.http.put(this.hostname+"/host/beatsaber/config", config); - } + autoCreatePlaylists(sortMode: PlaylistSortMode, maxNumPerNamePlaylist: number) { + return this.http.post( + this.hostname + + '/host/beatsaber/playlist/autocreate?sortorder=' + + PlaylistSortMode[sortMode] + + 'maxnumpernameplaylist=' + + maxNumPerNamePlaylist, + {} + ); + } - autoCreatePlaylists(sortMode : PlaylistSortMode, maxNumPerNamePlaylist : number) { - return this.http.post(this.hostname+"/host/beatsaber/playlist/autocreate?sortorder="+PlaylistSortMode[sortMode]+"maxnumpernameplaylist="+maxNumPerNamePlaylist, {}); - } + restoreCommittedConfig() { + return this.http.post(this.hostname + '/host/beatsaber/config/restore?configtype=committed', {}); + } + + revertConfig() { + return this.http.delete(this.hostname + '/host/beatsaber/config'); + } + + postLogs(tag) { + return this.http.post(this.hostname + '/host/mod/postlogs?tag=' + encodeURIComponent(tag), {}); + } + + getImageBlob(filename) { + return this.http.get(this.hostname + '/host/mod/image?filename=' + encodeURIComponent(filename), { responseType: 'blob' }); + } + + getImages() { + return this.http.get(this.hostname + '/host/mod/images'); + } + startBeatSaber() { + return this.http.post(this.hostname + '/host/mod/package?action=start&package=com.beatgames.beatsaber', {}); + } + quitBeatOn() { + return this.http.post(this.hostname + '/host/mod/exit', {}); + } } diff --git a/frontend/src/app/services/config.service.ts b/frontend/src/app/services/config.service.ts index a28e60f..96c211b 100644 --- a/frontend/src/app/services/config.service.ts +++ b/frontend/src/app/services/config.service.ts @@ -6,63 +6,54 @@ import { HostMessageService } from './host-message.service'; import { HostConfigChangeEvent } from '../models/HostConfigChangeEvent'; import { ToastrService } from 'ngx-toastr'; - @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class ConfigService implements OnInit { - @Output() configUpdated = new EventEmitter(); + @Output() configUpdated = new EventEmitter(); - constructor(private beatOnApi : BeatOnApiService, private msgSvc : HostMessageService, private toastr: ToastrService) { - console.log("config service subscribing to host config change event"); - this.msgSvc.configChangeMessage.subscribe((cfg : HostConfigChangeEvent) => - { - console.log("config service got updated config message"); - this.currentConfig = cfg.UpdatedConfig; - this.configUpdated.emit(cfg.UpdatedConfig); - }); - } + constructor(private beatOnApi: BeatOnApiService, private msgSvc: HostMessageService, private toastr: ToastrService) { + console.log('config service subscribing to host config change event'); + this.msgSvc.configChangeMessage.subscribe((cfg: HostConfigChangeEvent) => { + console.log('config service got updated config message'); + this.currentConfig = cfg.UpdatedConfig; + this.configUpdated.emit(cfg.UpdatedConfig); + }); + } - public getConfig() : Observable - { - return new Observable((observable) => - { - if (this.currentConfig != null) { - observable.next(this.currentConfig); - } - else { - this.beatOnApi.getConfig() - .subscribe((data: any) => { - this.currentConfig = data; - observable.next(data); - }, (err) => - { - this.toastr.error("Unable to load configuration", "Showstopping Error", { timeOut: 30 }); - this.currentConfig = { IsCommitted: true, Config: {}}; + public getConfig(): Observable { + return new Observable(observable => { + if (this.currentConfig != null) { observable.next(this.currentConfig); - }); - } - }); - } + } else { + this.beatOnApi.getConfig().subscribe( + (data: any) => { + this.currentConfig = data; + observable.next(data); + }, + err => { + this.toastr.error('Unable to load configuration', 'Showstopping Error', { timeOut: 30 }); + this.currentConfig = { IsCommitted: true, Config: {} }; + observable.next(this.currentConfig); + } + ); + } + }); + } - ngOnInit() { - - } + ngOnInit() {} - currentConfig : BeatOnConfig; - - refreshConfig() { - - this.beatOnApi.getConfig() - .subscribe( - (data: any) => { - this.currentConfig = data; - this.configUpdated.emit(data); - }, - (err: any) => { - console.log("ERROR" + err); - }, - ); + currentConfig: BeatOnConfig; - } + refreshConfig() { + this.beatOnApi.getConfig().subscribe( + (data: any) => { + this.currentConfig = data; + this.configUpdated.emit(data); + }, + (err: any) => { + console.log('ERROR' + err); + } + ); + } } diff --git a/frontend/src/app/services/host-message.service.ts b/frontend/src/app/services/host-message.service.ts index b757d72..c0910aa 100644 --- a/frontend/src/app/services/host-message.service.ts +++ b/frontend/src/app/services/host-message.service.ts @@ -2,7 +2,7 @@ import { Injectable, Output, EventEmitter, ApplicationRef } from '@angular/core' import { HostSetupEvent } from '../models/HostSetupEvent'; import { HostShowToast } from '../models/HostShowToast'; import { AppSettings } from '../appSettings'; -import * as Rx from "rxjs"; +import * as Rx from 'rxjs'; import { HostDownloadStatus } from '../models/HostDownloadStatus'; import { BeatOnConfig } from '../models/BeatOnConfig'; import { HostConfigChangeEvent } from '../models/HostConfigChangeEvent'; @@ -13,126 +13,142 @@ import { Observable } from 'rxjs'; import { HostOpStatus } from '../models/HostOpStatus'; import { MessageBase } from '../models/MessageBase'; import { debugOutputAstAsTypeScript } from '@angular/compiler'; +import { HostActionResponse } from '../models/HostActionResponse'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class HostMessageService { - private websocket : WebSocket; - private wsObsv : Rx.Observable; - private netConfig : NetInfo; - private connectionStatus : ConnectionStatus = ConnectionStatus.Disconnected; + private websocket: WebSocket; + private wsObsv: Rx.Observable; + private netConfig: NetInfo; + private connectionStatus: ConnectionStatus = ConnectionStatus.Disconnected; - constructor(private appRef : ApplicationRef, private beatOnApi: BeatOnApiService) { - if (AppSettings.WS_ENDPOINT_OVERRIDE) { - this.netConfig = { Url: AppSettings.API_ENDPOINT, WebSocketUrl: AppSettings.WS_ENDPOINT_OVERRIDE}; - this.openSocket(); - } else { - beatOnApi.getNetInfo().subscribe((netInfo : NetInfo) => { - this.netConfig = netInfo; - console.log("HostMessageService got net config info, websocket is at " + this.netConfig.WebSocketUrl); - this.openSocket(); - }, (err) => { - console.log("Critical error: could not get net info for web socket!"); - }); - } - } - - private openSocket() { - - if (this.websocket != null && this.websocket.readyState === WebSocket.OPEN) { - console.log("HostMessageService.openSocket called, but the connection is already open."); - return; + constructor(private appRef: ApplicationRef, private beatOnApi: BeatOnApiService) { + if (AppSettings.WS_ENDPOINT_OVERRIDE) { + this.netConfig = { Url: AppSettings.API_ENDPOINT, WebSocketUrl: AppSettings.WS_ENDPOINT_OVERRIDE }; + this.openSocket(); + } else { + beatOnApi.getNetInfo().subscribe( + (netInfo: NetInfo) => { + this.netConfig = netInfo; + console.log('HostMessageService got net config info, websocket is at ' + this.netConfig.WebSocketUrl); + this.openSocket(); + }, + err => { + console.log('Critical error: could not get net info for web socket!'); + } + ); + } } - if (this.websocket != null) - this.websocket.close(); + private openSocket() { + if (this.websocket != null && this.websocket.readyState === WebSocket.OPEN) { + console.log('HostMessageService.openSocket called, but the connection is already open.'); + return; + } + if (this.websocket != null) this.websocket.close(); - this.connectionStatus = ConnectionStatus.Connecting; - this.connectionStatusChanged.emit(this.connectionStatus); + this.connectionStatus = ConnectionStatus.Connecting; + this.connectionStatusChanged.emit(this.connectionStatus); - this.websocket = new WebSocket(this.netConfig.WebSocketUrl); - this.websocket.onopen = (ev:Event) => { - console.log("Connection opened"); - this.connectionStatus = ConnectionStatus.Connected; - this.connectionStatusChanged.emit(this.connectionStatus); - }; + this.websocket = new WebSocket(this.netConfig.WebSocketUrl); + this.websocket.onopen = (ev: Event) => { + console.log('Connection opened'); + this.connectionStatus = ConnectionStatus.Connected; + this.connectionStatusChanged.emit(this.connectionStatus); + }; - this.websocket.onmessage = (ev: MessageEvent) => { - //assuming if we get a message it's connected - if (this.connectionStatus != ConnectionStatus.Connected) { - this.connectionStatus = ConnectionStatus.Connected; - this.connectionStatusChanged.emit(this.connectionStatus); - } - var reader = new FileReader(); - reader.onload = () => { - let msgStr =reader.result; - let msgEvent = JSON.parse(msgStr); - if (msgEvent.Type == 'SetupEvent') { - this.setupMessage.emit(msgEvent); - } else if (msgEvent.Type == 'Toast') { - this.toastMessage.emit(msgEvent); - } else if (msgEvent.Type == 'DownloadStatus') { - this.downloadStatusMessage.emit(msgEvent); - } else if (msgEvent.Type == 'ConfigChange') { - this.configChangeMessage.emit(msgEvent); - } else if (msgEvent.Type = 'OpStatus') { - this.opStatusMessage.emit(msgEvent); - } else { - console.log(`Unknown host message: ${msgStr}`) - } - this.appRef.tick(); - }; - reader.readAsText(ev.data); - }; + this.websocket.onmessage = (ev: MessageEvent) => { + //assuming if we get a message it's connected + if (this.connectionStatus != ConnectionStatus.Connected) { + this.connectionStatus = ConnectionStatus.Connected; + this.connectionStatusChanged.emit(this.connectionStatus); + } + var reader = new FileReader(); + reader.onload = () => { + let msgStr = reader.result; + //console.log("got message: " + msgStr); + let msgEvent = JSON.parse(msgStr); + if (msgEvent.Type == 'SetupEvent') { + this.setupMessage.emit(msgEvent); + } else if (msgEvent.Type == 'Toast') { + this.toastMessage.emit(msgEvent); + } else if (msgEvent.Type == 'DownloadStatus') { + this.downloadStatusMessage.emit(msgEvent); + } else if (msgEvent.Type == 'ConfigChange') { + this.configChangeMessage.emit(msgEvent); + } else if (msgEvent.Type == 'OpStatus') { + this.opStatusMessage.emit(msgEvent); + } else if (msgEvent.Type == 'ActionResponse') { + this.actionResponseMessage.emit(msgEvent); + } else { + console.log(`Unknown host message: ${msgStr}`); + } + this.appRef.tick(); + }; + reader.readAsText(ev.data); + }; - this.websocket.onclose = (ev : Event) => { - this.connectionStatus = ConnectionStatus.Disconnected; - this.connectionStatusChanged.emit(this.connectionStatus); - console.log("Connection was closed, reconnecting in several seconds..."); - // setTimeout(() => { - // console.log("Trying to reopen socket..."); - // this.openSocket(); - // }, 2000); - }; + this.websocket.onclose = (ev: Event) => { + this.connectionStatus = ConnectionStatus.Disconnected; + this.connectionStatusChanged.emit(this.connectionStatus); + console.log('Connection was closed, reconnecting in several seconds...'); + // setTimeout(() => { + // console.log("Trying to reopen socket..."); + // this.openSocket(); + // }, 2000); + }; - this.websocket.onerror = (ev: Event) => { - this.connectionStatus = ConnectionStatus.Error; - this.connectionStatusChanged.emit(this.connectionStatus); - console.log("WEBSOCKET ERROR OH NOOOOO!"); - // console.log("Web socket error! Closing and reconnecting in several seconds."); - // setTimeout(() => { - // console.log("Trying to reopen socket..."); - // this.openSocket(); - // }, 2000); - }; - } + this.websocket.onerror = (ev: Event) => { + this.connectionStatus = ConnectionStatus.Error; + this.connectionStatusChanged.emit(this.connectionStatus); + console.log('WEBSOCKET ERROR OH NOOOOO!'); + // console.log("Web socket error! Closing and reconnecting in several seconds."); + // setTimeout(() => { + // console.log("Trying to reopen socket..."); + // this.openSocket(); + // }, 2000); + }; + } - public reconnect() { - //don't try to reconnect if it's open - if (this.websocket != null && this.websocket.readyState === WebSocket.OPEN) - return; - - this.openSocket(); - } + public reconnect() { + //don't try to reconnect if it's open + if (this.websocket != null && this.websocket.readyState === WebSocket.OPEN) return; - sendClientMessage(message : MessageBase) - { - this.websocket.send(JSON.stringify(message)); - } + this.openSocket(); + } - @Output() setupMessage = new EventEmitter(); - @Output() toastMessage = new EventEmitter(); - @Output() downloadStatusMessage = new EventEmitter(); - @Output() configChangeMessage = new EventEmitter(); - @Output() opStatusMessage = new EventEmitter(); - @Output() connectionStatusChanged = new EventEmitter(); + sendClientMessage(message: MessageBase) { + if (this.connectionStatus != ConnectionStatus.Connected) { + var sub; + sub = this.connectionStatusChanged.subscribe(constat => { + if (constat == ConnectionStatus.Connected) { + var msg = JSON.stringify(message); + this.websocket.send(msg); + sub.unsubscribe(); + } + }); + if (this.connectionStatus == ConnectionStatus.Disconnected) { + this.reconnect(); + } + } else { + var msg = JSON.stringify(message); + this.websocket.send(msg); + } + } + @Output() setupMessage = new EventEmitter(); + @Output() toastMessage = new EventEmitter(); + @Output() downloadStatusMessage = new EventEmitter(); + @Output() configChangeMessage = new EventEmitter(); + @Output() opStatusMessage = new EventEmitter(); + @Output() connectionStatusChanged = new EventEmitter(); + @Output() actionResponseMessage = new EventEmitter(); } -export enum ConnectionStatus -{ - Disconnected, - Connecting, - Connected, - Error -} \ No newline at end of file +export enum ConnectionStatus { + Disconnected, + Connecting, + Connected, + Error, +} diff --git a/frontend/src/app/setup-step1/setup-step1.component.scss b/frontend/src/app/setup-step1/setup-step1.component.scss index 1f22b24..fbed607 100644 --- a/frontend/src/app/setup-step1/setup-step1.component.scss +++ b/frontend/src/app/setup-step1/setup-step1.component.scss @@ -1,4 +1,3 @@ -.setup-icon -{ -font-size: 40px; -} \ No newline at end of file +.setup-icon { + font-size: 40px; +} diff --git a/frontend/src/app/setup-step3/setup-step3.component.html b/frontend/src/app/setup-step3/setup-step3.component.html index 0c35255..31594d2 100644 --- a/frontend/src/app/setup-step3/setup-step3.component.html +++ b/frontend/src/app/setup-step3/setup-step3.component.html @@ -10,8 +10,10 @@

    Beat On will now reinstall modded Beat Saber. Upon launching Beat Saber you will be prompted to allow Beat Saber permissions to access external storage. This will only happen once.

    If you do not already have untrusted sources enabled, you may be prompted to "allow untrusted sources" and will be directed to the settings page where you will need to turn on the option.

    IMPORTANT

    -

    After installation has completed, choose the DONE button. Do not press the OPEN button, Beat Saber will not launch from here.

    - +
      +
    • After installation has completed, choose the DONE button. Do not press the OPEN button, Beat Saber will not launch from here.
    • +
    • When the modded APK gets installed, it will probably tell you that you don't have "untrusted sources" enabled and will offer to take you to the settings page. Go to the settings page, and turn on the switch for allowing untrusted sources, then you can continue installing the modded APK.
    • +
    diff --git a/frontend/src/app/setup/setup.component.html b/frontend/src/app/setup/setup.component.html index 4337dfd..5086358 100644 --- a/frontend/src/app/setup/setup.component.html +++ b/frontend/src/app/setup/setup.component.html @@ -4,34 +4,17 @@ update
    Setup - Intruduction + Introduction -

    You need:

    -
      -
    • Probably a gig or so of free space? maybe 500-600mb?
    • -
    • Beat Saber 1.1.0 (unmodified) installed
    • -
    -
      -
    • - Step 1: -
        -
      • Prepare for installing Beat On by copying out the APK to external storage
      • -
      • Ask you to uninstall Beat Saber (say yes)
      • -
      -
    • -
    • - Step 2 (not neccesarily in this order): -
        -
      • Do all the other stuff, it takes a bit.
      • -
      -
    • -
    - -

    ***IMPORTANT***

    -

    - When the modded APK gets installed, it will probably tell you that you don't have "untrusted sources" enabled and will offer to take you to the settings page. Go to the settings page, and turn on the switch for allowing untrusted sources, then you can continue installing the modded APK. -

    +

    Welcome to Beat On!

    +

    Beat On will modify and reinstall your copy of Beat Saber so that it can support custom songs and some additional modifications. + After the modifications to Beat Saber during the setup process, Beat On will allow you to download songs on the Quest from this app, upload songs from your computer, manage custom playlists from the Quest or your computer's browser and install some types of other modifications.

    + +

    This version of Beat On is intended for Beat Saber version 1.1.0!

    +

    It is remotely possible that it may work with future versions of Beat Saber without modification, however it is highly likely that if a new version of Beat Saber has been released, this will result in a Beat Saber that doesn't work and you will need to wait for an update to Beat On.

    +
    +

    If at any point you have problems with Beat Saber or Beat On, uninstalling Beat Saber (either through Beat On or another tool like adb) and reinstalling Beat Saber from the Oculus Store will revert Beat Saber back to normal.

    diff --git a/frontend/src/app/setup/setup.component.scss b/frontend/src/app/setup/setup.component.scss index ccc15ed..896f65d 100644 --- a/frontend/src/app/setup/setup.component.scss +++ b/frontend/src/app/setup/setup.component.scss @@ -1,7 +1,5 @@ -@import '../../theme.scss'; +@import "../../theme.scss"; -.setup-icon -{ -font-size: 40px; +.setup-icon { + font-size: 40px; } - diff --git a/frontend/src/app/song-pack-manager/song-pack-manager.component.html b/frontend/src/app/song-pack-manager/song-pack-manager.component.html new file mode 100644 index 0000000..e51bc01 --- /dev/null +++ b/frontend/src/app/song-pack-manager/song-pack-manager.component.html @@ -0,0 +1,155 @@ + +
    +
    +
    +

    + + + + + + + + + + + + + + My Playlists +

    +
    +
    +
    +
    +
    + + + + + + + close + edit + done_all + + more_vert + + navigate_next + +
    {{pack.PlaylistName}}
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    + + navigate_before + + + fitness_center + face + sort + + edit + done_all + +

    {{selectedPlaylist.PlaylistName}}

    +
    +
    + +
  • +
    + close + + more_vert + {{song.SongName}} +

    {{song.LevelAuthorName?'Level Author: '+song.LevelAuthorName:''}}{{song.SongAuthorName?' - Song Author: '+song.SongAuthorName:''}}{{song.SongName?' - '+song.SongName:''}}

    +
  • +
  • Drop song here to add!
  • +
    +
    +
    + + + +
    +
    + +

    +
    + + + fitness_center + face + sort + + check_box + done_all + +
    +
    {{ songsPack.PlaylistName }}
    + edit +

    + + +
  • +
    + close + + Select Song + + + more_vert + {{song.SongName}} +

    {{song.LevelAuthorName?'Level Author: '+song.LevelAuthorName:''}}{{song.SongAuthorName?' - Song Author: '+song.SongAuthorName:''}}{{song.SongName?' - '+song.SongName:''}}

    +
  • +
  • Drop song here to add!
  • +
    +
    +
    +
    +
    +
      + +
    diff --git a/frontend/src/app/song-pack-manager/song-pack-manager.component.scss b/frontend/src/app/song-pack-manager/song-pack-manager.component.scss new file mode 100644 index 0000000..f94970f --- /dev/null +++ b/frontend/src/app/song-pack-manager/song-pack-manager.component.scss @@ -0,0 +1,434 @@ +@import "../../theme.scss"; +@include mat-core; + +.packs-left, +.packs-right { + display: block; + float: left; + width: 100%; + height: 100%; +} + +.packs-right { + width: 100%; +} + +.right { + float: right; +} + +.left { + float: left; +} + +button.right { + margin-left: 15px; +} + +.drag-playlist { + margin-top: -15px; +} + +.left-col, +.right-col { + width: calc(50% - 15px); + display: inline-block; + height: 100%; + margin-left: 10px; + margin-right: 5px; + vertical-align: top; +} + +.right-col { + margin-left: 5px; + margin-right: 10px; +} + +.outer-container { + height: calc(100% - 10px); + overflow: hidden; + margin-top: -10px; + color: white; +} + +.collection-song { + line-height: 2rem; + padding: 10px 10px; + margin: 0; + border-bottom: 1px solid #e0e0e0; + user-select: none; + max-width: 100%; + position: relative; + min-height: 50px; + + .avatar { + height: 65px; + padding-left: 72px; + position: relative; + + .title { + font-size: 16px; + vertical-align: middle; + display: inline-block; + } + + } + + &:last-child { + border-bottom: initial; + } + +} + +.edit-main-playlist { + margin-left: 10px; + font-size: 24px; +} + +.pack-song-container .collection-song .checkbox-container { + display: none; +} + +.song-container .collection-song:last-child { + border-bottom: 1px solid #e0e0e0; +} + +.handle { + touch-action: none; + cursor: pointer; +} + +.packOuter { + color: white; + vertical-align: middle; + user-select: none; + border-bottom: 1px solid white; + height: 38px; + padding-top: 20px; + + i { + margin-left: 15px; + } + +} + +.playlistInner { + color: white; + vertical-align: middle; + user-select: none; + margin-top: 29px; + margin-bottom: 23px; +} + +.collection-song.avatar:not(.circle-clipper) > .circle, +.collection-song.avatar :not(.circle-clipper) > .circle { + //position: absolute; + float: left; + width: 42px; + height: 42px; + overflow: hidden; + display: inline-block; + vertical-align: middle; +} + +.pack-image, .main-pack-image { + width: 48px; + height: 48px; + overflow: hidden; + display: block; + float: left; +} + +.pack-image { + margin-left: 7px; + margin-top: -15px; +} + +.main-pack-image { + margin-top: 15px; + margin-right: 12px; +} + +.select-song { + margin-top: 15px; + margin-right: 10px; + color: lightgray; +} + +.drag-indicator { + font-size: 2rem; + line-height: 3rem; + vertical-align: middle; +} +.drag-indicator.handle{ + float: left; +} + +.truncate { + display: block; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.gu-mirror { + position: fixed !important; + margin: 0 !important; + z-index: 9999 !important; + opacity: 0.8; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; + filter: alpha(opacity=80); +} + +.collection { + color: white; +} + +.gu-hide { + display: none !important; +} + +.gu-unselectable { + -webkit-user-select: none !important; + -moz-user-select: none !important; + -ms-user-select: none !important; + user-select: none !important; +} + +.gu-transit { + opacity: 0.2; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)"; + filter: alpha(opacity=20); +} + +.cursor { + cursor: pointer; +} + +.collection li, +.collection-song { + list-style-type: none; + color: white; +} + +.add-to-drag { + width: 100%; + padding: 1em; + border: 2px dashed #3f3f3f; + text-align: center; + box-sizing: border-box; +} + +.side-packs { + height: 100%; +} + +.side-packs-fixed { + position: fixed; + width: 40%; + height: 100%; +} + +.delete-pack { + display: none; +} + +.sort-songs { + float: right; +} + +.no-margin-top { + margin-top: 0; +} + +.song-handle-backer { + width: 110px; + height: calc(100% - 16px); + position: absolute; + left: 0; + top: 8px; + z-index: 99; +} + +.pack-handle-backer { + position: relative; + width: 0; + height: 0; + + div:first-child { + width: 100px; + /* height: 90px; */ + position: absolute; + left: 5px; + top: 0px; + margin-top: -20px; + height: 56px; + } + +} + +.pack-container, +.song-container { + height: calc(100% - 75px); + overflow: auto; + border: 1px solid #cfcfcf; + border-right: 0px solid #cfcfcf !important; + border-left: 1px solid #cfcfcf !important; + scroll-behavior: smooth; +} + +.material-icons.right.cursor { + margin-right: 3px; + margin-top: -5px; +} + +.name, +.name-top { + padding-left: 1.2em !important; + font-size: 14px; +} + +.songpackname { + overflow: ellipsis; + white-space: nowrap; + display: inline-block; + max-width: calc(100% - 370px); + margin-top: 4px; + margin-bottom: -4px; +} + +.name-top { + padding-top: 2px; +} + +.playlists-label-top { + padding-top: 10px; + padding-left: 5px; + + button { + margin-top: -9px; + } + +} + +.song-container { + height: calc(100% - 75px); + background: rgba(255, 255, 255, 0.36); + padding-left: 0px; + max-width: 100%; +} + +.pack-container { + background: rgba(255, 255, 255, 0.2); + + .collection-song.cdk-drag-placeholder { + height: 0px !important; + width: 0px !important; + overflow: hidden; + padding: 0px; + margin: 0px; + } + +} + +.pack-container .collection-song.cdk-drag-placeholder { + height: 0px !important; + width: 0px !important; + overflow: hidden; + padding: 0px; + margin: 0px; + min-height: 0px; +} + + +.pack-song-container-outer { + border-top: 1px solid #e0e0e0; + height: 100%; + overflow-y: scroll; + overflow-x: hidden; +} + +.pack-container > li.collection-song, +div.collection-song, div.packOuter { + transform: none !important; +} + +.add-to-pack { + padding: 1em; + width: 100%; + border: 3px dashed darkgrey; + text-align: center; +} + +.show-pack { + margin-right: 0.5em; +} + +.pack-song-container { + padding-left: 10px; + padding-right: 10px; + background: rgba(255, 255, 255, 0.2); + height: calc(100% - 76px); + scroll-behavior: smooth; + //min-height: 86px; + //max-height: 400px; + //overflow: auto; + + &.cdk-drop-list-dragging .example-box:not(.cdk-drag-placeholder) { + transition: transform 250ms cubic-bezier(0, 0, 0.2, 1); + } + + &-outer ul { + margin-block-start: 0px; + } + +} + +.song-sort { + margin-top: 15px; + margin-right: 20px; + vertical-align: middle; + + i { + padding-left: 15px; + } + +} + +.hide-this { + padding: 0; + margin: 0; + border: 0px solid white; + height: 0px; +} + +.description { + margin-top: -10px; + font-size: 0.8rem; + font-style: italic; + margin-bottom: 0; +} + +.playlist-check { + animation: bigEntry 400ms 1; +} + +@keyframes bigEntry { + + 0% { + transform: scale(0.2); + text-shadow: 1px 1px 5px #ad2c2c, -1px 1px 5px #ad2c2c, 1px -1px 5px #ad2c2c, -1px -1px 5px #ad2c2c; + } + + 50% { + transform: scale(1.5); + text-shadow: 3px 3px 10px #ad2c2c, -3px 3px 10px #ad2c2c, 3px -3px 10px #ad2c2c, -3px -3px 10px #ad2c2c; + } + + 100% { + transform: scale(1); + text-shadow: 5px 5px 15px rgba(173, 44, 44, 0), -5px 5px 15px rgba(173, 44, 44, 0), + 5px -5px 15px rgba(173, 44, 44, 0), -5px -5px 15px rgba(173, 44, 44, 0); + } + +} diff --git a/frontend/src/app/song-pack-manager/song-pack-manager.component.spec.ts b/frontend/src/app/song-pack-manager/song-pack-manager.component.spec.ts new file mode 100644 index 0000000..b1362bd --- /dev/null +++ b/frontend/src/app/song-pack-manager/song-pack-manager.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { SongPackManagerComponent } from './song-pack-manager.component'; + +describe('SongPackManagerComponent', () => { + let component: SongPackManagerComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ SongPackManagerComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(SongPackManagerComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/frontend/src/app/song-pack-manager/song-pack-manager.component.ts b/frontend/src/app/song-pack-manager/song-pack-manager.component.ts new file mode 100644 index 0000000..2a5dc48 --- /dev/null +++ b/frontend/src/app/song-pack-manager/song-pack-manager.component.ts @@ -0,0 +1,472 @@ +import { + ChangeDetectorRef, + Component, + EventEmitter, + Input, + OnInit, + Output, + ViewChild, + OnChanges, + SimpleChanges, + AfterViewChecked, + ElementRef, +} from '@angular/core'; +import { Subscription } from 'rxjs/internal/Subscription'; +import { ClientSortPlaylist } from '../models/ClientSortPlaylist'; +import { PlaylistSortMode } from '../models/PlaylistSortMode'; +import { HostMessageService } from '../services/host-message.service'; +import { AppSettings } from '../appSettings'; +import { fromEvent } from 'rxjs/internal/observable/fromEvent'; +import { merge } from 'rxjs/internal/observable/merge'; +import { ClientMoveSongInPlaylist } from '../models/ClientMoveSongInPlaylist'; +import { ClientMoveSongToPlaylist } from '../models/ClientMoveSongToPlaylist'; +import { ClientMovePlaylist } from '../models/ClientMovePlaylist'; +import { ClientDeleteSong } from '../models/ClientDeleteSong.cs'; +import { ClientDeletePlaylist } from '../models/ClientDeletePlaylist'; +import { BeatSaberPlaylist } from '../models/BeatSaberPlaylist'; +import { AddEditPlaylistDialogComponent } from '../add-edit-playlist-dialog/add-edit-playlist-dialog.component'; +import { MatDialog } from '@angular/material/dialog'; +import { ClientAddOrUpdatePlaylist } from '../models/ClientAddOrUpdatePlaylist'; +import { ConfigService } from '../services/config.service'; +import { Subject } from 'rxjs/internal/Subject'; +import { ClientAutoCreatePlaylists } from '../models/ClientAutoCreatePlaylists'; +import { trigger, transition, style, animate, state } from '@angular/animations'; +import { AppIntegrationService } from '../services/app-integration.service'; +import { AppButtonEvent, AppButtonType } from '../models/AppButtonEvent'; +import { CdkDragPlaceholder } from '@angular/cdk/drag-drop'; +import { BeatOnConfig } from '../models/BeatOnConfig'; +import { BeatSaberSong } from '../models/BeatSaberSong'; +import { NoCustomSongsPipe } from '../pipes/no-custom-songs'; +import { OnlyCustomSongsPipe } from '../pipes/only-custom-songs'; +import { ConfirmDialogComponent } from '../confirm-dialog/confirm-dialog.component'; +import { ExtendedScrollToOptions } from '@angular/cdk/scrolling'; +declare let autoScroll; +@Component({ + selector: 'app-song-pack-manager', + templateUrl: './song-pack-manager.component.html', + styleUrls: ['./song-pack-manager.component.scss'], + animations: [ + trigger('winkout', [ + transition(':leave', [style({ transform: 'scale(1)' }), animate('0.1s', style({ transform: 'scale(0)' }))]), + ]), + ], +}) +export class SongPackManagerComponent implements OnInit { + @ViewChild('song_container', { static: false }) song_container; + @ViewChild('pack_song_container', { static: false }) pack_song_container; + @ViewChild('pack_container', { static: false }) pack_container; + @ViewChild('mirror_holder', { static: false }) mirror_holder; + @ViewChild('empty', { static: true }) empty; + selectedPlaylist: BeatSaberPlaylist; + packs: BeatSaberPlaylist[]; + songs: BeatSaberSong[]; + songsPack: BeatSaberPlaylist; + private config: BeatOnConfig; + checkboxChecked: boolean; + selectAllToggle: boolean; + reverseSortToggle: boolean; + defaultImage: string = 'assets/default-pack-cover.png'; + BAG = 'SONGS'; + test: string; + subs = new Subscription(); + scrollObserver: any; + lastPackScrollOffset: number; + lastSongsScrollOffset: number; + updateSearchResult: Subject; + updateHack: number = 0; + private SCROLL_ACCEL_INCREMENT: number = 50; + private SCROLL_ACCEL_DELAY_MS: number = 350; + private scrollLastButton; + private scrollAccel: number = 0; + private scrollLastTime: number = 0; + public constructor( + private dialog: MatDialog, + private configSvc: ConfigService, + private msgSvc: HostMessageService, + public integrationService: AppIntegrationService, + private nocustomsongs: NoCustomSongsPipe, + private onlycustomsongs: OnlyCustomSongsPipe + ) { + this.updateSearchResult = new Subject(); + this.subs.add( + this.integrationService.appButtonPressed.subscribe((be: AppButtonEvent) => { + const SCROLL_SIZE: number = 300; + if ( + this.scrollLastButton == be.button && + new Date().getTime() - this.scrollLastTime <= this.SCROLL_ACCEL_DELAY_MS + ) { + this.scrollAccel = this.scrollAccel + this.SCROLL_ACCEL_INCREMENT; + } else { + this.scrollAccel = 0; + } + this.scrollLastButton = be.button; + this.scrollLastTime = new Date().getTime(); + var scrollFunc = ele => { + if (be.button == AppButtonType.Down) { + if (ele.scrollTop < ele.scrollHeight - ele.offsetHeight) { + var scrollAmt = ele.scrollHeight - ele.offsetHeight - ele.scrollTop; + if (scrollAmt > SCROLL_SIZE) scrollAmt = SCROLL_SIZE; + ele.scrollTo(ele.scrollLeft, ele.scrollTop + scrollAmt + this.scrollAccel); + } + } else if (be.button == AppButtonType.Up) { + if (ele.scrollTop > 0) { + var scrollAmt: number = ele.scrollTop; + if (scrollAmt > SCROLL_SIZE) scrollAmt = SCROLL_SIZE; + ele.scrollTo(ele.scrollLeft, ele.scrollTop - (scrollAmt + this.scrollAccel)); + } + } + }; + var cdkScrollFunc = ele => { + var ex: ExtendedScrollToOptions = {}; + ex.left = 0; + if (be.button == AppButtonType.Down) { + ex.bottom = ele.measureScrollOffset('bottom') - (SCROLL_SIZE + this.scrollAccel); + if (ex.bottom < 0) ex.bottom = 0; + ele.scrollTo(ex); + } else if (be.button == AppButtonType.Up) { + ex.top = ele.measureScrollOffset('top') - (SCROLL_SIZE + this.scrollAccel); + if (ex.top < 0) ex.top = 0; + ele.scrollTo(ex); + } + }; + var bounds; + if (this.song_container) { + bounds = this.song_container.elementRef.nativeElement.getBoundingClientRect(); + if (be.x >= bounds.left && be.x <= bounds.right && be.y >= bounds.top && be.y <= bounds.bottom) { + //pointer is in the song container when the button was pressed + cdkScrollFunc(this.song_container); + return; + } + } + if (this.pack_container) { + bounds = this.pack_container.nativeElement.getBoundingClientRect(); + if (be.x >= bounds.left && be.x <= bounds.right && be.y >= bounds.top && be.y <= bounds.bottom) { + //pointer is in the packs container when the button was pressed + scrollFunc(this.pack_container.nativeElement); + return; + } + } + if (this.pack_song_container) { + bounds = this.pack_song_container.elementRef.nativeElement.getBoundingClientRect(); + if (be.x >= bounds.left && be.x <= bounds.right && be.y >= bounds.top && be.y <= bounds.bottom) { + //pointer is in the packs container when the button was pressed + cdkScrollFunc(this.pack_song_container); + return; + } + } + //check any other elements that may need to respond to button presses + }) + ); + } + + ngOnDestroy() { + this.subs.unsubscribe(); + } + ngOnInit() { + this.configSvc.getConfig().subscribe(this.handleConfig.bind(this)); + this.configSvc.configUpdated.subscribe(this.handleConfig.bind(this)); + } + ngAfterViewInit() {} + hasSelected() { + return this.songs.filter(s => s.Selected).length; + } + private lastDragPointer; + dragMove(e) { + this.lastDragPointer = e.pointerPosition; + } + handleConfig(cfg: BeatOnConfig) { + this.config = cfg; + this.packs = this.nocustomsongs.transform(cfg.Config.Playlists); + var customSongsPack = this.onlycustomsongs.transform(cfg.Config.Playlists); + if (customSongsPack.length < 1) { + const pl: BeatSaberPlaylist = { SongList: [] }; + pl.PlaylistID = 'CustomSongs'; + pl.PlaylistName = 'Custom Songs'; + const plMsg = new ClientAddOrUpdatePlaylist(); + plMsg.Playlist = pl; + this.msgSvc.sendClientMessage(plMsg); + this.songsPack = pl; + } else { + this.songsPack = customSongsPack[0]; + } + this.songs = this.songsPack.SongList; + } + drop(data) { + const target_pack = data.container.element.nativeElement as HTMLElement; + const item_element = data.item.element.nativeElement as HTMLElement; + var playlistId; + if (this.pack_container && this.pack_container.id == data.container.element.id && item_element.dataset.song_id) { + //if it's being dropped on top of a playlist, find the playlist under the coordinates of the drop. cdk dragdrop isn't great in some ways. + if (this.pack_container && data.container.element.nativeElement === this.pack_container.nativeElement) { + var findPl; + findPl = ele => { + if (ele == null) return null; + if (ele.attributes['data-playlist_id']) { + return ele.attributes['data-playlist_id'].value; + } else { + if (ele.id == target_pack.id) return; + else if (ele.parentElement == null) return null; + else return findPl(ele.parentElement); + } + }; + playlistId = findPl(document.elementFromPoint(this.lastDragPointer.x, this.lastDragPointer.y)); + } + if (playlistId == null) { + playlistId = this.packs[data.currentIndex].PlaylistID; + } + } else { + playlistId = target_pack.dataset.playlist_id; + } + let index = data.currentIndex; + if (!this.selectedPlaylist && target_pack === this.pack_container.nativeElement && !item_element.dataset.song_id) { + const csongsindex = this.config.Config.Playlists.findIndex(x => x.PlaylistID == this.songsPack.PlaylistID); + if (csongsindex > -1 && index > csongsindex) index = index + 1; + const msg = new ClientMovePlaylist(); + msg.PlaylistID = item_element.dataset.playlist_id; + msg.Index = index; + this.msgSvc.sendClientMessage(msg); + } else { + const rr = this.song_container.getRenderedRange(); + var rrPack; + if (this.pack_song_container) { + rrPack = this.pack_song_container.getRenderedRange(); + } + let songId = item_element.dataset.song_id; + let lastIndex = data.currentIndex; + var from: string; + var to: string; + if (data.container.element.nativeElement === this.song_container.elementRef.nativeElement) { + to = 'songs'; + index = data.currentIndex + rr.start; + } else if ( + this.pack_song_container && + data.container.element.nativeElement === this.pack_song_container.elementRef.nativeElement + ) { + to = 'packsongs'; + index = data.currentIndex + rrPack.start; + } else if (this.pack_container && data.container.element.nativeElement == this.pack_container.nativeElement) { + to = 'pack'; + } + if (data.previousContainer.element.nativeElement == this.song_container.elementRef.nativeElement) { + from = 'songs'; + lastIndex = lastIndex + rr.start; + } else if ( + this.pack_song_container && + data.previousContainer.element.nativeElement == this.pack_song_container.elementRef.nativeElement + ) { + from = 'packsongs'; + lastIndex = lastIndex + rrPack.start; + } else if (this.pack_container && data.previousContainer.element.nativeElement == this.pack_container.nativeElement) { + from = 'pack'; + } + if (from == 'songs' && to == 'pack') { + const pl = this.packs.find(x => x.PlaylistID == playlistId); + if (pl) { + index = pl.SongList.length; + } else { + index = 0; + } + } + console.log( + 'drop moving songid from ' + + from + + ' at index ' + + lastIndex + + ' to ' + + to + + ' (playlist ID ' + + playlistId + + ') at index ' + + index + ); + if (from == 'pack' && to == 'songs') { + var nextIndex = index; + data.item.data.SongList.forEach(x => { + const msg = new ClientMoveSongToPlaylist(); + msg.ToPlaylistID = playlistId; + msg.SongID = x.SongID; + msg.Index = nextIndex; + this.msgSvc.sendClientMessage(msg); + nextIndex = nextIndex + 1; + }); + this.removePlaylist(data.item.data.PlaylistID); + } else { + if (from == to) { + const msg = new ClientMoveSongInPlaylist(); + msg.SongID = songId; + msg.Index = index; + this.msgSvc.sendClientMessage(msg); + } else { + const msg = new ClientMoveSongToPlaylist(); + msg.ToPlaylistID = playlistId; + msg.SongID = songId; + msg.Index = index; + this.msgSvc.sendClientMessage(msg); + } + data.previousContainer.data.splice(lastIndex, 1); + data.container.data.splice(index, 0, data.item.data); + } + } + } + addSelected(pack) { + const songsToMove = this.songs.filter(s => s.Selected); + songsToMove.forEach(s => { + const msg = new ClientMoveSongToPlaylist(); + msg.ToPlaylistID = pack.PlaylistID; + msg.SongID = s.SongID; + //msg.Index = 0; + this.msgSvc.sendClientMessage(msg); + }); + pack.SongList = pack.SongList.concat(songsToMove); + this.songs.forEach(s => (s.Selected = false)); + this.checkboxChecked = false; + } + getBackground(SongID) { + let fixedUri = encodeURIComponent(SongID); + fixedUri = fixedUri.replace('(', '%28').replace(')', '%29'); + return AppSettings.API_ENDPOINT + '/host/beatsaber/song/cover?songid=' + fixedUri; + } + updateImages(timeout: number) { + setTimeout(() => this.updateSearchResult.next(), timeout); + } + getPackBackground(PlaylistID) { + let fixedUri = encodeURIComponent(PlaylistID); + fixedUri = fixedUri.replace('(', '%28').replace(')', '%29'); + return ( + AppSettings.API_ENDPOINT + '/host/beatsaber/playlist/cover?playlistid=' + fixedUri + '&updateCount=' + this.updateHack + ); + } + sortAuthor(PlaylistID: string) { + this.sortPack(PlaylistID, PlaylistSortMode.LevelAuthor); + } + sortDifficulty(PlaylistID: string) { + this.sortPack(PlaylistID, PlaylistSortMode.MaxDifficulty); + } + sortName(PlaylistID: string) { + this.sortPack(PlaylistID, PlaylistSortMode.Name); + } + sortPack(PlaylistID: string, mode: PlaylistSortMode) { + this.reverseSortToggle = !this.reverseSortToggle; + const sort = new ClientSortPlaylist(); + sort.PlaylistID = PlaylistID; + sort.SortMode = mode; + sort.Reverse = this.reverseSortToggle; + this.msgSvc.sendClientMessage(sort); + } + addEditPlaylist(playlist?: BeatSaberPlaylist) { + const dialogRef = this.dialog.open(AddEditPlaylistDialogComponent, { + width: '450px', + height: '320px', + disableClose: true, + data: { + playlist: playlist + ? { PlaylistID: playlist.PlaylistID, PlaylistName: playlist.PlaylistName } + : null || {}, + isNew: !playlist, + }, + }); + dialogRef.afterClosed().subscribe(res => this.dialogClosed(res)); + } + deletePlaylist(playlist: BeatSaberPlaylist) { + if (!playlist.SongList.length) { + this.removePlaylist(playlist.PlaylistID); + } else { + const dialogRef = this.dialog.open(ConfirmDialogComponent, { + width: '450px', + height: '200px', + disableClose: true, + data: { + title: 'Delete ' + playlist.PlaylistName + '?', + subTitle: + 'Are you sure you want to delete this playlist' + + (playlist.SongList.length ? ' and all ' + playlist.SongList.length + ' songs on it?' : '?'), + button1Text: 'Yes', + }, + }); + dialogRef.afterClosed().subscribe(res => { + if (res == 1) { + this.removePlaylist(playlist.PlaylistID); + } + }); + } + } + dialogClosed(result) { + //if cancelled + if (result == null) return; + if (result['deletePlaylist'] === true) { + this.removePlaylist(result.playlist.PlaylistID); + } else { + //must be a save + if (result.isNew) { + this.configSvc.getConfig().subscribe(cfg => { + cfg.Config.Playlists.push(result.playlist); + const msg = new ClientAddOrUpdatePlaylist(); + msg.Playlist = result.playlist; + this.msgSvc.sendClientMessage(msg); + }); + } else { + this.configSvc.getConfig().subscribe(cfg => { + let found = null; + cfg.Config.Playlists.forEach(p => { + if (p.PlaylistID == result.playlist.PlaylistID) { + found = p; + if (result.playlist.CoverImageBytes && result.playlist.CoverImageBytes.length > 50) { + found.CoverImageBytes = result.playlist.CoverImageBytes; + } + found.PlaylistName = result.playlist.PlaylistName; + } + }); + if (found) { + const msg = new ClientAddOrUpdatePlaylist(); + msg.Playlist = found; + this.msgSvc.sendClientMessage(msg); + var sub; + sub = this.msgSvc.configChangeMessage.subscribe(cfg => { + sub.unsubscribe(); + this.updateHack = new Date().getTime(); + }); + } + }); + } + } + } + removePlaylist(PlaylistID) { + const msg = new ClientDeletePlaylist(); + msg.PlaylistID = PlaylistID; + this.msgSvc.sendClientMessage(msg); + } + removeSong(SongID) { + const msg = new ClientDeleteSong(); + msg.SongID = SongID; + this.msgSvc.sendClientMessage(msg); + } + removeSongFromPack(song, pack) { + const msg = new ClientMoveSongToPlaylist(); + msg.ToPlaylistID = 'CustomSongs'; + msg.SongID = song.SongID; + msg.Index = this.songs.length; + this.msgSvc.sendClientMessage(msg); + this.songs.push(song); + pack.SongList = pack.SongList.filter(s => s !== song); + } + selectAll() { + this.selectAllToggle = !this.selectAllToggle; + this.checkboxChecked = true; + this.songs.forEach(s => { + s.Selected = this.selectAllToggle; + }); + } + autoSortName(max: number) { + var msg = new ClientAutoCreatePlaylists(); + msg.MaxPerNamePlaylist = max; + msg.SortMode = PlaylistSortMode.Name; + this.msgSvc.sendClientMessage(msg); + } + autoSortDifficulty() { + var msg = new ClientAutoCreatePlaylists(); + msg.MaxPerNamePlaylist = 5; + msg.SortMode = PlaylistSortMode.MaxDifficulty; + this.msgSvc.sendClientMessage(msg); + } + openPack() {} +} diff --git a/frontend/src/app/sync-saber-max-songs/sync-saber-max-songs.component.html b/frontend/src/app/sync-saber-max-songs/sync-saber-max-songs.component.html new file mode 100644 index 0000000..701f894 --- /dev/null +++ b/frontend/src/app/sync-saber-max-songs/sync-saber-max-songs.component.html @@ -0,0 +1,3 @@ +
    + navigate_before
    {{reader.MaxSongs === 0 ? '∞' : reader.MaxSongs}}
    navigate_next +
    diff --git a/frontend/src/app/sync-saber-max-songs/sync-saber-max-songs.component.scss b/frontend/src/app/sync-saber-max-songs/sync-saber-max-songs.component.scss new file mode 100644 index 0000000..64b45b1 --- /dev/null +++ b/frontend/src/app/sync-saber-max-songs/sync-saber-max-songs.component.scss @@ -0,0 +1,13 @@ +.vertical-align, .vertical-align mat-icon{ + vertical-align: middle; + font-size: 1.2em; + cursor: pointer; + user-select: none; +} + +.number { + width: 28px; + display: inline-block; + text-align: center; + margin-left: -4px; +} \ No newline at end of file diff --git a/frontend/src/app/sync-saber-max-songs/sync-saber-max-songs.component.spec.ts b/frontend/src/app/sync-saber-max-songs/sync-saber-max-songs.component.spec.ts new file mode 100644 index 0000000..ed0c76d --- /dev/null +++ b/frontend/src/app/sync-saber-max-songs/sync-saber-max-songs.component.spec.ts @@ -0,0 +1,24 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { SyncSaberMaxSongsComponent } from './sync-saber-max-songs.component'; + +describe('SyncSaberMaxSongsComponent', () => { + let component: SyncSaberMaxSongsComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [SyncSaberMaxSongsComponent], + }).compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(SyncSaberMaxSongsComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/frontend/src/app/sync-saber-max-songs/sync-saber-max-songs.component.ts b/frontend/src/app/sync-saber-max-songs/sync-saber-max-songs.component.ts new file mode 100644 index 0000000..47e2ffd --- /dev/null +++ b/frontend/src/app/sync-saber-max-songs/sync-saber-max-songs.component.ts @@ -0,0 +1,25 @@ +import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core'; +import { FeedReader } from '../models/FeedReader'; + +@Component({ + selector: 'app-sync-saber-max-songs', + templateUrl: './sync-saber-max-songs.component.html', + styleUrls: ['./sync-saber-max-songs.component.scss'], +}) +export class SyncSaberMaxSongsComponent implements OnInit { + @Input() reader: FeedReader; + @Output() update = new EventEmitter(); + constructor() {} + + ngOnInit() {} + + down() { + this.reader.MaxSongs = this.reader.MaxSongs < 1 ? 0 : this.reader.MaxSongs - 10; + this.update.emit(); + } + + up() { + this.reader.MaxSongs = this.reader.MaxSongs > 199 ? 200 : this.reader.MaxSongs + 10; + this.update.emit(); + } +} diff --git a/frontend/src/app/sync-saber/sync-saber.component.html b/frontend/src/app/sync-saber/sync-saber.component.html new file mode 100644 index 0000000..6b7709b --- /dev/null +++ b/frontend/src/app/sync-saber/sync-saber.component.html @@ -0,0 +1,182 @@ + + +
    + sync +
    + SyncSaber Feeds + Automatic feed sync from online song feeds. +
    + + + +
    + +
    + +
    + +
    +
    +
    Max Songs
    +

    What's Popular + +

    +
    +
    +
    + + + BeatSaver's Hot + +

    +
    +
    + + + BeatSaver's Latest + +

    +
    +
    + + + BeatSaver's Songs by Download + +

    +
    +
    + + + BeastSaber's Curator Recommended + +

    +
    +
    + + + ScoreSaber's Top Played + +

    +
    +
    + + + ScoreSaber's Trending + +
    + +
    + + +


    +
    Max Songs
    +

    For a Challenge + +

    +
    +
    +
    + + + ScoreSaber's Latest + +

    +
    +
    + + + ScoreSaber's Top Ranked + +
    +
    +
    +
    +
    Max Songs
    +

    For Me + +

    +
    + +
    +
    + + + BeastSaber's Following + +

    +
    +
    + + + BeastSaber's Bookmarks + +

    +
    + +
    + + + BeatSaver's Authors + +
    + + + {{author}} + cancel + + + +
    +


    + +
    +
    + + + + + +
    +
    +
    + +
    diff --git a/frontend/src/app/sync-saber/sync-saber.component.scss b/frontend/src/app/sync-saber/sync-saber.component.scss new file mode 100644 index 0000000..3f11e21 --- /dev/null +++ b/frontend/src/app/sync-saber/sync-saber.component.scss @@ -0,0 +1,65 @@ +.right-select-all{ + float: right; + margin-top: 2.5em; + margin-right: 2.5em; +} +.right-align{ + text-align: right; +} +.left-padd-gate{ + padding-left: 2em; + padding-right: 2em; +} +.right{ + float: right; +} +.enable-all{ + font-size: 0.5em; + font-weight: normal; + margin-left: 2em; +} +.innerScroll { + height: 100%; + overflow-x: hidden; + overflow-y: scroll; +} +.authorList { + line-height: 40px; + font-size: 14px; +} +.authorList input { + margin-top: 10px; +} +.syncButton { + position: absolute; + top: 5px; + right: 15px; +} +.syncSpinner { + display: inline-block; + margin-top: -1px; + margin-right: 5px; +} +.left-col, +.right-col { + width: calc(50% - 15px); + display: inline-block; + height: 100%; + margin-left: 10px; + margin-right: 5px; + vertical-align: top; +} + +.outer-container { + height: calc(100% - 10px); + overflow: hidden; + margin-top: -10px; + color: white; +} +.username-container{ + text-align: center; + margin-left: 50px; +} +.input-width{ + width: 400px; +} diff --git a/frontend/src/app/sync-saber/sync-saber.component.spec.ts b/frontend/src/app/sync-saber/sync-saber.component.spec.ts new file mode 100644 index 0000000..b9f7c0f --- /dev/null +++ b/frontend/src/app/sync-saber/sync-saber.component.spec.ts @@ -0,0 +1,24 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { SyncSaberComponent } from './sync-saber.component'; + +describe('SyncSaberComponent', () => { + let component: SyncSaberComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [SyncSaberComponent], + }).compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(SyncSaberComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/frontend/src/app/sync-saber/sync-saber.component.ts b/frontend/src/app/sync-saber/sync-saber.component.ts new file mode 100644 index 0000000..d2d50a9 --- /dev/null +++ b/frontend/src/app/sync-saber/sync-saber.component.ts @@ -0,0 +1,136 @@ +import { Component, OnInit } from '@angular/core'; +import { ConfigService } from '../services/config.service'; +import { BeatOnApiService } from '../services/beat-on-api.service'; +import { BeatOnConfig } from '../models/BeatOnConfig'; +import { FeedReader } from '../models/FeedReader'; +import Timer = NodeJS.Timer; +import { PlaylistSortMode } from '../models/PlaylistSortMode'; +import { ClientAutoCreatePlaylists } from '../models/ClientAutoCreatePlaylists'; +import { HostMessageService } from '../services/host-message.service'; +import { ClientSetBeastSaberUsername } from '../models/ClientSetBeastSaberUsername'; +import { ClientUpdateFeedReader } from '../models/ClientUpdateFeedReader'; +import { ClientSyncSaberSync } from '../models/ClientSyncSaberSync'; +import { HostActionResponse } from '../models/HostActionResponse'; +import { COMMA, ENTER } from '@angular/cdk/keycodes'; +import { MatChipInputEvent } from '@angular/material'; + +@Component({ + selector: 'app-sync-saber', + templateUrl: './sync-saber.component.html', + styleUrls: ['./sync-saber.component.scss'], +}) +export class SyncSaberComponent implements OnInit { + BeastSaberUsername: string; + SyncService_BeastSaberFOLLOWING: FeedReader; + SyncService_BeastSaberBOOKMARKS: FeedReader; + SyncService_BeastSaberCURATOR_RECOMMENDED: FeedReader; + SyncService_ScoreSaberTRENDING: FeedReader; + SyncService_ScoreSaberLATEST_RANKED: FeedReader; + SyncService_ScoreSaberTOP_PLAYED: FeedReader; + SyncService_ScoreSaberTOP_RANKED: FeedReader; + SyncService_BeatSaverAUTHOR: FeedReader; + SyncService_BeatSaverLATEST: FeedReader; + SyncService_BeatSaverHOT: FeedReader; + SyncService_BeatSaverDOWNLOADS: FeedReader; + syncDisabled: boolean = false; + nameUpdateTimeout: Timer; + readonly separatorKeysCodes: number[] = [ENTER, COMMA]; + constructor(private beatOnApi: BeatOnApiService, private configSvc: ConfigService, private msgSvc: HostMessageService) {} + + ngOnInit() { + this.configSvc.getConfig().subscribe(this.handleConfig.bind(this)); + this.configSvc.configUpdated.subscribe(this.handleConfig.bind(this)); + } + + setBeastSaberUsername() { + clearTimeout(this.nameUpdateTimeout); + this.nameUpdateTimeout = setTimeout(() => { + const msg = new ClientSetBeastSaberUsername(); + msg.BeastSaberUsername = this.BeastSaberUsername; + this.msgSvc.sendClientMessage(msg); + }, 750); + } + feedSettingTimeouts: any = {}; + updateFeedSetting(reader: FeedReader) { + if (this.feedSettingTimeouts[reader.ID]) { + clearTimeout(this.feedSettingTimeouts[reader.ID]); + this.feedSettingTimeouts[reader.ID] = null; + } + this.feedSettingTimeouts[reader.ID] = setTimeout(() => { + const msg = new ClientUpdateFeedReader(); + msg.FeedConfig = reader; + msg.ID = reader.ID; + this.msgSvc.sendClientMessage(msg); + }, 750); + } + clickSyncNow() { + const msg = new ClientSyncSaberSync(); + this.msgSvc.actionResponseMessage.subscribe((rsp: HostActionResponse) => { + if (rsp.ResponseToMessageID == msg.MessageID) { + this.syncDisabled = false; + } + }); + this.syncDisabled = true; + this.msgSvc.sendClientMessage(msg); + } + addAuthor(event: MatChipInputEvent) { + const input = event.input; + const value = event.value; + if ((value || '').trim()) { + this.SyncService_BeatSaverAUTHOR.Authors.push(value.trim()); + } + if (input) { + input.value = ''; + } + this.updateFeedSetting(this.SyncService_BeatSaverAUTHOR); + } + removeAuthor(author) { + const index = this.SyncService_BeatSaverAUTHOR.Authors.indexOf(author); + + if (index >= 0) { + this.SyncService_BeatSaverAUTHOR.Authors.splice(index, 1); + } + this.updateFeedSetting(this.SyncService_BeatSaverAUTHOR); + } + handleConfig(cfg: BeatOnConfig) { + this.BeastSaberUsername = cfg.SyncConfig.BeastSaberUsername; + cfg.SyncConfig.FeedReaders.forEach((reader: FeedReader) => { + reader.MaxSongs = reader.MaxSongs || 0; + switch (reader.PlaylistID) { + case 'SyncService_BeastSaberFOLLOWING': + this.SyncService_BeastSaberFOLLOWING = reader; + break; + case 'SyncService_BeastSaberBOOKMARKS': + this.SyncService_BeastSaberBOOKMARKS = reader; + break; + case 'SyncService_BeastSaberCURATOR_RECOMMENDED': + this.SyncService_BeastSaberCURATOR_RECOMMENDED = reader; + break; + case 'SyncService_ScoreSaberTRENDING': + this.SyncService_ScoreSaberTRENDING = reader; + break; + case 'SyncService_ScoreSaberLATEST_RANKED': + this.SyncService_ScoreSaberLATEST_RANKED = reader; + break; + case 'SyncService_ScoreSaberTOP_PLAYED': + this.SyncService_ScoreSaberTOP_PLAYED = reader; + break; + case 'SyncService_ScoreSaberTOP_RANKED': + this.SyncService_ScoreSaberTOP_RANKED = reader; + break; + case 'SyncService_BeatSaverAUTHOR': + this.SyncService_BeatSaverAUTHOR = reader; + break; + case 'SyncService_BeatSaverLATEST': + this.SyncService_BeatSaverLATEST = reader; + break; + case 'SyncService_BeatSaverHOT': + this.SyncService_BeatSaverHOT = reader; + break; + case 'SyncService_BeatSaverDOWNLOADS': + this.SyncService_BeatSaverDOWNLOADS = reader; + break; + } + }); + } +} diff --git a/frontend/src/app/tools/tools.component.html b/frontend/src/app/tools/tools.component.html index dd3d2e2..d055316 100644 --- a/frontend/src/app/tools/tools.component.html +++ b/frontend/src/app/tools/tools.component.html @@ -7,7 +7,11 @@ Tools and Utilities - Accessible via browser at
    {{netInfo.Url}}
    +
    + Accessible via browser at
    {{netInfo.Url}}

    + Version {{getVersion()}}
    + Backup Status: {{getBackupStatus()}} +
    • @@ -17,16 +21,28 @@ Load Songs Folder: Attempt to load any new songs from folders in /sdcard/BeatOnData/CustomSongs
    • - Uninstall Beat Saber: Uninstalls whatever Beat Saber APK is currently installed. This can't be undone, Beat Saber will have to be reinstalled and re-modded. + Quick Fix:If you're having problems, try this button. This will reset your assets, reload your songs, then try loading the last config that you synced successfully. Also, it will upload your logs so the problem may get identifier and fixed faster. +
    • +
    • + Uninstall BS: Uninstalls whatever Beat Saber APK is currently installed. This can't be undone, Beat Saber will have to be reinstalled and re-modded. +
    • +
    • + Upload Logs: If you've just run into a problem, upload your logs to help the developers track it down. +
    • +
    • + Exit Beat On: Exits Beat On immediately and stops all background processes.
    - + - + + + +
    - - \ No newline at end of file + + diff --git a/frontend/src/app/tools/tools.component.scss b/frontend/src/app/tools/tools.component.scss index afdd3a5..13c9241 100644 --- a/frontend/src/app/tools/tools.component.scss +++ b/frontend/src/app/tools/tools.component.scss @@ -1,30 +1,31 @@ -@import '../../theme.scss'; +@import "../../theme.scss"; @include mat-core(); button { - margin-left: 25px; + margin-left: 25px; } -.netInfo { - position: absolute; - right: 30px; - top: 10px; - font-size: 12px; - color: mat-color($my-app-warn); +.info { + position: absolute; + right: 30px; + top: 10px; + font-size: 12px; + color: mat-color($my-app-warn); + line-height: 1em; } + .netInfo .url { - font-style: normal; - font-weight: bold; - display: inline; - font-size: 14px; + font-style: normal; + font-weight: bold; + display: inline; + font-size: 14px; } + .descrip { - margin-left: 8px; + margin-left: 8px; } - - li { - margin-bottom: 8px; + margin-bottom: 8px; } diff --git a/frontend/src/app/tools/tools.component.ts b/frontend/src/app/tools/tools.component.ts index 987a673..a50e169 100644 --- a/frontend/src/app/tools/tools.component.ts +++ b/frontend/src/app/tools/tools.component.ts @@ -1,91 +1,175 @@ import { Component, OnInit } from '@angular/core'; -import { ProgressSpinnerDialogComponent } from "../progress-spinner-dialog/progress-spinner-dialog.component"; +import { ProgressSpinnerDialogComponent } from '../progress-spinner-dialog/progress-spinner-dialog.component'; import { MatDialog, MatDialogRef } from '@angular/material'; -import {BeatOnApiService} from '../services/beat-on-api.service'; +import { BeatOnApiService } from '../services/beat-on-api.service'; import { HostShowToast, ToastType } from '../models/HostShowToast'; import { NetInfo } from '../models/NetInfo'; import { Router } from '@angular/router'; +import { ModSetupStatus } from '../models/ModSetupStatus'; +import { ConfirmDialogComponent } from '../confirm-dialog/confirm-dialog.component'; @Component({ - selector: 'app-tools', - templateUrl: './tools.component.html', - styleUrls: ['./tools.component.scss'] + selector: 'app-tools', + templateUrl: './tools.component.html', + styleUrls: ['./tools.component.scss'], }) export class ToolsComponent implements OnInit { + constructor(private beatOnApi: BeatOnApiService, private dialog: MatDialog, private router: Router) {} + netInfo: NetInfo; + clickUninstallBeatSaber() { + const dialogRef = this.dialog.open(ProgressSpinnerDialogComponent, { + width: '450px', + height: '350px', + disableClose: true, + data: { mainText: 'Please wait...' }, + }); + this.beatOnApi.uninstallBeatSaber().subscribe( + (data: any) => { + dialogRef.close(); + this.router.navigateByUrl('/'); + }, + err => { + dialogRef.close(); + } + ); + } - constructor(private beatOnApi: BeatOnApiService, private dialog : MatDialog, private router: Router) { - - } - netInfo : NetInfo; - clickUninstallBeatSaber() { - const dialogRef = this.dialog.open(ProgressSpinnerDialogComponent, { - width: '450px', - height: '350px', - disableClose: true, - data: {mainText:"Please wait..."} - }); - this.beatOnApi.uninstallBeatSaber() - .subscribe((data: any) => { - dialogRef.close(); - this.router.navigateByUrl('/'); - }, (err) => { - dialogRef.close(); - }); - } - - clickResetAssets() { - const dialogRef = this.dialog.open(ProgressSpinnerDialogComponent, { - width: '450px', - height: '350px', - disableClose: true, - data: {mainText:"Please wait..."} - }); - this.beatOnApi.resetAssets() - .subscribe((data: any) => { - dialogRef.close(); - window.dispatchEvent(new MessageEvent('host-message', { - data: { - ToastType : ToastType.Info, - Timeout : 3000, - Title : "Assets reset.", - Message : ""} })); - }, (err) => { - dialogRef.close(); - window.dispatchEvent(new MessageEvent('host-message', { - data: { - ToastType : ToastType.Error, - Timeout : 8000, - Title : "Error resetting assets!", - Message : err} })); - }); - } + clickResetAssets() { + const dialogRef = this.dialog.open(ProgressSpinnerDialogComponent, { + width: '450px', + height: '350px', + disableClose: true, + data: { mainText: 'Please wait...' }, + }); + this.beatOnApi.resetAssets().subscribe( + (data: any) => { + dialogRef.close(); + window.dispatchEvent( + new MessageEvent('host-message', { + data: { + ToastType: ToastType.Info, + Timeout: 3000, + Title: 'Assets reset.', + Message: '', + }, + }) + ); + }, + err => { + dialogRef.close(); + window.dispatchEvent( + new MessageEvent('host-message', { + data: { + ToastType: ToastType.Error, + Timeout: 8000, + Title: 'Error resetting assets!', + Message: err, + }, + }) + ); + } + ); + } + clickQuickFix() { + this.beatOnApi.postLogs('unknown').subscribe((data: any) => {}, err => {}); + const dialogRef = this.dialog.open(ProgressSpinnerDialogComponent, { + width: '450px', + height: '350px', + disableClose: true, + data: { mainText: 'Resetting assets...' }, + }); + this.beatOnApi.resetAssets().subscribe( + (data: any) => { + dialogRef.close(); + const dialogRef2 = this.dialog.open(ProgressSpinnerDialogComponent, { + width: '450px', + height: '350px', + disableClose: true, + data: { mainText: 'Loading Songs Folder. Please wait...' }, + }); + this.beatOnApi.reloadSongsFromFolders().subscribe( + (data: any) => { + dialogRef2.close(); + this.beatOnApi.restoreCommittedConfig().subscribe(ret => {}); + }, + err => { + dialogRef2.close(); + } + ); + }, + err => { + dialogRef.close(); + } + ); + } + clickQuit() { + this.beatOnApi.quitBeatOn().subscribe(ret => {}); + } + clickLoadLastConfig() { + this.beatOnApi.restoreCommittedConfig().subscribe(ret => {}); + } + clickUploadLogs() { + const dialogRef = this.dialog.open(ProgressSpinnerDialogComponent, { + width: '450px', + height: '350px', + disableClose: true, + data: { mainText: 'Please wait...' }, + }); + this.beatOnApi.postLogs('unknown').subscribe( + (data: any) => { + dialogRef.close(); + }, + err => { + dialogRef.close(); + } + ); + } - clickReloadSongsFolder() { - const dialogRef = this.dialog.open(ProgressSpinnerDialogComponent, { - width: '450px', - height: '350px', - disableClose: true, - data: {mainText:"Loading Songs Folder. Please wait..."} - }); - this.beatOnApi.reloadSongsFromFolders() - .subscribe((data: any) => { - dialogRef.close(); - }, (err) => { - dialogRef.close(); - window.dispatchEvent(new MessageEvent('host-message', { - data: { - ToastType : ToastType.Error, - Timeout : 8000, - Title : "Error reloading songs folder!", - Message : err} })); - }); - } + clickReloadSongsFolder() { + const dialogRef = this.dialog.open(ProgressSpinnerDialogComponent, { + width: '450px', + height: '350px', + disableClose: true, + data: { mainText: 'Loading Songs Folder. Please wait...' }, + }); + this.beatOnApi.reloadSongsFromFolders().subscribe( + (data: any) => { + dialogRef.close(); + }, + err => { + dialogRef.close(); + window.dispatchEvent( + new MessageEvent('host-message', { + data: { + ToastType: ToastType.Error, + Timeout: 8000, + Title: 'Error reloading songs folder!', + Message: err, + }, + }) + ); + } + ); + } + getBackupStatus() { + if (!this.modStatus) return 'unknown'; - ngOnInit() { - this.beatOnApi.getNetInfo().subscribe((ni : NetInfo) => - { - this.netInfo = ni; - }); - } + if (this.modStatus.HasGoodBackup) return 'Good'; + else if (this.modStatus.HasHalfAssBackup) return 'Not ideal'; + else return "NO BACKUP! Mods won't uninstall!"; + } + getVersion() { + if (!this.modStatus || !this.modStatus.BeatOnVersion) return 'unknown'; + return this.modStatus.BeatOnVersion; + } + modStatus: ModSetupStatus; + ngOnInit() { + this.beatOnApi.getNetInfo().subscribe((ni: NetInfo) => { + this.netInfo = ni; + }); + this.beatOnApi.getModStatus().subscribe((ms: ModSetupStatus) => { + this.modStatus = ms; + }); + } } diff --git a/frontend/src/assets/default-pack-cover.png b/frontend/src/assets/default-pack-cover.png new file mode 100644 index 0000000..1c41180 Binary files /dev/null and b/frontend/src/assets/default-pack-cover.png differ diff --git a/frontend/src/assets/gameplay.png b/frontend/src/assets/gameplay.png new file mode 100644 index 0000000..5fa0eb7 Binary files /dev/null and b/frontend/src/assets/gameplay.png differ diff --git a/frontend/src/assets/library.png b/frontend/src/assets/library.png new file mode 100644 index 0000000..d048052 Binary files /dev/null and b/frontend/src/assets/library.png differ diff --git a/frontend/src/assets/note.png b/frontend/src/assets/note.png new file mode 100644 index 0000000..2346b77 Binary files /dev/null and b/frontend/src/assets/note.png differ diff --git a/frontend/src/assets/other.png b/frontend/src/assets/other.png new file mode 100644 index 0000000..6f0bfc5 Binary files /dev/null and b/frontend/src/assets/other.png differ diff --git a/frontend/src/assets/saber.png b/frontend/src/assets/saber.png new file mode 100644 index 0000000..7570473 Binary files /dev/null and b/frontend/src/assets/saber.png differ diff --git a/frontend/src/index.html b/frontend/src/index.html index c8544d2..760740a 100644 --- a/frontend/src/index.html +++ b/frontend/src/index.html @@ -3,7 +3,7 @@ Beat On - +